    :root {
      --bg: #ffffff;
      --surface: #ffffff;
      --text: #2a2452;
      --body: #5f5b6b;
      --muted: #8a8695;
      --navy: #12084A;
      --navy-2: #17095a;
      --orange: #f4a340;
      --pink: #f14a96;
      --blue: #1f3bd1;
      --lav: #b9b0ce;
      --border: #e4ddd8;
      --shadow: 0 12px 36px rgba(30,24,60,0.12);
      --max: 1200px;
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
    body {
      font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-weight: 400;
    }
    h1, h2, h3, h4, h5, h6, strong, b { font-weight: 400; }
    .serif {
      font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
      letter-spacing: -0.02em;
    }
    .page {
      width: 100%;
      background: var(--bg);
    }
    .container {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 32px;
    }
    .topbar {
      display: grid;
      grid-template-columns: 1fr auto auto;
      align-items: center;
      gap: 32px;
      padding: 20px 0 14px;
    }
    .brand {
      font-size: 24px;
      line-height: 1;
      font-weight: 400;
    }
    nav {
      display: flex;
      align-items: center;
      gap: 32px;
      font-size: 14px;
      color: #2b2840;
      font-weight: 400;
    }
    nav a, .footer-nav a {
      color: inherit;
      text-decoration: none;
      position: relative;
    }
    nav a.active::after, .footer-nav a.active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -8px;
      height: 2px;
      background: var(--orange);
    }
    .available {
      font-size: 13px;
      color: #f08e63;
      font-weight: 400;
      white-space: nowrap;
    }
    .hero {
      display: grid;
      grid-template-columns: 1.03fr 0.97fr;
      gap: 40px;
      align-items: stretch;
      padding-top: 32px;
      padding-bottom: 88px;
    }
    .hero-copy {
      padding-top: 20px;
    }
    .hero h1 {
      margin: 0;
      font-size: 88px;
      line-height: 0.98;
      font-weight: 400;
      color: var(--text);
      letter-spacing: -0.025em;
    }
    .hero h1 em {
      font-style: normal;
      font-weight: 400;
    }
    .accent-lines { display: none; }
    .hero p {
      max-width: 470px;
      margin: 34px 0 32px;
      font-size: 18px;
      line-height: 1.65;
      color: var(--body);
    }
    .hero-actions {
      display: flex;
      gap: 14px;
      margin-top: 14px;
    }
    .btn {
      height: 54px;
      padding: 0 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border-radius: 0;
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.01em;
      text-decoration: none;
      cursor: default;
    }
    .btn-dark {
      background: #16104b;
      color: #fff;
      border: 1px solid #16104b;
      min-width: 186px;
    }
    .btn-light {
      background: transparent;
      color: var(--text);
      border: 1px solid #cfc8d8;
      min-width: 140px;
    }
    .hero-media {
      position: relative;
      min-height: 520px;
      overflow: hidden;
    }
    .hero-media::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 72px;
      height: 100%;
      background: linear-gradient(90deg, rgba(244,240,235,1) 0%, rgba(244,240,235,0) 100%);
      z-index: 2;
    }
    .hero-media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      box-shadow: var(--shadow);
    }

    .pillars {
      margin-top: 0;
      background: var(--navy);
      border-bottom: 6px solid transparent;
      border-image: linear-gradient(90deg, var(--orange), var(--pink)) 1;
    }
    .pillars-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }
    .pillar {
      text-align: center;
      color: #fff;
      padding: 38px 20px 36px;
      border-left: 1px solid rgba(255,255,255,.12);
    }
    .pillar:first-child { border-left: none; }
    .pillar svg {
      display: block;
      margin: 0 auto 26px;
      width: 64px;
      height: 64px;
      stroke: #f1a23d;
      fill: none;
      stroke-width: 0.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .pillar div {
      font-size: 17px;
      line-height: 1.5;
      font-weight: 400;
    }

    .section {
      padding-top: 88px;
      padding-bottom: 72px;
    }
    .section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 56px;
      gap: 32px;
    }
    .eyebrow {
      font-size: 12px;
      font-weight: 400;
      color: var(--pink);
      margin-bottom: 20px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }
    .section-title {
      margin: 0;
      font-size: 56px;
      line-height: 1.02;
      font-weight: 400;
      color: var(--text);
      letter-spacing: -0.02em;
    }
    .section-link {
      font-size: 12px;
      color: var(--text);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      font-weight: 400;
      padding-bottom: 6px;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 14px;
    }
    .card {
      border: 1px solid var(--border);
      background: var(--surface);
      min-width: 0;
    }
    .card .thumb {
      display: block;
      width: 100%;
      height: 260px;
      object-fit: cover;
    }
    .card-body {
      padding: 26px 22px 24px;
      display: flex;
      flex-direction: column;
      min-height: 280px;
    }
    .card-top {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
    }
    .card-index {
      font-size: 11px;
      font-weight: 400;
      color: #5f5b6b;
      letter-spacing: 0.14em;
    }
    .card-tag {
      font-size: 10px;
      line-height: 1;
      font-weight: 400;
      color: #d74c95;
      letter-spacing: .18em;
      text-transform: uppercase;
    }
    .card-title {
      font-size: 28px;
      line-height: 1.06;
      margin: 0 0 16px;
      color: var(--text);
      font-weight: 400;
      letter-spacing: -0.015em;
    }
    .card-desc {
      font-size: 14px;
      color: var(--body);
      line-height: 1.6;
      margin: 0 0 22px;
      flex: 1;
    }
    .card-arrow {
      display: inline-flex;
      align-items: center;
      font-size: 18px;
      color: var(--blue);
      font-weight: 400;
      margin-top: auto;
    }

    .dark-band {
      background:
        radial-gradient(circle at 93% 50%, rgba(107,43,184,.28), rgba(107,43,184,0) 24%),
        var(--navy);
      color: #fff;
      padding: 88px 0 92px;
      margin-top: 0;
    }
    .dark-band .eyebrow { color: var(--orange); }
    .dark-band .section-title { color: #fff; }
    .dark-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      margin-top: 46px;
      gap: 24px;
    }
    .dark-item {
      padding: 4px 22px 4px 24px;
      border-left: 1px solid rgba(255,255,255,.12);
    }
    .dark-item:first-child {
      border-left: none;
      padding-left: 0;
    }
    .dark-item svg {
      width: 62px;
      height: 62px;
      stroke: #f1a23d;
      fill: none;
      stroke-width: 0.8;
      stroke-linecap: round;
      stroke-linejoin: round;
      margin-bottom: 30px;
    }
    .dark-item h3 {
      margin: 0 0 14px;
      font-size: 26px;
      line-height: 1.12;
      color: #fff;
      font-weight: 400;
      letter-spacing: -0.01em;
    }
    .dark-item p {
      margin: 0;
      font-size: 15px;
      line-height: 1.65;
      color: #c9c3d8;
      max-width: 240px;
    }

    .lead-section {
      padding: 88px 0 72px;
    }
    .lead-grid {
      display: grid;
      grid-template-columns: 31fr 69fr;
      gap: 22px;
      align-items: start;
    }
    .lead-copy p {
      margin: 0;
      font-size: 13px;
      line-height: 1.85;
      color: var(--body);
      max-width: 285px;
    }
    .mini-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      padding-top: 21px;
    }
    .mini-item svg {
      width: 26px;
      height: 26px;
      stroke: #a7a0b5;
      fill: none;
      stroke-width: 1.7;
      margin-bottom: 10px;
    }
    .mini-item h4 {
      margin: 0 0 7px;
      font-size: 14px;
      color: var(--text);
      font-weight: 400;
      line-height: 1.2;
    }
    .mini-item p {
      margin: 0;
      font-size: 11px;
      color: #6a6677;
      line-height: 1.7;
    }

    .profile-band {
      padding-bottom: 0;
    }
    .profile-grid {
      display: grid;
      grid-template-columns: 28fr 42fr 30fr;
      gap: 36px;
      align-items: center;
    }
    .profile-image {
      width: 100%;
      height: 320px;
      object-fit: cover;
      display: block;
    }
    .profile-bio .eyebrow {
      margin-bottom: 14px;
    }
    .profile-name {
      margin: 0;
      font-size: 44px;
      line-height: 1.05;
      font-weight: 400;
      color: var(--text);
      letter-spacing: -0.02em;
    }
    .profile-role {
      margin-top: 8px;
      font-size: 14px;
      font-weight: 400;
      color: var(--text);
    }
    .location {
      margin-top: 10px;
      display: flex;
      gap: 6px;
      align-items: center;
      color: #6a6677;
      font-size: 11px;
    }
    .bio-text {
      margin-top: 20px;
      font-size: 16px;
      line-height: 1.7;
      color: var(--body);
      max-width: 440px;
    }
    .profile-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 22px;
      margin-top: 24px;
    }
    .profile-tag {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: var(--body);
      font-weight: 400;
    }
    .profile-tag svg {
      width: 24px;
      height: 24px;
      stroke: #a7a0b5;
      fill: none;
      stroke-width: 1;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .profile-cta {
      margin-top: 32px;
    }
    .profile-cta .btn {
      display: inline-flex;
      align-items: center;
    }
    .highlights {
      border: 1px solid #cfc8d8;
      padding: 10px 26px;
      background: transparent;
    }
    .highlight {
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 22px 0;
      font-size: 15px;
      color: var(--body);
      line-height: 1.5;
      border-top: 1px solid var(--border);
    }
    .highlight:first-child { border-top: none; }
    .highlight svg {
      width: 36px;
      height: 36px;
      stroke: #a7a0b5;
      fill: none;
      stroke-width: 1;
      flex: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .footer {
      margin-top: 72px;
      background: linear-gradient(90deg, #18095a 0%, #3d0f79 46%, #e44991 100%);
      color: #fff;
      padding: 72px 0 32px;
    }
    .footer-top {
      display: grid;
      grid-template-columns: 48fr 1px 52fr;
      gap: 40px;
      align-items: center;
    }
    .footer .eyebrow {
      color: var(--orange);
      margin-bottom: 8px;
    }
    .footer-title {
      margin: 0;
      font-size: 72px;
      line-height: 1.02;
      font-weight: 400;
      color: #fff;
      letter-spacing: -0.02em;
    }
    .footer-title em {
      font-style: normal;
      color: #fff;
      font-weight: 400;
    }
    .divider {
      background: rgba(255,255,255,.22);
      width: 1px;
      height: 100%;
      min-height: 120px;
      align-self: stretch;
    }
    .contact-copy {
      max-width: 420px;
      font-size: 15px;
      line-height: 1.65;
      color: #f6eaf3;
      margin-top: 0;
    }
    .contact-actions {
      display: flex;
      gap: 12px;
      margin-top: 16px;
      flex-wrap: wrap;
    }
    .btn-ghost {
      height: 48px;
      padding: 0 20px;
      border: 1px solid rgba(255,255,255,.24);
      background: rgba(0,0,0,.08);
      color: #fff;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      text-decoration: none;
    }
    .btn-ghost svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.3;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .footer-bottom {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      margin-top: 52px;
    }
    .footer-brand {
      font-size: 24px;
    }
    .footer-nav {
      display: flex;
      justify-content: center;
      gap: 26px;
      font-size: 13px;
      font-weight: 400;
      color: #fff;
    }
    .copyright {
      text-align: right;
      font-size: 12px;
      color: rgba(255,255,255,.82);
    }
    /* Brush-stroke emphasis behind highlighted words */
    em { font-style: normal; }
    .hero h1 em,
    .section-title em,
    .footer-title em,
    .profile-name em,
    .work-hero h1 em,
    .about-hero-copy h1 em,
    .contact-title em {
      position: relative;
      display: inline-block;
      isolation: isolate;
      padding: 0 0.08em;
      color: #ffffff;
      font-style: normal;
      font-weight: 500;
    }
    .hero h1 em::before,
    .section-title em::before,
    .footer-title em::before,
    .profile-name em::before,
    .work-hero h1 em::before,
    .about-hero-copy h1 em::before,
    .contact-title em::before {
      content: "";
      position: absolute;
      left: -2%;
      right: -2%;
      top: -18%;
      bottom: -14%;
      background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 160' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23ff3a8e'/%3E%3Cstop offset='0.5' stop-color='%23d03a9e'/%3E%3Cstop offset='1' stop-color='%238b2690'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4,64 C12,46 22,38 38,34 C76,26 124,30 172,28 C226,24 282,30 338,26 C394,22 450,28 502,26 C540,24 566,30 582,42 C592,54 596,74 594,94 C592,114 586,130 574,138 C554,148 522,144 488,140 C440,134 390,138 340,140 C280,142 220,138 160,140 C112,142 72,138 42,132 C22,128 10,118 6,102 C2,88 2,76 4,64 Z' fill='url(%23g)'/%3E%3Cpath d='M14,58 C24,44 40,38 62,38 C100,38 144,44 190,42 C248,40 306,44 364,40 C420,36 476,40 518,42' stroke='%23ffffff' stroke-opacity='0.55' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M20,70 C40,62 80,62 130,66 C186,70 250,68 320,66 C400,64 470,68 520,68' stroke='%23ffffff' stroke-opacity='0.35' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3Cpath d='M26,86 C70,90 140,90 220,88 C310,86 400,90 480,90 C520,90 550,88 570,86' stroke='%23ffffff' stroke-opacity='0.22' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3Cpath d='M18,104 C60,108 130,110 210,108 C300,106 380,110 460,112 C510,114 550,114 580,110' stroke='%23000000' stroke-opacity='0.28' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M22,120 C70,124 150,126 240,124 C330,122 410,124 490,124 C540,124 572,122 586,118' stroke='%23000000' stroke-opacity='0.38' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M3,66 C8,52 16,43 26,40 C30,39 28,44 22,48 C14,54 8,62 6,74 C5,78 3,76 3,66 Z' fill='url(%23g)' opacity='0.85'/%3E%3Cpath d='M597,92 C593,108 586,118 576,122 C572,123 574,118 580,113 C588,106 592,98 594,84 C594,80 597,82 597,92 Z' fill='url(%23g)' opacity='0.85'/%3E%3Cpath d='M8,56 C4,58 2,62 3,68' stroke='%23ff3a8e' stroke-width='0.8' fill='none' stroke-linecap='round' opacity='0.7'/%3E%3Cpath d='M594,100 C597,102 598,96 596,90' stroke='%238b2690' stroke-width='0.8' fill='none' stroke-linecap='round' opacity='0.7'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100% 100%;
      z-index: -1;
      pointer-events: none;
    }

    /* ---------- Animations ---------- */
    @media (prefers-reduced-motion: no-preference) {
      /* Scroll reveal — elements start hidden, fade up when in view */
      .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
      }
      .reveal.in-view {
        opacity: 1;
        transform: none;
      }
      .reveal.delay-1 { transition-delay: 0.08s; }
      .reveal.delay-2 { transition-delay: 0.16s; }
      .reveal.delay-3 { transition-delay: 0.24s; }
      .reveal.delay-4 { transition-delay: 0.32s; }

      /* Hero entrance on page load */
      @keyframes hero-rise {
        from { opacity: 0; transform: translateY(32px); }
        to   { opacity: 1; transform: none; }
      }
      @keyframes hero-fade {
        from { opacity: 0; }
        to   { opacity: 1; }
      }
      .hero-copy > * { animation: hero-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) both; }
      .hero h1              { animation-delay: 0.05s; }
      .hero p               { animation-delay: 0.22s; }
      .hero-actions         { animation-delay: 0.35s; }
      .hero-media           { animation: hero-fade 1.3s ease-out 0.1s both; }

      /* Brush stroke paints in behind the word */
      @keyframes brush-paint {
        from { transform: scaleX(0); }
        to   { transform: scaleX(1); }
      }
      .hero h1 em::before,
      .section-title em::before,
      .footer-title em::before,
      .profile-name em::before,
      .work-hero h1 em::before,
      .about-hero-copy h1 em::before,
      .contact-title em::before {
        transform-origin: left center;
        transform: scaleX(0);
        transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.4s;
      }
      .hero h1 em::before,
      .work-hero h1 em::before,
      .about-hero-copy h1 em::before { animation: brush-paint 1s cubic-bezier(0.65, 0, 0.35, 1) 0.55s both; }
      .in-view em::before,
      .reveal.in-view em::before { transform: scaleX(1); }

      /* Card hover: subtle lift + border shift + arrow slide */
      .card {
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                    box-shadow 0.45s ease,
                    border-color 0.45s ease;
      }
      .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 42px rgba(30, 24, 60, 0.12);
        border-color: #cfc8d8;
      }
      .card .thumb {
        transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .card:hover .thumb {
        transform: scale(1.04);
      }
      .card {
        overflow: hidden;
      }
      .card-arrow {
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
      }
      .card:hover .card-arrow {
        transform: translateX(6px);
      }

      /* Buttons — subtle shift on hover */
      .btn, .btn-ghost {
        transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
      }
      .btn-dark:hover { background: #0d0839; border-color: #0d0839; transform: translateY(-2px); }
      .btn-light:hover { background: rgba(18, 8, 74, 0.04); transform: translateY(-2px); }
      .btn-ghost:hover { background: rgba(0, 0, 0, 0.18); transform: translateY(-2px); }
      .btn span, .btn-ghost span { transition: transform 0.3s ease; display: inline-block; }
      .btn:hover span { transform: translateX(4px); }

      /* Nav — animated underline on hover */
      nav a, .footer-nav a, .section-link {
        transition: color 0.3s ease;
      }
      nav a::before, .footer-nav a::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -8px;
        height: 2px;
        background: var(--orange);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
      }
      nav a:hover::before, .footer-nav a:hover::before { transform: scaleX(1); }
      .section-link span {
        display: inline-block;
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .section-link:hover span { transform: translateX(5px); }

      /* Pillar icons — subtle scale on hover */
      .pillar {
        transition: background 0.4s ease;
      }
      .pillar svg, .dark-item svg {
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .pillar:hover svg, .dark-item:hover svg {
        transform: translateY(-3px) scale(1.06);
      }

      /* Available dot pulse */
      @keyframes dot-pulse {
        0%, 100% { opacity: 1; }
        50%      { opacity: 0.45; }
      }
      .available { animation: dot-pulse 2.4s ease-in-out infinite; }
    }

    @media (max-width: 1100px) {
      .cards, .dark-grid, .mini-grid, .pillars-grid { grid-template-columns: repeat(2, 1fr); }
      .hero, .lead-grid, .profile-grid, .footer-top, .footer-bottom {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        gap: 24px;
        margin-top: 40px;
        padding-top: 28px;
        border-top: 1px solid rgba(255,255,255,0.12);
        align-items: start;
      }
      .footer-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 20px;
      }
      .divider { display: none; }
      .copyright { text-align: left; margin-top: 0; }
      .hero h1 { font-size: 64px; }
      .section-title { font-size: 40px; }
      .footer-title { font-size: 52px; }
      .hero-media { min-height: 360px; }
    }
    /* Phone: work cards go single column, but icon-pillar grids stay
       2x2 so they read as a grid rather than a long scrolling list. */
    @media (max-width: 640px) {
      /* Generous horizontal gutters on phones so headings and copy
         don't sit flush to the viewport edge. */
      .container,
      .case-next-grid {
        padding-left: 28px;
        padding-right: 28px;
      }
      .case-hero-left,
      .case-next-copy {
        padding-left: 28px;
        padding-right: 28px;
      }
      .cards,
      .mini-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .dark-grid,
      .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
      }
      .card .thumb { height: 280px; }
      .card-body { min-height: 0; padding: 26px 24px 26px; }
      /* Section vertical padding — give the eyebrow + headline real
         breathing room at the top and bottom of each block. Use
         padding-top/padding-bottom ONLY so the container's horizontal
         padding is preserved (shorthand would reset it to 0). */
      .section { padding-top: 56px; padding-bottom: 48px; }
      .section-header { margin-bottom: 32px; }
      .section-link {
        min-height: 44px;
        align-items: center;
      }
      .hero h1 { font-size: 56px; line-height: 1.04; }
      .section-title { font-size: 40px; line-height: 1.06; }
      .footer-title { font-size: 44px; line-height: 1.04; }
      /* Hide "• Available for Hire" on phones — it gets clipped by the
         narrow topbar. */
      .available { display: none; }
      /* Topbar becomes 2 columns (brand | nav) without the available pill */
      .topbar { grid-template-columns: 1fr auto; gap: 16px; }
    }

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  height: 100%;
}
.card-link > .card {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.card-link:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

/* =========================================
   Case Study / Project Template
   (Wicked Ball layout — generous scale)
   ========================================= */

/* All case-study body copy & headings use the same font stack as site-wide */
.case-hero-wrap,
.case-quote,
.case-pillars,
.case-feature-combined,
.case-applications,
.case-impact,
.case-next {
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

/* Widow & orphan protection across every case-study paragraph and heading.
   text-wrap: pretty pulls stray words back up; balance evens short lines. */
.case-subtitle,
.case-quote-text,
.case-quote-body,
.case-feature-body p,
.case-pillar p,
.case-impact-item p,
.case-next-desc {
  text-wrap: pretty;
  hyphens: none;
}
.case-title,
.case-feature-title,
.case-applications-header h3,
.case-impact-left h3,
.case-next-title,
.case-pillar h4 {
  text-wrap: balance;
}

/* ---------- HERO ---------- */
.case-hero-wrap {
  padding: 8px 0 0;
}
.case-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  min-height: 460px;
}
.case-hero-left {
  padding: 8px 0 32px max(32px, calc((100vw - 1200px) / 2 + 32px));
  display: flex;
  flex-direction: column;
  min-height: 460px;
}
/* Dedicated divider element so the rule always sits below the hero
   content — never clipping image or buttons. */
.case-hero-divider {
  height: 1px;
  background: var(--border);
  width: 100%;
  margin: 0;
}
.case-breadcrumb {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  color: var(--text);
  font-weight: 400;
}
.case-breadcrumb .sep {
  color: var(--muted);
  margin: 0 10px;
}
.case-breadcrumb .tag { color: var(--pink); }
.case-title {
  margin: 0 0 18px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 68px;
  line-height: 0.94;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.case-subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  max-width: 460px;
  margin: 0 0 22px;
  font-weight: 400;
  text-wrap: pretty;
}
.case-hero-rule {
  width: 200px;
  height: 2px;
  margin: 2px 0 22px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}
.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.case-meta-item .meta-label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.case-meta-item .meta-value {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--body);
  line-height: 1.5;
}
.case-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: auto;
  flex-wrap: wrap;
}
.case-hero-right {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  height: 100%;
}
.case-hero-right img {
  position: absolute;
  inset: 0;
}
.case-hero-right::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 160px;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(244, 240, 235, 0) 100%);
  z-index: 2;
  pointer-events: none;
}
.case-hero-right img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- OPENING QUOTE ---------- */
.case-quote { padding-top: 56px; padding-bottom: 68px; }
.case-quote-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: 56px;
  align-items: start;
}
.case-quote-left {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
}
.case-quote-icon svg {
  width: 92px;
  height: 92px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 0.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.case-quote-text {
  font-family: "Newsreader", Georgia, serif;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
  font-weight: 400;
}
.case-quote-body {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  margin: 0;
  padding: 0 0 0 32px;
  max-width: 460px;
  font-weight: 400;
  border-left: 1px solid var(--border);
  min-height: 120px;
  align-self: stretch;
}
/* Keep the sparkle icon optically aligned with the baseline of the first
   line of pull-quote text, so both columns of copy feel top-aligned. */
.case-quote-icon {
  padding-top: 4px;
}

/* ---------- DARK PILLARS BAND ---------- */
.case-pillars {
  background: var(--navy);
  color: #fff;
  padding: 52px 0 56px;
}
.case-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.case-pillar {
  text-align: center;
  padding: 20px 22px;
  border-left: 1px solid rgba(255,255,255,.14);
}
.case-pillar:first-child { border-left: none; }
.case-pillar svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  display: block;
  stroke: var(--orange);
  fill: none;
  stroke-width: 0.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.case-pillar h4 {
  margin: 0 0 14px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.005em;
}
.case-pillar p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #c9c3d8;
  font-weight: 400;
}

