/* Oak & Echo — site styles
   Palette: warm black ground, wood tones, orange accent, dark green for the Legend. */

:root {
  --bg: #15120f;
  --bg-2: #1b1713;
  --bg-deep: #0f0d0b;
  --card: #1f1a15;
  --line: #3a3128;
  --text: #f3ece2;
  --text-2: #d6cbbb;
  --muted: #b8ab99;
  --wood: #b98a5a;
  --accent: #e0762f;
  --green: #1d3226;
  --green-deep: #111d16;
  --green-line: #3c5a47;
  --green-text: #d3e2d6;
  --green-muted: #a9c9b3;
  --cream: #efe6d8;
  --ink: #1b1612;
  --ink-2: #5c5043;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5.5vw, 80px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; background: var(--accent); color: var(--ink);
  font-weight: 600; font-size: 16px; border-radius: 2px; border: 0; cursor: pointer;
  min-height: 52px; white-space: nowrap;
}
.btn:hover { color: var(--ink); background: #ec8642; }
.link-line {
  display: inline-block; padding: 12px 0; font-weight: 600; font-size: 16px;
  border-bottom: 1px solid var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
}
.site-header .wrap { display: flex; align-items: center; gap: 40px; height: 88px; }
.brand { font-family: var(--serif); font-size: 24px; font-weight: 500; flex: 1; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.nav a { padding: 12px 0; }
.nav a.is-active { border-bottom: 1px solid var(--accent); }
.nav .btn { padding: 12px 24px; min-height: 44px; font-size: 15px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); cursor: pointer; padding: 0;
}
.nav-toggle svg { display: block; margin: auto; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 88px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.is-active { border-bottom: 1px solid var(--line); color: var(--accent); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px; padding-bottom: 64px; isolation: isolate;
}
.hero.hero-short { min-height: 72svh; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(15,13,11,0.94) 0%, rgba(15,13,11,0.6) 45%, rgba(15,13,11,0.35) 100%);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 84px); line-height: 1.03; letter-spacing: -0.02em; max-width: 14ch; margin-top: 20px;
}
.hero .lede { font-size: clamp(16px, 1.4vw, 20px); color: var(--text-2); max-width: 640px; margin-top: 20px; }

/* Booking row: Airbnb CTA + email capture (Phase 1).
   Phase 2: replace .book-row's contents with the Hospitable Direct widget. */
.book-row { margin-top: 28px; display: flex; gap: 16px; max-width: 980px; }
.book-row .btn { height: 76px; padding: 0 40px; }
.capture {
  flex: 1; display: flex; align-items: stretch; background: var(--bg); border: 1px solid var(--line); border-radius: 2px;
}
.capture .field { flex: 1; padding: 14px 24px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.capture label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.capture input {
  background: transparent; border: 0; outline: 0; color: var(--text); font-size: 16px; padding: 0; height: 28px; width: 100%;
}
.capture input::placeholder { color: #8f8374; }
.capture button {
  border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--text);
  padding: 0 28px; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
}
.capture button:hover { color: var(--accent); }
.capture-note { margin-top: 12px; font-size: 13px; color: var(--muted); min-height: 1.5em; }

@media (max-width: 860px) {
  .hero { padding-bottom: 40px; }
  .book-row { flex-direction: column; gap: 12px; }
  .book-row .btn { height: 56px; width: 100%; }
  .capture .field { padding: 12px 16px; }
  .capture button { padding: 0 16px; font-size: 14px; }
}

/* ---------- Facts strip ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-top: 36px; padding-bottom: 36px;
  font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.facts .sep { color: var(--wood); }
@media (max-width: 860px) {
  .facts .wrap { justify-content: center; gap: 16px 28px; font-size: 12px; padding-top: 28px; padding-bottom: 28px; }
  .facts .sep { display: none; }
}

/* ---------- Section basics ---------- */
.section { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.section-head { display: flex; align-items: flex-end; gap: 80px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.05; flex: 1; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--muted); width: 460px; max-width: 100%; }
@media (max-width: 860px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .section-head p { width: auto; font-size: 16px; }
}

/* ---------- Floor cards (homepage) ---------- */
.cards { display: grid; gap: 24px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 24px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; min-height: 420px; background: var(--bg-2); border-radius: 2px;
}
.cards-3 .card { min-height: 360px; padding: 28px; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.03); }
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,13,11,0.98) 0%, rgba(15,13,11,0.9) 50%, rgba(15,13,11,0.15) 90%);
}
.card > * { position: relative; z-index: 1; }
.card .eyebrow { margin-bottom: 8px; }
.card h3 { font-size: 34px; }
.cards-3 .card h3 { font-size: 28px; }
.card p { font-size: 16px; line-height: 1.5; color: var(--text-2); margin-top: 8px; max-width: 480px; }
.cards-3 .card p { font-size: 15px; }
.card:hover { color: var(--text); }
@media (max-width: 860px) {
  .cards-2, .cards-3 { grid-template-columns: 1fr; gap: 16px; }
  .cards-2 { margin-bottom: 16px; }
  .card, .cards-3 .card { min-height: 330px; padding: 20px; }
  .card h3, .cards-3 .card h3 { font-size: 26px; }
  .card p, .cards-3 .card p { font-size: 14px; }
}

