/* Grey Grape Media — home page
   Grey everywhere, one green accent, one line that follows the scroll. */

:root {
  --bg: #f1f1ef;
  --ink: #1b1b1a;
  --grey: #6f6f6e;
  --soft: #8e8e8b;
  --rule: #d4d4d0;
  --card: #f8f8f6;
  --green: #00b06f;
  --dark: #171717;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(18px, 4vw, 48px);
  --rail: 44px;            /* the column the line runs down on phones */
  --section: clamp(84px, 13vw, 190px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

h1, h2 { font-weight: 500; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7.4vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); }
h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
h1 em, h2 em { font-size: 1.06em; }

/* Layering: section backgrounds < the line < section content */
main { position: relative; }
.thread { position: absolute; inset: 0 auto auto 0; width: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.wrap { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

.thread-ghost { stroke: var(--rule); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.1 11; }
.thread-line { stroke: var(--grey); stroke-width: 3; stroke-linecap: round; }
.thread-tip { fill: var(--green); }
.thread-tip { stroke: rgba(0, 176, 111, .22); stroke-width: 10; transition: opacity .3s; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--grey); margin-right: auto; }
.brand-mark { width: 30px; height: 39px; }
.brand-name { font-size: 15px; font-weight: 500; line-height: 0.98; letter-spacing: 0.01em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--grey); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--green); transform: translateY(-1px); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-green { background: var(--green); color: #06130d; }
.btn-green:hover { background: #fff; }
.link { font-weight: 500; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Anchors the line passes through ---------- */
.anchor { display: block; }
.dot { border-radius: 50%; background: var(--bg); border: 3px solid var(--rule); transition: border-color .4s, background .4s, transform .4s; }
.dot-s { width: 16px; height: 16px; }
.is-on > .dot, .is-on .dot.is-on, .dot.is-on { border-color: var(--grey); background: var(--grey); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; padding: 110px 0 64px; display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: 40px; width: 100%; }
.eyebrow { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 26px; }
.eyebrow i { font-style: normal; color: var(--green); margin: 0 6px; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--grey); max-width: 34em; margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.hero-mark { position: relative; width: min(100%, 330px); justify-self: center; color: var(--grey); }
.hero-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-mark .hm-a, .hero-mark .hm-b { will-change: transform; }
.hero-anchor { position: absolute; left: 71.5%; top: 99.6%; width: 2px; height: 2px; }
.scroll-hint { position: relative; z-index: 2; text-align: center; margin-top: 44px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }

/* ---------- Intro ---------- */
.intro { padding: var(--section) 0 calc(var(--section) * .6); }
.intro-body { max-width: 62%; }
.statement { font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; }
.statement em { color: var(--green); }
.stats { display: flex; flex-wrap: wrap; gap: 14px 56px; margin-top: 54px; }
.stats b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--grey); }
.only-mobile { display: none; }

/* ---------- The three dots ---------- */
.pillar { padding: calc(var(--section) * .62) 0; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.pillar-grid.flip .pillar-node { order: 2; }
.pillar-node { display: grid; place-items: center; }
.node {
  display: grid; place-items: center;
  width: clamp(120px, 17vw, 210px); aspect-ratio: 1; border-radius: 50%;
  background: var(--bg);
  border: 3px dashed var(--rule);
  color: var(--rule);
  transition: border-color .5s, color .5s, border-width .5s, transform .6s cubic-bezier(.2, .9, .3, 1.3);
}
.node b { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; }
.is-on .node { border: clamp(10px, 1.4vw, 17px) solid var(--grey); color: var(--ink); transform: scale(1.04); }
.kicker { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.pillar-line { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.2; color: var(--grey); margin: 14px 0 26px; }
.ticks li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--grey); }
.pillar .ticks { max-width: 26em; }
.pillar.is-on .ticks li::before { background: var(--green); border-color: var(--green); }
.pillar .ticks li::before { transition: background .4s, border-color .4s; }

/* ---------- Section heads with a dot on the line ---------- */
.rail3 { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: end; }
.rail3 > .anchor { justify-self: center; align-self: center; }
.head { margin-bottom: clamp(48px, 7vw, 96px); }
.head h2 { padding-right: 24px; }
.head-note { color: var(--grey); max-width: 24em; padding-left: 24px; padding-bottom: 6px; }
.work, .method, .plans { padding: var(--section) 0 calc(var(--section) * .5); }

/* ---------- Case studies ---------- */
.case { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; padding: clamp(28px, 4.5vw, 64px) 0; }
.case > .anchor { justify-self: center; }
.case-media { position: relative; border-radius: 18px; overflow: hidden; background: #e4e4e0; margin-right: 16px; }
.case.flip > .anchor { order: 2; }
.case.flip .case-media { order: 3; margin: 0 0 0 16px; }
.case.flip .case-copy { order: 1; padding: 0 28px 0 0; }
/* Images keep their own shape so nothing is cropped; they turn from grey to colour when the line arrives. */
.case-media img { width: 100%; height: auto; filter: grayscale(1) contrast(.96); transition: filter .9s ease; }
.case.is-on .case-media img { filter: none; }
.case-media:has(.case-ph) { aspect-ratio: 16 / 10; }
.case-media.contain { aspect-ratio: 5 / 4; }
.case-media.contain img { height: 100%; object-fit: contain; padding: 4%; }
.case-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(3rem, 9vw, 7rem); font-weight: 500; letter-spacing: -0.05em; color: #cfcfca; }
.case-copy { padding: 0 0 0 28px; }
.case-copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -0.035em; margin: 10px 0 12px; }
.case-copy > p { color: var(--grey); max-width: 30em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--grey); }
.tags li.on { border-color: var(--grey); color: var(--ink); }
.case-fact { margin-top: 22px; font-size: 15px; }
.case-fact b { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; margin-right: 8px; }

.case-list { margin-top: 24px; max-width: 30em; font-size: 16px; }
.case.is-on .case-list li::before { background: var(--green); border-color: var(--green); }
.case-list li::before { transition: background .4s, border-color .4s; }
.case-link { margin-top: 22px; }
.more { margin-top: clamp(28px, 4vw, 56px); text-align: center; }
.more .btn { position: relative; }

/* ---------- Inner pages ---------- */
.nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.page-hero { padding: clamp(150px, 20vw, 250px) 0 calc(var(--section) * .45); }
.page-hero .head { margin-bottom: 0; }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); padding-right: 24px; }
.page-hero .head-note { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 26em; }
/* Inner page heading with the logo the line grows out of */
.page-hero .hero-grid { grid-template-columns: 1.7fr 1fr; align-items: end; }
.page-hero .hero-copy .head-note { padding: 0; margin-top: 30px; }
.hero-mark-sm { width: min(100%, 190px); }

