/* =============================================================
   Frogmade demo template — shared hotel-site design system
   Same palette / type / tokens as the Frogmade home.
   ============================================================= */

:root {
  --bg:        #f5f1e8;
  --bg-2:      #efe8da;
  --paper:     #fffdf8;

  --ink:       #17231c;
  --ink-soft:  #38453d;
  --ink-mute:  #5a655d;

  --frog:        #3fae5a;
  --frog-deep:   #2c8a45;
  --frog-belly:  #cdebd3;
  --frog-glow:   rgba(63, 174, 90, 0.28);

  /* per-page accent (defaults to Frogmade green; a page may override) */
  --accent:      var(--frog);
  --accent-deep: var(--frog-deep);

  --glass:       rgba(255, 255, 255, 0.46);
  --glass-brd:   rgba(255, 255, 255, 0.7);
  --glass-solid: rgba(255, 255, 255, 0.84);

  --line:      rgba(23, 35, 28, 0.12);
  --line-2:    rgba(23, 35, 28, 0.08);

  --shadow-sm: 0 1px 2px rgba(23, 35, 28, 0.05), 0 3px 10px -4px rgba(23, 35, 28, 0.08);
  --shadow-md: 0 1px 3px rgba(23, 35, 28, 0.05), 0 16px 34px -18px rgba(23, 35, 28, 0.24);
  --shadow-lg: 0 2px 8px rgba(23, 35, 28, 0.06), 0 34px 64px -32px rgba(23, 35, 28, 0.32);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", var(--sans);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 32px;

  --gutter: clamp(1.15rem, 5vw, 2.5rem);
  --maxw: 1140px;
  --space-section: clamp(4.5rem, 11vw, 7.5rem);

  --ph: repeating-linear-gradient(135deg, #e6ddcb, #e6ddcb 14px, #ded4c0 14px, #ded4c0 28px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.021em;
  text-wrap: balance;
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 5px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--paper); color: var(--ink);
  border-radius: 10px; font-weight: 600; box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.7rem; height: 2px;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
}

.u-link {
  position: relative;
  color: var(--accent-deep);
  font-weight: 600;
}
.u-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: currentColor;
  transition: right .3s var(--ease-out);
}
.u-link:hover::after { right: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s var(--ease-out);
}
.btn-arrow { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(20, 90, 45, 0.25), 0 14px 28px -12px rgba(44, 138, 69, 0.55);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost {
  background: var(--glass-solid);
  border: 1px solid var(--glass-brd);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); background: #fff; }
.btn-block { width: 100%; }

/* ============================================================
   Demo-honesty notice — deliberately styled as a system bar,
   not part of the hotel design.
   ============================================================ */
.demo-bar {
  position: relative;
  z-index: 200;
  background: var(--ink);
  color: #f3efe4;
  font-size: 0.82rem;
  line-height: 1.45;
}
.demo-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  padding-block: 0.7rem;
}
.demo-bar strong { font-weight: 700; color: #fff; }
.demo-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.demo-bar a:hover { color: var(--frog-belly); }

/* In-page disclosure callout */
.demo-note {
  border: 1px dashed rgba(23, 35, 28, 0.3);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.5);
  padding: 1.1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 46rem;
}
.demo-note strong { color: var(--ink); }

/* ============================================================
   Site nav (the hotel's own)
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 150;
  padding: 0.85rem var(--gutter);
  transition: padding .35s var(--ease-out);
}
.site-nav.is-scrolled { padding-block: 0.5rem; }
.site-nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.65rem 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--glass-solid);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease-out);
}
@supports (backdrop-filter: blur(16px)) {
  .site-nav-inner { background: rgba(255,255,255,0.62); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); }
}
.site-nav.is-scrolled .site-nav-inner { box-shadow: var(--shadow-md); background: var(--glass-solid); }
.site-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}
.site-brand small {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.site-nav-links {
  display: none;
  margin-left: auto;
  gap: 1.5rem;
}
.site-nav-links a {
  position: relative;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.25rem 0;
}
.site-nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -1px; height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: right .3s var(--ease-out);
}
.site-nav-links a:hover { color: var(--ink); }
.site-nav-links a:hover::after,
.site-nav-links a.is-active::after { right: 0; }
.site-brand { white-space: nowrap; }
.site-nav-cta { margin-left: auto; padding: 0.7rem 1.15rem; font-size: 0.85rem; white-space: nowrap; }
.site-nav-links + .site-nav-cta { margin-left: 0; }
@media (max-width: 600px) {
  .site-nav-cta { padding: 0.6rem 0.9rem; font-size: 0.8rem; }
  .site-brand small { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  margin-top: -4.7rem;            /* let the sticky nav float over the image */
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding: 8rem var(--gutter) clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--ph); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(23,35,28,0.28) 0%, transparent 32%, transparent 46%, rgba(23,35,28,0.72) 100%);
}
.hero-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; }
.hero .eyebrow { color: rgba(255,255,255,0.92); }
.hero .eyebrow::before { background: #fff; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero-sub {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 40ch;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
}
.hero-actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-meta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.9);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: var(--space-section) 0; scroll-margin-top: 7.5rem; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(1.85rem, 4.2vw, 2.7rem); letter-spacing: -0.025em; }
.section-lead { margin-top: 1rem; color: var(--ink-soft); font-size: 1.04rem; max-width: 42rem; }

