/*
  CityCost — Urban Ledger
  An editorial city guide crossed with a trustworthy decision tool.
*/

body.theme-air {
  --ink: #18342f;
  --paper: #f3efe5;
  --surface: #fffdf7;
  --action: #e95b3f;
  --action-hover: #c7442d;
  --yellow: #f0c760;
  --sky: #9cc6d2;
  --leaf: #326c59;
  --lilac: #cdb7d8;
  --muted: #66746f;
  --border: #c9c5b8;
  --warning: #a83c2c;
  --shadow: 0 18px 50px rgba(53, 63, 51, .12);
  color: var(--ink);
  background:
    linear-gradient(rgba(24, 52, 47, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 52, 47, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}

.theme-air h1,
.theme-air h2,
.theme-air h3,
.theme-air .brand-word,
.theme-air .result-number,
.theme-air .offer-panel-number,
.theme-air .offer-live-number {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.theme-air button,
.theme-air select,
.theme-air input { font: inherit; }

.theme-air .site-header {
  min-height: 76px;
  color: var(--ink);
  background: rgba(243, 239, 229, .92);
  border-bottom: 1px solid rgba(24, 52, 47, .18);
  backdrop-filter: blur(14px);
}

.theme-air .brand { gap: 10px; }
.theme-air .brand-symbol {
  width: 37px;
  height: 37px;
  transform: rotate(-3deg);
}
.theme-air .brand-symbol > path:first-child {
  fill: var(--action);
  stroke: var(--ink);
  stroke-width: 1.5;
}
.theme-air .brand-symbol circle {
  fill: var(--yellow);
  stroke: var(--ink);
  stroke-width: 1.5;
}
.theme-air .brand-symbol .brand-street { stroke: white; stroke-width: 1.6; }
.theme-air .brand-word { font-size: 1.5rem; letter-spacing: -.05em; }
.theme-air .brand-word > span { color: var(--action); }
.theme-air .desktop-nav { gap: 34px; }
.theme-air .desktop-nav a {
  color: #41534e;
  font-size: .91rem;
  font-weight: 650;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.theme-air .desktop-nav a:hover { color: var(--action-hover); text-decoration: underline; }
.theme-air .language-toggle {
  min-height: 42px;
  padding-inline: 17px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 6px;
  box-shadow: none;
}
.theme-air .language-toggle:hover { color: white; background: var(--ink); }

.theme-air .hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 76px);
  padding-top: clamp(48px, 6vw, 92px);
  padding-bottom: 48px;
  background:
    radial-gradient(circle at 85% 12%, rgba(240,199,96,.46), transparent 18%),
    linear-gradient(115deg, rgba(255,253,247,.9), rgba(243,239,229,.5));
}
.theme-air .hero::before {
  content: "";
  position: absolute;
  width: 46vw;
  height: 46vw;
  max-width: 680px;
  max-height: 680px;
  right: -16vw;
  top: 20px;
  border: 1px solid rgba(24,52,47,.16);
  border-radius: 50%;
  pointer-events: none;
}
.theme-air .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(24,52,47,.04) 50% 50.15%, transparent 50.15%);
  pointer-events: none;
}
.theme-air .hero > * { position: relative; z-index: 1; }

.theme-air .hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  margin-bottom: clamp(32px, 4vw, 58px);
}
.theme-air .hero-message { max-width: 810px; }
.theme-air .eyebrow {
  color: var(--action-hover);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.theme-air .hero-message .eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin: 0 10px 3px 0;
  background: currentColor;
}
.theme-air .hero-message h1 {
  max-width: 780px;
  margin: 16px 0 20px;
  color: var(--ink);
  font-size: clamp(3.5rem, 6.5vw, 7.1rem);
  line-height: .87;
}
.theme-air .hero-subhead {
  max-width: 650px;
  margin: 0;
  color: #4b5b56;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.theme-air .city-life-art {
  position: relative;
  min-height: 280px;
  transform: rotate(1.5deg);
}
.theme-air .sun-disc {
  position: absolute;
  width: 112px;
  height: 112px;
  right: 9%;
  top: 0;
  border-radius: 50%;
  background: var(--yellow);
  border: 1px solid var(--ink);
}
.theme-air .art-window {
  position: absolute;
  inset: 48px 0 8px 9%;
  overflow: hidden;
  background: var(--sky);
  border: 2px solid var(--ink);
  border-radius: 120px 120px 10px 10px;
  box-shadow: 13px 13px 0 var(--lilac);
}
.theme-air .art-window::before,
.theme-air .art-window::after {
  content: "";
  position: absolute;
  bottom: 0;
  background: var(--ink);
}
.theme-air .art-window::before {
  left: 14%; width: 24%; height: 42%;
  clip-path: polygon(0 100%, 8% 30%, 27% 30%, 32% 0, 51% 0, 55% 47%, 75% 47%, 82% 20%, 100% 20%, 100% 100%);
}
.theme-air .art-window::after {
  right: 8%; width: 43%; height: 58%;
  clip-path: polygon(0 100%, 0 44%, 18% 44%, 18% 15%, 39% 15%, 42% 0, 64% 0, 64% 52%, 79% 52%, 82% 31%, 100% 31%, 100% 100%);
}
.theme-air .awning { display: none; }
.theme-air .window-copy {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 38px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.48rem;
  font-style: italic;
  line-height: .92;
}
.theme-air .cafe-table {
  position: absolute;
  z-index: 3;
  right: 19%;
  bottom: 28px;
  width: 76px;
  height: 10px;
  background: var(--action);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.theme-air .cafe-table::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 54px;
  left: 50%;
  top: 7px;
  background: var(--ink);
}
.theme-air .plant { display: none; }
.theme-air .art-note {
  position: absolute;
  z-index: 4;
  right: -3%;
  bottom: 0;
  padding: 9px 14px;
  color: white;
  background: var(--action);
  border: 1px solid var(--ink);
  font-size: .79rem;
  font-weight: 750;
  letter-spacing: .02em;
  transform: rotate(-4deg);
}

