/* Cappadocia Weather Check · direction C "Weather Station", layout C (sky hero,
   12-column grid, tabs). Tokens: DESIGN.md. */
:root {
  --bg: #eef0f1; --surface: #ffffff; --fg: #16191b; --muted: #59636b; --line: #d3d8dc;
  --accent: #a56a12; --soft: #f5f1e8;
  --yellow: #ffd35f; --yellow-hover: #ffdc7c; --yellow-edge: #e0b03a; --yellow-lip: #c39320; --on-yellow: #111111;
  --hl-mark: rgba(255, 211, 95, .6);
  --on-row: #e1e6ea; --sky-top: rgb(96, 128, 184); --sky-bot: rgb(247, 158, 96);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131517; --surface: #1c1f22; --fg: #eceeef; --muted: #a2abb2; --line: #343a3f;
    --accent: #e3a54a; --soft: #23211c; --hl-mark: rgba(245, 172, 52, .5);
    --on-row: #262b30; --sky-top: rgb(22, 32, 70); --sky-bot: rgb(150, 78, 46); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131517; --surface: #1c1f22; --fg: #eceeef; --muted: #a2abb2; --line: #343a3f;
  --accent: #e3a54a; --soft: #23211c; --hl-mark: rgba(245, 172, 52, .5);
  --on-row: #262b30; --sky-top: rgb(22, 32, 70); --sky-bot: rgb(150, 78, 46); color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 var(--font); }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.07; font-weight: 700; }
h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: 17px; color: var(--muted); max-width: 54ch; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.mono { font: 500 12px var(--mono); letter-spacing: .06em; color: var(--muted); }
mark.hl { color: inherit; background: linear-gradient(transparent 58%, var(--hl-mark) 58%, var(--hl-mark) 94%, transparent 94%); padding: 0 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.page, .wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* buttons and options */
.btn { font: 700 17px var(--font); border: 0; border-radius: 12px; min-height: 52px; padding: 12px 20px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; width: 100%; background: var(--fg); color: var(--bg); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
/* Booking yellow: the booking buttons and the start button (owner, 2026-10-17). */
.btn.cta { background: var(--yellow); color: var(--on-yellow); font-weight: 800; font-size: 18px; min-height: 56px; box-shadow: 0 3px 0 var(--yellow-lip), inset 0 0 0 1px var(--yellow-edge); }
.btn.cta:hover { background: var(--yellow-hover); }
.btn.cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--yellow-lip); }
.btn.cta:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .btn.cta { transition: transform .08s ease, box-shadow .08s ease, background .12s ease; } .opt { transition: background .12s ease; } }
.back { font: 500 15px var(--font); background: none; border: 0; color: var(--muted); cursor: pointer; min-height: 44px; padding: 0; justify-self: start; }
.grid { display: grid; gap: 8px; }
.months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two { grid-template-columns: 1fr 1fr; }
.two .opt[data-v="x"] { grid-column: 1 / -1; }
.opt { position: relative; font: 600 16px var(--font); border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 12px; min-height: 50px; padding: 10px 14px; cursor: pointer; text-align: left; }
.months .opt { text-align: center; padding: 10px 4px; }
/* selections use the booking yellow (owner, 2026-10-17) */
.opt[aria-pressed="true"] { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow-edge); }
.grid:not(.months) .opt[aria-pressed="true"]::after { content: "✓"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; }

