/* Sun Touched Media
   Layout and motion modelled on hotelducouvent.com; brand from the Sun Touched guide. */

@font-face {
  font-family: "Source Code Pro";
  src: url("../fonts/SourceCodePro-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Code Pro";
  src: url("../fonts/SourceCodePro-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --orange: #D16224;
  --olive: #8A8635;
  --sand: #E9C891;
  --rust: #AF431E;
  --paper: #F0F0EA;
  --ink: #1D1A14;

  --display: "Source Code Pro", ui-monospace, monospace;
  --body: "Outfit", ui-sans-serif, system-ui, sans-serif;

  --gutter: clamp(24px, 7vw, 88px);
  --ease-out: cubic-bezier(.165, .84, .44, 1);
  --ease-soft: cubic-bezier(.25, .46, .45, .94);
  --ease-inout: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h2, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 26px var(--gutter);
  color: #fff;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header > :last-child { justify-self: end; }
.site-header > :first-child { justify-self: start; }

.header-link {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.4;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-soft);
}
.header-link:hover { border-bottom-color: currentColor; }

.menu-label-close { display: none; }
.menu-open .menu-label-open { display: none; }
.menu-open .menu-label-close { display: inline; border-bottom: 1px solid currentColor; }

.header-mark img {
  width: auto;
  height: 70px;
  transition: opacity .3s var(--ease-soft);
}
.header-mark:hover img { opacity: .8; }

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

/* ---------- Panels ---------- */
.panel {
  position: relative;
  height: 90svh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) clamp(48px, 10vh, 104px);
  background: var(--ink);
  color: #fff;
}
.panel--first { height: 100svh; }
.panel--first::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  z-index: 1;
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,0));
  pointer-events: none;
}
.panel-media {
  position: absolute;
  inset: 0;
}
.panel-media img,
.panel-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* the still sits underneath; the video replaces it the moment it plays, no fade */
.panel-media video { opacity: 0; }
.panel-media video.is-playing { opacity: 1; }
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,.1) 55%, rgba(0,0,0,0) 75%);
  pointer-events: none;
}

.panel-text { position: relative; z-index: 1; max-width: 900px; }
.panel-brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 10px;
}
.panel-headline {
  max-width: 18em;
  font-weight: 300;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: .7em;
}
.panel h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.panel-sub {
  font-weight: 300;
  font-size: clamp(26px, 3.3vw, 42px);
  line-height: 1.1;
  text-transform: uppercase;
  margin: .35em 0 1.3em;
}
.discover {
  display: inline-block;
  padding-top: 17px;
  margin-top: -17px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  transition: color .3s var(--ease-soft), border-color .3s var(--ease-soft);
}
.discover:hover { color: var(--sand); }

/* reveal, staggered like the reference */
.reveal-ready .panel-text > * {
  opacity: 0;
  transform: translateY(30px);
  transition: transform .9s var(--ease-out), opacity .9s var(--ease-soft);
}
.reveal-ready .panel-text > :nth-child(2) { transition-delay: .1s; }
.reveal-ready .panel-text > :nth-child(3) { transition-delay: .2s; }
.reveal-ready .panel.is-visible .panel-text > * { opacity: 1; transform: none; }

