:root {
  --bubble-start-x: 28%;
  --bubble-start-y: 22%;

  --gold: #E4B75C;
  --gold-dim: #D7A84F;
  --crimson: #D15A48;
  --muffin-blue: #6BB6E8;
  --muffin-blue-strong: #5DADE2;
  --cream: #fff6e6;
  --cream-quiet: rgba(255, 246, 230, 0.58);
  --cream-soft: rgba(255, 246, 230, 0.72);

  /* One line changes the whole display voice. Alternatives that also suit
     the 1910s Oaks thread: 'Abril Fatface' (more poster punch, h1/h2 only),
     'Archivo Black' (echoes the crate logo's heavy sans). */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: Georgia, 'Times New Roman', serif;

  /* Prose sits at a readable measure; media breaks out past it. */
  --measure: 640px;
  --wide: 1040px;
}

body {
  background-color: #000000;
  color: var(--cream);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
}

/* ---------------------------------------------------------------- bubbles */

.bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: fixed;
  background: #3498db;
  border-radius: 50%;
  opacity: 0;
  animation: float 15s infinite ease-in-out;
  will-change: transform, opacity;
  pointer-events: none;
}

.background-bubble {
  position: absolute;
  background: #3498db;
  border-radius: 50%;
  opacity: 0.25;
  animation: rise 20s infinite linear;
  pointer-events: none;
}

@keyframes float {
  0% {
    bottom: var(--bubble-start-y);
    left: var(--bubble-start-x);
    transform: translateX(-50%) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  100% {
    bottom: 100%;
    left: calc(var(--bubble-start-x) + var(--horizontal-drift));
    transform: translateX(-50%) scale(1);
    opacity: 0;
  }
}

@keyframes rise {
  0%   { transform: translate(var(--start-x), 100vh) scale(0.5); }
  100% { transform: translate(var(--end-x), -100px) scale(1); }
}

/* ----------------------------------------------------------------- layout */

.content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.text {
  background: transparent;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
}

/* Each section is a three-track grid: a centred prose column at the reading
   measure, flanked by gutters that wide media can spill into. Anything
   marked .bleed spans the whole width; everything else stays in the measure. */
.intro-section,
.story-section,
.contact-info {
  display: grid;
  grid-template-columns:
    [wide-start] minmax(0, 1fr)
    [content-start] min(var(--measure), 100%) [content-end]
    minmax(0, 1fr) [wide-end];
  width: 100%;
  box-sizing: border-box;
}

.intro-section > *,
.story-section > *,
.contact-info > * {
  grid-column: content;
  min-width: 0;
}

.bleed { grid-column: wide; }

.intro-section  { padding: 28px 0 0; margin: 0; }
.story-section  { padding: 2.6rem 0 0.4rem; margin: 0; }

.story-section + .story-section { margin-top: 1.6rem; }

/* ------------------------------------------------------------- typography */

/* Eyebrow above the greeting. Quiet so it does not compete with the h1. */
.page-kicker {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 2.3vw, 1.08rem);
  font-weight: normal;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--cream-soft);
  text-align: center;
  text-wrap: balance;
  margin: 0 0 1.05rem;
}

.page-kicker-place {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: bold;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 6.5vw, 3.6rem);
  line-height: 1.05;
  margin: 0.2rem 0 0.9rem;
  color: var(--gold);
  text-wrap: balance;
  text-align: center;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 4.4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 1.2rem;
  color: var(--gold);
  text-wrap: balance;
  text-align: center;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--gold);
  text-wrap: balance;
  text-align: left;
}

p {
  line-height: 1.65;
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  margin: 0 0 1.05rem;
  max-width: 100%;
  text-align: left;
  padding: 0;
}

/* Third texture: small, letterspaced, uppercase. Used for every "label"
   role on the page so display / body / label read as one system. */
.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: bold;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-quiet);
  margin: 0 0 0.7rem;
}

.emphasis {
  font-weight: bold;
  color: var(--crimson);
  white-space: nowrap;
}

.emphasis-blue {
  font-weight: bold;
  color: var(--muffin-blue);
  white-space: nowrap;
}

.wonder-center {
  font-family: var(--font-display);
  line-height: 1.4;
  font-size: clamp(1.15rem, 2.8vw, 1.6rem);
  font-style: italic;
  color: var(--gold);
  text-align: center;
  font-weight: 500;
  margin: 0.5rem 0 1.5rem;
}

.guest-quote {
  margin: 0.5rem 0 0;
}

.quote-when {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.2;
  color: var(--gold);
  text-align: center;
  margin: 0 0 0.55rem;
}

.guest-quote .wonder-center {
  margin: 0 0 0.85rem;
}

.quote-attr {
  text-align: center;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  color: var(--cream-soft);
  margin: 0;
}

.quote-attr cite {
  font-style: normal;
}

.wonder {
  font-style: italic;
  color: var(--gold);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------- Muffin's voice */

/* Colour carries the two-narrator conceit visually; the visually-hidden
   "Muffin says:" in the markup carries it for screen readers. */
.muffin-speech {
  color: var(--muffin-blue);
  text-wrap: pretty;
}

.muffin-speech.centered-fish {
  text-align: center;
  margin-bottom: 15px;
}

/* ------------------------------------------------------------------ lists */

.text ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding-left: 1.3rem;
}

.text li {
  position: relative;
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

.text li::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--muffin-blue);
}

@media (forced-colors: active) {
  .text li::before { background: currentColor; }
}

/* ------------------------------------------------------------ pricing */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin: 0.4rem 0 0.6rem;
}

