/* Perry's Precision Installations — styles */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #021f44;
  --navy-2: #0a2b57;
  --navy-3: #13386b;
  --gold: #bc912a;
  --gold-light: #d4af4f;
  --gold-dark: #8f6b17;
  --gold-grad: linear-gradient(135deg, #d9b65a 0%, #bc912a 45%, #9c7420 100%);
  --ivory: #faf8f4;
  --stone: #f1ede5;
  --stone-2: #e4ddd0;
  --ink: #1a2230;
  --muted: #5a6474;
  --white: #fff;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.55rem + 1.9vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.4vw, 4.6rem);

  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --space-2xl: clamp(4.5rem, 3rem + 6vw, 9rem);

  --radius: 4px;
  --shadow-sm: 0 1px 2px rgb(2 31 68 / 0.06), 0 2px 8px rgb(2 31 68 / 0.05);
  --shadow-md: 0 10px 30px -10px rgb(2 31 68 / 0.25);
  --shadow-lg: 0 30px 60px -20px rgb(2 31 68 / 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1200px;
  --header-h: 84px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -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; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 var(--space-s);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 var(--space-s); text-wrap: pretty; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
}
.skip-link:focus { top: 1rem; }

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

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .wrap { width: min(100% - 4rem, var(--wrap)); }
}

.section { padding-block: var(--space-2xl); }
.section--stone { background: var(--stone); }
.section--navy { background: var(--navy); color: #d6deea; }
.section--navy h2,
.section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: var(--space-s);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}
.section--navy .eyebrow,
.hero .eyebrow { color: var(--gold-light); }

.section-head { max-width: 46rem; margin-bottom: var(--space-l); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--muted); }
.section--navy .lead { color: #b9c5d6; }

/* Buttons */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.9rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--gold {
  background: var(--gold-grad);
  color: var(--navy);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.btn--gold:hover { box-shadow: var(--shadow-md), inset 0 1px 0 rgb(255 255 255 / 0.35); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgb(255 255 255 / 0.4);
}
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.25rem;
}
.text-link:hover { color: var(--gold-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(250 248 244 / 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--stone-2);
  box-shadow: 0 8px 24px -18px rgb(2 31 68 / 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 68px; }
.brand img {
  width: auto;
  height: 50px;
  transition: height 0.35s var(--ease);
}
.site-header.is-scrolled .brand img { height: 42px; }

.nav { display: none; }
.nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: none; align-items: center; gap: 1.25rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
}
.header-phone svg { width: 1rem; height: 1rem; color: var(--gold); }
.header-cta .btn { min-height: 44px; padding: 0.7rem 1.25rem; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  padding: var(--space-l) 1.5rem;
  background: var(--ivory);
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { margin: 0 0 var(--space-l); padding: 0; list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--stone-2); }
.mobile-nav a:not(.btn) {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.mobile-nav .btn { width: 100%; margin-bottom: 0.75rem; }

.nav a, .header-cta .btn { white-space: nowrap; }
@media (min-width: 760px) {
  .header-cta { display: flex; margin-left: auto; }
}
@media (min-width: 1180px) {
  .nav { display: flex; }
  .header-cta { margin-left: 0; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: #d6deea;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 40rem at 0% 0%, rgb(19 56 107 / 0.9), transparent 60%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: var(--space-l);
  padding-block: var(--space-xl) 0;
}
.hero-copy { padding-bottom: var(--space-l); }
.hero h1 {
  color: var(--white);
  font-weight: 500;
  margin-bottom: var(--space-m);
}
.hero h1 em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.05em;
}
.hero .lead { color: #c3cedd; max-width: 34rem; margin-bottom: var(--space-l); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: var(--space-l); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin: 0;
  padding: var(--space-m) 0 0;
  list-style: none;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #c3cedd;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-trust svg { width: 1rem; height: 1rem; color: var(--gold-light); flex: none; }

.hero-media { position: relative; margin-inline: -1rem; }
.hero-media img {
  width: 100%;
  height: clamp(320px, 70vw, 520px);
  object-fit: cover;
  object-position: center 55%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(2 31 68 / 0.18) 0%, transparent 22%, transparent 70%, rgb(2 31 68 / 0.35) 100%);
}
@media (min-width: 900px) {
  .hero-media::after {
    background:
      linear-gradient(90deg, rgb(2 31 68 / 0.55) 0%, rgb(2 31 68 / 0.12) 14%, transparent 30%),
      linear-gradient(180deg, transparent 65%, rgb(2 31 68 / 0.3) 100%);
  }
}
.hero-badge {
  z-index: 1;
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: rgb(250 248 244 / 0.96);
  color: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: calc(100% - 2rem);
}
.hero-badge img { width: 44px; height: 44px; object-fit: contain; }
@media (max-width: 899px) { .hero-badge { display: none; } }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.1; }
.hero-badge span { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    gap: clamp(2rem, 5vw, 5rem);
    min-height: min(88vh, 820px);
    padding-block: 0;
  }
  .hero-copy { align-self: center; padding-block: var(--space-xl); }
  .hero-media { margin: 0 calc((100vw - min(100vw - 4rem, var(--wrap))) / -2) 0 0; }
  .hero-media img { height: 100%; min-height: 100%; }
  .hero-badge { left: -2rem; bottom: 3rem; }
}

/* Trust bar */
.trustbar {
  background: var(--white);
  border-bottom: 1px solid var(--stone-2);
}
.trustbar ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.trustbar li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  line-height: 1.35;
}
.trustbar svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--gold); }
.trustbar li + li { border-left: 1px solid var(--stone-2); }
.trustbar li:nth-child(3) { border-left: 0; }
.trustbar li:nth-child(n + 3) { border-top: 1px solid var(--stone-2); }
@media (min-width: 900px) {
  .trustbar ul { grid-template-columns: repeat(4, 1fr); }
  .trustbar li { justify-content: center; padding: 1.75rem 1rem; }
  .trustbar li:nth-child(3) { border-left: 1px solid var(--stone-2); }
  .trustbar li:nth-child(n + 3) { border-top: 0; }
}

