/* thinkwork site styles. Layout measurements follow the 1920px-wide design PDF. */
:root {
  --orange: #f16621; --red: #c82e2e; --ink: #4c4c4c;
  --grad: linear-gradient(120deg, var(--orange) 25%, var(--red) 80%);
  --wrap: 1240px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
/* No overflow on body: it would make body the scroll container and break the sticky header in iOS Safari.
   html's overflow-x: clip already stops sideways scrolling. */
body { position: relative; margin: 0; font: 500 1rem/1.5 Raleway, Arial, sans-serif; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 900; line-height: 1.12; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.9rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }
.lede { max-width: 62rem; margin: 0 auto; font-size: clamp(1rem, 1.05vw, 1.15rem); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }

/* Faint background swoosh behind the upper page, as in the design. */
.deco { position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; }
.swoosh { position: absolute; top: 0; left: -38vw; width: 100vw; max-width: none; height: auto;
          opacity: .05; transform: translateY(var(--swoosh-y, 0)) rotate(-24deg); transform-origin: 70% 0;
          -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 92%); mask-image: linear-gradient(to right, #000 55%, transparent 92%); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: 7.6vw; min-height: 64px; max-height: 146px;
               background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: height .4s var(--ease-out), box-shadow .4s; }
.site-header .bar { position: relative; height: 100%; display: flex; align-items: center; padding-left: 2.6vw; overflow: hidden; }
.site-header .logo-link { position: relative; z-index: 2; display: block; line-height: 0; }
.site-header .logo { display: block; width: 21.4vw; min-width: 140px; max-width: 411px; height: auto; aspect-ratio: 559 / 85; overflow: visible; transition: width .4s var(--ease-out); }
.site-header .ribbon { position: absolute; left: 24.8vw; top: 50%; width: 98.3vw; max-width: none; height: auto; aspect-ratio: 351.2 / 15.9; overflow: visible;
                       transform: translateY(-50%); transform-origin: left center; }
.site-header nav { position: absolute; z-index: 2; left: 47.5vw; right: 2vw; top: 50%; transform: translateY(-50%);
                   display: flex; align-items: center; gap: 2.6vw; font-size: clamp(.72rem, .78vw, .95rem); font-weight: 600; text-transform: uppercase; }
.site-header nav a { color: #fff; text-decoration: none; position: relative; white-space: nowrap; padding: .3em 0; }
.site-header nav a:not(.cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff;
                                      transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.site-header nav a:hover::after, .site-header nav a[aria-current]::after { transform: scaleX(1); }
.site-header nav .cta { margin-left: .4vw; background: #fff; color: var(--orange); border-radius: 4px; padding: .45em 1.4em; transition: transform .25s, box-shadow .25s; }
.site-header nav .cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.site-header.shrunk { height: 5vw; box-shadow: 0 2px 18px rgba(0,0,0,.08); }
.site-header.shrunk .logo { width: 15vw; }
.menu-btn { display: none; }

/* ---------- Photo bands (hero, CTA) ---------- */
.photo { position: relative; overflow: hidden; color: #fff; text-align: center; isolation: isolate;
         border-block: clamp(10px, 1.25vw, 24px) solid var(--orange); border-image: var(--grad) 1; }
.photo .bg { position: absolute; inset: -35% 0; z-index: -2; background: url(../img/cutter.jpg) center 40% / cover no-repeat;
             transform: translate3d(0, var(--parallax, 0), 0); will-change: transform; }
.photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(241,102,33,.72), rgba(200,46,46,.62)); mix-blend-mode: multiply; }
.photo.red::before { background: linear-gradient(110deg, rgba(220,60,40,.8), rgba(200,46,46,.75)); }
.photo .inner { padding: clamp(4rem, 9vw, 9.5rem) 1.5rem; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.photo.short .inner { padding: clamp(2.5rem, 4.4vw, 4.6rem) 1.5rem; }
.photo h1, .photo h2 { font-size: clamp(2rem, 3.6vw, 4.3rem); margin: 0 0 .2em; text-transform: uppercase; }
.photo p { font-size: clamp(1.05rem, 1.45vw, 1.8rem); font-weight: 600; max-width: 52em; margin: 0 auto; line-height: 1.3; }
.photo .stack { display: block; }

/* ---------- Ribbon button ---------- */
.btn { --bw: clamp(230px, 22.7vw, 436px); display: inline-flex; align-items: center; position: relative; width: var(--bw); max-width: 100%; aspect-ratio: 623 / 69;
       padding-left: calc(var(--bw) * .145); color: #fff; text-decoration: none; font-weight: 900; font-size: clamp(.95rem, 1.28vw, 1.55rem);
       background: url(../img/btn-ribbon.svg) left center / 100% 100% no-repeat; border: 0; cursor: pointer; font-family: inherit;
       transition: filter .3s, transform .3s var(--ease-out); }
.btn span { position: relative; z-index: 1; }
.btn:hover, .btn:focus-visible { filter: brightness(1.08) saturate(1.1); transform: translateX(6px); }
.btn.big { --bw: clamp(250px, 28.5vw, 547px); font-size: clamp(1rem, 1.45vw, 1.75rem); }
.btn-row { text-align: center; padding: clamp(3rem, 5vw, 6rem) 0; }

/* ---------- Home: intro ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; align-items: center; padding: clamp(4rem, 9vw, 10rem) 0 clamp(4rem, 8vw, 9rem); }
.intro .copy { padding-left: max(1.5rem, 15.4vw); max-width: calc(15.4vw + 760px); }
.intro .copy p { font-size: clamp(.98rem, .98vw, 1.15rem); margin-bottom: 2rem; }
.intro .copy h2 { font-size: clamp(1.8rem, 2.6vw, 3.1rem); }
.card-list { background: var(--grad); color: #fff; border-radius: 22px 0 0 22px; padding: clamp(1.8rem, 2.4vw, 3rem) 2rem clamp(1.8rem, 2.4vw, 3rem) clamp(2.5rem, 4.7vw, 6rem); }
.card-list ul { list-style: none; margin: 0; padding: 0; font-weight: 800; font-size: clamp(1rem, 1.1vw, 1.35rem); line-height: 1.45; }
.card-list li::before { content: "•"; display: inline-block; width: 1.3em; margin-left: -1.3em; opacity: .9; }
.card-list a { text-decoration: none; background: linear-gradient(#fff, #fff) left bottom / 0 2px no-repeat; transition: background-size .35s var(--ease-out); }
.card-list a:hover { background-size: 100% 2px; }

/* ---------- Gradient statement band ---------- */
.band { background: var(--grad); color: #fff; text-align: center; padding: clamp(1.8rem, 2.3vw, 2.8rem) 1rem; overflow: hidden; }
.band h2 { font-size: clamp(2rem, 3.4vw, 4rem); margin: 0; text-transform: uppercase; }
.band p { margin: 0; font-weight: 600; font-size: clamp(1.05rem, 1.45vw, 1.8rem); }

/* ---------- Details Matter ---------- */
.details { padding: clamp(4rem, 8vw, 9rem) 0; }
.details h2 { text-align: center; margin-bottom: clamp(2rem, 4vw, 4.5rem); }
.details .grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; max-width: 1260px; margin: 0 auto; padding: 0 1.5rem; }
.pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pills li { background: var(--grad); color: #fff; font-weight: 800; text-align: center; border-radius: 6px; padding: .65rem .8rem; font-size: clamp(.8rem, .72vw, .9rem);
            box-shadow: 0 6px 16px rgba(200,46,46,.18); }

/* Zicam 3D carousel */
.carousel { position: relative; height: clamp(300px, 24vw, 460px); perspective: 1400px; perspective-origin: 50% 40%; }
.carousel .item { position: absolute; left: 50%; bottom: 8%; width: auto; height: 74%; transform-style: preserve-3d; will-change: transform, opacity;
                  filter: drop-shadow(0 22px 22px rgba(0,0,0,.16)); }
.carousel .item img { height: 100%; width: auto; max-width: none; }
.carousel .floor { position: absolute; left: 18%; right: 18%; bottom: 2%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.14), transparent); }

/* ---------- Specialty panels ---------- */
.specialty { padding-top: clamp(4rem, 8vw, 9rem); }
.specialty .lede { margin-bottom: clamp(2rem, 2.5vw, 3rem); }
/* Seven equal 286px-at-1920 columns, as in the design: a partial edge column each side and five panels. */
.panels { display: grid; grid-template-columns: repeat(7, 1fr); height: 35.9vw; max-height: 690px; min-height: 380px; background: var(--grad); }
.panels .edge { background: var(--grad); }
.panel { position: relative; overflow: hidden; color: #fff; text-decoration: none; border-left: 1px solid rgba(255,255,255,.35);
         background: linear-gradient(160deg, var(--orange) 15%, var(--red) 95%); }
.panels .panel:last-of-type { border-right: 1px solid rgba(255,255,255,.35); }
/* Photo fills the top 63% of the panel (design: photo above, gradient below). */
.panel .photo-reveal { position: absolute; inset: 0 0 37% 0; background: center / cover no-repeat; clip-path: inset(0 0 100% 0);
                       transition: clip-path .75s var(--ease-out); }
.panel .photo-reveal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.panel .label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; text-align: center;
                font-weight: 900; text-transform: uppercase; font-size: clamp(1.15rem, 2.1vw, 2.5rem); line-height: 1.05;
                text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.panel:hover .photo-reveal, .panel:focus-visible .photo-reveal, .panel.active .photo-reveal { clip-path: inset(0 0 0 0); }
.panel:hover .photo-reveal img, .panel:focus-visible .photo-reveal img, .panel.active .photo-reveal img { transform: none; }

/* ---------- Icon tiles ---------- */
.services-home { padding: clamp(4rem, 8vw, 9rem) 0 clamp(3rem, 6vw, 7rem); }
.services-home .lede { margin-bottom: clamp(2.5rem, 4vw, 4.5rem); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 2.4vw, 2.8rem) clamp(1rem, 2vw, 2.4rem); max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.tiles.three { grid-template-columns: repeat(3, 1fr); max-width: 560px; }
.tile { text-align: center; text-decoration: none; color: var(--ink); display: block; }
.tile .icon { width: clamp(110px, 13.5vw, 260px); max-width: 100%; aspect-ratio: 1; margin: 0 auto 1.1rem; border-radius: 22%; background: var(--grad);
              display: grid; place-items: center; box-shadow: 0 10px 24px rgba(200,46,46,.2); transition: transform .45s var(--ease-out), box-shadow .45s; }
.tiles .tile .icon { width: 100%; max-width: 92px; }
.tile .icon img { width: 56%; height: 56%; object-fit: contain; transition: transform .45s var(--ease-out); }
a.tile:hover .icon { transform: translateY(-8px) rotate(-3deg); box-shadow: 0 18px 32px rgba(200,46,46,.28); }
a.tile:hover .icon img { transform: scale(1.08); }
.tile .cap { font-weight: 800; font-size: clamp(.8rem, .75vw, .92rem); line-height: 1.3; max-width: 11rem; margin: 0 auto; display: block; }
.tile .cap b { display: block; font-weight: 900; text-transform: uppercase; }
.tile .cap.plain { font-weight: 600; }

/* ---------- About ---------- */
.statement { padding-block: clamp(4rem, 7vw, 8rem) clamp(3rem, 4.5vw, 5rem); }
.statement p { max-width: 60rem; margin: 0 auto; font-size: clamp(1rem, 1.05vw, 1.2rem); }
.name-block { background: var(--grad); color: #fff; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3vw;
              padding: clamp(3.5rem, 5.5vw, 6.5rem) 0; overflow: hidden; }
.name-block .mark { justify-self: end; width: min(30vw, 580px); }
.name-block .copy { max-width: 690px; padding-right: 1.5rem; font-size: clamp(1rem, 1.05vw, 1.2rem); }
.name-block h2 { font-size: clamp(1.8rem, 2.6vw, 3.1rem); }
.lockup { text-align: center; padding: clamp(5rem, 9vw, 10rem) 0 clamp(2.5rem, 4vw, 4rem); }
.lockup .how { display: block; font-weight: 900; font-size: clamp(1.6rem, 2.2vw, 2.6rem); text-transform: uppercase; line-height: 1; }
.lockup .tw { display: inline-flex; align-items: center; gap: .25em; margin-top: .25rem; }
.lockup .tw img { height: clamp(40px, 3.3vw, 64px); width: auto; }


.lockup .amp { font-weight: 900; font-size: clamp(2.4rem, 3.4vw, 4rem); line-height: 1; }
.pillars { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem clamp(3rem, 5vw, 6rem); text-align: center; }
.pillars section { padding: clamp(2rem, 4.2vw, 5rem) 0; }
.pillars p { font-size: clamp(.98rem, 1vw, 1.15rem); }
.pillars a:not(.btn) { color: #0b5d79; font-weight: 800; text-decoration: none; }
.values { padding: clamp(3rem, 6vw, 7rem) 0 clamp(5rem, 9vw, 10rem); }
.values h2 { text-align: center; text-transform: uppercase; margin-bottom: clamp(2.5rem, 4.5vw, 5rem); }

/* ---------- Services page rows ---------- */
.svc-head { text-align: center; text-transform: uppercase; padding: clamp(4rem, 7vw, 8rem) 1.5rem clamp(2rem, 4vw, 4.5rem); margin: 0; }
.rows { display: grid; gap: clamp(2rem, 2.3vw, 2.8rem); padding-bottom: clamp(4rem, 7vw, 8rem); }
.row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3vw; scroll-margin-top: 140px; }
.row .text { padding-left: max(1.5rem, 15.4vw); max-width: calc(15.4vw + 780px); }
.row .text p { font-size: clamp(.95rem, .98vw, 1.15rem); margin: 0; }
.row .media { position: relative; height: clamp(220px, 20vw, 386px); border-radius: 22px 0 0 22px; background: var(--grad); overflow: hidden; }
.row .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Photos are cut from the comp at the tile's left edge; wider tiles grow to the right. */
.row .media img:not(.glyph) { object-position: left center; }
/* Later group headlines on Services: the row block above already supplies the space. */
.rows + .svc-head { padding-top: 0; }
.design-svc { background: var(--grad); color: #fff; padding: clamp(4rem, 6vw, 7rem) 0 clamp(4rem, 7vw, 8rem); }
.design-svc .svc-head { padding-top: 0; }
.design-svc .row { grid-template-columns: 1fr 1fr; }
.design-svc .row .media { order: -1; background: #fff; border-radius: 0 22px 22px 0; }
.design-svc .row .media .glyph { inset: 22% 0; width: 100%; height: 56%; object-fit: contain; transition: transform .6s var(--ease-out); }
.design-svc .row:hover .media .glyph { transform: scale(1.08) rotate(-3deg); }
.design-svc .row .text { padding-left: 0; padding-right: 1.5rem; max-width: 760px; }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(3.5rem, 6vw, 7rem) clamp(4rem, 7vw, 8rem); }
.contact .layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.contact aside h2 { font-size: clamp(1.7rem, 2.3vw, 2.7rem); }
.contact aside .card-list { border-radius: 22px; margin: 2rem 0 0; padding: 2rem 2rem 2rem 2.6rem; }
.contact aside .card-list ul { font-size: clamp(1rem, 1.2vw, 1.4rem); }
form.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
form.quote label { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; font-size: .95rem; }
form.quote label.full { grid-column: 1 / -1; }
form.quote input, form.quote textarea { font: inherit; font-weight: 500; padding: .85rem .95rem; border: 1px solid #d3d3d3; border-radius: 6px; background: #fff; color: #222;
                                        transition: border-color .2s, box-shadow .2s; }
form.quote input:focus, form.quote textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241,102,33,.2); }
form.quote textarea { min-height: 10rem; resize: vertical; }
form.quote .hp { position: absolute; left: -9999px; }
form.quote .cf-turnstile, form.quote .actions, form.quote .status { grid-column: 1 / -1; }
form.quote .actions .btn { --bw: 300px; }
form.quote .btn:disabled { opacity: .6; cursor: wait; transform: none; }
form.quote .status { font-weight: 700; min-height: 1.5em; margin: 0; }
form.quote .status.ok { color: #1b7a3a; } form.quote .status.err { color: var(--red); }

/* ---------- Simple text pages ---------- */
.prose { max-width: 50rem; margin: 0 auto; padding: clamp(3rem, 6vw, 6rem) 1.5rem; }
.prose h2 { font-size: clamp(1.3rem, 1.6vw, 1.7rem); margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grad); color: #fff; text-align: center; padding: clamp(3rem, 5vw, 5.5rem) 1rem clamp(2.5rem, 3.5vw, 4rem); font-weight: 900; font-size: .9rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .li { display: inline-flex; margin-top: 1.25rem; width: 44px; height: 44px; border-radius: 50%; background: #fff; align-items: center; justify-content: center;
                   transition: transform .3s var(--ease-out); }
