/* Optică Medicală Galben — styles
   One ground (paper), one ink, one accent: galben (yellow), the meaning of the name.
   Photographs are monochrome; only the yellow lens brings colour back. */

:root {
  --bg: #f4f4f1;
  --surface: #e7e7e2;
  --ink: #111111;
  --muted: #4a4a46;
  --accent: #f5c400;
  --accent-deep: #dcae00;
  --accent-ink: #111111;
  --paper-on-ink: #f4f4f1;

  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* five sizes */
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1rem + 1.2vw, 2.125rem);
  --step-head: clamp(2.5rem, 1.4rem + 3.6vw, 4.75rem);
  --step-display: clamp(4rem, 1rem + 9vw, 11rem);

  --m: clamp(16px, 2vw, 28px);
  --gap: clamp(12px, 1.4vw, 20px);
  --section: clamp(96px, 12vw, 200px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --t-hover: 180ms;
  --t-ui: 400ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p, h1, h2, h3, dl, dd, figure, blockquote, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--accent); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 10px; }

/* ---------- type roles ---------- */
.display, .head, .tile__big, .foot__mark text, .ptable__plan, .quote__num {
  font-family: var(--font);
  font-stretch: 75%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.display { font-size: var(--step-display); line-height: .88; }
.head { font-size: var(--step-head); line-height: .92; }
.lead, .statement { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.small { font-size: var(--step-small); line-height: 1.45; }

/* ---------- layout ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--m);
}
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
main { position: relative; z-index: 1; background: var(--bg); }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 26px;
  font-size: var(--step-body); font-weight: 600; letter-spacing: .01em;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-hover) ease;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--paper-on-ink); }
.btn--ink { background: var(--ink); color: var(--paper-on-ink); }
.btn--ink:hover { background: #2c2c2a; color: var(--accent); }
.link {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em;
  text-decoration-color: currentColor;
  transition: text-decoration-color var(--t-hover) ease, text-underline-offset var(--t-ui) var(--ease-out);
}
.link:hover { text-underline-offset: .38em; text-decoration-color: var(--accent); }
.link--light { color: var(--paper-on-ink); }

/* ---------- header (garrettleight: nav left, mark centre, nav right) ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 68px; padding-inline: var(--m);
  color: var(--paper-on-ink);
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease;
}
.bar.is-solid { background: var(--bg); color: var(--ink); }
.bar__nav { display: flex; gap: clamp(16px, 2vw, 32px); align-items: center; }
.bar__nav--right { justify-content: flex-end; }
.bar__nav a { text-decoration: none; font-size: var(--step-body); font-weight: 500; position: relative; padding-block: 6px; }
.bar__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-ui) var(--ease-out);
}
.bar__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.bar__mark {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: 1.75rem; letter-spacing: .02em;
}
.lens-dot { width: .78em; height: .78em; border-radius: 50%; background: var(--accent); transition: transform var(--t-ui) var(--ease-out); }
.bar__mark:hover .lens-dot { transform: scale(1.25); }
.bar__status { display: inline-flex; align-items: center; gap: 8px; }
.bar__status::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .5;
}
.bar__status.is-open::before { background: var(--accent); opacity: 1; }
.bar__menu { display: none; background: none; border: 0; padding: 10px 0; cursor: pointer; font-weight: 600; }
.bar__panel {
  position: absolute; top: 68px; left: 0; right: 0;
  display: grid; gap: 4px; padding: 16px var(--m) 28px;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 18px 40px rgba(0,0,0,.12); /* taste-skill-ignore: real overlay menu */
}
.bar__panel[hidden] { display: none; }
.bar__panel a { font-size: var(--step-lead); font-weight: 500; text-decoration: none; padding: 6px 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 640px; overflow: hidden;
  color: var(--paper-on-ink); background: #1b1b1a;
  --x: 56%; --y: 71%; --r: clamp(80px, 9.5vw, 150px);
}
.hero__media { position: absolute; inset: 0; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero__img--mono { filter: grayscale(1) contrast(1.06) brightness(.86); }
.hero__img--color {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 98%, transparent 100%); /* taste-skill-ignore: lens mask shape */
          mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 98%, transparent 100%); /* taste-skill-ignore: lens mask shape */
}
.hero__ring {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  translate: -50% -50%; border-radius: 50%;
  border: 5px solid var(--accent);
  pointer-events: none;
}
/* the one permitted gradient: a neutral scrim under text on a photograph */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 60%), /* taste-skill-ignore: neutral scrim */
              linear-gradient(to bottom, rgba(0,0,0,.35) 0, rgba(0,0,0,0) 120px); /* taste-skill-ignore: neutral scrim */
}
.hero__copy {
  position: absolute; z-index: 2; left: var(--m); right: var(--m); bottom: clamp(28px, 5vh, 56px);
  max-width: 62rem;
}
.hero__title { margin-bottom: 36px; }
.hero__lead { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; font-weight: 500; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.hero__aside {
  position: absolute; z-index: 2; right: var(--m); bottom: clamp(28px, 5vh, 56px);
  text-align: right; line-height: 1.5;
}

/* ---------- intro ---------- */
.intro .grid { align-items: start; }
.intro__photo { grid-column: 1 / 6; position: sticky; top: 96px; }
.intro__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.intro__photo figcaption { margin-top: 10px; color: var(--muted); }
.intro__body { grid-column: 7 / 13; display: grid; gap: 24px; }
.intro__text { text-indent: 3em; margin-bottom: 16px; }
.intro__more { max-width: 52ch; }
.intro__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 40px; }
.intro__facts li { color: var(--muted); font-size: var(--step-small); padding-top: 20px; position: relative; }
.intro__facts li::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.intro__facts .lead { display: block; color: var(--ink); margin-bottom: 6px; }

