/* Sausage Tree: "classic safari editorial" restyle (owner-approved 2026-10-06).
   Loaded last on every page so it overrides the inline theme blocks.
   Brief: design/DESIGN-BRIEF.md. Type: Cormorant Garamond (display) + Libre Franklin (text).
   Palette: paper / ink / dust / line / brass (rare) / olive. Square corners, no shadows. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Libre+Franklin:wght@300;400;500&display=swap');

:root, .light {
  --paper: #F3EEE4;
  --paper-2: #EAE3D6;
  --ink: #1F1B16;
  --ink-soft: #3A332B;
  --dust: #6E6458;
  --line: #D8CFBF;
  --brass: #9A7B4F;
  --olive: #3F4A3B;
  --paper-on-dark: #EDE6D8;

  /* Map the old owc tokens onto the new palette, so every inline rule follows. */
  --owc-ink: var(--ink);
  --owc-ink-2: var(--dust);
  --owc-ink-3: var(--dust);
  --owc-surface: var(--paper);
  --owc-surface-2: var(--paper-2);
  --owc-line: var(--line);
  --owc-brand: var(--ink);
  --owc-brand-ink: var(--paper);
  --owc-primary-50: var(--paper-2);
  --owc-primary-100: var(--paper-2);
  --owc-primary-200: var(--line);
  --owc-primary-300: var(--brass);
  --owc-primary-400: var(--brass);
  --owc-primary-500: var(--ink);
  --owc-primary-600: var(--ink-soft);
  --owc-primary-700: var(--ink);
  --owc-primary-800: var(--ink);
  --owc-primary-900: var(--ink);
  --owc-background: var(--paper);
  --owc-foreground: var(--ink);
  --owc-card: var(--paper);
  --owc-card-foreground: var(--ink);
  --owc-popover: var(--paper);
  --owc-popover-foreground: var(--ink);
  --owc-primary: var(--ink);
  --owc-primary-foreground: var(--paper);
  --owc-muted: var(--paper-2);
  --owc-muted-foreground: var(--dust);
  --owc-border: var(--line);
  --owc-input: var(--line);
  --owc-ring: var(--brass);

  --owc-radius-small: 0; --owc-radius-medium: 0; --owc-radius-large: 0;
  --radius-sm: 0; --radius-md: 0; --radius-lg: 0; --radius-full: 0;
  --shadow-1: none; --shadow-2: none; --shadow-3: none;

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --tracking-eyebrow: 0.22em;
}

/* ---- Base type ---------------------------------------------------------- */
html, body { background: var(--paper); }
body, .font-sans {
  font-family: var(--font-body) !important;
  font-weight: 300;
  color: var(--ink);
}
p, li, dd { line-height: 1.75; }
strong, b { font-weight: 500; }
.font-serif, h1, h2, h3, .owc-hero-title, .owc-rate-price, .owc-brand-name {
  font-family: var(--font-display) !important;
}
h1, h2, h3, .owc-hero-title {
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
h4, h5, h6 { font-family: var(--font-body); font-weight: 500; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* ---- Square corners, no shadows, no lift (map markers stay round) -------- */
body *:not(.marker):not(.dot):not(.landmark):not(.no),
body *::before, body *::after {
  border-radius: 0 !important;
  box-shadow: none !important;
}
.owc-btn:hover, .owc-btn:active, .owc-card-hover:hover, .owc-btn-solid-light:hover { transform: none !important; }

/* ---- Labels (eyebrows): one per block, dust, tracked ------------------- */
.owc-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--dust);
}
.owc-eyebrow::before { background: var(--dust); width: 24px; }
.owc-hero .owc-eyebrow { color: var(--paper-on-dark); }
.owc-hero .owc-eyebrow::before { background: var(--paper-on-dark); }

/* ---- Buttons --------------------------------------------------------------- */
.owc-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-width: 1px;
}
.owc-btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.owc-btn-primary:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: var(--paper); }
.owc-btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.owc-btn-secondary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.owc-btn-ghost-light { color: var(--paper-on-dark); border-color: rgba(237, 230, 216, 0.7); }
.owc-btn-ghost-light:hover { background: rgba(237, 230, 216, 0.12); border-color: var(--paper-on-dark); }
.owc-btn-solid-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.owc-btn-solid-light:hover { background: var(--paper-on-dark); }
/* Tertiary: text with a thin arrow */
.owc-link-arrow {
  font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px;
}
.owc-link-arrow:hover { border-bottom-color: var(--brass); color: var(--ink); }

