/* Magos Media. Lacquer, paper and steel; colour arrives only as the light of each dimension. */
:root {
  --lacquer: #0A0A0B;
  --graphite: #151618;
  --graphite-2: #1C1D20;
  --paper: #F2F1EE;
  --steel: #A3A5AA;
  --line: rgba(242, 241, 238, .14);
  --line-strong: rgba(242, 241, 238, .28);
  --tungsten: #E9A25B;
  --signal: #7C9CFF;
  --violet: #B98CFF;
  --wire: #6FE0C4;
  --dim: var(--paper);                 /* each inner page sets its own dimension light */
  --sa-accent: #F2F1EE;
  --sa-accent-ink: #0A0A0B;
  --display: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
  --sans: "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --top: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--lacquer); color: var(--paper);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -.03em; line-height: 1; margin: 0; text-wrap: balance; }
h3 { font-weight: 400; letter-spacing: -.015em; }
:focus-visible { outline: 2px solid var(--dim); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--paper); color: var(--lacquer); padding: 12px 16px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 14px; letter-spacing: .01em; }

/* ---------- buttons: solid, rectangular, no icons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  background: var(--paper); color: var(--lacquer); border: 0; border-radius: 2px;
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: #FFFFFF; }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--graphite-2); color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--dark:hover { background: #26282C; }
.tel { font: 400 17px/1 var(--mono); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.tel:hover { border-color: var(--paper); }
.textlink { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.textlink:hover { border-color: var(--paper); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--top);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter);
  transition: background .35s ease, box-shadow .35s ease;
}
.top.is-solid, .inner .top, .is-scrolled .top { background: rgba(10, 10, 11, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark { width: 40px; height: 35px; }
.brand__word { width: 150px; height: 21px; }
.top__actions { display: flex; align-items: center; gap: 10px; }
.top__tel { margin-right: 14px; font: 400 15px/1 var(--mono); color: var(--steel); text-decoration: none; }
.top__tel:hover { color: var(--paper); }
.menu-btn { min-width: 84px; }

/* ---------- full-screen index ---------- */
.index {
  position: fixed; inset: 0; z-index: 60; background: var(--lacquer); overflow-y: auto;
  padding: calc(var(--top) + 24px) var(--gutter) 40px;
}
.index[hidden] { display: none; }
.index__close { position: absolute; top: 14px; right: var(--gutter); }
.index__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; max-width: 1280px; margin: 0 auto; }
.index__dims { list-style: none; margin: 0; padding: 0; }
.index__dims a { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; text-decoration: none; font: 300 clamp(40px, 6vw, 84px)/1.02 var(--display); letter-spacing: -.035em; }
.index__dims a i { width: 12px; height: 12px; border-radius: 50%; flex: none; transform: translateY(-.35em); box-shadow: 0 0 18px currentColor; }
.index__dims a:hover span, .index__dims a[aria-current="page"] span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.index__side h2 { font-size: 15px; font-family: var(--sans); font-weight: 500; letter-spacing: 0; color: var(--steel); margin: 0 0 12px; }
.index__side ul { list-style: none; margin: 0 0 36px; padding: 0; }
.index__side li a { display: inline-block; padding: 6px 0; font-size: 24px; text-decoration: none; }
.index__side li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.index__side address { font-style: normal; color: var(--steel); line-height: 1.7; margin-bottom: 20px; }
body.menu-open { overflow: hidden; }

/* dimension colours, used for the little lights in the index and each page's key line */
.c-atl { color: var(--tungsten); } .c-dig { color: var(--signal); } .c-ins { color: var(--violet); } .c-dev { color: var(--wire); } .c-std { color: var(--paper); }

/* ================================ HOME ================================ */
#world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.world-live #world { opacity: 1; }
.scrim { display: none; }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: end; padding: calc(var(--top) + 24px) var(--gutter) clamp(40px, 8vh, 88px); overflow: hidden; }
.hero__still { position: absolute; inset: 0; z-index: 0; }
.hero__still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero__still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0) 45%, rgba(10,10,11,.78) 82%, var(--lacquer)); }
.world-live .hero__still { opacity: 0; transition: opacity 1.2s ease .2s; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(46px, 8.6vw, 140px); letter-spacing: -.048em; line-height: .9; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 span + span { padding-left: .9em; }
.hero__aside { position: absolute; z-index: 2; top: calc(var(--top) + 6vh); left: var(--gutter); max-width: 360px; }
.hero__aside p { color: var(--steel); font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 22px; }
.hero__cue { position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); font: 400 14px/1 var(--mono); color: var(--steel); transition: opacity .4s ease; }
.is-scrolled .hero__cue { opacity: 0; }

