/* The Love Shack Celebrant: neutral, warm, quiet. */
:root {
  --bg: #f8f5f0;        /* ivory */
  --surface: #f0ebe3;   /* linen */
  --stone: #e2d9cd;     /* sand */
  --line: #d6ccbf;
  --taupe: #9c8c7a;
  --taupe-dark: #6f6255;
  --ink: #3a342f;       /* soft charcoal */
  --muted: #6e665e;
  --white: #fffdfa;
  --ok: #5d6b52;
  --err: #9a5a4a;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 1rem;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }
.rule { width: 56px; height: 1px; background: var(--taupe); border: 0; margin: 1.5rem 0 2rem; }

section { padding: clamp(64px, 10vw, 120px) 0; }
.alt { background: var(--surface); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 240, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; }
.brand-sub { font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--taupe-dark); }

.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .4rem 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); border-color: var(--taupe); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: .5rem 24px 1.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-color: var(--line); }
}

/* Photos: real images once uploaded, soft linen placeholders until then */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(160deg, var(--stone), var(--surface));
  aspect-ratio: 4 / 5;
}
.photo.wide { aspect-ratio: 3 / 2; }
.photo.square { aspect-ratio: 1; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo:not(:has(img))::after {
  content: "";
  position: absolute; inset: 0;
  margin: auto;
  width: 44px; height: 44px;
  opacity: .35;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%236f6255' stroke-width='1.2'%3E%3Crect x='5' y='9' width='38' height='30' rx='1'/%3E%3Ccircle cx='17' cy='20' r='4'/%3E%3Cpath d='M5 34l11-10 9 8 6-5 12 10'/%3E%3C/svg%3E");
}

/* Hero */
.hero { padding: 0; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 48px; padding-bottom: 48px;
}
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 32em; margin-bottom: 2.2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .photo { aspect-ratio: 4 / 5; max-height: 78vh; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; }
  .hero .photo { order: -1; aspect-ratio: 4 / 3; }
}

.page-head { padding: clamp(64px, 10vw, 112px) 0 clamp(32px, 5vw, 56px); text-align: center; }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 36em; margin: 0 auto; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.4rem 2rem;
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--taupe-dark); }
.card .more:hover { color: var(--ink); }

/* Services & pricing */
.package {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 5vw, 64px);
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}
.package:last-child { border-bottom: 1px solid var(--line); }
.package .price { font-family: var(--serif); font-size: 1.3rem; color: var(--taupe-dark); margin: 0; }
.package ul { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--muted); }
.package li { margin-bottom: .35rem; }
@media (max-width: 760px) { .package { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--taupe);
  margin-bottom: .5rem;
}
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 20px; }
.gallery .photo { break-inside: avoid; margin-bottom: 20px; }
.gallery .photo:nth-child(3n+2) { aspect-ratio: 1; }
.gallery .photo:nth-child(4n+3) { aspect-ratio: 3 / 2; }
.gallery .photo img { cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(30, 27, 24, .92);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

/* Testimonials */
.quote {
  margin: 0;
  padding: 2.6rem 2.2rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.quote p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.6; font-style: italic; color: var(--ink); }
.quote footer { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-dark); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.quote.featured { text-align: center; background: transparent; border: 0; max-width: 760px; margin: 0 auto; }
.quote.featured p { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Call to action band */
.cta { text-align: center; }
.cta p { color: var(--muted); max-width: 34em; margin: 0 auto 2rem; }

/* Enquiry form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
label .opt { text-transform: none; letter-spacing: 0; color: var(--taupe); }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--taupe-dark); }
textarea { min-height: 160px; resize: vertical; }
.invalid { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1.2rem 0 0; min-height: 1.5em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

.contact-aside p { color: var(--muted); }
.contact-aside dl { margin: 2rem 0 0; }
.contact-aside dt { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-dark); }
.contact-aside dd { margin: .2rem 0 1.4rem; }
.contact-aside a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #d9d1c6; padding: 64px 0 32px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: var(--taupe); }
.site-footer h4 { font-family: var(--sans); font-weight: 400; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { text-decoration: none; color: #d9d1c6; }
.site-footer a:hover { color: var(--white); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #514942; padding-top: 24px; margin-top: 16px; font-size: .82rem; color: #a99f93; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Gentle fade-in on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