/* ---------- 01 / 02 COMBINED — shared collage image ---------- */
.case-feature-combined { padding-top: 80px; padding-bottom: 88px; }
.case-feature-combined-grid {
  display: grid;
  grid-template-columns: 44fr 56fr;
  gap: 56px;
  align-items: start;
}
.case-feature-column {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.case-feature-block { }
.case-feature-index {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: var(--pink);
  letter-spacing: 0.22em;
  margin-bottom: 22px;
  font-weight: 500;
}
.case-feature-title {
  margin: 0 0 26px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text);
}
.case-feature-body p {
  margin: 0 0 20px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  max-width: 520px;
  font-weight: 400;
}
.case-checklist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.case-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 5px 0;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--body);
  line-height: 1.45;
  font-weight: 400;
  text-wrap: pretty;
}
.case-checklist li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f14a96' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l3.5 3.5 L16 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.case-feature-image {
  position: sticky;
  top: 40px;
}
.case-feature-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
}

/* ---------- 03 SELECTED APPLICATIONS ---------- */
.case-applications { padding-top: 24px; padding-bottom: 88px; }
.case-applications-header {
  display: flex;
  align-items: baseline;
  gap: 28px;
  margin-bottom: 36px;
}
.case-applications-header .index {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--pink);
  letter-spacing: 0.22em;
  font-weight: 400;
}
.case-applications-header h3 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 40px;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--text);
}
.case-applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.case-app-tile {
  display: block;
  border-radius: 2px;
  overflow: hidden;
}
.case-app-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  margin: 0;
  padding: 0;
}

