/* Brand colours, sampled from the Promax logo. */
:root {
  --orange: #cc4409;
  --orange-bright: #f75e08;
  --orange-dark: #a8380a;
  --wrap: 72.5rem;
  --red: #f12c0f;
  --black: #0b0b0c;
  --ink: #1d1f22;
  --grey: #5f646a;
  --line: #d6d4ce;
  --tint: #e3e1db;
  --paper: #ecebe7;
  --white: #ffffff;
  --brand-line: linear-gradient(90deg, #f12c0f, #fb7402);
  --radius: 14px;
  --font: "Barlow", system-ui, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; font-size: clamp(16px, calc(0.9vw + 3px), 21px); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--black); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 720px; }
.hidden, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--white); padding: 8px; z-index: 100; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.label, .meta { display: block; font: 600 .76rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--grey); margin-bottom: .8em; }
.label { color: var(--orange-dark); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0 1.5rem; border: 1px solid var(--orange); border-radius: 999px; background: var(--orange); color: var(--white); font: 600 1rem var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn--small { min-height: 40px; padding: 0 18px; }
.btn--ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn--ghost:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.link { font-weight: 600; text-decoration: none; }
.link::after { content: " →"; }
.link:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; background: var(--black); transition: background .35s ease; }
.header::after { content: ""; display: block; height: 3px; background: var(--brand-line); transition: opacity .35s ease; }
main { padding-top: 79px; }
.has-hero main { padding-top: 0; }
.has-hero .header:not(.is-scrolled) { background: transparent; }
.has-hero .header:not(.is-scrolled)::after { opacity: 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.75rem; }
.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 3.25rem; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: .6rem .9rem; color: var(--white); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--orange); }
.nav__cta { margin-left: 10px; }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 12px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); }
@media (max-width: 760px) {
  .logo img { height: 42px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--black); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #26282b; }
  .nav__cta { margin: 16px 0 0; }
}


/* Sections */
.section { padding: 5.5rem 0; }
.section--tint { background: var(--tint); }
.page-head { padding: 64px 0 8px; }
.page-head p { font-size: 1.15rem; color: var(--grey); max-width: 60ch; }
.head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
@media (max-width: 760px) { .section { padding: 56px 0; } .page-head { padding: 44px 0 0; } }

.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.path { padding-top: 28px; border-top: 2px solid var(--black); }
.path p:not(.label) { color: var(--grey); max-width: 48ch; }
@media (max-width: 760px) { .two-up { grid-template-columns: 1fr; gap: 40px; } }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { padding-top: 10px; font-size: .92rem; color: var(--grey); }
.gallery strong { display: block; color: var(--black); font-weight: 600; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.services > div { padding-top: 20px; border-top: 1px solid var(--line); }
.services p { color: var(--grey); margin: 0; }
.standards { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--grey); font-size: .95rem; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; gap: 24px; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.feature--flip img { order: 2; }
.feature p:not(.label) { color: var(--grey); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature--flip img { order: 0; } }

.list { list-style: none; padding: 0; margin: 0 0 28px; }
.list li { position: relative; padding: 6px 0 6px 22px; }
.list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 2px; background: var(--orange); }

.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 40px; }
.projects img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.projects p:not(.label) { color: var(--grey); }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; gap: 44px; } }

.prose h2 { margin-top: 1.4em; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; }
.contact__details p { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #c9c8c4; border-radius: var(--radius); font: 400 1rem var(--font); color: var(--ink); background: var(--white); }
input[type="file"] { padding: 10px; }
textarea { min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.form .btn { justify-self: start; }

@media (max-width: 480px) { .actions .btn { flex: 1 1 100%; } }
.section--flush { padding-top: 24px; }

/* Client logos */
.clients { padding: 48px 0; border-bottom: 1px solid var(--line); }
.clients .label { color: var(--grey); text-align: center; margin-bottom: 24px; }
.clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; }
.clients__list img { width: var(--w, 120px); height: auto; max-width: none; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.clients__list img:hover { filter: none; opacity: 1; }
@media (max-width: 560px) { .clients__list { gap: 20px 28px; } .clients__list img { width: calc(var(--w, 120px) * .78); } }

/* Product */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
.product p:not(.label):not(.price) { color: var(--grey); }
.price { font: 600 2rem/1 var(--font-head); color: var(--black); margin: 0 0 20px; }
.price span { font: 400 .9rem var(--font); color: var(--grey); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 28px; } }

/* Form details */
.req { color: var(--orange); font-weight: 600; }
.form__note { margin: 0; font-size: .92rem; color: var(--grey); }
.form__hint { display: block; margin: 0; font-weight: 400; font-size: .88rem; color: var(--grey); }
.section--dark .form__hint, .section--dark .form__hint a { color: #a9adb1; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.product .form__hint { margin-top: 12px; }
.hero.hero--compact { min-height: 0; padding-top: 8.5rem; padding-bottom: 40px; }
.hero.hero--compact h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-bottom: 16px; }
.case-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; border-top: 1px solid var(--line); }
.case-cta h2 { margin: 0; }
.problem .btn { margin-top: 8px; }