/* ---- Header: wordmark, quiet nav, "Book your stay" as an underlined link -- */
.owc-header {
  background: rgba(243, 238, 228, 0.95);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}
.owc-brand-name { font-size: 22px; font-weight: 500; letter-spacing: 0.01em; }
.owc-brand-name span { font-family: var(--font-body); font-weight: 400; font-size: 10px; letter-spacing: 0.22em; color: var(--dust); }
.owc-nav a { font-size: 13px; font-weight: 400; color: var(--dust); letter-spacing: 0.02em; }
.owc-nav a:hover { color: var(--ink); }
.owc-nav a[data-active="true"] { color: var(--ink); }
.owc-nav a[data-active="true"]::after { height: 1px; background: var(--ink); bottom: -1px; }
.owc-header-cta .owc-btn,
.owc-header-cta .owc-btn-primary {
  background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid var(--ink);
  padding: 6px 0; font-size: 12px; letter-spacing: 0.2em;
}
.owc-header-cta .owc-btn:hover { color: var(--brass); border-bottom-color: var(--brass); background: transparent; }

/* ---- Hero ------------------------------------------------------------------ */
.owc-hero-title { font-size: clamp(44px, 6.2vw, 80px) !important; line-height: 1.02 !important; }
.owc-hero-subtitle { font-family: var(--font-display) !important; font-weight: 400 !important; font-style: italic; }
.owc-lead { font-weight: 300; color: var(--dust); line-height: 1.75; max-width: 62ch; }

/* ---- Sections, cards, imagery ------------------------------------------- */
.owc-section { padding-block: 112px; }
@media (max-width: 768px) { .owc-section { padding-block: 64px; } }
.owc-card { background: transparent; border: 1px solid var(--line); }
.owc-img-frame { background: var(--paper-2); }

/* Badges / chips: no filled pills; a quiet ruled label instead */
.owc-badge {
  background: transparent !important; color: var(--ink) !important;
  border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 6px 0 !important; font-size: 11px; font-weight: 400; letter-spacing: 0.2em;
}

/* Rates and prices in the display face */
.owc-rate-price { font-weight: 500; font-size: 1.35em; color: var(--ink); }

/* Filter / room-type switchers: plain text tabs, active underlined */
.owc-filter-btn {
  background: transparent !important; color: var(--dust) !important; border: 0 !important;
  border-bottom: 1px solid transparent !important; padding: 8px 2px !important;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.owc-filter-btn[aria-pressed="true"], .owc-filter-btn[data-active="true"], .owc-filter-btn.is-active, .owc-filter-btn.active {
  color: var(--ink) !important; border-bottom-color: var(--ink) !important;
}

/* ---- Forms: underline-only fields --------------------------------------- */
.owc-input, .owc-field input, .owc-field select, .owc-field textarea,
.owc-form-field input, .owc-form-field select, .owc-form-field textarea,
form input:not([type=checkbox]):not([type=radio]):not([type=range]), form select, form textarea {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  padding-inline: 0 !important;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
}
.owc-input:focus, form input:focus, form select:focus, form textarea:focus {
  outline: none; border-bottom-color: var(--ink) !important;
}
.owc-field-label, .owc-form-label {
  font-size: 11px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dust);
}

/* ---- Checks / lists ---------------------------------------------------- */
.owc-check-mark { color: var(--brass); }

/* ---- FAQ --------------------------------------------------------------- */
.owc-faq-item { border-color: var(--line); background: transparent; }
.owc-faq-q { font-family: var(--font-display); font-weight: 500; font-size: 22px; }

