@layer reset, base, layout, components, utilities, responsive;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
  }

  body,
  h1,
  h2,
  h3,
  h4,
  p,
  ul,
  ol,
  figure,
  blockquote {
    margin: 0;
  }

  ul,
  ol {
    padding: 0;
  }

  img,
  svg {
    display: block;
    max-width: 100%;
  }

  button,
  input,
  textarea,
  select {
    color: inherit;
    font: inherit;
  }

  button,
  summary {
    -webkit-tap-highlight-color: transparent;
  }

  button,
  a {
    touch-action: manipulation;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  [hidden] {
    display: none !important;
  }
}

@layer base {
  :root {
    --blue: #1268f3;
    --blue-bright: #2f7dff;
    --blue-deep: #082b79;
    --navy: #071634;
    --navy-deep: #030b1d;
    --ink: #0a1730;
    --paper: #f5f6f8;
    --white: #ffffff;
    --mist: #e8edf5;
    --gray: #667085;
    --warm: #f0e5d8;
    --warm-ink: #493022;
    --red: #ea1d2c;
    --border: rgba(10, 23, 48, 0.16);
    --border-light: rgba(255, 255, 255, 0.18);
    --shadow-soft: 0 20px 60px rgba(2, 10, 30, 0.13);
    --shadow-deep: 0 34px 90px rgba(0, 7, 24, 0.35);
    --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --serif: Iowan Old Style, "Baskerville", "Times New Roman", serif;
    --container: min(1320px, calc(100vw - 80px));
    --section-space: clamp(104px, 10vw, 176px);
    --radius: 18px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }

  ::selection {
    color: var(--white);
    background: var(--blue);
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  body.menu-open,
  body.dialog-open {
    overflow: hidden;
  }

  :focus-visible {
    outline: 3px solid #77a9ff;
    outline-offset: 4px;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-wrap: balance;
  }

  p {
    text-wrap: pretty;
  }

  section[id] {
    scroll-margin-top: 86px;
  }

  em {
    font-family: var(--serif);
    font-weight: 400;
  }

  input,
  textarea,
  select {
    border-radius: 0;
  }
}

@layer layout {
  .container {
    width: var(--container);
    margin-inline: auto;
  }

  .section-heading h2 {
    max-width: 960px;
    font-size: clamp(3.4rem, 7.1vw, 7.2rem);
  }

  .section-heading-split {
    display: grid;
    grid-template-columns: minmax(180px, 0.48fr) 1.52fr;
    gap: clamp(32px, 6vw, 104px);
    align-items: start;
  }

  .section-number {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--blue-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .section-number::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
  }

  .section-number-light {
    color: #83adff;
  }
}

@layer components {
  .skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    transform: translateY(-150%);
    color: var(--white);
    background: var(--blue);
    font-size: 0.86rem;
    font-weight: 700;
    transition: transform 160ms ease;
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    padding: 20px 0;
    color: var(--white);
    transition:
      padding 350ms var(--ease),
      color 350ms var(--ease);
  }

  .site-header::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-bottom: 1px solid transparent;
    background: rgba(5, 16, 39, 0);
    content: "";
    transition:
      background 350ms ease,
      border-color 350ms ease,
      backdrop-filter 350ms ease;
  }

  .site-header.is-scrolled {
    padding: 10px 0;
  }

  .site-header.is-scrolled::before {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(5, 16, 39, 0.91);
    backdrop-filter: blur(18px) saturate(140%);
  }

  .nav-shell {
    position: relative;
    display: grid;
    width: var(--container);
    height: 64px;
    margin-inline: auto;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .brand {
    display: inline-flex;
    justify-self: start;
    gap: 12px;
    align-items: center;
  }

  .brand img {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    object-fit: cover;
  }

  .brand-copy {
    display: grid;
    color: var(--white);
    line-height: 1.06;
  }

  .brand-copy strong {
    font-size: 0.94rem;
    letter-spacing: 0.08em;
  }

  .brand-copy span {
    color: #8eb6ff;
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.19em;
  }

  .desktop-nav {
    display: flex;
    gap: clamp(22px, 2.8vw, 42px);
    align-items: center;
  }

  .desktop-nav a {
    position: relative;
    padding: 14px 0;
    color: rgba(255, 255, 255, 0.73);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    transition: color 180ms ease;
  }

  .desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    background: var(--blue-bright);
    content: "";
    transition: transform 250ms var(--ease);
  }

  .desktop-nav a:hover,
  .desktop-nav a:focus-visible {
    color: var(--white);
  }

  .desktop-nav a:hover::after,
  .desktop-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .button {
    position: relative;
    display: inline-flex;
    min-height: 58px;
    padding: 0 12px 0 23px;
    border: 1px solid transparent;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    transition:
      color 250ms ease,
      border-color 250ms ease,
      background 250ms ease,
      transform 250ms var(--ease);
  }

  .button::before {
    position: absolute;
    inset: 0;
    transform: translateX(-102%);
    background: var(--white);
    content: "";
    transition: transform 350ms var(--ease);
  }

  .button > * {
    position: relative;
    z-index: 1;
  }

  .button:hover {
    transform: translateY(-2px);
  }

  .button:hover::before {
    transform: translateX(0);
  }

  .button-primary {
    color: var(--white);
    background: var(--blue);
  }

  .button-primary:hover {
    color: var(--blue-deep);
  }

  .button-white {
    color: var(--blue-deep);
    background: var(--white);
  }

  .button-white::before {
    background: var(--navy);
  }

  .button-white:hover {
    color: var(--white);
  }

  .button-arrow {
    display: grid;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    place-items: center;
    font-size: 1rem;
    transition:
      transform 250ms var(--ease),
      border-color 250ms ease;
  }

  .button-white .button-arrow {
    border-color: rgba(7, 22, 52, 0.24);
  }

  .button:hover .button-arrow {
    transform: rotate(45deg);
    border-color: currentColor;
  }

  .button-small {
    min-height: 46px;
    padding-right: 16px;
    padding-left: 18px;
    gap: 14px;
    font-size: 0.67rem;
  }

  .button-nav {
    justify-self: end;
    color: var(--white);
    background: var(--blue);
  }

  .button-nav::before {
    background: var(--white);
  }

  .button-nav:hover {
    color: var(--blue-deep);
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .text-link,
  .text-button {
    display: inline-flex;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    align-items: center;
    gap: 22px;
    background: transparent;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
    cursor: pointer;
    transition:
      gap 250ms var(--ease),
      color 180ms ease;
  }

  .text-link:hover,
  .text-button:hover {
    gap: 30px;
    color: var(--blue);
  }

  .text-link-light {
    color: rgba(255, 255, 255, 0.86);
  }

  .hero {
    position: relative;
    min-height: 920px;
    overflow: hidden;
    color: var(--white);
    background:
      radial-gradient(circle at 65% 22%, rgba(27, 108, 255, 0.2), transparent 29%),
      linear-gradient(135deg, #081b42 0%, #050e24 54%, #020817 100%);
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.26;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, transparent, black 38%, black 80%, transparent);
  }

  .hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
  }

  .hero-glow-one {
    top: -440px;
    right: -180px;
    width: 820px;
    height: 820px;
    border: 1px solid rgba(70, 132, 255, 0.25);
    box-shadow:
      0 0 0 90px rgba(33, 104, 255, 0.025),
      0 0 0 180px rgba(33, 104, 255, 0.018);
  }

  .hero-glow-two {
    bottom: -320px;
    left: -260px;
    width: 620px;
    height: 620px;
    background: rgba(22, 104, 243, 0.12);
    filter: blur(100px);
  }

  .hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 860px;
    padding-top: 142px;
    padding-bottom: 84px;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.78fr);
    gap: clamp(60px, 8vw, 140px);
    align-items: center;
  }

  .hero-copy {
    padding-top: 42px;
  }

  .eyebrow {
    display: flex;
    margin-bottom: 34px;
    gap: 13px;
    align-items: center;
    color: #95baff;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .eyebrow-line {
    width: 30px;
    height: 1px;
    background: currentColor;
  }

  .hero h1 {
    max-width: 850px;
    font-size: clamp(4.2rem, 7.55vw, 7.9rem);
    line-height: 0.88;
  }

  .hero h1 em {
    display: block;
    margin-top: 0.16em;
    color: #6fa0ff;
    font-size: 0.9em;
    font-style: italic;
    letter-spacing: -0.055em;
  }

  .outline-word {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.82);
  }

  .hero-intro {
    max-width: 660px;
    margin-top: 38px;
    color: rgba(255, 255, 255, 0.69);
    font-size: clamp(1.03rem, 1.4vw, 1.21rem);
    line-height: 1.72;
  }

  .hero-actions {
    display: flex;
    margin-top: 38px;
    gap: 34px;
    align-items: center;
  }

  .hero-actions .button {
    min-width: 214px;
  }

  .hero-region {
    display: flex;
    margin-top: 44px;
    gap: 12px;
    align-items: center;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
  }

  .status-dot {
    position: relative;
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #4b8dff;
    box-shadow: 0 0 0 5px rgba(75, 141, 255, 0.12);
  }

  .hero-portrait {
    position: relative;
    align-self: stretch;
  }

  .portrait-index {
    position: absolute;
    z-index: 3;
    top: 7%;
    right: -42px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    writing-mode: vertical-rl;
  }

  .portrait-frame {
    position: absolute;
    inset: 3% 0 2%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #17386e;
    box-shadow: var(--shadow-deep);
  }

  .portrait-frame::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
      linear-gradient(to top, rgba(2, 8, 23, 0.82), transparent 38%),
      linear-gradient(135deg, rgba(18, 104, 243, 0.15), transparent 54%);
    content: "";
  }

  .portrait-frame::after {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    width: 38%;
    height: 12px;
    background: var(--blue);
    content: "";
  }

  .portrait-frame img {
    width: 100%;
    height: 100%;
    filter: saturate(0.86) contrast(1.03);
    object-fit: cover;
    object-position: 52% 43%;
  }

  .portrait-scan {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-right: 1px solid rgba(255, 255, 255, 0.36);
    border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  }

  .portrait-caption {
    position: absolute;
    z-index: 5;
    right: -32px;
    bottom: 4%;
    left: -34px;
    display: flex;
    min-height: 94px;
    padding: 22px 24px 22px 28px;
    justify-content: flex-start;
    align-items: center;
    color: var(--navy);
    background: var(--white);
    box-shadow: 0 16px 44px rgba(0, 6, 21, 0.25);
  }

  .portrait-caption div {
    display: grid;
  }

  .portrait-caption span {
    color: var(--gray);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .portrait-caption strong {
    margin-top: 2px;
    font-size: 1.08rem;
  }

  .hero-marquee {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(3, 11, 29, 0.72);
  }

  .marquee-track {
    display: flex;
    width: max-content;
    height: 60px;
    align-items: center;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    animation: marquee 38s linear infinite;
  }

  .marquee-group {
    display: flex;
    min-width: 100vw;
    padding-right: 34px;
    flex: none;
    justify-content: space-around;
    align-items: center;
    gap: 34px;
  }

  .marquee-track i {
    color: var(--blue-bright);
    font-style: normal;
  }

  @keyframes marquee {
    to {
      transform: translateX(-50%);
    }
  }

  .direct-section {
    padding: var(--section-space) 0 clamp(88px, 9vw, 148px);
    background: var(--paper);
  }

  .direct-section h2 {
    font-size: clamp(3.4rem, 6.8vw, 7rem);
  }

  .direct-layout {
    display: grid;
    margin-top: clamp(68px, 8vw, 116px);
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 9vw, 144px);
    align-items: start;
  }

  .direct-lead {
    max-width: 520px;
    font-size: clamp(1.7rem, 3vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.18;
  }

  .direct-copy {
    max-width: 600px;
  }

  .direct-copy p {
    color: #46536a;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.8;
  }

  .direct-copy .text-link {
    margin-top: 30px;
  }

  .benefit-strip {
    display: grid;
    margin-top: clamp(76px, 9vw, 132px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    grid-template-columns: repeat(4, 1fr);
  }

  .benefit-strip div {
    display: grid;
    min-height: 124px;
    padding: 24px;
    border-right: 1px solid var(--border);
    align-content: space-between;
  }

  .benefit-strip div:last-child {
    border-right: 0;
  }

  .benefit-strip span {
    color: var(--blue);
    font-family: var(--serif);
    font-size: 0.82rem;
    font-style: italic;
  }

  .benefit-strip strong {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
  }

  .work-section {
    overflow: hidden;
    color: var(--white);
    background: var(--navy-deep);
  }

  .work-intro {
    display: grid;
    padding: var(--section-space) 0 clamp(80px, 9vw, 140px);
    grid-template-columns: 1.7fr 0.55fr;
    gap: clamp(50px, 10vw, 160px);
    align-items: end;
  }

  .work-intro h2 {
    margin-top: 30px;
    color: var(--white);
  }

  .work-intro h2 em {
    color: #6e9fff;
  }

  .work-summary {
    padding-bottom: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.8;
  }

  .project {
    position: relative;
    padding: clamp(92px, 9vw, 150px) 0;
  }

  .project::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.13);
    content: "";
  }

  .project-hap {
    background:
      linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
      #090d14;
    background-size: 64px 64px;
  }

  .project-hap::after {
    position: absolute;
    z-index: 0;
    top: 8%;
    right: -7%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(234, 29, 44, 0.08);
    content: "";
    filter: blur(90px);
  }

  .project-coffee {
    color: var(--warm-ink);
    background:
      radial-gradient(circle at 5% 10%, rgba(172, 116, 67, 0.15), transparent 28%),
      #e9dfd2;
  }

  .project-header {
    position: relative;
    z-index: 1;
    display: grid;
    margin-bottom: clamp(50px, 6vw, 84px);
    grid-template-columns: 0.28fr 1.25fr 0.7fr;
    gap: 40px;
    align-items: end;
  }

  .project-index {
    align-self: start;
    color: rgba(255, 255, 255, 0.32);
    font-family: var(--serif);
    font-size: clamp(3rem, 5.5vw, 6rem);
    font-style: italic;
    line-height: 0.8;
  }

  .project-coffee .project-index {
    color: rgba(73, 48, 34, 0.32);
  }

  .project-title-block p {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .project-coffee .project-title-block p {
    color: rgba(73, 48, 34, 0.55);
  }

  .project-title-block h3 {
    font-size: clamp(3.4rem, 7vw, 7.3rem);
    line-height: 0.86;
  }

  .project-tags {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
  }

  .project-tags span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 99px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .project-coffee .project-tags span {
    border-color: rgba(73, 48, 34, 0.2);
    color: rgba(73, 48, 34, 0.7);
  }

  .live-preview {
    position: relative;
    z-index: 1;
  }

  .browser-shell {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background: #f8f9fb;
    box-shadow: var(--shadow-deep);
  }

  .project-coffee .browser-shell {
    border-color: rgba(73, 48, 34, 0.14);
    box-shadow: 0 34px 90px rgba(73, 48, 34, 0.2);
  }

  .browser-bar {
    display: grid;
    min-height: 54px;
    padding: 0 17px;
    color: #344054;
    background: #f4f6f9;
    grid-template-columns: 90px minmax(180px, 540px) 90px;
    justify-content: space-between;
    align-items: center;
  }

  .window-controls {
    display: flex;
    gap: 7px;
  }

  .window-controls i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfd5df;
  }

  .window-controls i:first-child {
    background: #ff7168;
  }

  .window-controls i:nth-child(2) {
    background: #ffc864;
  }

  .window-controls i:nth-child(3) {
    background: #54cf7b;
  }

  .address-bar {
    display: flex;
    min-width: 0;
    height: 32px;
    padding: 0 14px;
    border: 1px solid #dfe4eb;
    border-radius: 8px;
    gap: 9px;
    align-items: center;
    justify-content: center;
    background: var(--white);
    font-size: 0.68rem;
  }

  .address-bar svg {
    width: 13px;
    flex: 0 0 auto;
    fill: none;
    stroke: #7b8493;
    stroke-width: 1.8;
  }

  .address-bar span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .browser-external {
    display: grid;
    width: 34px;
    height: 34px;
    justify-self: end;
    border-radius: 50%;
    place-items: center;
    font-size: 1rem;
    transition:
      color 180ms ease,
      background 180ms ease,
      transform 180ms var(--ease);
  }

  .browser-external:hover {
    transform: rotate(45deg);
    color: var(--white);
    background: var(--blue);
  }

  .preview-toolbar {
    display: flex;
    min-height: 48px;
    padding: 0 18px;
    border-top: 1px solid #e7eaf0;
    border-bottom: 1px solid #dde2ea;
    justify-content: space-between;
    align-items: center;
    color: #5c6675;
    background: #eef1f5;
  }

  .preview-toolbar > p {
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .live-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2fc36d;
    box-shadow: 0 0 0 4px rgba(47, 195, 109, 0.13);
  }

  .device-switcher {
    display: flex;
    padding: 3px;
    border: 1px solid #d8dde5;
    border-radius: 7px;
    background: #e5e8ed;
  }

  .device-switcher button {
    min-height: 28px;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    color: #77808e;
    background: transparent;
    font-size: 0.58rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .device-switcher button.is-active {
    color: var(--navy);
    background: var(--white);
    box-shadow: 0 2px 7px rgba(7, 22, 52, 0.1);
  }

  .preview-stage {
    display: flex;
    min-height: clamp(530px, 58vw, 740px);
    padding: 0;
    justify-content: center;
    overflow: hidden;
    background:
      linear-gradient(45deg, #dbe0e8 25%, transparent 25%, transparent 75%, #dbe0e8 75%),
      linear-gradient(45deg, #dbe0e8 25%, #eef1f5 25%, #eef1f5 75%, #dbe0e8 75%);
    background-position: 0 0, 8px 8px;
    background-size: 16px 16px;
    transition: padding 450ms var(--ease);
  }

  .preview-viewport {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #121821;
    transition:
      width 500ms var(--ease),
      border-radius 500ms var(--ease),
      box-shadow 500ms var(--ease);
  }

  .preview-stage.is-mobile {
    padding: 26px 0;
  }

  .preview-stage.is-mobile .preview-viewport {
    width: min(390px, calc(100% - 36px));
    border: 8px solid #182033;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  }

  .preview-poster {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: top center;
    transition:
      opacity 500ms ease,
      transform 1s var(--ease);
  }

  .live-preview:hover .preview-poster {
    transform: scale(1.01);
  }

  .preview-stage.is-mobile .preview-poster {
    object-position: top center;
  }

  .poster-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    padding: clamp(22px, 4vw, 56px);
    align-items: flex-end;
    justify-content: flex-start;
    background: linear-gradient(to top, rgba(3, 10, 25, 0.75), transparent 46%);
    transition: opacity 350ms ease;
  }

  .preview-play {
    display: flex;
    padding: 0;
    border: 0;
    gap: 15px;
    align-items: center;
    color: var(--white);
    background: transparent;
    text-align: left;
    cursor: pointer;
  }

  .play-icon {
    display: grid;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    place-items: center;
    background: rgba(4, 15, 37, 0.58);
    backdrop-filter: blur(8px);
    transition:
      color 250ms ease,
      background 250ms ease,
      transform 250ms var(--ease);
  }

  .preview-play:hover .play-icon {
    transform: rotate(-45deg) scale(1.06);
    color: var(--blue);
    background: var(--white);
  }

  .preview-play > span:last-child {
    display: grid;
  }

  .preview-play strong {
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .preview-play small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.63);
    font-size: 0.65rem;
  }

  .preview-iframe {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    background: var(--white);
    transition: opacity 450ms ease;
  }

  .preview-iframe.is-loaded {
    opacity: 1;
  }

  .preview-viewport.has-live-site .preview-poster,
  .preview-viewport.has-live-site .poster-overlay {
    opacity: 0;
    pointer-events: none;
  }

  .preview-loading {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: rgba(248, 250, 253, 0.96);
  }

  .preview-loading strong {
    margin-top: 18px;
    font-size: 0.76rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .preview-loading small {
    margin-top: 3px;
    color: var(--gray);
  }

  .loader-ring {
    width: 36px;
    height: 36px;
    border: 2px solid #dbe3ef;
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 800ms linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  .preview-fallback {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: flex;
    padding: 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: rgba(248, 250, 253, 0.96);
    text-align: center;
  }

  .preview-fallback p {
    max-width: 440px;
    margin-top: 6px;
    color: var(--gray);
  }

  .preview-fallback a {
    margin-top: 20px;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .preview-actions {
    display: flex;
    margin-top: 24px;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
  }

  .preview-actions > p {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.67rem;
  }

  .project-coffee .preview-actions > p {
    color: rgba(73, 48, 34, 0.55);
  }

  .preview-actions > div {
    display: flex;
    gap: 34px;
    align-items: center;
  }

  .preview-actions a,
  .preview-actions .text-button {
    display: inline-flex;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
    cursor: pointer;
  }

  .project-coffee .preview-actions a,
  .project-coffee .preview-actions .text-button {
    color: rgba(73, 48, 34, 0.78);
  }

  .preview-actions a:hover,
  .preview-actions .text-button:hover {
    color: var(--blue-bright);
  }

  .case-study {
    display: grid;
    margin-top: clamp(74px, 8vw, 120px);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    grid-template-columns: 1fr 1fr 0.72fr;
  }

  .project-coffee .case-study {
    border-color: rgba(73, 48, 34, 0.18);
  }

  .case-study > div {
    min-height: 250px;
    padding: clamp(30px, 4vw, 52px);
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .project-coffee .case-study > div {
    border-color: rgba(73, 48, 34, 0.18);
  }

  .case-study > div:first-child {
    padding-left: 0;
  }

  .case-study > div:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .case-label {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .project-coffee .case-label {
    color: rgba(73, 48, 34, 0.5);
  }

  .case-study > div > p:last-child {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.78;
  }

  .project-coffee .case-study > div > p:last-child {
    color: rgba(73, 48, 34, 0.76);
  }

  .case-study ul {
    display: grid;
    gap: 10px;
    list-style: none;
  }

  .case-study li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
  }

  .project-coffee .case-study li {
    color: rgba(73, 48, 34, 0.74);
  }

  .case-study li::before {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--blue-bright);
    content: "";
  }

  .project-hap .case-study li::before {
    background: var(--red);
  }

  .project-pool {
    color: #15364a;
    background:
      radial-gradient(circle at 88% 12%, rgba(28, 164, 202, 0.18), transparent 28%),
      linear-gradient(135deg, #e6f2f4, #d7e9ed);
  }

  .project-pool .project-index {
    color: rgba(21, 54, 74, 0.3);
  }

  .project-pool .project-title-block p {
    color: rgba(21, 54, 74, 0.56);
  }

  .project-pool .project-tags span {
    border-color: rgba(21, 54, 74, 0.2);
    color: rgba(21, 54, 74, 0.72);
  }

  .project-pool .browser-shell {
    border-color: rgba(21, 54, 74, 0.14);
    box-shadow: 0 34px 90px rgba(20, 88, 112, 0.22);
  }

  .project-pool .preview-actions > p {
    color: rgba(21, 54, 74, 0.56);
  }

  .project-pool .preview-actions a,
  .project-pool .preview-actions .text-button {
    color: rgba(21, 54, 74, 0.8);
  }

  .project-pool .case-study,
  .project-pool .case-study > div {
    border-color: rgba(21, 54, 74, 0.18);
  }

  .project-pool .case-label {
    color: rgba(21, 54, 74, 0.5);
  }

  .project-pool .case-study > div > p:last-child,
  .project-pool .case-study li {
    color: rgba(21, 54, 74, 0.76);
  }

  .project-pool .case-study li::before {
    background: #149cc5;
  }

  .project-rancho {
    background:
      linear-gradient(rgba(108, 197, 48, 0.026) 1px, transparent 1px),
      linear-gradient(90deg, rgba(108, 197, 48, 0.026) 1px, transparent 1px),
      radial-gradient(circle at 84% 20%, rgba(104, 195, 43, 0.12), transparent 27%),
      #020a06;
    background-size: 64px 64px, 64px 64px, auto, auto;
  }

  .project-rancho .project-index {
    color: rgba(112, 204, 50, 0.48);
  }

  .project-rancho .project-title-block p,
  .project-rancho .case-label {
    color: rgba(123, 213, 61, 0.68);
  }

  .project-rancho .project-tags span {
    border-color: rgba(122, 211, 61, 0.28);
  }

  .project-rancho .browser-shell {
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
  }

  .project-rancho .case-study li::before {
    background: #73c933;
  }

  .services-section {
    padding: var(--section-space) 0;
    background: var(--paper);
  }

  .services-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: clamp(70px, 10vw, 160px);
    align-items: start;
  }

  .services-intro {
    position: sticky;
    top: 120px;
  }

  .services-intro h2 {
    margin-top: 34px;
    font-size: clamp(3rem, 5.4vw, 5.7rem);
  }

  .services-intro > p:last-child {
    max-width: 510px;
    margin-top: 34px;
    color: #526078;
    line-height: 1.8;
  }

  .service-list {
    border-top: 1px solid var(--border);
  }

  .service-list details {
    border-bottom: 1px solid var(--border);
  }

  .service-list summary {
    display: grid;
    min-height: 106px;
    padding: 20px 0;
    grid-template-columns: 50px 1fr 30px;
    gap: 18px;
    align-items: center;
    list-style: none;
    cursor: pointer;
  }

  .service-list summary::-webkit-details-marker {
    display: none;
  }

  .service-number {
    color: var(--blue);
    font-family: var(--serif);
    font-size: 0.83rem;
    font-style: italic;
  }

  .service-title {
    font-size: clamp(1.4rem, 2.1vw, 2.12rem);
    font-weight: 650;
    letter-spacing: -0.035em;
  }

  .service-toggle {
    position: relative;
    width: 26px;
    height: 26px;
  }

  .service-toggle::before,
  .service-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1px;
    transform: translate(-50%, -50%);
    background: var(--ink);
    content: "";
    transition: transform 250ms var(--ease);
  }

  .service-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  details[open] .service-toggle::after {
    transform: translate(-50%, -50%) rotate(0);
  }

  .service-content {
    display: grid;
    padding: 0 46px 36px 68px;
    grid-template-rows: 1fr;
  }

  .service-content p {
    max-width: 610px;
    color: #59667d;
    line-height: 1.8;
  }

  .about-section {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
    color: var(--white);
    background:
      radial-gradient(circle at 18% 40%, rgba(38, 113, 255, 0.2), transparent 28%),
      var(--navy);
  }

  .about-grid {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, black, transparent 70%);
  }

  .about-layout {
    position: relative;
    display: grid;
    grid-template-columns: 0.8fr 1.1fr;
    gap: clamp(80px, 11vw, 170px);
    align-items: center;
  }

  .about-image {
    position: relative;
  }

  .about-image-frame {
    position: relative;
    height: clamp(590px, 59vw, 810px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #173a72;
  }

  .about-image-frame::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 11, 29, 0.54), transparent 40%);
    content: "";
  }

  .about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% 47%;
  }

  .about-stamp {
    position: absolute;
    right: -64px;
    bottom: 46px;
    display: flex;
    width: 132px;
    height: 132px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--blue);
    text-align: center;
  }

  .about-stamp span {
    font-size: 0.47rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    line-height: 1.35;
  }

  .about-stamp strong {
    margin: 2px 0;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
  }

  .about-copy h2 {
    margin-top: 34px;
    font-size: clamp(4rem, 7.5vw, 8rem);
  }

  .about-lead {
    max-width: 720px;
    margin-top: 34px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.35rem, 2.25vw, 2.15rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.42;
  }

  .about-body {
    display: grid;
    margin-top: 38px;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .about-body p {
    color: rgba(255, 255, 255, 0.59);
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .about-signoff {
    display: grid;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    width: 210px;
  }

  .about-signoff span {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-style: italic;
  }

  .about-signoff small {
    color: #81aaff;
    font-size: 0.58rem;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .why-grid {
    position: relative;
    display: grid;
    margin-top: clamp(110px, 12vw, 190px);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }

  .why-grid > div {
    min-height: 280px;
    padding: 36px;
    border-right: 1px solid var(--border-light);
  }

  .why-grid > div:last-child {
    border-right: 0;
  }

  .why-intro {
    display: flex;
    padding-left: 0 !important;
    flex-direction: column;
    justify-content: space-between;
  }

  .why-intro > p {
    color: #82abff;
    font-size: 0.63rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .why-intro h3 {
    font-size: clamp(2rem, 3vw, 3.3rem);
  }

  .why-item span {
    color: #80a9ff;
    font-family: var(--serif);
    font-size: 0.8rem;
    font-style: italic;
  }

  .why-item h4 {
    margin-top: 66px;
    font-size: 1.32rem;
    letter-spacing: -0.03em;
    line-height: 1.18;
  }

  .why-item p {
    margin-top: 17px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.84rem;
    line-height: 1.7;
  }

  .process-section {
    padding: var(--section-space) 0;
    background: var(--white);
  }

  .process-heading {
    display: grid;
    grid-template-columns: 1.3fr 0.5fr;
    gap: clamp(70px, 12vw, 190px);
    align-items: end;
  }

  .process-heading h2 {
    max-width: 860px;
    margin-top: 34px;
    font-size: clamp(3.3rem, 6.5vw, 6.8rem);
  }

  .process-heading > p {
    padding-bottom: 8px;
    color: #5c687c;
    line-height: 1.8;
  }

  .process-list {
    margin-top: clamp(78px, 9vw, 132px);
    border-top: 1px solid var(--border);
    list-style: none;
  }

  .process-list li {
    position: relative;
    display: grid;
    min-height: 158px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    grid-template-columns: 0.33fr 1fr 0.62fr;
    gap: 30px;
    align-items: center;
    transition:
      color 250ms ease,
      padding 350ms var(--ease);
  }

  .process-list li::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    background: var(--navy);
    content: "";
    transition: transform 350ms var(--ease);
  }

  .process-list li:hover {
    z-index: 1;
    padding-right: 28px;
    padding-left: 28px;
    color: var(--white);
  }

  .process-list li:hover::before {
    transform: scaleY(1);
  }

  .process-number {
    color: var(--blue);
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
  }

  .process-list li > div {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 36px;
    align-items: center;
  }

  .process-list h3 {
    font-size: clamp(2.4rem, 4.4vw, 4.8rem);
  }

  .process-list li > div p {
    max-width: 500px;
    color: #59667b;
    line-height: 1.72;
    transition: color 250ms ease;
  }

  .process-list li:hover > div p {
    color: rgba(255, 255, 255, 0.62);
  }

  .process-note {
    justify-self: end;
    color: #788396;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    transition: color 250ms ease;
  }

  .process-list li:hover .process-note {
    color: #85adff;
  }

  .assessment-section {
    position: relative;
    padding: clamp(90px, 9vw, 144px) 0;
    overflow: hidden;
    color: var(--white);
    background:
      radial-gradient(circle at 8% 80%, rgba(255, 255, 255, 0.12), transparent 26%),
      var(--blue);
  }

  .assessment-grid {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to right, black, transparent 58%);
  }

  .assessment-layout {
    position: relative;
    display: grid;
    grid-template-columns: 0.92fr 1fr;
    gap: clamp(70px, 11vw, 170px);
    align-items: start;
  }

  .assessment-copy h2 {
    max-width: 650px;
    margin-top: 34px;
    font-size: clamp(3.5rem, 6.3vw, 6.7rem);
  }

  .assessment-copy > p:not(.section-number) {
    max-width: 600px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.04rem;
    line-height: 1.8;
  }

  .assessment-copy ul {
    display: grid;
    margin-top: 38px;
    gap: 13px;
    list-style: none;
  }

  .assessment-copy li {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 650;
  }

  .assessment-copy li::before {
    width: 16px;
    height: 1px;
    background: rgba(255, 255, 255, 0.64);
    content: "";
  }

  .assessment-form {
    padding: clamp(30px, 4.3vw, 58px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(5, 22, 57, 0.26);
  }

  .field {
    position: relative;
    display: grid;
  }

  .field label {
    margin-bottom: 8px;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .field label span:not(.optional) {
    color: #6fa0ff;
  }

  .assessment-form .field label span {
    color: var(--white);
  }

  .field .optional {
    color: #8b94a4;
    font-weight: 500;
  }

  .field input,
  .field textarea,
  .field select {
    width: 100%;
    min-height: 54px;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid #bcc5d2;
    outline: 0;
    background: transparent;
    transition:
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  .field textarea {
    min-height: 110px;
    resize: vertical;
  }

  .field input::placeholder,
  .field textarea::placeholder {
    color: #98a2b3;
  }

  .field input:focus,
  .field textarea:focus,
  .field select:focus {
    border-color: var(--blue);
    box-shadow: 0 1px 0 var(--blue);
  }

  .field [aria-invalid="true"] {
    border-color: #d92d20;
    box-shadow: 0 1px 0 #d92d20;
  }

  .assessment-form .field {
    margin-bottom: 22px;
  }

  .assessment-form .field input,
  .assessment-form .field textarea {
    border-color: rgba(255, 255, 255, 0.46);
    color: var(--white);
  }

  .assessment-form .field input::placeholder,
  .assessment-form .field textarea::placeholder {
    color: rgba(255, 255, 255, 0.44);
  }

  .assessment-form .field input:focus,
  .assessment-form .field textarea:focus {
    border-color: var(--white);
    box-shadow: 0 1px 0 var(--white);
  }

  .assessment-form .button {
    width: 100%;
    margin-top: 8px;
  }

  .form-legal {
    margin-top: 14px;
    color: #69758a;
    font-size: 0.68rem;
    line-height: 1.55;
  }

  .form-legal a {
    border-bottom: 1px solid currentColor;
    color: var(--blue-deep);
    font-weight: 700;
  }

  .assessment-form .form-legal {
    color: rgba(255, 255, 255, 0.74);
  }

  .assessment-form .form-legal a {
    color: var(--white);
  }

  .field-error {
    min-height: 18px;
    padding-top: 4px;
    color: #d92d20;
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .assessment-form .field-error {
    color: #ffe0dc;
  }

  .field-note {
    padding-top: 7px;
    color: #7a8598;
    font-size: 0.68rem;
  }

  .honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
  }

  .form-status {
    min-height: 24px;
    margin-top: 16px;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .form-status.is-success {
    padding: 16px 18px;
    border-left: 3px solid #42ca75;
    color: #155c30;
    background: #e8f8ee;
  }

  .assessment-form .form-status.is-success {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
  }

  .form-status.is-error {
    padding: 16px 18px;
    border-left: 3px solid #d92d20;
    color: #912018;
    background: #fff0ee;
  }

  .assessment-form .form-status.is-error {
    color: #fff;
    background: rgba(98, 10, 10, 0.32);
  }

  .form-submit[disabled] {
    opacity: 0.72;
    cursor: wait;
  }

  .form-submit.is-loading .button-arrow {
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
    font-size: 0;
  }

  .contact-section {
    padding: var(--section-space) 0;
    background: var(--paper);
  }

  .contact-heading {
    padding-bottom: clamp(70px, 8vw, 110px);
    border-bottom: 1px solid var(--border);
  }

  .contact-title-row {
    display: grid;
    margin-top: 34px;
    grid-template-columns: 1.36fr 0.5fr;
    gap: clamp(70px, 10vw, 150px);
    align-items: end;
  }

  .contact-title-row h2 {
    font-size: clamp(3.8rem, 7.8vw, 8.3rem);
  }

  .contact-title-row h2 em {
    color: var(--blue);
  }

  .contact-title-row p {
    padding-bottom: 8px;
    color: #59667c;
    line-height: 1.8;
  }

  .project-form {
    margin-top: clamp(70px, 8vw, 112px);
  }

  .project-form fieldset {
    display: grid;
    padding: 0;
    border: 0;
    grid-template-columns: 0.3fr 1fr;
    gap: clamp(50px, 8vw, 130px);
  }

  .project-form fieldset + fieldset {
    margin-top: 90px;
    padding-top: 80px;
    border-top: 1px solid var(--border);
  }

  .project-form legend {
    float: left;
    width: 100%;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .project-form legend span {
    margin-right: 14px;
    color: var(--blue);
    font-family: var(--serif);
    font-size: 0.82rem;
    font-style: italic;
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 44px;
  }

  .field-wide {
    grid-column: 1 / -1;
  }

  .select-wrap {
    position: relative;
  }

  .select-wrap select {
    padding-right: 34px;
    appearance: none;
  }

  .select-wrap > span {
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
    color: var(--blue);
    pointer-events: none;
  }

  .form-footer {
    display: flex;
    margin-top: 80px;
    padding-top: 34px;
    border-top: 1px solid var(--border);
    justify-content: space-between;
    gap: 40px;
    align-items: center;
  }

  .form-footer p {
    max-width: 420px;
    color: #667085;
    font-size: 0.77rem;
  }

  .form-footer .button {
    min-width: 242px;
  }

  .faq-section {
    padding: clamp(90px, 9vw, 140px) 0;
    color: var(--white);
    background: var(--navy-deep);
  }

  .faq-layout {
    display: grid;
    grid-template-columns: 0.55fr 1.2fr;
    gap: clamp(70px, 11vw, 170px);
    align-items: start;
  }

  .faq-layout h2 {
    margin-top: 30px;
    font-size: clamp(3.2rem, 5vw, 5.4rem);
  }

  .faq-list {
    border-top: 1px solid var(--border-light);
  }

  .faq-list details {
    border-bottom: 1px solid var(--border-light);
  }

  .faq-list summary {
    display: grid;
    min-height: 94px;
    padding: 22px 0;
    grid-template-columns: 1fr 28px;
    gap: 30px;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
  }

  .faq-list summary::-webkit-details-marker {
    display: none;
  }

  .faq-list summary span {
    color: #80aaff;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 250ms var(--ease);
  }

  .faq-list details[open] summary span {
    transform: rotate(45deg);
  }

  .faq-list details p {
    max-width: 680px;
    padding: 0 50px 28px 0;
    color: rgba(255, 255, 255, 0.56);
    line-height: 1.75;
  }

  .site-footer {
    position: relative;
    padding: clamp(70px, 8vw, 120px) 0 30px;
    color: var(--white);
    background: #020716;
  }

  .footer-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 26%;
    height: 5px;
    background: var(--blue);
  }

  .footer-main {
    display: grid;
    padding-bottom: clamp(70px, 8vw, 120px);
    grid-template-columns: 1.2fr 0.55fr 0.65fr 1fr;
    gap: clamp(40px, 6vw, 92px);
  }

  .footer-brand img {
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    object-fit: cover;
  }

  .footer-brand > p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.7;
    text-transform: uppercase;
  }

  .footer-nav-group {
    display: grid;
    align-content: start;
  }

  .footer-nav-group p,
  .footer-cta p {
    margin-bottom: 23px;
    color: #79a5ff;
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .footer-nav-group a {
    width: fit-content;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    transition: color 180ms ease;
  }

  .footer-nav-group a:hover {
    color: var(--white);
  }

  .footer-cta a {
    display: flex;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    justify-content: space-between;
    align-items: center;
    font-size: clamp(1.5rem, 2.4vw, 2.6rem);
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1.1;
  }

  .footer-cta a span {
    color: var(--blue-bright);
    font-size: 1.3rem;
    transition: transform 250ms var(--ease);
  }

  .footer-cta a:hover span {
    transform: rotate(45deg);
  }

  .footer-bottom {
    display: grid;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    grid-template-columns: auto auto 1fr auto;
    gap: 30px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.64rem;
    letter-spacing: 0.04em;
  }

  .footer-bottom a {
    color: rgba(255, 255, 255, 0.72);
  }

  .footer-legal-links {
    display: flex;
    gap: 16px;
  }

  .preview-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    padding: 0;
    border: 0;
    color: var(--white);
    background: rgba(2, 7, 22, 0.97);
  }

  .preview-dialog::backdrop {
    background: rgba(0, 4, 15, 0.82);
    backdrop-filter: blur(8px);
  }

  .dialog-shell {
    display: grid;
    width: min(1540px, calc(100vw - 48px));
    height: 100%;
    margin-inline: auto;
    padding: 20px 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 16px;
  }

  .dialog-header {
    display: flex;
    min-height: 66px;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
  }

  .dialog-header p {
    color: #7fa9ff;
    font-size: 0.56rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .dialog-header h2 {
    margin-top: 4px;
    font-size: clamp(1.4rem, 2.2vw, 2.5rem);
  }

  .dialog-close {
    display: flex;
    min-height: 46px;
    padding: 0 14px 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    gap: 16px;
    align-items: center;
    color: var(--white);
    background: transparent;
    font-size: 0.63rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .dialog-close i {
    position: relative;
    width: 18px;
    height: 18px;
  }

  .dialog-close i::before,
  .dialog-close i::after {
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 1px;
    transform: rotate(45deg);
    background: currentColor;
    content: "";
  }

  .dialog-close i::after {
    transform: rotate(-45deg);
  }

  .dialog-browser {
    display: grid;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    grid-template-rows: auto minmax(0, 1fr);
    background: #fff;
    box-shadow: var(--shadow-deep);
  }

  .dialog-preview-stage {
    position: relative;
    min-height: 0;
    background: #f7f9fc;
  }

  .dialog-preview-stage iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
  }

  .dialog-footer {
    display: flex;
    min-height: 36px;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    color: rgba(255, 255, 255, 0.47);
    font-size: 0.65rem;
  }

  .dialog-footer a {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .utility-page {
    color: var(--white);
    background: var(--navy-deep);
  }

  .utility-page main {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 100dvh;
    padding: 28px max(28px, calc((100vw - 1320px) / 2));
    overflow: hidden;
    grid-template-rows: auto 1fr auto;
    background:
      radial-gradient(circle at 82% 20%, rgba(33, 107, 255, 0.24), transparent 28%),
      linear-gradient(135deg, #081b42, #030918 72%);
  }

  .utility-grid {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, transparent, black 50%, transparent);
  }

  .utility-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    gap: 13px;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.11em;
  }

  .utility-brand img {
    width: 48px;
    height: 48px;
    object-fit: cover;
  }

  .utility-content {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    padding: 80px 0;
    align-self: center;
  }

  .utility-content h1 {
    margin-top: 30px;
    font-size: clamp(4rem, 9vw, 9rem);
  }

  .utility-content > p:not(.section-number) {
    max-width: 560px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 1.08rem;
  }

  .utility-content .button {
    min-width: 230px;
    margin-top: 36px;
  }

  .utility-footer {
    position: relative;
    z-index: 1;
    align-self: end;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .legal-page {
    color: var(--ink);
    background: var(--paper);
  }

  .legal-header {
    display: flex;
    min-height: 84px;
    padding: 14px max(28px, calc((100vw - 1320px) / 2));
    justify-content: space-between;
    gap: 36px;
    align-items: center;
    color: var(--white);
    background: var(--navy-deep);
  }

  .legal-brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
  }

  .legal-brand img {
    width: 48px;
    height: 48px;
    object-fit: cover;
  }

  .legal-brand span {
    display: grid;
    line-height: 1.05;
  }

  .legal-brand strong {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  .legal-brand small {
    color: #82adff;
    font-size: 0.52rem;
    font-weight: 750;
    letter-spacing: 0.16em;
  }

  .legal-header > nav {
    display: flex;
    gap: clamp(18px, 3vw, 42px);
    align-items: center;
  }

  .legal-header > nav a {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .legal-header > nav a[aria-current="page"],
  .legal-header > nav a:hover {
    color: var(--white);
  }

  .legal-hero {
    position: relative;
    min-height: 430px;
    padding: clamp(90px, 10vw, 150px) 0 64px;
    overflow: hidden;
    color: var(--white);
    background:
      radial-gradient(circle at 76% 20%, rgba(35, 110, 255, 0.24), transparent 30%),
      linear-gradient(135deg, #081b42, #030918 72%);
  }

  .legal-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, transparent, black 45%, transparent);
  }

  .legal-hero .container {
    position: relative;
  }

  .legal-hero h1 {
    margin-top: 34px;
    font-size: clamp(4.5rem, 9vw, 9.2rem);
  }

  .legal-meta {
    display: flex;
    margin-top: 54px;
    gap: clamp(36px, 7vw, 100px);
  }

  .legal-meta p {
    display: grid;
  }

  .legal-meta strong {
    color: #80aaff;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .legal-meta span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
  }

  .legal-layout {
    display: grid;
    padding-top: clamp(72px, 8vw, 116px);
    padding-bottom: clamp(90px, 10vw, 150px);
    grid-template-columns: 230px minmax(0, 820px);
    gap: clamp(70px, 10vw, 160px);
    justify-content: start;
    align-items: start;
  }

  .legal-toc {
    position: sticky;
    top: 28px;
    padding-top: 18px;
    border-top: 2px solid var(--blue);
  }

  .legal-toc > p {
    color: var(--blue-deep);
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .legal-toc nav {
    display: grid;
    margin-top: 20px;
  }

  .legal-toc a {
    padding: 7px 0;
    color: #667085;
    font-size: 0.69rem;
    line-height: 1.4;
    transition:
      color 160ms ease,
      transform 180ms var(--ease);
  }

  .legal-toc a:hover {
    transform: translateX(4px);
    color: var(--blue);
  }

  .legal-content {
    min-width: 0;
  }

  .legal-content section {
    padding: 0 0 58px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 28px;
  }

  .legal-content section + section {
    padding-top: 58px;
  }

  .legal-content h2 {
    margin-bottom: 26px;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.04;
  }

  .legal-content h3 {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: 1.2rem;
    letter-spacing: -0.025em;
    line-height: 1.3;
  }

  .legal-content p,
  .legal-content li,
  .legal-content td,
  .legal-content th {
    color: #4f5d73;
    font-size: 0.94rem;
    line-height: 1.82;
  }

  .legal-content p + p {
    margin-top: 18px;
  }

  .legal-content ul {
    display: grid;
    margin: 22px 0 0;
    gap: 10px;
    list-style: none;
  }

  .legal-content li {
    position: relative;
    padding-left: 22px;
  }

  .legal-content li::before {
    position: absolute;
    top: 0.82em;
    left: 0;
    width: 7px;
    height: 1px;
    background: var(--blue);
    content: "";
  }

  .legal-content a {
    border-bottom: 1px solid currentColor;
    color: var(--blue-deep);
    font-weight: 650;
  }

  .legal-table-wrap {
    margin: 30px 0;
    overflow-x: auto;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .legal-content table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
  }

  .legal-content th {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--blue-deep);
    background: #eaf0fa;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
  }

  .legal-content td {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(10, 23, 48, 0.09);
    vertical-align: top;
    font-size: 0.78rem;
    line-height: 1.7;
  }

  .legal-content tr:last-child td {
    border-bottom: 0;
  }

  .legal-content td:first-child {
    width: 22%;
    color: var(--ink);
    font-weight: 700;
  }

  .legal-uppercase {
    font-size: 0.84rem !important;
    font-weight: 650;
    letter-spacing: 0.025em;
    text-transform: uppercase;
  }

  .legal-callout {
    display: grid;
    margin-top: 30px;
    padding: 26px 28px;
    border-left: 4px solid var(--blue);
    background: #e9eef7;
  }

  .legal-callout strong {
    font-size: 1rem;
  }

  .legal-callout span {
    margin-top: 2px;
    color: #667085;
    font-size: 0.72rem;
  }

  .legal-callout a {
    width: fit-content;
    margin-top: 16px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .legal-footer {
    padding: 32px max(28px, calc((100vw - 1320px) / 2));
    color: rgba(255, 255, 255, 0.55);
    background: var(--navy-deep);
  }

  .legal-footer > div {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    font-size: 0.68rem;
  }

  .legal-footer nav {
    display: flex;
    gap: 24px;
  }

  .legal-footer a {
    color: rgba(255, 255, 255, 0.72);
  }
}

@layer utilities {
  .js-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 750ms var(--ease),
      transform 750ms var(--ease);
  }

  .js-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@layer responsive {
  @media (max-width: 1180px) {
    :root {
      --container: min(100% - 56px, 1320px);
    }

    .desktop-nav {
      gap: 20px;
    }

    .hero-layout {
      grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
      gap: 64px;
    }

    .hero h1 {
      font-size: clamp(4rem, 7.6vw, 6.4rem);
    }

    .portrait-caption {
      right: -18px;
      left: -24px;
    }

    .why-grid {
      grid-template-columns: repeat(3, 1fr);
    }

    .why-intro {
      min-height: 220px !important;
      padding-right: 0 !important;
      grid-column: 1 / -1;
      border-right: 0 !important;
    }

    .why-item {
      border-top: 1px solid var(--border-light);
    }

    .why-item:first-of-type {
      padding-left: 0;
    }

    .footer-main {
      grid-template-columns: 1.2fr 0.7fr 0.8fr;
    }

    .footer-cta {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 960px) {
    :root {
      --container: min(100% - 40px, 1320px);
      --section-space: 104px;
    }

    .nav-shell {
      grid-template-columns: 1fr auto;
    }

    .desktop-nav,
    .button-nav {
      display: none;
    }

    .menu-toggle {
      position: relative;
      z-index: 2;
      display: grid;
      width: 48px;
      height: 48px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.22);
      align-content: center;
      justify-content: center;
      gap: 7px;
      color: var(--white);
      background: transparent;
      cursor: pointer;
    }

    .menu-toggle span {
      width: 20px;
      height: 1px;
      background: currentColor;
      transition:
        transform 280ms var(--ease),
        opacity 180ms ease;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
      transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
      transform: translateY(-4px) rotate(-45deg);
    }

    .mobile-menu {
      position: fixed;
      z-index: 1;
      inset: 0;
      display: block;
      visibility: hidden;
      opacity: 0;
      background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        #05122c;
      background-size: 60px 60px;
      transition:
        opacity 350ms ease,
        visibility 350ms;
    }

    .mobile-menu.is-open {
      visibility: visible;
      opacity: 1;
    }

    .mobile-menu-inner {
      display: grid;
      width: var(--container);
      height: 100%;
      margin-inline: auto;
      padding: 120px 0 38px;
      grid-template-rows: auto 1fr auto;
    }

    .menu-kicker {
      color: #7ea8ff;
      font-size: 0.62rem;
      font-weight: 750;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .mobile-menu nav {
      display: grid;
      align-content: center;
    }

    .mobile-menu nav a {
      display: grid;
      padding: 17px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.15);
      grid-template-columns: 44px 1fr;
      align-items: center;
      color: var(--white);
      font-size: clamp(2.4rem, 8vw, 4.4rem);
      font-weight: 650;
      letter-spacing: -0.05em;
      line-height: 1;
    }

    .mobile-menu nav a:first-child {
      border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-menu nav span {
      align-self: start;
      padding-top: 5px;
      color: #74a2ff;
      font-family: var(--serif);
      font-size: 0.72rem;
      font-style: italic;
      letter-spacing: 0;
    }

    .mobile-menu-note {
      display: flex;
      max-width: 430px;
      gap: 14px;
      align-items: center;
      color: rgba(255, 255, 255, 0.56);
      font-size: 0.72rem;
    }

    .hero {
      min-height: auto;
    }

    .hero-layout {
      min-height: 0;
      padding-top: 148px;
      padding-bottom: 118px;
      grid-template-columns: 1fr;
      gap: 80px;
    }

    .hero-copy {
      padding-top: 0;
    }

    .hero h1 {
      max-width: 780px;
      font-size: clamp(4.2rem, 11.5vw, 7.5rem);
    }

    .hero-intro {
      max-width: 700px;
    }

    .hero-portrait {
      width: min(540px, 82%);
      height: 680px;
      margin-left: auto;
    }

    .section-heading-split {
      grid-template-columns: 1fr;
    }

    .direct-layout {
      gap: 60px;
    }

    .benefit-strip {
      grid-template-columns: repeat(2, 1fr);
    }

    .benefit-strip div:nth-child(2) {
      border-right: 0;
    }

    .benefit-strip div:nth-child(-n + 2) {
      border-bottom: 1px solid var(--border);
    }

    .work-intro {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .work-summary {
      max-width: 550px;
    }

    .project-header {
      grid-template-columns: 0.2fr 1fr;
    }

    .project-tags {
      justify-content: flex-start;
      grid-column: 2;
    }

    .preview-stage {
      min-height: 570px;
    }

    .case-study {
      grid-template-columns: 1fr 1fr;
    }

    .case-study > div:nth-child(2) {
      border-right: 0;
    }

    .case-study > div:last-child {
      min-height: auto;
      padding-left: 0;
      border-top: 1px solid rgba(255, 255, 255, 0.16);
      grid-column: 1 / -1;
    }

    .project-coffee .case-study > div:last-child,
    .project-pool .case-study > div:last-child {
      border-color: rgba(73, 48, 34, 0.18);
    }

    .project-pool .case-study > div:last-child {
      border-color: rgba(21, 54, 74, 0.18);
    }

    .case-study > div:last-child ul {
      grid-template-columns: repeat(2, 1fr);
    }

    .services-layout {
      grid-template-columns: 1fr;
    }

    .services-intro {
      position: static;
    }

    .about-layout {
      grid-template-columns: 0.72fr 1fr;
      gap: 70px;
    }

    .about-body {
      grid-template-columns: 1fr;
    }

    .why-grid > div {
      padding: 30px 24px;
    }

    .process-heading {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .process-heading > p {
      max-width: 600px;
    }

    .process-list li {
      grid-template-columns: 70px 1fr;
    }

    .process-note {
      display: none;
    }

    .assessment-layout {
      grid-template-columns: 1fr;
    }

    .assessment-copy {
      max-width: 720px;
    }

    .contact-title-row {
      grid-template-columns: 1fr;
      gap: 34px;
    }

    .contact-title-row p {
      max-width: 550px;
    }

    .project-form fieldset {
      grid-template-columns: 1fr;
      gap: 46px;
    }

    .faq-layout {
      grid-template-columns: 1fr;
      gap: 54px;
    }

    .legal-layout {
      grid-template-columns: 190px minmax(0, 1fr);
      gap: 54px;
    }
  }

  @media (max-width: 720px) {
    :root {
      --container: calc(100% - 32px);
      --section-space: 88px;
      --radius: 12px;
    }

    .site-header {
      padding-top: 12px;
    }

    .nav-shell {
      height: 56px;
    }

    .brand img {
      width: 42px;
      height: 42px;
    }

    .brand-copy strong {
      font-size: 0.82rem;
    }

    .brand-copy span {
      font-size: 0.52rem;
    }

    .menu-toggle {
      width: 44px;
      height: 44px;
    }

    .hero-layout {
      padding-top: 124px;
      padding-bottom: 106px;
      gap: 66px;
    }

    .eyebrow {
      margin-bottom: 24px;
      font-size: 0.58rem;
    }

    .hero h1 {
      font-size: clamp(3.65rem, 17vw, 5.4rem);
      line-height: 0.88;
    }

    .outline-word {
      -webkit-text-stroke-width: 1px;
    }

    .hero-intro {
      margin-top: 30px;
      font-size: 1rem;
    }

    .hero-actions {
      align-items: stretch;
      flex-direction: column;
      gap: 17px;
    }

    .hero-actions .button {
      width: 100%;
    }

    .hero-actions .text-link {
      width: fit-content;
    }

    .hero-region {
      line-height: 1.5;
    }

    .hero-portrait {
      width: calc(100% - 22px);
      height: 560px;
      margin-right: 22px;
    }

    .portrait-frame {
      inset: 0;
    }

    .portrait-caption {
      right: -22px;
      bottom: 18px;
      left: 18px;
      min-height: 84px;
      padding: 18px;
    }

    .portrait-index {
      top: 28px;
      right: -17px;
    }

    .marquee-track {
      height: 50px;
    }

    .marquee-group {
      padding-right: 24px;
      gap: 24px;
    }

    .section-heading h2,
    .direct-section h2 {
      font-size: clamp(3rem, 13.5vw, 4.6rem);
    }

    .direct-layout {
      grid-template-columns: 1fr;
      margin-top: 58px;
    }

    .direct-lead {
      font-size: 2rem;
    }

    .benefit-strip {
      grid-template-columns: 1fr;
    }

    .benefit-strip div {
      min-height: 102px;
      padding: 20px 0;
      border-right: 0;
      border-bottom: 1px solid var(--border);
    }

    .benefit-strip div:last-child {
      border-bottom: 0;
    }

    .work-intro {
      padding-bottom: 72px;
    }

    .project {
      padding: 78px 0;
    }

    .project-header {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .project-index {
      font-size: 3.2rem;
    }

    .project-title-block h3 {
      font-size: clamp(3.1rem, 14vw, 4.8rem);
    }

    .project-tags {
      grid-column: auto;
    }

    .browser-bar {
      min-height: 46px;
      padding: 0 10px;
      grid-template-columns: 48px minmax(100px, 1fr) 34px;
    }

    .window-controls {
      gap: 4px;
    }

    .window-controls i {
      width: 7px;
      height: 7px;
    }

    .address-bar {
      height: 28px;
      padding: 0 8px;
      font-size: 0.56rem;
    }

    .preview-toolbar {
      min-height: 76px;
      padding: 9px 12px;
      align-items: flex-start;
      flex-direction: column;
      justify-content: center;
      gap: 7px;
    }

    .preview-toolbar > p {
      font-size: 0.52rem;
    }

    .device-switcher {
      width: 100%;
    }

    .device-switcher button {
      flex: 1;
    }

    .preview-stage {
      min-height: 480px;
    }

    .preview-stage.is-mobile {
      padding: 18px 0;
    }

    .preview-stage.is-mobile .preview-viewport {
      width: calc(100% - 26px);
    }

    .poster-overlay {
      padding: 22px;
    }

    .play-icon {
      width: 50px;
      height: 50px;
    }

    .preview-actions {
      align-items: flex-start;
      flex-direction: column;
      gap: 16px;
    }

    .preview-actions > div {
      width: 100%;
      align-items: flex-start;
      flex-direction: column;
      gap: 10px;
    }

    .case-study {
      grid-template-columns: 1fr;
      margin-top: 68px;
    }

    .case-study > div,
    .case-study > div:first-child,
    .case-study > div:last-child {
      min-height: auto;
      padding: 32px 0;
      border-right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.16);
      grid-column: auto;
    }

    .project-coffee .case-study > div {
      border-color: rgba(73, 48, 34, 0.18);
    }

    .project-pool .case-study > div {
      border-color: rgba(21, 54, 74, 0.18);
    }

    .case-study > div:last-child {
      border-bottom: 0;
    }

    .case-label {
      margin-bottom: 18px;
    }

    .case-study > div:last-child ul {
      grid-template-columns: 1fr;
    }

    .services-section {
      background: var(--paper);
    }

    .services-intro h2 {
      font-size: clamp(2.9rem, 13vw, 4.4rem);
    }

    .service-list summary {
      min-height: 90px;
      grid-template-columns: 30px 1fr 26px;
      gap: 12px;
    }

    .service-title {
      font-size: 1.3rem;
    }

    .service-content {
      padding: 0 0 30px 42px;
    }

    .about-layout {
      grid-template-columns: 1fr;
      gap: 90px;
    }

    .about-image {
      width: calc(100% - 25px);
    }

    .about-image-frame {
      height: 610px;
    }

    .about-stamp {
      right: -25px;
      bottom: -48px;
      width: 112px;
      height: 112px;
    }

    .about-copy h2 {
      font-size: 4.4rem;
    }

    .about-lead {
      font-size: 1.45rem;
    }

    .why-grid {
      grid-template-columns: 1fr;
    }

    .why-intro {
      min-height: 200px !important;
    }

    .why-grid > div {
      min-height: 230px;
      padding: 30px 0;
      border-right: 0;
      border-bottom: 1px solid var(--border-light);
    }

    .why-grid > div:last-child {
      border-bottom: 0;
    }

    .why-item h4 {
      margin-top: 50px;
    }

    .process-heading h2 {
      font-size: clamp(3rem, 13vw, 4.6rem);
    }

    .process-list li {
      min-height: auto;
      padding: 34px 0;
      grid-template-columns: 34px 1fr;
      gap: 12px;
    }

    .process-list li > div {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .process-list h3 {
      font-size: 2.7rem;
    }

    .process-list li:hover {
      padding-right: 14px;
      padding-left: 14px;
    }

    .assessment-layout {
      gap: 62px;
    }

    .assessment-copy h2 {
      font-size: clamp(3.2rem, 14vw, 4.8rem);
    }

    .assessment-form {
      margin-inline: -16px;
      padding: 30px 22px;
    }

    .contact-title-row h2 {
      font-size: clamp(3.4rem, 15vw, 5rem);
    }

    .form-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }

    .field-wide {
      grid-column: auto;
    }

    .project-form fieldset + fieldset {
      margin-top: 60px;
      padding-top: 54px;
    }

    .form-footer {
      margin-top: 60px;
      align-items: stretch;
      flex-direction: column;
    }

    .form-footer .button {
      width: 100%;
    }

    .faq-list summary {
      min-height: 84px;
      gap: 18px;
      font-size: 0.95rem;
      line-height: 1.45;
    }

    .footer-main {
      grid-template-columns: 1fr 1fr;
      gap: 54px 30px;
    }

    .footer-brand {
      grid-column: 1 / -1;
    }

    .footer-brand img {
      width: 130px;
      height: 130px;
    }

    .footer-cta {
      grid-column: 1 / -1;
    }

    .footer-bottom {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .dialog-shell {
      width: calc(100vw - 20px);
      padding: 10px 0;
    }

    .dialog-header {
      min-height: 70px;
    }

    .dialog-header h2 {
      font-size: 1.25rem;
    }

    .dialog-close span {
      display: none;
    }

    .dialog-close {
      width: 44px;
      padding: 0;
      justify-content: center;
    }

    .dialog-browser .browser-bar {
      grid-template-columns: 42px minmax(100px, 1fr) 34px;
    }

    .dialog-footer p {
      display: none;
    }

    .dialog-footer {
      justify-content: flex-end;
    }

    .legal-header {
      min-height: 70px;
      padding: 11px 16px;
      gap: 18px;
    }

    .legal-brand span {
      display: none;
    }

    .legal-header > nav {
      gap: 14px;
    }

    .legal-header > nav a {
      font-size: 0.55rem;
      letter-spacing: 0.045em;
    }

    .legal-hero {
      min-height: 350px;
      padding: 78px 0 44px;
    }

    .legal-hero h1 {
      font-size: clamp(3.5rem, 17vw, 5.4rem);
    }

    .legal-meta {
      margin-top: 42px;
      align-items: flex-start;
      flex-direction: column;
      gap: 18px;
    }

    .legal-layout {
      padding-top: 70px;
      grid-template-columns: 1fr;
    }

    .legal-toc {
      display: none;
    }

    .legal-content section {
      padding-bottom: 46px;
    }

    .legal-content section + section {
      padding-top: 46px;
    }

    .legal-content h2 {
      font-size: 2.15rem;
    }

    .legal-content p,
    .legal-content li {
      font-size: 0.9rem;
    }

    .legal-content table {
      min-width: 650px;
    }

    .legal-callout {
      padding: 22px 20px;
    }

    .legal-footer {
      padding: 28px 16px;
    }

    .legal-footer > div {
      align-items: flex-start;
      flex-direction: column;
    }

    .utility-page main {
      padding: 20px 16px;
    }

    .utility-content h1 {
      font-size: clamp(3.4rem, 16vw, 5.4rem);
    }

    .utility-content .button {
      width: 100%;
    }
  }

  @media (max-width: 390px) {
    .brand-copy {
      display: none;
    }

    .hero h1 {
      font-size: 3.45rem;
    }

    .hero-portrait {
      height: 505px;
    }

    .about-image-frame {
      height: 550px;
    }

    .footer-main {
      grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-cta {
      grid-column: auto;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    .js-ready .reveal {
      opacity: 1;
      transform: none;
    }
  }
}