/* ---------- 04 THE IMPACT ---------- */
.case-impact {
  background:
    radial-gradient(ellipse 70% 120% at 100% 50%, rgba(241, 74, 150, 0.22), rgba(241, 74, 150, 0) 70%),
    radial-gradient(ellipse 50% 90% at 0% 100%, rgba(241, 74, 150, 0.1), rgba(241, 74, 150, 0) 70%),
    var(--navy);
  color: #fff;
  padding: 72px 0 80px;
  position: relative;
}
.case-impact-grid {
  display: grid;
  grid-template-columns: 28fr 72fr;
  gap: 0;
  align-items: center;
  position: relative;
}
.case-impact-left {
  padding-right: 40px;
}
.case-impact-left .index {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: var(--pink);
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  display: inline-block;
  font-weight: 400;
}
.case-impact-left h3 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #fff;
}
.case-impact-left .rule {
  width: 56px;
  height: 2px;
  background: var(--orange);
  margin: 20px 0 0;
}
.case-impact-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  padding-left: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 180px;
  align-items: center;
}
.case-impact-item {
  position: relative;
}
.case-impact-item svg.impact-icon {
  display: block;
  margin: 0 auto 20px;
  width: 42px;
  height: 42px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 0.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Decorative sparkles scattered across the impact bar */
.impact-sparkle {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
}
.impact-sparkle svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: var(--orange);
  stroke: none;
}
.impact-sparkle--tl { top: -8px;  left: 14%;  width: 11px; height: 11px; opacity: 0.85; }
.impact-sparkle--tr { top: -14px; right: 8%;  width: 14px; height: 14px; }
.impact-sparkle--br { bottom: 10px; right: 6%; width: 10px; height: 10px; opacity: 0.75; }
.impact-sparkle--title {
  position: absolute;
  top: -10px;
  left: -18px;
  width: 13px;
  height: 13px;
  opacity: 0.9;
}
.case-impact-left { position: relative; }
.impact-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  opacity: 0.75;
}
.impact-dot--bl { bottom: 22px; left: 12%; }
.case-impact-item p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #e2dcee;
  font-weight: 400;
}

