:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #2a2522;
  --muted: #6b6258;
  --border: #e7e0d6;
  --primary: #8b6f3f;
  --primary-hover: #74592f;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --script: "Allura", "Brush Script MT", cursive;
  --sans: "Almarai", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.load-error {
  margin: 0;
  padding: .8rem 1.2rem;
  background: #b8372b;
  color: #fff;
  text-align: center;
  font-family: var(--sans);
  font-size: .95rem;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.25; }
a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: .65rem 1.4rem;
  font-family: var(--sans);
  font-size: .95rem;
  letter-spacing: .02em;
  border: 0;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--primary-hover); }
.btn-pill { border-radius: 999px; }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.6rem;
  background: #fff;
  backdrop-filter: blur(8px);
  border-bottom: 0;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  text-decoration: none;
  color: var(--text);
}
.brand-script {
  font-family: var(--script);
  font-size: clamp(2.7rem, 5.4vw, 3.6rem);
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--muted);
}
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { text-decoration: none; font-size: .95rem; color: var(--muted); }
.site-nav a.btn { color: #fff; }
.site-nav a:not(.btn):hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-media { height: min(78vh, 640px); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.02); }
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 1.4rem;
  padding: 2rem clamp(1.5rem, 6vw, 5rem);
  max-width: 60%;
  background: linear-gradient(90deg, rgba(35,25,17,.5) 0%, rgba(35,25,17,.28) 46%, rgba(35,25,17,0) 78%);
  color: #fff;
}
.hero-overlay h1 { max-width: 18ch; }

/* Floating portrait overlapping the hero on the right */
.hero-portrait {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5.5rem);
  bottom: -3.5rem;
  width: clamp(220px, 32vw, 420px);
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 6px solid #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  overflow: hidden;
  z-index: 5;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .35em;
  font-size: .75rem;
  opacity: .9;
}
.hero-overlay h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  color: #fff;
}
.hero-overlay h1 span { font-style: italic; }

/* ---------- Sections ---------- */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0 0 3.25rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 1rem auto 0;
  background: var(--primary);
}
.services { max-width: 1160px; margin: 0 auto; padding: 6.5rem 1.5rem 7rem; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}
.service-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 55px rgba(75, 59, 40, .08);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease;
}
.service-img { aspect-ratio: 3 / 2; overflow: hidden; }
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 65px rgba(75, 59, 40, .13);
  }
  .service-card:hover .service-img img { transform: scale(1.025); }
}
.service-card h3 { margin: 1.7rem 1.7rem .7rem; font-size: 1.45rem; }
.service-card p {
  margin: 0 1.7rem 1.6rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.8;
}
.service-prices {
  list-style: none;
  margin: 0 1.7rem 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(139, 111, 63, .35);
}
.service-prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .28rem 0;
  font-size: .95rem;
}
.service-prices .dur { color: var(--muted); }
.service-prices .price { color: var(--primary-hover); font-weight: 700; font-variant-numeric: tabular-nums; }
.service-card .btn { align-self: flex-start; margin: 0 1.4rem 1.6rem; }

/* ---------- Image bands ---------- */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 420px;
}
.band.reverse .band-media { order: 2; }
.band-media { overflow: hidden; }
.band-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.band-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 4.5rem clamp(1.5rem, 6vw, 6rem);
  background: var(--surface);
}
.band-text h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.band-text p { margin: 0; color: var(--muted); max-width: 38ch; line-height: 1.8; }
.gift-band .band-text p { max-width: 48ch; }

/* ---------- Contact ---------- */
.contact {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.contact .section-title { margin-bottom: 1.75rem; }
.contact .section-title::after { margin-top: .75rem; }
.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.contact-rows p { margin: 0; }
.contact-rows strong { font-family: var(--serif); }
.contact-rows a { color: var(--text); text-decoration: none; }
.contact-rows a:hover { color: var(--primary-hover); }
.facebook-link {
  display: inline-flex;
  margin-top: .55rem;
  color: #1877f2 !important;
}
.facebook-link:hover { color: #0f5dc2 !important; }
.facebook-link svg { width: 2.25rem; height: 2.25rem; fill: currentColor; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 0;
  background: #fff;
  color: var(--muted);
  font-size: .9rem;
}
.site-footer p { margin: .3rem 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem .65rem;
  align-items: center;
}
.footer-links a, .footer-links .cookie-settings { color: var(--primary); text-decoration: none; }
.footer-links a:hover, .footer-links .cookie-settings:hover { color: var(--primary-hover); }

/* ---------- Privacy and cookie pages ---------- */
.legal-main {
  width: min(760px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4rem 0 5rem;
}
.legal-main h1 { margin: 0 0 .5rem; font-size: clamp(2rem, 5vw, 3rem); }
.legal-main h2 { margin: 2.25rem 0 .6rem; font-size: 1.35rem; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main a { color: var(--primary-hover); }
.legal-updated { margin: 0 0 2.5rem; font-size: .9rem; }
.legal-summary {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--primary);
  background: var(--surface);
}
.legal-main ul { padding-left: 1.25rem; }
.legal-table-wrap { overflow-x: auto; margin: 1rem 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal-table th, .legal-table td {
  padding: .75rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: var(--surface); font-family: var(--serif); font-weight: 400; }
.legal-action {
  display: inline-block;
  margin-top: .5rem;
  padding: .65rem 1.1rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
.legal-action:hover { background: var(--primary-hover); }

/* ---------- Subtle entrance effects ---------- */
html.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.22, 1, .36, 1);
}
html.reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
html.reveal-ready .service-card:nth-child(2) { transition-delay: .1s; }
html.reveal-ready .service-card:nth-child(3) { transition-delay: .2s; }
html.reveal-ready .gift-band .band-media.reveal {
  transform: translateX(-32px);
}
html.reveal-ready .gift-band .band-media.reveal.is-visible {
  transform: translateX(0);
}
html.reveal-ready .gift-band .band-text.reveal {
  transform: translateX(32px);
}
html.reveal-ready .gift-band .band-text.reveal.is-visible {
  transform: translateX(0);
}

/* ---------- Responsive ---------- */
@media (min-width: 721px) {
  .hero-overlay {
    justify-content: flex-end;
    padding-bottom: 20px;
  }
  .contact { padding-bottom: calc(3.5rem - 30px); }
}

@media (max-width: 720px) {
  .band { grid-template-columns: 1fr; }
  .band.reverse .band-media { order: 0; }
  .band-media { min-height: 260px; }
  .site-nav { gap: .9rem; }
  .site-nav a:not(.btn) { display: none; }

  /* Hero reflows: text full-width, portrait centered below the hero copy */
  .hero { padding-bottom: 1.5rem; }
  .hero-media { height: 60vh; }
  .hero-overlay {
    max-width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.5));
  }
  .hero-overlay > * { position: relative; top: -20px; }
  .hero-overlay h1 { max-width: 18ch; }
  .hero-portrait {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;
    margin: 1.5rem auto 0;
    width: clamp(160px, 55vw, 240px);
  }
  .services { padding: 4.5rem 1.25rem 5.5rem; }
  .service-grid { gap: 2rem; }
  .brand { gap: .4rem; }
  .brand-name { font-size: .8rem; letter-spacing: .07em; }
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal,
  html.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .service-card, .service-img img { transition: none; }
}
