/* ROVEN — site styles. Tokens follow design/tokens.css from the handoff. */

@font-face {
  font-family: 'Libre Caslon Display';
  src: url('../fonts/libre-caslon-display-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #F5F3EF;
  --charcoal: #252825;
  --charcoal-hover: #3A3D39;
  --stone: #ADA69D;
  --muted: #5E605B;
  --muted-dark: rgba(245, 243, 239, 0.74);
  --rule: rgba(37, 40, 37, 0.22);
  --rule-dark: rgba(245, 243, 239, 0.28);
  --error-dark: #EBA89C;

  --font-display: 'Libre Caslon Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(24px, 5.2vw, 88px);
  --max: 1440px;
  /* Left edge of the centred 1440px container, for full-bleed split layouts */
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  --header-h: 88px;
  --section-space: clamp(88px, 10vw, 168px);

  --fs-h1: clamp(64px, 7.4vw, 126px);
  --fs-h2: clamp(54px, 6.1vw, 102px);
  --fs-service: clamp(30px, 2.9vw, 50px);
  --fs-body: clamp(15px, 1.16vw, 18px);
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font: 300 var(--fs-body)/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--charcoal); color: var(--ivory); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* Type */

.eyebrow {
  margin-bottom: clamp(22px, 2.4vw, 36px);
  font: 500 11px/1.4 var(--font-body);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.display,
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
/* max-widths force the reference line breaks (measured in em of Libre Caslon Display) */
.display { font-size: var(--fs-h1); line-height: 0.98; max-width: 6em; }
.section-title { font-size: var(--fs-h2); line-height: 1.02; }

.body-copy {
  margin-top: clamp(28px, 3vw, 44px);
  max-width: 33em;
  color: var(--muted);
  line-height: 1.75;
}

/* Icons */

.icon {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  transition: transform 0.25s ease;
}

.wordmark { display: block; width: auto; fill: currentColor; }

/* Buttons & links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  font: 400 19px/1 var(--font-display);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover .icon { transform: translate(2px, -2px); }

.btn--dark { background: var(--charcoal); color: var(--ivory); }
.btn--dark:hover { background: var(--charcoal-hover); }

.btn--light { background: var(--ivory); color: var(--charcoal); }
.btn--light:hover { background: #FFFFFF; }

.btn[disabled] { opacity: 0.6; cursor: progress; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font: 500 14px/1.2 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.link-arrow:hover .icon { transform: translateY(2px); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(245, 243, 239, 0.94);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header[data-theme='dark'] {
  background: rgba(37, 40, 37, 0.96);
  border-bottom-color: var(--rule-dark);
  color: var(--ivory);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  height: 100%;
}

.brand { margin-right: auto; color: inherit; text-decoration: none; }
.brand .wordmark { height: 26px; }

.site-nav ul { display: flex; gap: clamp(22px, 2.6vw, 42px); }
.site-nav a {
  position: relative;
  display: block;
  padding-block: 6px;
  font: 500 14px/1.2 var(--font-body);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta { min-height: 48px; padding: 0 24px; font-size: 18px; }
.site-header[data-theme='dark'] .header-cta {
  background: transparent;
  border-color: rgba(245, 243, 239, 0.6);
  color: var(--ivory);
}
.site-header[data-theme='dark'] .header-cta:hover { border-color: var(--ivory); }

.menu-toggle {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Split layout: content left, full-bleed photo right (Hero, Destinations) */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(46vw, 880px);
  padding-left: var(--edge);
}
.split__content {
  align-self: center;
  padding-right: clamp(32px, 6vw, 120px);
}
.split__media { position: relative; min-height: 560px; }
.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 01 Hero */

.hero {
  min-height: clamp(640px, calc(100svh - var(--header-h)), 1000px);
  padding-top: clamp(8px, 2.4vw, 40px);
}
.hero .split__content { padding-block: clamp(48px, 6vw, 96px); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px clamp(28px, 3vw, 44px);
  margin-top: clamp(36px, 4vw, 56px);
}

/* 02 Expertise */

.expertise { padding-top: var(--section-space); }

.expertise__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 128px);
  align-items: start;
  padding-bottom: var(--section-space);
}
.expertise__intro {
  position: sticky;
  top: calc(var(--header-h) + 56px);
  padding-top: clamp(0px, 3vw, 56px);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  column-gap: clamp(24px, 3vw, 44px);
  padding-block: clamp(30px, 3.2vw, 48px);
}
.service:first-child { padding-top: 0; }
.service:last-child { padding-bottom: 0; }
.service + .service { border-top: 1px solid var(--rule); }

.service__title {
  font: 400 var(--fs-service)/1.04 var(--font-display);
  letter-spacing: -0.015em;
}
.service__text {
  align-self: start;
  padding-left: clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--rule);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.expertise__band img {
  width: 100%;
  height: clamp(260px, 30vw, 520px);
  object-fit: cover;
  object-position: center 58%;
}

/* 03 Destinations */

.destinations { padding-block: var(--section-space); }
.destinations .split__content { max-width: calc(600px + clamp(32px, 6vw, 120px)); }