/* ---------- NEXT PROJECT ---------- */
.case-next {
  padding: 32px 0 32px;
  background: var(--bg);
}
/* Footer inherits a 72px top margin from the home-page layout;
   cancel it when the footer follows a case-study Next Project block
   so spacing above/below Next Project is balanced. */
.case-next + .footer {
  margin-top: 0;
}
.case-next-grid {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 56px;
  align-items: center;
  /* Apply the same horizontal container padding + max-width that all
     other case-study sections get so this block isn't flush to the
     viewport edges. */
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.case-next-copy {
  padding-left: max(32px, calc((100vw - 1200px) / 2 + 32px));
}
.case-next-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: var(--pink);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
  font-weight: 400;
}
.case-next-title {
  margin: 0 0 16px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--text);
}
.case-next-desc {
  font-family: "DM Sans", sans-serif;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  max-width: 380px;
  font-weight: 400;
}
.case-next-link {
  font-family: "DM Sans", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text);
}
.case-next-link span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-next-link:hover span { transform: translateX(6px); }
.case-next-image {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.case-next-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .case-hero-grid,
  .case-quote-grid,
  .case-feature-combined-grid,
  .case-impact-grid,
  .case-next-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .case-hero-left,
  .case-next-copy {
    padding-left: 32px;
    padding-right: 32px;
  }
  .case-hero-wrap { padding-bottom: 48px; }
  .case-title { font-size: 60px; }
  .case-feature-title { font-size: 32px; }
  .case-impact-left h3 { font-size: 36px; }
  .case-quote-text { font-size: 28px; }
  .case-next-title { font-size: 36px; }
  .case-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .case-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .case-pillar { border-left: none; border-top: 1px solid rgba(255,255,255,.14); padding-top: 30px; }
  .case-pillar:first-child, .case-pillar:nth-child(2) { border-top: none; padding-top: 20px; }
  .case-applications-grid { grid-template-columns: repeat(2, 1fr); }
  .case-impact-right { grid-template-columns: 1fr; gap: 32px; }
  .case-hero-right { min-height: 360px; }
  .case-feature-image { position: static; }
  .case-feature-combined { padding-top: 88px; padding-bottom: 88px; }
  .case-feature-column { gap: 64px; }
}