/* Credentials strip */
.creds { border-bottom: 1px solid var(--line); }
.creds__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.creds__list li { padding: 28px 20px; border-left: 1px solid var(--line); }
.creds__list li:first-child { border-left: 0; padding-left: 0; }
.creds__list strong { display: block; font: 600 clamp(1.3rem, 2vw, 1.7rem)/1.1 var(--font-head); color: var(--black); }
.creds__list span { display: block; margin-top: 4px; font-size: .9rem; color: var(--grey); }
@media (max-width: 900px) { .creds__list { grid-template-columns: 1fr 1fr; } .creds__list li, .creds__list li:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); } .creds__list li:nth-child(-n+2) { border-top: 0; } .creds__list li:nth-child(even) { padding-left: 16px; } .creds__list li:last-child { grid-column: 1 / -1; } }

/* Inspection reminder */
.section--dark { background: var(--black); color: #c9cbce; }
.section--dark h2 { color: var(--white); }
.section--dark .label { color: var(--orange-bright); }
.reminder .btn--ghost-light { margin-top: 8px; }
.reminder__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.reminder .form label { color: var(--white); }
.reminder input { border-color: #3a3d41; }
@media (max-width: 860px) { .reminder__inner { grid-template-columns: 1fr; gap: 28px; } }

/* Call bar on phones */
.btn--dark { background: var(--black); border-color: var(--black); }
.btn--dark:hover { background: var(--ink); border-color: var(--ink); }
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, .08); }
  .callbar { transition: transform .25s ease; }
  .callbar.is-hidden { transform: translateY(110%); }
  .callbar .btn { padding: 0 8px; font-size: .95rem; white-space: nowrap; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  /* HubSpot chat sits above the call bar instead of over it */
  #hubspot-messages-iframe-container { bottom: calc(66px + env(safe-area-inset-bottom)) !important; }
}


/* Project photos */
.photo { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1)) scale(var(--rs, 1)); transition: transform .6s cubic-bezier(.2, .7, .1, 1), filter .5s ease, clip-path 1s cubic-bezier(.7, 0, .2, 1); filter: saturate(.78) brightness(.96); }
.has-mouse .photo:hover { --s: 1.025; filter: none; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.has-mouse .photo.is-tilting { transition: transform .15s linear, filter .5s ease, box-shadow .5s ease; }
.has-touch .photo.is-focus { --s: 1.015; filter: none; }
.photo.reveal { clip-path: inset(0 0 100% 0); --rs: 1.08; }
.photo.reveal.is-in { clip-path: inset(0 0 0 0); --rs: 1; }

@media (prefers-reduced-motion: reduce) {
  .photo, .hero__bg { transition: none; transform: none; }
  .has-mouse .hero { cursor: auto; }
}

/* Case studies */
.back { display: inline-block; margin-bottom: 16px; font-weight: 600; text-decoration: none; }
.back::before { content: "← "; }
.case-hero { padding-top: 24px; }
.case-hero__img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 64px; align-items: start; }
.case__facts { position: sticky; top: 110px; }
.case__facts dl { margin: 0; }
.case__facts dt { font: 600 .75rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--grey); padding-top: 16px; border-top: 1px solid var(--line); }
.case__facts dd { margin: 6px 0 18px; font-weight: 500; }
.case__facts ul { list-style: none; padding: 0; margin: 0; }
.case__facts li { padding: 2px 0; }
.case__body { max-width: 680px; }
.case__body h2 { font-size: 1.6rem; margin-top: 1.6em; }
.case__body h2:first-child { margin-top: 0; }
.case__body ul { padding-left: 1.1em; }
.case__body li { margin-bottom: .4em; }
.case__body img { width: 100%; margin-top: 32px; border-radius: var(--radius); }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; gap: 32px; } .case__facts { position: static; } }
.next { border-top: 1px solid var(--line); }
.next__link { display: block; padding-top: 48px; padding-bottom: 48px; text-decoration: none; color: var(--black); }
.next__title { display: block; font: 600 clamp(1.8rem, 4vw, 3rem)/1.1 var(--font-head); }
.next__title::after { content: " →"; color: var(--orange); }
.next__link:hover .next__title { color: var(--orange-dark); }
.project-card { display: block; text-decoration: none; color: inherit; }
.project-card h2 { transition: color .2s; }
.project-card:hover h2 { color: var(--orange-dark); }
.gallery__item { text-decoration: none; color: inherit; }
.align-end { display: flex; align-items: flex-end; justify-content: flex-end; }
@media (max-width: 760px) { .align-end { justify-content: flex-start; } }