/* ---------- services ---------- */
.services__h { grid-column: 1 / 13; margin-bottom: 40px; }
.services__statement { grid-column: 1 / 11; }
.slot {
  display: inline-block; width: 1.9em; height: 1em; vertical-align: -0.12em;
  border-radius: .18em; overflow: hidden; background: var(--surface);
}
.slot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter var(--t-ui) ease; }
.services__statement:hover .slot img { filter: none; }
.services__list { margin-top: clamp(64px, 7vw, 112px); row-gap: clamp(40px, 4vw, 64px); }
.svc { grid-column: span 4; padding-top: 22px; position: relative; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.svc dt { margin-bottom: 12px; }
.svc dd { max-width: 36ch; }

/* ---------- lens finder ---------- */
.finder { background: var(--accent); color: var(--accent-ink); padding-block: var(--section); }
.finder__grid { align-items: start; }
.finder__form { grid-column: 1 / 7; }
.finder__intro { margin: 24px 0 48px; max-width: 40ch; }
.seg { border: 0; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-weight: 600; margin-bottom: 14px; padding: 0; }
.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: 48px; padding: 10px 20px;
  background: var(--accent-deep); font-weight: 500;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-hover) ease;
}
.seg label:hover span { background: #c99f00; }
.seg input:checked + span { background: var(--ink); color: var(--accent); }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.seg label:active span { transform: scale(.97); }
.finder__result { grid-column: 8 / 13; background: var(--bg); padding: clamp(20px, 2.4vw, 36px); }
.finder__fig { margin: calc(clamp(20px, 2.4vw, 36px) * -1) calc(clamp(20px, 2.4vw, 36px) * -1) 28px; overflow: hidden; }
.finder__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1); transition: opacity 260ms ease; }
.finder__name { margin-bottom: 12px; }
.finder__extras { margin: 20px 0; display: grid; gap: 6px; }
.finder__extras li { padding-left: 22px; position: relative; }
.finder__extras li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.finder__price { margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.finder__actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
[data-r-name], [data-r-price] { transition: opacity 240ms ease, transform 240ms var(--ease-out); }
[data-r-price] { display: inline-block; }
.finder__result.is-swapping [data-r-name], .finder__result.is-swapping [data-r-price] { opacity: 0; transform: translateY(8px); }

/* ---------- showcase band ---------- */
.showcase__h { grid-column: 3 / 13; margin-bottom: 56px; }
.band { display: flex; height: 68svh; min-height: 420px; }
.band__panel { position: relative; flex: var(--g) 1 0; min-width: 0; overflow: hidden; transition: flex-grow 500ms var(--ease-out); }
.band__panel img, .band__panel video {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05);
  transition: filter 500ms ease, transform 900ms var(--ease-soft);
}
.band__panel:hover img, .band__panel:hover video { filter: none; transform: scale(1.03); }
@media (hover: hover) { .band__panel:hover { flex-grow: 6; } }
.band__title {
  position: absolute; left: 0; top: 0; padding: 24px 48px 48px 24px;
  font-size: var(--step-lead); line-height: 1.1; font-weight: 600; color: var(--paper-on-ink);
  background: radial-gradient(ellipse at top left, rgba(0,0,0,.55), rgba(0,0,0,0) 70%); /* taste-skill-ignore: neutral scrim */
}
.band__caption { grid-column: 1 / 7; margin-top: 20px; }