/* Services */
.services-grid {
  display: grid;
  gap: var(--space-m);
}
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.service-card:hover figure img { transform: scale(1.05); }
.service-card .body { padding: 1.75rem 1.75rem 2rem; }
.service-card h3 { font-size: 1.75rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.service-num {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.3rem 0.6rem;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.service-card--feature {
  background: var(--navy);
  border-color: var(--navy);
  color: #c3cedd;
  justify-content: center;
}
.service-card--feature .body { padding: 2.5rem 2rem; }
.service-card--feature h3 { color: var(--white); }
.service-card--feature p { color: #b9c5d6; margin-bottom: 1.5rem; }
.service-card--feature .rule {
  width: 3rem; height: 2px;
  background: var(--gold-grad);
  margin-bottom: 1.5rem;
}

/* Precision split */
.split {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .split--reverse .split-media { order: 2; }
}
.split-media { position: relative; }
.split-media .main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.split-media .inset {
  position: absolute;
  right: -0.5rem;
  bottom: -2rem;
  width: 44%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 6px solid var(--ivory);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .split-media .inset { right: -2.5rem; } }
.split-media .frame {
  position: absolute;
  inset: 1.25rem auto auto -1.25rem;
  width: 60%;
  height: 70%;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.split-media { isolation: isolate; }

.checklist { margin: var(--space-m) 0 var(--space-l); padding: 0; list-style: none; }
.checklist li {
  position: relative;
  padding: 1rem 0 1rem 2.5rem;
  border-bottom: 1px solid var(--stone-2);
}
.checklist li:first-child { border-top: 1px solid var(--stone-2); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.3rem;
  width: 1.4rem; height: 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bc912a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.checklist strong { display: block; color: var(--navy); font-weight: 600; }
.checklist span { color: var(--muted); font-size: 0.95rem; }

/* Featured work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.work-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
}
.work-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.work-grid a::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgb(2 31 68 / 0.85));
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.work-grid a:hover img { transform: scale(1.06); }
.work-grid a:hover::after,
.work-grid a:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .work-grid a::after { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 1rem;
  }
  .work-grid a { aspect-ratio: auto; }
  .work-grid a:nth-child(1) { grid-row: span 2; }
  .work-grid a:nth-child(4) { grid-column: span 2; }
}
.work-cta { margin-top: var(--space-l); text-align: center; }

/* Why choose us comparison */
.compare {
  max-width: 980px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.compare-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.25rem;
  border-top: 1px solid var(--stone-2);
}
.compare-row:first-child { border-top: 0; }
.compare-row [role="rowheader"] {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}
.compare-row [role="cell"] { font-size: 0.95rem; color: var(--muted); }
.compare-row .us {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 500;
}
.compare-row .us svg {
  flex: none;
  width: 1.2rem; height: 1.2rem;
  margin-top: 0.15rem;
  padding: 0.18rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
}
.compare-row [role="cell"]:not(.us)::before {
  content: "Big-box: ";
  font-weight: 600;
  color: #8a93a2;
}
.compare-head { display: none; }
@media (min-width: 800px) {
  .compare-row {
    grid-template-columns: 0.75fr 1.35fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 1.4rem 2rem;
  }
  .compare-row [role="cell"]:not(.us)::before { content: none; }
  .compare-row .us { position: relative; }
  .compare-head {
    display: grid;
    background: var(--navy);
    padding-block: 1.1rem;
  }
  .compare-head span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9fb0c8;
  }
  .compare-head .us { color: var(--gold-light); }
  .compare-row:not(.compare-head):nth-child(odd) { background: var(--ivory); }
}

/* Process */
.process {
  display: grid;
  gap: var(--space-m);
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li {
  position: relative;
  padding: 2rem 1.75rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.02);
  counter-increment: step;
  transition: border-color 0.4s, background 0.4s;
}
.process li:hover { border-color: rgb(212 175 79 / 0.6); background: rgb(255 255 255 / 0.04); }
.process li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.process p { margin: 0; font-size: 0.95rem; color: #b9c5d6; }

/* Reviews */
.reviews {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}
@media (min-width: 900px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: -0.2em; left: 0.3em;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
}
.stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; color: var(--gold); }
.stars svg { width: 1.1rem; height: 1.1rem; }
.review-card blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: var(--step-2);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
}
.review-card cite {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.review-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: var(--space-m); }

/* Service areas */
.areas {
  display: grid;
  gap: var(--space-m);
}
@media (min-width: 700px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .areas { grid-template-columns: repeat(4, 1fr); } }
.area {
  padding: 2rem 1.75rem;
  background: var(--white);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-sm);
}
.area h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }
.area p { font-size: 0.92rem; color: var(--muted); }
.area ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.area li {
  padding: 0.3rem 0.7rem;
  background: var(--stone);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
}
.areas-note { margin-top: var(--space-l); text-align: center; color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; gap: var(--space-l); }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-xl); } }
.faq details { border-bottom: 1px solid var(--stone-2); }
.faq details:first-child { border-top: 1px solid var(--stone-2); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 1.75rem; height: 1.75rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background:
    linear-gradient(var(--gold-dark), var(--gold-dark)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--gold-dark), var(--gold-dark)) center / 1.5px 10px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details > div { padding: 0 2.5rem 1.5rem 0; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Estimate */
.estimate {
  display: grid;
  gap: var(--space-l);
}
@media (min-width: 1000px) { .estimate { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-xl); } }
.contact-list { margin: var(--space-l) 0 0; padding: 0; list-style: none; }
.contact-list li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.contact-list svg { width: 1.3rem; height: 1.3rem; flex: none; margin-top: 0.2rem; color: var(--gold-light); }
.contact-list small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8fa0b8;
}
.contact-list a, .contact-list span { color: var(--white); text-decoration: none; font-weight: 500; }
.contact-list a.big { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.2; }
.contact-list a:hover { color: var(--gold-light); }