/* ---- Footer: olive ----------------------------------------------------- */
.owc-footer { background: var(--olive) !important; color: var(--paper-on-dark) !important; }
.owc-footer a { color: var(--paper-on-dark); }
.owc-footer a:hover { color: #FFFFFF; }
.owc-footer .owc-brand-name, .owc-footer h3, .owc-footer h4 { color: var(--paper-on-dark); }
.owc-footer-tagline, .owc-footer-loc, .owc-footer-bottom { color: rgba(237, 230, 216, 0.8) !important; }
.owc-footer-bottom { border-top-color: rgba(237, 230, 216, 0.2) !important; }

/* ---- Utility colours that pointed at the old clay ---------------------- */
.text-primary, .text-brand { color: var(--ink) !important; }
.bg-primary, .bg-brand { background-color: var(--ink) !important; color: var(--paper) !important; }
.border-primary { border-color: var(--ink) !important; }

/* ---- Motion: slow fades only ------------------------------------------- */
.owc-reveal { transition: opacity 360ms ease !important; transform: none !important; }

/* Hero: one primary, one outline, the rest as quiet text links */
.owc-hero .owc-btn-ghost-light ~ .owc-btn-ghost-light,
.owc-hero .owc-btn-secondary ~ .owc-btn-secondary {
  border: 0; border-bottom: 1px solid rgba(237, 230, 216, 0.6);
  padding: 6px 0; margin-inline: 12px 4px; background: transparent;
}
.owc-hero .owc-btn-ghost-light ~ .owc-btn-ghost-light:hover { border-bottom-color: var(--paper-on-dark); background: transparent; }

/* Prices and figures: lining numerals in the display face */
h1, h2, h3, .owc-rate-price, .owc-why-num, .quote-total, table { font-variant-numeric: lining-nums; }

/* ===== Camp map + stay planner (camp-map.css has its own tokens) ===== */
:root {
  --clay: var(--ink); --clay-dark: var(--ink-soft); --muted: var(--dust);
  --serif: var(--font-display); --sans: var(--font-body);
  --glass: rgba(243, 238, 228, 0.95);
}
.type-rail button { border-color: rgba(31, 27, 22, 0.15); }
.type-rail button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.type-rail button[aria-pressed=true] small { color: var(--paper-on-dark); }
.selection .next { background: var(--ink); text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; }
.photo-nav button { background: transparent; border: 0; color: var(--paper-on-dark); font-size: 22px; }

/* Feature chips -> one line separated by " · ", between two hairlines */
.panel-highlights { gap: 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.panel-highlights li { background: none; padding: 0; color: var(--dust); font-size: 12px; }
.panel-highlights li + li::before { content: "·"; padding: 0 10px; color: var(--line); }

/* Stay planner: underline fields in a two-column rhythm */
.stay-heading small { color: var(--dust); letter-spacing: 0.22em; font-size: 10px; }
.stay-heading h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; }
.stay-fields { border: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 24px; }
.stay-fields label { padding: 0; color: var(--dust); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }
.stay-fields label:nth-child(1), .stay-fields label:nth-child(2) { grid-column: span 3; }
.stay-fields label:nth-child(n+3) { grid-column: span 2; }
.stay-fields label + label { border-left: 0; }
.stay-fields input, .stay-fields select {
  border-bottom: 1px solid var(--line); padding: 6px 0; font-family: var(--font-body); font-weight: 400; color: var(--ink);
  letter-spacing: 0; text-transform: none;
}
.stay-fields input:focus, .stay-fields select:focus { outline: none; border-bottom-color: var(--ink); }

/* Resident toggle: text, active underlined */
.currency { border: 0; padding: 0; gap: 16px; }
.currency button { background: none !important; color: var(--dust); padding: 4px 0; border-bottom: 1px solid transparent; font-size: 11px; letter-spacing: 0.04em; }
.currency button[aria-pressed=true] { color: var(--ink); border-bottom-color: var(--ink); }

/* Price summary and the single primary action */
.quote-total small { color: var(--dust); }
.quote-total strong { font-family: var(--font-display); font-weight: 500; font-size: 34px; color: var(--ink); font-variant-numeric: lining-nums; }
.stay-select {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; font-weight: 500;
}
.stay-select:hover { background: var(--ink-soft); }
.stay-feedback a { color: var(--ink); }

/* Booking form labels: light, tracked, dust */
form label { font-weight: 400; }

@media (max-width: 900px) {
  .owc-brand-name { font-size: 19px; }
  .owc-brand-name span { letter-spacing: 0.14em; white-space: nowrap; }
}

/* Dates read "6 Oct 2026": the native text is hidden, a formatted copy sits on top (editorial.js) */
.date-wrap { position: relative; display: block; min-width: 0; }
.date-wrap input { width: 100%; }
.date-wrap input:not(:focus) { color: transparent !important; }
.date-wrap input:not(:focus)::-webkit-datetime-edit { color: transparent; }
.date-nice {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%); pointer-events: none;
  font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--ink);
  letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.date-wrap.is-empty .date-nice { color: var(--dust); }
