/* Increation, the playful version: big condensed capitals, jagged colour shapes that swap
   statements, and a line-drawn office floor you walk through sideways. Brand colours only. */

:root {
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(3.5rem, 11vw, 10rem);
  --fs-h2: clamp(2.5rem, 6vw, 5.5rem);
  --fs-h3: clamp(1.5rem, 2.2vw, 2rem);
}
body { font-family: var(--sans); font-size: 1.0625rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.h2 { font-size: var(--fs-h2); line-height: .95; }
.wordmark { font-family: var(--sans); }
.btn, .btn-line { font-family: var(--display); font-size: 1.125rem; font-weight: 600; letter-spacing: .06em; }
.nav-links { gap: clamp(22px, 2.8vw, 44px); }
.nav-links a { font-family: var(--sans); font-size: .875rem; font-weight: 500; letter-spacing: .14em; color: var(--olive); padding: 12px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a::after { bottom: 6px; height: 2px; background: var(--brass); }
.panel a { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 2.25rem; }
.label, .eyebrow { font-family: var(--display); font-size: 1rem; letter-spacing: .1em; }

/* ───────── intro: three statements over a shape that keeps changing ───────── */
.intro { position: relative; min-height: 100svh; padding-top: var(--nav-h); display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: var(--bone); }
.intro-stage { position: relative; display: grid; place-items: center; }
.intro-shape { position: absolute; inset: 6% 0 10% 0; background: var(--olive); clip-path: polygon(0 4%, 100% 0, 100% 86%, 62% 100%, 34% 92%, 20% 96%, 8% 58%, 2% 34%); }
.intro-line { grid-area: 1 / 1; position: relative; display: grid; justify-items: center; gap: .1em; text-align: center; padding: 0 var(--pad); color: var(--bone); opacity: 0; }
.intro-line small { font-family: var(--sans); font-size: clamp(1.125rem, 2vw, 1.75rem); font-weight: 400; text-transform: none; }
.intro-line strong { font-family: var(--display); font-size: var(--fs-hero); font-weight: 700; line-height: .9; text-transform: uppercase; }
.intro-line:nth-child(2) { opacity: 1; }
.intro-line--ink { color: var(--ink); }
.intro-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 20px 28px; }
.intro-foot p { font-family: var(--display); font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--olive); }
.intro-foot .hero-actions { margin: 0; }
.intro-foot .btn-line { color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .intro-shape { animation: shape 13.5s cubic-bezier(.7, 0, .2, 1) infinite; }
  .intro-line { animation: say 13.5s linear infinite; }
  .intro-line:nth-child(2) { opacity: 0; animation-delay: 0s; }
  .intro-line:nth-child(3) { animation-delay: 4.5s; }
  .intro-line:nth-child(4) { animation-delay: 9s; }
}
@keyframes shape {
  0%, 26% { background: var(--olive); clip-path: polygon(0 4%, 100% 0, 100% 86%, 62% 100%, 34% 92%, 20% 96%, 8% 58%, 2% 34%); }
  33.3%, 59% { background: var(--brass); clip-path: polygon(6% 0, 94% 8%, 100% 46%, 90% 100%, 52% 88%, 10% 100%, 0 70%, 3% 22%); }
  66.6%, 93% { background: var(--ink); clip-path: polygon(0 14%, 58% 0, 100% 10%, 96% 72%, 78% 100%, 30% 90%, 0 100%, 4% 52%); }
  100% { background: var(--olive); clip-path: polygon(0 4%, 100% 0, 100% 86%, 62% 100%, 34% 92%, 20% 96%, 8% 58%, 2% 34%); }
}
@keyframes say { 0% { opacity: 0; transform: translateY(18px); } 4%, 27% { opacity: 1; transform: none; } 31%, 100% { opacity: 0; transform: translateY(-14px); } }

