/* The Orchard House — guest site
   Palette: Clapboard (page), Harbor (ink), Hydrangea (single accent), Sea glass (soft fill), Sand (rare warm note) */
:root {
  --clapboard: #f4f7f6;
  --paper: #ffffff;
  --harbor: #12252b;
  --harbor-2: #3b4f56;
  --mute: #66797f;
  --line: #d9e2e1;
  --seaglass: #dce9e5;
  --hydrangea: #3f62a0;
  --hydrangea-ink: #2f4d82;
  --hydrangea-soft: #e3eaf6;
  --sand: #ece3d3;
  --danger: #a3362f;
  --radius: 14px;
  --display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Newsreader', Georgia, 'Times New Roman', serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--clapboard); color: var(--harbor); font: 400 1.125rem/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--hydrangea-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--hydrangea); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 300; }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn { font: 500 1rem/1 var(--display); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem 1.6rem; border-radius: 999px; border: 1.5px solid var(--harbor); background: var(--harbor); color: #fff; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s; }
.btn:hover { background: #1d3a43; }
.btn:active { transform: translateY(1px); }
.btn.accent { background: var(--hydrangea); border-color: var(--hydrangea); }
.btn.accent:hover { background: var(--hydrangea-ink); }
.btn.ghost { background: transparent; color: var(--harbor); }
.btn.ghost:hover { background: var(--seaglass); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ───── header ───── */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background .25s, box-shadow .25s; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.top .mark { font: 500 1.15rem var(--display); letter-spacing: -.01em; color: #fff; text-decoration: none; }
.top nav { display: flex; gap: 1.6rem; align-items: center; }
.top nav a { font: 500 .95rem var(--display); color: #fff; text-decoration: none; }
.top nav a.pill { border: 1.5px solid #fff; border-radius: 999px; padding: .55rem 1.1rem; }
.top.solid { background: rgba(244, 247, 246, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.top.solid .mark, .top.solid nav a { color: var(--harbor); }
.top.solid nav a.pill { border-color: var(--harbor); }
@media (max-width: 760px) { .top nav a:not(.pill) { display: none; } }

/* ───── hero ───── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; background: #25363b; overflow: hidden; }
.hero picture, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,24,29,.45) 0%, rgba(10,24,29,.05) 35%, rgba(10,24,29,.72) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(36px, 7vh, 80px); padding-top: 120px; }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.4rem); font-weight: 300; max-width: 16ch; letter-spacing: -.025em; }
.hero p.lede { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 46ch; margin: 1.4rem 0 2rem; color: #eaf1f0; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.8); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.14); }
.hero .btn.solid { background: #fff; color: var(--harbor); border-color: #fff; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(28px, 5vh, 56px); border-top: 1px solid rgba(255,255,255,.35); }
.facts div { padding: 16px 28px 0 0; margin-right: 28px; font: 400 .95rem var(--text); color: #dfe9e8; }
.facts strong { display: block; font: 400 1.7rem/1.1 var(--display); color: #fff; letter-spacing: -.02em; }

/* ───── sections ───── */
section { padding: clamp(64px, 10vw, 128px) 0; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.intro .split > div:last-child p:first-child { font-size: 1.3rem; line-height: 1.55; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.tiles div { background: var(--paper); padding: 20px 20px 18px; }
.tiles strong { display: block; font: 300 2.2rem/1 var(--display); letter-spacing: -.03em; }
.tiles span { color: var(--mute); font-size: .95rem; }

/* gallery */
.gallery { padding-top: 0; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 16vw, 220px); gap: 10px; }
.mosaic button { padding: 0; border: 0; background: var(--seaglass); border-radius: 10px; overflow: hidden; cursor: zoom-in; position: relative; }
.mosaic button:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic button:nth-child(6) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic button:hover img { transform: scale(1.03); }
.more-photos { margin-top: 18px; }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, 1fr); } .mosaic button:first-child { grid-column: span 2; grid-row: span 1; } .mosaic button:nth-child(6) { grid-column: auto; } }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 18, 22, .94); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); }
.lightbox img { max-height: 78vh; margin-inline: auto; border-radius: 8px; }
.lightbox figcaption { color: #dfe9e8; text-align: center; margin-top: 14px; font-size: 1rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox .x { top: 20px; right: 20px; } .lightbox .prev { left: 20px; top: 50%; } .lightbox .next { right: 20px; top: 50%; }

/* rooms */
.rooms { background: var(--paper); border-block: 1px solid var(--line); }
.room-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.room-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.room-list li:first-child { border-top: 1px solid var(--line); }
.room-list b { font: 500 1.05rem var(--display); }
.room-list span { color: var(--mute); text-align: right; }

/* outdoors feature */
.outdoors .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--seaglass); }
.outdoors .photo img { width: 100%; height: 100%; object-fit: cover; }
.cols { columns: 2; column-gap: 40px; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.cols li { break-inside: avoid; padding: 7px 0 7px 22px; position: relative; }
.cols li::before { content: ''; position: absolute; left: 0; top: 1.05em; width: 9px; height: 2px; background: var(--hydrangea); }
@media (max-width: 560px) { .cols { columns: 1; } }

/* amenities */
.amen { background: var(--seaglass); }
.amen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 48px; margin-top: 2.6rem; }
.amen-grid h3 { margin-bottom: .6rem; }
.amen-grid ul { list-style: none; margin: 0; padding: 0; font-size: 1.05rem; }
.amen-grid li { padding: 5px 0; border-bottom: 1px solid rgba(18, 37, 43, .12); }

/* location */
.walks { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.walks li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.walks li:first-child { border-top: 1px solid var(--line); }
.walks em { font-style: normal; font: 500 1rem var(--display); color: var(--hydrangea-ink); }

/* ───── booking ───── */
.book { background: var(--paper); border-block: 1px solid var(--line); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 2.4rem; align-items: start; }
@media (max-width: 960px) { .book-grid { grid-template-columns: 1fr; } }
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1.1rem; color: var(--harbor); }
.cal-head button:hover { background: var(--seaglass); }
.cal-head button[disabled] { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 700px) { .cal-months { grid-template-columns: 1fr; } .cal-months .m:nth-child(2) { display: none; } }
.m h3 { font-size: 1.15rem; text-align: center; margin-bottom: 10px; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dow span { text-align: center; font: 500 .78rem var(--display); color: var(--mute); padding-bottom: 6px; }
.day { aspect-ratio: 1 / 1.08; border: 0; border-radius: 9px; background: var(--clapboard); padding: 5px 4px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; font-family: var(--display); color: var(--harbor); cursor: pointer; min-width: 0; }
.day .n { font-size: .95rem; font-weight: 500; line-height: 1; }
.day .r { font-size: .72rem; color: var(--mute); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.day:hover:not(:disabled) { background: var(--hydrangea-soft); }
.day.blank { visibility: hidden; }
.day.short { opacity: .5; }
.day.co-only .r { visibility: hidden; }
.day:disabled { cursor: not-allowed; background: transparent; }
.day:disabled .n { color: #9fb0b3; text-decoration: line-through; text-decoration-thickness: 1px; }
.day:disabled .r { visibility: hidden; }
.day.out-ok { cursor: pointer; background: var(--clapboard); }
.day.in-range { background: var(--hydrangea-soft); border-radius: 0; }
.day.in-range .r { color: var(--hydrangea-ink); }
.day.sel, .day.sel:hover:not(:disabled) { background: var(--hydrangea); color: #fff; }
.day.sel .r { color: #dfe8f7; }
.day.sel.start { border-radius: 9px 0 0 9px; } .day.sel.end { border-radius: 0 9px 9px 0; }
.day.sel.start.end { border-radius: 9px; }
.day.sel:disabled { background: var(--hydrangea); opacity: 1; }
.day.sel:disabled .n { color: #fff; text-decoration: none; }
.day.sel:disabled .r { visibility: visible; }
.cal-note { min-height: 1.6em; margin: 16px 0 0; color: var(--mute); font-size: 1rem; }
.cal-note.warn { color: var(--danger); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font: .85rem var(--display); color: var(--mute); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--hydrangea); }
.legend i.free { background: var(--clapboard); border: 1px solid var(--line); }
.legend s { text-decoration-thickness: 1px; }

.summary { position: sticky; top: 88px; border: 1.5px solid var(--harbor); border-radius: 18px; padding: 24px; background: var(--paper); }
@media (max-width: 960px) { .summary { position: static; } }
.summary .dates { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.summary .dates div { padding: 10px 14px; }
.summary .dates div + div { border-left: 1.5px solid var(--line); }
.lbl { display: block; font: 500 .82rem var(--display); color: var(--mute); margin-bottom: 2px; }
.val { font: 500 1.05rem var(--display); }
.val.empty { color: #9fb0b3; }
.field { display: block; margin-top: 14px; }
.field input, .field select, .field textarea { width: 100%; font: 400 1.05rem var(--text); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--harbor); }
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--hydrangea-soft); border-color: var(--hydrangea); }
.lines { margin: 18px 0 4px; padding: 0; list-style: none; font-size: 1.02rem; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.lines li.total { border-top: 1.5px solid var(--harbor); margin-top: 8px; padding-top: 12px; font: 500 1.2rem var(--display); }
.lines li.due { background: var(--hydrangea-soft); margin: 8px -10px 0; padding: 10px; border-radius: 10px; }
.summary details { margin: 6px 0; font-size: .95rem; color: var(--mute); }
.summary details table { width: 100%; margin-top: 6px; font-variant-numeric: tabular-nums; }
.summary details td:last-child { text-align: right; }
.fine { font-size: .92rem; color: var(--mute); margin: 12px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .98rem; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--hydrangea); }
.err { color: var(--danger); margin: 12px 0 0; font-size: 1rem; }
.summary .btn { width: 100%; margin-top: 18px; }
.insure { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--clapboard); font-size: .95rem; }

/* reviews + policies */
.proof { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.proof strong { font: 300 clamp(4rem, 9vw, 7rem)/1 var(--display); letter-spacing: -.05em; color: var(--hydrangea-ink); }
.pol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; margin-top: 2.4rem; }
.pol-grid h3 { margin-bottom: .5rem; }
.pol-grid p, .pol-grid li { font-size: 1.05rem; }
.pol-grid ul { padding-left: 1.1rem; margin: 0; }
.tiers { list-style: none; padding: 0; margin: 0; }
.tiers li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 10px 0; }
.tiers b { font: 500 1rem var(--display); }

footer { padding: 56px 0 72px; background: var(--harbor); color: #cfdcdc; }
footer a { color: #fff; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer strong { font: 400 1.5rem var(--display); color: #fff; display: block; margin-bottom: 6px; }

/* confirmation page */
.page { padding: 140px 0 100px; min-height: 80vh; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 40px); max-width: 720px; }

/* one orchestrated moment: the hero headline settles in once */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lede, .hero .actions { animation: settle .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .lede { animation-delay: .12s; } .hero .actions { animation-delay: .22s; }
  @keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* floor plans */
.plans { padding-block: clamp(56px, 9vw, 110px); }
.plans-lede { margin-top: 1.2rem; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 36px); margin-top: 2rem; }
@media (max-width: 760px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-grid figure { margin: 0; }
.plan-grid img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.plan-grid figcaption { margin-top: .6rem; font: .95rem var(--display); color: var(--mute); }
