  @font-face {
    font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
    src: url(/fonts/SpaceGrotesk-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
    src: url(/fonts/SpaceGrotesk-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
    src: url(/fonts/SpaceGrotesk-vietnamese.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  }
  @font-face {
    font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap;
    src: url(/fonts/DMSerifDisplay-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap;
    src: url(/fonts/DMSerifDisplay-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }

  :root {
    --ink:   #1C1C1C;
    --paper: #F8F6F3;
    --linen: #F4F1EC;

    --muted: #6E6963;

    --muted-on-ink: #9A948C;
    --gold:  #C8A96E;

    --gold-ink: #856A38;
    --hair:  rgba(28,28,28,0.10);

    --shelf-w:    clamp(268px, 20vw, 312px);
    --shelf-pad:  clamp(18px, 1.5vw, 22px);
    --shelf-peek: 64px;
    --band-h:     46px;
  }

  html, body { margin: 0; padding: 0; overflow: hidden; height: 100%; background: var(--ink); }
  * { box-sizing: border-box; }
  ::-webkit-scrollbar { display: none; }

  @media (hover: hover) and (pointer: fine) {
    .scroll-pane {
      scrollbar-width: thin;
      scrollbar-color: rgba(28,28,28,0.26) transparent;

      scrollbar-gutter: stable;
    }
    .scroll-pane::-webkit-scrollbar { display: block; width: 11px; }
    .scroll-pane::-webkit-scrollbar-track { background: transparent; }
    .scroll-pane::-webkit-scrollbar-thumb {
      background: rgba(28,28,28,0.24);
      border-radius: 11px;

      border: 3px solid transparent;
      background-clip: content-box;
      transition: background-color 220ms ease;
    }
    .scroll-pane:hover::-webkit-scrollbar-thumb { background: rgba(28,28,28,0.42); background-clip: content-box; }

    #scroll-all::-webkit-scrollbar-thumb { background: rgba(28,28,28,0.3); background-clip: content-box; }
  }
  a { color: var(--ink); text-decoration: none; }
  button { cursor: pointer; border: none; background: none; font-family: 'Space Grotesk', sans-serif; padding: 0; }
  h1, h2, h3, p, ul { margin: 0; }
  ul { list-style: none; padding: 0; }
  img { max-width: 100%; }

  :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

  .view:focus, .view:focus-visible { outline: none; }

  .eyebrow {
    font-weight: 300; font-size: 11px; letter-spacing: 0.22em; color: var(--muted);
  }
  .rule { width: 44px; height: 1px; background: var(--gold); display: block; }

  .proj-num, .hero-cap-num, .proj-meta, .hero-cap-name {
    text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  }

  .view {
    position: fixed;
    inset: 0;
    transition: opacity 380ms ease, visibility 0s;
  }

  .view.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 380ms ease, visibility 0s linear 380ms;
  }

  .scroll-pane {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--paper);
  }

  #scroll-home { scroll-behavior: smooth; }
  #scroll-home > section { flex-shrink: 0; }

  #hero {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    background: var(--linen);
    overflow: hidden;
    display: grid;
    grid-template-columns: 46% 1fr;
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      ".    media"
      "head media"
      "body media"
      ".    media";
  }
  .hero-head { grid-area: head; min-width: 0; }
  .hero-body { grid-area: body; min-width: 0; }
  .hero-media { grid-area: media; }

  .hero-head, .hero-body { padding: 0 clamp(40px, 5vw, 88px); }
  .hero-head { padding-top: clamp(40px, 5vw, 88px); }
  .hero-body { padding-bottom: clamp(40px, 5vw, 88px); }

  .hero-name {
    font-weight: 700;
    font-size: clamp(42px, 9vh, 78px);
    line-height: 0.9;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: clamp(14px, 3vh, 32px) 0 0;
  }
  .hero-body .rule { margin: clamp(16px, 3vh, 32px) 0 clamp(14px, 2.6vh, 26px); }
  .hero-bio {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(15px, 2.4vh, 19px);
    line-height: 1.6;
    color: var(--muted);
    max-width: 34ch;
  }
  .hero-loc {
    font-weight: 300; font-size: 10px; letter-spacing: 0.2em; color: var(--muted);
    margin-top: clamp(14px, 2.4vh, 26px);
  }

  .hero-media {
    position: relative;
    overflow: hidden;
    background: #E6E1DA;
    min-width: 0;
  }
  .hero-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    transition: opacity 1100ms ease;
    will-change: opacity;

    animation: drift 16s ease-out forwards;
    animation-play-state: paused;
  }
  .hero-frame.is-on {
    opacity: 1;
    animation-play-state: running;
  }

  .hero-media { position: relative; display: block; cursor: pointer; }
  .hero-cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: clamp(48px, 6vw, 76px) clamp(22px, 2.6vw, 36px) clamp(22px, 2.6vw, 34px);
    background: linear-gradient(to top,
      rgba(0,0,0,0.76) 0%, rgba(0,0,0,0.34) 45%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
  }
  .hero-media.cap-ready .hero-cap { opacity: 1; }
  .hero-cap-num {
    font-weight: 300; font-size: 10px; letter-spacing: 0.3em; color: var(--gold);
  }
  .hero-cap-line { display: inline-flex; align-items: center; gap: 12px; }
  .hero-cap-name {
    font-weight: 600; font-size: clamp(13px, 1.5vw, 16px);
    letter-spacing: 0.16em; color: #fff;
  }
  .hero-cap-go {
    font-size: 15px; color: var(--gold);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes drift {
    from { transform: scale(1.0); }
    to   { transform: scale(1.07); }
  }

  .social { display: flex; flex-direction: column; margin-top: clamp(18px, 3vh, 34px); }
  .social-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-height: 40px;
    font-weight: 400;
    font-size: clamp(13px, 1.9vh, 15px);
    color: var(--ink);
    transition: color 220ms ease;
    width: fit-content;
  }
  .ico {
    width: 16px; height: 16px; flex: 0 0 16px;
    fill: var(--muted);
    transition: fill 220ms ease;
  }

  .scroll-cue {
    position: absolute;
    left: clamp(40px, 5vw, 88px);
    bottom: clamp(24px, 4vh, 46px);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.22em;
  }
  .cue-line { width: 34px; height: 1px; background: var(--gold); display: block; }

  #projects {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--ink);
  }
  .projects-head {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.6vh, 18px);
    padding: clamp(28px, 4.5vh, 48px) clamp(24px, 4vw, 56px) clamp(18px, 2.8vh, 30px);
  }
  .projects-head .eyebrow { color: var(--gold); }
  .projects-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }
  .projects-title {
    font-weight: 700;
    font-size: clamp(32px, 6.2vh, 58px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    color: var(--paper);
  }
  .projects-meta { font-weight: 300; font-size: 11px; letter-spacing: 0.22em; color: var(--muted-on-ink); }
  .projects-head-side {
    display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  }
  .view-all {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 300; font-size: 11px; letter-spacing: 0.2em; color: var(--gold);
    min-height: 44px;
    transition: gap 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  #pricing-home {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
  }
  .pricing-head {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.6vh, 18px);
    padding: clamp(28px, 4.5vh, 48px) clamp(24px, 4vw, 56px) clamp(18px, 2.8vh, 30px);
  }
  .pricing-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 48px);
    flex-wrap: wrap;
  }
  .pricing-title {
    font-weight: 700;
    font-size: clamp(30px, 5.6vh, 54px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    color: var(--ink);
  }
  .pricing-head-side {
    display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
    max-width: 44ch;
  }
  .pricing-lede {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(15px, 2.2vh, 20px);
    line-height: 1.5;
    color: var(--muted);
    text-align: right;
  }
  #pricing-home .eyebrow, #pricing-doc .eyebrow { font-size: 12px; }

  .rates-cta {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 500; font-size: 12px; letter-spacing: 0.2em;
    color: var(--ink);
    border: 1px solid var(--ink);
    padding: 13px 20px;
    margin-top: 10px;
    transition: background-color 280ms ease, color 280ms ease,
                gap 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .tier-row {
    display: flex;
    gap: clamp(12px, 1.4vw, 22px);
  }

  .tier-row > li { display: flex; flex: 1 1 0; min-width: 0; }
  .tier { flex: 1 1 auto; min-width: 0; }

  #pricing-home .tier-row {
    flex: 0 0 auto;
    margin-block: auto;
    padding: 0 clamp(24px, 4vw, 56px) clamp(24px, 4vh, 44px);
  }

  #pricing-home .tier {
    min-height: min(330px, 42vh);
    transition: border-color 300ms ease;
  }

  #pricing-home .tier-row > li {
    transition: flex-grow 460ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease;
  }
  .tier {
    display: flex;
    flex-direction: column;
    gap: clamp(5px, 0.9vh, 11px);
    padding: clamp(18px, 2.8vh, 34px) clamp(16px, 1.8vw, 30px);
    background: var(--linen);
    border: 1px solid var(--hair);
  }

  #pricing-doc .tier {
    gap: clamp(7px, 1.1vh, 13px);
    padding: clamp(26px, 3.6vh, 44px) clamp(24px, 2.4vw, 40px);
  }
  #pricing-doc .tier-rate-num { font-size: clamp(34px, 5.4vh, 54px); }
  #pricing-doc .tier-name  { font-size: 13px; letter-spacing: 0.24em; }
  #pricing-doc .tier-range { font-size: 13px; }
  #pricing-doc .tier-for   { font-size: 17px; padding-top: clamp(12px, 1.8vh, 20px); }
  #pricing-doc .tier-more-text { font-size: 16px; }
  #pricing-doc .tier-eg { font-size: 13px; padding-top: 14px; }
  #pricing-doc #rate .tier-row { gap: clamp(16px, 1.8vw, 30px); }

  .tier .rule { visibility: hidden; flex: 0 0 auto; }
  .tier-pick { border-color: rgba(200,169,110,0.5); }
  .tier-pick .rule { visibility: visible; }

  .tier-name { font-weight: 300; font-size: 12px; letter-spacing: 0.22em; color: var(--muted); }
  .tier-rate { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .tier-rate-num {
    font-weight: 700;
    font-size: clamp(28px, 4.8vh, 46px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
  }
  .tier-rate-unit { font-weight: 300; font-size: 13px; letter-spacing: 0.14em; color: var(--muted); }
  .tier-range { font-weight: 500; font-size: 12px; letter-spacing: 0.18em; color: var(--ink); }
  .tier-for {
    font-family: 'DM Serif Display', serif;
    font-size: 16px; line-height: 1.45; color: var(--muted);

    margin-top: auto; padding-top: clamp(8px, 1.4vh, 16px);
  }

  .tier-more { display: grid; }
  .tier-more > div { overflow: hidden; min-height: 0; }
  #pricing-home .tier-more {
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 460ms cubic-bezier(0.16, 1, 0.3, 1),
                opacity 240ms ease;
  }
  .tier-more-text {
    font-family: 'DM Serif Display', serif;
    font-size: 15px; line-height: 1.5; color: var(--muted);
    padding-top: clamp(10px, 1.6vh, 16px);
  }
  .tier-eg {
    font-weight: 500; font-size: 12px; letter-spacing: 0.16em; color: var(--muted);
    padding-top: 12px;
  }
  .tier-eg-amt { color: var(--ink); }

  @media (min-width: 861px) {
    #pricing-home .tier-row > li:has(.tier:focus-visible) { flex-grow: 1.9; }
    #pricing-home .tier:focus-visible .tier-more { grid-template-rows: 1fr; opacity: 1; }
  }

  @media (hover: hover) and (pointer: fine) and (min-width: 861px) {
    #pricing-home .tier-row > li:hover { flex-grow: 1.9; }
    #pricing-home .tier:hover { border-color: rgba(28,28,28,0.22); }
    #pricing-home .tier-pick:hover { border-color: rgba(200,169,110,0.85); }

    #pricing-home .tier-row:has(li:hover) li:not(:hover) { opacity: 0.5; }
    #pricing-home .tier:hover .tier-more { grid-template-rows: 1fr; opacity: 1; }

    #pricing-home .tier:hover { color: var(--ink); }
    #pricing-home .rates-cta:hover { background: var(--ink); color: var(--paper); gap: 16px; }
  }

  @media (prefers-reduced-motion: reduce) {
    #pricing-home .tier-row > li, #pricing-home .tier, .tier-more { transition: none; }
  }

  #scroll-pricing { background: var(--paper); }
  #pricing-doc {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;

    padding: calc(76px + clamp(30px, 6vh, 68px)) clamp(24px, 5vw, 48px) clamp(64px, 11vh, 120px);
  }

  @media (min-width: 1000px) {

    #pricing-doc {
      max-width: 1280px;
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));

      grid-template-rows: auto 1fr;
      column-gap: clamp(20px, 2vw, 34px);
      align-items: start;
    }
    .pricing-open     { grid-column: 1 / span 5; grid-row: 1; max-width: none; }
    .pricing-open-sub { grid-column: 1 / span 5; grid-row: 2; max-width: none; align-self: start; }

    #estimator        { grid-column: 6 / span 7; grid-row: 1 / span 2; margin-bottom: 0; }

    #rate { grid-column: 1 / -1; margin-top: clamp(52px, 8vh, 92px); }

    #included { grid-column: 1 / span 7; }
    #addons   { grid-column: 8 / span 5; margin-top: clamp(46px, 7.5vh, 82px); }

    #how { grid-column: 1 / -1; }
    #how .pricing-steps {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      column-gap: clamp(20px, 2.4vw, 40px);
    }
    #how .pricing-steps li {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      padding: 16px 0 0;
      border-top: 1px solid var(--hair);
      border-bottom: 0;
    }
    #how .step-n { padding-top: 0; }

    .fine-print { grid-column: 1 / -1; }

    .fine-print .pricing-list,
    .fine-print .pricing-terms,
    .fine-print .pricing-doc-note,
    .fine-print #licence summary,
    .fine-print .pricing-open-sub { max-width: 76ch; }
    .pricing-doc-note { max-width: 76ch; }
  }
  .pricing-open {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(23px, 3.7vw, 36px);
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--ink);
    max-width: 22ch;
  }
  .pricing-open-sub {
    font-size: 16px; line-height: 1.7; color: var(--muted);
    max-width: 58ch; margin-top: clamp(16px, 2.4vh, 24px);
  }
  .pricing-block { margin-top: clamp(46px, 7.5vh, 82px); }
  .pricing-block .eyebrow { display: block; }
  .pricing-block .rule { margin: 12px 0 clamp(20px, 3vh, 30px); }
  .pricing-doc-note {
    font-size: 14px; line-height: 1.7; color: var(--muted);
    margin-top: 18px;
  }

  #estimator {
    background: var(--linen);
    border: 1px solid var(--hair);
    padding: clamp(22px, 3.4vh, 34px) clamp(20px, 2.6vw, 34px);
    margin-bottom: clamp(20px, 3vh, 30px);
  }
  .est-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  }
  .est-label {
    font-weight: 300; font-size: 11px; letter-spacing: 0.22em; color: var(--muted);
  }
  .est-n {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1; color: var(--ink);
    font-variant-numeric: tabular-nums;
  }

  .est-slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 28px;
    margin: clamp(10px, 1.6vh, 16px) 0 0;
    background: none; cursor: pointer;
  }
  .est-slider::-webkit-slider-runnable-track {
    height: 2px; background: rgba(28,28,28,0.16);
  }
  .est-slider::-moz-range-track { height: 2px; background: rgba(28,28,28,0.16); }
  .est-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; margin-top: -10px;
    border-radius: 50%;
    background: var(--gold-ink);
    border: 3px solid var(--linen);
    box-shadow: 0 2px 10px -2px rgba(28,28,28,0.5);
    transition: transform 200ms ease;
  }
  .est-slider::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--gold-ink); border: 3px solid var(--linen);
    box-shadow: 0 2px 10px -2px rgba(28,28,28,0.5);
  }
  .est-slider:focus-visible { outline: none; }
  .est-slider:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
  .est-slider:focus-visible::-moz-range-thumb { outline: 2px solid var(--gold-ink); outline-offset: 3px; }

  .est-scale {
    display: flex; justify-content: space-between;
    font-weight: 300; font-size: 10px; letter-spacing: 0.18em; color: var(--muted);
    margin-top: 2px;
  }

  .est-addons { margin-top: clamp(14px, 2.2vh, 20px); }
  .est-addon {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--hair);
    font-size: 15px; color: var(--ink);
    cursor: pointer;
  }
  .est-addon input { accent-color: var(--gold-ink); width: 16px; height: 16px; flex: 0 0 16px; }
  .est-addon-name { flex: 1 1 auto; min-width: 0; }
  .est-addon-price { flex: 0 0 auto; font-weight: 500; white-space: nowrap; }
  .est-addon-price .unit { font-weight: 300; color: var(--muted); }

  .est-out {
    display: flex; align-items: baseline; justify-content: space-between;
    flex-wrap: wrap; gap: 6px 20px;
    margin-top: clamp(16px, 2.4vh, 22px);
    padding-top: clamp(14px, 2vh, 18px);
    border-top: 1px solid rgba(28,28,28,0.22);
  }
  .est-total {
    font-weight: 700;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1; letter-spacing: -0.03em; color: var(--ink);
    font-variant-numeric: tabular-nums;
  }
  .est-detail {
    font-size: 13px; line-height: 1.5; color: var(--muted);
    text-align: right; flex: 1 1 200px;
  }
  .est-hint {
    display: flex; gap: 10px;
    margin-top: 12px;
    font-size: 14px; line-height: 1.5; color: var(--ink);
  }

  .est-hint[hidden] { display: none; }
  .est-hint::before {
    content: '\2192'; flex: 0 0 auto; color: var(--gold-ink);
  }
  .est-note {
    font-size: 12px; line-height: 1.6; color: var(--muted);
    margin-top: clamp(10px, 1.6vh, 14px);
  }

  @media (max-width: 860px) {
    .est-detail { text-align: left; flex-basis: 100%; }
  }

  .pricing-block.pricing-sub { margin-top: clamp(24px, 3.4vh, 38px); }
  .pricing-sub > .eyebrow { color: var(--muted); }
  .pricing-sub > .rule { margin: 10px 0 clamp(14px, 2vh, 20px); }

  #licence summary {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: clamp(16px, 4vw, 40px);
    padding: 16px 0;
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    font-size: 16px; line-height: 1.5; color: var(--ink);
    cursor: pointer; list-style: none;
  }
  #licence summary::-webkit-details-marker { display: none; }
  #licence summary::after {
    content: 'WHAT\2019S THE DIFFERENCE  +';
    flex: 0 0 auto;
    font-weight: 500; font-size: 11px; letter-spacing: 0.18em;
    color: var(--muted); white-space: nowrap;
  }
  #licence details[open] summary::after { content: 'CLOSE  \2212'; }
  #licence details[open] summary { border-bottom-color: transparent; }
  #licence summary:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

  .pricing-list li {
    display: flex; align-items: baseline; justify-content: space-between; gap: clamp(16px, 4vw, 40px);
    padding: 16px 0;
    border-bottom: 1px solid var(--hair);
    font-size: 16px; line-height: 1.5; color: var(--ink);
  }
  .pricing-list li:first-child { border-top: 1px solid var(--hair); }
  .pricing-list .amt {
    font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; flex: 0 0 auto;
  }
  .pricing-list .unit { font-weight: 300; color: var(--muted); }

  .pricing-steps { list-style: none; margin: 0; padding: 0; }
  .pricing-steps li {
    display: flex; gap: clamp(16px, 2.4vw, 28px);
    padding: 16px 0;
    border-bottom: 1px solid var(--hair);
    font-size: 16px; line-height: 1.5; color: var(--muted);
  }
  .pricing-steps li:first-child { border-top: 1px solid var(--hair); }
  .pricing-steps b { font-weight: 500; color: var(--ink); }
  .step-n {
    flex: 0 0 auto;
    font-weight: 500; font-size: 12px; letter-spacing: 0.16em; color: var(--gold-ink);
    padding-top: 5px;
  }

  .pricing-terms li {
    position: relative;
    padding: 8px 0 8px 22px;
    font-size: 14px; line-height: 1.65; color: var(--muted);
  }
  .pricing-terms li::before {
    content: ''; position: absolute; left: 0; top: 19px;
    width: 10px; height: 1px; background: var(--gold);
  }

  .fine-print {
    margin-top: clamp(56px, 9vh, 104px);
    padding: clamp(26px, 4vh, 46px) clamp(22px, 2.6vw, 40px) clamp(28px, 4.4vh, 50px);
    background: var(--linen);
    border: 1px solid var(--hair);
  }
  .fine-print-head {
    font-weight: 500; font-size: 11px; letter-spacing: 0.26em;
    color: var(--ink);
    padding-bottom: clamp(14px, 2vh, 20px);
    border-bottom: 1px solid rgba(28,28,28,0.18);
  }

  .fine-print .pricing-block { margin-top: clamp(26px, 3.6vh, 40px); }
  .fine-print .pricing-block > .rule { margin-bottom: clamp(16px, 2.4vh, 24px); }

  .fine-print .lic { background: var(--paper); }

  .print-head { display: none; }

  .lic-row { margin-top: clamp(20px, 3vh, 30px); align-items: stretch; }
  .lic { gap: 0; }
  .lic-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(19px, 2.4vw, 24px);
    line-height: 1.2;
    color: var(--ink);
    margin-top: 8px;
  }
  .lic-points { margin-top: clamp(14px, 2vh, 20px); }
  .lic-points li {
    position: relative;
    padding: 7px 0 7px 22px;
    font-size: 15px; line-height: 1.55; color: var(--muted);
  }
  .lic-points li::before {
    content: ''; position: absolute; left: 0; top: 19px;
    width: 10px; height: 1px; background: var(--gold);
  }

  #scroll-all { scroll-snap-type: y mandatory; }
  .book-unit {
    scroll-snap-align: start;
    width: 100%;

    min-height: 100vh;
    min-height: 100dvh;

    padding-top: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    max-width: min(1800px, (100dvh - 330px) * 3);
  }

  #all-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 0 clamp(88px, 5vw, 100px);
    background: var(--paper);
  }

  .book {
    width: 100%;
    perspective: 2400px;
    display: block;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .book-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    transform-style: preserve-3d;

    transform: rotateX(7deg);
  }

  .pg {
    position: absolute;
    top: 0; bottom: 0;
    width: 50%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    background: #E6E1DA;
    transition: transform 1200ms cubic-bezier(0.42, 0.04, 0.22, 1);
    box-shadow: 0 20px 40px -16px rgba(28,28,28,0.45);
  }
  .pg img { width: 100%; height: 100%; object-fit: cover; display: block; }

  .pg-recto { left: 50%; transform-origin: left center; transform: rotateY(0deg); }
  .pg-recto.turned { transform: rotateY(-180deg); }

  .pg-verso { left: 0; transform-origin: right center; transform: rotateY(180deg); }
  .pg-verso.turned { transform: rotateY(0deg); }

  .pg-recto::after, .pg-verso::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 9%;
    pointer-events: none;
  }
  .pg-recto::after { left: 0;  background: linear-gradient(to right, rgba(0,0,0,0.3), rgba(0,0,0,0)); }
  .pg-verso::after { right: 0; background: linear-gradient(to left,  rgba(0,0,0,0.3), rgba(0,0,0,0)); }

  .pg-folio {
    position: absolute;
    bottom: clamp(12px, 1.6vw, 20px);
    z-index: 2;
    font-weight: 300; font-size: 11px; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
  }
  .pg-recto .pg-folio { right: clamp(16px, 2vw, 26px); }
  .pg-verso .pg-folio { left:  clamp(16px, 2vw, 26px); }

  .book-board {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    overflow: hidden;
    background: var(--ink);
    box-shadow: 0 20px 40px -16px rgba(28,28,28,0.45);
  }
  .board-half {
    flex: 1 1 50%;
    min-width: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: clamp(10px, 1.4vw, 16px);
    padding: clamp(18px, 2.4vw, 34px);
    text-align: center;
  }
  .board-num {
    font-weight: 300; font-size: 10px; letter-spacing: 0.32em; color: var(--gold);
  }
  .board-rule { width: 30px; height: 1px; background: var(--gold); }
  .board-name {
    font-weight: 700; font-size: clamp(15px, 1.7vw, 26px); line-height: 1.1;
    letter-spacing: -0.01em; color: var(--paper);
  }

  .sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px;
    padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }

  .book-info {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; margin-bottom: clamp(20px, 2.8vh, 32px);
  }
  .book-num  { font-weight: 300; font-size: 10px; letter-spacing: 0.3em; color: var(--gold-ink); }
  .book-name {
    font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05;
    letter-spacing: -0.015em; color: var(--ink); margin-top: 10px;
  }
  .book-meta {
    font-weight: 300; font-size: 10px; letter-spacing: 0.2em;
    color: var(--muted); margin-top: 10px;
  }

  .book-enter {
    display: inline-flex; align-items: center; justify-content: center; gap: 11px;
    align-self: center;
    margin-top: clamp(20px, 2.6vh, 30px);
    min-height: 50px;
    padding: 0 clamp(24px, 2.6vw, 38px);
    background: var(--ink);
    color: var(--paper);
    font-weight: 400; font-size: 11px; letter-spacing: 0.22em;
    border: 1px solid var(--ink);
    transition: gap 320ms cubic-bezier(0.16, 1, 0.3, 1),
                background 260ms ease, color 260ms ease, border-color 260ms ease;
  }
  .book-enter span { color: var(--gold); }

  #all-view-toggle {
    font-weight: 400; font-size: 10px; letter-spacing: 0.18em;
    color: var(--muted);
    padding: 5px 9px;
    border: 1px solid var(--hair);
    transition: color 200ms ease, border-color 200ms ease;
  }
  #all-view-toggle[aria-pressed="true"] { color: var(--ink); border-color: rgba(28,28,28,0.3); }

  #view-all.sheet #scroll-all { scroll-snap-type: none; }
  #view-all.sheet .proj-rail { display: none; }

  #view-all.sheet #all-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(26px, 3.4vw, 58px);
    row-gap: clamp(40px, 6vh, 78px);
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: calc(76px + clamp(30px, 5vh, 60px)) clamp(24px, 4vw, 56px)
             clamp(60px, 10vh, 120px);
    align-items: start;
  }

  #view-all.sheet .book-unit:nth-child(even) { margin-top: clamp(34px, 7vw, 96px); }

  #view-all.sheet .book-unit {
    position: relative;
    min-height: 0;
    max-width: none;
    padding-top: 0;
    scroll-snap-align: none;
    display: block;
  }

  #view-all.sheet .book, #view-all.sheet .book-counter { display: none; }

  #view-all.sheet .unit-cover {
    display: block;
    width: 100%; height: auto;
    background: #E6E1DA;
    box-shadow: 0 22px 44px -22px rgba(28,28,28,0.5);
    transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 620ms ease;
  }

  #view-all.sheet .book-info {
    display: grid;
    grid-template-columns: auto 1px 1fr;
    align-items: center;
    column-gap: clamp(14px, 1.6vw, 22px);
    text-align: left;
    margin: clamp(16px, 2vh, 22px) 0 0;
  }

  .unit-index { display: none; }
  #view-all.sheet .book-num { display: none; }
  #view-all.sheet .unit-index {
    display: block;
    grid-column: 1; grid-row: 1 / span 2;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: var(--gold-ink);
    font-variant-numeric: tabular-nums;
    transition: color 300ms ease;
  }
  #view-all.sheet .book-info::after {
    content: '';
    grid-column: 2; grid-row: 1 / span 2;
    width: 1px; height: 100%;
    background: var(--hair);
  }
  #view-all.sheet .book-name {
    grid-column: 3; grid-row: 1;
    align-self: end;
    font-size: clamp(17px, 1.7vw, 23px);
    line-height: 1.05;
    margin: 0;
    transition: color 300ms ease;
  }
  #view-all.sheet .book-meta {
    grid-column: 3; grid-row: 2;
    align-self: start;
    margin-top: 7px;
  }

  #view-all.sheet .book-enter {
    position: absolute; inset: 0;
    z-index: 2;
    margin: 0; padding: 0;
    min-height: 0;
    background: none; border: 0;
    font-size: 0; color: transparent;

    align-self: stretch;
  }
  #view-all.sheet .book-enter span { color: transparent; }

  @media (max-width: 899px) {
    #view-all.sheet #all-grid {
      grid-template-columns: 1fr;
      row-gap: clamp(34px, 6vh, 54px);
      padding: calc(60px + 26px) clamp(20px, 5vw, 34px) 56px;
      max-width: 560px;
    }

    #view-all.sheet .book-unit:nth-child(even) { margin-top: 0; }
    #view-all.sheet .unit-index { font-size: 34px; }
  }

  .proj-rail {
    position: fixed;
    right: 0; top: 0; bottom: 0;

    z-index: 190;
    width: var(--shelf-w);
    display: flex; flex-direction: column;
    gap: clamp(14px, 2.2vh, 24px);

    padding: calc(76px + clamp(16px, 2.4vh, 28px)) 0 clamp(20px, 3vh, 34px);
    background: rgba(248, 246, 243, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-left: 1px solid var(--hair);
    box-shadow: -20px 0 50px -30px rgba(28,28,28,0.4);

    transform: translateX(calc(100% - var(--shelf-peek)));
    transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .proj-rail:focus-within { transform: translateX(0); }

  .shelf-head, .shelf-name { opacity: 0; transition: opacity 280ms ease; }
  .proj-rail:focus-within .shelf-head,
  .proj-rail:focus-within .shelf-name { opacity: 1; }

  .shelf-head {
    flex: 0 0 auto;
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 0 var(--shelf-pad);
  }
  .shelf-title { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--ink); }
  .shelf-count { font-weight: 300; font-size: 9px; letter-spacing: 0.2em; color: var(--muted); }

  .shelf-body {
    flex: 1 1 auto;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 0;
  }
  .shelf-stack { display: flex; flex-direction: column; }

  .shelf-book {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 14px;
    width: 100%;

    height: calc(var(--band-h) + var(--band-fat, 0px));
    padding: 0 var(--shelf-pad);
    border: 0;
    overflow: hidden;

    background: var(--linen);
    cursor: pointer; text-align: left;
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .band-img {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover;

    filter: blur(16px) saturate(2.4) brightness(1.12);

    transform: scale(1.35);
    transition: filter 420ms ease;
  }

  .shelf-book::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: rgba(248,246,243,0.52);

    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8),
                inset 0 -1px 0 rgba(28,28,28,0.17);
  }
  .shelf-num, .shelf-name { position: relative; z-index: 2; }

  .shelf-num {
    font-weight: 500; font-size: 11px; letter-spacing: 0.08em;
    color: var(--ink); font-variant-numeric: tabular-nums;
  }
  .shelf-name {
    font-weight: 300; font-size: 10px; letter-spacing: 0.18em;
    color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  .shelf-board {
    flex: 0 0 auto;
    height: 3px;
    background: var(--ink);
    opacity: 0.82;
    box-shadow: 0 7px 15px -7px rgba(28,28,28,0.55);
  }

  .shelf-book.on { transform: translateX(-12px); }

  .shelf-book.on::after {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 3px; z-index: 3;
    background: var(--ink);
  }

  .shelf-book.on .band-img { filter: blur(16px) saturate(3.0) brightness(1.16); }

  .proj-row { flex: 1 1 auto; display: flex; flex-direction: row; min-height: 0; }

  .proj-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-width: 0;
    transition: flex-basis 650ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 650ms ease;

    --dim: 1;
  }

  .proj-card:nth-child(1) { flex: 0 0 42%; z-index: 3; box-shadow: 14px 0 48px -4px rgba(0,0,0,0.8); }
  .proj-card:nth-child(2) { flex: 0 0 34%; z-index: 2; --dim: 0.78; }
  .proj-card:nth-child(3) { flex: 0 0 24%; z-index: 1; --dim: 0.58; }

  .proj-card img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    filter: brightness(var(--dim));
    transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 650ms ease;
  }

  .proj-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(24px, 3.4vw, 48px);

    background: linear-gradient(to top,
      rgba(0,0,0,0.84) 0%, rgba(0,0,0,0.48) 28%, rgba(0,0,0,0) 64%);
    transition: background 400ms ease;
  }
  .proj-num {
    font-weight: 300; font-size: 11px; letter-spacing: 0.3em;
    color: var(--gold); margin-bottom: 12px;
  }
  .proj-name {
    font-weight: 700; font-size: clamp(28px, 3vw, 52px); line-height: 0.94; color: #fff;
  }
  .proj-meta {
    font-weight: 300; font-size: 10px; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.72); margin-top: 12px;
  }
  .proj-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6);
    transition: color 300ms ease, gap 300ms ease;
  }

  #contact-home {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: var(--linen);
    position: relative;
    padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 64px);
    text-align: center;
  }

  .card-stage {
    container-type: inline-size;

    width: min(700px, 100%, (100dvh - 300px) * 1.75);
    margin: clamp(22px, 4vh, 46px) 0 clamp(16px, 2.4vh, 26px);
  }

  .card-tilt { perspective: 1400px; }
  .biz-card {
    --u: calc(100cqw / 700);
    position: relative;
    width: 100%;
    aspect-ratio: 7 / 4;
    transform-style: preserve-3d;
    cursor: pointer;

    transform: rotateY(0deg);
  }
  .biz-card.card-still { transition: transform 520ms cubic-bezier(0.42, 0.04, 0.22, 1); }
  @media (prefers-reduced-motion: reduce) {
    .biz-card.card-still { transition: none; }
  }

  .card-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: calc(10 * var(--u));
    overflow: hidden;

    text-align: left;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 calc(30 * var(--u)) calc(60 * var(--u)) calc(-30 * var(--u)) rgba(28,28,28,0.55);
  }
  .card-front {
    background: var(--paper);
    padding: calc(44 * var(--u)) calc(48 * var(--u));
  }
  .card-back {
    background: var(--ink);
    padding: calc(40 * var(--u)) calc(48 * var(--u));
    transform: rotateY(180deg);
  }

  .card-row { display: flex; justify-content: space-between; align-items: flex-start; gap: calc(16 * var(--u)); }
  .card-row-end { align-items: flex-end; }

  .card-tag {
    font-weight: 400;
    font-size: max(9px, calc(10 * var(--u)));
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
  }
  .card-tag-dark { position: relative; color: #8D867A; letter-spacing: 0.2em; }

  .card-name {
    position: relative;
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: calc(64 * var(--u));
    line-height: 0.96;
    letter-spacing: -0.015em;
    color: var(--ink);
  }
  .card-back-name {
    position: relative;
    font-family: 'DM Serif Display', serif;
    font-size: max(17px, calc(26 * var(--u)));
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--paper);
  }

  .card-foil {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
  }
  .card-name-foil, .card-disc-foil,
  .card-tag-dark .card-foil, .card-back-name .card-foil {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .card-rule {
    position: relative;
    height: max(1px, calc(2 * var(--u)));
    margin: calc(22 * var(--u)) 0 calc(16 * var(--u));
    background: rgba(28,28,28,0.13);
    overflow: hidden;
  }
  .card-back .card-rule { margin: 0; background: rgba(248,246,243,0.17); }

  .card-disc {
    position: relative;
    font-size: max(9.5px, calc(11 * var(--u)));
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.9;
    color: #6F6A61;
  }

  .card-turn {
    flex: 0 0 auto;
    font-family: 'Space Grotesk', sans-serif;
    font-size: max(9px, calc(10 * var(--u)));
    letter-spacing: 0.16em;
    color: var(--muted);
    padding: calc(6 * var(--u)) 0 0 calc(12 * var(--u));
    white-space: nowrap;
    transition: color 220ms ease;
  }
  .card-turn-dark { color: #8D867A; padding-top: 0; }

  .card-back-head { display: flex; flex-direction: column; gap: calc(14 * var(--u)); }
  .card-links { display: flex; flex-direction: column; }
  .card-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(16 * var(--u));
    padding: calc(11 * var(--u)) 0;
    border-top: 1px solid rgba(248,246,243,0.17);
    font-size: max(11px, calc(13 * var(--u)));
    color: var(--paper);
    transition: padding-left 200ms ease, color 200ms ease;
  }
  .card-link:last-child { border-bottom: 1px solid rgba(248,246,243,0.17); }
  .card-link-tag {
    flex: 0 0 auto;
    font-size: max(8.5px, calc(10 * var(--u)));
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8D867A;
  }

  .card-hint {
    font-weight: 300; font-size: 11px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--muted);
  }

  #scroll-top {
    position: absolute; right: clamp(20px, 4vw, 60px); bottom: clamp(20px, 4vh, 40px);
    font-weight: 300; font-size: 11px; letter-spacing: 0.2em; color: var(--muted);
    min-height: 44px; display: flex; align-items: center;
    transition: color 220ms ease;
  }

  .top-bar {
    font-family: 'Space Grotesk', sans-serif;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 76px;
    background: rgba(248, 246, 243, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 clamp(16px, 3vw, 48px);
    z-index: 200;
    border-bottom: 1px solid rgba(28,28,28,0.08);
  }
  #gallery-back, #all-back, #pricing-back {
    display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
    font-weight: 300; font-size: 12px; letter-spacing: 0.18em; color: var(--ink);
    min-height: 44px;
    transition: color 200ms ease;
  }
  .gb-title { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
  #gallery-project-num, #all-eyebrow, #pricing-eyebrow {
    font-weight: 300; font-size: 10px; letter-spacing: 0.35em; color: var(--gold-ink);
  }
  #gallery-project-name, #all-title, #pricing-title {
    font-weight: 600; font-size: 15px; letter-spacing: 0.18em; color: var(--ink); text-align: center;
  }
  .gb-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: 0 0 auto; }
  #gallery-credit { font-weight: 300; font-size: 10px; letter-spacing: 0.18em; color: var(--gold-ink); }
  #gallery-count, #all-count, #pricing-year { font-weight: 300; font-size: 10px; letter-spacing: 0.15em; color: var(--muted); }

  #masonry {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 92px 16px 32px;
    background: var(--paper);
  }
  .m-row { display: flex; flex-direction: row; gap: 3px; }

  .img-wrap.img-dead { display: none; }

  .g-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: clamp(12px, 1.4vw, 22px);
    padding-top: clamp(40px, 6vh, 72px);
  }
  .g-foot-eyebrow {
    display: block;
    font-weight: 300; font-size: 11px; letter-spacing: 0.22em; color: var(--muted);
  }
  .g-ask, .g-next {
    flex: 1 1 320px;
    min-width: 0;
    padding: clamp(22px, 3vh, 34px) clamp(20px, 2.4vw, 32px);
    background: var(--linen);
    border: 1px solid var(--hair);
  }
  .g-ask-line {
    font-family: 'DM Serif Display', serif;
    font-size: 17px; line-height: 1.5; color: var(--muted);
    margin-top: 12px; max-width: 34ch;
  }
  .g-ask .social { margin-top: clamp(12px, 2vh, 18px); }
  .g-rates {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 10px; min-height: 40px;
    font-weight: 500; font-size: 11px; letter-spacing: 0.2em;
    color: var(--gold-ink);
    transition: gap 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .g-next {
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
    transition: background-color 280ms ease, border-color 280ms ease;
  }
  .g-next-name {
    display: block; margin-top: 12px;
    font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05;
    letter-spacing: -0.015em; color: var(--ink);
  }
  .g-next-go {
    position: absolute; right: clamp(20px, 2.4vw, 32px); bottom: clamp(22px, 3vh, 34px);
    font-size: 18px; color: var(--gold-ink);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .img-wrap {
    overflow: hidden;
    cursor: zoom-in;
    flex-shrink: 0;
  }
  .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  #lightbox {
    position: fixed; inset: 0; z-index: 500;
    display: flex; align-items: center; justify-content: center;
    touch-action: pan-y;
  }
  #lightbox.lb-hidden { display: none; }
  #lb-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.94);
    cursor: zoom-out;
  }
  #lb-img {
    position: relative; z-index: 1;
    max-width: 90vw; max-height: 90vh;
    width: auto; height: auto;
    display: block; object-fit: contain;
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
    user-select: none;
  }
  #lb-img.lb-ready { opacity: 1; }
  #lb-close {
    position: fixed; top: 20px; right: 20px; z-index: 2;
    color: rgba(255,255,255,0.45); font-size: 11px;
    letter-spacing: 0.2em; font-family: 'Space Grotesk', sans-serif;
    font-weight: 300; transition: color 200ms;
    min-width: 44px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
  }
  .lb-nav {
    position: fixed; top: 50%; transform: translateY(-50%); z-index: 2;
    color: rgba(255,255,255,0.3); font-size: 15px;
    letter-spacing: 0.18em; font-family: 'Space Grotesk', sans-serif;
    font-weight: 300; transition: color 220ms, opacity 220ms;
    min-width: 56px; min-height: 56px;
    display: flex; align-items: center; justify-content: center;
  }
  .lb-nav.lb-dim { opacity: 0; pointer-events: none; }
  #lb-prev { left: 4px; }
  #lb-next { right: 4px; }
  #lb-counter {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 2; font-family: 'Space Grotesk', sans-serif;
    font-weight: 300; font-size: 11px; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
  }

  .bar-wrap {
    position: fixed; left: 0; bottom: 0;
    width: 100%; height: 4px;
    background: rgba(28,28,28,0.08);
    z-index: 300;
  }
  .bar-fill {
    height: 100%; width: 0%;
    background: var(--gold);
    transition: width 80ms linear;
  }

  @media (hover: hover) and (pointer: fine) {
    a:hover { color: var(--gold); }
    .social-link:hover { color: var(--gold); }
    .social-link:hover .ico { fill: var(--gold); }

    .card-link:hover { padding-left: calc(8 * var(--u)); }
    .card-turn:hover { color: var(--gold); }
    #scroll-top:hover, #gallery-back:hover, #all-back:hover { color: var(--gold); }
    .view-all:hover { gap: 15px; }

    .hero-media:hover .hero-cap-go { transform: translate(3px, -3px); }
    .hero-media:hover .hero-cap {
      background: linear-gradient(to top,
        rgba(0,0,0,0.84) 0%, rgba(0,0,0,0.42) 50%, rgba(0,0,0,0.05) 100%);
    }

    .book:hover .book-stack {
      transform: rotateX(5deg) translateY(-4px);
      box-shadow: 0 34px 60px -18px rgba(28,28,28,0.55),
                  0 4px 12px rgba(28,28,28,0.14);
    }
    .book-stack { transition: transform 500ms ease, box-shadow 500ms ease; }
    .book-enter:hover {
      gap: 17px; background: var(--gold); color: var(--ink); border-color: var(--gold);
    }
    .book-enter:hover span { color: var(--ink); }
    .proj-rail:hover { transform: translateX(0); }
    .proj-rail:hover .shelf-head,
    .proj-rail:hover .shelf-name { opacity: 1; }

    .shelf-book:hover { transform: translateX(-7px); }
    .shelf-book.on:hover { transform: translateX(-16px); }

    .proj-row.no-hover .proj-card { pointer-events: none; }

    .proj-card:hover img { transform: scale(1.06); }
    .proj-card:hover .proj-card-overlay {
      background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 65%);
    }
    .proj-card:hover .proj-card-cta { color: var(--gold); gap: 16px; }

    .proj-row:has(.proj-card:nth-child(1):hover) .proj-card:nth-child(1) { flex-basis: 60%; box-shadow: none; }
    .proj-row:has(.proj-card:nth-child(1):hover) .proj-card:nth-child(2) { flex-basis: 25%; --dim: 0.5; }
    .proj-row:has(.proj-card:nth-child(1):hover) .proj-card:nth-child(3) { flex-basis: 15%; --dim: 0.38; }

    .proj-row:has(.proj-card:nth-child(2):hover) .proj-card:nth-child(1) { flex-basis: 20%; box-shadow: none; --dim: 0.5; }
    .proj-row:has(.proj-card:nth-child(2):hover) .proj-card:nth-child(2) { flex-basis: 62%; --dim: 1; }
    .proj-row:has(.proj-card:nth-child(2):hover) .proj-card:nth-child(3) { flex-basis: 18%; --dim: 0.38; }

    .proj-row:has(.proj-card:nth-child(3):hover) .proj-card:nth-child(1) { flex-basis: 20%; box-shadow: none; --dim: 0.5; }
    .proj-row:has(.proj-card:nth-child(3):hover) .proj-card:nth-child(2) { flex-basis: 22%; --dim: 0.5; }
    .proj-row:has(.proj-card:nth-child(3):hover) .proj-card:nth-child(3) { flex-basis: 58%; --dim: 1; }

    #view-all.sheet .book-unit:hover .unit-cover {
      transform: translateY(-6px) scale(1.012);
      box-shadow: 0 34px 60px -24px rgba(28,28,28,0.55);
    }
    #view-all.sheet .book-unit:hover .book-name,
    #view-all.sheet .book-unit:focus-within .book-name { color: var(--gold-ink); }

    .g-rates:hover { gap: 15px; }
    .g-next:hover { background: var(--paper); border-color: rgba(28,28,28,0.22); }
    .g-next:hover .g-next-name { color: var(--ink); }
    .g-next:hover .g-next-go { transform: translateX(5px); }

    .img-wrap:hover img { transform: scale(1.03); }
    .top-bar button:hover { color: var(--gold) !important; }
    #lb-close:hover { color: var(--gold); }
    .lb-nav:hover { color: rgba(255,255,255,1); }
  }

  @media (max-width: 860px) {

    #hero {
      height: auto;
      min-height: 100vh;
      min-height: 100dvh;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto 1fr;
      grid-template-areas:
        "head"
        "media"
        "body";
    }
    .hero-media { min-height: 30vh; }
    .hero-head, .hero-body { padding-left: clamp(24px, 6vw, 40px); padding-right: clamp(24px, 6vw, 40px); }
    .hero-head { padding-top: clamp(28px, 7vw, 44px); padding-bottom: clamp(20px, 4vw, 30px); }
    .hero-body { padding-top: clamp(22px, 5vw, 32px); padding-bottom: 88px; }
    .hero-name { font-size: clamp(40px, 13vw, 62px); margin-top: 12px; }
    .hero-body .rule { margin-top: 0; }
    .hero-bio { font-size: 16px; max-width: none; }
    .social { margin-top: 22px; }
    .social-link { min-height: 44px; font-size: 15px; }

    .scroll-cue {
      left: 50%; transform: translateX(-50%);
      bottom: 26px; font-size: 11px;
    }

    #projects { height: auto; min-height: 100vh; min-height: 100dvh; }
    .projects-head { padding: 40px clamp(24px, 6vw, 40px) 22px; }
    .projects-title { font-size: clamp(34px, 11vw, 52px); }
    .proj-row { flex-direction: column; }
    .proj-card,
    .proj-card:nth-child(1),
    .proj-card:nth-child(2),
    .proj-card:nth-child(3) {
      flex: 1 1 0;
      min-height: 30vh;
      height: auto;
      --dim: 1;
      box-shadow: none;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .proj-card-overlay {
      padding: 26px 24px;
      background: linear-gradient(to top,
        rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.58) 45%, rgba(0,0,0,0.12) 82%);
    }
    .proj-name { font-size: clamp(28px, 8vw, 40px); }
    .proj-card-cta { color: var(--gold); margin-top: 14px; }

    #pricing-home { height: auto; min-height: 100vh; min-height: 100dvh; }
    .pricing-head { padding: 40px clamp(24px, 6vw, 40px) 22px; }
    .pricing-title { font-size: clamp(34px, 11vw, 52px); }
    .pricing-head-side { align-items: flex-start; max-width: none; }
    .pricing-lede { text-align: left; margin-bottom: 4px; }
    .tier-row { flex-direction: column; gap: 10px; }
    .tier-row > li, .tier { flex: 0 0 auto; }

    #pricing-home .tier-row { padding: 0 clamp(24px, 6vw, 40px) 44px; }
    #pricing-home .tier {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: baseline;
      gap: 4px 16px;
      padding: 18px 20px;
      min-height: 0;
    }
    #pricing-home .tier .rule { display: none; }
    #pricing-home .tier-name  { grid-column: 1; }
    #pricing-home .tier-rate  { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    #pricing-home .tier-range { grid-column: 1; }
    #pricing-home .tier-rate-num { font-size: clamp(24px, 7vw, 32px); }
    #pricing-home .tier-for  { display: none; }
    #pricing-home .tier-more { display: none; }

    #contact-home { height: auto; min-height: 100vh; min-height: 100dvh; }
    .card-stage { width: 100%; }
    .biz-card { --u: calc(100cqw / 370); aspect-ratio: 5 / 6; }
    .card-front { padding: calc(34 * var(--u)) calc(32 * var(--u)); }
    .card-back  { padding: calc(30 * var(--u)) calc(32 * var(--u)); }
    .card-name  { font-size: calc(54 * var(--u)); }
    .card-tag   { letter-spacing: 0.16em; }

    .card-turn  { padding: 10px 0 10px 12px; }
    .card-link  { padding: calc(13 * var(--u)) 0; }
    .card-hint  { font-size: 10px; }
    #scroll-top { position: static; margin-top: 30px; justify-content: center; }

    .top-bar { height: 60px; gap: 10px; }
    .gb-side { display: none; }
    #gallery-project-name, #pricing-title { font-size: 12px; letter-spacing: 0.14em; }
    #gallery-project-num, #pricing-eyebrow { font-size: 9px; letter-spacing: 0.28em; }

    #gallery-back span:last-child, #all-back span:last-child,
    #pricing-back span:last-child { display: none; }
    #gallery-back, #all-back, #pricing-back { min-width: 44px; }
    #masonry { padding: 74px 8px 28px; }

    #pricing-doc { padding-top: calc(60px + 40px); }
    .pricing-list li { flex-wrap: wrap; gap: 4px 16px; }

    #all-grid { padding: 0 70px 0 clamp(14px, 3.5vw, 24px); }

    .book-unit {
      max-width: min(560px, (100dvh - 225px) * 0.75);
      padding-top: 60px;
    }

    .proj-rail {
      top: 50%; bottom: auto;
      transform: translateY(-50%);
      width: auto;
      padding: 14px 12px;
      gap: 0;
      overflow: visible;
    }

    .proj-rail {
      top: 50%; bottom: auto;
      transform: translateY(-50%);
      width: auto;
      padding: 14px 12px;
      gap: 0;
    }
    .shelf-head { display: none; }
    .shelf-body { flex: 0 0 auto; }
    .shelf-board { display: none; }
    .shelf-book {
      display: flex; align-items: center; justify-content: center;
      width: auto; min-width: 34px; height: 44px; padding: 0 6px;
      background: none;
    }

    .band-img, .shelf-book::before { display: none; }
    .shelf-name { display: none; }
    .shelf-num { font-size: 11px; color: var(--muted); transition: color 260ms ease; }
    .shelf-book.on { transform: translateX(-5px); }
    .shelf-book.on .shelf-num { color: var(--gold-ink); font-weight: 600; }
    .shelf-book.on::after { left: auto; right: -8px; top: 12px; bottom: 12px; width: 2px; }

    .book { perspective: 1300px; }
    .book-stack { aspect-ratio: 3 / 4; transform: none; }

    .pg {
      width: 100%; left: 0;
      height: 50%; bottom: auto;
      box-shadow: 0 14px 28px -12px rgba(28,28,28,0.45);
    }

    .pg-recto { top: 50%; transform-origin: center top; transform: rotateX(0deg); }
    .pg-recto.turned { transform: rotateX(180deg); }

    .pg-verso { top: 0; transform-origin: center bottom; transform: rotateX(-180deg); }
    .pg-verso.turned { transform: rotateX(0deg); }

    .pg-recto::after, .pg-verso::after {
      left: 0; right: auto; width: 100%; height: 9%;
    }
    .pg-recto::after {
      top: 0; bottom: auto;
      background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0));
    }
    .pg-verso::after {
      top: auto; bottom: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.3), rgba(0,0,0,0));
    }

    .pg-recto .pg-folio, .pg-verso .pg-folio {
      right: clamp(14px, 4vw, 22px); left: auto;
    }
    .pg-recto .pg-folio { bottom: clamp(10px, 2.6vw, 16px); top: auto; }
    .pg-verso .pg-folio { top: clamp(10px, 2.6vw, 16px); bottom: auto; }

    .book-board { flex-direction: column; }
    .board-name { font-size: clamp(19px, 5.6vw, 26px); }

    .hero-cap { padding-left: clamp(24px, 6vw, 40px); }
    .hero-cap-name { font-size: 14px; }

    #lb-img { max-width: 96vw; max-height: 82vh; }
    .lb-nav { font-size: 13px; }
    #lb-counter { bottom: 18px; }
  }

  @media (max-width: 520px) {
    .hero-media { min-height: 27vh; }
    .hero-name { font-size: clamp(38px, 14vw, 52px); }
    .projects-head-row { gap: 8px; }
    .projects-meta { font-size: 10px; }
  }

  @media (max-height: 520px) and (orientation: landscape) {
    #hero {
      grid-template-columns: 52% 1fr;
      grid-template-rows: 1fr auto auto 1fr;
      grid-template-areas:
        ".    media"
        "head media"
        "body media"
        ".    media";
    }
    .hero-media { min-height: 0; }
    .hero-head { padding: 24px 28px 0; }
    .hero-body { padding: 0 28px 24px; }
    .scroll-cue { display: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  @media print {
    @page { size: A4; margin: 12mm 15mm 10mm; }

    html, body { overflow: visible; height: auto; background: #fff; }

    #view-home, #view-all, #view-gallery, .top-bar, .bar-wrap, #lightbox { display: none !important; }

    #view-pricing {
      position: static; opacity: 1 !important; visibility: visible !important;
      transition: none;
    }
    #scroll-pricing {
      position: static; overflow: visible; height: auto;
      background: var(--paper);
    }

    #pricing-doc {
      max-width: none; margin: 0; padding: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 10mm;
      row-gap: 4mm;
      align-content: start;
    }

    .print-head { grid-column: 1 / -1; grid-row: 1; }

    .pricing-open     { grid-column: 1; grid-row: 2; align-self: center; }
    .pricing-open-sub { grid-column: 2; grid-row: 2; margin-top: 0; }

    #rate     { grid-column: 1 / -1; grid-row: 3; }
    #included { grid-column: 1; grid-row: 4; }
    #how      { grid-column: 2; grid-row: 4; }

    #addons     { grid-column: 1; grid-row: 5; }

    .fine-print { grid-column: 2; grid-row: 5; }

    #estimator { display: none !important; }

    #licence { display: none; }

    #pricing-doc .pricing-block, #pricing-doc .fine-print { margin-top: 0; }

    .fine-print {
      background: none; border: 0; padding: 0;
    }
    .fine-print-head { display: none; }

    #pricing-doc .print-head { display: block; margin-bottom: 3mm; }
    .print-name {
      font-family: 'DM Serif Display', serif;
      font-size: 30px; line-height: 1; color: var(--ink);
    }
    .print-meta {
      display: flex; justify-content: space-between; align-items: baseline;
      gap: 16px; margin-top: 7px;
      padding-top: 7px; border-top: 1px solid var(--hair);
      font-weight: 300; font-size: 8.5px; letter-spacing: 0.24em; color: var(--muted);
    }
    .print-meta .print-doc { color: var(--gold); }

    .print-contact {
      margin-top: 4px;
      font-weight: 300; font-size: 8.5px; letter-spacing: 0.16em;
      color: var(--muted);
    }

    .pricing-open { font-size: 20px; max-width: 26ch; }
    .pricing-open-sub { font-size: 10.5px; line-height: 1.6; max-width: none; margin-top: 8px; }
    #pricing-doc .eyebrow { font-size: 8.5px; }
    .pricing-block .rule { margin: 7px 0 10px; }

    .tier-row { gap: 8px; }
    .tier { padding: 12px 13px; gap: 4px; }
    .tier-name { font-size: 8.5px; }
    .tier-rate-num { font-size: 25px; }
    .tier-rate-unit { font-size: 8.5px; }
    .tier-range { font-size: 8.5px; }
    .tier-for { font-size: 10.5px; padding-top: 9px; }
    .tier-more-text { font-size: 10px; padding-top: 7px; }
    .tier-eg { font-size: 8.5px; padding-top: 7px; }
    .rule { width: 32px; }

    .pricing-list li, .pricing-steps li { font-size: 10.5px; padding: 6px 0; }
    .pricing-terms li { font-size: 9.5px; padding: 4px 0 4px 16px; line-height: 1.55; }
    .pricing-terms li::before { top: 12px; width: 8px; }
    .step-n { font-size: 8.5px; padding-top: 3px; }
    .pricing-doc-note { font-size: 9.5px; margin-top: 10px; }

    .social { margin-top: 8px; flex-direction: row; gap: 22px; }
    .social-link { font-size: 10.5px; min-height: 0; gap: 8px; }
    .ico { width: 12px; height: 12px; flex-basis: 12px; }

    .tier-row { flex-direction: row; }
    .tier-row > li { flex: 1 1 0; }
    .tier {
      display: flex; flex-direction: column;
      flex: 1 1 auto; min-height: 0;
    }
    .tier-more { display: grid; }
    .tier-for { display: block; }
    .pricing-list li { flex-wrap: nowrap; }

    .pricing-block, .fine-print, .tier-row, .print-head { break-inside: avoid; }
    .pricing-list li, .pricing-steps li, .pricing-terms li { break-inside: avoid; }
  }
