/* Preview chrome and specimens; shared brand values come from tokens.css. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-sans); font-synthesis: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
::selection { background: var(--accent); color: var(--ink); }
a:focus-visible, button:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; padding: 14px 22px; background: var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100svh; }
.sidebar { position: sticky; top: 0; height: 100svh; overflow-y: auto; border-right: 1px solid var(--line); padding: 36px 24px 24px; display: flex; flex-direction: column; }
.lockup { display: inline-flex; align-items: center; gap: 12px; font-size: 23px; font-weight: 700; letter-spacing: -1px; line-height: .92; min-height: 44px; }
.brand-line { display: block; }
.brand-dot { color: var(--accent); }
.agency-mark { display: inline-block; flex-shrink: 0; width: 34px; height: 34px; background: var(--accent); mask: url("assets/agency-mark.svg") center / contain no-repeat; }
.sidebar-label { margin: 26px 0 18px; font: 12px var(--font-mono); color: var(--body-text); }
.sidebar nav { display: flex; flex-direction: column; }
.sidebar nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; margin-left: -12px; border-left: 2px solid transparent; font-size: 14px; color: var(--body-text); }
.sidebar nav a:hover { color: var(--ink); background: var(--white); }
.sidebar nav a[aria-current] { border-left-color: var(--accent); color: var(--accent-text); font-weight: 700; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; font-size: 12px; color: var(--body-text); gap: 8px; }
.sidebar-bottom a { display: flex; align-items: center; min-height: 44px; }
main { padding: 48px clamp(24px, 4.4vw, 88px) 0; min-width: 0; max-width: 1740px; }
.page-heading { padding-bottom: 36px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 11px var(--font-mono); letter-spacing: 1px; color: var(--accent-text); }
.eyebrow .agency-mark { width: 14px; height: 14px; }
h1 { margin-top: 24px; font-size: clamp(42px, 5.5vw, 84px); line-height: 1.02; font-weight: 500; letter-spacing: -.065em; overflow-wrap: break-word; }
.page-meta { margin-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--body-text); }
.page-meta a { min-height: 44px; display: flex; align-items: center; color: var(--accent-text); }
.page-meta > span { display: flex; align-items: center; }
.overview-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.overview-intro > p { font-size: 18px; line-height: 1.5; max-width: 500px; color: var(--body-text); }
.text-link { display: inline-flex; align-items: center; gap: 35px; min-height: 44px; font-size: 13px; color: var(--accent-text); }
.text-link span { font-size: 22px; }
.overview-pair { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 310px; }
.dark { background: var(--ink); color: var(--white); }
.overview-type { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.spec-label { font: 11px var(--font-mono); letter-spacing: .8px; text-transform: uppercase; color: var(--body-text); display: block; }
.dark .spec-label { color: var(--dark-body-text); }
.overview-type > p { font-size: clamp(44px, 5.5vw, 92px); line-height: .92; font-weight: 500; letter-spacing: -.075em; }
.title-dot { display: inline-block; margin-left: .1em; width: .12em; height: .12em; background: var(--accent); border-radius: 50%; }
.tile-link { font-size: 13px; }
.overview-image { position: relative; min-width: 0; }
.overview-image img { width: 100%; height: 100%; object-fit: cover; }
.overview-image .tile-link { position: absolute; left: 24px; bottom: 24px; padding: 12px 16px; background: var(--paper); }
.overview-section { margin-top: 56px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.section-heading a { min-height: 44px; display: flex; align-items: center; font-size: 13px; color: var(--accent-text); }
.palette { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.swatch-color { height: 140px; border: 1px solid rgb(17 17 17 / 8%); }
.swatch figcaption { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.swatch strong { font-size: 15px; font-weight: 500; text-transform: capitalize; }
.swatch code, .swatch small { font: 12px var(--font-mono); color: var(--body-text); overflow-wrap: anywhere; }
.chapter-list { border-top: 1px solid var(--line); }
.chapter-list a { display: grid; grid-template-columns: 36px 1fr 24px; gap: 12px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.chapter-list a > span:first-child { color: var(--accent-text); font: 11px var(--font-mono); }
.chapter-list strong { font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.chapter-list a:hover strong { color: var(--accent-text); }
.reference { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.reference-label { font: 12px var(--font-mono); text-transform: uppercase; color: var(--body-text); letter-spacing: .8px; margin-bottom: 28px; }
.prose { font-size: 16px; line-height: 1.7; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 22px; max-width: 850px; }
.prose h2 { font-size: 32px; line-height: 1.2; font-weight: 500; letter-spacing: -.035em; margin: 48px 0 20px; }
.prose h3 { font-size: 24px; font-weight: 500; letter-spacing: -.025em; margin: 36px 0 18px; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose li { margin-bottom: 8px; }
.prose code { font: .85em var(--font-mono); overflow-wrap: anywhere; }
.prose pre { background: var(--ink); color: var(--white); padding: 24px; overflow-x: auto; margin: 24px 0; line-height: 1.6; }
.prose pre code { overflow-wrap: normal; }
.prose img { width: 100%; height: auto; margin: 28px 0; }
.table-wrap { max-width: 100%; overflow-x: auto; margin: 24px 0 32px; }
table { border-collapse: collapse; width: 100%; min-width: 550px; text-align: left; font-size: 14px; line-height: 1.6; }
th { font-weight: 700; background: var(--white); }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.logo-grid { display: grid; grid-template-columns: 1fr 1fr; }
.logo-stage { min-height: 240px; padding: 32px; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 45px; }
.logo-stage.dark { background: var(--ink); }
.logo-stage .lockup { font-size: 36px; }
.logo-stage .agency-mark { width: 50px; height: 50px; }
.asset-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.asset-row > .agency-mark { width: 64px; height: 64px; }
.asset-row p { color: var(--body-text); font-size: 14px; margin-top: 6px; }
.asset-row a { margin-left: auto; min-height: 44px; display: flex; align-items: center; color: var(--accent-text); font-size: 14px; }
.type-specimen { background: var(--white); padding: clamp(24px, 3vw, 48px); }
.sample-heading { font-size: clamp(60px, 8vw, 140px); line-height: .89; font-weight: 500; letter-spacing: -.075em; margin: 40px 0 56px; }
.type-support { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.sample-lead { font-size: clamp(21px, 2vw, 29px); line-height: 1.35; letter-spacing: -.025em; margin-top: 18px; }
.sample-body { font-size: 15px; line-height: 1.7; color: var(--body-text); margin-top: 18px; }
.sample-mono { font: 10px var(--font-mono); letter-spacing: 1.3px; margin-top: 28px; }
.layout-specimen { background: var(--white); padding: 32px; }
.layout-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 7vw; }
.layout-grid > div:first-child p { font-size: clamp(36px, 4vw, 65px); line-height: 1.02; letter-spacing: -.065em; margin-top: 20px; }
.layout-grid > div:first-child p span { color: var(--muted); }
.surface-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border: 1px solid var(--line); font: 12px var(--font-mono); }
.surface-strip span { padding: 24px; background: var(--paper); }
.surface-strip span:nth-child(2) { background: var(--white); }
.surface-strip span:last-child { background: var(--ink); color: var(--white); }
.ui-specimen { background: var(--white); padding: 32px; }
.ui-row { display: flex; flex-wrap: wrap; gap: 44px; padding-bottom: 36px; }
.ui-row .spec-label { margin-bottom: 20px; }
.contact-cta { display: inline-flex; align-items: center; gap: 45px; padding: 23px 30px; border-radius: 50px; color: var(--white); background: var(--accent); font-size: 22px; font-weight: 700; line-height: 1.2; min-height: 60px; }
.contact-cta span { font-size: 28px; }
.contact-cta:hover { background: var(--accent-hover); }
.service-link { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); font-size: 30px; color: var(--accent-text); transition: background .25s, color .25s, transform .25s; }
.service-link:hover { background: var(--accent); color: var(--ink); transform: rotate(10deg); }
.focus-example { outline: 3px solid var(--accent); outline-offset: 6px; }
.demo-service { display: grid; grid-template-columns: 36px 1fr 56px; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; }
.service-number { font: 12px var(--font-mono); color: var(--accent-text); }
.demo-service h3 { font-size: clamp(27px, 3vw, 46px); font-weight: 500; letter-spacing: -.055em; }
.service-tags { font-size: 12px; color: var(--body-text); margin-top: 22px; }
.service-tags span { margin-right: 6px; color: var(--accent); font-weight: 700; }
.service-tags span:not(:first-child) { margin-left: 14px; }
.crop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.crop-grid img { width: 100%; height: 100%; object-fit: cover; }
.crop-portrait { aspect-ratio: 4/5; }
.crop-square { aspect-ratio: 1; }
.crop-grid figcaption { margin-top: 14px; font: 12px var(--font-mono); color: var(--body-text); }
.brand-composition { position: relative; height: 420px; color: var(--white); background: var(--ink); }
.brand-composition img { width: 100%; height: 100%; object-fit: cover; }
.composition-copy { position: absolute; inset: 0; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg,#00000080 0%,#00000073 32%,#00000040 55%,#000000bd 100%); }
.composition-copy .spec-label { color: var(--white); }
.composition-copy > p { font-size: clamp(50px, 7vw, 110px); line-height: .91; font-weight: 500; letter-spacing: -.07em; }
.motion-specimen { padding: 32px; background: var(--ink); color: var(--white); }
.motion-demo { width: 100%; padding: 0; text-align: left; border: 0; background: none; color: inherit; cursor: pointer; }
.motion-demo .spec-label { color: var(--dark-body-text); }
.motion-sample { display: block; font-size: clamp(40px, 5vw, 76px); letter-spacing: -.065em; line-height: 1.02; margin: 70px 0; opacity: .3; transform: translateY(30px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.7,.2,1); }
.motion-demo:hover .motion-sample, .motion-demo:focus .motion-sample { opacity: 1; transform: none; }
.motion-specimen > p { font: 12px var(--font-mono); line-height: 1.6; color: var(--dark-body-text); }
.voice-specimen { padding: 40px; background: var(--white); }
.voice-specimen > p { font-size: clamp(46px, 6vw, 90px); line-height: 1; letter-spacing: -.075em; margin-top: 40px; }
.voice-specimen > p span { color: var(--muted); }
.voice-signature { margin-top: 50px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 15px; }
.access-flow { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); margin-bottom: 48px; }
.access-flow > div { padding: 28px 24px; border-right: 1px solid var(--line); }
.access-flow > div:last-child { border: 0; }
.access-flow strong { display: block; font-weight: 500; font-size: 20px; margin-top: 20px; }
footer { border-top: 1px solid var(--line); padding: 32px 0; margin-top: 70px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--body-text); }
footer > span { color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -1px; }
footer a { display: flex; align-items: center; min-height: 44px; }
.mobile-header { display: none; }
@media (max-width: 1100px) {
  .shell { grid-template-columns: 220px minmax(0, 1fr); }
  .sidebar { padding-inline: 20px; }
  .palette { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .overview-intro { flex-direction: column; align-items: start; }
  .overview-type { padding: 24px; }
  .type-support, .layout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mobile-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
  .mobile-header > a:last-child { min-height: 44px; display: flex; align-items: center; color: var(--accent-text); font-size: 14px; }
  .shell { display: flex; flex-direction: column-reverse; }
  .sidebar { position: static; height: auto; padding: 24px; border-right: 0; border-top: 1px solid var(--line); }
  .sidebar > .lockup { display: none; }
  .sidebar nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .sidebar-label { margin-top: 0; }
  main { padding: 32px 24px 0; }
  h1 { font-size: clamp(42px, 10vw, 64px); }
  .overview-pair { grid-template-columns: 1fr; }
  .overview-type { min-height: 300px; }
  .overview-type > p { font-size: clamp(54px, 13vw, 90px); }
  .overview-image { height: 240px; }
  .palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatch-color { height: 120px; }
  .section-heading { align-items: start; flex-direction: column; gap: 4px; }
  .logo-grid { grid-template-columns: 1fr; }
  .logo-stage { min-height: 220px; }
  .logo-stage .lockup { font-size: 30px; }
  .asset-row a { margin-left: 0; }
  .sample-heading { font-size: clamp(48px, 13vw, 88px); }
  .sample-mono { letter-spacing: .5px; }
  .ui-specimen, .layout-specimen, .voice-specimen, .motion-specimen { padding: 24px; }
  .contact-cta { font-size: 20px; padding: 18px 24px; gap: 24px; }
  .demo-service { grid-template-columns: 24px 1fr 44px; gap: 12px; }
  .service-link { width: 44px; height: 44px; font-size: 25px; }
  .crop-grid { grid-template-columns: 1fr; }
  .brand-composition { height: 360px; }
  .composition-copy { padding: 24px; }
  .access-flow { grid-template-columns: 1fr; }
  .access-flow > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .surface-strip span { padding: 20px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .motion-sample { opacity: 1; transform: none; }
}
@media print {
  .sidebar, .mobile-header, .page-meta a, .skip-link, footer { display: none; }
  .shell { display: block; }
  main { padding: 0; }
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
  .prose { font-size: 11pt; }
}
