/* ==========================================================================
   TH Construct — site styles
   Brand: gold on black (from the logo), limestone-white light sections.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #0c0c0b;
  --ink-2: #161614;
  --ink-3: #22211e;
  --line-dark: #2e2c28;
  --paper: #f6f5f2;
  --paper-2: #ecebe6;
  --white: #ffffff;
  --line: #dbd7ce;
  --text: #1b1a18;
  --muted: #5b5750;
  --on-dark: #f3f1ec;
  --muted-dark: #aaa59a;
  --gold: #d8a94f;
  --gold-2: #f0d48a;
  --gold-3: #a67c2c;
  --gold-text: #83601a;
  --gold-grad: linear-gradient(135deg, #f3d88f 0%, #d8a94f 45%, #a67c2c 100%);
  --error: #b3261e;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 18px 40px -18px rgba(0, 0, 0, .28);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --section-pad: clamp(72px, 10vw, 128px);

  /* Motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .75em 1.4em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .15s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }

.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); }

.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(12, 12, 11, .2); }
.btn-outline-light:hover { border-color: var(--gold-2); color: var(--gold-2); }

.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

.btn-sm { min-height: 44px; padding: .55em 1.15em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .9em 1.75em; font-size: 1.05rem; }

/* Section furniture --------------------------------------------------- */
.section { padding-block: var(--section-pad); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  margin-bottom: 1rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--gold); }

.section-title { font-size: clamp(2rem, 4.2vw, 3.25rem); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }
.section-head.is-center .lead { margin-inline: auto; }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Header -------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(12, 12, 11, .96);
  border-bottom-color: var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
}
.brand img { width: auto; height: 42px; }
.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  font-stretch: 120%;
  letter-spacing: .02em;
  white-space: nowrap;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.primary-nav { display: flex; align-items: center; }
.primary-nav ul { display: flex; gap: 2px; }
.primary-nav ul a {
  display: block;
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  font-size: .98rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.primary-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.primary-nav a.is-active { color: var(--gold-2); }
.nav-cta { display: none !important; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 20px; height: 20px; color: var(--gold); }
.header-phone:hover span { color: var(--gold-2); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease-out), background-color .2s;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header-phone span { display: none; }
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .brand { gap: 10px; }
  .brand img { height: 36px; }
  .brand-name { font-size: 1.02rem; }
  .header-actions .btn { display: none; }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 16px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease-out), visibility 0s linear .25s;
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s, transform .25s var(--ease-out);
  }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a {
    padding: 16px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1.35rem;
    font-stretch: 110%;
  }
  .primary-nav ul a:hover { background: transparent; }
  .nav-cta { display: inline-flex !important; align-self: flex-start; }
  body.menu-open { overflow: hidden; }
}

/* Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(660px, 100svh);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 11, .92) 0%, rgba(12, 12, 11, .72) 38%, rgba(12, 12, 11, .12) 78%),
    linear-gradient(0deg, rgba(12, 12, 11, .92) 0%, rgba(12, 12, 11, 0) 42%),
    linear-gradient(180deg, rgba(12, 12, 11, .55) 0%, rgba(12, 12, 11, 0) 22%);
}

.hero-inner { padding-top: calc(var(--header-h) + 72px); padding-bottom: 44px; }

.hero-title {
  max-width: 14ch;
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  font-weight: 800;
  font-stretch: 116%;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 46ch;
  margin-top: 24px;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, .86);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-proof { padding-bottom: 40px; }
.proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.proof-list li { display: flex; flex-direction: column; gap: 2px; padding: 22px 24px 0 0; }
.proof-list li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .2); }
.proof-list strong { font-size: 1.3rem; font-stretch: 112%; color: var(--gold-2); }
.proof-list span { font-size: .95rem; color: rgba(255, 255, 255, .78); }

@media (max-width: 640px) {
  .hero-media img { object-position: 38% 50%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(12, 12, 11, .96) 0%, rgba(12, 12, 11, .78) 55%, rgba(12, 12, 11, .35) 100%);
  }
  .proof-list { grid-template-columns: 1fr; }
  .proof-list li { padding: 14px 0; }
  .proof-list li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Hero load sequence: the page's single orchestrated entrance. */