/* ───────── the walk: a line-drawn floor that scrolls sideways ───────── */
.walk { position: relative; background: var(--bone); }
.walk-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.walk-head { position: absolute; left: var(--pad); top: calc(var(--nav-h) + 20px); right: var(--pad); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; z-index: 3; pointer-events: none; }
.walk-head p { font-family: var(--display); font-size: 1.125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); }
.walk-track { position: relative; height: 74svh; width: calc(74svh * 8); flex: none; align-self: flex-start; will-change: transform; }
.walk-track svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.walk-track .ln { fill: none; stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.walk-track .ln-thin { fill: none; stroke: var(--sage); stroke-width: 1; vector-effect: non-scaling-stroke; }
.walk-track .dim { fill: none; stroke: var(--brass-deep); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 5 5; }
.walk-track .dot { fill: var(--sage); }
.walk-track .f-brass { fill: var(--brass); } .walk-track .f-sage { fill: var(--sage); } .walk-track .f-olive { fill: var(--olive); } .walk-track .f-cream { fill: var(--cream); } .walk-track .f-ink { fill: var(--ink); } .walk-track .f-bone { fill: var(--bone); }
.walk-track text { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: .08em; fill: var(--brass-deep); }
.stop { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .35em; font-family: var(--display); font-size: clamp(2rem, 5.4svh, 3.75rem); font-weight: 700; line-height: 1; text-transform: uppercase; text-decoration: none; color: var(--olive); white-space: nowrap; }
.stop::after { content: ""; width: .42em; height: .5em; background: var(--brass); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .3s var(--ease); }
a.stop:hover { color: var(--ink); } a.stop:hover::after { transform: translateX(.2em); }
.stop-note { position: absolute; z-index: 2; max-width: 22em; font-size: clamp(.9375rem, 2svh, 1.125rem); line-height: 1.5; color: var(--text); }
.cut { position: absolute; z-index: 1; margin: 0; overflow: hidden; background: var(--cream); }
.cut img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .5s ease; }
.cut:hover img { filter: none; }
.cut--arch { border-radius: 999px 999px 0 0; }
.cut--a { clip-path: polygon(0 8%, 92% 0, 100% 78%, 70% 100%, 6% 92%); }
.cut--b { clip-path: polygon(8% 0, 100% 10%, 94% 100%, 0 88%, 4% 34%); }
.cut--c { clip-path: polygon(0 0, 86% 6%, 100% 60%, 82% 100%, 10% 96%); }
.walk-end { position: absolute; z-index: 2; display: grid; gap: 22px; justify-items: start; }
.walk-end h2 { font-size: clamp(3rem, 15svh, 9rem); line-height: .88; color: var(--ink); max-width: 9em; }
.walk-bar { position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); z-index: 4; }
/* without the sideways scroll (reduced motion or no script) the floor scrolls by hand */
.walk.is-plain .walk-pin { position: static; height: auto; overflow-x: auto; padding-top: 72px; }
.walk.is-plain .walk-head { position: static; padding: 0 var(--pad) 12px; }
.walk.is-plain .walk-track { height: 560px; width: 4480px; margin-right: 110vw; }
.walk.is-plain .walk-bar { display: none; }

/* ───────── the rest of the page, in the same voice ───────── */
.section-head p { font-size: 1.125rem; }
.feature-body h3, .project-name, .steps3 h3, .service h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.feature-body h3 { font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: .92; }
.project-name { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1; }
.service h3 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: .95; }
.steps3 li::before { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.feature-meta, .project-meta, .project-more { font-family: var(--display); font-size: 1.0625rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.project-media img { filter: grayscale(1) contrast(1.05); transition: filter .5s ease, transform 1s var(--ease); }
.project:hover .project-media img, .project:focus-visible .project-media img { filter: none; }
.project:nth-child(odd) .project-media { clip-path: polygon(0 0, 100% 3%, 97% 100%, 2% 96%); }
.project:nth-child(even) .project-media { clip-path: polygon(3% 2%, 98% 0, 100% 95%, 0 100%); }
.project-media::after { display: none; }
.approach-aside h2 { color: var(--ink); }
.approach-body > p { font-size: 1.1875rem; }
.client-group h3 { font-family: var(--display); font-size: 1.0625rem; font-weight: 600; letter-spacing: .08em; }
.quote blockquote { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.25rem, 5.4vw, 5rem); line-height: .95; max-width: 16em; }
.quote { text-align: left; } .quote .arches { margin-left: 0; }
.section--cream.quote-band { background: var(--brass); }
.quote-band .quote figcaption { color: var(--ink); }
.quote-band .arches { stroke: var(--ink); }
.contact-intro h2 { color: var(--on-dark); }
.field label { font-family: var(--display); font-size: 1.0625rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.footer h4 { font-family: var(--display); font-size: 1.0625rem; }
.sheet-body h2, .sheet-stats dt { font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.sheet-body h3 { font-family: var(--display); font-size: 1.0625rem; }
.phero h1, .sec h2, .cta h2, .step h3, .faq summary, .proj p span:first-child { font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.phero h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: .92; }
.step b { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }

.section--ink .hero-facts { border-top: 0; }
.hero-facts dt { font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.hero-facts dd { font-family: var(--display); font-size: 1.0625rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 760px) {
  .walk-head p + p { display: none; }
  .walk-track { height: 66svh; width: calc(66svh * 8); }
  .intro-shape { inset: 4% 0 6% 0; }
}

/* ───────── approach: a small office that goes from drawing to built ───────── */
.approach-3d { position: relative; margin-top: clamp(20px, 3vw, 36px); }
.approach-3d canvas { display: none; position: relative; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.approach-3d canvas:active { cursor: grabbing; }
.approach-3d-note { display: none; }
.approach-3d.is-live { aspect-ratio: 5 / 4; max-height: 58svh; width: 112%; margin-left: -7%; }
/* a brass shape comes up behind the office as it is built */
.approach-3d.is-live::before { content: ""; position: absolute; inset: 10% 4% 14% 8%; background: var(--brass); clip-path: polygon(4% 18%, 58% 0, 100% 22%, 94% 78%, 62% 100%, 22% 90%, 0 60%); opacity: calc(var(--built, 1) * .34); }
.approach-3d.is-live canvas { display: block; }
.approach-3d.is-live .arches { display: none; }
.approach-3d.is-live .approach-3d-note { display: flex; justify-content: space-between; gap: 16px; position: absolute; left: 6%; right: 10%; bottom: -14px; font-family: var(--display); font-size: 1rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep); pointer-events: none; }
.approach-3d-stage { color: var(--ink); font-weight: 700; }
@media (max-width: 960px) { .approach-3d.is-live { width: 100%; margin-left: 0; } .approach-3d.is-live .approach-3d-note { left: 0; right: 0; } }
