/* ==========================================================================
   White Rock — design tokens
   Mediterranean boho-luxury: whitewashed, sun-warmed, gold-trimmed —
   Ibiza's Dalt Vila arches and beach-club linen, not a midnight lounge.
   ========================================================================== */

:root {
  --cream:        #FBF5E8;   /* base light — warm ivory */
  --sand:         #F1E4C9;   /* warm sand, section variation */
  --sand-deep:    #E4D2A6;   /* deeper sand, dividers / tags */
  --charcoal:     #2E2A20;   /* the one dark anchor — warm charcoal, not black */
  --charcoal-soft:#3B3527;
  --gold:         #B4893C;   /* primary accent — sun-warmed gold */
  --gold-bright:  #D6A73F;   /* brighter gold — foil / single bold moment */
  --gold-dim:     #96702F;
  --terracotta:   #BE7B4E;   /* secondary boho accent, used sparingly */
  --text-dark:    #33291C;   /* primary text on light */
  --text-dark-mute: #7C6E56; /* secondary text on light */
  --text-light:   #FBF5E8;   /* primary text on charcoal */
  --text-light-mute: #C4B698;

  --serif: "Libre Caslon Display", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(24px, 5vw, 72px);
  --radius: 26px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* A faint, fixed grain for warmth — the one texture used everywhere. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.025;
  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='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)'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.on-dark { color: var(--text-light); }

.section-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-dim);
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}
.on-dark .section-label { color: var(--gold-bright); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 3.4vw, 44px); color: inherit; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--text-dark-mute); max-width: 54ch; }
.on-dark .section-head p { color: var(--text-light-mute); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(155deg, var(--gold-bright), var(--gold) 75%);
  color: var(--charcoal);
  box-shadow: 0 8px 24px -8px rgba(180, 137, 60, 0.55);
}
.btn-primary:hover { background: linear-gradient(155deg, #e3b750, var(--gold-bright) 75%); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.18); }
.nav.scrolled .btn-ghost {
  border-color: var(--gold);
  color: var(--gold-dim);
  background: transparent;
}
.nav.scrolled .btn-ghost:hover { background: var(--sand); border-color: var(--gold-dim); }

.btn-line {
  border-color: var(--sand-deep);
  color: var(--text-dark);
  background: transparent;
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-dim); }

/* ==========================================================================
   Nav — a floating glass pill, white mark over the hero photo, warming to
   gold on a solid ivory pill once the page scrolls past it.
   ========================================================================== */

.nav {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter);
  transition: top 0.3s ease;
}

.nav-inner {
  width: 100%;
  max-width: calc(var(--container) - 2px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 14px 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled .nav-inner {
  background: rgba(251, 245, 232, 0.88);
  border-color: rgba(180, 137, 60, 0.25);
  box-shadow: 0 12px 30px -14px rgba(51, 41, 28, 0.25);
}

.wordmark { display: inline-flex; align-items: center; }
.logo-stack { position: relative; height: 46px; width: 69px; display: inline-block; }
.logo-stack img {
  position: absolute; top: 0; left: 0;
  height: 46px; width: 69px;
  transition: opacity 0.35s ease;
}
.logo-gold { opacity: 0; }
.nav.scrolled .logo-white { opacity: 0; }
.nav.scrolled .logo-gold { opacity: 1; }

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.16); }
.nav.scrolled .nav-links a { color: var(--text-dark); }
.nav.scrolled .nav-links a:hover { background: var(--sand); color: var(--gold-dim); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: 6px;
}
.nav.scrolled .nav-toggle { color: var(--text-dark); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(46,39,26,0.38) 0%, rgba(46,39,26,0.12) 30%, rgba(38,32,22,0.55) 100%),
    linear-gradient(90deg, rgba(38,32,22,0.42) 0%, rgba(38,32,22,0.02) 50%);
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

.hero h1 {
  font-size: clamp(42px, 6.4vw, 76px);
  color: #fff;
  text-shadow: 0 2px 24px rgba(30,25,15,0.25);
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero p.lede {
  margin-top: 26px;
  font-size: 19px;
  max-width: 52ch;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero p.lede, .hero-actions { animation: none; opacity: 1; }
}

.hero-meta {
  margin-top: 76px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 26px;
  max-width: 640px;
}
.hero-meta div span { display: block; font-family: var(--serif); font-size: 15px; color: #fff; }
.hero-meta div small { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,0.72); }

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 16px; height: 16px; }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

/* ==========================================================================
   Arch motif — Ibiza's whitewashed archways, used on photography throughout
   instead of plain rectangles.
   ========================================================================== */

