/* luxuryresorte — editorial hotel guide. One stylesheet shared by all pages. */

:root {
  --bg: #faf7f1;
  --paper: #ffffff;
  --ink: #1b1f2a;
  --muted: #5d626d;
  --navy: #14233b;
  --navy-2: #1d3150;
  --brass: #9a7b3f;
  --brass-d: #7d6230;
  --line: #e4ddcc;
  --soft: #f2ede1;
  --wrap: 1120px;
  --narrow: 760px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brass-d); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, var(--narrow)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; position: relative; }

.brand { text-decoration: none; color: #fff; display: flex; align-items: center; gap: .75rem; line-height: 1.1; }
.brand-text { display: flex; flex-direction: column; }
.brand-logo { width: 38px; height: 38px; flex: none; }
.brand:hover { color: #fff; }
.brand-name { font-family: var(--serif); font-size: 1.7rem; letter-spacing: .04em; }
.brand-tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #cdbb90; margin-top: .25rem; }

.site-nav ul { list-style: none; display: flex; gap: 1.8rem; margin: 0; padding: 0; }
.site-nav a { color: #e9e5da; text-decoration: none; font-size: .95rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: #fff; border-color: var(--brass); }
.site-nav a[aria-current="page"] { color: #fff; border-color: var(--brass); }

.menu-btn { display: none; background: none; border: 1px solid #5b6b86; color: #fff; font-size: 1.3rem; line-height: 1; padding: .45rem .7rem; border-radius: 4px; cursor: pointer; }

@media (max-width: 760px) {
  .js .menu-btn { display: block; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-2); z-index: 20; padding: .5rem 1.25rem 1rem; border-top: 1px solid #34486b; }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: .2rem; }
  .site-nav a { display: block; padding: .7rem 0; }
  .js .bar { padding: .8rem 0; }
  .site-nav ul { flex-wrap: wrap; gap: .4rem 1.2rem; }
  .js .site-nav ul { flex-wrap: nowrap; }
  html:not(.js) .bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .88rem; color: var(--muted); padding: 1.2rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #a9a597; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: .95rem; border: 2px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--navy-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Home: hero ---------- */
.hero { padding: 3.5rem 0 2rem; }
.eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-d); font-weight: 700; margin: 0 0 1rem; }
.hero .lede { font-size: 1.2rem; max-width: 40rem; color: #343a47; }
.stamp { font-size: .9rem; color: var(--muted); margin-top: 1.4rem; }

.hero-photo { margin: 0 auto 3rem; }
.frame { background: linear-gradient(135deg, #d9d0bb, #c4b895); overflow: hidden; border-radius: 4px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .frame { aspect-ratio: 16 / 7; }

/* ---------- Home: jump list ---------- */
.jump { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.4rem 0; }
.jump h2 { font-size: 1.4rem; }
.jump ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .5rem 2rem; counter-reset: j; }
.jump li { counter-increment: j; border-bottom: 1px dotted #cfc6ad; padding: .35rem 0; }
.jump li::before { content: counter(j, decimal-leading-zero); font-family: var(--serif); color: var(--brass-d); margin-right: .7rem; font-weight: 600; }
.jump a { color: var(--ink); text-decoration: none; }
.jump a:hover { color: var(--brass-d); text-decoration: underline; }

/* ---------- Home: ranking ---------- */
.ranking { padding: 4rem 0 2rem; }
.ranking-head { margin-bottom: 2.5rem; }
.ranking-head p { color: var(--muted); font-size: .95rem; }

.house { display: grid; grid-template-columns: 5fr 7fr; gap: 2.4rem; padding: 2.6rem 0; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.house:first-of-type { border-top: 0; }
.house .frame { aspect-ratio: 3 / 2; position: sticky; top: 1rem; align-self: start; }
.house-meta { display: flex; align-items: baseline; gap: .9rem; margin-bottom: .5rem; }
.rank-no { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--brass); font-weight: 600; }
.place { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.house h3 { font-size: 1.8rem; margin-bottom: .3rem; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #404655; }
.facts { margin: 1rem 0 1.3rem; padding-left: 1.1em; }
.facts li { margin-bottom: .35rem; }
.notes { margin: 0 0 1.4rem; display: grid; gap: .7rem; }
.notes div { background: var(--paper); border-left: 3px solid var(--brass); padding: .7rem 1rem; }
.notes dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-d); font-weight: 700; }
.notes dd { margin: .15rem 0 0; }
.house h4 { margin-bottom: .4rem; }

@media (max-width: 860px) {
  .house { grid-template-columns: 1fr; gap: 1.2rem; }
  .house .frame { position: static; }
  .hero-photo .frame { aspect-ratio: 16 / 9; }
}

/* ---------- Home: fine print & method ---------- */
.fineprint { background: var(--navy); color: #e8e4d8; padding: 4rem 0; margin-top: 2rem; }
.fineprint h2, .fineprint h3 { color: #fff; }
.fineprint h3 { font-size: 1.15rem; color: #e1cd9c; }
.fineprint .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin: 2rem 0; }
.fineprint p { margin: 0; color: #d6d2c6; font-size: .98rem; }
.callout { border-top: 1px solid #3a4c6c; padding-top: 1.6rem; }
.callout h3 { color: #fff; font-size: 1.4rem; }
.callout p { margin-bottom: 1rem; max-width: 42rem; }
.callout a { color: #e1cd9c; }

.method { padding: 4rem 0; }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; counter-reset: s; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); padding: 1.5rem; border-top: 3px solid var(--brass); }
.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 2rem; color: var(--brass); line-height: 1; margin-bottom: .6rem; }
.steps h3, .steps h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.steps p { margin: 0; font-size: .98rem; color: #3d4350; }

/* ---------- Inner pages ---------- */
.page-head { padding: 2rem 0 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.page-head .lede { font-size: 1.18rem; color: #3b4150; margin: 0; }
.prose { padding-bottom: 4.5rem; }
.prose h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose .steps { margin-top: 1.4rem; grid-template-columns: 1fr; }
.prose .steps li { padding: 1.2rem 1.4rem; }
.prose .steps li::before { display: none; }
.prose .steps { counter-reset: s; }
.prose .steps h2 { margin-top: 0; font-size: 1.25rem; }
.prose .steps h2::before { counter-increment: s; content: counter(s) ". "; color: var(--brass); }

.aside-box { background: var(--soft); border: 1px solid var(--line); padding: 1.4rem 1.6rem; margin: 1.6rem 0; }
.aside-box dl { margin: 0; display: grid; grid-template-columns: 9rem 1fr; gap: .5rem 1rem; }
.aside-box dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-d); font-weight: 700; padding-top: .2rem; }
.aside-box dd { margin: 0; }
@media (max-width: 560px) { .aside-box dl { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; margin-top: 1.2rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #c8bfa6; border-radius: 3px; padding: .7rem .85rem;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-radius: 3px; margin: 1.2rem 0; border: 1px solid; }
.notice.ok { background: #eef6ee; border-color: #8fb68f; color: #1f4a1f; }
.notice.err { background: #fbeeee; border-color: #d19393; color: #6b1f1f; }
.notice ul { margin: .4rem 0 0; }
.notice p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1b2f; color: #c9c5b9; padding: 3.5rem 0 1.4rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand-name { font-size: 1.5rem; }
.site-footer .brand-logo { width: 42px; height: 42px; }
.site-footer p { margin: 0 0 .9rem; }
.foot-title { font-family: var(--serif); color: #fff; font-size: 1.05rem; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: #c9c5b9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { border-top: 1px solid #2a3a58; margin-top: 2.4rem; padding-top: 1.2rem; font-size: .85rem; color: #98a0b0; }
.legal p { margin: 0 0 .4rem; }
.legal a { color: #b9c0cf; }
.slogan { font-family: var(--serif); font-style: italic; color: #e1cd9c; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Cookie notice ---------- */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; max-width: 46rem; margin-inline: auto; background: var(--navy); color: #eee9db; padding: 1rem 1.2rem; border-radius: 4px; box-shadow: 0 8px 30px rgba(0,0,0,.28); display: flex; gap: 1rem; align-items: center; justify-content: space-between; font-size: .92rem; }
.cookie p { margin: 0; }
.cookie a { color: #e1cd9c; }
.cookie button { flex: none; background: var(--brass); color: #fff; border: 0; padding: .6rem 1.2rem; border-radius: 3px; font: inherit; font-weight: 600; cursor: pointer; }
.cookie button:hover { background: var(--brass-d); }
@media (max-width: 560px) { .cookie { flex-direction: column; align-items: stretch; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .site-footer, .cookie, .btn-row { display: none; } body { background: #fff; } }

/* ---------- Catalog cards (3 per row on desktop) ---------- */
:root { --green: #0d6b57; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-bottom: 2rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 4 / 5; border-radius: 0; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: .82rem; color: var(--muted); margin: 0 0 .5rem; }
.card-title { font-size: 1.45rem; margin: 0 0 .8rem; min-height: 2.5em; }
.badge { display: inline-block; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .5rem .8rem; }
.price { font-weight: 700; color: var(--brass-d); margin: .4rem 0 .1rem; }
.price .per { font-weight: 400; font-size: .85rem; color: var(--muted); }
.rate { font-size: .88rem; color: var(--muted); margin-bottom: .8rem; }
.card-desc { font-size: .95rem; flex: 1; }
.card-btn { text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 500; margin-top: .4rem; }
.fine-note { font-size: .82rem; color: var(--muted); }

/* ---------- Hotel page ---------- */
.hotel-page .page-head { border-bottom: 0; margin-bottom: 1rem; padding-bottom: 0; }
.hotel-photo { margin: 0 0 1.4rem; }
.hotel-photo .frame { aspect-ratio: 16 / 9; }
.buybox { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0 .4rem; margin-bottom: 1.6rem; }
.price.big { font-size: 1.8rem; color: var(--ink); margin: 0 0 .3rem; }
.avail { margin: 0 0 .8rem; font-size: .95rem; }
.seller { font-size: .85rem; color: var(--muted); }

@media (max-width: 480px) {
  .brand-tag { letter-spacing: .08em; font-size: .62rem; }
  .brand-name { font-size: 1.45rem; }
}
