:root {
  color-scheme: light;
  --sans: "Noto Sans SC", sans-serif;
  --display: var(--sans);
  --normal: 400;
  --medium: 500;
  --strong: 600;
  --gutter: clamp(20px, 3.4vw, 72px);
  --space: clamp(54px, 6vw, 106px);
}
* { box-sizing: border-box; }
html { font-synthesis: none; }
body { margin: 0; color: var(--ink); background: var(--paper); font: var(--normal) 17px/1.8 var(--sans); }
h1, h2, h3, p, figure, fieldset { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.22; font-weight: var(--medium); letter-spacing: -.028em; }
h1, h2 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea, summary, pre, code, kbd, time { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--paper); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 9; top: 8px; left: 16px; padding: 7px 18px; color: var(--paper); background: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1540px); margin-inline: auto; }
.mast { position: relative; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; gap: clamp(20px, 2vw, 40px); align-items: center; min-height: 86px; }
.brand { flex: none; }
.brand img, .foot-brand img { width: 260px; }
.studio-id { white-space: nowrap; color: var(--muted); font-size: 14px; }
.desktop { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2.1vw, 40px); }
.desktop a, .navcta, .mobile > summary, .foot nav a, .back { font: var(--medium) 15px/1.5 var(--sans); white-space: nowrap; }
.desktop a { padding: 7px 0; border-bottom: 2px solid transparent; }
.desktop a:is([aria-current], :hover) { border-color: var(--red); }
.navcta, .button, .download { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 19px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); font: var(--medium) 15px/1.45 var(--sans); }
:is(.button,.download):hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.button:disabled { opacity: .52; cursor: default; }
.navcta { color: var(--ink); padding-inline: 0; background: transparent; border: 0; border-bottom: 2px solid var(--red); min-height: 34px; }
.navcta:hover { color: var(--link-red); background: transparent; border-color: currentColor; }
strong, th { font-weight: var(--strong); }
.mobile { display: none; }
.back, .under, .textlink, .board-link { display: inline-block; width: fit-content; padding: 4px 0; font: var(--medium) 15px/1.6 var(--sans); }
.back { color: var(--muted); }
.under, .textlink, .board-link { border: 0; border-bottom: 1px solid currentColor; background: transparent; }
:is(.back,.under,.textlink,.board-link):hover { color: var(--link-red); }
.foot { background: var(--ink); color: var(--paper); }
.foot-inner { min-height: 144px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 32px; }
.foot nav { display: flex; gap: 32px; }
.foot nav a { padding: 8px 0; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.draft-note { font-size: 14px; color: var(--muted); margin: 5px 0 16px; }
.intake { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 9%; padding-block: var(--space); }
.intake h1 { font-size: clamp(36px, 4.4vw, 72px); }
.intake .kicker { margin: 32px 0 10px; }
.intake .lead { margin-top: 22px; max-width: 30em; }
#brief-form > label { display: block; font-weight: var(--medium); margin-bottom: 21px; }
#brief-form small { color: var(--muted); font-size: 14px; }
#brief-form :is(input, select, textarea) { display: block; width: 100%; margin-top: 7px; padding: 10px 13px; border: 1px solid var(--control-line); border-radius: 0; background: var(--paper); font-weight: 400; font-size: 16px; }
#brief-form textarea { resize: vertical; }
::placeholder { color: var(--muted); opacity: 1; }
.brief-result { background: var(--soft); padding: 25px; margin-top: 28px; }
.brief-result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 16px/1.7 var(--sans); border-block: 1px solid var(--line); padding-block: 20px; }
.result-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 1120px) { .studio-id { display: none; } }
@media (max-width: 960px) { .brand img { width: 224px; } }
@media (max-width: 800px) {
  body { font-size: 16px; }
  .bar { min-height: 76px; gap: 18px; }
  .desktop, .navcta { display: none; }
  .mobile { display: block; margin-left: auto; }
  .mobile > summary { display: flex; align-items: center; gap: 7px; min-height: 46px; }
  .menu-lines { width: 15px; height: 9px; border-block: 2px solid var(--ink); }
  .mobile[open] .menu-lines { height: 2px; border-bottom: 0; }
  .mobile nav { position: absolute; inset: 100% 0 auto; display: grid; background: var(--paper); padding: 4px var(--gutter) 17px; border-bottom: 2px solid var(--ink); }
  .mobile nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .mobile nav [aria-current] { color: var(--link-red); text-decoration: underline; text-underline-offset: 4px; }
  .foot-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .foot-brand img { width: 224px; }
  .intake { grid-template-columns: minmax(0,1fr); gap: 32px; padding-block: 35px 52px; }
  .intake .kicker { margin-top: 17px; }
}
@media (max-width: 359px) { :root { --gutter: 18px; } .menu-lines { display: none; } }