/* the journey: static by default (no JS, no WebGL, reduced motion) */
.journey { position: relative; z-index: 2; }
.dim { position: relative; padding: clamp(72px, 12vh, 140px) var(--gutter); border-top: 1px solid var(--line); }
.dim:nth-child(even) { background: var(--graphite); }
.dim__grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1360px; margin: 0 auto; }
.dim__copy h2 { font-size: clamp(48px, 7vw, 108px); letter-spacing: -.045em; margin-bottom: 26px; }
.dim__copy h2 i { display: inline-block; width: .16em; height: .16em; border-radius: 50%; margin-left: .12em; transform: translateY(-.1em); box-shadow: 0 0 .5em currentColor; background: currentColor; }
.dim__lede { font-size: 20px; line-height: 1.55; margin-bottom: 26px; }
.dim__list { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); }
.dim__list li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--paper); font-size: 17px; }
.dim__more { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.dim__figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dim__figs figure { margin: 0; }
.dim__figs figure:first-child { grid-column: 1 / -1; }
.dim__figs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--graphite-2); }
.dim__figs figcaption { font-size: 14px; color: var(--steel); margin-top: 8px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 6px 0 30px; }
.offices h3 { font-size: 26px; margin-bottom: 10px; }
.offices address { font-style: normal; color: var(--steel); font-size: 16px; line-height: 1.65; }
.offices a { color: var(--paper); }

.readout { display: none; }

/* ---------- 3D mode ---------- */
.has-3d .hero { background: transparent; }
.has-3d .dim { background: transparent; border-top: 0; min-height: 170vh; padding-top: 0; padding-bottom: 0; }
.has-3d .dim__grid { display: block; max-width: none; margin: 0; }
.has-3d .dim__copy { position: sticky; top: calc(var(--top) + 9vh); max-width: 500px; padding: 12px 0 48px; }
.has-3d .dim__figs { display: none; }
.has-3d .scrim {
  display: block; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: var(--scrim, 0);
  background: linear-gradient(90deg, rgba(10,10,11,.9) 0%, rgba(10,10,11,.74) 30%, rgba(10,10,11,.2) 50%, rgba(10,10,11,0) 60%);
}
.has-3d .readout {
  display: block; position: fixed; right: var(--gutter); top: 50%; z-index: 20; transform: translateY(-50%);
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.has-3d .readout.is-on { opacity: 1; pointer-events: auto; }
.readout ol { list-style: none; margin: 0; padding: 0; }
.readout a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 36px; font-size: 15px; color: var(--steel); text-decoration: none; text-shadow: 0 0 10px rgba(10,10,11,.95), 0 0 3px rgba(10,10,11,.9); }
.readout a::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .35s ease; }
.readout a[aria-current="true"] { color: var(--paper); }
.readout a[aria-current="true"]::after { width: 40px; background: var(--rd, var(--paper)); box-shadow: 0 0 10px var(--rd, transparent); }
.readout a:hover { color: var(--paper); }

/* ---------- after the journey: solid ground again ---------- */
.after { position: relative; z-index: 3; background: var(--lacquer); }
.band { padding: clamp(72px, 11vh, 132px) var(--gutter); border-top: 1px solid var(--line); }
.band--graphite { background: var(--graphite); }
.wrap { max-width: 1360px; margin: 0 auto; }
.band__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.band__head h2 { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -.04em; }
.band__head p { color: var(--steel); margin: 0; }