.date-wrap input:focus + .date-nice { display: none; }

/* Gallery: titles below the image, never on it */
.owc-gallery-item { display: flex; flex-direction: column; background: transparent !important; overflow: visible !important; }
.owc-gallery-item img { flex: 1 1 auto; min-height: 0; transform: none !important; transition: opacity 360ms ease !important; }
.owc-gallery-item:hover img { opacity: 0.92; }
.owc-gallery-caption {
  position: static !important; inset: auto; opacity: 1 !important; background: none !important;
  padding: 10px 0 0 !important; flex: none; pointer-events: auto;
}
.owc-gallery-caption span {
  color: var(--dust) !important; font-size: 12px !important; font-weight: 400 !important;
  letter-spacing: 0.04em; transform: none !important;
}
.owc-field-label, .owc-form-label { font-weight: 400 !important; color: var(--dust) !important; }

/* ===== Camp map at phone / small-tablet widths (< 760px) =====
   camp-map.css was desktop-only (body min-width 900px): the room rail sat on the intro text
   and the photo note ran into the zoom buttons. One scrolling row for the rail, intro above it,
   note kept clear of the controls, and the room panel goes full screen. */
@media (max-width: 760px) {
  body { min-width: 0; }
  .map-intro { left: 16px; right: 16px; bottom: 84px; max-width: none; }
  .map-intro h1 { font-size: 26px; margin: 6px 0 8px; }
  .map-intro p { font-size: 12px; line-height: 1.6; }
  .type-rail {
    left: 0; right: 0; bottom: 12px; max-width: none; padding: 0 16px;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  }
  .type-rail::-webkit-scrollbar { display: none; }
  .type-rail button, .panel-open .type-rail button { flex: none; min-width: 0; padding: 8px 12px; }
  .map-note { right: 12px; top: 16px; max-width: calc(100% - 96px); font-size: 9px; }
  /* Phones: the plan is the intro; the hint moves into the note, zoom buttons sit right above the rail */
  .map-intro { display: none; }
  .note-hint { display: block; }
  .map-controls { left: auto; right: 12px; top: auto; bottom: 76px; }
  :root:not(.embedded) .map-controls { top: auto; }
  :root.embedded .map-controls { bottom: 128px; }
  .panel-open .map-controls { display: none; }
  .marker .dot { width: 24px; height: 24px; font-size: 12px; }
  /* Room panel becomes a bottom sheet: the plan stays visible above it, the rail sits on its edge */
  .panel, :root:not(.embedded) .panel {
    top: auto; right: 0; bottom: 0; left: 0; width: auto; height: 62%;
    border-bottom: 0;
  }
  .panel-open .type-rail, :root.embedded .panel-open .type-rail { bottom: calc(62% + 10px); max-width: none; }
  .panel-photo { flex-basis: 190px; min-height: 190px; }
  .photo-title { left: 18px; right: 110px; bottom: 18px; }
  .photo-title h2 { font-size: 28px; }
  .photo-nav { right: 12px; bottom: 16px; }
  .panel-body { padding: 16px 18px 24px; }
  .marker .tag { display: none; }
  .stay-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stay-fields label:nth-child(n) { grid-column: span 1; }
  .stay-fields label:nth-child(1), .stay-fields label:nth-child(2) { grid-column: span 1; }
  .stay-heading { flex-wrap: wrap; }
  /* Embedded in the accommodation page: leave room for its "Explore room types" link */
  :root.embedded .type-rail { bottom: 64px; }
  :root.embedded .map-intro { bottom: 136px; }
}
/* The accommodation page's link under the embedded map, at phone width */
@media (max-width: 760px) {
  .owc-map-continue { bottom: 14px; font-size: 11px; padding: 8px 14px; }
}
@media (max-width: 760px) { .landmark { display: none; } }
/* Standalone camp map header at phone width */
@media (max-width: 760px) {
  .site-bar { top: 12px; left: 12px; right: 12px; }
  .site-bar .brand img { height: 28px; }
  .site-bar .brand span { font-size: 17px; }
  .site-bar .brand small { letter-spacing: 0.12em; white-space: nowrap; }
  .site-bar .back { font-size: 11px; padding: 8px 12px; white-space: nowrap; }
  :root:not(.embedded) .map-note { top: 64px; }
}