.arch {
  position: relative;
  border-radius: 50% 50% 8px 8px / 34% 34% 8px 8px;
  overflow: hidden;
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(1.05);
}
.arch:hover img { transform: scale(1.05); }
.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(214, 167, 63, 0.55);
  pointer-events: none;
  z-index: 2;
}
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(214,167,63,0.10), rgba(46,39,26,0.16) 65%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ==========================================================================
   Brand moment — the full logo+jet artwork, shown edge to edge and
   uncropped (its own aspect ratio, not the arch/cover treatment used
   elsewhere) since the composition and lockup are meant to be seen whole.
   ========================================================================== */

.brand-moment { background: var(--charcoal); line-height: 0; }
.brand-moment img { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: cover; }

/* ==========================================================================
   Philosophy
   ========================================================================== */

.philosophy { padding: 128px 0; background: var(--cream); }

.philosophy .container {
  display: grid;
  grid-template-columns: 0.95fr 0.75fr 1fr;
  gap: 56px;
  align-items: center;
}

.philosophy h2 { font-size: clamp(30px, 3vw, 40px); color: var(--text-dark); }

.philosophy-media.arch { aspect-ratio: 3 / 4; }

.philosophy .lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.5;
  color: var(--text-dark);
}
.philosophy .support { margin-top: 24px; color: var(--text-dark-mute); font-size: 16.5px; max-width: 50ch; }

/* ==========================================================================
   Destinations
   ========================================================================== */

.destinations { background: var(--sand); padding: 128px 0; }

.destination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.destination:not(:last-child) { border-bottom: 1px solid var(--sand-deep); }

.destination:nth-of-type(even) .destination-media { order: 2; }
.destination:nth-of-type(even) .destination-copy { order: 1; }

.destination-media.arch { aspect-ratio: 4 / 3; }

.destination-copy .index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-dim);
  margin-bottom: 14px;
}
.destination-copy h3 { font-size: clamp(26px, 2.6vw, 34px); color: var(--text-dark); }
.destination-copy p.desc { margin-top: 20px; font-size: 17px; color: var(--text-dark-mute); max-width: 48ch; }

.destination-tags { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.destination-tags span {
  font-size: 13px;
  color: var(--gold-dim);
  background: rgba(180,137,60,0.1);
  padding: 7px 15px;
  border-radius: 999px;
}

/* ==========================================================================
   Services — light, with gold-ringed icon badges rather than a dark block.
   ========================================================================== */

.services { background: var(--cream); padding: 128px 0; }

.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }

.service-card {
  padding: 40px 32px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--sand-deep);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(51,41,28,0.25); }

.service-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(160deg, #fff, var(--sand));
  border: 1px solid var(--sand-deep);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { font-size: 21px; color: var(--text-dark); margin-bottom: 12px; }
.service-card p { color: var(--text-dark-mute); font-size: 15.5px; }

/* ==========================================================================
   Fleet — the two most visual services get a photograph; the rest stay
   icon-led, so this doesn't turn into a five-photo card grid.
   ========================================================================== */

.fleet { background: var(--cream); padding: 0 0 128px; }
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.fleet-media.arch { aspect-ratio: 4 / 3; }
.fleet-media.arch.arch-wide { aspect-ratio: 1672 / 941; }
.fleet-item h4 { margin-top: 26px; font-family: var(--serif); font-size: 23px; color: var(--text-dark); }
.fleet-item p { margin-top: 10px; color: var(--text-dark-mute); font-size: 15.5px; max-width: 42ch; }

/* ==========================================================================
   Moment — a single full-bleed pause between sections, one dramatic image
   with one line, no CTA. The "one bold moment" spent a second time.
   ========================================================================== */

.moment {
  position: relative;
  height: 62vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.moment-media { position: absolute; inset: 0; }
.moment-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.moment-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(46,39,26,0.55) 0%, rgba(46,39,26,0.02) 55%);
}
.moment-content { position: relative; z-index: 1; padding-bottom: 56px; }
.moment-content p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  color: #fff;
  text-shadow: 0 2px 20px rgba(20,16,10,0.3);
  max-width: 20ch;
}

/* ==========================================================================
   American traveler
   ========================================================================== */

.transit { background: var(--sand); padding: 128px 0; }
.transit .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
.transit h2 { font-size: clamp(30px, 3vw, 40px); }
.transit .lede { margin-top: 20px; color: var(--text-dark-mute); font-size: 17px; max-width: 50ch; }

