/* ==========================================================================
   Crystal Clear — styles
   Navy / ivory / champagne palette, serif display + sans body.
   Order: tokens, base, header, buttons, hero, sections, services, gallery,
   about, process, reviews, FAQ, contact, footer, float + mobile bar, motion.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink: #0b1f2a;
  --ink-soft: #14313f;
  --ink-deep: #07161e;
  --ivory: #f7f4ee;
  --paper: #fffdf8;
  --sand: #efe9df;
  --gold: #a8834f;
  --gold-soft: #c9a97c;
  --aqua: #7cc6c1;
  --text: #16262d;
  --muted: #5a696f;
  --line: rgba(11, 31, 42, 0.14);
  --line-light: rgba(247, 244, 238, 0.18);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --shell: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
svg { display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6.2vw, 5.2rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; }
h3 { font-size: 1.5rem; line-height: 1.2; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

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

::selection { background: var(--gold-soft); color: var(--ink); }

.shell {
  width: min(var(--shell), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.8rem 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--ivory);
  transition: background 0.45s var(--ease), color 0.35s var(--ease), box-shadow 0.45s var(--ease);
}

.header-bar {
  position: relative;
  z-index: 96;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.15rem;
  transition: padding 0.4s var(--ease);
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  flex: none;
  height: 2.35rem;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--serif);
  display: block;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  letter-spacing: 0.01em;
}

.brand-tag {
  margin-top: 0.5rem;
  font-size: 0.56rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.6;
}

.nav {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2.1rem);
  font-size: 0.8rem;
}

.nav a {
  position: relative;
  padding-block: 0.35rem;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav a:hover,
.nav a:focus-visible { opacity: 1; }
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.9;
}
.header-tel svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-tel:hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span:first-child { top: 50%; transform: translateY(-4px); }
.nav-toggle span:last-child { top: 50%; transform: translateY(4px); }

.header.nav-open .nav-toggle span:first-child { transform: rotate(45deg); }
.header.nav-open .nav-toggle span:last-child { transform: rotate(-45deg); }

/* scrolled */
.header.is-scrolled {
  background: rgba(247, 244, 238, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled .header-bar { padding-block: 0.75rem; }
.header.is-scrolled .brand-tag { opacity: 0.5; }
.header.is-scrolled .header-tel { opacity: 0.75; }
.header.is-scrolled .header-tel:hover { opacity: 1; }
.header.is-scrolled .btn--light { background: var(--ink); color: var(--ivory); }
.header.is-scrolled .btn--light:hover { background: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn--sm { padding: 0.7rem 1.15rem; font-size: 0.63rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--ivory); color: var(--ink); }
.btn--primary:hover { background: var(--gold-soft); }

.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: var(--gold-soft); }

.btn--ghost { border-color: rgba(247, 244, 238, 0.45); color: var(--ivory); }
.btn--ghost:hover { background: rgba(247, 244, 238, 0.12); border-color: var(--ivory); }

.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: var(--ink-soft); }

.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: rgba(11, 31, 42, 0.04); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(34rem, 92svh, 54rem);
  padding-top: 8rem;
  overflow: hidden;
  color: var(--ivory);
  background: var(--ink);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 42, 0.8) 0%, rgba(11, 31, 42, 0.3) 40%, rgba(11, 31, 42, 0.72) 74%, rgba(11, 31, 42, 0.94) 100%);
}

