/* =========================================================
   PAST TO PRESENT — shared stylesheet
   Edit the variables below to tweak colour/type sitewide.
   ========================================================= */

:root {
  --navy-deep: #102A43;
  --navy-mid:  #1E456B;
  --teal:      #2A9D8F;
  --teal-light:#6FC3B8;
  --cream:     #F6F1E7;
  --cream-dark:#ECE3D2;
  --sepia:     #C98A3E;
  --ink:       #1B1B1B;
  --line:      rgba(16,42,67,0.14);
  --radius:    8px;
  --max-width: 1180px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Work Sans', -apple-system, Segoe UI, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* Logo banner — cap on very wide/ultra-wide screens only; otherwise the logo
     scales naturally at full width so none of the artwork or text is cropped. */
  --logo-max-height: 480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4.5rem 0; }
.section-narrow { max-width: 760px; margin: 0 auto; }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--sepia);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- "Stamp" signature badge ---------- */
.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-mid);
  border: 1px solid var(--navy-mid);
  padding: 0.25em 0.6em;
  border-radius: 3px;
  transform: rotate(-2deg);
  background: rgba(255,255,255,0.5);
}
.stamp--light { color: var(--cream); border-color: var(--teal-light); background: rgba(255,255,255,0.08); }

/* ---------- Logo banner (full width, top of page) ----------
   The logo artwork itself spans edge-to-edge (illustration + headline +
   tagline), so it's shown at its natural width-to-height ratio with no
   side letterboxing — it genuinely fills the top of the page on every
   screen size. --logo-cap only protects against absurd height on very
   wide/ultra-wide monitors; on normal phone/tablet/laptop widths it never
   engages. If you'd prefer a shorter, slimmer header strip instead, this
   is the single place to change that trade-off. */
.logo-banner-wrap {
  background: radial-gradient(ellipse at center, #ffffff 0%, #cacac9 100%);
  width: 100%;
  text-align: center;
  overflow: hidden;
}
.logo-banner-wrap img.logo-banner {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* ---------- Nav dropdown (Services submenu) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  min-width: 210px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.1rem;
  color: var(--cream);
  font-size: 0.92rem;
  white-space: nowrap;
  border-bottom: none !important;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { background: rgba(255,255,255,0.07); color: var(--teal-light); }
.nav-dropdown-toggle { cursor: pointer; }
@media (max-width: 820px) {
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0,0,0,0.15);
    padding: 0;
  }
  .nav-dropdown:hover .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding-left: 2.4rem; }
}

/* ---------- Nav ---------- */
header.site-header { position: relative; z-index: 30; }
nav.main-nav {
  background: var(--navy-mid);
  border-bottom: 3px solid var(--teal);
}
nav.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
nav.main-nav .nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
}
nav.main-nav .nav-links a {
  color: var(--cream);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
}
nav.main-nav .nav-links a:hover,
nav.main-nav .nav-links a.active {
  color: var(--teal-light);
  border-bottom-color: var(--teal-light);
}
.nav-cta {
  background: var(--teal);
  color: var(--navy-deep) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--radius);
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--teal-light); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--cream); margin: 5px 0;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  nav.main-nav .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    gap: 0;
    display: none;
    border-bottom: 3px solid var(--teal);
  }
  nav.main-nav .nav-links.open { display: flex; }
  nav.main-nav .nav-links li { width: 100%; }
  nav.main-nav .nav-links a { display: block; padding: 0.9rem 1.5rem; }
  .nav-cta { margin: 0.8rem 1.5rem; display: inline-block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--teal); color: var(--navy-deep); }
.btn-primary:hover { background: var(--teal-light); color: var(--navy-deep); }
.btn-outline { background: transparent; border-color: var(--navy-deep); color: var(--navy-deep); }
.btn-outline:hover { background: var(--navy-deep); color: var(--cream); }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  padding: 4rem 0 3.5rem;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero .eyebrow { margin-bottom: 1rem; }
.hero h1 { margin-bottom: 0.7rem; }
.hero .lede { font-size: 1.15rem; max-width: 480px; }
.hero-ctas { display: flex; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero-towns {
  margin-top: 2.2rem;
  font-size: 0.92rem;
  color: var(--navy-mid);
}
.hero-towns strong { color: var(--navy-deep); }

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
}