/* ---------- Legend teaser ---------- */
.legend-teaser { background: var(--green); }
.legend-teaser .wrap { display: flex; align-items: center; gap: 96px; padding-top: 100px; padding-bottom: 100px; }
.legend-teaser img { width: 440px; height: 440px; object-fit: cover; flex-shrink: 0; }
.legend-teaser .eyebrow { color: var(--green-muted); }
.legend-teaser h2 { font-style: italic; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; margin-top: 24px; }
.legend-teaser p { font-size: 18px; line-height: 1.65; color: var(--green-text); margin-top: 24px; max-width: 720px; }
.legend-teaser .link-line { margin-top: 28px; }
@media (max-width: 960px) {
  .legend-teaser .wrap { flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .legend-teaser img { width: 100%; height: 220px; }
  .legend-teaser p { font-size: 16px; }
}

/* ---------- Book direct (coming soon) ---------- */
.direct { background: var(--cream); color: var(--ink); }
.direct .section-head p { color: var(--ink-2); }
.direct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.direct-grid > div { border-top: 2px solid var(--ink); padding-top: 24px; }
.direct-grid h3 { font-size: 26px; margin-bottom: 12px; }
.direct-grid p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 860px) {
  .direct-grid { grid-template-columns: 1fr; gap: 28px; }
  .direct-grid h3 { font-size: 22px; }
}

/* ---------- Reviews ---------- */
.reviews-head { display: flex; align-items: baseline; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.reviews-head .eyebrow { flex: 1; }
.rating { font-size: 15px; color: var(--text-2); }
.rating strong { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--text); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review {
  margin: 0; background: var(--card); border: 1px solid var(--line); padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 260px;
}
.review blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; }
.review figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .review-grid { grid-template-columns: 1fr; gap: 16px; }
  .review { padding: 24px; min-height: 0; }
  .review blockquote { font-size: 18px; }
}

/* ---------- Neighborhood ---------- */
.hood { border-top: 1px solid var(--line); }
.hood-inner { display: grid; grid-template-columns: 1fr 1fr; }
.hood-inner > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.hood-text { padding: 80px var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.hood-text h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.hood-list { font-size: 16px; color: var(--text-2); }
.hood-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hood-list li:last-child { border-bottom: 0; }
.hood-list span:last-child { color: var(--muted); }
@media (max-width: 860px) {
  .hood-inner { grid-template-columns: 1fr; }
  .hood-inner > img { min-height: 260px; height: 260px; }
  .hood-text { padding: 48px var(--gutter); }
}

/* ---------- Closing CTA + footer ---------- */
.closing { background: var(--bg-deep); }
.closing .wrap { padding-top: 110px; padding-bottom: 48px; }
.closing-row { display: flex; align-items: center; gap: 64px; margin-bottom: 96px; }
.closing-row h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -0.02em; flex: 1; }
.closing-row .btn { padding: 20px 40px; font-size: 17px; }
.footer {
  display: flex; align-items: center; gap: 40px; padding-top: 32px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.footer img { width: 112px; height: 112px; flex-shrink: 0; }
.footer .footer-brand { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.footer .footer-brand span:first-child { font-family: var(--serif); font-size: 22px; color: var(--text); }
.footer a { padding: 12px 0; }
@media (max-width: 860px) {
  .closing .wrap { padding-top: 72px; padding-bottom: 32px; }
  .closing-row { flex-direction: column; align-items: stretch; gap: 24px; margin-bottom: 56px; }
  .closing-row .btn { width: 100%; }
  .footer { flex-wrap: wrap; gap: 16px 24px; }
  .footer img { width: 88px; height: 88px; }
  .footer .footer-brand { flex-basis: 100%; }
}

/* ---------- The House page ---------- */
.floor { padding-top: clamp(64px, 7vw, 100px); padding-bottom: clamp(64px, 7vw, 100px); }
.floor:nth-of-type(even) { background: var(--bg-2); }
.floor-row { display: grid; grid-template-columns: 760fr 496fr; gap: 24px; margin-bottom: 24px; align-items: stretch; }
.floor-row.flip { grid-template-columns: 496fr 760fr; }
.floor-row.flip .floor-text { order: -1; }
.floor-row > img { width: 100%; height: 560px; object-fit: cover; }
.floor-text { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.floor-text h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; }
.floor-text p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.floor-text ul { margin-top: 8px; border-bottom: 1px solid var(--line); }
.floor-text li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--text-2); }
.floor-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.floor-pair img { width: 100%; height: 340px; object-fit: cover; }
@media (max-width: 960px) {
  .floor-row, .floor-row.flip { grid-template-columns: 1fr; gap: 24px; }
  .floor-row.flip .floor-text { order: 0; }
  .floor-row > img { height: 300px; }
  .floor-pair { grid-template-columns: 1fr; gap: 16px; }
  .floor-pair img { height: 240px; }
}