/* Common problems */
.problems { display: grid; gap: 72px; max-width: 820px; }
.problem { padding-top: 28px; border-top: 2px solid var(--black); }
.problem h3 { font-size: 1.2rem; margin-top: 1.4em; }


/* ---- Layout refresh: statement, bento, image panels, wordmark ---- */
.section--tint { background: var(--tint); }
.statement { padding: 96px 0 72px; }
.statement__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.statement__text { font: 400 clamp(1.6rem, 3.4vw, 2.7rem)/1.18 var(--font); color: var(--black); letter-spacing: -.01em; max-width: 26ch; margin: 0; text-wrap: balance; }
@media (max-width: 760px) { .statement { padding: 56px 0 40px; } .statement__inner { grid-template-columns: 1fr; gap: 24px; } }

.clients { padding: 40px 0 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients .label { color: var(--grey); }
.clients__list img { mix-blend-mode: multiply; }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 14px; }
.bento__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; background: var(--black); }
.bento__item:first-child { grid-column: span 2; grid-row: span 2; }
.bento__item:nth-child(4) { grid-column: span 2; }
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.bento__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.bento__caption h3 { color: var(--white); margin: 0 0 4px; font-size: 1.4rem; }
.bento__caption .meta { color: rgba(255,255,255,.75); margin: 0; }
.bento__item:first-child .bento__caption h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.has-mouse .bento__item .photo { filter: saturate(.85); }
.has-mouse .bento__item:hover .photo { filter: none; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .bento__item:first-child { grid-column: span 2; grid-row: span 1; }
  .bento__item:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; } .bento__item:first-child, .bento__item:nth-child(4) { grid-column: auto; } }

