/* Everything is laid out in "u" units: 1u = 1/1200 of the viewport width,
   i.e. the numbers below are pixels measured on the 1200px-wide screen recording. */
:root {
  --u: min(calc(100vw / 1200), 1.6px);
  --orange: #f04e37;         /* brand orange */
  --orange-hover: #dc4129;
  --card: #ff5a2d;
  --ink: #1b232a;            /* midnight blue (replaces black) */
  --warm: #f6f3ea;
  --grey: #7e7e7e;
  --line: #d6d6d6;
  --inter: "Inter", "Helvetica Neue", Arial, sans-serif;
  --tight: "Inter Tight", "Inter", Arial, sans-serif;
  --grot: "Space Grotesk", "Inter", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--u) * 34); }   /* menu links land a little above the section so the bar never hides its first line */
body { font-family: var(--inter); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
img, svg { display: block; }

/* ---------- shared ---------- */
.btn { display: inline-flex; align-items: center; gap: calc(var(--u) * 14); height: calc(var(--u) * 42); padding: 0 calc(var(--u) * 22); font-size: calc(var(--u) * 17); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: background .3s; }
.btn span { font-size: .78em; transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn span.dt { font-size: 1em; transform: none; }   /* the "Get A" part of the Quote button is plain text, not the little arrow */
.btn--black { background: var(--ink); color: #fff; border: 1.5px solid var(--ink); transition: background .3s, color .3s; }
.btn--black:hover { background: #fff; color: var(--ink); }
.btn--orange { background: var(--orange); color: #fff; border: 1.5px solid var(--orange); font-size: calc(var(--u) * 16); transition: background .3s, color .3s; }
.btn--orange:hover { background: #fff; color: var(--ink); }
.form .btn--orange:hover { background: var(--ink); border-color: var(--ink); color: #fff; }   /* Submit turns midnight blue on hover */   /* white inside, dark text, orange border stays */
.eyebrow { display: inline-flex; align-items: center; gap: calc(var(--u) * 8); font-size: calc(var(--u) * 11.5); font-weight: 500; letter-spacing: .01em; }
.eyebrow__g { width: calc(var(--u) * 20); height: auto; }
.about .eyebrow { color: #fff; }
.about .eyebrow__g { filter: invert(1) brightness(1.4); }

/* ---------- preloader ---------- */
.pre { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.pre__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.pre__cols i { background: var(--orange); transition: transform .9s var(--ease); }
.pre__lines { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.pre__lines i { border-left: 1px solid rgba(27,35,42,.12); }
.pre__lines i:first-child { border: 0; }
.pre__brand { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: calc(var(--u) * 44); color: #fff; transition: opacity .4s; }
.pre__logo { width: calc(var(--u) * 250); height: auto; filter: invert(1) brightness(1.2); animation: logoIn .5s var(--ease) both; }
.pre__brand p { font-family: var(--grot); font-size: calc(var(--u) * 25); font-weight: 500; letter-spacing: .02em; animation: logoIn .5s var(--ease) .2s both; }
@keyframes logoIn { from { opacity: 0; transform: translateY(14px); } }
.pre.go .pre__brand { opacity: 0; }
.pre.go .pre__lines { opacity: 0; transition: opacity .3s; }
.pre.go .pre__cols i { transform: translateY(-101%); }
.pre.go .pre__cols i:nth-child(2) { transition-delay: .07s; } .pre.go .pre__cols i:nth-child(3) { transition-delay: .14s; }
.pre.go .pre__cols i:nth-child(4) { transition-delay: .21s; } .pre.go .pre__cols i:nth-child(5) { transition-delay: .28s; }
.pre.go .pre__cols i:nth-child(6) { transition-delay: .35s; }

/* ---------- nav ---------- */
@media (min-width: 761px) { .nav:not(.pill) .nav__links a:first-child { transform: translateX(calc(var(--u) * -68)); } }   /* "About Us" sits more centred between the logo and the hook */
.nav__links a:first-child { transition: transform .6s var(--ease); }
.nav { position: fixed; top: calc(var(--u) * 22); left: 0; right: 0; z-index: 90; display: flex; justify-content: flex-start; pointer-events: none; }
.nav__bar { position: relative; pointer-events: auto; margin-left: var(--nav-l, calc((100% - var(--u) * 1114) / 2)); width: calc(100% - var(--nav-l, calc((100% - var(--u) * 1114) / 2)) - var(--nav-r, calc((100% - var(--u) * 1114) / 2))); height: calc(var(--u) * 42); display: flex; align-items: center; justify-content: space-between; border-radius: 3px; transition: width .7s var(--ease), margin-left .7s var(--ease), height .6s var(--ease), padding .6s var(--ease), margin .6s var(--ease), background .4s, box-shadow .4s; }
.nav__logo { position: relative; height: calc(var(--u) * 42); display: flex; align-items: center; gap: calc(var(--u) * 9); transition: left .6s var(--ease), top .6s var(--ease); }
.nav__logo img { height: calc(var(--u) * 40); width: auto; }
.nav__word { display: flex; flex-direction: column; line-height: 1; font-family: "Montserrat", var(--tight); font-weight: 700; text-transform: uppercase; color: var(--ink); }
.nav__word b, .nav__word span { font-size: calc(var(--u) * 15); letter-spacing: .09em; font-weight: 700; }   /* GADFLY and GLOBAL: one size */
.nav__word span { margin-top: calc(var(--u) * 3); }
.nav__links { display: contents; gap: calc(var(--u) * 104); margin-right: calc(var(--u) * 64); font-size: calc(var(--u) * 17.5); font-weight: 500; letter-spacing: -.01em; transition: gap .6s var(--ease), margin .6s var(--ease); }
.nav__links a { position: relative; text-transform: uppercase; letter-spacing: .02em; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; }   /* Get A Quote turns midnight blue on hover */
.nav__cta { text-transform: uppercase; letter-spacing: .02em; gap: 0; width: auto; justify-content: center; padding: 0 calc(var(--u) * 22); position: relative; font-size: calc(var(--u) * 15); }
.nav__burger, .nav__menu { display: none; }

/* once you scroll, the bar tightens into a frosted strip that still shows every link */
.nav.pill .nav__bar { margin-left: calc((100% - var(--u) * 716) / 2); width: calc(var(--u) * 716); height: calc(var(--u) * 58); margin-top: calc(var(--u) * -8); padding: 0 calc(var(--u) * 15) 0 calc(var(--u) * 16); background: rgba(255,255,255,.84); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); box-shadow: 0 10px 30px rgba(27,35,42,.10), 0 1px 0 rgba(27,35,42,.05); }
.nav.pill .nav__links { gap: calc(var(--u) * 84); margin-right: calc(var(--u) * 50); }

/* ---------- pinned container ---------- */
.stage { position: fixed; inset: 0; z-index: 5; pointer-events: none; perspective: calc(var(--u) * 1600); clip-path: inset(100% 0 0 0); visibility: hidden; }   /* script.js reveals it from beneath the About band's bottom edge */
.stage__tilt { position: absolute; left: calc(var(--u) * 150); top: 0; width: calc(var(--u) * 840); height: calc(var(--u) * 600); transform-origin: 50% 0; transform: translateY(var(--sy, 0px)) rotateZ(var(--sw, 0deg)); will-change: transform; }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- hero (live 3D Gadfly container) ---------- */
.hx-f { display: inline-block; font-weight: inherit; margin-right: .045em; }   /* a touch more air between F and o */
.hero { --gutter: clamp(16px, 2.4vw, 32px); --fs: clamp(76px, min(13.2vw, 23vh), 260px); --edge: calc(var(--gutter) + var(--fs) * .2); position: relative; height: 94vh; min-height: calc(var(--u) * 600); overflow: hidden; background: radial-gradient(52% 58% at 46% 48%, #eceff1 0%, #fff 72%); z-index: 1; }
.hx-headline { position: absolute; inset: 0; z-index: 1; font-family: var(--tight); font-weight: 700; line-height: .8; letter-spacing: -.062em; font-size: var(--fs); pointer-events: none; user-select: none; }
.hx-headline span { position: absolute; display: block; white-space: nowrap; transform: translateY(40%); opacity: 0; transition: transform 1.1s var(--ease) .1s, opacity .6s .1s; }
body.ready .hx-headline span { transform: none; opacity: 1; }
.hx-a { left: calc(var(--gutter) - .04em); top: calc(12vh - var(--fs) * .038); top: calc(12svh - var(--fs) * .038); font-size: 1.05em; }   /* "One" a touch bigger; top eased up so its baseline still matches "Source" */
.hx-c { right: calc(var(--edge) - .02em); top: 12vh; top: 12svh; }
.hx-b { left: calc(var(--gutter) - .04em); bottom: .06em; font-size: min(1em, 14vw); }                /* "For", under "One"; hero3d.js re-positions both bottom words just under the container */
.hx-d { right: var(--edge); bottom: .06em; font-size: min(1em, 14vw); }              /* "Anything", under "Source" */
#hero-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
#hero-canvas.is-ready { opacity: 1; }
.hx-fallback { display: none; position: absolute; z-index: 2; left: 50%; top: 52%; width: min(46vw, 380px); transform: translate(-50%, -50%); }
.no-webgl .hx-fallback { display: block; }
.no-webgl #hero-canvas { display: none; }

/* column runs from the bottom of "Source" (--sb, set by hero3d.js) down to the button; the stats sit centred in the space between them */
/* column starts at the bottom of "Source"; hero3d.js sets --hx-gap so stats + button always fit above "Anything", with the button staying right under the stats */
.hx-side { position: absolute; z-index: 3; right: var(--edge); top: var(--sb, 31vh); padding-top: var(--hx-pad, var(--hx-gap, 34px)); display: flex; flex-direction: column; align-items: flex-end; }
.m { display: none; }
.hx-stats { display: flex; flex-direction: column; gap: var(--hx-gap, 34px); text-align: right; font-family: var(--grot); }
.hx-stats dt { font-size: clamp(21px, calc(var(--u) * 24), 36px); line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
.hx-stats dd { margin-top: 6px; font-size: clamp(13px, calc(var(--u) * 12.5), 18px); line-height: 1.3; color: #626b72; }
.hx-cta { height: calc(var(--u) * 46); margin-top: var(--hx-gap, 34px); width: calc(var(--u) * 190); justify-content: center; }   /* a little longer to the left; label centred */
.hx-cta b { font-weight: inherit; } .hx-cta .mo { display: none; }
.btn--black.hx-cta:hover { background: var(--orange); border-color: var(--orange); color: #fff; }   /* Talk to us turns orange on hover */

.fade { opacity: 0; filter: blur(6px); transform: translateY(10px); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); }
body.ready .fade { opacity: 1; filter: none; transform: none; }
body.ready .hx-stats > div:nth-child(1) { transition-delay: .6s; } body.ready .hx-stats > div:nth-child(2) { transition-delay: .75s; }
body.ready .hx-stats > div:nth-child(3) { transition-delay: .9s; } body.ready .hx-cta { transition-delay: 1.05s; }

/* ---------- about ---------- */
.about { margin-top: calc(var(--trim, 0px) * -1); position: relative; z-index: 3; height: calc(var(--u) * 360); background: var(--orange); color: #fff; text-align: center; padding-top: calc(var(--u) * 92); }
.about .eyebrow { margin-bottom: calc(var(--u) * 29); }
.about__text { width: calc(var(--u) * 1040); max-width: calc(100% - 48px); margin: 0 auto; font-family: var(--tight); font-size: calc(var(--u) * 34); line-height: calc(var(--u) * 54); font-weight: 500; letter-spacing: -.04em; }
.about__text .w { opacity: 1; }
.about__text .w.on { opacity: 1; }

/* ---------- scene: white space with the pinned container ---------- */
.scene { position: relative; z-index: 3; height: 125vh; }

.stage__marks { position: absolute; left: calc(var(--u) * 150); top: 0; width: calc(var(--u) * 840); height: calc(var(--u) * 600); opacity: 0; transition: opacity .5s ease; }
.stage.marks .stage__marks { opacity: 1; }
.callout { position: absolute; font-size: calc(var(--u) * 15.5); line-height: 1.6; font-weight: 500; color: var(--ink); letter-spacing: .02em; text-transform: uppercase; transform: translateX(var(--k, 0px)); }
.callout p { position: absolute; white-space: nowrap; }
.callout::before { content: ""; position: absolute; width: calc(var(--u) * 38); height: calc(var(--u) * 38); background: rgba(255,255,255,.55); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border: 1px solid rgba(27,35,42,.12); }
.callout::after { content: ""; position: absolute; border: 0 solid var(--orange); }
/* coordinates are relative to the 840x600 container box; the text sits clear of the container, each leader line runs from its text to a marker on the container's corner */
.callout--tl p { left: calc(var(--u) * 93); top: calc(var(--u) * 137); } .callout--tl::before { left: calc(var(--u) * 246); top: calc(var(--u) * 233); }
.callout--tl::after { left: calc(var(--u) * 172); top: calc(var(--u) * 184); width: calc(var(--u) * 93); height: calc(var(--u) * 49); border-top-width: 1px; border-right-width: 1px; }
.callout--tr p { left: calc(var(--u) * 741); top: calc(var(--u) * 130); } .callout--tr::before { left: calc(var(--u) * 622); top: calc(var(--u) * 202); }
.callout--tr::after { left: calc(var(--u) * 641); top: calc(var(--u) * 170); width: calc(var(--u) * 97); height: calc(var(--u) * 32); border-top-width: 1px; border-left-width: 1px; }
.callout--bl p { left: calc(var(--u) * 92); top: calc(var(--u) * 478); } .callout--bl::before { left: calc(var(--u) * 269); top: calc(var(--u) * 421); }
.callout--bl::after { left: calc(var(--u) * 190); top: calc(var(--u) * 459); width: calc(var(--u) * 98); height: calc(var(--u) * 41); border-bottom-width: 1px; border-right-width: 1px; }
.callout--br p { left: calc(var(--u) * 740); top: calc(var(--u) * 498); } .callout--br::before { left: calc(var(--u) * 607); top: calc(var(--u) * 421); }
.callout--br::after { left: calc(var(--u) * 626); top: calc(var(--u) * 459); width: calc(var(--u) * 112); height: calc(var(--u) * 41); border-bottom-width: 1px; border-left-width: 1px; }


/* ---------- process ---------- */
.process { position: relative; z-index: 4; height: 640vh; }
.process__sticky { position: sticky; top: 8vh; height: 78vh; overflow: hidden; }   /* photo + cards: 22% shorter than full screen */
.process__photo { position: absolute; inset: 0; clip-path: polygon(14% 26%, 87% 13%, 87% 76%, 83% 82%, 14% 85%); background: #1b232a; }
.process__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.dots { position: absolute; left: calc(var(--u) * 729); top: calc(var(--u) * 167); height: calc(var(--u) * 266); width: calc(var(--u) * 28); opacity: 0; transition: opacity .4s; }
.dots::before { content: ""; position: absolute; left: 50%; top: calc(var(--u) * 14); bottom: calc(var(--u) * 14); width: 1px; background: rgba(255,255,255,.75); }
.dots li { position: absolute; left: 0; width: calc(var(--u) * 28); height: calc(var(--u) * 28); border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.22); backdrop-filter: blur(4px); transition: background .4s, border-color .4s; }
.dots li:nth-child(1) { top: 0; } .dots li:nth-child(2) { top: calc(var(--u) * 79); } .dots li:nth-child(3) { top: calc(var(--u) * 158); } .dots li:nth-child(4) { top: calc(var(--u) * 237); }
.dots li::after { content: ""; position: absolute; inset: calc(var(--u) * 9); background: #fff; }
.dots li.on { background: var(--orange); border-color: var(--orange); }

.deck { position: absolute; left: calc(var(--u) * 108); top: calc(var(--u) * var(--dt, 100)); width: calc(var(--u) * 300); height: calc(var(--u) * var(--ch, 400)); opacity: 0; transition: opacity .4s; }
.card { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--u) * var(--ch, 400)); padding: calc(var(--u) * 20) calc(var(--u) * 22); background: var(--card); color: #fff; font-family: var(--inter); transform-origin: 50% 0; will-change: transform, clip-path; display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.3); box-shadow: 0 -10px 22px rgba(27,35,42,.18); }
.card span { font-size: calc(var(--u) * 15); font-weight: 500; }
.card h3 { margin-top: calc(var(--u) * 18); font-size: calc(var(--u) * 29); line-height: 1.12; font-weight: 500; letter-spacing: -.03em; }
.card__icon { margin: calc(var(--u) * 20) auto 0; width: calc(var(--u) * 100); height: calc(var(--u) * 90); fill: none; stroke: rgba(255,255,255,.82); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.card__icon--wide { width: calc(var(--u) * 140); }
.card p { margin-top: auto; font-size: calc(var(--u) * 19.5); line-height: 1.28; letter-spacing: -.02em; }
.card.glass { background: rgba(255,90,45,.72); backdrop-filter: blur(7px) saturate(1.1); -webkit-backdrop-filter: blur(7px) saturate(1.1); }
.process__marks { position: absolute; right: calc(var(--u) * 46); bottom: calc(var(--u) * 40); display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 12); color: #fff; opacity: 0; transition: opacity .5s; }
.process__marks img { width: calc(var(--u) * 120); height: auto; filter: invert(1) brightness(1.2); }
.process__marks span { font-family: "Montserrat", var(--tight); font-weight: 700; font-size: calc(var(--u) * 22); line-height: 1.12; text-align: center; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

/* ---------- projects ---------- */
.projects .eyebrow { display: flex; margin-bottom: calc(var(--u) * 44); }
.projects { position: relative; z-index: 5; background: #fff; padding: calc(var(--u) * 44) calc(var(--u) * 43) calc(var(--u) * 78); }
.rows { border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: calc(var(--u) * 446) 1fr auto; align-items: center; height: calc(var(--u) * 84); border-bottom: 1px solid var(--line); color: var(--grey); transition: color .3s; }
.rows h3 { font-family: var(--tight); font-size: calc(var(--u) * 31); font-weight: 500; letter-spacing: -.04em; }
.pills { display: flex; gap: calc(var(--u) * 9); }
.pills span { padding: calc(var(--u) * 7) calc(var(--u) * 14); border: 1px solid #cdcdcd; border-radius: 99px; font-size: calc(var(--u) * 14.5); line-height: 1.2; letter-spacing: -.01em; transition: border-color .3s, color .3s; }
.rows b { font-weight: 400; font-size: calc(var(--u) * 20); transition: transform .35s var(--ease); }
.rows li:hover { color: var(--ink); }
.rows li:hover .pills span { border-color: var(--ink); }
.rows li:hover b { transform: translateX(calc(var(--u) * -5)); }



/* ---------- contact ("Tell us what you need") ---------- */
.contact { position: relative; z-index: 6; background: var(--warm); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; padding: calc(var(--u) * 92) calc(var(--u) * 43) calc(var(--u) * 130); }
.contact .eyebrow { margin-bottom: calc(var(--u) * 42); }
.contact h2 { font-family: var(--tight); font-weight: 700; font-size: calc(var(--u) * 112); line-height: .92; letter-spacing: -.055em; }
.contact__mail { display: inline-block; margin-top: calc(var(--u) * 66); font-size: calc(var(--u) * 19); font-weight: 600; letter-spacing: -.02em; border-bottom: 2px solid var(--orange); padding-bottom: 4px; }
.form { display: grid; gap: calc(var(--u) * 26); padding-top: calc(var(--u) * 8); }
.form label { display: grid; gap: 8px; font-size: calc(var(--u) * 14); font-weight: 600; letter-spacing: .02em; color: #4c565e; }
.form input, .form textarea { font: 500 calc(var(--u) * 18) var(--inter); color: var(--ink); background: transparent; resize: vertical; border: 0; border-bottom: 1.5px solid rgba(27,35,42,.3); border-radius: 0; padding: 10px 0 12px; outline: none; transition: border-color .2s; }
.form input:focus, .form textarea:focus { border-bottom-color: var(--orange); }
.form .btn { justify-self: start; margin-top: 6px; }
.form__note { min-height: 1.4em; font-size: calc(var(--u) * 15); color: #5d6770; font-weight: 500; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 6; background: var(--ink); }
.footer__art { position: relative; height: calc(var(--u) * 700); min-height: 420px; overflow: hidden; background: #3b92e4; }
.footer__sky { position: absolute; inset: 0; background:
  radial-gradient(ellipse 34% 7% at 20% 18%, rgba(255,255,255,.55), transparent 70%),
  radial-gradient(ellipse 26% 5% at 62% 34%, rgba(255,255,255,.4), transparent 70%),
  radial-gradient(ellipse 30% 6% at 88% 12%, rgba(255,255,255,.45), transparent 70%),
  radial-gradient(ellipse 40% 5% at 40% 52%, rgba(255,255,255,.35), transparent 70%),
  linear-gradient(180deg, #2f86de 0%, #56a9ee 55%, #8fcaf6 100%); }
.footer__word { position: absolute; left: 0; right: 0; text-align: center; top: calc(var(--u) * -8); font-family: var(--tight); font-weight: 700; font-size: 35.55vw; line-height: 1; letter-spacing: -.04em; transform: translateX(-.0365em); color: #fff; white-space: nowrap; }
#footer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.footer__art.is-ready #footer-canvas { opacity: 1; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 12px 28px; padding: calc(var(--u) * 40) var(--nav-r, calc(var(--u) * 43)) calc(var(--u) * 40) var(--nav-l, calc(var(--u) * 43)); color: rgba(255,255,255,.7); font-size: clamp(11px, calc(var(--u) * 12), 14px); }
.footer__links { order: -1; display: flex; align-items: center; gap: calc(var(--u) * 96); margin-right: auto; font-size: clamp(14px, calc(var(--u) * 18), 21px); font-weight: 500; letter-spacing: -.01em; color: #fff; }
.footer__links .footer__logo { display: flex; align-items: center; gap: calc(var(--u) * 9); }
.footer__logo img { height: calc(var(--u) * 40); width: auto; filter: invert(1) brightness(1.2); }
.footer__logo .nav__word { color: #fff; }
.footer__copy { white-space: nowrap; }
@media (max-width: 960px) { .footer__bar { flex-wrap: wrap; } }
.footer__copy .sep { margin: 0 .7em; opacity: .45; }
.footer__terms { cursor: pointer; }
.footer__terms:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__links .footer__logo:hover { text-decoration: none; }
.footer__links a { text-transform: uppercase; letter-spacing: .02em; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 960px) {
  /* tablets + phones: the hero stacks. The page grows to fit, so there is no dead space under "For Anything" */
  .hero { --fs: clamp(48px, 14.4vw, 140px); --edge: var(--gutter); height: auto; min-height: 0; padding-bottom: 58px; }
  .hx-headline { letter-spacing: -.03em; }
  .hx-a, .hx-c { top: 98px; }
  .hx-a { font-size: 1.12em; top: calc(98px - var(--fs) * .09); }          /* "One" a bit bigger; the top is eased up so its baseline still matches "Source" */
  .hx-b, .hx-d { font-size: 1em; }
  #hero-canvas { bottom: auto; height: min(118vw, 720px); }
  .hx-side { position: relative; right: auto; left: auto; top: auto; margin: var(--m-top, 420px) var(--gutter) 0; padding: 0; align-items: stretch; gap: 0; }
  .hx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; margin-bottom: 0; }
  .m { display: inline; }
  .hx-stats dt { font-size: 24px; } .hx-stats dd { font-size: 13px; margin-top: 4px; line-height: 1.25; }
  .hx-cta { height: 54px; margin-top: 44px; width: 100%; justify-content: center; font-size: 17px; }
  .contact { grid-template-columns: 1fr; padding: 90px 24px 100px; }
  .contact h2 { font-size: clamp(48px, 15vw, 96px); }
  .contact__mail { font-size: 17px; }
  .form label { font-size: 14px; } .form input, .form textarea { font-size: 18px; } .form__note { font-size: 15px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 32px; }
  :root { --u: calc(100vw / 640); }

  /* loading screen */
  .pre__brand { gap: 58px; padding-bottom: 20vh; }
  .pre__logo { width: 62vw; max-width: 300px; }
  .pre__brand p { font-size: 23px; letter-spacing: .05em; }

  /* top bar: About, Services and Quote are always showing (no menu button) */
  .nav { top: 10px; justify-content: center; }
  .nav__cta { text-transform: none; letter-spacing: -.01em; }
  .nav__links a, .footer__links a { text-transform: none; letter-spacing: -.01em; }
  .nav__bar, .nav.pill .nav__bar { margin-left: 0; width: calc(100vw - 20px); height: 50px; padding: 0 10px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 20px rgba(27,35,42,.08); }   /* solid strip so the crane hook tucks under it */
  .nav.pill .nav__bar { margin-top: 0; }
  .nav__logo { height: 40px; gap: 8px; } .nav__logo img { height: 34px; }
  .nav__word b, .nav__word span { font-size: 12px; letter-spacing: .08em; } .nav__word span { margin-top: 2px; }
  .nav__bar { justify-content: space-between; }      /* four items, equal gaps */
  .nav__links { display: contents; font-size: 15px; }   /* About + Services become direct members of the bar */
  .nav__logo, .nav.pill .nav__logo { position: static; }
  .nav__cta { width: auto; padding: 0 14px; height: 36px; font-size: 14px; }
  .nav__burger, .nav__menu { display: none; }
  .dt { display: none; }                               /* "About Us" -> "About", "Get A Quote" -> "Quote" */

  /* the pinned container: fills the screen width, with its four labels around it (never behind it) */
  .stage { --u: calc(100vw / 840); }
  /* on phones the container is ordinary page content inside the scene: it scrolls in under the About band, pins
     in the middle of the screen while you read it, then scrolls away on its own (and the same in reverse) */
  .scene { z-index: 2; height: calc(71.43vw + 48vh); overflow: clip; }
  .scene .stage { position: sticky; inset: auto; top: calc(50vh - 35.7vw); width: 100%; height: 71.43vw; z-index: auto; perspective: none; visibility: visible; clip-path: none; }
  .stage__tilt { left: 0; top: 0; }
  .stage__marks { left: 0; top: 0; }
  .scene .stage .stage__marks { opacity: 1; }
  .scene::before { content: ""; position: absolute; top: 0; left: calc(100vw * 427.2 / 840); width: calc(100vw * 4.5 / 840); height: var(--rope, 0px); background: #1f2329; }   /* backup rope: band down to the stage (length set by script on every scroll event) */
  .scene .stage::before { content: ""; position: absolute; bottom: 100%; left: calc(var(--u) * 427.2); width: calc(var(--u) * 4.5); height: 160vh;
    background: repeating-linear-gradient(0deg, #2a3037 0 3px, #181c21 3px 6px); }   /* the hook's rope carries on up, behind the About band */
  .callout { font-size: calc(var(--u) * 24); line-height: 1.5; letter-spacing: .01em; }
  .callout--tl p { left: calc(var(--u) * 48); top: calc(var(--u) * 137); }
  .callout--tl::after { left: calc(var(--u) * 206); top: calc(var(--u) * 166); width: calc(var(--u) * 59); height: calc(var(--u) * 67); }
  .callout--tr p { left: calc(var(--u) * 792); top: calc(var(--u) * 116); transform: translateX(-100%); text-align: right; }
  .callout--tr::after { left: calc(var(--u) * 641); top: calc(var(--u) * 166); width: calc(var(--u) * 26); height: calc(var(--u) * 36); }
  .callout--bl p { left: calc(var(--u) * 48); top: calc(var(--u) * 478); }
  .callout--bl::after { left: calc(var(--u) * 206); top: calc(var(--u) * 459); width: calc(var(--u) * 82); height: calc(var(--u) * 43); }
  .callout--br p { left: calc(var(--u) * 792); top: calc(var(--u) * 498); transform: translateX(-100%); text-align: right; }
  .callout--br::after { left: calc(var(--u) * 626); top: calc(var(--u) * 459); width: calc(var(--u) * 28); height: calc(var(--u) * 43); }

  /* About band: content centred vertically in the orange */
  .about { height: auto; padding: 46px 0 50px; }
  .about .eyebrow { margin-bottom: 20px; }
  .about__text { width: calc(100% - 40px); font-size: calc(var(--u) * 27); line-height: calc(var(--u) * 43); }
  .eyebrow { font-size: 14px; gap: 10px; }
  .eyebrow__g { width: 26px; }

  /* process: photo + four notes, tap a note to open it */
  .process { height: auto; }
  .process__sticky { position: relative; top: 0; height: min(82vh, 680px); min-height: 560px; }
  .dots { display: none; }
  .deck { left: 16px; right: 16px; width: auto; top: var(--dt-px, 20px); height: auto; }
  .card { width: 100%; height: var(--ch-px, 320px); padding: 0 18px; cursor: pointer; background: rgba(255, 90, 45, .9); transition: transform .5s var(--ease), clip-path .5s var(--ease); -webkit-tap-highlight-color: transparent; }
  .card span { position: absolute; left: 18px; top: 18px; font-size: 15px; }
  .card h3 { margin: 0; height: 56px; display: flex; align-items: center; padding: 0 40px 0 38px; font-size: 19px; line-height: 1.1; letter-spacing: -.02em; }
  .card h3 br { display: none; }
  .card::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 30px; line-height: 1; font-weight: 300; }   /* tells you the note opens */
  .card.is-open::after { content: "\2013"; }
  .card__icon { margin: 24px auto 0; width: 92px; height: 80px; }
  .card p { font-size: 17px; line-height: 1.3; padding-bottom: 20px; }
  .process__marks { display: none; }

  /* services: title above, the small tags wrap neatly underneath */
  .projects { padding: 40px 16px 34px; }
  .projects .eyebrow { margin-bottom: 18px; }
  .rows li { display: block; height: auto; position: relative; padding: 18px 0 20px; }
  .rows h3 { font-size: 23px; margin-bottom: 11px; }
  .pills { flex-wrap: nowrap; gap: 1.1vw; }
  .pills span { font-size: 2.75vw; padding: .9vw 1.6vw; white-space: nowrap; letter-spacing: -.015em; }   /* all three tags on one line */
  .rows b { position: absolute; right: 2px; top: 18px; font-size: 22px; }

  /* contact: less empty space above and below */
  .contact { padding: 46px 22px 40px; }
  .contact .eyebrow { margin-bottom: 24px; }
  .form .btn { height: 50px; padding: 0 24px; font-size: 16px; }

  /* footer */
  .footer__art { height: 98vw; min-height: 340px; }
  .footer__word { font-size: 35.55vw; top: 12.5vw; transform: translateX(-.0365em); }   /* ink spans the full width, edge to edge */   /* "Gadfly" spans the screen, as on desktop */
  .footer__bar { flex-direction: column-reverse; align-items: center; text-align: center; gap: 60px; padding: 52px 20px 30px; font-size: 11px; }
  .footer__bar { gap: 56px; }
  .footer__links { order: 0; margin: 0; justify-content: center; gap: 22px 48px; font-size: 16px; white-space: nowrap; flex-wrap: wrap; }
  .footer__links .footer__logo { order: 2; flex-basis: 100%; justify-content: center; gap: 12px; margin-top: 34px; }   /* phones: the three links first, then the (larger) logo, then the copyright */
  .footer__logo img { height: 58px; }
  .footer__logo .nav__word b, .footer__logo .nav__word span { font-size: 21px; }
  .hx-cta .d { display: none; } .hx-cta .mo { display: inline; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }
