/* Resisport: light trade site. White and cool grey grounds, charcoal ink,
   Resisport orange for every action, the blue of the real courts in the photographs. */

:root {
  --ink: #1c1d20;
  --ink-2: #3d4047;
  --muted: #5d626b;
  --line: #e3e5e9;
  --bg: #ffffff;
  --tint: #f3f4f6;
  --coal: #1c1d20;
  --orange: #fe7c1e;
  --orange-hover: #ff8d3a;
  --orange-ink: #b84f05;
  --orange-soft: #fff1e6;
  --wa: #1fa855;
  --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(28,29,32,.06), 0 8px 24px -8px rgba(28,29,32,.16);
  --shadow-lg: 0 2px 4px rgba(28,29,32,.06), 0 24px 48px -16px rgba(28,29,32,.28);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --text: "Figtree", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; scrollbar-color: #b9bcc3 var(--tint); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
::selection { background: var(--orange); color: #111; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }

/* type */
.h2 { font: 700 clamp(32px, 4.2vw, 52px)/1 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.h2--sm { font-size: clamp(26px, 3vw, 36px); }
.big { font-size: 20px; line-height: 1.5; font-weight: 500; }
.tag { font-size: 14px; font-weight: 600; color: var(--orange-ink); }
.head { max-width: 720px; display: grid; gap: 14px; margin-bottom: 44px; }
.head > p { color: var(--muted); font-size: 18px; max-width: 60ch; }
.head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.head--split > div { display: grid; gap: 14px; max-width: 620px; }
.head--split p { color: var(--muted); font-size: 18px; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer; font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(.97); }
.btn .ic { transition: transform 200ms var(--ease-out); }
.btn--primary { background: var(--orange); color: #111; box-shadow: 0 6px 16px -6px rgba(254,124,30,.6); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; min-height: 54px; }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--wa { background: var(--wa); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--orange-hover); }
  .btn--glass:hover { background: rgba(255,255,255,.2); }
  .btn--wa:hover { background: #1b9a4d; }
  .btn:hover .ic:last-child { transform: translateX(3px); }
}
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--orange); padding-bottom: 3px; justify-self: start; }
.link .ic { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover .ic:last-child { transform: translateX(3px); } .link:hover { color: var(--orange-ink); } }

/* top bar */
.topbar { background: var(--coal); color: rgba(255,255,255,.86); font-size: 14px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { display: flex; align-items: center; gap: 8px; }
.topbar .ic { color: var(--orange); width: 16px; height: 16px; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.25); margin: 0 10px; }
.topbar__contact { gap: 22px !important; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .topbar__contact a:hover { color: #fff; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow 200ms ease; }
.nav.is-scrolled { box-shadow: 0 8px 24px -16px rgba(28,29,32,.35); }
.nav__in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { position: relative; text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink-2); padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); } .nav__links a:hover::after { transform: scaleX(1); } }
.nav__call { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.1; }
.nav__call small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.nav__call-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-ink); display: grid; place-items: center; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 220ms var(--ease-out); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { border-top: 1px solid var(--line); background: #fff; padding: 8px var(--gut) 20px; display: grid; }
.menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 18px; }
.menu .btn { margin-top: 16px; }
@media (max-width: 1120px) { .nav__links { gap: 18px; } .nav__call small { display: none; } }
@media (max-width: 980px) {
  .nav__links, .nav__call, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .topbar__claim { display: none !important; }
  .topbar__in { justify-content: center; }
}
@media (max-width: 420px) { .topbar__contact a:last-child { display: none; } }
@media (min-width: 981px) { .menu { display: none !important; } }

/* hero */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--coal); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20,21,24,.92) 0%, rgba(20,21,24,.8) 42%, rgba(20,21,24,.45) 70%, rgba(20,21,24,.3) 100%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; padding-block: clamp(48px, 6vw, 88px); min-height: calc(100svh - var(--nav-h) - 40px); }
.hero__title { font: 800 clamp(44px, 6vw, 82px)/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.hero__title span { display: block; color: var(--orange); }
.hero__lead { margin-top: 24px; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); font-size: 14px; font-weight: 500; }
.chips .ic { color: var(--orange); width: 16px; height: 16px; stroke-width: 2.4; }