/* Work page: the line wraps a frame round each picture, then flows on to the next */
.work-curve { padding: clamp(130px, 15vw, 230px) 0 0; }
.loop-in, .loop-out { position: absolute; left: 50%; width: 2px; height: 2px; margin-left: -1px; }
.loop-in { top: -15px; }
.loop-out { bottom: -15px; }
.loop-tip { stroke-width: 7; }

/* Framed cards on Services, About and Contact, alternating left and right */
.loops { padding: clamp(130px, 15vw, 230px) 0 0; }
.loop-row { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(56px, 6vw, 96px); align-items: center; margin-bottom: clamp(150px, 15vw, 230px); }
.loop-row:last-child { margin-bottom: 0; }
.loop-row .loop-card { grid-column: 1; grid-row: 1; }
.loop-row .loop-aside { grid-column: 2; grid-row: 1; }
.loop-row.flip { grid-template-columns: 1fr 1.6fr; }
.loop-row.flip .loop-card { grid-column: 2; }
.loop-row.flip .loop-aside { grid-column: 1; }
.loop-row.wide { grid-template-columns: 1fr; }
.loop-card { position: relative; background: var(--card); border-radius: 18px; padding: clamp(28px, 3.6vw, 52px); box-shadow: 0 0 0 11px var(--bg); }
.loop-card h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.loop-card .kicker { margin-bottom: 18px; }
.loop-card .pillar-line { margin: 12px 0 24px; }
.loop-card .belief { max-width: none; }
.loop-card > p:not(.kicker):not(.label):not(.belief):not(.pillar-line) { color: var(--grey); margin-top: 18px; max-width: 34em; }
.ticks.cols { columns: 2; column-gap: 36px; }
.ticks.cols li { break-inside: avoid; }
.loop-card .steps { margin-top: clamp(30px, 4vw, 52px); gap: 36px; }
.loop-card .steps.two { grid-template-columns: repeat(2, 1fr); }
.loop-card .stats { margin-top: 30px; }
.loop-aside { justify-self: center; font-size: clamp(7rem, 15vw, 13rem); font-weight: 500; letter-spacing: -0.06em; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--rule); transition: -webkit-text-stroke-color .6s; user-select: none; }
.is-on .loop-aside { -webkit-text-stroke-color: var(--grey); }
.reach { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 30px; }
.reach li { border-top: 3px solid var(--grey); padding-top: 18px; }
.reach span { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 8px; }
.reach a { font-size: 1.1rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.reach a:hover { color: var(--green); }
@media (min-width: 761px) {
  .rail-dot { display: none; }
  [data-mode="full"] .case { position: relative; grid-template-columns: 1fr 1fr; gap: clamp(56px, 6vw, 96px); align-items: start; padding: 0; margin-bottom: clamp(150px, 15vw, 230px); }
  [data-mode="full"] .case:last-child { margin-bottom: 0; }
  [data-mode="full"] .case-media, [data-mode="full"] .case.flip .case-media { margin: 0; overflow: visible; box-shadow: 0 0 0 11px var(--bg); }
  [data-mode="full"] .case-media img { border-radius: 18px; }
  [data-mode="full"] .case-copy, [data-mode="full"] .case.flip .case-copy { padding: 4px 0 0; }
  [data-mode="full"] .case.flip .case-media { order: 2; }
  [data-mode="full"] .case.flip .case-copy { order: 1; }
}
.block { padding: calc(var(--section) * .6) 0; }
.block .head { margin-bottom: 0; align-items: start; }
.block .head > .anchor { margin-top: .9em; }
.side { padding-left: 24px; }
.belief { font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.16; letter-spacing: -0.03em; font-weight: 500; max-width: 15em; }
.belief em { color: var(--green); }
.label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin-bottom: 16px; }
.side .stats { margin-top: 0; flex-direction: column; gap: 30px; }
.people li { padding: 18px 0; border-top: 1px solid var(--rule); font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.03em; font-weight: 500; }
.people li:last-child { border-bottom: 1px solid var(--rule); }
.people span { display: block; font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--grey); margin-top: 4px; }
.steps.reasons li { border-top-color: var(--rule); }
.steps.reasons b { margin-bottom: 18px; color: var(--green); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }

