/* Wish VIP · demo by Cox Technologies
   Palette: white ground · peacock #114B4F · ink #1B2422 · champagne #CBA96B (decorative) · mist #F0F4F3
   Type: Sora (display 600/700) · Albert Sans (body 400/600) */

:root {
  --teal: #114B4F;
  --teal-deep: #0C383B;
  --ink: #1B2422;
  --gold: #CBA96B;
  --mist: #F0F4F3;
  --line: #D8E0DE;
  --error: #9E2B25;
  --display: "Sora", "Avenir Next", sans-serif;
  --body: "Albert Sans", "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 1rem;
}

h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1rem; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); }

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

.section-teal :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

.container {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
}

.section { padding: 4.5rem 0; scroll-margin-top: 5rem; }

.section-mist { background: var(--mist); }

.section-teal {
  background: var(--teal);
  color: #fff;
}
.section-teal a { color: #fff; }

.section-lede {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}
.section-teal .section-lede { color: #D9E6E4; }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  background: var(--teal);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  line-height: 1;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font: 600 0.95rem var(--body);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bar {
  width: 1.1rem;
  height: 2px;
  background: var(--teal);
  box-shadow: 0 -5px 0 var(--teal), 0 5px 0 var(--teal);
}

.site-nav { display: none; }

.nav-open .site-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1.25rem 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 0;
}
.site-nav a:hover { color: var(--teal); }

.nav-cta { color: var(--teal); }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
  .site-nav a { padding: 0.25rem 0; }
  .nav-cta {
    background: var(--teal);
    color: #fff !important;
    padding: 0.55rem 1.2rem !important;
    border-radius: 8px;
  }
  .nav-cta:hover { background: var(--teal-deep); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  padding: 0.95rem 1.7rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

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

.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(92vh, 46rem);
  color: #fff;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 39, 42, 0.55) 0%, rgba(11, 39, 42, 0.72) 60%, rgba(11, 39, 42, 0.88) 100%);
}

.hero-content {
  position: relative;
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
  padding: 7rem 0 4.5rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.9rem);
  max-width: 15ch;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 46ch;
  color: #E7EFEE;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- Services (editorial list) ---------- */

.service-list { border-top: 1px solid var(--line); }

.service-row {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.service-row h3 { margin-bottom: 0.5rem; }
.service-row p { color: #3D4A47; }

@media (min-width: 640px) {
  .service-row {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 2rem;
    align-items: start;
  }
  .service-row h3 { margin-bottom: 0; font-size: 1.3rem; }
}

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
}

.step-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.step h3 { color: #fff; margin-bottom: 0.5rem; }
.step p { color: #D9E6E4; }

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* ---------- Photo band ---------- */

.photo-band {
  display: grid;
  gap: 4px;
}

.band-panel { margin: 0; }

.band-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 640px) {
  .photo-band { grid-template-columns: repeat(3, 1fr); }
  .band-panel img { aspect-ratio: 4 / 5; }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.about-mark {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: clamp(6rem, 16vw, 11rem);
  line-height: 0.85;
  color: var(--gold);
  user-select: none;
}

.about-lead {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 34ch;
}

.about-cred {
  font-weight: 600;
  color: var(--teal);
  margin-top: 1.5rem;
}

@media (min-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr 2.2fr;
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- Testimonials ---------- */

.quote-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.quote {
  margin: 0;
  padding: 2rem;
  background: var(--mist);
  border-radius: 12px;
}

.quote blockquote { margin: 0 0 1.25rem; }

.quote blockquote p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.quote figcaption {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal);
}

@media (min-width: 640px) {
  .quote-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ---------- Service area ---------- */

.area h2 { margin-bottom: 1.5rem; }

.area-list {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.7;
  color: #fff;
  max-width: none;
  margin-bottom: 1.25rem;
}

.area-note { color: #D9E6E4; }

/* ---------- Quote form ---------- */

.quote-wrap { display: grid; gap: 2.5rem; }

.quote-contact { font-weight: 600; }

.quote-form,
.quote-success {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
}

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.optional { font-weight: 400; color: #5A6663; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--body);
  color: var(--ink);
  background: #fff;
  border: 1px solid #B9C4C1;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}

.field textarea { resize: vertical; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 1px;
}

.field [aria-invalid="true"] { border-color: var(--error); }

.field-error {
  color: var(--error);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
  min-height: 0;
}

.quote-success:focus-visible { outline-offset: 0; }

.success-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--teal);
}

@media (min-width: 1000px) {
  .quote-wrap {
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
  }
  .field-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #C9D2CF;
  padding: 4rem 0 7rem; /* bottom clearance for the demo badge */
}

.site-footer a { color: #fff; }

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

.footer-tag { color: #C9D2CF; }

.footer-heading {
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-quiet {
  width: min(100% - 2.5rem, 68rem);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #9FAAA6;
  font-size: 0.95rem;
  max-width: none;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
}

/* ---------- Motion ---------- */

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