/* quote card */
.quote { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.quote__title { font: 700 28px/1 var(--display); text-transform: uppercase; }
.quote__sub { color: var(--muted); font-size: 15px; margin-top: -6px; }
.quote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--text); color: var(--ink); background: var(--tint); border: 1.5px solid transparent; border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px; transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.field textarea { resize: vertical; min-height: 84px; }
.field ::placeholder { color: #7d828b; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfd2d8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(254,124,30,.18); }
.field [aria-invalid="true"] { border-color: #c4321b; background: #fff6f4; }
.field__err { color: #b42318; font-size: 13px; font-weight: 600; }
.select { position: relative; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select .ic { position: absolute; right: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.check a { color: var(--ink); text-underline-offset: 3px; }
.check__err { margin-top: -8px; }
.quote__status { font-size: 14px; color: var(--ink-2); }
.quote__status:empty { display: none; }
.quote.is-flash { animation: flash 900ms var(--ease-out); }
@keyframes flash { from { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(254,124,30,.65); } to { box-shadow: var(--shadow-lg), 0 0 0 16px rgba(254,124,30,0); } }

@media (max-width: 980px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 40px; min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(20,21,24,.62) 0%, rgba(20,21,24,.84) 40%, rgba(20,21,24,.96) 100%); }
  .quote { max-width: 620px; }
}
@media (max-width: 560px) {
  .quote { padding: 22px; }
  .quote__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { width: 100%; }
  .hero__lead { font-size: 17px; }
}

/* the one authored entrance: words, then the card, the photo settling under them */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__lead, .hero__actions, .chips, .quote { animation: rise 700ms var(--ease-out) both; }
  .hero__lead { animation-delay: 70ms; }
  .hero__actions { animation-delay: 130ms; }
  .chips { animation-delay: 180ms; }
  .quote { animation-delay: 110ms; animation-duration: 800ms; }
  .hero__bg { animation: settle 1400ms var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { transform: scale(1.06); } }

/* sections */
.sec { padding-block: clamp(72px, 9vw, 120px); }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--coal); color: #fff; }
.sec--dark .head--split p { color: rgba(255,255,255,.76); }

/* intro */
.intro__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.intro__pics { position: relative; aspect-ratio: 1 / 1.02; }
.intro__pics img { position: absolute; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.intro__a { left: 0; top: 0; width: 82%; height: 78%; }
.intro__b { right: 0; bottom: 0; width: 46%; height: 58%; border: 6px solid #fff; }
.intro__text { display: grid; gap: 18px; }
.intro__text > p:not(.big) { color: var(--ink-2); }
.intro__text .link { margin-top: 6px; }
@media (max-width: 860px) { .intro__in { grid-template-columns: minmax(0, 1fr); } .intro__pics { max-width: 560px; width: 100%; } }

/* services */
.svc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 20px; }
.svc__card { position: relative; grid-column: span 2; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); transition: translate 260ms var(--ease-out), box-shadow 260ms ease; }
.svc__card--wide { grid-column: span 4; grid-row: span 2; }
.svc__card:nth-child(n+4) { grid-column: span 3; }
.svc__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: scale 600ms var(--ease-out); }
.svc__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,21,24,0) 30%, rgba(20,21,24,.86) 100%); }
.svc__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 6px; }
.svc__title { font: 700 30px/1 var(--display); text-transform: uppercase; }
.svc__card--wide .svc__title { font-size: 44px; }
.svc__text { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.88); max-width: 46ch; }
.svc__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; font-size: 15px; color: var(--orange); }
.svc__go .ic { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc__card:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
  .svc__card:hover img { scale: 1.04; }
  .svc__card:hover .svc__go .ic { transform: translateX(4px); }
}
@media (max-width: 980px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .svc__card, .svc__card:nth-child(n+4) { grid-column: span 1; }
  .svc__card--wide { grid-column: 1 / -1; grid-row: span 1; }
}
@media (max-width: 560px) { .svc { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; } .svc__card--wide .svc__title { font-size: 34px; } }

/* who */
.who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.who li { padding: 32px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.who li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.who__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-ink); display: grid; place-items: center; margin-bottom: 8px; }
.who__ic .ic { width: 26px; height: 26px; }
.who h3 { font: 700 24px/1.05 var(--display); text-transform: uppercase; }
.who p { color: var(--muted); font-size: 16px; }
@media (max-width: 980px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } .who li:nth-child(3) { padding-left: 0; border-left: 0; } .who li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .who { grid-template-columns: minmax(0, 1fr); } .who li, .who li + li { padding: 26px 0 18px; border-left: 0; } .who li + li { border-top: 1px solid var(--line); } }