/* the sky hero with the wordmark */
.skyhero { position: relative; margin-top: 14px; --sky-h: 260px; --sun: 64px; --k: 1.6; --ridge: 46px; }
.sky { height: var(--sky-h); border-radius: 16px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 100%); }
.sky .sun { position: absolute; left: 76%; top: calc(var(--sky-h) - var(--sun) * .75); width: var(--sun); height: var(--sun); transform: translateX(-50%); border-radius: 50%; background: #f6c453; }
.sky .ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: var(--ridge); z-index: 1; }
.sky .ridge .far { fill: #b39d93; }
.sky .ridge .near { fill: #4a5159; }
.sky .ridge g.near { fill: #4a5159; }
.sky .read { position: absolute; inset: 0 0 auto 0; height: 26px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .08em; color: #fff; background: rgba(10, 14, 24, .42); z-index: 2; }
.sky .bal { position: absolute; z-index: 1; left: var(--x); width: calc(16px * var(--s) * var(--k)); height: calc(22px * var(--s) * var(--k)); top: calc(var(--sky-h) - var(--ridge) - 22px * var(--s) * var(--k) * var(--d)); }
@media (prefers-reduced-motion: no-preference) { .sky .bal, .sky .sun { transition: top .7s cubic-bezier(.3, .7, .3, 1); } }
.word { position: absolute; left: 28px; bottom: calc(var(--ridge) + 18px); z-index: 2; margin: 0; color: #16191b; font: 800 clamp(22px, 2.4vw, 32px)/1.05 var(--font); letter-spacing: -0.01em; pointer-events: none; }
@media (prefers-color-scheme: dark) {
  .sky .sun { background: #f2bf5a; }
  .sky .ridge .far { fill: #2a2e33; opacity: 1; }
  .sky .ridge .near, .sky .ridge g.near { fill: #0d0f11; }
  .word { color: #f4f1ea; }
}
@media (max-width: 600px) {
  .skyhero { --sky-h: 168px; --sun: 46px; --k: 1.25; --ridge: 30px; }
  .sky .bal { left: var(--xm); }
  .sky .bal.x { display: none; }
  .sky .sun { left: 82%; }
  .word { left: 16px; bottom: calc(var(--ridge) + 12px); font-size: 22px; }
}

/* the grid: quiz card (7 columns) and the three big numbers (5) */
.hero { display: grid; gap: 16px; padding-top: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-width: 0; }
.qs { display: grid; gap: 14px; align-content: start; }
.qhead { display: flex; justify-content: space-between; align-items: center; margin: -8px 0 -6px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 17px; }
.points li { position: relative; padding-left: 28px; text-wrap: balance; }
.points li::before { content: "✓"; position: absolute; left: 2px; top: 0; font-weight: 800; color: var(--accent); }
.qs .btn.cta { margin-top: 6px; }
.side { display: grid; gap: 10px; align-content: start; min-width: 0; }
.nums { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 20px 16px; }
.num { display: grid; gap: 2px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.nums > p { padding-top: 12px; }
.num .v { font: 500 clamp(36px, 4vw, 52px)/1.05 var(--mono); letter-spacing: -0.02em; }
.num .v em { font-style: normal; color: var(--accent); }
.num .v:empty { display: none; }
.mlist { display: grid; gap: 4px; margin-top: 8px; font-size: 16px; color: var(--fg); }
.mlist span { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-block: 4px; }
.mlist span.on b { background: linear-gradient(transparent 58%, var(--hl-mark) 58%, var(--hl-mark) 94%, transparent 94%); }
.mlist i { font: 500 16px var(--mono); font-style: normal; }
.num[hidden], .side p[hidden] { display: none; }
@media (min-width: 900px) {
  .hero { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; padding-top: 20px; }
  .hero > .card { grid-column: 1 / span 7; padding: 28px; align-self: start; }
  .hero > .side { grid-column: 8 / span 5; position: sticky; top: 16px; align-self: start; }
}
@media (min-width: 600px) and (max-width: 899px) { .nums { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; } .nums > p { grid-column: 1 / -1; } }

/* the result */
.month-big { font-size: clamp(44px, 6vw, 68px); font-weight: 800; line-height: .95; letter-spacing: -0.03em; }
.big-read { display: grid; gap: 4px; }
.big-read .pc { font: 500 clamp(40px, 5vw, 56px)/1 var(--mono); letter-spacing: -0.02em; }
.big-read .pc em { font-style: normal; color: var(--accent); }
.big-read .of { font-size: 16px; max-width: 42ch; text-wrap: pretty; }
.book { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.book .in { display: grid; gap: 8px; }
.photo { border-radius: 12px; overflow: hidden; }
.book.hotels .btn.cta { width: auto; justify-self: start; padding-inline: 24px; }
.photo { margin: 0; background: var(--soft); }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 28%; }
.facts { display: grid; gap: 10px; }
.fact { display: grid; grid-template-columns: 52px 1fr; gap: 10px; }
.fact b { font: 500 12px var(--mono); color: var(--muted); padding-top: 3px; letter-spacing: .05em; }

/* the tabs under the grid */
.tabs { display: grid; gap: 20px; padding-top: 40px; }
.tablist { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); }
.tablist button { font: 600 16px var(--font); background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--muted); padding: 10px 14px; cursor: pointer; min-height: 44px; }
.tablist button:hover { color: var(--fg); }
.tablist button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--yellow-edge); }
.tabpanel { display: grid; gap: 14px; }
.tabpanel > h2, .tabpanel > p, .tabpanel > details { max-width: 820px; }
.split { display: grid; gap: 28px; }
.split .main { display: grid; gap: 14px; min-width: 0; }
.method { display: grid; gap: 12px; align-content: start; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; } .method { padding-top: 6px; } .method h3 { margin-top: 0 !important; } }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { margin-top: 0; }
.tabpanel > p { max-width: 68ch; }
.tbl { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: right; }
th:first-child, td:first-child { text-align: left; }
th { font: 500 11px var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
tr.best td { font-weight: 700; }
tr.on td { background: var(--on-row); }
details { border-bottom: 1px solid var(--line); padding-block: 6px; }
summary { cursor: pointer; font-weight: 700; padding-block: 10px; line-height: 1.4; }
details p { margin: 2px 0 12px; color: var(--muted); max-width: 66ch; }
footer { border-top: 1px solid var(--line); margin-top: 56px; padding-block: 24px 48px; font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
footer p { max-width: 90ch; }

/* the 404 page */
.info { padding-block: 28px 64px; display: grid; gap: 40px; max-width: 640px; }
.info section { display: grid; gap: 12px; }
.nums:has(> p[hidden]) > .num:last-of-type { border-bottom: 0; }