.site-footer .li:hover { transform: translateY(-3px) rotate(-8deg); text-decoration: none; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), clip-path 1s var(--ease-out);
                    transition-property: opacity, transform, clip-path;
                    transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.js [data-reveal="wipe"] { opacity: 1; clip-path: inset(0 100% 0 0); }
.js [data-reveal="wipe-l"] { opacity: 1; clip-path: inset(0 0 0 100%); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* Only wipes animate clip-path; leave others unclipped so hover lifts and shadows are not cut off. */
.js [data-reveal^="wipe"].in { clip-path: inset(0 0 0 0); }

/* Hero entrance */
.js .hero-in > * { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease-out) forwards; }
.js .hero-in > :nth-child(2) { animation-delay: .18s; }
@keyframes rise { to { opacity: 1; transform: none; } }
/* Header draw-on: the logo is set out like an architectural drawing (blue guides on its measured
   ascender, x-height, baseline and stem centres, then the traced letter outlines), painted in with a
   dry brush along the handwriting strokes, then the drawing lifts away.
   The ribbon draws down its first strand and up the second, then unrolls right behind a feathered
   edge; nav links fade in as the band reaches them. Without .js the sketch stays hidden and the
   logo is static. Stroke widths are logo units, ~1 screen px at each logo size. */
