:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #59645f;
  --paper: #fbfaf6;
  --wash: #edf3ef;
  --line: #d9ded8;
  --teal: #0e6d6f;
  --teal-dark: #08484a;
  --copper: #a95e2f;
  --gold: #c69a44;
  --rose: #8d3e51;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(17, 29, 27, 0.13);
  --radius: 8px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--paper);
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(24, 33, 31, 0.1);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: #34403c;
  font-size: 0.95rem;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--teal);
}

.age-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--teal-dark);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(72svh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #11211e;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("resort-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 19, 18, 0.82) 0%, rgba(9, 19, 18, 0.55) 38%, rgba(9, 19, 18, 0.12) 76%),
    linear-gradient(0deg, rgba(9, 19, 18, 0.45), rgba(9, 19, 18, 0.1));
}

.hero-shell {
  position: relative;
  padding: clamp(44px, 7vw, 76px) 0 clamp(26px, 4vw, 44px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #f4c36e;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.32rem;
}

.hero-copy {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions,
.filter-row,
.tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 24px;
}

.button,
.inline-button,
.filter-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button.primary {
  color: #10201e;
  background: #f5c46b;
  border-color: #f5c46b;
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button:hover,
.inline-button:hover,
.filter-button:hover {
  transform: translateY(-1px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin-top: clamp(24px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-facts div {
  min-height: 78px;
  padding: 16px;
  background: rgba(9, 19, 18, 0.42);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 1.7rem;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}

.policy-band {
  background: var(--teal-dark);
  color: var(--white);
}

.policy-band-grid {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.policy-band p {
  margin: 0;
  max-width: 880px;
  color: rgba(255, 255, 255, 0.88);
}

.inline-button {
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  white-space: nowrap;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.intro-section,
.methodology-section,
.faq-section {
  background: var(--paper);
}

.guide-tools,
.policy-section {
  background: var(--wash);
}

.guide-tools {
  position: relative;
  overflow: hidden;
}

.guide-tools::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(14, 109, 111, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(169, 94, 47, 0.11), transparent 42%);
}

.guide-tools > .shell {
  position: relative;
}

.matrix-section {
  background: var(--white);
}

.split-layout,
.section-head,
.methodology-grid,
.policy-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-copy p,
.section-head p,
.methodology-grid > div > p,
.policy-points p,
.site-page-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.03rem;
}

.section-head {
  margin-bottom: 28px;
}

.section-head.compact {
  margin-bottom: 18px;
}

.lens-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.lens-card {
  position: relative;
  min-height: 172px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: #17231f;
  box-shadow: 0 16px 30px rgba(17, 29, 27, 0.11);
}

.lens-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 320ms ease;
}

.lens-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 19, 17, 0.84), rgba(10, 19, 17, 0.04) 62%);
}

.lens-card div {
  position: relative;
  z-index: 1;
  padding: 14px;
  color: var(--white);
}

.lens-card span,
.lens-card strong {
  display: block;
}

.lens-card span {
  color: #f4c36e;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lens-card strong {
  margin-top: 2px;
  font-size: 0.96rem;
  line-height: 1.1;
}

.lens-card:hover img {
  transform: scale(1.06);
}

.tool-panel {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(17, 29, 27, 0.06);
}

.search-label {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#resort-search {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #cbd4cf;
  border-radius: var(--radius);
  background: #fdfdfb;
  color: var(--ink);
}

#resort-search:focus,
.filter-button:focus,
.button:focus,
.inline-button:focus,
summary:focus {
  outline: 3px solid rgba(14, 109, 111, 0.26);
  outline-offset: 2px;
}

.filter-button {
  border: 1px solid var(--line);
  background: #f7f8f4;
  color: #30413d;
  padding: 0 13px;
}

.filter-button.is-active {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
}

.resort-card {
  min-height: 610px;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  padding: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 29, 27, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.resort-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 109, 111, 0.26);
  box-shadow: 0 22px 46px rgba(17, 29, 27, 0.15);
}

.resort-card[hidden] {
  display: none;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #17231f;
}

.card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 360ms ease;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 19, 17, 0), rgba(10, 19, 17, 0.28));
}

.card-media figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(17, 29, 27, 0.15);
}

.resort-card:hover .card-media img {
  transform: scale(1.045);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
}

.resort-card h3,
.resort-card .location,
.resort-card .opinion,
.resort-card .quick-list,
.resort-card .tag-row {
  margin-left: 22px;
  margin-right: 22px;
}

.rank {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  border-radius: var(--radius);
  background: #eef4f0;
  color: var(--teal-dark);
  font-weight: 800;
}

.grade {
  font-weight: 800;
  color: var(--rose);
}

.location {
  margin-top: -6px;
  margin-bottom: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.opinion {
  margin: 0;
  color: #3f4c48;
}

.quick-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.quick-list div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: start;
}

.quick-list dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-list dd {
  margin: 0;
  color: #263430;
}

.tag-row {
  margin-top: 4px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: #f1eee6;
  color: #5c402b;
  font-size: 0.84rem;
  font-weight: 800;
}

.no-results {
  margin: 24px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: #10201e;
  color: var(--white);
  font-size: 0.86rem;
}

tbody th {
  color: var(--teal-dark);
}

tbody tr:nth-child(even) {
  background: #f7faf6;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.method-list article {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.method-list span {
  color: var(--copper);
  font-weight: 900;
}

.method-list h3 {
  margin-top: 12px;
}

.method-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.policy-points {
  padding-left: 24px;
  border-left: 3px solid var(--teal);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.site-footer {
  background: #101816;
  color: var(--white);
  padding: 42px 0 24px;
}

.footer-grid {
  align-items: center;
}

.footer-brand .brand-mark {
  background: var(--white);
  color: #101816;
}

.footer-brand small,
.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid p {
  max-width: 650px;
  margin: 18px 0 0;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.86);
}

.fine-print {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.fine-print p {
  margin: 0;
  font-size: 0.88rem;
}

.site-page-hero {
  padding: 74px 0 38px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.site-page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.site-page-copy {
  padding: 54px 0 82px;
}

.page-copy-inner {
  max-width: 860px;
}

.site-page-copy h2 {
  margin: 32px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.site-page-copy ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
}

.site-page-copy li {
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 66px;
  }

  .nav-links {
    display: none;
  }

  .age-pill {
    font-size: 0.78rem;
  }

  .policy-band-grid,
  .split-layout,
  .section-head,
  .methodology-grid,
  .policy-grid,
  .footer-grid,
  .tool-panel {
    grid-template-columns: 1fr;
  }

  .tool-panel {
    align-items: stretch;
  }

  .result-count {
    white-space: normal;
  }

  .lens-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 70svh;
  }

  .hero-media {
    background-position: 62% center;
  }

  .cards-grid,
  .method-list {
    grid-template-columns: 1fr;
  }

  .lens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lens-card {
    min-height: 150px;
  }

  .hero-facts div {
    min-height: 66px;
    padding: 10px;
  }

  .policy-band-grid {
    padding: 22px 0;
  }

  .resort-card {
    min-height: auto;
  }

  .quick-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 460px) {
  .brand small,
  .age-pill {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .card-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-button {
    flex: 1 1 auto;
  }

  .lens-grid {
    grid-template-columns: 1fr;
  }

  .lens-card {
    min-height: 188px;
  }

  .card-media figcaption {
    left: 10px;
    bottom: 10px;
  }

  .hero-facts strong {
    font-size: 1.3rem;
  }

  .hero-facts span {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