/* ---------- pricing ---------- */
.pricing__wrap { grid-column: 1 / 13; overflow-x: auto; }
.ptable { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.ptable th, .ptable td { padding: 18px 20px; vertical-align: top; }
.ptable thead th { padding-bottom: 32px; vertical-align: bottom; }
.ptable__corner { width: 30%; padding-left: 0 !important; }
.ptable__plan { display: block; font-size: var(--step-lead); line-height: 1; }
.ptable__price { display: block; font-size: var(--step-lead); font-weight: 400; margin: 6px 0 4px; }
.ptable tbody th { font-weight: 600; padding-left: 16px; }
.ptable tbody tr:nth-child(odd):not(.ptable__cta) { background: var(--surface); }
.ptable .is-rec { background: var(--accent); }
.ptable__cta td { padding-top: 24px; padding-bottom: 24px; }
.ptable__cta .btn { width: 100%; }
.pricing__note { grid-column: 1 / 7; margin-top: 32px; }

/* price cards: the table recomposed as stacked plans on a phone */
.pcards { display: none; grid-column: 1 / 13; gap: 40px; }
.pcard { background: var(--surface); padding: 24px 20px; display: grid; gap: 4px; justify-items: start; }
.pcard.is-rec { background: var(--accent); }
.pcard__plan { font-stretch: 75%; font-weight: 600; text-transform: uppercase; font-size: var(--step-head); line-height: .95; }
.pcard__price { font-size: var(--step-lead); margin-bottom: 8px; }
.pcard dl { display: grid; gap: 2px; margin-bottom: 20px; }
.pcard dt { color: var(--muted); margin-top: 10px; }
.pcard dd { font-weight: 500; }
.pcard .btn { width: 100%; }

/* ---------- place ---------- */
.place__h { grid-column: 1 / 13; }
.place__lead { grid-column: 1 / 8; margin: 24px 0 72px; font-weight: 400; }
.place__photo { grid-column: 1 / 9; position: relative; }
.place__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.place__card {
  position: absolute; top: 0; right: 0; width: min(320px, 60%);
  background: var(--bg); padding: 20px;
}
.place__side { grid-column: 9 / 13; display: grid; gap: 28px; align-content: start; }
.place__map {
  display: block; background: var(--accent); text-decoration: none; padding: 16px;
  transition: background-color var(--t-hover) ease;
}
.place__map:hover { background: var(--accent-deep); }
.place__map svg { width: 100%; height: auto; }
.m-main { stroke: var(--ink); stroke-width: 14; fill: none; }
.m-st { stroke: var(--ink); stroke-width: 5; fill: none; opacity: .35; }
.m-dot { fill: var(--bg); stroke: var(--ink); stroke-width: 6; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease-soft) infinite; }
.m-lbl { font: 700 22px var(--font); fill: var(--ink); text-transform: uppercase; }
.m-sm { font: 500 13px var(--font); fill: var(--ink); }
.place__maplink { display: block; margin-top: 8px; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--gap); }
.facts dt { font-size: var(--step-small); color: var(--muted); }
.facts dd { font-weight: 500; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }

/* ---------- wall of tiles ---------- */
.wall { padding: 0 var(--m) var(--section); }
.wall__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.tile__big { font-size: var(--step-head); line-height: .9; margin: 0; text-align: center; transition: transform var(--t-ui) var(--ease-out); }
.tile__big small { font-size: .45em; margin-left: .1em; }
.tile__cap { position: absolute; left: 12px; right: 12px; bottom: 18px; text-align: center; font-size: var(--step-small); }
.t-ink { background: var(--ink); color: var(--paper-on-ink); }
.t-paper { background: #fbfbf9; color: var(--ink); }
.t-surface { background: var(--surface); color: var(--ink); }
.t-yellow { background: var(--accent); color: var(--ink); }
.t-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 500ms ease, transform 900ms var(--ease-soft); }
.t-photo:hover img { filter: none; transform: scale(1.04); }
.tile:not(.t-photo):hover .tile__big { transform: translateY(-6px); }