/* ---------- Split (menu + footer) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}
.split-media {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) 32px;
  background: var(--ink) center / cover no-repeat;
  color: #fff;
  isolation: isolate;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,.35);
}
.big-links li + li { margin-top: .1em; }
.big-links a {
  display: inline-block;
  padding: 7px 0;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  text-transform: uppercase;
  transition: color .3s var(--ease-soft);
}
.big-links a:hover { color: var(--sand); }
.split-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
}
.split-foot small { font-size: 15px; opacity: .85; }

.split-panel {
  position: relative;
  display: grid;
  place-items: center;
  padding: 120px 32px 96px;
  background: var(--olive);
  color: var(--sand);
  text-align: center;
}
.contact-logo { width: 96px; height: auto; margin: 0 auto 24px; }
.contact-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.contact-sub { font-size: 19px; margin-top: 2px; }
.contact-lines {
  margin: 40px 0 36px;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--paper);
}
.contact-lines li + li { margin-top: 10px; }
.contact-lines a { display: inline-block; padding: 11px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-lines li + li { margin-top: 0; }
.contact-lines a:hover { border-bottom-color: currentColor; }
.wa { display: inline-flex; align-items: center; gap: 8px; }
.wa svg { width: 17px; height: 17px; }
.start {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(320px, 80vw);
  margin: 0 auto;
  padding: 10px 0;
  border-bottom: 1px solid var(--sand);
  font-size: 15px;
  color: var(--paper);
}
.start span:last-child { transition: transform .4s var(--ease-out); }
.start:hover span:last-child { transform: translateX(6px); }
.panel-corner {
  position: absolute;
  right: var(--gutter);
  bottom: 32px;
  color: #fff;
}

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow-y: auto;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform .9s var(--ease-inout), visibility 0s linear .9s;
}
.menu-open .menu {
  visibility: visible;
  transform: none;
  transition: transform .9s var(--ease-inout), visibility 0s;
}
.menu .split-media { justify-content: center; }
.services-kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 24px;
}
.services-list li {
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  text-transform: uppercase;
  cursor: default;
}
.big-links.services-list li + li { margin-top: .3em; }
.menu .big-links li {
  opacity: 0;
  transform: translateY(24px);
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-soft);
}
.menu-open .menu .big-links li { opacity: 1; transform: none; transition-delay: .35s; }
.menu-open .menu .big-links li:nth-child(2) { transition-delay: 0.42s; }
.menu-open .menu .big-links li:nth-child(3) { transition-delay: 0.49s; }
.menu-open .menu .big-links li:nth-child(4) { transition-delay: 0.56s; }
.menu-open .menu .big-links li:nth-child(5) { transition-delay: 0.63s; }
.menu-open .menu .big-links li:nth-child(6) { transition-delay: 0.7s; }

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
  .site-header { padding: 18px 16px; }
  .header-link { font-size: 13px; }
  .header-mark img { height: 55px; }
  .panel { padding: 0 16px 56px; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 78svh; padding: 96px 16px 28px; }
  .split-panel { padding: 72px 16px 96px; }
  .panel-corner { right: 16px; }
}

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

/* ---------- Enquiry (one question at a time) ---------- */
body.enquire-open { overflow: hidden; }
.enquire {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: var(--olive);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease-inout), visibility 0s linear .6s;
}
.enquire-open .enquire {
  opacity: 1;
  visibility: visible;
  transition: opacity .6s var(--ease-inout), visibility 0s;
}
.enq-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px var(--gutter);
}
.enq-count {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--sand);
}
.enq-close { color: #fff; }
.enq-progress { height: 2px; background: rgba(240,240,234,.2); }
.enq-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--sand);
  transition: width .6s var(--ease-out);
}
.enq-stage {
  flex: 1;
  overflow-y: auto;
  display: grid;
  align-items: center;
  padding: 48px var(--gutter) 64px;
}
.enq-q {
  width: min(720px, 100%);
  margin: 0 auto;
  animation: enq-in .6s var(--ease-out) both;
}
@keyframes enq-in {
  from { opacity: 0; transform: translateY(calc(var(--dir, 1) * 28px)); }
}
.enq-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--sand);
  margin-bottom: 14px;
}
.enq-label {
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.2;
}
.enq-opt { font-size: .5em; opacity: .7; white-space: nowrap; }
.enq-help { margin-top: 12px; font-size: 17px; opacity: .85; max-width: 560px; }
.enq-input {
  display: block;
  width: 100%;
  margin-top: 32px;
  padding: 10px 0;
  font: 300 clamp(22px, 2.6vw, 30px)/1.3 var(--body);
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--sand);
  border-radius: 0;
  resize: vertical;
}
.enq-input::placeholder { color: rgba(240,240,234,.45); }
.enq-input:focus { outline: none; border-bottom-color: #fff; }
.enq-days {
  display: flex;
  gap: 32px;
  max-width: 420px;
}
.enq-days label { flex: 1; }
.enq-days span {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sand);
}
.enq-days .enq-input { -moz-appearance: textfield; }
.enq-options {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  max-width: 520px;
}
.enq-options[role="group"] { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); max-width: none; }
.enq-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  background: rgba(240,240,234,.08);
  border: 1px solid rgba(233,200,145,.55);
  border-radius: 4px;
  transition: background .2s, border-color .2s, color .2s;
}
.enq-option:hover { background: rgba(240,240,234,.16); }
.enq-option[aria-checked="true"] { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.enq-key {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  border: 1px solid currentColor;
  border-radius: 3px;
}
.enq-error { min-height: 1.5em; margin-top: 12px; color: #fff; font-weight: 400; }
.enq-error:not(:empty)::before { content: "! "; color: var(--sand); }
.enq-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.enq-back {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
}
.enq-back:hover { opacity: 1; }
.enq-ok {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--sand);
  border: 1px solid var(--sand);
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.enq-ok:hover { background: #fff; border-color: #fff; }
.enq-ok--ghost { background: transparent; color: var(--sand); }
.enq-ok--ghost:hover { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.enq-summary {
  margin: 32px 0;
  border-top: 1px solid rgba(233,200,145,.4);
}
.enq-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(233,200,145,.4);
}
.enq-row dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sand);
  padding-top: 3px;
}
.enq-row dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.enq-send { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 767px) {
  .enq-bar { padding: 18px 16px; }
  .enq-stage { padding: 32px 16px 48px; align-items: start; }
  .enq-row { grid-template-columns: 1fr; gap: 2px; }
  .enq-send .enq-ok { width: 100%; justify-content: center; }
}
.enq-ok:disabled { opacity: .6; cursor: progress; }
.enq-error a { color: #fff; text-decoration: underline; }
