/* Self-hosted fonts: Fraunces (headings) + Hanken Grotesk (text) — SIL Open Font License */
@font-face { font-family: "Fraunces"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }

/* TL Surfacing & Excavations Ltd — site styles */
:root {
  --bg: #111214;          /* warm charcoal-black */
  --surface: #1A1C20;     /* alternate sections */
  --surface-2: #23262C;
  --brand: #0B83D2;       /* Elevate blue (from the logo) — accent */
  --slate: #20242B;       /* roof slate */
  --brand-bright: #1A95E6;
  --brand-hover: #0A74BC;
  --cream: #EEF1F4;       /* cool off-white for buttons, matches the logo greys */
  --cream-hover: #FFFFFF;
  --tarmac: #0B0B0C;
  --fg: #F3F5F7;
  --muted: rgba(243,245,247,0.70);
  --faint: rgba(243,245,247,0.50);
  --line: rgba(243,245,247,0.09);
  --header-h: 72px;
  --gutter: 20px;
  --max: 1280px;
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-display: "Hanken Grotesk", ui-sans-serif, sans-serif;
}
@media (min-width: 640px) { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --gutter: 64px; --header-h: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* mobile action bar */
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--fg); color: var(--bg); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 152px 0; } }
.section--surface { background: var(--surface); }
.section--tight { padding: 72px 0; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--rule::after { content: ""; display: block; width: 44px; height: 3px; background: var(--brand-bright); margin-top: 14px; }
.num { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.12em; color: #5CB4F0; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 38rem; }
@media (min-width: 1024px) { .lead { font-size: 1.2rem; } }
.section-head { display: grid; gap: 20px; margin-bottom: 56px; }
@media (min-width: 1024px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; margin-bottom: 80px; } }

/* road-marking divider — the dashed line from the logo bar */
.road { height: 6px; background: linear-gradient(90deg, var(--brand), #5CB4F0 50%, var(--brand)); position: relative; }
.road::after { display: none;
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 34px, transparent 34px 58px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; font: 500 0.95rem/1 var(--font); letter-spacing: 0.01em;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  background: var(--cream); color: var(--bg); transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--cream-hover); }
.btn--light { background: var(--cream); color: var(--bg); }
.btn--light:hover { background: #E3E9FF; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link {
  color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4);
  text-underline-offset: 5px; text-decoration-thickness: 1px; font-weight: 500;
}
.link:hover { text-decoration-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px; }
.link-arrow:hover { border-color: #fff; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(15,15,17,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 36px; width: auto; }
@media (min-width: 1024px) { .header__logo img { height: 42px; } }
.nav { display: none; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-color: var(--brand-bright); }
.header__right { display: flex; align-items: center; gap: 20px; }
.header__phone { font-size: 0.9rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.header__cta { display: none; padding: 12px 20px; }
@media (min-width: 1100px) {
  .nav { display: flex; gap: 28px; }
  .header__cta { display: inline-flex; }
  .menu-btn { display: none !important; }
}
.menu-btn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: #fff; cursor: pointer; margin-right: -10px; }
.menu-btn svg { width: 26px; height: 26px; }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg);
  padding: 32px var(--gutter) 120px; display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { font-size: 1.9rem; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 28px; font-size: 1rem; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - 76px); display: flex; align-items: flex-end; overflow: hidden; }
@media (min-width: 1024px) { .hero { min-height: calc(100svh - var(--header-h)); max-height: 960px; } }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero__video { object-position: center center; background: var(--tarmac); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,15,17,.15) 0%, rgba(15,15,17,.25) 40%, rgba(15,15,17,.85) 100%),
              linear-gradient(90deg, rgba(15,15,17,.75) 0%, rgba(15,15,17,.35) 45%, rgba(15,15,17,0) 75%); }
.hero__in { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 64px; }
@media (min-width: 1024px) { .hero__in { padding-bottom: 112px; } }
.hero h1 { max-width: 15ch; margin: 22px 0 22px; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.page-hero { position: relative; overflow: hidden; padding: 120px 0 72px; }
@media (min-width: 1024px) { .page-hero { padding: 176px 0 104px; } }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,15,17,.55), rgba(15,15,17,.95)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { margin: 20px 0 20px; max-width: 16ch; }