.theme-air .calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(330px, .97fr);
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: 12px;
  box-shadow: 12px 14px 0 rgba(24,52,47,.14);
}
.theme-air .calculator {
  padding: clamp(24px, 3.2vw, 46px);
  background: var(--surface);
  border-right: 1px solid var(--ink);
}
.theme-air .field label {
  margin-bottom: 8px;
  color: #52615d;
  font-size: .76rem;
  font-weight: 750;
}
.theme-air .field select,
.theme-air .money-input {
  min-height: 54px;
  color: var(--ink);
  background: #f7f4eb;
  border: 1px solid #a9afa7;
  border-radius: 5px;
  box-shadow: inset 0 -2px 0 rgba(24,52,47,.07);
}
.theme-air .field select:focus,
.theme-air .money-input:focus-within {
  outline: 3px solid rgba(233,91,63,.24);
  border-color: var(--action);
}
.theme-air .swap-button {
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: none;
}
.theme-air .swap-button:hover { transform: rotate(180deg); background: #f6d77e; }
.theme-air .primary-button,
.theme-air .offer-calculate-button {
  color: white;
  background: var(--action);
  border: 1px solid var(--ink);
  border-radius: 5px;
  box-shadow: 4px 4px 0 var(--ink);
}
.theme-air .primary-button:hover,
.theme-air .offer-calculate-button:hover {
  background: var(--action-hover);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}
.theme-air .primary-button:active,
.theme-air .offer-calculate-button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.theme-air .form-note { color: var(--muted); }

.theme-air .result-card {
  position: relative;
  min-height: 100%;
  padding: clamp(28px, 3.2vw, 48px);
  color: #f9f3e8;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    var(--ink);
  background-size: 100% 36px;
}
.theme-air .result-card::after {
  content: "estimate";
  position: absolute;
  right: 20px;
  top: 18px;
  color: rgba(255,255,255,.2);
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-style: italic;
  transform: rotate(-5deg);
}
.theme-air .result-topline { color: #f2d783; }
.theme-air .status-dot { display: none; }
.theme-air .result-context { color: #bac7c2; }
.theme-air .result-number {
  color: white;
  font-size: clamp(3.7rem, 6vw, 6.4rem);
  font-variant-numeric: tabular-nums;
}
.theme-air .result-delta { color: #f3b19f; }
.theme-air .result-summary { border-top-color: rgba(255,255,255,.25); }
.theme-air .result-summary span { color: #a8b6b1; }
.theme-air .demo-note { color: #98a7a2; }

.theme-air .upgrade-strip {
  margin-top: 18px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: none;
}
.theme-air .upgrade-icon {
  color: white;
  background: var(--action);
  border-radius: 5px;
}
.theme-air .upgrade-kicker { color: #755c1b; }
.theme-air .upgrade-button {
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 5px;
  box-shadow: none;
}
.theme-air .upgrade-button:hover { background: var(--action-hover); transform: translateY(-2px); }

.theme-air .section-pad { padding-top: clamp(86px, 10vw, 150px); padding-bottom: clamp(96px, 11vw, 170px); }
.theme-air .breakdown { background: #fffdf7; }
.theme-air .section-heading { max-width: 740px; }
.theme-air .section-heading h2,
.theme-air .offer-copy h2,
.theme-air .methodology h2 {
  color: var(--ink);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: .94;
}
.theme-air .section-heading > p:last-child,
.theme-air .offer-copy > p,
.theme-air .method-copy > p { color: var(--muted); }
.theme-air .breakdown-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  margin-top: 52px;
  border: 1px solid var(--ink);
}
.theme-air .cost-card {
  grid-column: span 4;
  min-height: 190px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}
.theme-air .cost-card:nth-child(3n) { border-right: 0; }
.theme-air .cost-card:nth-last-child(-n+3) { border-bottom: 0; }
.theme-air .cost-card:nth-child(2),
.theme-air .cost-card:nth-child(5) { background: #e4efe9; }
.theme-air .cost-card:nth-child(3),
.theme-air .cost-card:nth-child(4) { background: #f7e4d9; }
.theme-air .cost-card strong { color: var(--action-hover); font-family: Georgia, serif; font-variant-numeric: tabular-nums; }
.theme-air .cost-card.negative strong { color: var(--leaf); }
.theme-air .cost-card small { color: var(--muted); }

.theme-air .offer-section {
  position: relative;
  color: white;
  background: var(--ink);
}
.theme-air .offer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  background: repeating-linear-gradient(120deg, transparent 0 54px, white 55px 56px);
  pointer-events: none;
}
.theme-air .offer-section > * { position: relative; }
.theme-air .offer-copy .eyebrow { color: #f0c760; }
.theme-air .offer-copy h2 { color: white; }
.theme-air .offer-copy > p { color: #b9c7c2; }
.theme-air .check-list li { border-bottom-color: rgba(255,255,255,.24); }
.theme-air .check-list li::before { color: var(--yellow); }
.theme-air .offer-panel {
  color: var(--ink);
  background: #fff8e9;
  border: 1px solid #fff8e9;
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--action);
  transform: rotate(1deg);
}
.theme-air .offer-panel-header { border-bottom-color: #d4cdbc; }
.theme-air .decision-badge { color: white; background: var(--action); border-radius: 3px; }
.theme-air .offer-panel-number { color: var(--ink); font-variant-numeric: tabular-nums; }
.theme-air .negotiation-row { background: #e7eee9; border-radius: 4px; }
.theme-air .dark-button { color: white; background: var(--ink); border-radius: 5px; }
.theme-air .dark-button:hover { background: var(--action); transform: translateY(-2px); }

.theme-air .steps { background: var(--yellow); }
.theme-air .steps-grid { gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.theme-air .steps-grid article { color: var(--ink); background: transparent; border: 0; border-right: 1px solid var(--ink); border-radius: 0; box-shadow: none; }
.theme-air .steps-grid article:last-child { border-right: 0; }
.theme-air .steps-grid article > span { color: var(--action-hover); font-family: Georgia, serif; font-size: 3rem; }

.theme-air .methodology { color: var(--ink); background: #dce9e4; }
.theme-air .source-row { background: rgba(255,255,255,.55); border: 1px solid rgba(24,52,47,.25); border-radius: 5px; }
.theme-air .fine-print { color: var(--muted); }
.theme-air footer { color: #dce6e2; background: #102822; border-top: 0; }
.theme-air footer .brand-symbol > path:first-child { stroke: white; }

.theme-air .offer-dialog::backdrop,
.theme-air .checkout-dialog::backdrop { background: rgba(16, 40, 34, .78); backdrop-filter: blur(8px); }
.theme-air .offer-dialog-shell,
.theme-air .checkout-dialog form { color: var(--ink); background: var(--paper); border: 1px solid var(--ink); }
.theme-air .dialog-header { border-bottom-color: var(--border); }
.theme-air .dialog-close { color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 50%; }
.theme-air .offer-form { background: #fffdf7; border-right-color: var(--border); }
.theme-air .offer-step > span { color: white; background: var(--action); border-radius: 4px; }
.theme-air .offer-live-result { color: white; background: var(--ink); }
.theme-air .offer-live-result > p { color: #b8c5c1; }
.theme-air .offer-live-number { color: white; font-variant-numeric: tabular-nums; }
.theme-air .offer-metrics { border-color: rgba(255,255,255,.24); }
.theme-air .offer-metrics span { color: #aab9b4; }
.theme-air .report-lock { color: var(--ink); background: var(--yellow); border-radius: 6px; }
.theme-air .lock-symbol { background: var(--action); }
.theme-air .unlock-button { color: white; background: var(--ink); border-radius: 5px; }
.theme-air .unlock-button:hover { background: var(--action-hover); }
.theme-air .checkout-line { background: #fffdf7; border-color: var(--border); }

.theme-air button,
.theme-air a { transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.theme-air button:focus-visible,
.theme-air a:focus-visible,
.theme-air select:focus-visible,
.theme-air input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 900px) {
  .theme-air .header-actions { position: absolute; left: calc(min(100vw, 390px) - 70px); right: auto; top: 13px; z-index: 2; }
  .theme-air .language-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; min-height: 38px; padding-inline: 10px; }
  .theme-air .hero { min-height: auto; padding-top: 34px; }
  .theme-air .hero-copy { grid-template-columns: 1fr; gap: 22px; }
  .theme-air .hero-message h1 { max-width: 690px; font-size: clamp(3.5rem, 11vw, 6rem); }
  .theme-air .city-life-art { min-height: 190px; width: min(420px, 92%); justify-self: end; }
  .theme-air .art-window { inset: 26px 0 4px 4%; }
  .theme-air .sun-disc { width: 78px; height: 78px; }
  .theme-air .calculator-shell { grid-template-columns: 1fr; }
  .theme-air .calculator { border-right: 0; border-bottom: 1px solid var(--ink); }
  .theme-air .result-card { min-height: 420px; }
  .theme-air .cost-card { grid-column: span 6; }
  .theme-air .cost-card:nth-child(3n) { border-right: 1px solid var(--ink); }
  .theme-air .cost-card:nth-child(2n) { border-right: 0; }
  .theme-air .cost-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--ink); }
  .theme-air .cost-card:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 640px) {
  .theme-air .site-header { min-height: 64px; }
  .theme-air .header-actions { position: absolute; left: calc(min(100vw, 390px) - 70px); right: auto; top: 13px; z-index: 2; }
  .theme-air .brand-symbol { width: 34px; height: 34px; }
  .theme-air .brand-word { font-size: 1.22rem; }
  .theme-air .language-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; min-height: 38px; padding-inline: 10px; }
  .theme-air .hero { padding: 24px 14px 38px; }
  .theme-air .hero-copy { display: block; margin-bottom: 18px; }
  .theme-air .hero-message .eyebrow { margin-bottom: 8px; font-size: .65rem; }
  .theme-air .hero-message h1 {
    max-width: 360px;
    margin: 10px 0 12px;
    font-size: clamp(2.45rem, 11.5vw, 3.25rem);
    line-height: .9;
  }
  .theme-air .hero-subhead { max-width: 36ch; font-size: .95rem; line-height: 1.42; }
  .theme-air .city-life-art { display: none; }
  .theme-air .calculator-shell { margin-top: 18px; border-radius: 9px; box-shadow: 6px 7px 0 rgba(24,52,47,.15); }
  .theme-air .calculator { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .theme-air .calculator .field:nth-of-type(1) { order: 1; }
  .theme-air .swap-button { order: 2; transform: rotate(90deg); margin: -2px 0; }
  .theme-air .calculator .field:nth-of-type(2) { order: 3; }
  .theme-air .income-field { grid-column: auto; order: 4; }
  .theme-air .calculator .primary-button { grid-column: auto; order: 5; }
  .theme-air .form-note { grid-column: auto; order: 6; }
  .theme-air .field select,
  .theme-air .money-input { min-height: 46px; }
  .theme-air .primary-button { min-height: 48px; box-shadow: 3px 3px 0 var(--ink); }
  .theme-air .result-card { min-height: 340px; padding: 24px 20px; }
  .theme-air .result-card::after { display: none; }
  .theme-air .result-number { font-size: 3.25rem; }
  .theme-air .upgrade-strip { margin-top: 14px; padding: 13px; }
  .theme-air .upgrade-kicker { font-size: .62rem; }
  .theme-air .upgrade-strip strong { font-size: .92rem; }
  .theme-air .upgrade-button { min-height: 46px; }
  .theme-air .section-pad { padding-top: 76px; padding-bottom: 84px; }
  .theme-air .section-heading h2,
  .theme-air .offer-copy h2,
  .theme-air .methodology h2 { font-size: 2.7rem; }
  .theme-air .breakdown-grid { margin-top: 34px; }
  .theme-air .cost-card { grid-column: span 6; min-height: 142px; padding: 18px; }
  .theme-air .cost-card strong { font-size: 2.35rem; }
  .theme-air .offer-panel { transform: none; box-shadow: 7px 7px 0 var(--action); }
  .theme-air .steps-grid article { border-right: 0; border-bottom: 1px solid var(--ink); }
  .theme-air .steps-grid article:last-child { border-bottom: 0; }
  .theme-air .offer-dialog-shell { min-height: 100dvh; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-air *,
  .theme-air *::before,
  .theme-air *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
