/* FF Relaxhouse — styles
   Plain CSS, no build step. Colours and spacing are set once in :root. */

:root {
  --paper: #f7f4ee;
  --surface: #fffdf9;
  --ink: #23211d;
  --muted: #645f56;
  --line: #e3ddd0;
  --accent: #2f5d50;
  --accent-dark: #234a3f;
  --accent-soft: #e4ece7;
  --sand: #d9c9a8;
  --radius: 14px;
  --wrap: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 650; margin: 0 0 .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.note { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--sand); padding: .2em 0 .2em 1em; margin-top: 1.5em; max-width: 70ch; }
.section-head { margin-bottom: 2.2rem; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .95rem; letter-spacing: .02em; font-family: var(--serif); }
.brand-name span { color: var(--accent); }

.nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: transparent; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; }
.nav-toggle-bars { width: 18px; height: 12px; border-block: 2px solid currentColor; position: relative; }
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 13px 4px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav a:hover { color: var(--accent); }
.lang-switch { margin-top: 14px; display: flex; gap: 8px; }
.lang-switch button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; font: inherit; font-size: .9rem; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 18px; position: static; background: none; border: 0; padding: 0; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav a { padding: 10px 11px; border: 0; font-size: .95rem; border-radius: 8px; }
  .site-nav a:hover { background: var(--accent-soft); }
  .lang-switch { margin: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--accent); background: var(--accent); color: #fff; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
[hidden] { display: none !important; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.hero-facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--muted); }
.hero-facts strong { color: var(--ink); font-weight: 650; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

/* Photo frames (show a labelled placeholder until a real photo is added) */
.photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #efe9dc 0 14px, #f4efe4 14px 28px); }
.photo--hero { aspect-ratio: 5 / 4; border-radius: 22px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 16px; color: var(--muted); font-size: .9rem; }
.photo figcaption strong { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.photo.has-image figcaption { inset: auto 0 0 0; display: block; text-align: left; padding: 28px 14px 10px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); }
.photo.has-image figcaption strong { color: #fff; font-size: 1rem; }
.photo.has-image figcaption span { display: none; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (max-width: 380px) { .gallery { grid-template-columns: 1fr; } }
/* A lone last photo fills its row instead of leaving a gap */
@media (min-width: 381px) and (max-width: 759px) { .gallery .photo:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2 / 1; } }
@media (min-width: 760px) { .gallery .photo:last-child:nth-child(3n + 1) { grid-column: 1 / -1; aspect-ratio: 3 / 1; } }

/* Cards */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section--alt .card { background: var(--paper); }
.card h3 { margin-bottom: .35em; }
.card p, .card ul { margin: 0; color: var(--muted); font-size: .98rem; }
.card ul { padding-left: 1.1em; }
.card .meta { display: block; margin-top: .6em; font-size: .88rem; color: var(--accent-dark); font-weight: 600; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

/* Stay info */
.times { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 0 0 16px; }
.time { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 22px; }
.time dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.time dd { margin: 4px 0 0; font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.1; }
.info-list { margin: 0; }
.info-list div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 650; }
.info-list dd { margin: 2px 0 0; color: var(--muted); }

/* Table */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 14px 18px; font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
tbody th { font-weight: 500; }
td:last-child, thead th:last-child { text-align: right; font-weight: 650; }

/* Rules */
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .rules { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }
.rules li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.rules li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 650; list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 24px; }

/* Contact */
.contact-card { background: var(--accent); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 52px); }
.contact-card h2, .contact-card .eyebrow { color: #fff; }
.contact-card p { color: rgba(255, 255, 255, .9); max-width: 58ch; }
.contact-card a:not(.btn) { color: #fff; }
.contact-card .btn { background: #fff; color: var(--accent-dark); border-color: #fff; }
.contact-card .btn:hover { background: var(--accent-soft); }
.contact-card .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.contact-card .btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.contact-card :focus-visible { outline-color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: .6em; }
.footer-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Text pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .table-wrap { margin: 1.2em 0; }
.page-head { padding: clamp(40px, 7vw, 72px) 0 0; }
.center-page { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 64px 20px; }
.center-page .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .site-header, .nav-toggle, .btn-row, .gallery { display: none; } body { background: #fff; } }
