/* =========================================================================
   RED VARIANT — Editorial Equestrian (personal lab)
   Design System v2.1 — ivory · ink · scarlet accent
   ========================================================================= */

/* ----------  DESIGN TOKENS  ---------- */
:root {
  /* Color — bone & ink */
  --paper:    #f4f0e8;
  --paper-2:  #ece6da;
  --paper-3:  #e3dccd;
  --ink:      #17150f;
  --ink-2:    #423d34;
  --ink-soft: #8a8377;
  --line:     #d8d1c2;
  --line-2:   #c8c0ae;
  --accent:   #cf2417;   /* scarlet — script + fine accents */
  --accent-deep: #9c1a10;
  --white:    #ffffff;
  /* real photos & video posters stay black & white; sunset lives only in the AI impact images */
  --img-tone: grayscale(1) contrast(1.02);

  /* Type */
  --serif:  "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Pinyon Script", "Playfair Display", cursive;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid scale */
  --fs-micro: 0.72rem;
  --fs--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --fs-0:  clamp(0.98rem, 0.94rem + 0.2vw, 1.06rem);
  --fs-1:  clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-2:  clamp(1.5rem, 1.2rem + 1.3vw, 2.3rem);
  --fs-3:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --fs-4:  clamp(2.8rem, 1.9rem + 4.2vw, 6rem);
  --fs-5:  clamp(3.4rem, 2rem + 6.5vw, 8.5rem);

  /* Space */
  --section-y: clamp(4.5rem, 3rem + 8vw, 10rem);
  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------  RESET  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--fs-0);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* ----------  TYPE  ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.015em; color: var(--ink); }
.script { font-family: var(--script); font-weight: 400; font-style: normal; color: var(--accent); letter-spacing: 0; line-height: 0.9; }
.label {
  font-family: var(--sans); font-weight: 500;
  font-size: var(--fs-micro); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-soft);
}
.label--tick { display: inline-flex; align-items: center; gap: 0.8rem; }
.label--tick::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.serif-lead { font-family: var(--serif); font-weight: 400; font-size: var(--fs-2); line-height: 1.28; color: var(--ink); letter-spacing: -0.01em; }
.muted { color: var(--ink-2); }

/* ----------  LAYOUT  ---------- */
.wrap { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.6rem, 940px); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.rule { height: 1px; background: var(--line); border: 0; }
.section-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head .idx { font-family: var(--serif); font-style: italic; font-size: var(--fs-1); color: var(--accent); }