.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients li { display: grid; place-items: center; height: 118px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients img { max-height: 46px; max-width: min(150px, 100%); width: auto; filter: invert(1) brightness(1.05); opacity: .82; transition: opacity .2s ease; }
.clients li:hover img { opacity: 1; }

.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.case { display: flex; flex-direction: column; text-decoration: none; background: var(--graphite); }
.case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case__body { padding: 20px 20px 24px; }
.case h3 { font-size: 26px; margin-bottom: 10px; }
.case p { color: var(--steel); font-size: 16px; margin: 0; }
.case:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.proof { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.proof > div { background: var(--lacquer); padding: 32px 28px; }
.proof strong { display: block; font: 300 clamp(44px, 5vw, 72px)/1 var(--display); letter-spacing: -.04em; margin-bottom: 12px; }
.proof p { color: var(--steel); margin: 0; font-size: 16px; }
.proof img { width: 100px; height: 80px; margin-bottom: 12px; filter: grayscale(1); }
.stars { color: var(--paper); letter-spacing: 2px; }

.closer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.closer h2 { font-size: clamp(44px, 7vw, 112px); letter-spacing: -.045em; }
.closer__actions { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 3; background: var(--graphite); border-top: 1px solid var(--line); padding: 64px var(--gutter) 40px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr 1.2fr; gap: 36px; max-width: 1360px; margin: 0 auto; }
.foot__brand img { width: 64px; height: 56px; margin-bottom: 18px; }
.foot__brand p { color: var(--steel); font-size: 16px; max-width: 30ch; }
.foot h2 { font: 500 15px/1.3 var(--sans); letter-spacing: 0; color: var(--steel); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a, .foot address a { text-decoration: none; }
.foot li { padding: 4px 0; font-size: 16px; }
.foot li a:hover, .foot address a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot address { font-style: normal; font-size: 16px; line-height: 1.7; color: var(--paper); overflow-wrap: anywhere; }
.foot address span { color: var(--steel); }
.foot__base { max-width: 1360px; margin: 48px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--steel); font-size: 14px; }
.foot__base a { color: var(--steel); }
.social { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }

/* ================================ INNER PAGES ================================ */
.inner main { position: relative; }
.plate { position: relative; min-height: min(78vh, 760px); display: grid; align-content: end; padding: calc(var(--top) + 32px) var(--gutter) clamp(40px, 7vh, 72px); overflow: hidden; border-bottom: 1px solid var(--line); }
.plate__img { position: absolute; inset: 0; }
.plate__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.plate__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,.88) 0%, rgba(10,10,11,.55) 42%, rgba(10,10,11,0) 70%), linear-gradient(0deg, rgba(10,10,11,.7), rgba(10,10,11,0) 40%); }
.plate__copy { position: relative; z-index: 1; max-width: 1360px; width: 100%; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font: 400 14px/1.4 var(--mono); color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.plate h1 { font-size: clamp(52px, 7.6vw, 124px); letter-spacing: -.05em; line-height: .9; max-width: 11ch; }
.plate h1 i { display: inline-block; width: .12em; height: .12em; border-radius: 50%; margin-left: .1em; background: var(--dim); box-shadow: 0 0 .5em var(--dim); transform: translateY(-.12em); }
.plate__lede { max-width: 620px; margin-top: 26px; font-size: 21px; line-height: 1.5; color: var(--paper); }

.section { padding: clamp(64px, 10vh, 120px) var(--gutter); border-bottom: 1px solid var(--line); }
.section--graphite { background: var(--graphite); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 20px 64px; align-items: end; max-width: 1360px; margin: 0 auto 44px; }
.section__head h2 { font-size: clamp(38px, 5vw, 76px); letter-spacing: -.04em; }
.section__head p { color: var(--steel); margin: 0; }
.prose { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px); gap: 24px 64px; }
.prose h2 { font-size: clamp(34px, 4vw, 60px); letter-spacing: -.035em; }
.prose p { font-size: 19px; }

.rows { list-style: none; margin: 0 auto; padding: 0; max-width: 1360px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 16px 48px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 300; letter-spacing: -.03em; }
.row p { margin: 0; color: var(--steel); font-size: 18px; max-width: 60ch; }
.row .btn { min-height: 44px; font-size: 15px; }

.gallery { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gallery figure { margin: 0; grid-column: span 4; }
.gallery figure.w6 { grid-column: span 6; } .gallery figure.w8 { grid-column: span 8; } .gallery figure.w12 { grid-column: span 12; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--graphite-2); }
.gallery figure.w8 img, .gallery figure.w12 img { aspect-ratio: 16 / 9; }
.gallery figure.tall img { aspect-ratio: 4 / 5; }
.gallery figcaption { margin-top: 10px; font-size: 15px; color: var(--steel); }