.glass {
  background: var(--glass-solid);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
@supports (backdrop-filter: blur(18px)) {
  .glass { background: var(--glass); backdrop-filter: blur(18px) saturate(175%); -webkit-backdrop-filter: blur(18px) saturate(175%); }
}

/* ---- Intro + facts ---- */
.intro-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.intro-copy p + p { margin-top: 1rem; }
.intro-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.facts { display: grid; gap: 1rem; align-content: start; }
.fact {
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--glass-solid);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-sm);
}
.fact dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.3rem;
}
.fact dd { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; }

/* ---- Rooms ---- */
.rooms { display: grid; gap: 1.5rem; }
.room {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.room:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.room-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ph); }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.room:hover .room-media img { transform: scale(1.045); }
.room-body { padding: 1.4rem 1.5rem 1.6rem; }
.room-body h3 { font-size: 1.24rem; letter-spacing: -0.015em; }
.room-rate {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0.35rem 0 0.65rem;
}
.room-body p { color: var(--ink-soft); font-size: 0.96rem; }
.room-tags { margin-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.room-tags li {
  list-style: none;
  font-size: 0.76rem;
  color: var(--ink-soft);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(23,35,28,0.05);
}

/* ---- Gallery ---- */
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ph);
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  left: 0.7rem; bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(23,35,28,0.5);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.gallery figure.tall { grid-row: span 2; aspect-ratio: 3 / 4; }

/* ---- Location ---- */
.location-grid { display: grid; gap: clamp(1.8rem, 5vw, 3rem); align-items: start; }
.location-copy p { color: var(--ink-soft); }
.location-copy p + p { margin-top: 0.9rem; }
.location-list { margin-top: 1.2rem; display: grid; gap: 0.6rem; }
.location-list li {
  list-style: none;
  padding-left: 1.4rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.location-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.map-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-brd);
  background:
    radial-gradient(120% 90% at 78% 20%, rgba(150, 196, 214, 0.5), transparent 60%),
    linear-gradient(160deg, #efe9db 0%, #e7e0ce 55%, #dcd6c4 100%);
  aspect-ratio: 4 / 3;
  position: relative;
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23,35,28,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,35,28,0.06) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-card .map-pin {
  position: absolute;
  left: 50%; top: 48%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  rotate: -45deg;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.5);
}
.map-note {
  position: absolute;
  left: 0.8rem; bottom: 0.8rem;
  font-size: 0.72rem;
  color: #fff;
  background: rgba(23,35,28,0.55);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

/* ---- Booking / contact ---- */
.book-grid { display: grid; gap: clamp(2.2rem, 6vw, 3.6rem); align-items: start; }
.book-copy { max-width: 34rem; }
.book-copy h2 { font-size: clamp(1.85rem, 3.8vw, 2.5rem); letter-spacing: -0.025em; margin-bottom: 1rem; }
.book-copy > p { color: var(--ink-soft); }
.book-direct {
  margin-top: 1.7rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-2);
  display: grid;
  gap: 0.25rem;
}
.book-direct dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.book-direct dd { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.book-direct .fine { font-size: 0.82rem; color: var(--ink-mute); font-family: var(--sans); font-weight: 400; }

.book-form { padding: 1.9rem 1.8rem; }
.book-form .row { display: grid; gap: 1rem; }
@media (min-width: 480px) { .book-form .row-2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.4rem; }
.field .opt { color: var(--ink-mute); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s var(--ease-out);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--frog-glow);
}
.field textarea { resize: vertical; min-height: 88px; }
.form-status { margin-top: 0.85rem; font-size: 0.88rem; font-weight: 500; min-height: 1.2em; }
.form-status.is-ok { color: var(--accent-deep); }
.form-status.is-err { color: #ef7a52; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: clamp(3rem, 7vw, 4.5rem) var(--gutter) 2.2rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.42);
}
.site-footer-inner { max-width: var(--maxw); margin-inline: auto; display: grid; gap: 1.6rem; }
.site-footer .site-brand { font-size: 1.12rem; }
.site-footer-tag { color: var(--ink-soft); font-size: 0.95rem; max-width: 34rem; }
.site-footer-disclosure {
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 44rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(23,35,28,0.045);
  border: 1px solid var(--line-2);
}
.site-footer-disclosure strong { color: var(--ink); }
.site-footer-bottom {
  max-width: var(--maxw);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.site-footer-bottom a { color: var(--accent-deep); font-weight: 600; }

/* ============================================================
   Reveal
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.rooms .reveal:nth-child(2), .gallery .reveal:nth-child(2) { transition-delay: .07s; }
.rooms .reveal:nth-child(3), .gallery .reveal:nth-child(3) { transition-delay: .14s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1.5fr 1fr; }
}
@media (min-width: 960px) {
  .site-nav-links { display: flex; }
  .site-nav-cta { margin-left: 0; }
  .rooms { grid-template-columns: repeat(3, 1fr); }
  .location-grid { grid-template-columns: 1.1fr 0.9fr; }
  .book-grid { grid-template-columns: 1fr 1fr; }
  .book-form { position: sticky; top: 7.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition-duration: .001s; }
  .room:hover .room-media img,
  .gallery figure:hover img { transform: none; }
}