/* A short dark closing band on inner pages */
.finale.finale-short { min-height: 0; padding: clamp(80px, 10vw, 130px) 0; }
.finale.finale-short .finale-mark { width: min(100%, 200px); }
.finale-short .actions { margin-top: 32px; }
.finale-short .link { color: #f1f1ef; }

/* ---------- Method ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px; }
.steps li { border-top: 3px solid var(--grey); padding-top: 20px; }
.steps b { display: block; font-size: 13px; color: var(--soft); letter-spacing: .1em; margin-bottom: 30px; }
.steps p { color: var(--grey); margin-top: 10px; font-size: 16px; }

/* ---------- Plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.plan { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 26px 24px 24px; }
.plan-tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.plan h3 { font-size: 2rem; letter-spacing: -0.035em; margin: 18px 0 8px; }
.plan > p:not(.plan-tag) { color: var(--grey); font-size: 16px; }
.plan .ticks { margin: 20px 0 24px; font-size: 15px; }
.plan .link { margin-top: auto; }
.plan-full { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.plan-full .plan-tag { color: var(--green); }
.plan-full > p:not(.plan-tag) { color: #b9b9b5; }
.plan-full .ticks li { border-top-color: #3a3a38; }
.plan-full .ticks li::before { border-color: var(--green); background: var(--green); }

/* ---------- Finale ---------- */
.finale { background: var(--dark); color: #f1f1ef; margin-top: var(--section); padding: clamp(110px, 12vw, 160px) 0 clamp(70px, 8vw, 110px); min-height: 100svh; }
.finale-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.form-send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.finale-mark { position: relative; width: min(100%, 300px); justify-self: center; }
.finale-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.fm { stroke-dasharray: 447; stroke-dashoffset: 447; }
.fm-leaf { transform-box: fill-box; transform-origin: 0% 100%; transform: scale(0) rotate(-30deg); transition: transform .7s cubic-bezier(.2, .9, .3, 1.4); }
.finale.done .fm-leaf { transform: none; }
.finale-anchor { position: absolute; left: 58.2%; top: 22%; width: 2px; height: 2px; }  /* the base of the leaf */
.finale .lede { color: #a9a9a5; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; align-items: center; }
.form label { display: block; }
.form .wide { grid-column: 1 / -1; }
.form label span { display: block; font-size: 13px; color: #a9a9a5; margin-bottom: 8px; }
.form input, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid #3a3a38; background: #1f1f1e; color: #f1f1ef;
  font: 400 16px/1.4 var(--sans); resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form .btn { justify-self: start; }
.contact-list { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 44px; margin-top: 52px; padding-top: 28px; border-top: 1px solid #3a3a38; }
.contact-list span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8e8e8b; margin-bottom: 4px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--green); }

.footer { background: var(--dark); color: #8e8e8b; font-size: 14px; padding: 26px 0 34px; border-top: 1px solid #2a2a29; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #f1f1ef; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  .steps, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 20px; }
}

/* ---------- Phone: the line runs down a rail on the left ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .nav-links {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 6px var(--gutter) 14px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; font-size: 17px; color: var(--ink); border-top: 1px solid var(--rule); }
  .nav-toggle { display: grid; gap: 6px; width: 42px; height: 42px; place-content: center; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero { padding: 96px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-mark { width: 150px; }
  .eyebrow { font-size: 12px; margin-bottom: 18px; }
  .lede { margin-top: 20px; }
  .actions { margin-top: 26px; gap: 18px; }
  .scroll-hint { margin-top: 26px; }

  .only-mobile { display: block; }
  .rail, .pillar-grid, .rail3, .case { display: grid; grid-template-columns: var(--rail) 1fr; gap: 0; align-items: start; }
  .rail > .anchor, .rail3 > .anchor, .case > .anchor { grid-column: 1; grid-row: 1; justify-self: start; margin: 12px 0 0 2px; }
  .intro-body { max-width: none; grid-column: 2; }
  .stats { gap: 22px 30px; margin-top: 38px; }

  .pillar-grid.flip .pillar-node, .pillar-node { order: 0; place-items: start; }
  .node { width: 34px; border-width: 3px; margin: 2px 0 0 -7px; }
  .node b { font-size: 11px; letter-spacing: 0; }
  .is-on .node { border-width: 3px; border-style: solid; transform: none; background: var(--grey); color: var(--bg); }

  .rail3 > h1, .rail3 > h2, .rail3 > .head-note, .rail3 > .side, .rail3 > div:not(.anchor) { grid-column: 2; padding: 0; }
  .rail3 > .side { margin-top: 28px; }
  .page-hero { padding-top: 120px; }
  .page-hero .rail3 > .anchor { margin-top: 18px; }
  .block .head > .anchor { margin-top: 12px; }
  .finale.finale-short .finale-mark { width: 110px; }
  .head-note { margin-top: 14px; }
  .head { margin-bottom: 34px; }

  .case { padding: 26px 0; }
  .case.flip > .anchor { order: 0; }
  .finale-grid { align-items: start; }
  .case-media, .case.flip .case-media { grid-column: 2; order: 0; margin: 0 0 20px; }
  .case-copy, .case.flip .case-copy { grid-column: 2; order: 0; padding: 0; }
  .case > .anchor { margin-top: 6px; }

  .indent { margin-left: var(--rail); }
  .steps, .plan-grid { grid-template-columns: 1fr; gap: 22px; }
  .steps b { margin-bottom: 12px; }

  .finale { padding-top: 96px; }
  .finale-grid { grid-template-columns: 1fr; gap: 40px; }
  .finale-mark { width: 150px; justify-self: start; margin-left: 4px; }
  .form { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }

  .page-hero .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-mark-sm { width: 96px; justify-self: start; }
  .work-curve { padding-top: 40px; }
  .loop-in, .loop-out { display: none; }
  .loops { padding-top: 40px; }
  .loop-row, .loop-row.wide, .loop-row.flip { grid-template-columns: var(--rail) 1fr; gap: 0; align-items: start; margin-bottom: 30px; }
  .loop-row > .anchor { grid-column: 1; grid-row: 1; justify-self: start; margin: 26px 0 0 2px; }
  .loop-row .loop-card, .loop-row.flip .loop-card { grid-column: 2; grid-row: 1; order: 0; box-shadow: none; }
  .loop-aside { display: none; }
  .ticks.cols { columns: 1; }
  .loop-card .steps.two, .reach { grid-template-columns: 1fr; }
  .reach a { font-size: 1rem; overflow-wrap: normal; }
}
@media (min-width: 761px) and (max-width: 1020px) {
  .reach { grid-template-columns: repeat(2, 1fr); }
  .ticks.cols { columns: 1; }
}

/* ---------- People who prefer no motion get the finished drawing ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .thread-tip { display: none; }
  .fm { stroke-dashoffset: 0; }
  .fm-leaf { transform: none; transition: none; }
  .case-media img { filter: none; transform: none; }
  .node, .dot { transition: none; }
}

/* the grape as the mouse pointer */
html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='38' viewBox='-20 -10 380 470'%3E%3Cg fill='none' stroke='%23fffdf8' stroke-width='64' stroke-linejoin='round'%3E%3Ccircle cx='99' cy='210' r='71'/%3E%3Ccircle cx='240' cy='210' r='71'/%3E%3Ccircle cx='243' cy='353' r='71'/%3E%3Cpath d='M198 98C197 40 250 12 325 13c-1 47-25 87-63 93-22 4-42 1-64-8Z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23232422' stroke-width='30'%3E%3Ccircle cx='99' cy='210' r='71'/%3E%3Ccircle cx='240' cy='210' r='71'/%3E%3Ccircle cx='243' cy='353' r='71'/%3E%3C/g%3E%3Cpath fill='%2300a868' d='M198 98C197 40 250 12 325 13c-1 47-25 87-63 93-22 4-42 1-64-8Z'/%3E%3C/svg%3E") 9 18, auto; }
a, button, summary, label, select, [role="button"], .btn { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='38' viewBox='-20 -10 380 470'%3E%3Cg fill='none' stroke='%23fffdf8' stroke-width='64' stroke-linejoin='round'%3E%3Ccircle cx='99' cy='210' r='71'/%3E%3Ccircle cx='240' cy='210' r='71'/%3E%3Ccircle cx='243' cy='353' r='71'/%3E%3Cpath d='M198 98C197 40 250 12 325 13c-1 47-25 87-63 93-22 4-42 1-64-8Z'/%3E%3C/g%3E%3Cg fill='none' stroke='%2300a868' stroke-width='30'%3E%3Ccircle cx='99' cy='210' r='71'/%3E%3Ccircle cx='240' cy='210' r='71'/%3E%3Ccircle cx='243' cy='353' r='71'/%3E%3C/g%3E%3Cpath fill='%2300a868' d='M198 98C197 40 250 12 325 13c-1 47-25 87-63 93-22 4-42 1-64-8Z'/%3E%3C/svg%3E") 9 18, pointer; }
input, textarea { cursor: text; }

/* ------------------------------------------------------------ projects slide sideways on wide screens */
.hlane { display: none; }
@media (min-width: 1021px) {
  .hmode .hstage { position: relative; margin-top: clamp(90px, 9vw, 130px); }
  .hmode .hpin { position: sticky; top: var(--navh, 66px); height: calc(100svh - var(--navh, 66px)); overflow: hidden; display: flex; flex-direction: column; padding: 18px 0 76px; }
  .hmode #cases { flex: 1; min-height: 0; display: flex; gap: 68px; width: max-content; padding: 0 68px; will-change: transform; }
  .hmode .case { flex: none; width: calc(100vw - 136px - 16px); max-width: 1500px; height: 100%; grid-template-columns: 1.7fr 1fr; align-items: stretch; padding: 0; }
  .hmode .case > .anchor { display: none; }
  .hmode .case-media, .hmode .case.flip .case-media { order: 0; margin: 0; height: 100%; min-height: 0; aspect-ratio: auto; border-radius: 22px; }
  .hmode .case-media img, .hmode .case-media.contain img { position: absolute; inset: 5%; width: 90%; height: 90%; padding: 0; object-fit: contain; }
  .hmode .case-copy, .hmode .case.flip .case-copy { order: 1; align-self: center; padding: 0 0 0 clamp(30px, 3.4vw, 64px); }
  .hmode .case-copy h3 { font-size: clamp(2.2rem, 3.7vw, 3.7rem); line-height: 1.02; margin: 12px 0 16px; }
  .hmode .case-copy > p { font-size: clamp(1rem, 1.25vw, 1.15rem); }
  .hmode .case-fact b { font-size: clamp(2rem, 3vw, 2.8rem); display: block; margin: 0 0 4px; }
  .hmode .hlane { display: block; position: absolute; bottom: 37px; height: 3px; background-image: radial-gradient(circle, var(--rule) 1.5px, transparent 1.8px); background-size: 11px 3px; }
  .hmode .hlane b { position: absolute; left: 0; top: 0; height: 3px; width: 0; border-radius: 3px; background: var(--grey); }
  .hmode .hlane i { position: absolute; top: 1.5px; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--bg); border: 3px solid var(--rule); transition: border-color .4s, background .4s; }
  .hmode .hlane i.on { border-color: var(--grey); background: var(--grey); }
  .hmode .work .more { margin-top: clamp(40px, 5vw, 70px); }
}

/* text for screen readers only */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