/* ---------- trust strip ---------- */
.trust { background: var(--slate); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__item svg { color: var(--brand); }
.trust__in { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .trust__in { grid-template-columns: repeat(4, 1fr); } }
.trust__item { padding: 22px 0; display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: 0.95rem; line-height: 1.3; }
.trust__item svg { width: 22px; height: 22px; flex: none; opacity: .9; }
@media (max-width: 899px) { .trust__item:nth-child(odd) { padding-right: 12px; } }

/* ---------- services ---------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { background: var(--bg); display: flex; flex-direction: column; }
.service__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service__img img { transform: scale(1.04); }
.service__body { padding: 28px 28px 34px; display: grid; gap: 12px; }
.service__body p { color: var(--muted); }

/* ---------- full image break ---------- */
.break { position: relative; height: 64vh; min-height: 380px; max-height: 760px; overflow: hidden; }
.break img { width: 100%; height: 100%; object-fit: cover; }
.break figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 0 44px; background: linear-gradient(180deg, transparent, rgba(15,15,17,.9)); }
.break figcaption p { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; max-width: 20ch; }

/* ---------- process ---------- */
.process { display: grid; gap: 48px; }
@media (min-width: 1024px) { .process { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.steps { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 0.97rem; }
.process__media { position: relative; }
.process__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 1024px) { .process__media { position: sticky; top: calc(var(--header-h) + 32px); } }
.process__media figcaption { font-size: 0.85rem; color: var(--faint); margin-top: 12px; }

/* ---------- before / after ---------- */
.ba-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .ba-grid { grid-template-columns: 1fr 1fr; gap: 48px 40px; } }
.ba { display: grid; gap: 16px; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ba__pair figure { margin: 0; position: relative; aspect-ratio: 3 / 4; overflow: hidden; cursor: zoom-in; }
.ba__pair img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 0; top: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; font-size: .8rem; text-transform: uppercase; padding: 6px 12px; background: var(--tarmac); }
.tag--after { background: var(--brand); }
.ba__meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.ba__meta p { color: var(--faint); font-size: .9rem; white-space: nowrap; }

/* ---------- job cards (teaser) ---------- */
.jobs { display: grid; gap: 40px; }
@media (min-width: 900px) { .jobs { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.job-card { text-decoration: none; display: grid; gap: 18px; }
.job-card__img { aspect-ratio: 4 / 5; overflow: hidden; }
.job-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.job-card:hover .job-card__img img { transform: scale(1.04); }
.job-card p { color: var(--muted); font-size: .97rem; }
.job-card .meta { color: var(--faint); font-size: .85rem; }
.center-cta { margin-top: 56px; display: flex; justify-content: center; }

/* ---------- case studies (projects page) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filter { font: 500 .9rem var(--font); padding: 10px 16px; background: transparent; color: var(--muted); border: 1px solid var(--line); cursor: pointer; }
.filter:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.filter[aria-pressed="true"] { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.case { display: grid; gap: 32px; padding: 64px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) { .case { grid-template-columns: 5fr 7fr; gap: 64px; padding: 96px 0; } }
.case__text { display: grid; gap: 18px; align-content: start; }
@media (min-width: 1024px) { .case__text { position: sticky; top: calc(var(--header-h) + 32px); } }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--faint); font-size: .9rem; }
.case__text h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.case__text > p { color: var(--muted); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ticks li::before { content: ""; width: 14px; height: 3px; background: var(--brand-bright); margin-top: 11px; }
.case__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.case__photos button { padding: 0; border: 0; background: var(--surface); cursor: zoom-in; aspect-ratio: 3 / 4; overflow: hidden; position: relative; }
.case__photos button:first-child { grid-column: span 2; grid-row: span 2; }
.case__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.case__photos button:hover img { transform: scale(1.04); }
.case__photos .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,15,17,.62); font-weight: 600; font-size: 1.1rem; }
.case[hidden] { display: none; }
.credit { font-size: .85rem; color: var(--faint); }

/* ---------- gallery ---------- */
.gallery { columns: 2; column-gap: 4px; }
@media (min-width: 700px) { .gallery { columns: 3; } }
@media (min-width: 1100px) { .gallery { columns: 4; } }
.gallery button { display: block; width: 100%; padding: 0; margin: 0 0 4px; border: 0; background: var(--surface); cursor: zoom-in; position: relative; break-inside: avoid; overflow: hidden; }
.gallery button img { width: 100%; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 10px; font-size: .8rem; text-align: left; background: linear-gradient(transparent, rgba(15,15,17,.85)); opacity: 0; transition: opacity .25s; }
.gallery button:hover span, .gallery button:focus-visible span { opacity: 1; }
.gallery button[hidden] { display: none; }

/* ---------- quote form ---------- */
.quote { display: grid; gap: 48px; }
@media (min-width: 1024px) { .quote { grid-template-columns: 5fr 7fr; gap: 80px; } }
.quote__aside { display: grid; gap: 24px; align-content: start; }
.contact-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 18px 0; text-decoration: none; font-weight: 500; }
.contact-list svg { width: 20px; height: 20px; color: #5CB4F0; flex: none; }
.contact-list small { display: block; color: var(--faint); font-weight: 400; font-size: .82rem; }
.form { display: grid; gap: 20px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .88rem; font-weight: 500; color: var(--muted); }
.field label em { font-style: normal; color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font); color: #fff; background: var(--bg);
  border: 1px solid rgba(255,255,255,.18); border-radius: 0; padding: 15px 16px; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-bright); box-shadow: 0 0 0 1px var(--brand-bright); }