/* ----------  BUTTONS  ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-weight: 500; font-size: var(--fs--1);
  letter-spacing: 0.02em;
  padding: 1rem 1.8rem; border-radius: 2px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s;
}
.btn svg { width: 16px; height: 16px; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-weight: 500; font-size: var(--fs--1); letter-spacing: 0.04em;
  padding-bottom: 4px; border-bottom: 1px solid var(--ink);
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 1.1rem; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ----------  HEADER  ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 1.4rem; transition: background 0.4s var(--ease), box-shadow 0.4s, padding 0.4s; }
.site-header.scrolled { background: rgba(244,240,232,0.9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding-block: 0.9rem; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.nav-left { display: flex; align-items: center; gap: 1.4rem; }
.brand { justify-self: center; font-family: var(--script); font-size: 2.1rem; line-height: 1; color: var(--ink); }
.brand small { display: none; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 1.4rem; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { font-size: var(--fs--1); font-weight: 500; letter-spacing: 0.02em; color: var(--ink-2); position: relative; padding-bottom: 3px; transition: color 0.3s; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background: var(--ink); transition: width 0.3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.icon-btn { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.nav-toggle { display: none; width: 40px; height: 40px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 6px auto; transition: 0.3s; }
.mobile-menu { display: none; }

/* ----------  HERO  ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--paper); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; filter: var(--img-tone); }
.hero-media::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, var(--paper) 26%, rgba(244,240,232,0.5) 44%, rgba(244,240,232,0) 62%); }
.hero-inner { position: relative; z-index: 2; padding-top: 7rem; padding-bottom: 8.5rem; max-width: 40rem; }
.hero .kicker { margin-bottom: 2rem; }
.hero h1 { font-size: var(--fs-5); font-weight: 400; }
.hero h1 .script { display: block; font-size: 1.28em; margin-top: 0.1em; margin-left: -0.02em; }
.hero p { max-width: 34ch; margin-top: 1.8rem; font-size: var(--fs-1); color: var(--ink-2); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.6rem; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 1.8rem; z-index: 2; }
.hero-foot .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.hero-foot .meta { display: flex; gap: 2.4rem; }
.hero-foot .meta div span { display: block; }
.hero-foot .meta .k { font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.hero-foot .meta .v { font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.4rem; }
.hero-scroll { font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); writing-mode: vertical-rl; }

/* ----------  INTRO  ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.intro-copy .serif-lead { margin: 1.6rem 0 0; }
.intro-copy p.body { margin-top: 1.4rem; color: var(--ink-2); max-width: 46ch; }
.intro-values { margin-top: 2.6rem; display: grid; gap: 0; border-top: 1px solid var(--line); }
.intro-values .row { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.intro-values .row .n { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.intro-values .row h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0; }
.intro-values .row p { font-size: var(--fs--1); color: var(--ink-soft); margin-top: 0.2rem; }
.intro-figure { position: relative; }
.intro-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: var(--img-tone); }
.intro-figure figcaption { margin-top: 0.9rem; font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); display: flex; justify-content: space-between; }

/* ----------  BANNER (Made for the ride) ---------- */
.banner { position: relative; min-height: 78vh; display: grid; place-items: center; overflow: hidden; background: #e9e3d7; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.03); }
.banner .banner-type { position: relative; z-index: 2; width: min(100% - 3rem, 1150px); display: flex; justify-content: space-between; align-items: center; color: #fff; mix-blend-mode: difference; font-family: var(--serif); font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; font-size: clamp(1.1rem, 3.5vw, 2.6rem); }
.banner .banner-type .mid { font-family: var(--sans); font-weight: 300; letter-spacing: 0.25em; }
/* red variant — full-colour impact image */
.banner--red { background: #1a0603; }
.banner--red img { filter: contrast(1.05) saturate(1.05); object-position: center 42%; }
.banner--red .banner-type { color: #fff; mix-blend-mode: normal; text-shadow: 0 2px 30px rgba(0,0,0,0.55); }
.banner--red .banner-type .mid { color: #ffd9d3; }

/* ----------  SERVICES  ---------- */
.services .section-head { text-align: center; justify-items: center; }
.services .section-head h2 { font-size: var(--fs-4); font-weight: 400; }
.svc-row { display: grid; grid-template-columns: 88px 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(2rem, 4vw, 3.4rem) 0; border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row .svc-idx { font-family: var(--serif); font-style: italic; font-size: var(--fs-2); color: var(--accent); align-self: start; }
.svc-row .svc-text h3 { font-size: var(--fs-3); font-weight: 400; margin-bottom: 0.8rem; }
.svc-row .svc-text p { color: var(--ink-2); max-width: 46ch; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.svc-tags span { font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); padding: 0.35rem 0.8rem; border: 1px solid var(--line-2); border-radius: 2px; }
.svc-media { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-tone); transition: transform 1s var(--ease), filter 0.6s; }
.svc-row:hover .svc-media img { transform: scale(1.05); filter: none; }
.svc-media .play { position: absolute; inset: 0; display: grid; place-items: center; }
.svc-media .play button { width: 66px; height: 66px; border-radius: 50%; background: rgba(244,240,232,0.9); color: var(--ink); display: grid; place-items: center; transition: transform 0.35s var(--ease), background 0.3s; }
.svc-media .play button svg { width: 22px; height: 22px; margin-left: 3px; }
.svc-media .play button:hover { transform: scale(1.1); background: var(--paper); }

/* ----------  ABOUT  ---------- */
.about { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-figure { position: relative; }
.about-figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 28%; filter: var(--img-tone); }
.about-body h2 { font-size: var(--fs-4); font-weight: 400; margin: 1.4rem 0; }
.about-body h2 .script { display: inline; font-size: 1.15em; }
.about-body p { color: var(--ink-2); }
.about-body p + p { margin-top: 1.1rem; }
.about-quote { margin: 2rem 0 1.4rem; font-family: var(--serif); font-style: italic; font-size: var(--fs-2); line-height: 1.3; color: var(--ink); }
.about-sign { font-family: var(--script); font-size: 2.4rem; color: var(--accent); line-height: 1.1; }
.about-role { margin-top: 0.3rem; font-family: var(--sans); font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.about-hoof { position: absolute; right: -9%; bottom: -13%; width: 48%; max-width: 250px; }
.about-hoof img { aspect-ratio: 4/5; object-fit: cover; filter: var(--img-tone); }
.about-hoof::before { content: ""; position: absolute; inset: 15px -15px -15px 15px; background: var(--accent); z-index: -1; }
.about-hoof .no { position: absolute; top: 10px; right: 12px; font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0.08em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }

/* ----------  GALLERY  ---------- */
.gallery { background: var(--ink); color: var(--paper); }
.gallery .label { color: rgba(244,240,232,0.6); }
.gallery .section-head .idx { color: #e0574a; }
.gallery .section-head h2 { color: var(--paper); font-size: var(--fs-4); font-weight: 400; }
.gallery .section-head p { color: rgba(244,240,232,0.6); max-width: 42ch; }
.grid-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.g-item { position: relative; overflow: hidden; cursor: pointer; background: #000; }
.g-item img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-tone) brightness(0.96); transition: transform 0.9s var(--ease), filter 0.6s, opacity 0.4s; }
.g-item:hover img { transform: scale(1.06); filter: none; }
.g-item .tag { position: absolute; left: 14px; bottom: 12px; z-index: 3; font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.g-item .vbadge { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(244,240,232,0.9); color: var(--ink); display: grid; place-items: center; transition: transform 0.3s; }
.g-item .vbadge svg { width: 16px; height: 16px; margin-left: 2px; }
.g-item:hover .vbadge { transform: scale(1.1); }
.g-item::after { content:""; position:absolute; inset:0; z-index:2; background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 50%); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ----------  BOOKING  ---------- */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.booking-info h2 { font-size: var(--fs-4); font-weight: 400; margin: 1.4rem 0 1.6rem; }
.booking-info h2 .script { display: inline; font-size: 1.12em; }
.booking-info .serif-lead { max-width: 40ch; }
.contact-list { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.contact-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.contact-item .k { font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.contact-item .v { font-family: var(--serif); font-size: var(--fs-1); }
.contact-item .v a:hover { color: var(--accent); }

.booking-form { }
.booking-form h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-2); margin-bottom: 0.4rem; }
.booking-form > p { color: var(--ink-soft); font-size: var(--fs--1); margin-bottom: 2rem; }
.field { margin-bottom: 1.6rem; position: relative; }
.field label { display: block; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.6rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0; border: 0; border-bottom: 1px solid var(--line-2);
  background: transparent; font: inherit; color: var(--ink); transition: border-color 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: #b7b0a2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 90px; }
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.booking-form .btn-dark { width: 100%; justify-content: center; margin-top: 0.6rem; padding-block: 1.15rem; }
.form-note { font-size: var(--fs-micro); color: var(--ink-soft); text-align: center; margin-top: 1.1rem; letter-spacing: 0.02em; }
.form-success { display:none; text-align:center; padding: 1rem; border: 1px solid var(--line-2); color: var(--ink); font-size: var(--fs--1); margin-top: 1rem; }
.form-success.show { display: block; }

/* ----------  PROCESS (how it's done) ---------- */
.process { background: var(--paper-2); }
.process .section-head { max-width: 60ch; }
.process .section-head h2 { font-size: var(--fs-4); font-weight: 400; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.step { padding: 1.8rem 1.4rem 1.8rem 0; border-bottom: 1px solid var(--line); }
.step + .step { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.step .s-num { font-family: var(--serif); font-style: italic; font-size: var(--fs-2); color: var(--accent); display: block; margin-bottom: 0.9rem; }
.step h4 { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; margin-bottom: 0.5rem; }
.step p { font-size: var(--fs--1); color: var(--ink-2); }
.process-cta { margin-top: 2.6rem; }

/* ----------  FAQ ---------- */
.faq .section-head h2 { font-size: var(--fs-4); font-weight: 400; }
.faq-list { max-width: 820px; border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; font-family: var(--serif); font-size: var(--fs-1); color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--accent); transition: transform 0.3s var(--ease); line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details[open] summary { color: var(--accent); }
.faq-list .faq-a { padding: 0 0 1.4rem; max-width: 62ch; color: var(--ink-2); }
.faq-note { margin-top: 2rem; font-size: var(--fs--1); color: var(--ink-soft); }
.faq-note a { border-bottom: 1px solid var(--accent); color: var(--ink); }

/* sticky mini CTA for a fluid path to booking */
.cta-strip { background: var(--ink); color: var(--paper); }
.cta-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.2rem,4vw,3.4rem); }
.cta-strip h3 { color: var(--paper); font-weight: 400; font-size: var(--fs-2); max-width: 22ch; }
.cta-strip h3 .script { color: #e0574a; }
.cta-strip .btn { background: var(--paper); color: var(--ink); }
.cta-strip .btn:hover { background: var(--accent); color: #fff; }

/* ----------  FOOTER  ---------- */
.site-footer { background: var(--ink); color: rgba(244,240,232,0.65); padding-block: clamp(3.5rem,7vw,5.5rem) 2.2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(244,240,232,0.14); }
.footer-brand .brand { color: var(--paper); font-size: 3rem; }
.footer-brand p { max-width: 32ch; margin-top: 1rem; font-size: var(--fs--1); }
.footer-col h4 { font-family: var(--sans); font-weight: 500; color: var(--paper); font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: 0.4rem 0; font-size: var(--fs--1); transition: color 0.25s, padding 0.25s; }
.footer-col a:hover { color: #e0574a; padding-left: 5px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: var(--fs-micro); letter-spacing: 0.06em; color: rgba(244,240,232,0.5); }

/* ----------  LIGHTBOX  ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,13,9,0.96); display: none; align-items: center; justify-content: center; padding: 5vw; opacity: 0; transition: opacity 0.3s; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox-content { max-width: min(1000px, 92vw); max-height: 88vh; }
.lightbox-content img, .lightbox-content video { max-height: 88vh; width: auto; max-width: 100%; }
.lightbox-close { position: absolute; top: 1.6rem; right: 1.8rem; width: 48px; height: 48px; border: 1px solid rgba(244,240,232,0.3); color: var(--paper); display: grid; place-items: center; transition: background 0.25s, transform 0.25s; }
.lightbox-close:hover { background: rgba(244,240,232,0.12); transform: rotate(90deg); }
.lightbox-close svg { width: 22px; height: 22px; }

/* ----------  REVEAL  ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----------  RESPONSIVE  ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: block; }
  .nav { grid-template-columns: 1fr auto 1fr; }
  .site-header.menu-open { background: var(--paper); }
  .mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--paper); display: none; flex-direction: column; justify-content: center; align-items: center; gap: 1.4rem; padding: 2rem; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-family: var(--serif); font-size: 2rem; color: var(--ink); }
  .mobile-menu a.script { font-family: var(--script); color: var(--accent); font-size: 2.6rem; }
  .mobile-menu a.btn { margin-top: 1rem; font-family: var(--sans); font-size: var(--fs--1); color: var(--paper); letter-spacing: 0.02em; }

  .intro-grid, .about-grid, .booking-grid { grid-template-columns: 1fr; }
  .intro-figure, .about-figure { max-width: 460px; }
  .about-hoof { display: none; }
  .svc-row { grid-template-columns: 60px 1fr; }
  .svc-row .svc-media { grid-column: 1 / -1; margin-top: 0.5rem; }
  .grid-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .steps .step:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.4rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-media::after { background: linear-gradient(180deg, rgba(244,240,232,0.4) 0%, rgba(244,240,232,0.75) 40%, var(--paper) 92%); }
  .hero-media img { object-position: 70% center; }
  .hero-inner { max-width: 100%; }
  .hero-foot { display: none; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .grid-gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
  .banner .banner-type { flex-direction: column; gap: 0.3rem; text-align: center; }
}

/* ============================================================
   v4 — Boarding · Parallax · Texture · WhatsApp
   ============================================================ */

/* ---- WhatsApp buttons ---- */
.btn-wa { background: #25D366; color: #fff; border: 0; display: inline-flex; align-items: center; gap: 0.55em; }
.btn-wa:hover { background: #1eb658; color: #fff; }
.btn-wa svg { width: 1.2em; height: 1.2em; flex: none; }
.site-header .btn-wa { padding-block: 0.7rem; }
.btn-ghost { background: transparent; color: currentColor; border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* floating WhatsApp */
.wa-float { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; z-index: 90; box-shadow: 0 10px 26px rgba(0,0,0,0.28); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(0,0,0,0.34); }
.wa-float svg { width: 32px; height: 32px; }

/* ---- Parallax ---- */
.parallax { will-change: transform; }

/* ---- Texture overlay (grain) ---- */
.textured { position: relative; }
.textured::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.textured > * { position: relative; z-index: 1; }
.cta-strip.textured::before { mix-blend-mode: overlay; opacity: 0.14; }

/* ---- Boarding section ---- */
.boarding { padding-block: clamp(4.5rem, 9vw, 9rem); background: var(--paper-2); overflow: hidden; }
.boarding .section-head h2 { font-size: var(--fs-4); font-weight: 400; }
.boarding-feature { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: clamp(2.4rem, 4vw, 3.6rem); }
.boarding-photo { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.boarding-photo img { position: absolute; top: -11%; left: 0; width: 100%; height: 122%; object-fit: cover; filter: var(--img-tone); }
.boarding-photo figcaption { position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; padding: 0.5rem 0.9rem; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem 2rem; }
.am-n { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: var(--fs-1); display: block; margin-bottom: 0.35rem; }
.am h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: 0.3rem; }
.am p { font-size: var(--fs--1); color: var(--ink-2); }
.boarding-cta { margin-top: clamp(2rem, 4vw, 2.8rem); display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

/* ---- CTA strip / contact action rows ---- */
.cta-actions, .contact-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.contact-actions { margin: 1.8rem 0 2.2rem; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .boarding-feature { grid-template-columns: 1fr; gap: 2.2rem; }
  .boarding-photo { aspect-ratio: 3/4; max-height: 70vh; }
}
@media (max-width: 520px) {
  .amenities { grid-template-columns: 1fr; gap: 1.3rem; }
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
  .cta-actions .btn, .contact-actions .btn, .boarding-cta .btn { width: 100%; justify-content: center; }
}

/* ---- Reduced motion ----
   Note: parallax intensity is softened in JS rather than killed here, because
   Windows ships prefers-reduced-motion: reduce ON in many default setups and a
   hard `transform: none !important` made the site look flat for those visitors. */


/* ============================================================
   v5 — Rates · Booking tray · Hours
   ============================================================ */

/* ----------  SERVICE + PRICE ROWS  ---------- */
.svc {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2.2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.svc:first-of-type { margin-top: clamp(2rem, 4vw, 3rem); }
.svc:nth-of-type(even) .svc-media { order: 2; }

.svc-media {
  position: relative; overflow: hidden; aspect-ratio: 4/3; margin: 0;
  background: var(--paper-3);
}
.svc-media img { filter: var(--img-tone); transition: filter 0.6s var(--ease); }
.svc-media:hover img { filter: none; }
.svc-media .play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(244,240,232,0.92); color: var(--ink); border: 0;
  display: grid; place-items: center; cursor: pointer; z-index: 2;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.svc-media .play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.svc-media .play-btn:hover { background: var(--accent); color: #fff; transform: translate(-50%, -50%) scale(1.08); }

.svc-body { min-width: 0; }
.svc-idx {
  font-family: var(--serif); font-style: italic; font-size: var(--fs-1);
  color: var(--accent); display: block; margin-bottom: 0.4rem;
}
.svc-body h3 {
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-3);
  line-height: 1.08; letter-spacing: -0.015em;
}
.svc-desc { margin-top: 0.8rem; font-size: var(--fs-0); color: var(--ink-2); max-width: 42ch; }

.svc-buy {
  display: flex; align-items: flex-end; gap: clamp(1.2rem, 3vw, 2.2rem);
  flex-wrap: wrap; margin-top: clamp(1.4rem, 3vw, 2rem);
  padding-top: 1.2rem; border-top: 1px solid var(--line);
}
.svc-buy--board { margin-top: clamp(2rem, 4vw, 2.8rem); align-items: center; }
.svc-price { line-height: 1.25; }
.svc-price .rate-fig { line-height: 1.05; }

.rate-inc { list-style: none; padding: 0; margin: 0.9rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.rate-inc li {
  position: relative; padding-left: 0.95rem;
  font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
}
.rate-inc li::before {
  content: ""; position: absolute; left: 0; top: 0.52em;
  width: 5px; height: 5px; background: var(--accent);
}

.rate-from {
  display: block; font-size: var(--fs-micro); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.15rem;
}
.rate-fig {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.7rem); line-height: 1; letter-spacing: -0.02em;
}
.rate-unit {
  display: block; margin-top: 0.35rem; font-size: var(--fs-micro);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
}

.rate-add {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.75rem 1.25rem;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--sans); font-size: var(--fs-micro);
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.rate-add svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.35s var(--ease); }
.rate-add:hover { background: var(--accent); border-color: var(--accent); }
.rate-add:active { transform: scale(0.97); }
.rate-add:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* added state */
.is-added .rate-add { background: var(--accent); border-color: var(--accent); }
.is-added .rate-add svg { transform: rotate(135deg); }

/* qty stepper appears once added */
.rate-qty {
  display: none; align-items: center; gap: 0.15rem;
  border: 1px solid var(--line-2); background: var(--white);
}
.is-added .rate-qty { display: inline-flex; }
.rate-qty button {
  width: 34px; height: 38px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.rate-qty button:hover { background: var(--ink); color: var(--paper); }
.rate-qty button:disabled { opacity: 0.28; cursor: default; }
.rate-qty button:disabled:hover { background: none; color: var(--ink); }
.rate-qty .qv {
  min-width: 30px; text-align: center; font-family: var(--sans);
  font-size: var(--fs--1); font-weight: 600; font-variant-numeric: tabular-nums;
}

.rate-foot {
  margin-top: 1.6rem; font-size: var(--fs--1); color: var(--ink-soft);
  max-width: 66ch;
}

/* ----------  HOURS  ---------- */
.hours {
  margin-top: clamp(3rem, 6vw, 5rem);
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  max-width: 640px;
}
.hours-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem;
}
.hours-head .label { margin: 0; }
.hours-status {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-size: var(--fs-micro);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-soft);
}
.hours-status .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); flex: none;
}
.hours-status[data-state="open"] { color: #1c7a3f; }
.hours-status[data-state="open"] .dot { background: #22a75a; box-shadow: 0 0 0 0 rgba(34,167,90,0.6); animation: hoursPulse 2.4s infinite; }
.hours-status[data-state="closed"] { color: var(--accent-deep); }
.hours-status[data-state="closed"] .dot { background: var(--accent); }
@keyframes hoursPulse {
  70%  { box-shadow: 0 0 0 8px rgba(34,167,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,167,90,0); }
}

.hours-rows { display: grid; gap: 0; }
.hours-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 0; border-top: 1px solid var(--line);
}
.hours-row:first-child { border-top: 0; }
.hours-k { font-size: var(--fs--1); color: var(--ink-2); }
.hours-k em { font-style: italic; color: var(--ink-soft); }
.hours-v {
  font-family: var(--serif); font-size: var(--fs-0);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hours-note { margin-top: 1.2rem; font-size: var(--fs-micro); color: var(--ink-soft); }

/* ----------  REQUEST TRAY  ---------- */
.tray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.28);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.tray.show { transform: translateY(0); }
.tray[hidden] { display: none; }
.tray-inner { padding-block: 0; }

.tray-head {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0; background: none; border: 0; cursor: pointer;
  color: inherit; text-align: left; font-family: var(--sans);
}
.tray-title {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-size: var(--fs-micro); letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
}
.tray-count {
  display: grid; place-items: center; min-width: 26px; height: 26px;
  padding: 0 0.4em; border-radius: 999px; background: var(--accent);
  color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.tray-sum { margin-left: auto; display: flex; align-items: baseline; gap: 0.7rem; }
.tray-total-label {
  font-size: var(--fs-micro); letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(244,240,232,0.55);
}
.tray-total {
  font-family: var(--serif); font-size: var(--fs-2); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tray-chev {
  width: 20px; height: 20px; flex: none; color: rgba(244,240,232,0.6);
  transition: transform 0.4s var(--ease);
}
.tray-head[aria-expanded="true"] .tray-chev { transform: rotate(180deg); }

.tray-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.35s var(--ease);
  opacity: 0;
}
.tray.open .tray-body { max-height: min(58vh, 520px); overflow-y: auto; opacity: 1; }

.tray-list { list-style: none; margin: 0; padding: 0 0 0.4rem; }
.tray-item {
  display: flex; align-items: baseline; gap: 0.8rem;
  padding: 0.7rem 0; border-top: 1px solid rgba(244,240,232,0.14);
  font-size: var(--fs--1);
}
.tray-item .ti-name { flex: 1; min-width: 0; }
.tray-item .ti-qty { color: rgba(244,240,232,0.6); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tray-item .ti-sub { font-family: var(--serif); font-size: var(--fs-0); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tray-item .ti-del {
  background: none; border: 0; cursor: pointer; color: rgba(244,240,232,0.45);
  font-size: 1.1rem; line-height: 1; padding: 0 0.2rem; transition: color 0.2s;
}
.tray-item .ti-del:hover { color: var(--accent); }

.tray-note {
  padding: 0.8rem 0 0; font-size: var(--fs-micro);
  color: rgba(244,240,232,0.55); border-top: 1px solid rgba(244,240,232,0.14);
}
.tray-actions {
  display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
  padding: 1.1rem 0 1.4rem;
}
.tray-actions .btn-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tray-actions .btn-dark:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.tray-clear {
  margin-left: auto; background: none; border: 0; cursor: pointer;
  color: rgba(244,240,232,0.5); font-family: var(--sans);
  font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.2s;
}
.tray-clear:hover { color: var(--accent); }

/* float button gets out of the tray's way */
body.tray-visible .wa-float { transform: translateY(-84px); }
body.tray-visible.tray-open .wa-float { opacity: 0; pointer-events: none; }
.wa-float { transition: transform 0.45s var(--ease), opacity 0.3s, box-shadow 0.25s; }

/* footer hours lines */
.foot-hours { display: block; padding: 0.4rem 0; font-size: var(--fs--1); }

/* ============================================================
   v6 — Parallax frames · texture · editorial break · contact
   ============================================================ */

/* ---- Parallax frames ----
   A parallaxed image needs headroom inside its frame, otherwise the
   translate exposes the background at the top or bottom edge. */
/* Headroom must exceed the parallax travel, or the frame edge shows through.
   Travel as a fraction of the frame height is (0.5 + vh/(2h)) * data-speed —
   these values keep every element inside its margin at a 900px viewport. */
.px-frame { position: relative; overflow: hidden; }
.px-frame > img.parallax {
  position: absolute; top: -15%; left: 0;
  width: 100%; height: 130%; object-fit: cover;
}
/* hero and banner position their own images, so they only need the headroom */
.hero-media { overflow: hidden; }
.hero-media img.parallax { height: 118%; margin-top: -9%; }
.banner > img.parallax { top: -13%; bottom: auto; height: 126%; }
.break > img.parallax { top: -16%; height: 132%; }

/* ---- Texture variants (the base .textured lives in the v4 block) ---- */
.textured--soft::before { opacity: 0.3; }
.textured--paper::before { opacity: 0.42; mix-blend-mode: multiply; }
/* a whisper of grain over the whole page, so nothing looks digitally flat */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300;
  opacity: 0.22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.35'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---- Editorial parallax break ---- */
.break {
  height: clamp(360px, 62vh, 620px);
  display: grid; place-items: center;
  background: var(--ink);
  isolation: isolate;
}
.break > img.parallax { top: -16%; height: 132%; filter: brightness(0.62) saturate(0.9); }
.break::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(23,21,15,0.35), rgba(23,21,15,0.62));
}
.break-inner { position: relative; z-index: 2; text-align: center; color: var(--paper); }
.break-quote {
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-3);
  line-height: 1.2; letter-spacing: -0.015em;
}
.break-quote .script {
  font-family: var(--script); color: #f3897c;
  font-size: 1.35em; line-height: 0.9;
}
.break-sign {
  margin-top: 1.4rem; font-family: var(--sans); font-size: var(--fs-micro);
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244,240,232,0.66);
}

/* ============================================================
   v7 — Multi-page: inner page heads, home cards, trust row
   ============================================================ */

/* ---- Current page in the nav ---- */
.nav-links a[aria-current="page"],
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* Inner pages open on a dark photographic header, so the transparent nav has
   to invert until the page is scrolled and the header gets its own background. */
body.dark-head .site-header:not(.scrolled) .nav-links a,
body.dark-head .site-header:not(.scrolled) .brand { color: var(--paper); }
body.dark-head .site-header:not(.scrolled) .nav-links a[aria-current="page"] { color: #f3897c; }
body.dark-head .site-header:not(.scrolled) .nav-links a::after { background: var(--paper); }
body.dark-head .site-header:not(.scrolled) .nav-toggle span { background: var(--paper); }
body.dark-head .page-head + .section,
body.dark-head .page-head + .boarding { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* ---- Compact hero for the inner pages ---- */
.page-head {
  position: relative;
  min-height: clamp(340px, 52vh, 520px);
  display: grid; align-items: end;
  background: var(--ink);
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0;
}
.page-head > img.parallax { top: -14%; height: 128%; filter: grayscale(1) brightness(0.55) contrast(1.05); }
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(23,21,15,0.78) 0%, rgba(23,21,15,0.58) 45%, rgba(23,21,15,0.86) 100%);
}
.page-head-inner { position: relative; z-index: 2; color: var(--paper); }
/* headings carry their own colour elsewhere in the sheet, so inheriting the
   light colour from .page-head-inner is not enough — set it explicitly */
.page-head-inner h1,
.page-head-inner .label { color: var(--paper); }
.page-head-inner h1 { text-shadow: 0 2px 26px rgba(0,0,0,0.45); }
.page-head .label--tick { color: rgba(244,240,232,0.75); }
.page-head .label--tick::before { background: var(--accent); }
.page-head h1 {
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-4);
  line-height: 1.02; letter-spacing: -0.02em; margin-top: 0.6rem;
}
.page-head h1 .script { font-family: var(--script); color: #f3897c; font-size: 1.15em; }
.page-head-lead {
  margin-top: 1.2rem; max-width: 46ch; color: rgba(244,240,232,0.82);
  font-size: var(--fs-0);
}

/* ---- 404 ---- */
.notfound {
  min-height: 100vh; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); text-align: center;
  padding-block: 4rem;
}
.notfound .label--tick { color: rgba(244,240,232,0.7); justify-content: center; }
.notfound h1 {
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-4);
  line-height: 1.03; letter-spacing: -0.02em; margin-top: 0.8rem; color: var(--paper);
}
.notfound h1 .script { font-family: var(--script); color: #f3897c; font-size: 1.15em; }
.notfound-lead { margin: 1.4rem auto 0; max-width: 40ch; color: rgba(244,240,232,0.78); }
.notfound-links {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; justify-content: center;
}
.notfound-links a {
  font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(244,240,232,0.8); border-bottom: 1px solid rgba(244,240,232,0.3);
  padding-bottom: 3px; transition: color 0.25s, border-color 0.25s;
}
.notfound-links a:hover { color: #f3897c; border-color: #f3897c; }
.notfound-foot { margin-top: 2.6rem; font-size: var(--fs--1); color: rgba(244,240,232,0.6); }
.notfound-foot a { color: #25D366; border-bottom: 1px solid currentColor; }

/* replaces the old inline style attribute, so the CSP needs no 'unsafe-inline' */
.section-lead { margin-top: 1rem; color: var(--ink-2); max-width: 52ch; }

/* ---- Trust row (home) ---- */
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 4vw, 3.4rem); }
.trust .n {
  font-family: var(--serif); font-style: italic; font-size: var(--fs-2);
  color: var(--accent); display: block; margin-bottom: 0.5rem;
}
.trust h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.5rem; }
.trust p { font-size: var(--fs--1); color: var(--ink-2); }
.trust a { border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.trust a:hover { color: var(--accent); }

/* ---- Service cards (home) ---- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
}
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.card-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); }
.card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  filter: var(--img-tone); transition: filter 0.6s var(--ease), transform 0.7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card:hover .card-media img { filter: none; }
.card-body { padding: clamp(1.1rem, 2.2vw, 1.5rem); display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-1); line-height: 1.15; }
.card-body h3 a:hover { color: var(--accent); }
.card-short { margin-top: 0.5rem; font-size: var(--fs--1); color: var(--ink-2); flex: 1; }
.card .svc-buy { margin-top: 1.1rem; padding-top: 0.9rem; gap: 0.9rem; align-items: center; }
.card .rate-fig { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.9rem); }
.card-more { margin-top: 0.9rem; font-size: var(--fs-micro); }

.grid-gallery--teaser { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
.grid-gallery--teaser .g-item { grid-column: auto; grid-row: auto; }
.more-link { margin-top: 1.8rem; }

/* ---- Contact layout ---- */
.contact-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.contact .hours { margin-top: 0; max-width: none; background: var(--white); }

/* ---- Responsive (v5/v6) ---- */
@media (max-width: 980px) {
  .svc { grid-template-columns: 1fr; gap: 1.6rem; }
  .svc:nth-of-type(even) .svc-media { order: 0; }
  .svc-media { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .grid-gallery--teaser { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 700px) {
  .card-grid { grid-template-columns: 1fr; }
  .grid-gallery--teaser { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .page-head { min-height: 300px; }
}
@media (max-width: 560px) {
  .svc-buy { gap: 1rem 1.4rem; }
  .rate-add { flex: 1 1 auto; justify-content: center; }
  .rate-qty { flex: 1 1 100%; justify-content: space-between; }
  .break-quote { font-size: var(--fs-2); }
  .hours-row { flex-direction: column; gap: 0.15rem; align-items: flex-start; }
  .tray-head { padding: 0.8rem 0; }
  .tray-total { font-size: var(--fs-1); }
  .tray-actions { padding-bottom: 1.1rem; }
  .tray-actions .btn { width: 100%; justify-content: center; }
  .tray-clear { margin: 0.2rem auto 0; }
  body.tray-visible .wa-float { transform: translateY(-76px); }
}