/* ---------- quote ---------- */
.quote { display: grid; grid-template-columns: 5fr 7fr; min-height: 56svh; }
.quote__who {
  background: var(--ink); color: var(--paper-on-ink);
  display: flex; flex-direction: column; justify-content: space-between; padding: 32px var(--m);
}
.quote__score { display: grid; gap: 8px; }
.quote__num { font-size: var(--step-display); line-height: .85; color: var(--accent); }
.quote__role { color: #b9b9b3; }
.quote__text { background: var(--surface); padding: 48px clamp(40px, 5vw, 80px); }
.quote__text p { font-size: var(--step-lead); line-height: 1.3; font-weight: 500; max-width: 24ch; text-indent: -.42em; }

/* ---------- faq ---------- */
.faq__h { grid-column: 1 / 6; align-self: start; position: sticky; top: 100px; }
.faq__list { grid-column: 6 / 13; display: grid; gap: 6px; }
.faq details { background: var(--surface); transition: background-color var(--t-hover) ease; }
.faq details[open] { background: #ddddd7; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative;
  font-weight: 600; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; translate: 0 -50%;
  border-radius: 50%; background: var(--ink);
  transition: background-color var(--t-hover) ease, transform var(--t-ui) var(--ease-out);
}
.faq summary:hover::after { background: var(--accent); transform: scale(1.15); }
.faq details[open] summary::after { background: var(--accent); }
.faq details p { padding: 0 24px 26px; max-width: 60ch; }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(96px, 9vw, 140px); }
.contact__sentence { grid-column: 1 / 6; line-height: 1.3; }
.contact__photo { grid-column: 7 / 9; }
.contact__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.contact__photo figcaption { margin-top: 8px; color: var(--muted); }
.contact__links { grid-column: 9 / 13; display: grid; gap: 14px; align-content: start; justify-items: start; }
.contact__q { font-weight: 600; margin-bottom: 6px; }
.contact__big { font-weight: 500; overflow-wrap: anywhere; }
.contact__meta { color: var(--muted); margin-top: 6px; }