.js .hero [data-reveal] { opacity: 0; transform: translateY(18px); }
.js .hero .hero-media img { transform: scale(1.06); }
.js .hero.is-loaded [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js .hero.is-loaded .hero-media img { transform: none; transition: transform 1.8s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .js .hero [data-reveal], .js .hero .hero-media img { opacity: 1; transform: none; }
}

/* About --------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.about-media { position: relative; padding: 0 10% 14% 0; }
.about-img-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-img-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid var(--paper);
  border-radius: var(--radius);
}
.about-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
}
.about-badge img { width: auto; height: 40px; }

.about-body .lead { margin-top: 20px; }

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.point h3 { margin-bottom: 8px; font-size: 1.15rem; }
.point p { font-size: 1rem; color: var(--muted); }

.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.fact-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 128px;
  padding: 20px 22px;
  border-radius: var(--radius);
}
.fact-card strong { font-size: 1.45rem; font-stretch: 112%; line-height: 1.15; }
.fact-card span { font-size: .95rem; }
.fact-card-dark { background: var(--ink); color: var(--on-dark); }
.fact-card-dark strong { color: var(--gold-2); }
.fact-card-dark span { color: var(--muted-dark); }
.fact-card-gold { background: var(--gold); color: var(--ink); }

.about-body > .btn { margin-top: 32px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 580px; }
}
@media (max-width: 520px) {
  .about-points, .about-facts { grid-template-columns: 1fr; }
}

/* Services ------------------------------------------------------------ */
.services { padding-block: clamp(16px, 3vw, 40px); }

.services-panel {
  padding: clamp(28px, 6vw, 80px);
  border-radius: clamp(20px, 3vw, 32px);
  background: var(--ink);
  color: var(--on-dark);
}

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.services-head > p { max-width: 52ch; color: var(--muted-dark); }

.services-layout {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  gap: clamp(24px, 4vw, 56px);
}

.service-tabs { display: flex; flex-direction: column; gap: 8px; }
.service-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: transparent;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.service-tab svg { flex: none; width: 20px; height: 20px; color: var(--gold); transition: transform .25s var(--ease-out); }
.service-tab:hover { border-color: #4d4941; background: var(--ink-2); }
.service-tab[aria-selected="true"] { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.service-tab[aria-selected="true"] svg { color: var(--ink); transform: rotate(-45deg); }

.service-panel {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
}
.service-panel:not([hidden]) { animation: fade-in .35s var(--ease-out); }
.service-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-panel-body {
  position: relative;
  grid-area: 1 / 1;
  align-self: end;
  padding: 110px clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px);
  background: linear-gradient(0deg, rgba(12, 12, 11, .96) 0%, rgba(12, 12, 11, .8) 55%, rgba(12, 12, 11, 0) 100%);
}
.service-panel-body h3 { margin-bottom: 10px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-panel-body p { max-width: 54ch; color: rgba(243, 241, 236, .86); }
.service-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.service-includes li {
  padding: 5px 12px;
  border: 1px solid rgba(240, 212, 138, .35);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: .9rem;
}
.service-panel-body .btn { margin-top: 22px; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
  .services-head, .services-layout { grid-template-columns: 1fr; }
  .service-panel { min-height: 440px; }
}

/* Projects ------------------------------------------------------------ */

/* Featured build: every stage of the garage extension */
.build {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-areas:
    "viewer info"
    "steps steps";
  gap: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 56px);
  padding: clamp(14px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.build-viewer { grid-area: viewer; position: relative; align-self: center; }
.build-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}
.build-stage-img { width: 100%; height: 100%; object-fit: cover; }
.build-stage-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: calc(100% - 150px);
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(12, 12, 11, .82);
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
}
.build-stage-count { font-size: .85rem; font-weight: 500; color: var(--gold-2); }

.build-nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.build-nav .icon-btn { border-color: transparent; background: rgba(12, 12, 11, .82); color: #fff; }
.build-nav .icon-btn:hover { background: var(--gold); color: var(--ink); }

.build-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(0px, 2vw, 16px);
}
.build-info h3 { margin-bottom: 14px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.build-info > p { color: var(--muted); }
.build-checks { display: grid; gap: 10px; margin-top: 22px; }
.build-checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.build-checks svg { flex: none; width: 20px; height: 20px; color: var(--gold-3); }
.build-info .btn { align-self: flex-start; margin-top: 28px; }

.build-steps { grid-area: steps; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.build-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.build-step img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  outline: 3px solid transparent;
  outline-offset: 2px;
  opacity: .7;
  transition: opacity .2s, outline-color .2s;
}
.build-step:hover img { opacity: 1; }
.build-step[aria-current="step"] img { opacity: 1; outline-color: var(--gold); }
.build-step:focus-visible { outline: none; }
.build-step:focus-visible img { opacity: 1; outline-color: var(--text); }
.build-step-num {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.build-step[aria-current="step"] .build-step-num { background: var(--gold); color: var(--ink); }
.build-step-label { font-size: .88rem; font-weight: 600; line-height: 1.3; color: var(--muted); }
.build-step[aria-current="step"] .build-step-label { color: var(--text); }

@media (max-width: 960px) {
  .build {
    grid-template-columns: 1fr;
    grid-template-areas: "viewer" "steps" "info";
  }
  .build-steps { grid-template-columns: repeat(4, 1fr); }
  .build-info { padding: 0 8px 8px; }
}

@media (max-width: 560px) {
  .build-steps {
    display: flex;
    gap: 10px;
    margin-inline: -14px;
    padding: 4px 14px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .build-steps li { flex: 0 0 104px; scroll-snap-align: start; }
  .build-stage-caption { left: 10px; bottom: 10px; max-width: calc(100% - 128px); padding: 8px 12px; font-size: .95rem; }
  .build-nav { right: 10px; bottom: 10px; }
  .build-nav .icon-btn { width: 44px; height: 44px; }
}

/* Project cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(24px, 4vw, 40px);
}
.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.project-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.project-card h3 { margin-bottom: 8px; font-size: 1.35rem; }
.project-card p { font-size: 1rem; color: var(--muted); }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 12px;
  font-weight: 600;
  color: var(--gold-text);
  text-decoration: none;
}
.project-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.project-link:hover svg { transform: translateX(3px); }

@media (max-width: 960px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .project-grid > :last-child:nth-child(odd) > img { aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-grid > :last-child:nth-child(odd) > img { aspect-ratio: 4 / 3; }
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .92rem;
  color: var(--muted);
}
.project-tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-2);
  font-size: .85rem;
  font-weight: 600;
}
/* Before & after ------------------------------------------------------ */
.compare { background: var(--ink); color: var(--on-dark); }
.compare-head .lead { color: var(--muted-dark); }

.compare-list { display: grid; gap: clamp(56px, 8vw, 104px); }

.compare-item {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.compare-item:nth-child(even) { grid-template-columns: 1fr 1.45fr; }
.compare-item:nth-child(even) .ba { order: 2; }

.compare .project-tag { background: rgba(240, 212, 138, .14); color: var(--gold-2); }
.compare-body h3 { margin: 16px 0 12px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.compare-body > p:not(:first-child) { color: var(--muted-dark); }
.compare-points { display: grid; gap: 10px; margin-top: 22px; }
.compare-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.compare-points svg { flex: none; width: 20px; height: 20px; color: var(--gold); }

@media (max-width: 900px) {
  .compare-item,
  .compare-item:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .compare-item:nth-child(even) .ba { order: 0; }
}

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: var(--gold);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%);
}
.ba-knob svg { width: 28px; height: 28px; }
.ba-range:focus-visible ~ .ba-handle .ba-knob { outline: 3px solid #fff; outline-offset: 3px; }

.ba-label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(12, 12, 11, .75);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  pointer-events: none;
}
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }


/* Testimonials -------------------------------------------------------- */
.testimonials { padding-bottom: clamp(56px, 7vw, 88px); }
.testimonials .container { max-width: 1080px; }

.testimonial-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.testimonial-controls { display: flex; align-items: center; gap: 12px; }
.testimonial-count { min-width: 4ch; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--gold-2); }

.testimonial:not([hidden]) { animation: fade-in .4s var(--ease-out); }
.testimonial-quote {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 500;
  font-stretch: 104%;
  line-height: 1.32;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.testimonial-quote::before {
  content: "\201C";
  display: block;
  height: .5em;
  color: var(--gold);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: .9;
}
.testimonial-by { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.testimonial-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-2);
  font-weight: 700;
  font-stretch: 112%;
}
.testimonial-by cite { display: block; font-style: normal; font-weight: 600; }
.testimonial-by span { font-size: .95rem; color: var(--muted); }

/* Stats --------------------------------------------------------------- */
.stats { padding-bottom: var(--section-pad); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 32px 0 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat-value {
  display: block;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  font-weight: 800;
  font-stretch: 116%;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.stat-value .unit { color: var(--gold-3); }
.stat-label { display: block; max-width: 26ch; margin-top: 14px; color: var(--muted); }

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 28px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* FAQ ----------------------------------------------------------------- */
.faq { background: var(--paper-2); }

.faq-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.faq-media { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.faq-help {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
}
.faq-help p { font-weight: 600; line-height: 1.35; }
.faq-help p span { display: block; font-size: .95rem; font-weight: 400; color: var(--muted-dark); }

.faq-list { margin-top: 32px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  padding: 22px 0;
  font-size: 1.12rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-text); }
.faq-icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  transition: background-color .2s, border-color .2s;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease-out); }
.faq-item[open] .faq-icon { border-color: var(--gold); background: var(--gold); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item[open] summary { color: var(--text); }
.faq-answer { padding: 0 56px 24px 0; color: var(--muted); }
.faq-answer p + p { margin-top: 10px; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-media { position: relative; top: 0; max-width: 580px; }
  .faq-media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .faq-answer { padding-right: 0; }
}

/* Contact ------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}
.contact-info .lead { margin-top: 18px; }

.contact-cards { display: grid; gap: 12px; margin-top: 36px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: border-color .2s;
}
a.contact-card:hover { border-color: var(--gold-3); }
.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label { display: block; font-size: .9rem; color: var(--muted); }
.contact-value { display: block; font-size: 1.08rem; font-weight: 600; overflow-wrap: anywhere; }

.quote-form {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-title { margin-bottom: 6px; font-size: 1.5rem; }
.form-intro { margin-bottom: 26px; color: var(--muted); }

.form-summary {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid #e2b1ab;
  border-radius: 10px;
  background: #fbeceb;
  color: #7a1c14;
}
.form-summary:focus-visible { outline-color: var(--error); }
.form-summary ul { margin-top: 6px; padding-left: 20px; list-style: disc; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .95rem; font-weight: 600; }
.field .req { color: var(--error); }
.field-hint { font-size: .9rem; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 1rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231b1a18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-3);
  box-shadow: 0 0 0 3px rgba(216, 169, 79, .35);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: .92rem; font-weight: 500; color: var(--error); }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-actions .btn { flex: 1 1 210px; }
.form-note { margin-top: 16px; font-size: .92rem; color: var(--muted); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* Ticker -------------------------------------------------------------- */
.ticker-wrap {
  position: relative;
  height: clamp(160px, 17vw, 200px);
  overflow: hidden;
  background: var(--paper);
}
.ticker {
  position: absolute;
  top: 50%;
  right: -5%;
  left: -5%;
  display: flex;
  overflow: hidden;
  padding-block: 15px;
}
.ticker-dark { background: var(--ink); color: var(--on-dark); transform: translateY(-50%) rotate(2.5deg); }
.ticker-gold { background: var(--gold); color: var(--ink); transform: translateY(-50%) rotate(-2.5deg); }

.ticker-track { display: flex; flex: none; animation: ticker 46s linear infinite; }
.ticker-dark .ticker-track { animation-duration: 56s; animation-direction: reverse; }
.ticker-list { display: flex; flex: none; align-items: center; }
.ticker-list li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  font-stretch: 118%;
  white-space: nowrap;
}
.ticker-list li::after {
  content: "";
  width: 9px;
  height: 9px;
  background: currentColor;
  opacity: .55;
  transform: rotate(45deg);
}
.ticker-wrap.is-paused .ticker-track { animation-play-state: paused; }

.ticker-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 8px;
  z-index: 2;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}

@keyframes ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-toggle { display: none; }
}

/* Articles ------------------------------------------------------------ */
.articles { padding-top: clamp(40px, 6vw, 72px); }

.articles-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s, box-shadow .25s var(--ease-out);
}
.article-card:hover { border-color: #c9c1b1; box-shadow: var(--shadow); }
.article-card:has(.article-open:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.article-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.article-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.article-cat {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--text);
  font-size: .85rem;
  font-weight: 600;
}
.article-card h3 { font-size: 1.25rem; line-height: 1.25; }
.article-open {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.article-open::after { content: ""; position: absolute; inset: 0; }
.article-open:focus-visible { outline: none; }
.article-card p { font-size: 1rem; color: var(--muted); }
.article-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-weight: 600;
  color: var(--gold-text);
}
.article-more svg { width: 18px; height: 18px; }

@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .article-grid { grid-template-columns: 1fr; } }