.field .err { font-size: .82rem; color: #FFB4B4; display: none; }
.field.invalid input, .field.invalid select { border-color: #FF8080; }
.field.invalid .err { display: block; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.form__foot p { font-size: .85rem; color: var(--faint); }
.form-status { padding: 18px 20px; border-left: 3px solid var(--brand-bright); background: var(--surface-2); display: none; }
.form-status.show { display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 24px; gap: 8px; align-items: center; padding: 26px 0; font-size: 1.12rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; justify-self: end; background: linear-gradient(#fff,#fff) center/14px 2px no-repeat, linear-gradient(#fff,#fff) center/2px 14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 32px 28px 64px; color: var(--muted); max-width: 52rem; }
@media (max-width: 639px) { .faq .answer { padding-left: 0; padding-right: 0; } }

/* ---------- closing CTA ---------- */
.closing { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,15,17,.2), rgba(15,15,17,.92)); }
.closing .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 80px; }
.closing h2 { max-width: 14ch; margin: 18px 0 32px; }

/* ---------- footer ---------- */
.footer { border-top: 3px solid var(--brand); padding: 72px 0 40px; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer__brand img { height: 52px; width: auto; }
.footer__brand p { color: var(--muted); margin-top: 20px; max-width: 26rem; }
.footer h3 { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { text-decoration: none; color: var(--muted); }
.footer ul a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); }
.social a:hover { border-color: rgba(255,255,255,.4); }
.social svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .82rem; color: var(--faint); }

/* ---------- mobile action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); background: rgba(15,15,17,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 500; font-size: .92rem; }
.action-bar a:first-child { background: var(--cream); color: var(--bg); }
.action-bar a.wa { background: #1E8E4E; }
.action-bar svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .action-bar { display: none; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,8,18,.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(92vw, 1100px); max-height: 86vh; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox figcaption { color: var(--muted); font-size: .9rem; text-align: center; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 0; color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
.case__photos .ov { display: none; }

/* ---------- Elevate additions ---------- */
.header__logo img { height: 40px; }
@media (min-width: 1024px) { .header__logo img { height: 46px; } }
.footer__brand img { height: 56px; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.areas span { font-size: .9rem; padding: 8px 14px; border: 1px solid var(--line); color: var(--muted); }
.why { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 8px; }
@media (min-width: 800px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why div { background: var(--bg); padding: 28px 24px; display: grid; gap: 10px; align-content: start; }
.why h3 { font-size: 1.1rem; }
.why p { color: var(--muted); font-size: .95rem; }
.work-group { margin-top: 72px; }
.work-group:first-of-type { margin-top: 0; }
.work-group h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 14px 0 12px; }
.work-group > p { color: var(--muted); max-width: 44rem; margin-bottom: 28px; }

/* ---------- recent-work slider ---------- */
.slider__track.jobs {
  display: grid; grid-auto-flow: column; grid-template-columns: none;
  grid-auto-columns: 82%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
}
.slider__track.jobs::-webkit-scrollbar { display: none; }
.slider__track .job-card { scroll-snap-align: start; }
@media (min-width: 700px) { .slider__track.jobs { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { .slider__track.jobs { grid-auto-columns: calc((100% - 64px) / 3); gap: 32px; margin: 0; padding: 0; scroll-padding: 0; } }
.slider__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.slider__dots { display: flex; gap: 8px; }
.slider__dots span { width: 22px; height: 3px; background: var(--line); transition: background .25s, width .25s; }
.slider__dots span.on { background: var(--brand); width: 36px; }
.slider__arrows { display: flex; gap: 8px; }
.slider__btn { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; color: var(--fg); border: 1px solid var(--line); cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.slider__btn:hover:not(:disabled) { background: var(--surface-2); border-color: rgba(243,245,247,.3); }
.slider__btn:disabled { opacity: .3; cursor: default; }
.slider__btn svg { width: 20px; height: 20px; }
@media (max-width: 699px) { .slider__arrows { display: none; } }

/* ---------- services as compact rows on phones ---------- */
@media (max-width: 699px) {
  .services { gap: 0; background: none; border: 0; border-top: 1px solid var(--line); }
  .service { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); background: none; }
  .service__img { aspect-ratio: 1 / 1; }
  .service__body { padding: 0; gap: 4px; }
  .service__body .num { font-size: .78rem; }
  .service__body h3 { font-size: 1.08rem; }
  .service__body p { font-size: .88rem; line-height: 1.45; }
}

/* ---------- typography: serif headings ---------- */
h1, h2, .break figcaption p { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; }
.num { font-family: var(--font); font-weight: 600; font-size: .8rem; letter-spacing: .08em; }
.btn { font-weight: 600; }
.footer h3 { font-family: var(--font); font-weight: 600; font-size: .74rem; }

/* ---------- trust line under the hero (no box) ---------- */
.trust { background: none; border: 0; border-bottom: 1px solid var(--line); }
.trust__in { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.trust__item { padding: 18px 0; gap: 10px; font-size: .92rem; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.trust__item svg { display: none; }
.trust__item::before { content: ""; width: 6px; height: 6px; background: var(--brand); flex: none; transform: rotate(45deg); }
@media (min-width: 900px) {
  .trust__in { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .trust__item { padding: 26px 0; font-size: .95rem; }
}

/* ---------- mobile contact bar (refined) ---------- */
.action-bar { grid-template-columns: 64px 1fr 64px; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(17,18,20,.92); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.action-bar a, .action-bar a:first-child, .action-bar a.wa { background: none; color: var(--fg); height: 52px; font-family: var(--font); }
.action-bar .ab-icon { flex-direction: column; gap: 3px; border: 1px solid var(--line); font-size: .7rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.action-bar .ab-icon svg { width: 19px; height: 19px; color: var(--fg); }
.action-bar .ab-wa svg { color: #3DCB72; }
.action-bar .ab-main { background: var(--cream); color: var(--bg); font-size: .98rem; font-weight: 600; letter-spacing: .01em; }
.action-bar a:active { opacity: .85; }

/* ---------- Elevate logo sizing ---------- */
.header__logo img { height: 40px; width: auto; }
@media (min-width: 1024px) { .header__logo img { height: 46px; } }
.footer__brand .footer__stack { height: 150px; width: auto; }

/* ---------- repointing feature card ---------- */
.feature { display: grid; gap: 28px; margin-top: 24px; padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.feature__text { display: grid; gap: 12px; align-content: center; }
.feature__text h3 { font-size: 1.5rem; }
.feature__text p { color: var(--muted); max-width: 32rem; }
.feature__pair { max-width: 640px; width: 100%; justify-self: end; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.25fr; gap: 48px; padding: 40px; } }
@media (max-width: 699px) { .feature { padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); background: none; margin-top: 0; } }