/* Case-study icon/application grids stay 2x2 on phones so they read
   as a grid rather than one tall scroll. Headline sizes bumped so
   they still feel like display type at phone widths. */
@media (max-width: 640px) {
  .case-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .case-applications-grid { grid-template-columns: repeat(2, 1fr); }
  .case-meta-grid { grid-template-columns: 1fr 1fr; }
  .case-title { font-size: 52px; line-height: 1.02; }
  .case-feature-title { font-size: 32px; }
  .case-impact-left h3 { font-size: 36px; }
  .case-quote-text { font-size: 26px; }
  .case-next-title { font-size: 34px; }
  /* Extra breathing room around 01/02 section headers on mobile */
  .case-feature-combined { padding-top: 56px; padding-bottom: 64px; }
  .case-feature-index { margin-bottom: 18px; }
  .case-feature-title { margin-bottom: 22px; }
  .case-feature-body p { margin-bottom: 18px; }
  .case-feature-column { gap: 56px; }
  /* Collage image appears BEFORE 01/02 on mobile so the visual lands
     before the long copy. Implemented with CSS order on the grid
     children (grid implicitly becomes 1-col via the .case-feature-combined-grid
     earlier breakpoint rule). */
  .case-feature-combined-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-feature-image { order: 0; margin-bottom: 16px; }
  .case-feature-column { order: 1; }
  /* Next Project grid stacks on phones. Horizontal padding comes from
     the shared .case-next-grid rule at the top of the 640px block. */
  .case-next-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .case-quote-left {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
  }
  .case-quote-icon svg {
    width: 56px;
    height: 56px;
  }
  .case-quote-text,
  .case-pillar h4,
  .case-pillar p {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .case-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-pillar {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  .case-pillar h4 {
    font-size: 20px;
  }
  .case-pillar p {
    font-size: 13px;
  }
  .case-next-link {
    min-height: 44px;
    align-items: center;
  }
}

/* =====================================================
   SELECTED WORK INDEX — /selected-work.html
   ===================================================== */
.work-hero {
  padding: 72px 0 72px;
  max-width: 900px;
}
.work-hero-index {
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--pink);
  font-weight: 500;
  margin-bottom: 36px;
}
.work-hero h1 {
  font-size: 112px;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 44px;
  font-weight: 500;
  color: var(--text);
  text-wrap: balance;
}
.work-hero h1 .accent-dot { color: var(--pink); }
/* Nudge the brush stroke up a touch on the giant Work title so it covers
   the tall serif caps — line-height is 0.98 and the default -18% doesn't
   quite reach the top of the W. */
.work-hero h1 em::before {
  top: -34% !important;
  bottom: -22% !important;
  left: -5% !important;
  right: -5% !important;
}
.work-hero p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  max-width: 600px;
  text-wrap: pretty;
}

