/* MSC Star — parbrize & folie LLumar, Timișoara
   Language borrowed from fluid.glass: warm paper ground, thin grotesk display,
   floating glass pill, editorial project list. Made our own with the brand blue,
   a windshield-shaped hero and the "Strada Amurgului" tint simulator. */

:root {
  /* colour roles */
  --bg: #F2EFEA;          /* warm paper, like fluid.glass */
  --surface: #E7E2DA;     /* one tone step */
  --ink: #0B1012;
  --muted: #565B5E;       /* 6.3:1 on --bg */
  --dark: #0E1316;
  --dark-2: #1B2226;
  --on-dark: #F2EFEA;
  --on-dark-muted: #AEB4B7;
  --accent: #1E4FA6;      /* MSC Star blue, from the logo */
  --accent-hover: #173F86;
  --accent-bright: #4F86E8;
  --ok: #8FD6A4;
  --no: #FF9E8C;

  /* type */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-display: clamp(44px, 4.2vw, 76px);
  --t-h2: clamp(34px, 4vw, 64px);
  --t-statement: clamp(22px, 2.2vw, 34px);
  --t-body: 18px;
  --t-small: 14px;

  /* space */
  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(12px, 1.6vw, 24px);
  --section: clamp(112px, 14vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 8px; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--m);
}

/* ---------- type ---------- */
.display {
  font-size: var(--t-display);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 400;
  white-space: nowrap;
}
.h2 {
  font-size: var(--t-h2);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 400;
}
.h3 {
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.05;
  letter-spacing: -.025em;
  font-weight: 400;
}
.statement {
  font-size: var(--t-statement);
  line-height: 1.25;
  letter-spacing: -.015em;
}
.lead { font-size: 18px; line-height: 1.5; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  font: 500 16px/1.2 var(--font);
  border-radius: var(--radius);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); }