/* ---------- Before / After slider (signature element) ---------- */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16,42,67,0.22);
  border: 4px solid #fff;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.ba-slider img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none; /* let the slider element itself handle all pointer events */
}
.ba-slider .ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.ba-slider .ba-after { background: linear-gradient(135deg,#dfeae7,#cfe8e3); color: var(--navy-mid); }
.ba-slider .ba-before {
  background: linear-gradient(135deg,#8a7a5f,#5d5142);
  color: #f1e9d8;
  clip-path: inset(0 50% 0 0);
}
.ba-slider .ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: #fff;
  transform: translateX(-50%);
  cursor: ew-resize;
}
.ba-slider .ba-handle::after {
  content: "↔";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  background: #fff;
  color: var(--navy-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.ba-slider .ba-tag {
  position: absolute; bottom: 0.7rem;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(16,42,67,0.78); color: #fff;
  padding: 0.25em 0.6em; border-radius: 3px;
}
.ba-slider .ba-tag.before-tag { left: 0.7rem; }
.ba-slider .ba-tag.after-tag { right: 0.7rem; }
.ba-caption {
  margin-top: 0.8rem; font-size: 0.85rem; color: var(--navy-mid); text-align: center;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 1.4rem 0;
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem;
  justify-content: center; text-align: center;
  font-size: 0.92rem;
}
.trust-strip .container strong { color: var(--teal-light); display: block; font-family: var(--font-display); font-size: 1.1rem; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
}
.card .stamp { position: absolute; top: 1.1rem; right: 1.1rem; }
.card h3 { margin-bottom: 0.3rem; }
.card .sub { color: var(--navy-mid); font-size: 0.88rem; margin-bottom: 0.8rem; }
.card ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.card-foot { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }

.service-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* ---------- Section variants ---------- */
.section-alt { background: var(--cream-dark); }
.section-navy { background: var(--navy-deep); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a { color: var(--teal-light); }

/* ---------- Two-column with image/slider ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- Process steps (legitimate sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps .num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  background: var(--navy-deep); color: #fff;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}

/* ---------- Tables (prices) ---------- */
table.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
table.price-table th, table.price-table td {
  padding: 0.95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line);
}
table.price-table th { background: var(--navy-deep); color: #fff; font-family: var(--font-display); font-weight: 600; }
table.price-table .price-cell { font-family: var(--font-mono); white-space: nowrap; }
table.price-table tr:last-child td { border-bottom: none; }
.price-note {
  font-size: 0.85rem; color: var(--navy-mid); margin-top: 0.8rem;
}

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.1rem 0; font-family: var(--font-display); font-size: 1.1rem; color: var(--navy-deep);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .plus { font-size: 1.4rem; color: var(--teal); transition: transform 0.2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding-bottom: 1.1rem; color: var(--ink); }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--line);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; background: #fff;
}
.field-hint { font-size: 0.8rem; color: var(--navy-mid); margin-top: 0.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 0 0 1.4rem; }
legend { font-family: var(--font-display); color: var(--navy-deep); padding: 0 0.4rem; }
.option-row {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line);
}
.option-row:last-child { border-bottom: none; }
.option-row input { width: auto; margin-top: 0.25rem; }
.option-row .opt-label { font-weight: 600; }
.option-row .opt-sub { font-size: 0.85rem; color: var(--navy-mid); }
.qty-stepper { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.qty-stepper button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--navy-deep);
  background: #fff; cursor: pointer; font-size: 1rem; line-height: 1;
}
.qty-stepper span { font-family: var(--font-mono); min-width: 1.4em; text-align: center; }

/* ---------- Order flow ---------- */
.order-progress {
  display: flex; justify-content: center; gap: 0; margin-bottom: 2.5rem; flex-wrap: wrap;
}
.order-progress .step {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--navy-mid);
  padding: 0.5rem 1.2rem; border-bottom: 3px solid var(--line);
}
.order-progress .step.current { color: var(--navy-deep); border-bottom-color: var(--teal); font-weight: 700; }
.order-progress .step.done { color: var(--teal); border-bottom-color: var(--teal); }
.order-summary {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; margin-top: 2rem;
}
.order-summary h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.order-summary ul { margin: 0; padding-left: 1.1rem; font-size: 0.94rem; }
.order-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.confirmation {
  text-align: center; padding: 3rem 1rem;
}
.confirmation .big-tick {
  width: 64px; height: 64px; border-radius: 50%; background: var(--teal);
  color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy-deep); color: var(--cream);
  border-radius: var(--radius); padding: 2.4rem; text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner .btn-primary { margin-top: 0.6rem; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-deep); color: var(--cream); padding: 3rem 0 2rem; margin-top: 3rem; }
footer.site-footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
footer.site-footer h4 { color: var(--teal-light); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.9rem; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 0.5rem; font-size: 0.92rem; }
footer.site-footer a { color: var(--cream); }
footer.site-footer a:hover { color: var(--teal-light); }
.footer-bottom { text-align: center; font-size: 0.8rem; color: var(--teal-light); margin-top: 2.4rem; opacity: 0.85; }
@media (max-width: 760px) { footer.site-footer .container { grid-template-columns: 1fr; } }

/* ---------- WhatsApp contact icon ---------- */
.wa-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  vertical-align: middle;
  margin-left: 0.4em;
  position: relative;
  top: -1px;
}
.wa-link svg { width: 100%; height: 100%; display: block; }

/* ---------- Launch Offer card (prices page) ---------- */
.launch-offer-card {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  box-shadow: 0 12px 40px rgba(16,42,67,0.28);
  margin: 1rem 0 0.5rem;
}
.launch-offer-header {
  background: var(--teal);
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 200px;
  gap: 0.7rem;
}
.launch-offer-title {
  color: #fff;
  font-size: 1.6rem;
  margin: 0;
}
.launch-offer-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.launch-offer-was {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}
.launch-offer-now {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.launch-offer-saving {
  background: var(--sepia);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border-radius: 20px;
  margin-top: 0.3rem;
}
.launch-offer-body {
  padding: 2rem 2.4rem;
  color: #fff;
}
.launch-offer-intro {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.launch-offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.launch-offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.97rem;
  color: #fff;
}
.launch-tick {
  color: var(--teal-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}
@media (max-width: 700px) {
  .launch-offer-card {
    grid-template-columns: 1fr;
  }
  .launch-offer-header {
    min-width: unset;
    padding: 1.6rem;
  }
  .launch-offer-body {
    padding: 1.6rem;
  }
}

/* ---------- Keepsake product grid (prices page) ---------- */
.keepsake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.4rem;
  margin-top: 1.2rem;
}
.keepsake-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.keepsake-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.keepsake-card--no-img {
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.keepsake-no-img-icon {
  font-size: 3rem;
  padding: 1.5rem 0 0.5rem;
}
.keepsake-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
}
.keepsake-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-deep);
}
.keepsake-price {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--teal);
  white-space: nowrap;
}

/* ---------- Misc utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.eyebrow-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem; }