/* ---------- Founder Builds featured banner ---------- */
.founder-builds { padding-top: 16px; padding-bottom: 72px; }
.founder-builds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.founder-tile {
  display: grid;
  grid-template-columns: 48% 1fr;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  overflow: hidden;
  /* Tile aspect is locked so its HEIGHT exactly matches the image
     column's height when the image fills with `object-fit: cover`.
     Math: image_col_width = 0.48 * tile_width, and image is ~5:6
     portrait → col height = 0.48 * tile_width * 6/5 ≈ 0.576 * tile_width.
     tile_width / tile_height ≈ 1.75 → aspect-ratio: 7/4. */
  aspect-ratio: 7 / 4;
  transition: transform .28s ease, box-shadow .28s ease;
}
.founder-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(20, 16, 56, 0.08);
}
.founder-tile-image {
  position: relative;
  overflow: hidden;
  /* Tile now has its own aspect-ratio that produces the correct image
     column shape; no need for an aspect-ratio here. */
}
.founder-tile-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-tile-content {
  padding: 22px 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  /* Prevent content from stretching the tile past the image's natural
     (aspect-ratio-based) height. Overflow-y hides any text that can't
     fit; in practice, the tightened gaps + removed icon + shorter
     description bring everything in line. */
  overflow-y: hidden;
}
.founder-tile-title {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  font-weight: 400;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.founder-tile-title .crown {
  color: #d4a848;
  font-size: 22px;
  font-weight: 400;
}
.founder-tile-tagline {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.founder-tile-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.founder-tile-cta {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--pink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  margin-top: auto;
}

/* ---------- All-projects grid ---------- */
.work-index { padding-top: 16px; padding-bottom: 96px; }
.cards--work {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.cards--work .card-link { height: 100%; }
.cards--work .card { flex: 1; display: flex; flex-direction: column; }
/* Aspect-ratio thumb scales with card width on all breakpoints so the
   image never gets cropped into a skinny banner on mobile. 5:6 matches
   the hand-picked card images on the home page. */
.cards--work .thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  flex-shrink: 0;
}
.cards--work .card-body {
  min-height: 220px;
  padding: 22px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cards--work .card-title { font-size: 26px; }
.cards--work .card-desc { flex: 1; }

@media (max-width: 1100px) {
  .work-hero h1 { font-size: 92px; }
  .cards--work { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .work-hero h1 { font-size: 72px; }
  .founder-builds-grid { grid-template-columns: 1fr; }
  /* Aspect-ratio lock on the tile is a desktop-only device — on single
     column the stacked layout (image on top, content below) sizes
     naturally. */
  .founder-tile { aspect-ratio: auto; }
  .cards--work { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .work-hero { padding: 48px 0 48px; }
  .work-hero h1 { font-size: 64px; line-height: 1; }
  .work-hero-index { margin-bottom: 28px; }
  /* Card titles break awkwardly on mobile when the <br> forces a
     split — let titles flow naturally on a single line or wrap
     organically at the card width. */
  .cards--work .card-title br { display: none; }
  .founder-tile { grid-template-columns: 1fr; }
  .founder-tile-image {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
  .cards--work { grid-template-columns: 1fr; }
  /* On a 1-col mobile layout, match the height of the founder-tile
     image above (4:5 portrait) so every card thumb in the grid has
     the same visual weight as the two featured tiles up top. */
  .cards--work .thumb { aspect-ratio: 4 / 5; }
}

/* =====================================================
   ABOUT PAGE — /about.html
   ===================================================== */

/* Background override — the rest of the site is warm cream, but the
   About page reads cleaner against a true off-white, matching the
   reference design. */
body.about-body,
body.about-body .page {
  background: #ffffff;
}

/* Force serif weight a little heavier on the About page so Newsreader
   renders with more presence, especially at display sizes. */
body.about-body .serif {
  font-weight: 500;
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0 72px;
}
.about-hero-copy .eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--pink);
  margin-bottom: 24px;
  font-weight: 500;
}
.about-hero-copy h1 {
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 30px;
  font-weight: 500;
  color: var(--text);
  text-wrap: balance;
}
.about-hero-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  max-width: 500px;
  margin: 0 0 34px;
  text-wrap: pretty;
}
.about-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

/* About page em elements use the site-wide brush-stroke system — see the
   shared `.hero h1 em, .section-title em, ...` rules earlier in this file.
   `.about-hero-copy h1 em` and `.contact-title em` are both wired into
   those selectors, so they get the pink gradient splotch + white text
   automatically. No italics anywhere on the About page. */

/* ---------- My Edge ---------- */
.edge-section { padding-top: 32px; padding-bottom: 40px; }
.edge-header {
  margin: 0 0 32px;
}
.edge-header .section-index {
  display: block;
  margin-bottom: 20px;
}
.edge-title {
  font-size: 46px;
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.edge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
/* Orange → pink gradient accent that closes the My Edge section, moved
   here from the previous standalone about-rule divider. */
.edge-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  opacity: 0.92;
}
.edge-item {
  padding: 40px 24px 44px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.edge-item:first-child { border-left: none; }
.edge-item svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.edge-item h3 {
  font-family: 'Newsreader', serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.edge-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- 01 Story ---------- */
.story-section { padding-top: 56px; padding-bottom: 56px; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.section-index {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--pink);
  margin-bottom: 14px;
  font-weight: 500;
}
.story-title {
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 26px;
  font-weight: 500;
}
.story-copy p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.story-card {
  background: var(--navy);
  color: #fff;
  border-radius: 2px;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* Nudge down so the card's top aligns a bit below the left column's
     section-index rather than sitting flush with it. */
  margin-top: 42px;
}
.story-card-lead {
  font-family: 'Newsreader', serif;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

/* Gradient divider placed between major About-page sections */
.section-divider {
  padding-top: 8px; padding-bottom: 24px;
}
.section-divider-line {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  opacity: 0.92;
  transform-origin: left center;
}

/* ============ ABOUT-PAGE ANIMATIONS ============ */
@media (prefers-reduced-motion: no-preference) {

  /* Hero portrait — fade in with a gentle scale-down */
  @keyframes about-media-fade {
    from { opacity: 0; transform: scale(1.04); }
    to   { opacity: 1; transform: none; }
  }
  body.about-body .about-hero-media {
    animation: about-media-fade 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
  }

  /* Gradient dividers draw from left on scroll reveal */
  .section-divider.reveal .section-divider-line {
    transform: scaleX(0);
    transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
  }
  .section-divider.reveal.in-view .section-divider-line {
    transform: scaleX(1);
  }

  /* My Edge bottom gradient animates in once the grid has any
     in-view child (i.e., user has scrolled the section into view). */
  .edge-grid::after {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.35s;
  }
  .edge-grid:has(.in-view)::after {
    transform: scaleX(1);
  }

  /* Subtle lift + border shift on hover for cards */
  .workstyle-card,
  .about-footer-pillar {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.28s ease;
  }
  .workstyle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(20, 16, 56, 0.10);
    border-color: rgba(241, 74, 150, 0.35);
  }

  /* Orange icon micro-animation on hover */
  .workstyle-card svg,
  .edge-item svg,
  .about-footer-pillar svg {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .workstyle-card:hover svg,
  .edge-item:hover svg,
  .about-footer-pillar:hover svg {
    transform: translateY(-2px) rotate(-3deg);
  }

  /* Contact submit — continuous gradient shimmer */
  @keyframes about-gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  .contact-submit {
    background-size: 200% 100%;
    animation: about-gradient-shift 6s ease-in-out infinite;
  }

  /* Story-card bullets stagger in once the card reveals */
  @keyframes story-item-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
  .story-card.in-view .story-card-item {
    animation: story-item-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .story-card.in-view .story-card-item:nth-of-type(1) { animation-delay: 0.08s; }
  .story-card.in-view .story-card-item:nth-of-type(2) { animation-delay: 0.18s; }
  .story-card.in-view .story-card-item:nth-of-type(3) { animation-delay: 0.28s; }
  .story-card.in-view .story-card-item:nth-of-type(4) { animation-delay: 0.38s; }
}
.story-card-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
}
.story-card-item svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--orange);
}
.story-card-item h4 {
  font-family: 'Newsreader', serif;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.story-card-item p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- 02 How I Work Best ---------- */
.workstyle-section { padding-top: 64px; padding-bottom: 80px; }
.workstyle-header {
  margin-bottom: 40px;
}
.workstyle-header .section-index {
  margin-bottom: 14px;
}
.workstyle-title {
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  font-weight: 500;
}
.workstyle-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  max-width: 480px;
  text-wrap: pretty;
}
.workstyle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.workstyle-card {
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 32px 24px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.workstyle-card svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
}
/* Cascade the orange stroke + transparent fill to every child shape so
   nothing picks up the default black fill (matches My Edge + footer). */
.workstyle-card svg * {
  fill: none;
  stroke: var(--orange);
}
.workstyle-card h4 {
  font-family: 'Newsreader', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.workstyle-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- 03 Contact (dark band) ---------- */
.contact-dark {
  background:
    radial-gradient(circle at 85% 30%, rgba(241,74,150,0.28), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(139,38,144,0.35), transparent 55%),
    linear-gradient(180deg, #130f46 0%, #0e0a33 100%);
  color: #fff;
  padding: 64px 0 64px;
}
.contact-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-copy .section-index.contact-index { color: var(--orange); margin-bottom: 16px; }
.contact-title {
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
  font-weight: 500;
  color: #fff;
  text-wrap: balance;
}
/* .contact-title em uses the shared brush-stroke treatment — no italic,
   no orange; pink gradient splotch with white text on top. */
.contact-copy > p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  margin: 0 0 34px;
  max-width: 480px;
  text-wrap: pretty;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-method {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: rgba(255,255,255,0.94);
  text-decoration: none;
  padding: 4px 0;
}
.contact-method svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-method:hover { color: #fff; }
.contact-method--static { cursor: default; }
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 24px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Embedded contact form from brittanyprice.art/contact, with a link-out
   fallback below in case the host site blocks iframe embedding. */
.contact-form-embed {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.contact-iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  background: #fff;
  display: block;
}
.contact-form-fallback {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  padding: 14px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.contact-form-fallback a {
  color: var(--orange);
  text-decoration: none;
  margin-left: 6px;
}
.contact-form-fallback a:hover { text-decoration: underline; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-field { display: block; }
.contact-field input,
.contact-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  padding: 16px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  border-radius: 2px;
  resize: vertical;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255,255,255,0.48);
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(255,255,255,0.08);
}
.contact-submit {
  margin-top: 6px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  border: none;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 20px;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 2px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(241,74,150,0.35);
}
.contact-submit[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.contact-status {
  margin-top: 10px;
  min-height: 1em;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.78);
}
.contact-status--success { color: #7fe3b2; }
.contact-status--error { color: #ff9aa9; }
.contact-status--pending { color: rgba(255,255,255,0.70); }

/* ---------- About footer band ---------- */
.about-footer {
  background: linear-gradient(180deg, #0e0a33 0%, #0b0830 100%);
  color: #fff;
  margin-top: 0;
  padding: 40px 0 24px;
}
.about-footer-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.about-footer-pillar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-family: 'Newsreader', serif;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}
.about-footer-pillar:first-child { border-left: none; }
.about-footer-pillar svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
/* Ensure every path / circle / rect inside the footer icons picks up the
   orange stroke and transparent fill — prevents any child element from
   inheriting the default black fill that SVG shapes start with. */
.about-footer-pillar svg *,
.edge-item svg * {
  fill: none;
  stroke: var(--orange);
}
.about-footer .footer-bottom { padding-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .about-hero-copy h1 { font-size: 58px; }
  .edge-grid { grid-template-columns: repeat(3, 1fr); }
  .edge-item { border-top: 1px solid var(--border); }
  .edge-item:nth-child(1), .edge-item:nth-child(2), .edge-item:nth-child(3) { border-top: none; }
  .workstyle-grid { grid-template-columns: repeat(3, 1fr); }
  .about-footer-pillars { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .about-footer-pillar:nth-child(odd) { border-left: none; }
}
@media (max-width: 860px) {
  .about-hero { grid-template-columns: 1fr; gap: 32px; padding: 28px 0 56px; }
  .about-hero-copy h1 { font-size: 56px; }
  .edge-title { font-size: 42px; }
  .story-title { font-size: 42px; }
  .workstyle-title { font-size: 42px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .workstyle-header { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .contact-dark-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-title { font-size: 52px; }
}
@media (max-width: 640px) {
  /* Icon grids stay 2x2 on phones */
  .about-hero,
  .about-hero-copy,
  .about-hero-media {
    min-width: 0;
    max-width: 100%;
  }
  .edge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edge-item {
    min-width: 0;
    padding-left: 14px;
    padding-right: 14px;
  }
  .edge-item h3,
  .edge-item p {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .edge-item:nth-child(3) { border-top: 1px solid var(--border); }
  .edge-item:nth-child(odd) { border-left: none; }
  /* 5 edge items in a 2-col grid leaves the 5th ("Founder Mindset")
     orphaned. Center it full-width and give it a top divider so it
     reads intentional rather than stranded. */
  .edge-grid > .edge-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: stretch;
    max-width: none;
    border-top: 1px solid var(--border);
    border-left: none;
    text-align: center;
  }
  .workstyle-grid { grid-template-columns: repeat(2, 1fr); }
  /* 5 cards in a 2-col grid leaves one orphan in the last row —
     center and narrow it so it reads deliberate instead of stranded. */
  .workstyle-grid > .workstyle-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 75%;
  }
  .about-footer-pillars { grid-template-columns: repeat(2, 1fr); }
  .about-footer-pillar { border-left: none; padding: 0; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-method {
    min-height: 44px;
    align-items: center;
  }
  /* Bumped mobile headlines so they still read like display type */
  .about-hero-copy h1 { font-size: 46px; line-height: 1.04; }
  .edge-title { font-size: 34px; }
  .story-title { font-size: 34px; }
  .workstyle-title { font-size: 34px; }
  .contact-title { font-size: 42px; line-height: 1.04; }
  /* More top/bottom breathing room for the About-page sections */
  .edge-section { padding-top: 56px; padding-bottom: 48px; }
  .story-section { padding-top: 56px; padding-bottom: 56px; }
  .workstyle-section { padding-top: 56px; padding-bottom: 72px; }
  .edge-header { margin-bottom: 40px; }
}

/* =====================================================
   MOBILE RESPONSIVENESS IMPROVEMENTS
   ===================================================== */

/* Safety net — any <img> that forgets width:100% in the future
   won't be able to push the layout wider than its container. */
img { max-width: 100%; height: auto; }

/* Fluid display typography — smooth scale from ~320px to ~1400px,
   eliminating the "jumpy" feel between discrete breakpoints.
   Placed at end of file so these rules win over the earlier step-downs. */
.hero h1             { font-size: clamp(42px, 8vw, 88px); }
.section-title       { font-size: clamp(32px, 5vw, 56px); }
.footer-title        { font-size: clamp(36px, 6vw, 72px); }
.case-title          { font-size: clamp(42px, 6.2vw, 68px); }
.work-hero h1        { font-size: clamp(54px, 9vw, 112px); }
.about-hero-copy h1  { font-size: clamp(40px, 6.5vw, 72px); }
.contact-title       { font-size: clamp(36px, 5vw, 60px); }

/* Hero images: aspect-ratio beats fixed min-height for framing
   consistency across all viewport widths. */
.hero-media,
.case-hero-right,
.about-hero-media {
  aspect-ratio: 4 / 5;
  min-height: 0;
}
.hero-media img,
.case-hero-right img,
.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Hamburger navigation ---------- */
.nav-toggle {
  display: none;  /* desktop: hidden; mobile: flex */
  background: none;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: inherit;
  position: relative;
  z-index: 60;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }

  /* Topbar becomes brand | toggle; available pill is already hidden. */
  .topbar { grid-template-columns: 1fr auto; gap: 12px; }

  /* Slide-in nav panel covering the viewport below the topbar. */
  .topbar nav#primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 88px 28px 32px;
    background: var(--bg, #fff);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 22px;
    font-family: "Newsreader", Georgia, serif;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
    z-index: 50;
    pointer-events: none;
    overflow-y: auto;
  }
  .topbar nav#primary-nav a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text);
  }
  .topbar nav#primary-nav a.active::after { display: none; }

  body.nav-open .topbar nav#primary-nav {
    transform: translateX(0);
    pointer-events: auto;
  }
  body.nav-open { overflow: hidden; }

  /* About page background override: nav bg matches page bg there too. */
  body.about-body .topbar nav#primary-nav { background: #ffffff; }

  /* Dark case-study / impact sections nav bg — topbar sits on white,
     so nav bg stays white here. No override needed. */
}

/* ---------- Touch-target boost for footer nav ---------- */
@media (max-width: 640px) {
  .footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
  }
}

/* ---------- Contact form: iOS zoom-on-focus fix ---------- */
@media (max-width: 640px) {
  .contact-field input,
  .contact-field textarea {
    font-size: 16px;
  }
}

/* ---------- Case-study applications: single column on small phones ---------- */
@media (max-width: 480px) {
  .case-applications-grid { grid-template-columns: 1fr; gap: 14px; }
  .contact-row { grid-template-columns: 1fr; }  /* redundant with 640px, harmless */
}

/* ---------- Tighter gutters at the very smallest widths ---------- */
@media (max-width: 400px) {
  .container,
  .case-hero-left,
  .case-next-copy,
  .case-next-grid {
    padding-left: 20px;
    padding-right: 20px;
  }
}
