:root {
  color-scheme: light;
  --ink: #12242a;
  --muted: #5f6f74;
  --paper: #f7fbf9;
  --panel: #ffffff;
  --line: rgba(18, 36, 42, 0.14);
  --reef: #0f6d72;
  --reef-dark: #0a4d56;
  --sun: #f2b84b;
  --snow: #e9f4f8;
  --forest: #244f3a;
  --shadow: 0 18px 48px rgba(22, 53, 57, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: linear-gradient(180deg, #f1f8f6 0%, #fbfcf8 44%, #f6fafb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--reef), var(--forest));
  font-size: 0.82rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a,
.quick-links a,
.hero-actions a,
.card-actions a,
.chips button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
.quick-links a:hover,
.hero-actions a:hover,
.card-actions a:hover,
.chips button:hover {
  border-color: rgba(15, 109, 114, 0.45);
  color: var(--reef-dark);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  padding: clamp(24px, 6vw, 72px);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 30, 34, 0.74), rgba(6, 30, 34, 0.42) 48%, rgba(6, 30, 34, 0.08)),
    url("assets/hero.jpg") center / cover;
}

.hero-copy {
  position: relative;
  max-width: 850px;
  color: white;
  padding-bottom: clamp(18px, 7vh, 88px);
}

.kicker {
  margin: 0 0 10px;
  color: var(--sun);
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.94;
  font-weight: 700;
}

.hero p {
  max-width: 680px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions,
.chips,
.card-actions,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions a:first-child {
  color: #062126;
  background: var(--sun);
  border-color: transparent;
}

.hero-actions a {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.photo-strip figure {
  position: relative;
  min-height: 180px;
  margin: 0;
  background: #d7e4e5;
  overflow: hidden;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-strip figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  border-radius: 8px;
  color: white;
  background: rgba(5, 25, 30, 0.68);
  font-size: 0.84rem;
  font-weight: 750;
}

.tool-panel,
.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(28px, 5vw, 64px) auto;
}

.tool-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.4fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1;
}

.tool-panel p,
.section-heading p,
.warning-shell p,
footer p {
  color: var(--muted);
  line-height: 1.62;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(18, 36, 42, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

.language-control,
.chips {
  grid-column: 1 / -1;
}

.chips button {
  cursor: pointer;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.stat span {
  color: var(--muted);
}

.quick-links {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.warning-shell {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  padding: 26px;
  border-radius: 8px;
  background: #103f45;
  color: white;
}

.warning-shell p {
  color: rgba(255, 255, 255, 0.84);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading p {
  max-width: 560px;
}

.style-grid,
.directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.style-card,
.resort-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(22, 53, 57, 0.07);
}

.style-card {
  padding: 18px;
}

.style-card button {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.style-card h3,
.resort-card h3 {
  margin: 8px 0 8px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.style-card p,
.resort-card p {
  color: var(--muted);
  line-height: 1.55;
}

.resort-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--reef-dark);
  background: #e5f4f1;
  font-size: 0.78rem;
  font-weight: 800;
}

.gateway {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: var(--snow);
  color: var(--muted);
  font-size: 0.9rem;
}

.gateway strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.card-actions a {
  flex: 1 1 92px;
  min-height: 36px;
  padding-inline: 9px;
  font-size: 0.84rem;
}

.empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed rgba(18, 36, 42, 0.28);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

footer {
  padding: 32px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: white;
}

@media (max-width: 940px) {
  .site-header,
  .section-heading,
  .warning-shell {
    display: block;
  }

  nav {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .hero {
    min-height: 560px;
  }

  .photo-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .tool-panel,
  .controls,
  .style-grid,
  .directory {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  nav a,
  .quick-links a,
  .hero-actions a,
  .card-actions a,
  .chips button {
    flex: 1 1 auto;
  }

  .hero {
    min-height: 520px;
    padding: 22px 16px;
  }

  .photo-strip,
  .stat-grid,
  .gateway {
    grid-template-columns: 1fr;
  }

  .photo-strip figure {
    min-height: 170px;
  }

  .tool-panel,
  .section-shell,
  .quick-links {
    width: min(100% - 24px, 1180px);
  }
}
