/* =============================================================
   Casa Marlow — own identity (loaded AFTER demo.css)
   Weathered Atlantic coast: petrol + terracotta, serif display.
   ============================================================= */

:root {
  --bg:        #f4efe4;   /* warm sand */
  --bg-2:      #ece4d3;
  --paper:     #fcf8f0;

  --ink:       #23201b;   /* warm near-black */
  --ink-soft:  #4b463d;
  --ink-mute:  #6c655a;

  --accent:      #1f6f78;   /* deep sea petrol */
  --accent-deep: #164e55;
  --accent-2:    #c8674a;   /* terracotta — sparing */
  --frog-glow:   rgba(31, 111, 120, 0.22);

  --card:      #fdfaf2;
  --card-brd:  rgba(35, 32, 27, 0.12);

  --line:      rgba(35, 32, 27, 0.14);
  --line-2:    rgba(35, 32, 27, 0.09);

  --shadow-sm: 0 1px 2px rgba(35, 32, 27, 0.05), 0 2px 8px -4px rgba(35, 32, 27, 0.08);
  --shadow-md: 0 1px 3px rgba(35, 32, 27, 0.05), 0 12px 26px -16px rgba(35, 32, 27, 0.20);
  --shadow-lg: 0 2px 8px rgba(35, 32, 27, 0.06), 0 26px 50px -30px rgba(35, 32, 27, 0.26);

  --sans: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;

  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-xl: 14px;
  --r-btn: 7px;

  --maxw: 1120px;
}

body { line-height: 1.66; }
h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.12;
}
h1 { font-weight: 400; }

::selection { background: var(--accent); color: #fff; }

/* ---- Section label: magazine kicker, ruled ---- */
.eyebrow {
  display: block;
  width: 100%;
  border-top: 1.5px solid var(--ink);
  padding-top: 0.7rem;
  margin-bottom: 1.1rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent-deep);
}
.eyebrow::before { display: none; }
.hero .eyebrow { border-top-color: rgba(255, 255, 255, 0.55); color: #fff; }

.u-link { color: var(--accent-deep); }

/* ---- Buttons: squared, flat, architectural ---- */
.btn {
  border-radius: var(--r-btn);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.4rem;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(22, 78, 85, 0.3);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost {
  background: var(--paper);
  border: 1px solid var(--card-brd);
  box-shadow: none;
}
.btn-ghost:hover { background: #fff; transform: translateY(-1px); }

/* ---- Nav: flat bar, not a floating pill ---- */
.site-nav { padding: 0 var(--gutter); background: rgba(252, 248, 240, 0.9); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(10px)) {
  .site-nav { background: rgba(252, 248, 240, 0.72); backdrop-filter: blur(12px) saturate(150%); -webkit-backdrop-filter: blur(12px) saturate(150%); }
}
.site-nav.is-scrolled { padding: 0 var(--gutter); box-shadow: var(--shadow-sm); background: rgba(252, 248, 240, 0.95); }
.site-nav-inner {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.95rem 0;
}
.site-nav.is-scrolled .site-nav-inner { background: none; box-shadow: none; }
.site-brand { font-family: var(--display); font-weight: 500; font-size: 1.18rem; letter-spacing: -0.01em; }
.site-brand small { font-family: var(--sans); }
.site-nav-links a { font-family: var(--sans); }
.site-nav-links a::after, .site-nav-cta { border-radius: var(--r-btn); }
.site-nav-links a::after { background: var(--accent); }

/* ---- Hero: sits below the bar, serif title ---- */
.hero { margin-top: 0; min-height: 82vh; min-height: 82svh; padding-top: 4rem; }
.hero::after {
  background: linear-gradient(180deg, rgba(20,24,22,0.22) 0%, transparent 34%, transparent 42%, rgba(20,24,22,0.7) 100%);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.7rem, 7.2vw, 5.2rem);
  letter-spacing: -0.012em;
  line-height: 1.02;
  text-shadow: 0 2px 34px rgba(0,0,0,0.34);
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.22rem); }
.hero-meta span::before { background: var(--accent-2); }

/* ---- Cards: solid warm paper, low radius, hairline ---- */
.glass,
.fact,
.step,
.room,
.book-form,
.demo-note {
  background: var(--card);
  border: 1px solid var(--card-brd);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.glass { box-shadow: var(--shadow-sm); }
.demo-note { border-style: dashed; background: rgba(35,32,27,0.03); }

.section-head h2,
.book-copy h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.012em; }
.section-lead { font-size: 1.05rem; }

.room-body h3 { font-family: var(--display); font-weight: 500; font-size: 1.4rem; }
.room-rate { color: var(--accent-deep); font-family: var(--sans); }
.room-tags li { background: rgba(35,32,27,0.055); border-radius: var(--r-sm); }

.fact dt { color: var(--accent-deep); }
.fact dd { font-family: var(--display); font-weight: 500; }

.step-n {
  background: var(--accent);
  border-radius: var(--r-sm);
  font-family: var(--display);
  box-shadow: 0 6px 14px -8px rgba(22, 78, 85, 0.6);
}
.step:not(:last-child)::before { background: rgba(31, 111, 120, 0.25); }

.gallery figure { border-radius: var(--r-md); }
.gallery figcaption { font-family: var(--sans); border-radius: var(--r-sm); }

.map-card {
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 80% 18%, rgba(31, 111, 120, 0.16), transparent 60%),
    linear-gradient(160deg, #efe8d9 0%, #e6ddc9 60%, #ddd3bd 100%);
}
.map-card .map-pin { background: var(--accent-2); }

.book-direct dt { color: var(--accent-deep); }
.book-direct dd { font-family: var(--display); font-weight: 500; }
.field input, .field select, .field textarea { border-radius: var(--r-sm); }
.field label { font-family: var(--sans); }

/* ---- Footer ---- */
.site-footer { background: rgba(252, 248, 240, 0.6); }
.site-footer .site-brand { font-family: var(--display); }
.site-footer-disclosure { background: rgba(35,32,27,0.04); border-radius: var(--r-md); }
.site-footer-bottom a { color: var(--accent-deep); }