.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel-img { position: relative; display: block; min-height: 520px; overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; }
.panel-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.1,1); }
.has-mouse .panel-img:hover > img { transform: scale(1.04); }
.panel-img__text { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 28px; border-radius: calc(var(--radius) - 4px); background: rgba(12, 12, 13, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.panel-img__text h2 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.panel-img__text p:not(.meta) { color: rgba(255,255,255,.85); max-width: 46ch; }
.panel-img__text .meta { color: #fb7402; }
@media (max-width: 860px) { .panels { grid-template-columns: 1fr; } .panel-img { min-height: 460px; } }

.services > div { border-top-color: var(--line); }
.feature img, .projects img, .product img, .case-hero__img, .case__body img { border-radius: var(--radius); }
.case__facts dt { font-family: var(--font); font-weight: 600; letter-spacing: .12em; }
.page-head { padding-top: 80px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }


/* ---- Hero: full-bleed photo with the drawing grid over it ---- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(94svh, 60rem); padding: 8.75rem 0 4.5rem; overflow: hidden; background: var(--black); color: #e4e5e6; isolation: isolate; }
.hero__bg { position: absolute; inset: -3%; width: 106%; max-width: none; height: 106%; object-fit: cover; z-index: -3; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform 1s cubic-bezier(.2, .7, .1, 1); will-change: transform; }
.has-touch .hero__bg { transition: none; }
/* Home hero on phones: photo as its own band, text below it on black */
@media (max-width: 760px) {
  .home .hero { --band: calc(76px + 72vw); display: block; min-height: 0; padding: calc(var(--band) + 20px) 0 36px; }
  .home .hero__bg { inset: 0 0 auto auto; width: 150%; height: var(--band); object-position: 100% 78%; transform: none; }
  .home .hero__shade { background: linear-gradient(180deg, rgba(8,8,9,.6) 0, rgba(8,8,9,0) 90px, rgba(8,8,9,0) calc(var(--band) - 90px), var(--black) var(--band)); }
}
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgba(8,8,9,.7) 0%, rgba(8,8,9,.15) 28%, rgba(8,8,9,.25) 55%, rgba(8,8,9,.88) 100%),
  linear-gradient(90deg, rgba(8,8,9,.55) 0%, rgba(8,8,9,0) 65%); }
.blueprint { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__content { width: 100%; }
.hero__eyebrow { color: #fb7402; margin-bottom: 20px; }
.hero h1 { color: var(--white); font-size: clamp(3rem, 7.4vw, 7rem); line-height: .93; letter-spacing: -.01em; max-width: 15ch; margin-bottom: 36px; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.22); }
.hero__lead { font-size: 1.12rem; max-width: 52ch; margin: 0; color: #d9dbdd; }
.hero__tag { position: absolute; right: max(1.25rem, calc((100vw - var(--wrap)) / 2 + 1.25rem)); bottom: 1.25rem; display: inline-flex; gap: 10px; align-items: baseline; color: rgba(255,255,255,.62); font: 600 .72rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; transition: color .2s; }
.hero__tag .meta { margin: 0; color: rgba(255,255,255,.42); font-size: inherit; }
.hero__tag::after { content: "→"; }
.hero__tag:hover { color: #fb7402; }
@media (max-width: 760px) {
  .hero { min-height: 88svh; padding: 120px 0 36px; }
  .hero__row { grid-template-columns: 1fr; gap: 24px; }
  .hero__tag { display: none; }
}

/* ---- Builder / owner panels: one photo, half of it frosted ---- */
.duo { display: grid; gap: 14px; }
.duo__panel { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; isolation: isolate; }
.duo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.4s cubic-bezier(.2, .7, .1, 1); }
.has-mouse .duo__panel:hover .duo__img { transform: scale(1.05); }
.duo__pane { grid-column: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 48px; background: rgba(10,10,11,.42); -webkit-backdrop-filter: blur(24px) saturate(1.1); backdrop-filter: blur(24px) saturate(1.1); border-right: 1px solid rgba(255,255,255,.14); }
.duo__panel--flip .duo__pane { grid-column: 2; border-right: 0; border-left: 1px solid rgba(255,255,255,.14); }
.duo__pane .meta { color: #fb7402; }
.duo__pane h2 { color: var(--white); font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1; max-width: 13ch; margin-bottom: 18px; }
.duo__pane p:not(.meta) { color: rgba(255,255,255,.85); max-width: 42ch; margin-bottom: 28px; }
.duo__panel:hover .btn--ghost-light { background: var(--white); color: var(--black); border-color: var(--white); }
@media (max-width: 860px) {
  .duo__panel { grid-template-columns: 1fr; grid-template-rows: 1fr auto; min-height: 540px; }
  .duo__pane, .duo__panel--flip .duo__pane { grid-column: 1; grid-row: 2; padding: 28px 24px; border: 0; border-top: 1px solid rgba(255,255,255,.14); }
}

/* ---- What we do: full-width rows ---- */
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr) 40px; gap: 24px; align-items: baseline; padding: 30px 16px; border-top: 1px solid var(--line); color: var(--black); text-decoration: none; transition: background .3s ease, padding .3s ease; }
.row__num { margin: 0; }
.row__title { font: 600 clamp(1.5rem, 2.6vw, 2.2rem)/1.05 var(--font-head); transition: color .25s; }
.row__text { color: var(--grey); }
.row__arrow { justify-self: end; font-size: 1.4rem; color: var(--orange); transform: translateX(-8px); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.row:hover { background: rgba(255,255,255,.55); }
.row:hover .row__title { color: var(--orange-dark); }
.row:hover .row__arrow { transform: none; opacity: 1; }
@media (max-width: 760px) {
  .row { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 12px; padding: 24px 4px; }
  .row__text { grid-column: 2; }
  .row__arrow { display: none; }
}
.standards.meta { margin-top: 32px; padding: 0; border: 0; }

/* ---- Footer ---- */
.footer { position: relative; overflow: hidden; margin-top: 96px; padding-top: 96px; background: var(--black); color: #a9adb1; border-radius: var(--radius) var(--radius) 0 0; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: #fb7402; }
.footer .meta { color: #7d8288; }
.footer__cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: end; padding-bottom: 72px; }
.footer__cta h2 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1; max-width: 14ch; margin-bottom: 32px; }
.footer__contact { margin: 0; display: grid; gap: 4px; }
.footer__contact dt { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid #26282b; }
.footer__contact dt:first-child { margin-top: 0; }
.footer__contact dd { margin: 0; font: 500 clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--font); color: var(--white); overflow-wrap: anywhere; }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid #26282b; }
.footer__bar .logo img { height: 40px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__bar .meta { margin: 0; }
.footer__bar .meta a { color: #c9ccd0; text-decoration: underline; text-underline-offset: 3px; }
.wordmark { display: block; margin-bottom: -.13em; padding-top: 8px; font: 700 clamp(4rem, 19vw, 18.5rem)/.8 var(--font-head); letter-spacing: -.015em; white-space: nowrap; text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(247, 94, 8, .42) 0%, rgba(241, 44, 15, .16) 55%, rgba(241, 44, 15, 0) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) {
  .footer { margin-top: 56px; padding-top: 64px; }
  .footer__cta { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
}

/* ---- Light header on paper pages; see-through over the home hero ---- */
.header { background: rgba(236, 235, 231, .82); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid var(--line); transition: background .35s ease, border-color .35s ease; }
.header::after { display: none; }
.header .nav a:not(.btn) { color: var(--black); }
.header .nav a:not(.btn):hover, .header .nav a[aria-current] { color: var(--orange-dark); }
.header .nav-toggle span { background: var(--black); }
.logo__dark { display: none; }
.header .logo__light { display: none; }
.header .logo__dark { display: block; }
.has-hero .header:not(.is-scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
.has-hero .header:not(.is-scrolled) .logo__light { display: block; }
.has-hero .header:not(.is-scrolled) .logo__dark { display: none; }
.has-hero .header:not(.is-scrolled) .nav a:not(.btn) { color: var(--white); }
.has-hero .header:not(.is-scrolled) .nav a:not(.btn):hover { color: #fb7402; }
.has-hero .header:not(.is-scrolled) .nav-toggle span { background: var(--white); }
main { padding-top: calc(4.75rem + 1px); }
.has-hero main { padding-top: 0; }
@media (max-width: 760px) {
  .header .nav { background: var(--paper); border-bottom: 1px solid var(--line); }
  .header .nav a:not(.btn), .has-hero .header:not(.is-scrolled) .nav a:not(.btn) { color: var(--black); border-bottom-color: var(--line); }
  .has-hero .header.menu-open { background: var(--paper); }
  .has-hero .header.menu-open .logo__light { display: none; }
  .has-hero .header.menu-open .logo__dark { display: block; }
  .has-hero .header.menu-open .nav-toggle span { background: var(--black); }
}

/* Case study photo gallery */
.case-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.case-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.case-gallery--1 { grid-template-columns: minmax(0, 640px); }
@media (max-width: 560px) { .case-gallery { grid-template-columns: 1fr 1fr; gap: 8px; } .case-gallery--1 { grid-template-columns: 1fr; } }

/* Inner page heroes */
.hero--page { min-height: min(68svh, 640px); padding-bottom: 56px; }
.hero--page h1 { font-size: clamp(2.6rem, 5.6vw, 5.2rem); max-width: 18ch; margin-bottom: 28px; }
.hero--page .hero__row { grid-template-columns: minmax(0, 1fr); }
.back--light { color: rgba(255,255,255,.8); font-family: var(--font); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.back--light:hover { color: #fb7402; }
@media (max-width: 760px) { .hero--page { min-height: 64svh; } }

/* Low-resolution hero photos read as a soft backdrop instead of a stretched photo */
.hero--soft .hero__bg { filter: blur(7px) saturate(.9); }
.hero--soft .hero__shade { background: linear-gradient(180deg, rgba(8,8,9,.72) 0%, rgba(8,8,9,.45) 45%, rgba(8,8,9,.9) 100%); }

picture { display: contents; }
.footer a:hover, .hero__tag:hover { color: var(--orange-bright); }