/* before / after */
.tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.tabs button { appearance: none; border: 0; background: transparent; color: rgba(255,255,255,.8); cursor: pointer; font: 600 15px/1 var(--text); padding: 12px 18px; border-radius: 999px; min-height: 44px; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out); }
.tabs button[aria-selected="true"] { background: var(--orange); color: #111; }
.tabs button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .tabs button[aria-selected="false"]:hover { color: #fff; background: rgba(255,255,255,.08); } }
.ba { position: relative; aspect-ratio: 16 / 8.5; border-radius: var(--r-lg); overflow: hidden; background: #000; user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 220ms ease, filter 220ms ease; }
.ba__before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba.is-swapping .ba__img { opacity: .4; filter: blur(3px); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: #111; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.6); transition: scale 160ms var(--ease-out); }
.ba__knob .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.ba__knob .ic:first-child { rotate: 90deg; margin-right: -4px; }
.ba__knob .ic:last-child { rotate: -90deg; margin-left: -4px; }
.ba:active .ba__knob { scale: .92; }
.ba__tag { position: absolute; top: 18px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; pointer-events: none; background: rgba(20,21,24,.78); color: #fff; }
.ba__tag--l { left: 18px; }
.ba__tag--r { right: 18px; background: var(--orange); color: #111; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 3px solid #fff; outline-offset: 3px; }
.ba__note { margin-top: 20px; color: rgba(255,255,255,.8); max-width: 70ch; }
@media (max-width: 700px) { .ba { aspect-ratio: 3 / 4; } .tabs { width: 100%; } .tabs button { flex: 1; padding: 10px 8px; font-size: 13px; } }

/* featured project */
.feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; margin-bottom: clamp(72px, 9vw, 112px); }
.feat__pics { position: relative; padding-bottom: 12%; }
.feat__main { width: 88%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.feat__sub { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-lg); border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.feat__text { display: grid; gap: 18px; }
.ticks { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks .ic { margin-top: 3px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--orange); color: #111; stroke-width: 3; }
@media (max-width: 900px) { .feat { grid-template-columns: minmax(0, 1fr); } }

/* more works */
.works-head { margin-bottom: 28px; }
.works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.work { display: grid; align-content: start; gap: 8px; text-decoration: none; color: inherit; }
.work__pic { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--tint); margin-bottom: 8px; }
.work__pic img { width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease-out); }
.work__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--orange-ink); }
.work__meta .ic { width: 15px; height: 15px; }
.work__title { font: 700 24px/1.05 var(--display); text-transform: uppercase; transition: color 200ms ease; }
.work__text { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) { .work:hover .work__pic img { scale: 1.04; } .work:hover .work__title { color: var(--orange-ink); } }
@media (max-width: 980px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 480px) { .works { grid-template-columns: minmax(0, 1fr); } .work__pic { aspect-ratio: 4 / 3; } }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: grid; align-content: start; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step__n { position: absolute; top: 14px; left: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #111; display: grid; place-items: center; font: 800 22px/1 var(--display); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.step h3 { font: 700 24px/1.05 var(--display); text-transform: uppercase; padding: 22px 22px 8px; }
.step p { padding: 0 22px 24px; color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* price */
.price { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.price__text { display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 32px); }
.price__text p { color: var(--ink-2); font-size: 18px; }
.price__text .btn { justify-self: start; }
.factors { margin: 0; display: grid; }
.factors > div { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 8px 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.factors > div:first-child { border-top: 1px solid var(--line); }
.factors dt { display: flex; align-items: center; gap: 12px; font: 700 22px/1.1 var(--display); text-transform: uppercase; }
.factors dt .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-ink); }
.factors dd { margin: 0; color: var(--muted); align-self: center; }
@media (max-width: 900px) { .price { grid-template-columns: minmax(0, 1fr); } .price__text { position: static; } }
@media (max-width: 560px) { .factors > div { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__head { display: grid; gap: 18px; }
.faq__head p { color: var(--muted); font-size: 18px; }
.faq__head .btn { justify-self: start; }
.faq__list { display: grid; gap: 12px; }
details { background: #fff; border-radius: var(--r-md); box-shadow: 0 1px 2px rgba(28,29,32,.05); transition: box-shadow 200ms ease; }
details[open] { box-shadow: var(--shadow); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary .ic { width: 22px; height: 22px; color: var(--orange-ink); transition: rotate 220ms var(--ease-out); }
details[open] summary .ic { rotate: 180deg; }
.faq__a { padding: 0 22px 20px; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height 260ms var(--ease-out), content-visibility 260ms allow-discrete; }
  details[open]::details-content { height: auto; }
}
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* cta band */
.cta { background: var(--orange); color: #111; padding-block: clamp(48px, 6vw, 72px); }
.cta__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta__title { font: 800 clamp(34px, 4.4vw, 56px)/1 var(--display); text-transform: uppercase; }
.cta__in p { font-size: 18px; margin-top: 8px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 16px; border-radius: 16px; background: rgba(255,255,255,.3); text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.15; min-height: 60px; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.cta__btn small { display: block; font-size: 13px; font-weight: 500; }
.cta__btn .ic { width: 26px; height: 26px; }
.cta__btn--solid { background: var(--coal); color: #fff; }
.cta__btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .cta__btn:hover { background: rgba(255,255,255,.48); } .cta__btn--solid:hover { background: #000; } }
@media (max-width: 560px) { .cta__actions, .cta__btn { width: 100%; } }

/* footer */
.foot { background: var(--coal); color: rgba(255,255,255,.76); padding-top: 72px; font-size: 15px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.foot__brand img { height: 38px; width: auto; }
.foot__brand p { margin-top: 18px; max-width: 36ch; }
.foot h3 { font: 700 18px/1 var(--display); text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--orange); } }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
@media (max-width: 860px) { .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot__in { grid-template-columns: minmax(0, 1fr); } }

/* mobile contact bar */
.mbar { display: none; }
@media (max-width: 700px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); }
  .mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px; background: var(--tint); text-decoration: none; font-weight: 700; font-size: 15px; transition: transform 160ms var(--ease-out); }
  .mbar a:active { transform: scale(.97); }
  .mbar .mbar__main { background: var(--orange); color: #111; }
  body { padding-bottom: 76px; }
}

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

/* fixes after the first look */
.menu[hidden] { display: none; }
.tabs { flex: none; }
.tabs button { white-space: nowrap; }
.svc__card::before { background: linear-gradient(180deg, rgba(20,21,24,0) 20%, rgba(20,21,24,.55) 55%, rgba(20,21,24,.9) 100%); }
@media (max-width: 560px) { .svc { grid-auto-rows: 290px; } }
@media (max-width: 700px) { .tabs { overflow-x: auto; scrollbar-width: none; } }
.head--split > .tabs { display: inline-flex; max-width: none; }

/* detector fixes */
.field ::placeholder { color: #626771; }
:root { --wa: #157a3c; }
@media (hover: hover) and (pointer: fine) { .btn--wa:hover { background: #106631; } }
.btn--primary { box-shadow: 0 6px 16px -8px rgba(28,29,32,.45); }
.who { border-top: 0; gap: 0 40px; }
.who li, .who li + li { padding: 26px 0 22px; border-left: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; align-items: center; }
.who__ic { width: auto; height: auto; background: none; margin: 0; color: var(--orange-ink); border-radius: 0; }
.who__ic .ic { width: 30px; height: 30px; }
.who p { grid-column: 1 / -1; }
@media (max-width: 980px) { .who li:nth-child(n+3) { border-top: 2px solid var(--ink); } }
@media (max-width: 560px) { .who li + li { border-top: 2px solid var(--ink); } }
@keyframes flash { from { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(255,255,255,.75); } to { box-shadow: var(--shadow-lg), 0 0 0 16px rgba(255,255,255,0); } }

/* finish review fixes */
.nav__wa { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--wa); padding: 10px 14px; border-radius: 999px; background: #e9f6ee; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.nav__wa:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .nav__wa:hover { background: #d6efdf; } }
@media (max-width: 1180px) { .nav__wa { padding: 10px; font-size: 0; gap: 0; } .nav__wa .ic { width: 22px; height: 22px; } }
@media (max-width: 980px) {
  .nav__wa { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(20,21,24,.35) 0%, rgba(20,21,24,.6) 38%, rgba(20,21,24,.85) 70%, rgba(20,21,24,.95) 100%); }
  .hero__bg { object-position: 70% 80%; }
  .hero__title, .hero__lead { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
}
.quote__wa[hidden] { display: none; }
.svc__badge { position: absolute; top: 14px; right: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(20,21,24,.72); color: #fff; font-size: 12px; font-weight: 600; }
.work__meta { order: 0; color: var(--ink-2); font-weight: 500; }
.work__meta .ic { color: var(--orange-ink); }
.intro__a { object-position: 50% 85%; }
.feat__main { object-position: 50% 80%; }
.nav__in { gap: 22px; }
.nav__links { gap: 22px; }
.nav__links a, .nav__call, .nav__wa, .nav__cta { white-space: nowrap; }
@media (max-width: 1360px) { .nav__wa { padding: 10px; font-size: 0; gap: 0; } .nav__wa .ic { width: 22px; height: 22px; } .nav__call small { display: none; } }
@media (max-width: 980px) {
  .hero__bg { height: 100svh; object-position: 62% 100%; transform-origin: 60% 92%; scale: 1.9; }
  .hero::before { background: linear-gradient(180deg, rgba(20,21,24,.3) 0%, rgba(20,21,24,.55) 40%, rgba(20,21,24,.9) 85svh, var(--coal) 100svh); }
}
/* crop the sky off the two collage photos (object-view-box where supported; cover elsewhere) */
.intro__a { object-view-box: inset(32% 0 0 0); }
.feat__main { object-view-box: inset(34% 0 0 0); }
/* six works in a 3-column grid */
.works { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
.work__pic { aspect-ratio: 4 / 3; }
@media (max-width: 980px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .works { grid-template-columns: minmax(0, 1fr); } }
.hero__bg { object-position: 55% 70%; }
.intro__a { object-view-box: none; object-position: 50% 70%; }
/* phones load a portrait crop of the court: no upscaling */
@media (max-width: 980px) { .hero__bg { scale: 1; height: 100svh; object-position: 50% 100%; } }