/* ---------- The Legend page ---------- */
body.legend-page { background: var(--green-deep); }
.legend-hero { padding-top: 160px; padding-bottom: 80px; }
.legend-hero .wrap { display: flex; align-items: flex-end; gap: 96px; }
.legend-hero .text { flex: 1; }
.legend-hero .eyebrow { color: var(--green-muted); }
.legend-hero h1 { font-size: clamp(56px, 6.6vw, 96px); line-height: 1; letter-spacing: -0.025em; margin-top: 28px; }
.legend-hero h1 em { font-style: italic; }
.legend-hero p { font-size: 20px; line-height: 1.55; color: var(--green-text); max-width: 520px; margin-top: 28px; }
.legend-hero img { width: 560px; height: 560px; object-fit: cover; flex-shrink: 0; }
.legend-band { background: var(--green); }
.legend-band .wrap { display: flex; align-items: center; gap: 96px; padding-top: 100px; padding-bottom: 100px; }
.legend-band .side { width: 400px; flex-shrink: 0; }
.legend-band .side .eyebrow { color: var(--green-muted); }
.legend-band .side h2 { font-style: italic; font-size: clamp(30px, 3vw, 44px); line-height: 1.12; margin-top: 20px; }
.legend-band .body { flex: 1; display: flex; flex-direction: column; gap: 24px; font-size: 19px; line-height: 1.7; color: var(--green-text); }
.legend-band .body p:last-child { color: var(--text); }
.legend-band .body em { font-style: italic; }
.legend-band.short .wrap { padding-top: 80px; padding-bottom: 80px; }
.legend-band.short .body { font-size: 20px; }
.legend-band.short h2 { font-style: normal; }
.tells h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; margin-bottom: 56px; }
.tells-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.tells-grid > div { border-top: 1px solid var(--green-line); padding-top: 24px; }
.tells-grid .num { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--green-muted); margin-bottom: 14px; }
.tells-grid h3 { font-size: 26px; margin-bottom: 14px; }
.tells-grid p { font-size: 16px; line-height: 1.65; color: #b9cdbd; }
.legend-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legend-strip img { width: 100%; height: 480px; object-fit: cover; }
.legend-page .closing { background: #0c1510; }
.legend-page .footer { border-top-color: #2c4435; color: #a9bfae; }
@media (max-width: 960px) {
  .legend-hero { padding-top: 120px; padding-bottom: 48px; }
  .legend-hero .wrap { flex-direction: column; align-items: flex-start; gap: 32px; }
  .legend-hero img { width: 100%; height: 320px; }
  .legend-hero p { font-size: 17px; }
  .legend-band .wrap { flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
  .legend-band .side { width: auto; }
  .legend-band .body, .legend-band.short .body { font-size: 17px; }
  .tells-grid { grid-template-columns: 1fr; gap: 28px; }
  .tells h2 { margin-bottom: 32px; }
  .legend-strip { grid-template-columns: 1fr 1fr 1fr; }
  .legend-strip img { height: 160px; }
}