.split { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { font-size: clamp(34px, 4vw, 60px); letter-spacing: -.035em; margin-bottom: 20px; }
.split p { color: var(--paper); }
.split .note { color: var(--steel); font-size: 16px; }
.facts { list-style: none; margin: 18px 0 26px; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; }

.faq { max-width: 1000px; margin: 0 0 0 max(0px, calc((100% - 1360px) / 2)); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 400 22px/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; border-right: 1.5px solid var(--steel); border-bottom: 1.5px solid var(--steel); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 0 24px; color: var(--steel); max-width: 72ch; }
.faq .answer p:last-child { margin: 0; }

.ask { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.ask h2 { font-size: clamp(40px, 6vw, 96px); letter-spacing: -.045em; }
.ask p { color: var(--steel); margin: 16px 0 0; max-width: 56ch; }
.ask__actions { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; }

/* team */
.people { max-width: 1360px; margin: 0 auto; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.person { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px 40px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.person h3 { font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -.035em; }
.person p { margin: 0; color: var(--steel); }
.person a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.person a:hover { border-color: var(--paper); }

/* timeline (a real sequence: years) */
.timeline { max-width: 1360px; margin: 0 auto; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline .yr { font: 400 16px/1 var(--mono); color: var(--steel); }
.timeline h3 { font-size: clamp(26px, 2.6vw, 38px); }
.timeline p { margin: 0; color: var(--steel); }
.reach { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 24px 0 0; font: 300 clamp(26px, 3vw, 40px)/1.2 var(--display); letter-spacing: -.02em; }

/* reviews wall */
.rating-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; margin-bottom: 30px; }
.rating-line strong { font: 300 clamp(64px, 8vw, 120px)/1 var(--display); letter-spacing: -.05em; }
.wall { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wall li { background: var(--lacquer); padding: 16px 18px; display: grid; gap: 4px; }
.wall b { font-weight: 500; }
.wall span { color: var(--steel); font-size: 14px; }
.wall .reply { color: var(--steel); font-size: 14px; }

/* contact */
.contact { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 16px; color: var(--steel); }
.form input, .form textarea, .form select {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 2px; border: 1px solid var(--line-strong);
  background: var(--graphite); color: var(--paper); font: 400 17px/1.4 var(--sans);
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--paper); outline-offset: 1px; border-color: transparent; }
.form__status { min-height: 1.6em; margin: 0; font-size: 16px; }
.form__status.is-err { color: #FFB4A8; }
.map { margin-top: 18px; border: 1px solid var(--line); background: var(--graphite); }
.map iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.office { padding: 28px 0; border-top: 1px solid var(--line); }
.office h2 { font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -.035em; margin-bottom: 12px; }
.office address { font-style: normal; line-height: 1.7; }
.office address a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }

/* ================================ RESPONSIVE ================================ */
@media (max-width: 1100px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .row .btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 760px) {
  :root { --top: 64px; }
  body { font-size: 17px; }
  .brand__word { width: 118px; height: 17px; }
  .brand__mark { width: 34px; height: 30px; }
  .top__tel, .top .btn--talk { display: none; }
  .hero { align-content: end; }
  .hero h1 { font-size: clamp(42px, 12.6vw, 60px); }
  .hero h1 span { white-space: normal; }
  .hero h1 span + span { padding-left: 0; }
  .hero__aside { position: relative; top: auto; left: auto; margin-top: 22px; }
  .hero__cue { display: none; }
  .dim__grid, .band__head, .section__head, .prose, .split, .contact, .ask, .closer { grid-template-columns: 1fr; }
  .dim__lede { font-size: 18px; }
  .offices { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients li { height: 96px; }
  .cases { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .row { grid-template-columns: 1fr; padding: 24px 0; }
  .row .btn { grid-column: 1; }
  .gallery figure, .gallery figure.w6, .gallery figure.w8 { grid-column: span 12; }
  .person, .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .index__grid { grid-template-columns: 1fr; gap: 28px; }
  .plate { display: block; min-height: 0; padding: var(--top) var(--gutter) 40px; }
  .plate__img { position: relative; inset: auto; margin: 0 calc(-1 * var(--gutter)) 26px; aspect-ratio: 16 / 10; }
  .plate__img img { object-position: 66% 50%; }
  .plate__img::after { background: linear-gradient(0deg, var(--lacquer) 0%, rgba(10,10,11,0) 30%); }
  .plate__lede { font-size: 18px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,11,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .callbar .btn { width: 100%; }
  .foot { padding-bottom: 110px; }

  /* 3D on a phone: the M rides in the top half, the words rise over a lacquer scrim below it */
  .has-3d .dim { min-height: 150vh; }
  .has-3d .dim__copy { top: auto; position: relative; padding-top: 44vh; max-width: none; }
  .has-3d .dim__copy::before { content: ""; position: absolute; inset: 38vh -16px -24px; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,0), rgba(10,10,11,.86) 7vh, rgba(10,10,11,.92)); }
  .has-3d .scrim { background: linear-gradient(180deg, rgba(10,10,11,0) 40%, rgba(10,10,11,.5) 70%, rgba(10,10,11,.8)); }
  .has-3d .readout { display: none; }
}

/* QA only (?still=k): the world alone, for the stills the fallback and the inner pages use */
.still-mode .top, .still-mode main, .still-mode .readout, .still-mode .foot, .still-mode .callbar, .still-mode .scrim { visibility: hidden; }
.still-mode #world { transition: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* long plate titles set smaller, so they hold two or three lines */
.plate h1.long { font-size: clamp(44px, 6.2vw, 100px); max-width: 11ch; }
.badge { width: 100px !important; height: 80px !important; aspect-ratio: auto !important; object-fit: contain !important; filter: grayscale(1); }
