/*
Theme Name: Crow's Nest Retreat
Description: Custom theme for Crow's Nest Retreat — luxury Catskills venue, Round Top NY. Industrial elegance, vintage charm.
Version: 1.0
Author: S&G Productions
*/

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-400i.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --cream: #faf7f2;
  --paper: #ffffff;
  --ink: #23262d;
  --ink-soft: #565b66;
  --navy: #2b4a77;
  --navy-deep: #1f3554;
  --brass: #a8854f;
  --line: #e6ded1;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --maxw: 72rem;
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--brass); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

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

.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
  display: block; margin-bottom: 1rem;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 44rem; }

.btn {
  display: inline-block; padding: .95rem 2rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--navy); transition: all .2s ease;
}
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-ghost { color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .bar {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.5rem;
}
.brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.brand small { display: block; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); }
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; width: 2rem; }
.nav-burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: .2s; }
.site-nav ul { list-style: none; display: flex; gap: 2rem; }
.site-nav a {
  font-size: .85rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink);
}
.site-nav a:hover, .site-nav li.current-menu-item a { color: var(--brass); }

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .site-nav { display: none; width: 100%; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-head .bar { flex-wrap: wrap; padding-top: .75rem; padding-bottom: .75rem; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 0 1rem; }
  .site-nav a { display: block; padding: .6rem 0; font-size: 1rem; }
}

/* ---------- hero (full-bleed banner) ---------- */
.hero-banner {
  position: relative; display: flex; align-items: flex-end;
  min-height: min(88vh, 52rem); color: #fff;
}
.hero-banner .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,28,40,.32) 0%, rgba(22,28,40,.28) 45%, rgba(22,28,40,.82) 100%);
}
.hero-banner .eyebrow { text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.hero-banner .inner {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--maxw); margin: 0 auto;
  padding: 8rem var(--pad) clamp(3rem, 7vw, 5.5rem);
}
.hero-banner .eyebrow { color: #d9b878; }
.hero-banner h1 { color: #fff; margin: 0 0 1.25rem; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-banner h1 em { font-style: italic; color: #d9b878; }
.hero-banner .lede { color: rgba(255,255,255,.9); max-width: 38rem; margin-bottom: 2rem; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero-banner .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-banner .btn-solid { border-color: transparent; }
@media (max-width: 860px) {
  .hero-banner { min-height: 72vh; }
  .hero-banner .inner { padding-top: 5rem; }
}

/* ---------- press bar ---------- */
.pressbar { background: var(--navy-deep); color: #fff; }
.pressbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .75rem 3rem; padding-top: 1.1rem; padding-bottom: 1.1rem;
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
}
.pressbar b { color: #d9b878; font-weight: 600; }

/* ---------- stats ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--paper); }
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stats .stat { padding: 2.2rem .5rem; border-left: 1px solid var(--line); }
.stats .stat:first-child { border-left: 0; }
.stats .num { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--navy); line-height: 1; }
.stats .lbl { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: .5rem; }
@media (max-width: 700px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:nth-child(3) { border-left: 0; }
  .stats .stat { border-top: 1px solid var(--line); padding: 1.5rem .5rem; }
  .stats .stat:nth-child(-n+2) { border-top: 0; }
}

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* photo grid */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tile { position: relative; overflow: hidden; }
.tile img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile .cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.2rem 1.2rem .9rem;
  background: linear-gradient(transparent, rgba(20, 24, 32, .78));
  color: #fff; font-family: var(--serif); font-size: 1.15rem;
}
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 540px) { .tiles { grid-template-columns: 1fr; } }

/* full-bleed band */
.band { position: relative; color: #fff; }
.band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(22, 28, 40, .55), rgba(22, 28, 40, .55)); }
.band .wrap { position: relative; z-index: 2; padding-top: clamp(5rem, 12vw, 9rem); padding-bottom: clamp(5rem, 12vw, 9rem); max-width: 50rem; text-align: center; margin: 0 auto; }
.band h2 { color: #fff; margin-bottom: 1rem; }
.band p { font-size: 1.15rem; margin-bottom: 2rem; }

/* quote */
.quote { text-align: center; max-width: 52rem; margin: 0 auto; }
.quote blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.4; color: var(--ink);
}
.quote cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }

/* occasions */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.col-card { background: var(--paper); border: 1px solid var(--line); padding: 2.5rem 2rem; }
.col-card h3 { margin-bottom: .8rem; color: var(--navy); }
.col-card p { color: var(--ink-soft); font-size: 1rem; }
.alt .col-card { background: var(--cream); }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; } }

/* room sections (about page) */
.room { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.room:first-of-type { border-top: 0; }
.room.flip .pic { order: 2; }
.room .pic img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.room h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 1rem; }
.room p { color: var(--ink-soft); }
.room ul { margin: 1rem 0 0 1.2rem; color: var(--ink-soft); }
.room li { margin-bottom: .35rem; }
@media (max-width: 860px) {
  .room { grid-template-columns: 1fr; }
  .room.flip .pic { order: 0; }
}
.room.noimg { display: block; }
.room.noimg .txt { max-width: 46rem; }

/* attractions grid */
.attractions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.attraction { background: var(--paper); border: 1px solid var(--line); padding: 2rem 1.8rem; }
.attraction h3 { font-size: 1.2rem; margin-bottom: .6rem; color: var(--navy); }
.attraction p { font-size: .97rem; color: var(--ink-soft); }
.attraction .dist { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--brass); display: block; margin-bottom: .6rem; }
@media (max-width: 860px) { .attractions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .attractions { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-card { background: var(--paper); border: 1px solid var(--line); padding: 2.5rem; }
.contact-card h3 { color: var(--navy); margin-bottom: 1rem; }
.contact-card .big { font-family: var(--serif); font-size: 1.6rem; }
.rules { list-style: none; }
.rules li { padding: .55rem 0 .55rem 1.6rem; position: relative; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.rules li:last-child { border-bottom: 0; }
.rules li::before { content: '·'; color: var(--brass); font-weight: 700; position: absolute; left: .3rem; font-size: 1.4rem; line-height: 1.2; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* cta band */
.cta { background: var(--navy-deep); color: #fff; text-align: center; }
.cta .wrap { padding-top: clamp(3.5rem, 8vw, 5.5rem); padding-bottom: clamp(3.5rem, 8vw, 5.5rem); }
.cta h2 { color: #fff; margin-bottom: 1rem; }
.cta p { color: #c8d2e0; margin-bottom: 2rem; font-size: 1.1rem; }
.cta a.phone { color: #d9b878; font-family: var(--serif); font-size: 1.4rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #9aa1ac; font-size: .9rem; }
.site-foot .wrap {
  padding-top: 3rem; padding-bottom: 3rem;
  display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start;
}
.site-foot .fbrand { font-family: var(--serif); font-size: 1.2rem; color: #fff; }
.site-foot .fbrand small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); margin-top: .2rem; }
.site-foot a { color: #cfd5dd; }
.site-foot a:hover { color: #d9b878; }
.site-foot .legal { width: 100%; border-top: 1px solid #3a3f48; padding-top: 1.2rem; font-size: .8rem; }

/* generic page */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.page-hero h1 { margin-bottom: .8rem; }
.entry-content { padding: 3rem 0; max-width: 46rem; }
.entry-content p { margin-bottom: 1.2rem; }
