/* ===========================================================
   Wed by Ange — shared stylesheet
   Palette: deep navy #011674, white, soft pearl/lavender #EDEFF5
   =========================================================== */

:root {
  --navy: #011674;
  --navy-soft: #1a2e8a;
  --white: #ffffff;
  --pearl: #edeff5;
  --ink: #1c1f2e;
  --ink-soft: #4a4e63;
  --max-width: 1120px;
  /* Headings: Nixie One (your brand font, free Google Font) */
  --display: 'Nixie One', Georgia, serif;
  /* The wordmark. The logo on the Squarespace site is set in Moret, an Adobe
     Fonts face that does not come with us — Marcellus is the closest free
     match: upright, high contrast, narrow Roman capitals. It has one weight
     and no italic, so neither is asked for below. */
  --logo-font: 'Marcellus', Georgia, serif;
  /* The italic pull quotes through the site — a different job from the logo,
     so a different face. */
  --quote-font: 'Cormorant Garamond', Georgia, serif;
  /* Script accent placeholder: swap for "Brittany" once its webfont licence is added */
  --script: 'Alex Brush', cursive;
  --serif: var(--display);
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1.1em; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.9em;
  display: inline-block;
}

.btn {
  display: inline-block;
  padding: 0.95em 2.1em;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- header / nav ---------- */
header.site-header {
  background: var(--pearl);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Set in capitals with generous spacing, which is how the wordmark is drawn
   on the existing site. Weight 400 and no italic on purpose: Marcellus has
   only the one weight, and asking for bold or italic makes the browser
   smear and slant it rather than refusing. */
.logo {
  font-family: var(--logo-font);
  font-weight: 400;
  font-size: 1.22rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--navy);
  white-space: nowrap;
}

@media (max-width: 420px) {
  .logo { font-size: 1.05rem; letter-spacing: 0.13em; }
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}
nav.primary-nav a:hover,
nav.primary-nav a.active { border-color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 780px) {
  nav.primary-nav {
    display: none;
    width: 100%;
  }
  nav.primary-nav.open { display: block; }
  nav.primary-nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 16px 0 8px;
  }
  .nav-wrap { flex-wrap: wrap; }
  .nav-toggle { display: block; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 110px 24px 100px;
}
.hero h1 { color: var(--white); margin-bottom: 0.3em; }
.hero .eyebrow { color: var(--pearl); }
.hero p.lede {
  max-width: 620px;
  margin: 0 auto 2em;
  color: rgba(255,255,255,0.86);
  font-size: 1.08rem;
}
.hero .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-quote {
  background: var(--white);
  color: var(--navy);
}

/* ---------- generic section ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.on-pearl { background: var(--pearl); }
section.on-navy { background: var(--navy); color: var(--white); }
section.on-navy h2, section.on-navy h3 { color: var(--white); }
section.on-navy p { color: rgba(255,255,255,0.85); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }

/* ---------- two column ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}
.split-media img {
  border-radius: 6px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid rgba(1,22,116,0.12);
  border-radius: 10px;
  padding: 36px 30px;
}
.card.featured { border-color: var(--navy); box-shadow: 0 12px 32px rgba(1,22,116,0.12); }
.card .price {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--navy);
  margin-bottom: 0.4em;
}
.card ul { padding-left: 1.1em; margin: 1.2em 0; color: var(--ink-soft); }
.card li { margin-bottom: 0.5em; }

/* ---------- testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 30px;
}
section.on-navy .testimonial p { color: rgba(255,255,255,0.9); font-style: italic; }
.testimonial .who {
  font-weight: 700;
  color: var(--white);
  font-style: normal;
  margin-top: 1em;
  display: block;
}

/* ---------- faq ---------- */
.faq-item {
  border-bottom: 1px solid rgba(1,22,116,0.14);
  padding: 26px 0;
}
.faq-item h3 { margin-bottom: 0.5em; font-size: 1.15rem; }
.faq-item .num {
  font-family: var(--serif);
  color: rgba(1,22,116,0.3);
  font-size: 0.95rem;
  margin-right: 0.6em;
}

/* ---------- blog ---------- */
.blog-post {
  max-width: 760px;
  margin: 0 auto 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(1,22,116,0.12);
}
.blog-post:last-child { border-bottom: none; }
.blog-post .date {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- image band ---------- */
.image-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.image-band img { height: 260px; object-fit: cover; width: 100%; }
@media (max-width: 780px) {
  .image-band { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

form.contact-form { display: grid; gap: 18px; }
form.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(1,22,116,0.25);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.98rem;
  background: var(--white);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(1,22,116,0.12);
}

.contact-detail { margin-bottom: 1.4em; }
.contact-detail .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 0.3em;
}

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 32px;
}
footer.site-footer .logo { color: var(--white); }
footer.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- couples' portal link ---------- */
/* Set apart from the marketing nav on purpose: the portal is a sign-in for
   couples who have already booked, not another page for visitors to browse. */
nav.primary-nav .nav-portal a {
  border: 1.5px solid rgba(1,22,116,0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.86rem;
}
nav.primary-nav .nav-portal a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
@media (max-width: 780px) {
  nav.primary-nav .nav-portal a { display: inline-block; margin-top: 12px; }
}

.portal-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.portal-band h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 0.4em;
}
.portal-band p { max-width: 560px; margin: 0; }
.portal-band .btn { flex-shrink: 0; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Each photograph is a button, not a div: clicking one opens it, so it has
   to be reachable by keyboard and announced as something you can activate. */
.gallery-item {
  padding: 0;
  margin: 0;
  border: none;
  background: var(--pearl);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  aspect-ratio: 4 / 5;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.2s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.04); opacity: 0.92; }
.gallery-item:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 72px 24px;
  background: var(--pearl);
  border-radius: 10px;
  margin: 0;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(1, 22, 116, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }

.lightbox-figure {
  margin: 0;
  max-width: min(1000px, 92vw);
  text-align: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  margin: 0 auto;
  border-radius: 4px;
}
.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-top: 18px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  border-radius: 999px;
  line-height: 1;
  transition: background 0.15s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 1.7rem;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
}
.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }

@media (max-width: 620px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox-figure img { max-height: 68vh; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item img { transition: none; }
  .gallery-item:hover img, .gallery-item:focus-visible img { transform: none; }
}

/* ---------- reviews ---------- */
.reviews-list {
  max-width: 780px;
}

.review {
  margin: 0 0 44px;
  padding: 0 0 44px;
  border-bottom: 1px solid rgba(1, 22, 116, 0.14);
}
.review:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.review blockquote {
  margin: 0;
  position: relative;
  padding-left: 34px;
}
/* A large quotation mark as an ornament. The markup is a real <blockquote>,
   so the quoting is already announced structurally; this is decoration on
   top of that. */
.review blockquote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -6px;
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(1, 22, 116, 0.22);
}
.review blockquote p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 0.9em;
}
.review blockquote p:last-child { margin-bottom: 0; }

.review figcaption {
  margin-top: 18px;
  padding-left: 34px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.reviews-empty {
  text-align: center;
  padding: 72px 24px;
  background: var(--pearl);
  border-radius: 10px;
  margin: 0;
}

@media (max-width: 520px) {
  .review blockquote, .review figcaption { padding-left: 0; }
  .review blockquote::before { display: none; }
}

/* The header carries the drawn logo rather than the Marcellus wordmark.
   It is navy artwork on a transparent background, so it belongs on the
   pearl header bar and not on the navy footer — the footer keeps the text
   wordmark, which can be white. Swapping the footer too would need a white
   version of the file. */
.site-header .logo {
  display: flex;
  align-items: center;
  line-height: 0;
}
/* Taller than a one-line wordmark would need: the artwork stacks onto two
   lines, so at a typical header height each line ends up too small to read
   comfortably. */
.site-header .logo img {
  height: 66px;
  width: auto;
  display: block;
}
@media (max-width: 780px) {
  .site-header .logo img { height: 54px; }
}
@media (max-width: 420px) {
  .site-header .logo img { height: 46px; }
}

/* The honeypot. Off-screen rather than display:none, because some bots skip
   hidden fields — and kept out of the tab order and the accessibility tree
   so no real person ever meets it. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
}
.form-status:empty { margin: 0; }
.form-status.ok {
  color: #1e6b42;
  font-weight: 600;
}
.form-status.error { color: #b3261e; }
.form-status a { text-decoration: underline; }

/* ---------- hero with video behind ---------- */
/* Only the homepage hero. The other pages keep the plain navy band, which
   is right for them — a moving background under "FAQs" would be noise. */
.hero--video {
  position: relative;
  overflow: hidden;
}

.hero--video .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* The poster shows while the file loads, and stays if it never does. */
  background: var(--navy);
}

/* Navy over the footage, heavy enough that white text stays readable over
   a bright frame — a wedding video is mostly white dresses and sky, which
   is the hardest case for white type. Slightly deeper at the top where the
   eyebrow sits, since small letter-spaced caps are the first thing to get
   lost. */
.hero--video .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(1, 22, 116, 0.88) 0%, rgba(1, 22, 116, 0.76) 38%, rgba(1, 22, 116, 0.82) 100%);
}

.hero--video .container {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  /* The script already declines to load it, but if a video is playing when
     the preference changes, stop asking the eye to follow it. */
  .hero--video .hero-video { display: none; }
}