.tier {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(215, 168, 79, 0.25);
  border-radius: 14px;
  padding: 22px 20px 18px;
  background: rgba(255, 246, 230, 0.025);
}

.tier h3 {
  margin: 0 0 0.1rem;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
}

.tier-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--cream);
  margin: 0.5rem 0 0.2rem;
}

.tier-price .from {
  display: block;
  font-family: var(--font-body);
  font-weight: bold;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-quiet);
  margin-bottom: 0.35rem;
}

.tier-price .unit {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: normal;
  color: var(--cream-soft);
}

.tier-note {
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--cream-soft);
  margin: 0 0 1rem;
}

.booking-note {
  margin: 1.15rem 0 0;
  color: var(--cream-soft);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.55;
}

.tier .client-logos {
  justify-content: flex-start;
  padding: 0;
  gap: 6px;
}

.tier .client-pill {
  font-size: 0.76rem;
  padding: 4px 10px;
}

/* ------------------------------------------------------------- gallery */

.gallery { margin: 0.4rem 0 0.6rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  margin: 0;
  min-width: 0;
}

.gallery-item.is-lead { grid-column: 1 / -1; }

.gallery-item:not(.is-lead) { aspect-ratio: 4 / 3; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item.is-lead img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------- media */

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin: 0.4rem 0 1.4rem;
  border-radius: 10px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.image-container,
.image-container-margin {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-inline: auto;
}

.image-container        { max-width: 800px; margin-top: auto; }
.image-container-margin { max-width: 880px; margin-block: 0.35rem 1.5rem; }

img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.red-divider {
  width: 100%;
  max-width: 800px;
  height: 3px;
  background-color: var(--crimson);
  margin: 0 auto;
  border-radius: 1.5px;
}

.oaks-collage {
  display: block;
  margin: 0.5rem 0 1.6rem;
}

.oaks-collage img {
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
}

/* ---------------------------------------------------------- client pills */

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 0 1.6rem;
}

.client-pill {
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.9rem;
  color: var(--cream);
  display: inline-block;
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------- contact */

.contact-info {
  justify-items: center;
  margin-top: 1.6rem;
  margin-bottom: 1.4rem;
  width: 100%;
  padding-top: 1.6rem;
}

.service-area {
  text-align: center;
  font-size: 1.05rem;
  margin: 0 0 10px 0;
  color: var(--gold);
}

.email-link {
  margin: 10px 0 20px 0;
  text-align: center;
}

.email-link a,
.story-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
  transition: color 0.3s ease, border-color 0.3s ease;
  font-weight: bold;
}

.email-link a { font-size: 1.1em; }

.email-link a:hover,
.story-link:hover {
  color: var(--cream);
  border-bottom: 1px solid var(--gold);
}

.cta-button {
  display: inline-block;
  background-color: #1c638b;
  color: #FFFFFF;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 15px 0;
  transition: all 0.3s ease;
  border: 2px solid #1c638b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: #144c6e;
  border-color: #144c6e;
  color: #FFFFFF;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.cta-button:focus { outline: 3px solid var(--cream); outline-offset: 2px; }

a:focus { outline: 2px solid var(--muffin-blue-strong); }

/* ---------------------------------------------------------- booking bar */

/* The first screen is the hook, so nothing competes with it. Once the hero
   is gone there is always a way to book without scrolling to the end. */
.booking-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 16px;
  box-sizing: border-box;
  background: rgba(4, 8, 14, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(215, 168, 79, 0.3);
  transform: translateY(115%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0s 0.35s;
}

.booking-bar.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.35s ease, visibility 0s 0s;
}

.booking-bar-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
}

.booking-bar .cta-button {
  margin: 0;
  padding: 10px 24px;
  font-size: 1rem;
}

/* --------------------------------------------------------------- offstage */

.offstage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--measure);
  width: calc(100% - 40px);
  margin: 8px auto 20px;
  padding: 18px 0 8px;
  box-sizing: border-box;
  background: transparent;
  border-top: 1px solid rgba(215, 168, 79, 0.22);
  color: #b7aa94;
  font-size: 0.9rem;
  line-height: 1.45;
}

.offstage-photo {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  filter: grayscale(0.2);
  border: 0;
}

.offstage-copy p {
  margin: 0 0 0.4rem;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.offstage .label { color: #8f8574; margin-bottom: 0.2rem; }

.offstage .story-link { font-weight: 600; font-size: 0.95rem; }

footer {
  color: var(--crimson);
  text-align: center;
  padding: 10px 10px 84px; /* clears the booking bar */
  font-size: clamp(0.8rem, 2vw, 1rem);
  width: 100%;
  box-sizing: border-box; /* width:100% + padding was overflowing by 20px */
  margin-top: auto;
  z-index: 1;
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 768px) {
  .content { padding: 20px 10px 0; }
  .bubble, .background-bubble { opacity: 0.3; }
  .story-section { padding: 2.1rem 0 0.2rem; }
  .offstage { width: calc(100% - 20px); align-items: flex-start; }
  .booking-bar { gap: 12px; }
  .booking-bar-name { display: none; }
}

@media (min-width: 900px) {
  /* cards sit side by side here: level the headings so the prices align */
  .tier h3 { min-height: 2.4em; }
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .bubble,
  .background-bubble {
    animation: none !important;
    display: none;
  }

  .cta-button,
  .email-link a,
  .story-link,
  .client-pill,
  .booking-bar {
    transition: none;
  }

  .cta-button:hover { transform: none; }
}