.hero-inner {
  position: relative;
  max-width: 46rem;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 1.4rem;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero h1 { color: var(--ivory); }

.hero-lede {
  max-width: 33rem;
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(247, 244, 238, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.hero-foot {
  position: relative;
  border-top: 1px solid rgba(247, 244, 238, 0.22);
  padding-block: 1.4rem 1.6rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.6rem, 5vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: rgba(247, 244, 238, 0.7);
}

.hero-facts span {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
  color: var(--ivory);
}

/* ---------- sections ---------- */
.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 58rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.5rem;
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.label span { color: var(--gold); letter-spacing: 0.1em; }

.label::after {
  content: "";
  flex: 1;
  max-width: 6rem;
  height: 1px;
  background: var(--line);
}

.section-lede {
  max-width: 34rem;
  margin-top: 1.6rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
}

.section-head--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  max-width: none;
}

.section-head--split .section-lede {
  margin: 0;
  justify-self: end;
  max-width: 24rem;
  text-align: right;
}

/* ---------- services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}

.service { padding-top: 0.3rem; }

.service + .service {
  padding-left: clamp(1.2rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  margin: 1.4rem 0 0.8rem;
  font-size: 1.7rem;
  font-weight: 500;
}

.service p {
  max-width: 33ch;
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--muted);
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: clamp(17rem, 33vw, 29rem);
  gap: clamp(0.7rem, 1.4vw, 1.2rem);
}

.gallery + .gallery { margin-top: 1rem; }

.shot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}

.shot--wide {
  grid-column: 1 / -1;
  margin-top: clamp(0.3rem, 1vw, 0.8rem);
}

.shot-open {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  overflow: hidden;
  cursor: zoom-in;
}

.shot-open picture {
  display: block;
  height: 100%;
}

.shot-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s var(--ease), opacity 0.5s var(--ease);
}

.shot--lead .shot-open img { object-position: center 22%; }
.shot--wide .shot-open img { object-position: center 58%; }

.shot-open:hover img { transform: scale(1.045); opacity: 0.92; }

.shot figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  font-size: 0.76rem;
  line-height: 1.4;
}

.shot-title { color: var(--text); }

.shot-meta {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* lightbox */
.lightbox {
  width: auto;
  max-width: min(1120px, 92vw);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
}

.lightbox::backdrop { background: rgba(6, 16, 22, 0.94); }

.lightbox img {
  max-width: 100%;
  max-height: 84svh;
  width: auto;
  height: auto;
  margin-inline: auto;
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 244, 238, 0.92);
  color: var(--ink);
  cursor: pointer;
}
.lightbox-close svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about-main p {
  max-width: 38rem;
  font-weight: 300;
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.9rem;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-left: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(-45deg);
}

.checklist--tight { margin-top: 1.3rem; }
.checklist--tight li { font-size: 0.85rem; color: var(--muted); }

.stats {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  margin: 3rem 0 0;
  padding: 1.8rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 3.8vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

.stats span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-panel {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
  border: 1px solid var(--line);
}

.about-panel h3 {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  font-weight: 500;
}

.about-panel p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
}

.about-panel .btn { width: 100%; margin-top: 2rem; }

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 0;
  padding: 2.6rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.step-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.step h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
}

/* ---------- reviews ---------- */
.quotes { background: var(--paper); }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.quote {
  margin: 0;
  padding: clamp(1.8rem, 3.6vw, 2.8rem) clamp(1rem, 3vw, 2.6rem) clamp(1.8rem, 3.6vw, 2.8rem) 0;
  border-bottom: 1px solid var(--line);
}

.quote:nth-child(even) {
  padding-left: clamp(1rem, 3vw, 2.6rem);
  border-left: 1px solid var(--line);
}

.quote blockquote { margin: 0; }

.quote blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.7vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
}

.quote blockquote p::before {
  content: "\201C";
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 0.55;
  color: var(--gold);
}

.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 1.4rem;
  font-size: 0.82rem;
}

.quote figcaption strong { font-weight: 500; color: var(--ink); }
.quote figcaption span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- FAQ ---------- */
.faq { 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: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.38rem);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.35s var(--ease);
}

.faq-item[open] summary::after { content: "\2013"; }

.faq-item summary:hover::after { color: var(--gold); }

.faq-body {
  max-width: 62ch;
  padding-bottom: 1.7rem;
  font-size: 0.94rem;
  font-weight: 300;
  color: var(--muted);
}

.faq-body p { margin: 0; }

/* ---------- contact ---------- */
.contact {
  background: var(--ink);
  color: var(--ivory);
  border-top: 0;
}

.contact .label { color: rgba(247, 244, 238, 0.55); }
.contact .label span { color: var(--gold-soft); }
.contact .label::after { background: rgba(247, 244, 238, 0.18); }

.contact h2 { color: var(--ivory); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-info > p {
  max-width: 26rem;
  margin-top: 1.4rem;
  font-weight: 300;
  color: rgba(247, 244, 238, 0.7);
}

.contact-lines {
  display: grid;
  gap: 0.55rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(247, 244, 238, 0.18);
}

.contact-phone {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  color: var(--ivory);
  text-decoration: none;
}
.contact-phone:hover { color: var(--gold-soft); }

.contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.4rem;
}

.contact-phone-label {
  display: block;
  margin-bottom: 0.1rem;
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.55);
}

.contact-line {
  font-size: 0.88rem;
  color: rgba(247, 244, 238, 0.65);
  text-decoration: none;
}
a.contact-line:hover { color: var(--ivory); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.contact-actions .btn--outline {
  border-color: rgba(247, 244, 238, 0.4);
  color: var(--ivory);
}
.contact-actions .btn--outline:hover {
  background: rgba(247, 244, 238, 0.08);
  border-color: var(--ivory);
}

/* form */
.form-card {
  padding: clamp(1.6rem, 3.4vw, 2.8rem);
  background: var(--paper);
  color: var(--text);
}

.form-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.7rem;
  font-weight: 500;
}

.form-intro {
  margin-bottom: 2rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field label {
  margin-bottom: 0.35rem;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.6rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease);
}