.form-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.section--navy .form-card h3 { margin-bottom: 0.4rem; color: var(--navy); }
.form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: var(--space-m); }
.form-grid { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23021f44' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 1rem no-repeat;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(188 145 42 / 0.2);
}
.field input[type="file"] { padding: 0.65rem; min-height: auto; font-size: 0.88rem; }
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.form-foot small { color: var(--muted); font-size: 0.8rem; max-width: 22rem; }
.text-fallback {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone-2);
}
.text-fallback p { font-size: 0.92rem; color: var(--muted); }
.text-preview {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--stone-2);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-wrap;
  color: var(--ink);
}
.form-error { color: #a12a1a; font-size: 0.9rem; margin-top: 1rem; }

/* CTA band */
.cta-band {
  position: relative;
  padding-block: var(--space-xl);
  background: var(--navy);
  color: #c3cedd;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40rem 20rem at 50% 120%, rgb(188 145 42 / 0.25), transparent 70%);
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band .lead { color: #c3cedd; max-width: 38rem; margin: 0 auto var(--space-l); }
.cta-band .hero-actions { justify-content: center; margin: 0; }

/* Footer */
.site-footer {
  padding-block: var(--space-xl) 6rem;
  background: #011630;
  color: #93a3ba;
  font-size: 0.92rem;
}
@media (min-width: 760px) { .site-footer { padding-bottom: var(--space-l); } }
.footer-grid { display: grid; gap: var(--space-l); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 240px; height: auto; margin-bottom: 1.25rem; }
.site-footer h4 {
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #c3cedd; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 50%;
}
.social a:hover { border-color: var(--gold-light); }
.social svg { width: 1.05rem; height: 1.05rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: var(--space-l);
  padding-top: var(--space-m);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.8rem;
}

/* Mobile action bar */
.mobile-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgb(2 31 68 / 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px -10px rgb(0 0 0 / 0.4);
}
.mobile-bar .btn { min-height: 48px; padding: 0.7rem; font-size: 0.74rem; }
@media (min-width: 760px) { .mobile-bar { display: none; } }

/* Page hero (gallery) */
.page-hero {
  position: relative;
  padding-block: var(--space-xl);
  background: var(--navy);
  color: #c3cedd;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50rem 30rem at 100% 0%, rgb(19 56 107 / 0.9), transparent 60%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.025) 0 1px, transparent 1px 80px);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--white); font-weight: 500; }
.page-hero .lead { color: #c3cedd; max-width: 40rem; margin: 0; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 var(--space-m);
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: #6e819c; }

/* Gallery */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-l);
}
.filter {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  background: transparent;
  border: 1px solid var(--stone-2);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.masonry { columns: 1; column-gap: 1rem; }
@media (min-width: 600px) { .masonry { columns: 2; } }
@media (min-width: 1000px) { .masonry { columns: 3; } }
.tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
  cursor: zoom-in;
  break-inside: avoid;
  text-align: left;
}
.tile[hidden] { display: none; }
.tile img { width: 100%; transition: transform 0.9s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 3rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgb(2 31 68 / 0.88));
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.tile figcaption small {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.tile:hover figcaption,
.tile:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .tile figcaption { opacity: 1; transform: none; } }
.tile figure { margin: 0; }

/* Before / after */
.ba-grid { display: grid; gap: var(--space-l); }
@media (min-width: 900px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba { margin: 0; }
.ba figcaption { padding-top: 1rem; color: var(--muted); font-size: 0.95rem; }
.ba figcaption strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}
.ba-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: pan-y;
}
.ba-frame img { width: 100%; height: auto; pointer-events: none; }
.ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-before-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  box-shadow: 0 0 12px rgb(0 0 0 / 0.35);
  pointer-events: none;
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--white);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23021f44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 60% no-repeat,
    var(--gold-grad);
  box-shadow: var(--shadow-md);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba-range:focus-visible + .ba-handle,
.ba-frame:has(.ba-range:focus-visible) .ba-handle::after { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.ba-tag {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag--before { left: 1rem; background: rgb(2 31 68 / 0.85); color: var(--white); }
.ba-tag--after { right: 1rem; background: var(--gold-grad); color: var(--navy); }
.ba-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.ba-split > div {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.ba-split img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.ba-split .ba-tag--after { left: auto; right: 0.75rem; }
.ba-split .ba-tag { top: 0.75rem; }
.ba-split .ba-tag--before { left: 0.75rem; }

.ba-grid.is-collapsed .ba-extra { display: none; }

/* Lightbox */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(1 14 32 / 0.97);
  color: var(--white);
}
.lightbox::backdrop { background: rgb(1 14 32 / 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #93a3ba;
}
.lb-stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 1rem;
  touch-action: pan-y;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.5);
}
.lb-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
}
.lb-caption { font-family: var(--serif); font-size: 1.3rem; }
.lb-caption small {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.lb-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lb-btn:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lb-btn svg { width: 1.2rem; height: 1.2rem; }
.lb-nav { display: flex; gap: 0.5rem; }

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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