/* ---------- footer: yellow field, the name at full width ---------- */
.foot {
  min-height: 92svh; display: grid; grid-template-rows: auto 1fr auto auto;
  background: var(--accent); color: var(--ink); padding: 40px var(--m) 20px;
}
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.foot__cols p:not(.foot__first) { color: #3b3420; }
.foot__first { font-weight: 600; margin-bottom: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot__mark { grid-row: 3; width: 100%; height: auto; margin-bottom: 20px; overflow: visible; }
.foot__mark text { font-size: 270px; fill: var(--ink); }
.foot__legal { grid-row: 4; display: grid; gap: 6px; color: #3b3420; }
.foot__credits { max-width: 36rem; }

/* ---------- motion (only when script runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-out) var(--d, 0ms), transform 900ms var(--ease-out) var(--d, 0ms);
}
.js .hero__media { clip-path: inset(100% 0 0 0); }
.js .hero__media .hero__img { transform: scale(1.12); }
.js .hero__title, .js .hero__lead, .js .hero__actions, .js .hero__aside { opacity: 0; transform: translateY(28px); }
.js .is-loaded .hero__media { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease-out); }
.js .is-loaded .hero__media .hero__img { transform: scale(1); transition: transform 1600ms var(--ease-soft); }
.js .is-loaded .hero__title,
.js .is-loaded .hero__lead,
.js .is-loaded .hero__actions,
.js .is-loaded .hero__aside { opacity: 1; transform: none; transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); }
.js .is-loaded .hero__title { transition-delay: 500ms; }
.js .is-loaded .hero__lead { transition-delay: 600ms; }
.js .is-loaded .hero__actions { transition-delay: 700ms; }
.js .is-loaded .hero__aside { transition-delay: 800ms; }
.js .hero__ring { opacity: 0; scale: .6; }
.js .is-loaded .hero__ring { opacity: 1; scale: 1; transition: opacity 600ms ease 1000ms, scale 900ms var(--ease-out) 1000ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .hero__title, .js .hero__lead, .js .hero__actions, .js .hero__aside, .js .hero__ring { opacity: 1 !important; transform: none !important; scale: 1 !important; }
  .js .hero__media { clip-path: none !important; }
  .js .hero__media .hero__img { transform: none !important; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .bar__status { display: none; }
  .intro__photo { grid-column: 1 / 6; }
  .intro__body { grid-column: 6 / 13; }
  .intro__facts { grid-template-columns: 1fr; }
  .svc { grid-column: span 6; }
  .finder__form { grid-column: 1 / 13; }
  .finder__result { grid-column: 1 / 13; margin-top: 24px; }
  .place__photo { grid-column: 1 / 13; }
  .place__side { grid-column: 1 / 13; grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .faq__h { grid-column: 1 / 13; position: static; margin-bottom: 40px; }
  .faq__list { grid-column: 1 / 13; }
  .contact__sentence { grid-column: 1 / 13; margin-bottom: 48px; }
  .contact__photo { grid-column: 1 / 4; }
  .contact__links { grid-column: 5 / 13; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --gap: 12px; --section: 72px; }
  .pcard dl { grid-template-columns: 7.5rem 1fr; column-gap: 12px; row-gap: 8px; }
  .pcard dt { margin-top: 0; }
  .services__list { margin-top: 48px; row-gap: 32px; }
  .finder__intro { margin: 16px 0 32px; }
  .seg { margin-bottom: 24px; }
  .intro__photo img { aspect-ratio: 1; }
  .bar { grid-template-columns: auto 1fr; height: 60px; }
  .bar__nav--left, .bar__nav--right > a { display: none; }
  .bar__menu { display: inline-block; }
  .bar__mark { font-size: var(--step-lead); }
  .bar__panel { top: 60px; }
  .hero { min-height: 600px; --r: 84px; --x: 56%; --y: 45.5%; }
  .hero__img { object-position: 58% 22%; }
  .hero__title { font-size: clamp(2.75rem, 12.4vw, 5rem); margin-bottom: 20px; }
  .hero__lead { font-size: 1.1875rem; margin-bottom: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__aside { display: none; }
  .intro__body { grid-column: 1 / 13; grid-row: 1; }
  .intro__text { text-indent: 0; }
  .intro__photo { grid-column: 4 / 13; grid-row: 2; position: static; margin-top: 40px; }
  .intro__facts { grid-template-columns: 1fr; margin-top: 16px; }

  .services__statement { grid-column: 1 / 13; }
  .slot { width: 1.5em; }
  .svc { grid-column: 1 / 13; }
  .seg span { padding: 10px 16px; }
  .showcase__h { grid-column: 1 / 13; margin-bottom: 32px; }
  .band { flex-wrap: wrap; }
  .band__panel { height: 50%; flex: none; }
  .band__panel:nth-child(1) { width: 64%; }
  .band__panel:nth-child(2) { width: 36%; }
  .band__panel:nth-child(3) { width: 36%; }
  .band__panel:nth-child(4) { width: 64%; }
  .band__caption { grid-column: 1 / 13; }
  .pricing__wrap { display: none; }
  .pcards { display: grid; }
  .pcards .head { margin-bottom: 24px; }
  .pricing__note { grid-column: 1 / 13; }
  .place__lead { grid-column: 1 / 13; margin-bottom: 40px; }
  .place__photo img { aspect-ratio: 4 / 3; }
  .place__card { position: static; width: auto; padding: 16px 0 0; }
  .place__side { grid-template-columns: 1fr; }
  .wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tile__big { font-size: clamp(2.75rem, 12.4vw, 5rem); }
  .quote { grid-template-columns: 1fr; min-height: 0; }
  .quote__text { order: -1; padding: 40px 28px 96px; }

  .quote__who { flex-direction: row; align-items: end; padding: 24px var(--m); gap: 24px; }
  .quote__num { font-size: clamp(2.75rem, 12.4vw, 5rem); }

  .contact__photo { grid-column: 1 / 5; }
  .contact__links { grid-column: 5 / 13; }
  .foot { padding-top: 32px; min-height: 0; }
  .foot__mark { margin-top: 56px; }
  .band { height: 64svh; min-height: 0; }
  .finder__fig { display: none; }
  .pcard { padding: 20px 16px; }
  .pcard__plan { font-size: var(--step-head); }
  .pcard dl { margin-bottom: 16px; }
  .place__map { padding: 12px; }
  .wall { padding-bottom: var(--section); }
  .tile__cap { bottom: 12px; }
  .foot__cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
