:root {
  --linen: #ECE7DE;
  --linen-2: #E3DCCF;
  --paper: #F5F1EA;
  --terracotta: #A8492A;
  --terracotta-soft: #E8C9BC;
  --carbon: #211F1C;
  --muted: #6B665E;
  --line: rgba(33, 31, 28, .18);
  --serif: 'Instrument Serif', Georgia, serif;
  --display: 'Italiana', 'Instrument Serif', Georgia, serif;
  --mono: 'Red Hat Mono', ui-monospace, Menlo, monospace;
  --wrap: min(1180px, 100% - 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--linen); color: var(--carbon); font-family: var(--serif); font-size: 20px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.label { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(236, 231, 222, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 34px; height: 22px; }
.brand span { font-family: var(--display); font-size: 24px; letter-spacing: .28em; }
.top nav { display: flex; gap: 28px; align-items: center; }
.top nav a { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.top nav a:hover { color: var(--terracotta); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--carbon); background: var(--carbon); color: var(--linen); font-family: var(--mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; padding: 14px 22px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--terracotta); border-color: var(--terracotta); }
.btn.ghost { background: transparent; color: var(--carbon); }
.btn.ghost:hover { background: var(--carbon); color: var(--linen); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.top .btn { padding: 10px 16px; font-size: 12px; }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: end; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 11vw, 148px); line-height: .9; letter-spacing: .04em; margin: 18px 0 22px; }
.hero .lede { font-style: italic; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; max-width: 22ch; margin: 0 0 28px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 30px; }
.hero .meta span { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.hero .meta b { color: var(--terracotta); font-weight: 500; }
.hero-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--linen-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .tag { position: absolute; left: 16px; bottom: 16px; background: var(--linen); padding: 8px 12px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } .hero-photo { aspect-ratio: 4 / 3.4; order: -1; } }

/* Sections */
section { padding: 72px 0; }
.sec-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-bottom: 36px; }
.sec-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1; margin: 0; letter-spacing: .02em; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; gap: 10px; } section { padding: 52px 0; } }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 18px; }
.two-col { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 0; } }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 10px; }
.gallery figure { margin: 0; overflow: hidden; background: var(--linen-2); cursor: zoom-in; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 150px 150px; } .gallery figure:first-child { grid-column: span 2; grid-row: auto; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts div:not(:nth-child(3n)) { padding-right: 20px; }
.facts strong { display: block; font-weight: 400; font-size: 22px; margin-top: 4px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

.list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.list li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); margin-right: 14px; vertical-align: middle; }
@media (max-width: 600px) { .list { columns: 1; } }

.dist { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.dist div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.dist strong { display: block; font-family: var(--display); font-size: 36px; font-weight: 400; line-height: 1.1; }

.host { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.host img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; filter: grayscale(.2); background: var(--linen-2); }
@media (max-width: 560px) { .host { grid-template-columns: 1fr; } }

/* Booking */
#book { background: var(--carbon); color: var(--linen); }
#book .label { color: #B8B1A5; }
#book .sec-head h2 { color: var(--linen); }
.book-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .book-grid { grid-template-columns: 1fr; } }
.cal { background: var(--paper); color: var(--carbon); padding: 22px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-head button { background: none; border: 1px solid var(--line); width: 42px; height: 42px; cursor: pointer; font-size: 18px; color: var(--carbon); }
.cal-head button:disabled { opacity: .3; cursor: default; }
.months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 640px) { .months { grid-template-columns: 1fr; } .months .month:nth-child(2) { display: none; } }
.month h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 0 0 10px; letter-spacing: .03em; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); }
.dow span { font-family: var(--mono); font-size: 12px; text-align: center; color: var(--muted); padding: 6px 0; }
.day { position: relative; aspect-ratio: 1 / 1.05; border: 0; background: none; font-family: var(--serif); font-size: 18px; color: var(--carbon); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 0; }
.day small { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; letter-spacing: 0; }
.day:hover:not(:disabled) { outline: 1px solid var(--carbon); outline-offset: -1px; }
.day:disabled { cursor: default; color: #B5AEA3; }
.day.blocked span { text-decoration: line-through; }
.day.blocked small, .day:disabled small { visibility: hidden; }
.day.in-range { background: var(--terracotta-soft); }
.day.edge { background: var(--terracotta); color: var(--linen); }
.day.edge small { color: var(--linen); }
.day.checkout-only { color: var(--carbon); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }

.panel { border: 1px solid rgba(236, 231, 222, .25); padding: 26px; }
.panel h3 { font-family: var(--display); font-weight: 400; font-size: 32px; margin: 0 0 6px; }
.panel .hint { color: #CFC8BB; font-style: italic; margin: 0 0 18px; font-size: 19px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(236, 231, 222, .15); font-size: 18px; }
.row .mono { font-size: 13px; color: #CFC8BB; }
.row.total { border-bottom: 0; font-size: 24px; padding-top: 14px; }
.field { display: block; margin-top: 14px; }
.field span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #CFC8BB; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 1px solid rgba(236, 231, 222, .35); color: var(--linen); font-family: var(--serif); font-size: 19px; padding: 12px 14px; border-radius: 0; }
.field select option { color: var(--carbon); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--linen); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 17px; color: #E4DED3; }
.check input { margin-top: 6px; accent-color: var(--terracotta); width: 18px; height: 18px; flex: none; }
#book .btn { width: 100%; margin-top: 20px; background: var(--terracotta); border-color: var(--terracotta); }
#book .btn:hover { background: var(--linen); color: var(--carbon); border-color: var(--linen); }
.switch-mode { display: block; margin: 14px auto 0; background: none; border: 0; color: #CFC8BB; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-decoration: underline; cursor: pointer; }
.msg { margin-top: 16px; padding: 12px 14px; font-size: 17px; border-left: 3px solid var(--terracotta); background: rgba(168, 73, 42, .15); }
.msg.ok { border-color: #7FA37A; background: rgba(127, 163, 122, .15); }
.pay-icons { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 12px; color: #B8B1A5; letter-spacing: .08em; }
.demo { background: var(--terracotta); color: var(--linen); font-family: var(--mono); font-size: 12px; text-align: center; padding: 8px; letter-spacing: .08em; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.why div { border-top: 1px solid rgba(236, 231, 222, .25); padding-top: 14px; color: #E4DED3; font-size: 18px; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* Footer */
footer { padding: 46px 0 60px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--terracotta); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20, 19, 17, .94); display: none; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 100%; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--linen); font-size: 34px; cursor: pointer; }
.day.edge span { text-decoration: none; }