.destination-list { margin-top: clamp(44px, 5vw, 72px); }
.destination-list li {
  padding-block: clamp(18px, 2vw, 28px);
  border-bottom: 1px solid var(--rule);
  font: 400 clamp(26px, 2.5vw, 40px)/1.1 var(--font-display);
  letter-spacing: 0.05em;
}
.destination-list li:first-child { padding-top: 0; }

.destinations__note {
  margin-top: 32px;
  max-width: 30em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.destinations .btn { margin-top: clamp(32px, 3.4vw, 48px); }

/* 04 Contact */

.contact {
  padding-block: var(--section-space);
  background: var(--charcoal);
  color: var(--ivory);
}
.contact .eyebrow { color: var(--muted-dark); }
.contact .body-copy { color: var(--muted-dark); }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(56px, 8vw, 144px);
  align-items: start;
}
.contact__intro .section-title { max-width: 5em; }

.field { margin-bottom: 34px; }
.field__label {
  display: block;
  font: 500 14px/1.4 var(--font-body);
  letter-spacing: 0.02em;
}
.field__input {
  display: block;
  width: 100%;
  padding: 12px 0 13px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-dark);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  color: var(--ivory);
  font: 400 16px/1.5 var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field__input::placeholder { color: rgba(245, 243, 239, 0.42); opacity: 1; }
.field__input:hover { border-bottom-color: rgba(245, 243, 239, 0.5); }
.field__input:focus {
  outline: none;
  border-bottom-color: var(--ivory);
  box-shadow: 0 1px 0 0 var(--ivory);
}
.field__input[aria-invalid='true'] { border-bottom-color: var(--error-dark); }
.field__input[aria-invalid='true']:focus { box-shadow: 0 1px 0 0 var(--error-dark); }
textarea.field__input { min-height: 132px; resize: vertical; }

.field__input:-webkit-autofill {
  -webkit-text-fill-color: var(--ivory);
  -webkit-box-shadow: 0 0 0 1000px var(--charcoal) inset;
  caret-color: var(--ivory);
  transition: background-color 9999s;
}

.field__error {
  margin-top: 10px;
  color: var(--error-dark);
  font-size: 13px;
  line-height: 1.5;
}

.enquiry .btn { width: 100%; min-height: 62px; margin-top: 10px; font-size: 21px; }

.form-status { margin-top: 20px; font-size: 15px; line-height: 1.6; }
.form-status:empty { display: none; }
.form-status[data-state='error'] { color: var(--error-dark); }

.privacy-note { margin-top: 20px; color: var(--muted-dark); font-size: 14px; }

/* Footer */

.site-footer { background: var(--charcoal); color: var(--ivory); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-block: 36px 44px;
  border-top: 1px solid var(--rule-dark);
}
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.footer-brand .wordmark { height: 20px; }
.footer-descriptor {
  color: var(--muted-dark);
  font: 500 11px/1.4 var(--font-body);
  letter-spacing: 0.34em;
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-meta p { padding-left: 24px; border-left: 1px solid var(--rule-dark); }

/* Privacy page */

.legal { padding-block: clamp(64px, 8vw, 128px) var(--section-space); }
.legal__body { max-width: 760px; }
.legal__body .section-title { margin-bottom: 20px; }
.legal__body h2 {
  margin-top: 48px;
  font: 400 clamp(26px, 2.4vw, 34px)/1.15 var(--font-display);
  letter-spacing: -0.01em;
}
.legal__body p,
.legal__body li { margin-top: 14px; color: var(--muted); line-height: 1.75; }
.legal__body ul { padding-left: 1.2em; list-style: disc; }
.legal__body a { text-underline-offset: 3px; }
.legal__updated { color: var(--muted); font-size: 14px; }

/* ≤ 1100px: tighter desktop */

@media (max-width: 1100px) {
  .service { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .service__text { padding-left: 0; border-left: 0; }
}

/* < 900px: stacked layout, compact header */

@media (max-width: 899px) {
  :root {
    --header-h: 68px;
    --fs-h1: clamp(52px, 12vw, 76px);
    --fs-h2: clamp(46px, 11vw, 72px);
  }

  .brand .wordmark { height: 21px; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 4px var(--gutter) 28px;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule);
  }
  .site-nav.is-open { display: block; }
  .site-header[data-theme='dark'] .site-nav { background: var(--charcoal); border-bottom-color: var(--rule-dark); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--rule); }
  .site-header[data-theme='dark'] .site-nav li + li { border-top-color: var(--rule-dark); }
  .site-nav a {
    padding-block: 16px;
    font: 400 30px/1.2 var(--font-display);
    letter-spacing: -0.01em;
  }
  .site-nav a::after { content: none; }

  .split { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .split__content { padding-inline: var(--gutter); }
  .split__media { min-height: 0; }
  .split__media img { position: static; aspect-ratio: 4 / 5; }

  .hero { min-height: 0; padding-top: 0; }
  .hero .split__content { padding-block: 48px 64px; }

  .destinations { padding-bottom: 0; }
  .destinations .split__content { max-width: none; padding-bottom: 64px; }

  .expertise__grid,
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .expertise__intro { position: static; padding-top: 0; }

  .footer-meta p { padding-left: 0; border-left: 0; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .split__media img { aspect-ratio: 1 / 1; }
}

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
}

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