.btn--ghost:hover { background: #DCD5CA; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 16px;
  min-height: 44px;
}
.link-arrow::after {
  content: "→"; transition: transform .3s var(--ease);
}
.link-arrow:hover::after { transform: translateX(5px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font: 500 14px/1 var(--font);
  padding: 8px 10px;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
}

/* ---------- top bar ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--m);
  font-size: 16px;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.mark { width: 34px; height: auto; color: var(--ink); }
.toplinks { display: flex; gap: 28px; }
.toplinks a, .toptel { position: relative; padding-block: 8px; }
.toplinks a::after, .toptel::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.toplinks a:hover::after, .toptel:hover::after { transform: scaleX(1); transform-origin: left; }
.toptel { font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; }
.hero__stage { position: relative; height: 100svh; overflow: hidden; }
.hero__media { position: absolute; inset: 0; will-change: clip-path; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero__scrim {
  position: absolute; inset: auto 0 0 0; height: 70%;
  background: linear-gradient(to top, rgba(8, 11, 13, .78), rgba(8, 11, 13, 0)); /* taste-skill-ignore: neutral scrim under hero text, no-JS / reduced-motion mode only */
  pointer-events: none;
}
.hero__copy {
  position: absolute; inset: 0;
  padding: 0 var(--m) clamp(28px, 6vh, 64px);
  display: grid; grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 32px;
  color: var(--on-dark);
}
.hero__side { display: grid; gap: 20px; }
.hero__side .link-arrow { color: inherit; }
.hero__rating { position: absolute; top: 96px; left: var(--m); font-size: 16px; }
.stars { width: 84px; height: 16px; fill: #E9A325; vertical-align: -2px; margin-right: 6px; }

/* animated mode (JS on, motion allowed): the windshield opens to the edges */
.anim .hero { height: 175svh; }
.anim .hero__stage { position: sticky; top: 0; background: var(--bg); }
.anim .hero__scrim { display: none; }
.anim .hero__copy { color: var(--ink); will-change: opacity, transform; }
.anim .hero__copy .display { align-self: end; padding-bottom: calc(16vh - clamp(28px, 6vh, 64px)); }
.anim .hero__side { align-self: end; padding-bottom: calc(16vh - clamp(28px, 6vh, 64px)); max-width: 31ch; justify-self: end; }
.anim .hero__copy { grid-template-columns: 1fr 1fr; }

/* ---------- intro ---------- */
.intro { padding-block: var(--section) calc(var(--section) * .8); }
.intro__title { grid-column: 1 / 5; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.intro__text { grid-column: 7 / 13; text-indent: 3em; }
.intro__photo { grid-column: 1 / 5; grid-row: 2 / 4; margin-top: 64px; }
.intro__photo img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.intro__note { grid-column: 1 / 4; grid-row: 4; margin-top: 32px; font-size: 16px; color: var(--muted); max-width: 30ch; }
.figures {
  grid-column: 7 / 13; grid-row: 2 / 4; align-self: end;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--gap);
  margin-top: 96px;
}
.figures div { display: flex; flex-direction: column-reverse; gap: 6px; }
.figures dd { font-size: clamp(56px, 6.2vw, 104px); line-height: .9; letter-spacing: -.05em; font-weight: 300; font-variant-numeric: tabular-nums; }
.figures dd span { font-size: .38em; letter-spacing: -.02em; color: var(--muted); margin-left: 4px; }
.figures dt { font-size: 16px; color: var(--muted); }

/* ---------- services (pinned story) ---------- */
.services { padding-top: calc(var(--section) * .6); }
.services__head { align-items: end; row-gap: 24px; padding-bottom: 72px; }
.services__head .h2 { grid-column: 1 / 8; max-width: 14ch; }
.services__intro { grid-column: 9 / 13; color: var(--ink); }
.services__body {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  padding-inline: var(--m);
}
.services__media {
  position: sticky; top: 0; height: 100svh;
  padding-block: var(--m);
}
.services__media img {
  position: absolute; inset: var(--m) 0; width: 100%; height: calc(100% - 2 * var(--m));
  object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.services__media img.is-on { opacity: 1; transform: scale(1); }
.services__list { padding-left: clamp(16px, 4vw, 72px); }
.svc {
  min-height: 58svh;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding-block: 48px;
  max-width: 34rem;
}
.svc__img { display: none; }
.svc p { max-width: 44ch; }
.svc .h3 { transition: color .4s var(--ease), transform .5s var(--ease); }
.js .svc:not(.is-active) .h3 { color: var(--muted); }
.svc.is-active .h3 { transform: translateX(8px); }

/* ---------- tint simulator (live thing) ---------- */
.tint {
  background: var(--dark); color: var(--on-dark);
  padding-block: calc(var(--section) * .8);
}
.tint__grid { align-items: center; row-gap: 56px; }
.tint__copy { grid-column: 1 / 6; display: grid; gap: 28px; align-content: start; }
.tint__lead { color: var(--on-dark); max-width: 40ch; }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: 12px; font-size: 16px; color: var(--on-dark-muted); }
.seg__row { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  background: var(--dark-2); color: var(--on-dark);
  border-radius: var(--radius);
  font-size: 16px; font-variant-numeric: tabular-nums;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.seg__row--vlt span { min-width: 56px; justify-content: center; }
.seg label:hover span { background: #273035; }
.seg input:checked + span { background: var(--on-dark); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.seg label:active span { transform: scale(.96); }

.verdict { padding: 20px 22px; background: var(--dark-2); border-radius: var(--radius); font-size: 18px; line-height: 1.45; }
.verdict__state { font-weight: 600; color: var(--ok); }
.verdict.is-no .verdict__state { color: var(--no); }
.verdict__text { color: var(--on-dark); }
.tint .btn--light { justify-self: start; }

.tint__view { grid-column: 7 / 13; }
.tint__window {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  clip-path: var(--shape);
  transition: clip-path .9s var(--ease);
  --shape: polygon(3% 12%, 68% 12%, 97% 88%, 3% 88%);
}
.tint__window[data-win="parbriz"] { --shape: polygon(14% 10%, 86% 10%, 100% 90%, 0% 90%); }
.tint__window[data-win="fata"]    { --shape: polygon(34% 12%, 97% 12%, 97% 88%, 3% 88%); }
.tint__window[data-win="spate"]   { --shape: polygon(3% 12%, 66% 12%, 97% 88%, 3% 88%); }
.tint__window[data-win="luneta"]  { --shape: polygon(18% 22%, 82% 22%, 98% 80%, 2% 80%); }
.tint__window img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.tint__film {
  position: absolute; inset: 0;
  background: rgb(9 14 18 / var(--shade));
  transition: background-color .7s var(--ease);
}
.tint__badge {
  position: absolute; left: 9%; bottom: 24%;
  font: 300 clamp(40px, 5vw, 76px)/1 var(--font);
  letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums;
}
.tint__view figcaption { margin-top: 20px; font-size: 16px; color: var(--on-dark-muted); max-width: 60ch; }

/* ---------- work list ---------- */
.work { padding-block: var(--section); }
.work__title { grid-column: 1 / 8; }
.work__intro { grid-column: 9 / 13; align-self: end; }
.projects { margin-top: 72px; row-gap: 4px; }
.project {
  grid-column: 1 / 13;
  display: grid; grid-template-columns: subgrid; align-items: center;
  padding: 26px 0;
  cursor: default;
  transition: background-color .3s var(--ease);
  position: relative;
}
.project::before {
  content: ""; position: absolute; inset: 0 calc(var(--m) * -1); background: var(--surface);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1;
}
.project:hover::before { transform: scaleY(1); }
.project__name { grid-column: 1 / 6; font-size: clamp(24px, 2.4vw, 38px); letter-spacing: -.025em; line-height: 1.1; transition: transform .45s var(--ease); }
.project:hover .project__name { transform: translateX(12px); }
.project .tags { grid-column: 6 / 13; justify-content: flex-start; }
.project__thumb { display: none; }
.projects__preview {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: 300px; aspect-ratio: 4 / 3; overflow: hidden;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.projects__preview.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.projects__preview img { width: 100%; height: 100%; object-fit: cover; }

.work__pair { margin-top: 72px; align-items: start; }
.work__big { grid-column: 1 / 9; }
.work__big img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.work__small { grid-column: 10 / 13; margin-top: 38%; }
.work__small img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.work figcaption { margin-top: 14px; font-size: 16px; color: var(--muted); }

/* ---------- reviews ---------- */
.reviews { background: var(--surface); padding-block: var(--section); }
.reviews__score { grid-column: 1 / 6; display: grid; gap: 20px; align-content: start; }
.score { font-size: 32px; letter-spacing: -.02em; color: var(--muted); }
.score span { display: block; font-size: clamp(120px, 15vw, 240px); line-height: .82; letter-spacing: -.06em; font-weight: 300; color: var(--ink); }
.score__sub { max-width: 30ch; }
.quote { grid-column: 7 / 13; }
.quote--a { margin-top: 24px; }
.quote--b { grid-column: 8 / 13; margin-top: 96px; }
.quote p { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.22; letter-spacing: -.015em; }
.quote figcaption { margin-top: 20px; font-size: 16px; color: var(--muted); }

/* ---------- process diagonal ---------- */
.process { padding-block: var(--section); }
.process__grid { row-gap: 0; }
.process__title { grid-column: 7 / 13; grid-row: 1; align-self: start; }
.step__img img { width: 100%; object-fit: cover; }
.step__img--1 { grid-column: 1 / 5; grid-row: 1 / 3; }
.step__img--1 img { aspect-ratio: 3 / 4; }
.step__txt--1 { grid-column: 5 / 9; grid-row: 2; align-self: end; padding-left: 8px; }
.step__img--2 { grid-column: 6 / 9; grid-row: 3; margin-top: 96px; }
.step__img--2 img { aspect-ratio: 1 / 1; }
.step__txt--2 { grid-column: 9 / 12; grid-row: 3; margin-top: 96px; }
.step__img--3 { grid-column: 8 / 13; grid-row: 4; margin-top: 96px; }
.step__img--3 img { aspect-ratio: 16 / 10; }
.step__txt--3 { grid-column: 4 / 8; grid-row: 4; margin-top: 96px; align-self: start; }
.step__txt { max-width: 36ch; font-size: 18px; }
.step__txt strong { font-weight: 600; }

/* ---------- faq ---------- */
.faq { background: var(--surface); padding-bottom: var(--section); }
.faq__grid { align-items: start; }
.faq__col { grid-column: 1 / 6; padding-top: var(--section); display: grid; gap: 40px; }
.facts { display: grid; gap: 6px; font-size: 18px; }
.facts a { font-variant-numeric: tabular-nums; font-weight: 500; }
.acc { display: grid; gap: 4px; }
.acc details { padding-block: 12px; }
.acc summary {
  list-style: none; cursor: pointer; position: relative;
  font-size: 20px; line-height: 1.35; letter-spacing: -.01em;
  padding: 10px 40px 10px 0; min-height: 44px;
  transition: color .25s var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before, .acc summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 2px; background: currentColor;
  transition: transform .35s var(--ease);
}
.acc summary::before { transform: translate(-4px, 0) rotate(45deg); }
.acc summary::after { transform: translate(2px, 0) rotate(-45deg); }
.acc details[open] summary::before { transform: translate(-4px, 0) rotate(-45deg); }
.acc details[open] summary::after { transform: translate(2px, 0) rotate(45deg); }
.acc summary:hover { color: var(--accent); }
.acc details p { font-size: 18px; color: var(--muted); max-width: 52ch; padding-top: 6px; }
.faq__media { grid-column: 7 / 13; position: relative; }
.faq__tall { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq__sq { position: absolute; left: -40px; bottom: -40px; width: 34%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- contact ---------- */
.contact { position: relative; min-height: 100svh; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.card {
  position: absolute; top: 60px; right: var(--m);
  width: min(400px, calc(100% - 2 * var(--m)));
  background: var(--bg); color: var(--ink);
  border-radius: 8px; padding: 32px;
  display: grid; gap: 18px;
}
.card__title { font-size: 32px; font-weight: 400; letter-spacing: -.03em; line-height: 1.05; }
.card__addr { font-size: 18px; }
.hours { display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.hours dt { color: var(--muted); }
.hours dd { font-variant-numeric: tabular-nums; }
.card__tel { font-size: 28px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card__mail { font-size: 16px; }
.card__btns { display: grid; gap: 8px; margin-top: 4px; }
.card__btns .btn { min-height: 52px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); overflow: hidden; padding-bottom: 104px; }
.footer__split { display: grid; grid-template-columns: 1fr 1fr; min-height: 92svh; }
.footer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.footer__menu { padding: 72px var(--m) 40px clamp(24px, 6vw, 96px); display: grid; align-content: start; gap: 56px; }
.wordmark--small { font-size: 18px; color: var(--on-dark); }
.bigmenu { display: grid; gap: 14px; }
.bigmenu a {
  font-size: clamp(32px, 3.4vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500;
  justify-self: start;
  transition: transform .4s var(--ease), color .3s var(--ease);
}
.bigmenu:hover a { color: var(--on-dark-muted); }
.bigmenu a:hover, .bigmenu a:focus-visible { color: var(--on-dark); transform: translateX(12px); }
.footer__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 16px; }
.footer__blocks a { text-decoration: underline; text-decoration-color: rgb(242 239 234 / .35); text-underline-offset: 4px; transition: text-decoration-color .25s; }
.footer__blocks a:hover { text-decoration-color: currentColor; }
.fh { color: var(--on-dark-muted); margin-bottom: 8px; }
.legal { font-size: 13px; color: var(--on-dark-muted); }
.footer__name {
  font-size: 21.5vw; line-height: .78; letter-spacing: -.065em; font-weight: 500;
  padding-inline: var(--m); margin-top: 48px; white-space: nowrap;
}

/* ---------- floating glass pill (fluid.glass signature) ---------- */
.pill {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 4px; padding: 6px;
  background: rgb(11 16 18 / .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); /* taste-skill-ignore: fluid.glass signature requested by the client */
  backdrop-filter: blur(18px) saturate(1.5); /* taste-skill-ignore */
  border-radius: 999px;
  color: var(--on-dark);
  box-shadow: 0 12px 40px rgb(0 0 0 / .22); /* taste-skill-ignore: the pill truly floats over content */
  transform: translateX(-50%);
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.pill.is-hidden { transform: translate(-50%, 140%); opacity: 0; }
.pill__mark { display: grid; place-items: center; width: 44px; height: 40px; border-radius: 999px; }
.pill__mark svg { width: 26px; }
.pill__links { display: flex; }
.pill__links a {
  padding: 10px 14px; border-radius: 999px; font-size: 14px; line-height: 1;
  transition: background-color .25s var(--ease);
}
.pill__links a:hover, .pill__links a.is-current { background: rgb(242 239 234 / .14); }
.pill__call {
  padding: 11px 18px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 500; line-height: 1;
  transition: background-color .25s var(--ease), transform .2s var(--ease);
}
.pill__call:hover { background: var(--accent-hover); }
.pill__call:active, .pill__links a:active { transform: scale(.95); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .toplinks { display: none; }
  .services__head .h2 { grid-column: 1 / 13; }
  .services__intro { grid-column: 1 / 10; }
  .tint__copy { grid-column: 1 / 13; }
  .tint__view { grid-column: 1 / 13; }
  .reviews__score, .quote, .quote--b { grid-column: 1 / 13; }
  .quote--a { margin-top: 64px; }
  .quote--b { margin-top: 56px; padding-left: 12%; }
}

/* ---------- phone ---------- */
@media (max-width: 820px) {
  :root { --t-body: 18px; }
  .topbar { padding-block: 16px; }
  .hero__copy { grid-template-columns: 1fr; align-content: end; }
  .hero__rating { display: none; }
  .anim .hero__copy { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding-top: 84px; padding-bottom: 20px; }
  .anim .hero__copy .display { align-self: start; padding: 0; }
  .anim .hero__side { grid-row: 3; padding: 0; max-width: none; justify-self: stretch; gap: 14px; }
  .display { font-size: clamp(38px, 10.5vw, 64px); }
  .lead { font-size: 16px; }
  .anim .hero__side .link-arrow { display: none; }
  .hero__side .btn { width: 100%; }

  .intro__title, .intro__text, .intro__photo, .intro__note, .figures { grid-column: 1 / 13; grid-row: auto; }
  .intro__text { text-indent: 0; margin-top: 20px; }
  .intro__photo { grid-column: 5 / 13; margin-top: 48px; }
  .intro__photo img { aspect-ratio: 4 / 5; }
  .intro__note { grid-column: 1 / 13; margin-top: 20px; }
  .figures { margin-top: 64px; gap: 36px 16px; }

  .services__intro { grid-column: 1 / 13; }
  .services__body { display: block; }
  .services__media { display: none; }
  .services__list { padding-left: 0; display: grid; gap: 64px; }
  .svc { min-height: 0; padding: 0; gap: 16px; }
  .svc__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; }
  .js .svc:not(.is-active) .h3 { color: var(--ink); }
  .svc.is-active .h3 { transform: none; }

  .tint__window { aspect-ratio: 5 / 4; }

  .work__title, .work__intro { grid-column: 1 / 13; }
  .work__intro { margin-top: 20px; }
  .project { grid-template-columns: 1fr; gap: 14px; padding: 0 0 40px; }
  .project__name, .project .tags { grid-column: auto; justify-content: flex-start; }
  .project__thumb { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; order: -1; }
  .project::before { display: none; }
  .work__pair { margin-top: 40px; }
  .work__big { grid-column: 1 / 13; }
  .work__small { grid-column: 4 / 13; margin-top: 40px; }

  .process__title { grid-column: 1 / 13; grid-row: auto; margin-bottom: 40px; }
  .step__img, .step__txt { grid-row: auto !important; margin-top: 0 !important; }
  .step__img--1 { grid-column: 1 / 13; }
  .step__img--1 img { aspect-ratio: 4 / 5; }
  .step__txt--1 { grid-column: 1 / 13; padding: 0; margin: 20px 0 56px !important; }
  .step__img--2 { grid-column: 5 / 13; }
  .step__txt--2 { grid-column: 5 / 13; margin: 20px 0 56px !important; }
  .step__img--3 { grid-column: 1 / 11; }
  .step__txt--3 { grid-column: 1 / 11; margin-top: 20px !important; }

  .faq { padding-top: 0; }
  .faq__col { grid-column: 1 / 13; grid-row: 2; padding-top: 72px; gap: 32px; }
  .faq__media { grid-column: 1 / 13; grid-row: 1; margin-inline: calc(var(--m) * -1); }
  .faq__tall { aspect-ratio: 4 / 5; }
  .faq__sq { left: auto; right: var(--m); bottom: -32px; width: 38%; }
  .acc summary { font-size: 18px; }
  .faq .actions .btn { width: 100%; }

  .contact { min-height: 0; overflow: visible; padding-bottom: 72px; background: var(--bg); }
  .contact__bg { position: relative; height: 70svh; }
  .card { position: relative; top: auto; right: auto; margin: -80px var(--m) 0; width: auto; padding: 24px; }

  .footer__split { grid-template-columns: 1fr; }
  .footer__photo img { height: 50svh; }
  .footer__menu { padding: 48px var(--m) 24px; gap: 40px; }
  .bigmenu a { font-size: 9vw; }
  .footer__blocks { grid-template-columns: 1fr; }

  .pill__links a:nth-child(3) { display: none; }
  .pill__links a { padding-inline: 11px; }
}

@media (hover: none) { .projects__preview { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* tablet/phone refinements */
@media (max-width: 1080px) {
  .tint__badge { font-size: 22px; letter-spacing: -.01em; font-weight: 500; }
}
@media (max-width: 820px) {
  .quote p { font-size: 22px; }
}
@media (max-width: 1080px) {
  /* the window sits right under the question, so every tap shows its effect on screen */
  .tint__copy { display: contents; }
  .tint__grid { row-gap: 28px; }
  .tint__grid > *, .tint__copy > * { grid-column: 1 / -1; }
  .tint__copy > .h2 { order: 1; }
  .tint__lead { order: 2; }
  .tint__view { order: 3; }
  .tint__copy > .seg { order: 4; }
  .verdict { order: 5; }
  .tint .btn--light { order: 6; justify-self: stretch; }
  .tint__view figcaption { margin-top: 12px; }
}

.pill-wait .pill { opacity: 0; transform: translate(-50%, 140%); transition: none; }

/* typographic polish: no orphaned last words, balanced headings */
p, figcaption, dd { text-wrap: pretty; }
h1, h2, h3, .card__title { text-wrap: balance; }

/* hero between phone and desktop: headline on top, windshield centred, copy beneath */
@media (min-width: 821px) and (max-width: 1180px) {
  .hero__rating { display: none; }
  .anim .hero__copy { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding-top: 96px; padding-bottom: 28px; }
  .anim .hero__copy .display { align-self: start; padding: 0; font-size: clamp(44px, 5.4vw, 64px); }
  .anim .hero__side { grid-row: 3; padding: 0; max-width: none; justify-self: stretch; grid-template-columns: minmax(0, 52ch) auto; justify-content: space-between; align-items: end; gap: 32px; }
}