.field select {
  padding-right: 2rem;
  cursor: pointer;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23a8834f' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.25 1.75 6 6.25l4.75-4.5'/%3E%3C/svg%3E");
  background-position: right 0.15rem center;
  background-size: 0.78rem auto;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s var(--ease), background-position 0.35s var(--ease);
}

/* placeholder state: the empty required option reads as a quiet hint */
.field select:invalid {
  color: rgba(90, 105, 111, 0.8);
  font-weight: 300;
}

.field select option {
  color: var(--text);
  font-weight: 400;
  background-color: var(--paper);
}

.field select:hover {
  background-position: right 0 center;
}

.field select:focus {
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 0 var(--ink);
  background-position: right 0 center;
}

.field textarea {
  min-height: 4.6rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 0 var(--ink);
}

.field input:user-invalid,
.field select:user-invalid {
  border-bottom-color: #9c3b2e;
}

.optional {
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(90, 105, 111, 0.85);
}

.form-status {
  min-height: 1.3em;
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.form-status a { color: var(--ink); }

.form-note {
  margin-top: 1rem;
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(90, 105, 111, 0.9);
}

/* ---------- footer ---------- */
.footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.6rem;
  background: var(--ink-deep);
  color: rgba(247, 244, 238, 0.65);
  border-top: 1px solid rgba(247, 244, 238, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer .brand-name { color: var(--ivory); font-size: 1.7rem; }

.footer-brand p {
  max-width: 22rem;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(247, 244, 238, 0.55);
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.83rem;
}

.footer-nav a,
.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--ivory); }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(247, 244, 238, 0.1);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 238, 0.45);
}
.footer-base p { margin: 0; }

/* ---------- floating + mobile bar ---------- */
.float-wa {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(6, 16, 22, 0.28);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.float-wa svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.float-wa:hover { transform: translateY(-3px); background: var(--gold-soft); }

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(11, 31, 42, 0.97);
  border-top: 1px solid rgba(247, 244, 238, 0.14);
}
.mobile-bar .btn { width: 100%; padding: 0.85rem 1rem; font-size: 0.66rem; }
.mobile-bar .btn--ghost { border-color: rgba(247, 244, 238, 0.4); }

/* ---------- motion ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .shot-open img,
  .btn,
  .float-wa { transition: none; }
}

/* an open menu or photo viewer stops the page behind it from scrolling */
html.nav-open { overflow: hidden; }
html.lightbox-open { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .header-tel { display: none; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: block; }

  .header.nav-open .nav {
    position: fixed;
    inset: 0;
    z-index: 94;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    padding: 7rem var(--gutter) 2rem;
    background: var(--ink);
    color: var(--ivory);
    font-family: var(--serif);
    font-size: 1.9rem;
    letter-spacing: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }
  .header.nav-open .nav a { padding-block: 0.2rem; opacity: 0.9; }

  /* While the menu is open the header must not filter: a backdrop-filter
     makes the header the containing block for fixed children, which clips
     this full-screen overlay down to the height of the bar. */
  .header.nav-open {
    color: var(--ivory);
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  /* The overlay paints above the bar's own content, so the brand and the X have
     to be lifted above it - otherwise the toggle is covered and cannot close
     the menu. */
  .header.nav-open .brand,
  .header.nav-open .nav-toggle {
    position: relative;
    z-index: 97;
  }

  /* A full-width blur on every scroll frame is the main source of jank on
     phones; a near-opaque bar looks the same and costs nothing. */
  .header.is-scrolled:not(.nav-open) {
    background: rgba(247, 244, 238, 0.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .services,
  .steps,
  .about,
  .contact-grid,
  .quote-grid { grid-template-columns: 1fr; }

  .service + .service {
    padding-top: 2rem;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .quote:nth-child(even) { padding-left: 0; border-left: 0; }

  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split .section-lede {
    justify-self: start;
    max-width: 32rem;
    text-align: left;
  }

  .about-panel { max-width: 32rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 4.3rem; }
  .float-wa { display: none; }

  .header-actions .btn--sm { display: none; }

  .hero { min-height: clamp(30rem, 88svh, 44rem); padding-top: 6.5rem; }
  .hero-facts { gap: 1.4rem 2rem; }
  .hero-facts li { font-size: 0.72rem; }
  .hero-actions .btn { flex: 1 1 auto; }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1.4rem;
  }
  .shot { grid-column: auto !important; grid-row: auto !important; }
  .shot-open { aspect-ratio: 4 / 5; flex: none; }
  .shot--wide .shot-open { aspect-ratio: 4 / 3; }
  .shot--wide { margin-top: 0; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-base { flex-direction: column; gap: 0.35rem; }

  .section { padding-block: clamp(3.6rem, 9vw, 5rem); }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; }
}
