/* The field guide uses the studio's tokens and component classes directly. */
.brand-page { padding-bottom:60px; }
.brand-intro { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(180px,.6fr); gap:32px; align-items:center; padding-top:70px; padding-bottom:50px; }
.brand-intro h1 { font-size:clamp(54px,7.5vw,100px); letter-spacing:-.035em; line-height:.96; text-transform:uppercase; margin:15px 0 24px; }
.brand-intro h1 span { color:var(--accent-text); }
.brand-lede { max-width:45ch; font-size:clamp(17px,1.6vw,20px); line-height:1.6; }
.brand-intro-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; margin-top:28px; }
.brand-version { font:700 12px/1.5 ui-monospace,monospace; color:var(--muted); margin-top:24px; }
.brand-intro-mark { position:relative; justify-self:center; padding:24px; }
.brand-intro-mark:before { content:""; position:absolute; inset:14% -5% 9%; border-radius:50%; background:color-mix(in srgb,var(--pink) 24%,transparent); transform:rotate(-14deg); z-index:-1; }
.brand-intro-mark img { width:clamp(160px,20vw,240px); height:auto; transform:rotate(-5deg); }
.brand-jump { display:flex; flex-wrap:wrap; gap:4px 18px; padding-block:14px; border-block:1px solid var(--line); }
.brand-jump a { min-height:44px; display:flex; align-items:center; font-size:14px; font-weight:800; text-decoration:none; text-underline-offset:5px; }
.brand-jump a:hover { text-decoration:underline; }
.brand-section { padding-top:80px; scroll-margin-top:100px; }
.brand-section-head { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:end; margin-bottom:30px; }
.brand-section h2 { font-size:clamp(36px,4.8vw,62px); letter-spacing:-.03em; line-height:1.02; margin:10px 0 0; }
.brand-section-head > p, .brand-section-head > div > p:not(.eyebrow) { max-width:48ch; margin:0 0 4px; }
.brand-section h3 { font-size:26px; }
.text-link { font-weight:800; text-underline-offset:5px; display:inline-block; padding-block:10px; }
.text-button { color:var(--text); background:transparent; border:0; padding:10px 0; font:800 14px/1.5 var(--fb); cursor:pointer; text-decoration:underline; text-underline-offset:5px; min-height:44px; }
.identity-lab { border:1px solid var(--line); border-radius:20px; overflow:hidden; background:var(--surface); }
.identity-controls { display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; padding:20px 24px; border-bottom:1px solid var(--line); }
.brand-page label { display:grid; gap:6px; font-weight:800; font-size:13px; min-width:0; }
.brand-page select { min-height:44px; width:100%; max-width:100%; padding:8px 34px 8px 12px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--text); font:400 16px/1.4 var(--fb); }
.identity-stage { min-height:310px; display:grid; place-items:center; padding:40px; background:var(--cream); }
.on-cream { background:var(--cream); }
.on-plum { background:var(--ink); }
.on-pink { background:var(--pink); }
.identity-stage img { width:auto; height:auto; max-width:100%; max-height:240px; object-fit:contain; }
.identity-stage[data-kind="horizontal"] img,.identity-stage[data-kind="wordmark"] img { width:min(610px,100%); }
.identity-stage[data-kind="favicon"] img,.identity-stage[data-kind="avatar"] img { width:160px; height:160px; }
.identity-caption { display:flex; justify-content:space-between; gap:24px; padding:24px; align-items:center; }
.identity-caption p { margin:6px 0 0; max-width:60ch; font-size:14px; }
.identity-caption .btn { flex:none; }
.raster-picker { display:grid; grid-template-columns:1fr 1fr auto; gap:16px; align-items:end; padding:0 24px 24px; }
.raster-picker > .asset-min { grid-column:1/-1; margin:0; }
.asset-min { color:var(--muted); font-size:12px; line-height:1.6; }
.small-size-proof { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; margin-top:32px; }
.small-size-proof p { max-width:46ch; font-size:14px; }
.favicon-proof { display:flex; flex-wrap:wrap; gap:20px 40px; justify-content:space-evenly; }
.favicon-proof figure { margin:0; }
.favicon-proof figcaption { font-size:13px; font-weight:800; margin-bottom:15px; }
.favicon-proof figure > div { display:flex; gap:20px; align-items:flex-end; }
.favicon-proof span { display:grid; justify-items:center; gap:10px; }
.favicon-proof small { color:var(--muted); font:12px ui-monospace,monospace; }
.theme-readout { font-size:13px; margin-top:20px!important; color:var(--muted); }
.theme-readout [data-theme-label] { font-weight:800; color:var(--text); }
.swatch-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.swatch { display:flex; flex-direction:column; padding:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--surface); color:var(--text); text-align:left; cursor:pointer; }
.swatch-paint { display:block; width:100%; height:105px; background:var(--sample); }
.swatch-meta { display:grid; gap:5px; padding:14px; }
.swatch-meta strong { font-size:14px; }
.swatch-meta code { font-size:12px; }
.swatch-meta small { color:var(--muted); font-size:11px; line-height:1.5; }
.swatch:hover .swatch-meta strong:after { content:" ↗"; }
.token-reference { display:grid; grid-template-columns:.8fr 1.2fr; gap:40px; margin-top:36px; align-items:start; }
.token-reference p { font-size:14px; max-width:40ch; }
.token-table-wrap { min-width:0; }
.token-table { width:100%; border-collapse:collapse; font-size:13px; }
.token-table th,.token-table td { padding:12px 8px; text-align:left; border-bottom:1px solid var(--line); }
.token-table th { font-weight:800; }
.token-table code { font-size:12px; overflow-wrap:anywhere; }
.token-dot { display:inline-block; vertical-align:middle; width:13px; height:13px; margin-right:8px; border:1px solid var(--line); border-radius:50%; background:var(--sample); }
.type-motion-grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.type-name { font:700 12px ui-monospace,monospace; color:var(--muted); }
.type-display { font:clamp(46px,5.5vw,74px)/.96 var(--fd); text-transform:uppercase; margin:22px 0 32px; }
.type-display span { color:var(--yolk); -webkit-text-stroke:2px var(--ink); paint-order:stroke fill; }
.type-body { font-size:18px; max-width:36ch; }
.component-samples { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:22px; }
.component-samples .status { font-size:10px; }
.motion-specimen { text-align:center; min-width:0; }
.brand-motion.launch { display:block; }
.brand-motion .launch-art { position:relative; inset:auto; width:100%; height:340px; z-index:0; }
.style-downloads { display:flex; flex-wrap:wrap; gap:8px 24px; padding-block:24px; margin-top:28px; border-block:1px solid var(--line); }
.style-downloads a { font-size:13px; font-weight:800; min-height:44px; display:flex; align-items:center; text-underline-offset:4px; }
.asset-filter { display:flex; align-items:end; gap:20px; margin-bottom:22px; }
.asset-filter label { min-width:230px; }
.asset-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; }
.asset-card { display:flex; flex-direction:column; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--surface); min-width:0; }
.asset-art { height:170px; flex:none; padding:24px; display:grid; place-items:center; }
.asset-art img { width:auto; height:auto; max-width:100%; max-height:122px; object-fit:contain; }
.asset-copy { padding:20px; display:flex; flex:1; flex-direction:column; }
.asset-copy h3 { font-size:23px; line-height:1.1; min-height:2.2em; }
.asset-copy > p:not(.asset-status) { font-size:13px; }
.asset-copy > .asset-min { font-size:12px; }
.asset-status { text-transform:uppercase; letter-spacing:.07em; font-size:10px; font-weight:800; color:var(--muted); margin:0 0 10px; }
.asset-copy details { border-top:1px solid var(--line); margin-top:auto; }
.asset-copy summary { padding-top:14px; min-height:44px; cursor:pointer; font-weight:800; font-size:13px; }
.asset-copy summary span { font-weight:400; color:var(--muted); margin-left:6px; }
.asset-files { list-style:none; margin:8px 0 0; padding:0; }
.asset-files a { display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:44px; padding-block:8px; font-size:12px; text-underline-offset:3px; }
.asset-files small { color:var(--muted); font-size:11px; white-space:nowrap; }
.usage-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:30px; }
.usage-grid h3 { font-size:25px; }
.usage-grid p { font-size:14px; line-height:1.6; }
.implementation-notes { border-top:1px solid var(--line); margin-top:30px; }
.implementation-notes summary { min-height:54px; display:list-item; padding:16px 0; cursor:pointer; font-weight:800; }
.implementation-notes > div { max-width:85ch; font-size:14px; }
.implementation-notes li { padding-block:5px; }
@media(max-width:1000px) { .swatch-grid { grid-template-columns:repeat(3,1fr); } .asset-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .usage-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) {
  .brand-intro { grid-template-columns:minmax(0,1fr); gap:8px; padding-top:35px; padding-bottom:25px; }
  .brand-intro h1 { font-size:clamp(42px,10vw,64px); }
  .brand-intro-mark { display:none; }
  .brand-intro .brand-lede { font-size:16px; }
  .brand-intro-actions { gap:6px; }
  .brand-intro .btn { padding-inline:12px; font-size:14px; }
  .brand-version { font-size:10px; }
  .brand-jump { gap:0 16px; }
  .brand-jump a { font-size:12px; }
  .brand-section { padding-top:48px; }
  .brand-section-head { grid-template-columns:1fr; gap:16px; margin-bottom:22px; }
  .identity-controls { grid-template-columns:1fr 1fr; padding:16px; gap:12px; }
  .identity-controls label:last-child { grid-column:1/-1; }
  .identity-stage { min-height:240px; padding:30px 20px; }
  .identity-stage img { max-height:180px; }
  .identity-caption { align-items:start; flex-direction:column; gap:12px; padding:18px; }
  .raster-picker { padding:0 18px 18px; grid-template-columns:1fr 1fr; gap:12px; }
  .raster-picker > a { grid-column:1/-1; }
  .small-size-proof, .token-reference, .type-motion-grid { grid-template-columns:1fr; gap:22px; }
  .swatch-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .swatch-paint { height:80px; }
  .token-table { font-size:11px; }
  .token-table th,.token-table td { padding:11px 3px; }
  .token-table code { font-size:11px; }
  .token-dot { width:10px; height:10px; margin-right:4px; }
  .type-display { font-size:60px; }
  .brand-motion .launch-art { height:var(--mobile-mascot-height); }
  .asset-grid { grid-template-columns:1fr; }
  .asset-art { height:170px; }
  .asset-filter { flex-wrap:wrap; gap:0; }
  .asset-filter label { width:100%; min-width:0; }
  .usage-grid { grid-template-columns:1fr; gap:14px; }
}
@media(max-width:380px) { .identity-controls,.raster-picker { grid-template-columns:1fr; } }