.article-dialog {
  width: 100%;
  max-width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.article-dialog::backdrop { background: rgba(12, 12, 11, .75); }
.article-dialog[open] { animation: dialog-in .3s var(--ease-out); }
.dialog-close {
  position: sticky;
  top: 14px;
  z-index: 2;
  float: right;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 14px 14px -58px 0;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 12, 11, .85);
  color: #fff;
  cursor: pointer;
}
.dialog-close svg { width: 20px; height: 20px; }
.dialog-close:hover { background: var(--ink); color: var(--gold-2); }
.dialog-media { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dialog-content { padding: clamp(24px, 4vw, 44px); }
.dialog-content h2 { margin: 10px 0 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.dialog-content h3 { margin: 26px 0 8px; font-size: 1.15rem; }
.dialog-content p,
.dialog-content li { max-width: 65ch; color: #3b3934; }
.dialog-content p + p { margin-top: 12px; }
.dialog-content ul { display: grid; gap: 6px; margin-top: 10px; padding-left: 22px; list-style: disc; }
.dialog-content .btn { margin-top: 28px; }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* Footer -------------------------------------------------------------- */
.site-footer { padding-top: clamp(64px, 8vw, 96px); background: var(--ink); color: var(--muted-dark); }

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-cta h2 { max-width: 18ch; font-size: clamp(1.9rem, 4vw, 3rem); color: var(--on-dark); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-logo { width: 190px; height: auto; }
.footer-brand p { max-width: 34ch; margin-top: 20px; }
.footer-heading { margin-bottom: 18px; font-size: 1rem; color: var(--on-dark); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted-dark); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gold-2); }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 24px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
}
.footer-social svg { width: 24px; height: 24px; color: var(--gold); }
.footer-social:hover { border-color: var(--gold-3); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.footer-socials .footer-social { margin-top: 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: 24px;
  font-size: .92rem;
}

@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* Floating WhatsApp --------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
  transition: transform .2s var(--ease-out);
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover { transform: scale(1.06); }