.route-list { background: #fff; border-radius: var(--radius); padding: 8px 28px; border: 1px solid var(--sand-deep); }
.route {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--sand);
  font-family: var(--serif); font-size: 18px;
}
.route:last-child { border-bottom: none; }
.route span.time { font-family: var(--sans); font-size: 14px; color: var(--text-dark-mute); align-self: center; }
.transit-note { margin-top: 20px; font-size: 14.5px; color: var(--text-dark-mute); }

/* ==========================================================================
   Process
   ========================================================================== */

.process { background: var(--cream); padding: 128px 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.process-step { padding: 28px 0 0; border-top: 2px solid var(--sand-deep); }
.process-step .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 17px; margin-bottom: 16px; display: block; }
.process-step h4 { font-size: 19px; color: var(--text-dark); margin-bottom: 12px; }
.process-step p { font-size: 15.5px; color: var(--text-dark-mute); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { background: var(--sand); padding: 128px 0 110px; }
.contact .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; }
.contact-info h2 { font-size: clamp(30px, 3vw, 40px); }
.contact-info p.lede { margin-top: 18px; color: var(--text-dark-mute); font-size: 17px; max-width: 42ch; }

.contact-details { margin-top: 40px; }
.contact-details div { padding: 16px 0; border-top: 1px solid var(--sand-deep); }
.contact-details div:last-child { border-bottom: 1px solid var(--sand-deep); }
.contact-details span.label { display: block; font-size: 13px; color: var(--text-dark-mute); margin-bottom: 4px; }
.contact-details span.value { display: block; font-family: var(--serif); font-size: 18px; color: var(--text-dark); }

form.enquiry { display: grid; gap: 18px; background: #fff; padding: 36px; border-radius: var(--radius); border: 1px solid var(--sand-deep); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; color: var(--text-dark-mute); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px;
  padding: 13px 16px;
  background: var(--cream);
  border: 1px solid var(--sand-deep);
  border-radius: 12px;
  color: var(--text-dark);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }

.form-status { font-size: 14.5px; color: var(--text-dark-mute); min-height: 20px; }
.form-status.success { color: var(--gold-dim); font-weight: 600; }

/* ==========================================================================
   Footer — the one dark anchor
   ========================================================================== */

.site-footer { background: var(--charcoal); color: var(--text-light-mute); padding: 72px 0 32px; }

.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-top .wordmark { display: inline-block; margin-bottom: 16px; }
.footer-logo { height: 72px; width: auto; aspect-ratio: 1132 / 756; }
.footer-top p { max-width: 34ch; font-size: 15px; line-height: 1.7; }

.footer-col h5 { font-family: var(--sans); font-size: 13.5px; color: var(--text-light); margin: 0 0 18px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a, .footer-col span { font-size: 15px; }
.footer-col a:hover { color: var(--gold-bright); }

.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }

  .philosophy .container { grid-template-columns: 1fr; gap: 36px; }
  .philosophy-media.arch { max-width: 320px; aspect-ratio: 4/3; }
  .transit .container,
  .contact .container { grid-template-columns: 1fr; gap: 40px; }

  .destination { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .destination:nth-of-type(even) .destination-media,
  .destination:nth-of-type(even) .destination-copy { order: initial; }

  .service-list { grid-template-columns: 1fr 1fr; }
  .fleet-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 620px) {
  .nav { top: 12px; }
  .nav-inner { padding: 0 8px 0 16px; height: 64px; }
  .hero-content { padding-top: 40px; }
  .hero-meta { gap: 28px; }
  .service-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Mobile nav drawer
   ========================================================================== */

.nav-drawer {
  position: fixed;
  inset: 96px 16px auto 16px;
  background: rgba(251,245,232,0.97);
  border-radius: 24px;
  border: 1px solid var(--sand-deep);
  box-shadow: 0 24px 60px -20px rgba(51,41,28,0.35);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nav-drawer.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-drawer a { font-family: var(--serif); font-size: 21px; color: var(--text-dark); }

/* Wide-format destination photo shown uncropped (e.g. Dubai's blue-hour panorama) */
.destination-media.arch.arch-wide { aspect-ratio: 2000 / 1136; }

/* Portrait destination photo (Bodrum) shown uncropped */
.destination-media.arch.arch-tall { aspect-ratio: 721 / 1080; max-width: 440px; }
.destination:nth-of-type(odd) .destination-media.arch-tall { justify-self: start; }
.destination:nth-of-type(even) .destination-media.arch-tall { justify-self: end; }

.transit .example {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.5;
  color: var(--text-dark);
}

@media (max-width: 980px) {
  .destination .destination-media.arch-tall { justify-self: start; max-width: 100%; }
}