.logo .sketch { display: none; --sw: 2; }
.js .logo .sketch { display: inline; }
.logo .guides { stroke: #7fa7d1; stroke-width: var(--sw); opacity: .9; }
.logo .guides .stem { opacity: .75; }
.logo .outline { stroke: var(--orange); stroke-width: calc(var(--sw) * 1.1); }
.js .logo .guides line, .js .logo .outline path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.js .logo .guides line { animation: pen .5s cubic-bezier(.3,0,.2,1) calc(.05s + var(--d) * .08s) forwards; }
.js .logo .guides .stem { animation: pen .4s cubic-bezier(.45,0,.25,1) calc(.25s + var(--d) * .035s) forwards; }
.js .logo .outline path { animation: pen .55s cubic-bezier(.45,0,.25,1) var(--t) forwards; }
.js .logo .guides { animation: lift .45s 1.65s forwards; }
.js .logo .outline { animation: lift .4s 1.75s forwards; }
@keyframes lift { to { opacity: 0; } }
.js .logo .pen path { stroke-dasharray: 1 2; stroke-dashoffset: 1.05; animation: pen .34s cubic-bezier(.3,.1,.3,1) forwards;
                      animation-delay: calc(.95s + var(--d) * .042s); }
/* The dash waits just off the path's start (offset > dash length): a zero-length dash exactly at the
   start still paints its round/square cap, which flashed a dot and a wedge before drawing began. */
@keyframes pen { to { stroke-dashoffset: 0; } }
/* The brushed edge is ragged by design; the clean logo settles in under it once the paint is down. */
.js .logo .final { opacity: 0; animation: fade .3s 1.95s forwards; }
.js .ribbon .strand { stroke-dasharray: 1 2; stroke-dashoffset: 1.05; animation: pen .6s .2s cubic-bezier(.55,0,.75,.55) forwards; }
/* The bar starts the instant the V looks finished (.74s: the strand's square cap completes the V a
   little before the dash itself ends at .8s). Its narrow feathered edge (gradient stop .997, ~11 units) starts
   at the band's left tip (x 36) and sweeps across the visible width (~480 units), then jumps the rest
   of the 3600-unit mask so wide screens finish revealed. The strand ends moving, at about the speed
   the band starts at, so the hand-off has no pause. */
.js .ribbon .band { transform: translateX(-3564px); animation: band 1.5s .74s forwards; }
@keyframes band {
  0%   { transform: translateX(-3564px); animation-timing-function: cubic-bezier(.3,.12,.25,1); }
  92%  { transform: translateX(-3000px); animation-timing-function: linear; }
  100% { transform: translateX(0); }
}
.js .site-header nav { opacity: 0; animation: fade .4s 1s forwards; }
@keyframes fade { to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-header { height: 64px; }
  .site-header.shrunk { height: 58px; }
  .site-header .logo, .site-header.shrunk .logo { width: 150px; }
  .logo .sketch { --sw: 3.7; }
  .site-header .ribbon { left: 175px; width: 900px; }
  .menu-btn { display: grid; place-items: center; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px;
              border: 0; border-radius: 8px; background: #fff; color: var(--orange); cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 22px; height: 3px; border-radius: 2px; background: currentColor; position: relative; transition: transform .3s, background .3s; }
  .menu-btn span::before { position: absolute; top: -7px; } .menu-btn span::after { position: absolute; top: 7px; }
  .nav-open .menu-btn span { background: transparent; }
  .nav-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); } .nav-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
  .site-header nav { position: fixed; inset: 64px 0 auto 0; transform: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.5rem 1.5rem;
                     background: var(--grad); font-size: 1rem; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease-out), visibility 0s .45s; }
  .js .site-header nav { opacity: 1; animation: none; }
  .nav-open .site-header nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease-out); }
  .site-header nav a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .site-header nav .cta { margin: 1rem 0 0; text-align: center; border: 0; }
  .site-header .bar { overflow: visible; }
  /* backdrop-filter would make the header the containing block of the fixed nav, and Safari then clips
     the open menu away entirely; the header is near-opaque anyway. */
  .site-header { overflow-x: clip; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .intro, .name-block, .row, .design-svc .row, .contact .layout { grid-template-columns: minmax(0, 1fr); }
  .intro .copy, .row .text, .design-svc .row .text { padding: 0 1.5rem; max-width: none; }
  .card-list { margin-left: 1.5rem; }
  .row .media { margin-left: 1.5rem; height: 200px; }
  .design-svc .row .media { margin: 0 1.5rem 0 0; }
  .details .grid { grid-template-columns: 1fr; }
  .pills { max-width: 340px; width: 100%; margin: 0 auto; }
  .panels { display: flex; flex-direction: column; height: auto; max-height: none; }
  .panels .edge { display: none; }
  .panel { flex: none; height: 120px; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .panel .label { transform: translate(-50%, -50%); font-size: 1.4rem; white-space: normal; width: 90%; }
  .panel br { display: none; }
  .panel .photo-reveal { inset: 0; }
  .panel .photo-reveal::after { background: rgba(200,46,46,.45); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles.three { grid-template-columns: repeat(2, 1fr); }
  .name-block .mark { justify-self: center; width: 70vw; }
  .name-block .copy { padding: 0 1.5rem; }
  form.quote { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .photo .bg { transform: none; }
}

/* Carousel: static side-by-side layout until JS takes over; pause control. */
.carousel .item:nth-child(2) { transform: translateX(-98%) rotate(-3deg); }
.carousel .item:nth-child(3) { transform: translateX(-4%) rotate(3deg); }
.carousel-wrap { position: relative; }
.carousel-toggle { position: absolute; left: 50%; transform: translateX(-50%); bottom: -1.6rem; font: 600 .78rem Raleway, Arial, sans-serif; color: #888; background: none; border: 0; cursor: pointer; display: none; }
.carousel-toggle:hover { color: var(--orange); }
.carousel.animated + .carousel-toggle { display: block; }
@media (prefers-reduced-motion: reduce) { .carousel-toggle { display: none !important; } }

/* Panels are buttons. */
button.panel { border: 0; border-left: 1px solid rgba(255,255,255,.35); font: inherit; padding: 0; cursor: pointer; text-align: inherit; }
button.panel:focus-visible { outline: 3px solid #fff; outline-offset: -7px; }

/* ---------- Design-scale sizing (desktop) ----------
   Sizes are measured from ThinkWork_Home_Services_About.pdf (a 1920px artboard drawn oversized). */
@media (min-width: 901px) {
  /* The comp's 23.4px body copy is scaled by 0.68 to 16px; every size uses that fixed factor (--u = one design
     px), so type and components keep standard sizes at any window width. Horizontal positions use --w, one
     design px of a centred container at most 1306px (1920 x 0.68) wide, so the layout reflows instead of
     scaling. --fx is the container's left offset. */
  :root { --u: .68px; --W: min(100vw, 1306px); --w: calc(var(--W) / 1920); --fx: calc((100vw - var(--W)) / 2); }
  body { font-size: 1rem; line-height: 1.4; }
  h2 { font-size: calc(52.6 * var(--u)); line-height: 1.02; }
  h3 { font-size: calc(43 * var(--u)); }
  .lede, .statement p, .pillars p, .intro .copy p, .name-block .copy, .row .text p { font-size: 1rem; line-height: 1.4; }
  .lede { max-width: calc(1240 * var(--u)); }
  .site-header nav { font-size: calc(19.5 * var(--u)); }

  .photo h1, .photo h2 { font-size: calc(67.1 * var(--u)); line-height: .97; }
  .photo p { font-size: calc(30.6 * var(--u)); line-height: 1.24; }
  .photo .inner { padding: calc(255 * var(--u)) 1.5rem; }
  .photo.short .inner { padding: calc(130 * var(--u)) 1.5rem; }
  .photo { border-block-width: calc(22 * var(--u)); }

  .btn { --bw: calc(508 * var(--u)); font-size: calc(33.1 * var(--u)); }
  .btn.big { --bw: calc(641 * var(--u)); font-size: calc(41.6 * var(--u)); }
  .btn-row { padding: calc(110 * var(--u)) 0; }

  .intro { grid-template-columns: calc(var(--fx) + 1147 * var(--w)) 1fr; gap: 0; padding: calc(190 * var(--u)) 0 calc(195 * var(--u)); }
  .intro .copy { padding-left: calc(var(--fx) + 295 * var(--w)); max-width: calc(var(--fx) + 1060 * var(--w)); }
  .intro .copy h2 { font-size: calc(52.6 * var(--u)); }
  .intro .copy p { margin-bottom: calc(50 * var(--u)); }
  .card-list { border-radius: calc(26 * var(--u)) 0 0 calc(26 * var(--u)); padding: calc(48 * var(--u)) 2rem calc(48 * var(--u)) calc(91 * var(--u)); }
  .card-list ul { font-size: calc(31.7 * var(--u)); line-height: 1.37; }

  .band { padding: calc(42 * var(--u)) 1rem calc(38 * var(--u)); }
  .band h2 { font-size: calc(67.1 * var(--u)); line-height: 1; }
  .band p { font-size: calc(30.6 * var(--u)); }

  .details { padding: calc(170 * var(--u)) 0 calc(250 * var(--u)); }
  .details h2 { margin-bottom: calc(150 * var(--u)); }
  .details .grid { grid-template-columns: calc(455 * var(--u)) 1fr; gap: calc(120 * var(--w)); max-width: none; padding: 0 0 0 calc(var(--fx) + 330 * var(--w)); }
  .pills { gap: calc(23 * var(--u)); }
  .pills li { font-size: calc(24.4 * var(--u)); padding: 0; height: calc(69 * var(--u)); display: grid; place-items: center; border-radius: calc(9 * var(--u)); }
  .carousel { height: calc(560 * var(--u)); width: min(calc(700 * var(--u)), 100%); }

  .specialty { padding-top: calc(130 * var(--u)); }
  .specialty .lede { margin-bottom: calc(64 * var(--u)); }
  /* Five 284u panels centred as drawn; the gradient edge columns take the remaining width. */
  .panels { grid-template-columns: 1fr repeat(5, min(calc(284 * var(--u)), 18vw)) 1fr; height: calc(689 * var(--u)); min-height: 0; max-height: none; }
  .panel .label { font-size: calc(52.6 * var(--u)); line-height: 1; }

  .services-home { padding: calc(30 * var(--u)) 0 calc(200 * var(--u)); }
  .services-home .lede { margin-bottom: calc(110 * var(--u)); }
  .tiles { max-width: calc(1276 * var(--u)); gap: calc(70 * var(--u)) calc(78 * var(--u)); }
  .tiles.three { max-width: calc(1087 * var(--u)); gap: calc(105 * var(--u)) calc(150 * var(--u)); }
  .tiles .tile .icon { max-width: none; width: calc(260 * var(--u)); border-radius: calc(46 * var(--u)); margin-bottom: calc(36 * var(--u)); }
  .tile .cap { font-size: calc(27.3 * var(--u)); line-height: 1.24; max-width: calc(290 * var(--u)); }

  .statement { padding-block: calc(170 * var(--u)) calc(95 * var(--u)); }
  .statement h2 { margin-bottom: calc(30 * var(--u)); }
  .statement p { max-width: calc(1160 * var(--u)); }
  .name-block { padding: calc(100 * var(--u)) 0; grid-template-columns: calc(var(--fx) + 973 * var(--w)) 1fr; gap: 0; }
  .name-block .mark { width: calc(579 * var(--u)); justify-self: start; margin-left: calc(var(--fx) + 307 * var(--w)); }
  .name-block .copy { max-width: calc(680 * var(--u)); }
  .name-block h2 { font-size: calc(52.6 * var(--u)); }
  .lockup .how { font-size: calc(52.6 * var(--u)); }
  .lockup .tw img { height: calc(95 * var(--u)); }
  .lockup .amp { font-size: calc(82.5 * var(--u)); }
  .lockup .tw { gap: calc(16 * var(--u)); }
  /* The design leaves ~130u of white between the header and the first photo band. */
  .pillars { max-width: calc(1240 * var(--u)); }
  .pillars section { padding: calc(85 * var(--u)) 0 calc(60 * var(--u)); }
  .pillars h2 { margin-bottom: calc(30 * var(--u)); }

  .svc-head { font-size: calc(52.6 * var(--u)); padding: calc(160 * var(--u)) 1.5rem calc(150 * var(--u)); }
  .rows { gap: calc(66 * var(--u)); }
  .row { grid-template-columns: calc(var(--fx) + 1147 * var(--w)) 1fr; gap: 0; }
  .row .text { padding-left: calc(var(--fx) + 295 * var(--w)); max-width: calc(var(--fx) + 1060 * var(--w)); }
  .row .text h3 { font-size: calc(43 * var(--u)); }
  .row .media { height: calc(386 * var(--u)); border-radius: calc(26 * var(--u)) 0 0 calc(26 * var(--u)); }
  .design-svc .row { grid-template-columns: calc(var(--fx) + 950 * var(--w)) 1fr; gap: calc(86 * var(--u)); }
  .design-svc .row .media { border-radius: 0 calc(26 * var(--u)) calc(26 * var(--u)) 0; }
  .design-svc .row .text { max-width: calc(760 * var(--u)); padding-right: var(--fx); box-sizing: content-box; }

  .site-header { height: calc(190 * var(--u)); min-height: 0; max-height: none; }
  .site-header.shrunk { height: calc(130 * var(--u)); }
  .site-header .bar { padding-left: calc(var(--fx) + 51 * var(--w)); }
  .site-header .logo { width: calc(411 * var(--u)); min-width: 0; max-width: none; }
  .site-header.shrunk .logo { width: calc(330 * var(--u)); }
  .site-header .ribbon { left: calc(var(--fx) + 477 * var(--w)); width: calc(1887 * var(--u)); }
  .site-header nav { left: auto; right: calc(var(--fx) + 271 * var(--w)); gap: clamp(16px, 2.9vw, 38px); }
  .site-header nav .cta { margin-left: calc(4 * var(--u)); padding: calc(12 * var(--u)) calc(32 * var(--u)); }
  .site-footer { font-size: calc(19.5 * var(--u)); padding: calc(105 * var(--u)) 1rem calc(80 * var(--u)); }
  .site-footer .li { width: calc(62 * var(--u)); height: calc(62 * var(--u)); min-width: 36px; min-height: 36px; }
}

/* Mobile fixes (after the button.panel rule so they win). */
@media (max-width: 900px) {
  .panels .panel, .panels button.panel { border: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .site-header.shrunk { height: 64px; }
  /* Without the menu script the nav simply shows open under the header. */
  html:not(.has-menu) .site-header nav { clip-path: none; visibility: visible; }
  html:not(.has-menu) .menu-btn { display: none; }
}
