:root {
  --ink: #102235;
  --muted: #617083;
  --paper: #fffaf0;
  --sand: #f4dfb6;
  --sea: #0b5f7a;
  --sea-dark: #0b2239;
  --green: #52796f;
  --wine: #b9822f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 34, 57, .18);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(244, 223, 182, .9), transparent 34rem),
    radial-gradient(circle at top right, rgba(11, 95, 122, .18), transparent 30rem),
    var(--paper);
  line-height: 1.6;
}

a { color: inherit; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--sea-dark);
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
  z-index: 20;
}
.skip-link:focus { top: 1rem; }

.site-header {
  min-height: 92vh;
  padding: calc(env(safe-area-inset-top) + 1rem) clamp(1rem, 4vw, 4rem) 3rem;
  background:
    linear-gradient(135deg, rgba(11, 34, 57, .94), rgba(11, 95, 122, .82)),
    radial-gradient(circle at 85% 15%, rgba(244, 223, 182, .42), transparent 24rem);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto -10% -16rem -10%;
  height: 28rem;
  background: rgba(255,255,255,.09);
  border-radius: 50% 50% 0 0;
  transform: rotate(-2deg);
}
.nav, .hero { position: relative; z-index: 1; }
.nav {
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sand), #fff4cf);
  color: var(--sea-dark);
  font-weight: 900;
  letter-spacing: -.08em;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text small { opacity: .76; margin-top: .2rem; }
.nav-links { display: flex; gap: .5rem; align-items: center; }
.nav-links a, .menu-button {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: white;
  text-decoration: none;
  padding: .7rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(12px);
}
.menu-button { display: none; font: inherit; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-top: clamp(4rem, 10vw, 8rem);
}
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--wine);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
}
.site-header .eyebrow { color: #f7d48f; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: .92;
  letter-spacing: -.07em;
  margin-bottom: 1.4rem;
}
.hero-text { max-width: 64ch; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.82); }
.hero-actions, .contact-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}
.button.primary { background: var(--sand); color: var(--sea-dark); }
.button.secondary { border-color: rgba(16, 34, 53, .18); background: rgba(255,255,255,.7); color: var(--sea-dark); }
.site-header .button.secondary { border-color: rgba(255,255,255,.28); color: white; background: rgba(255,255,255,.1); }

.hero-card {
  min-height: 25rem;
  padding: 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.08)),
    radial-gradient(circle at 30% 20%, rgba(244,223,182,.35), transparent 15rem);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-card h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.05em; }
.hero-card p { font-size: 1.5rem; color: rgba(255,255,255,.78); }
.live-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.live-pill span {
  width: .6rem;
  height: .6rem;
  border-radius: 999px;
  background: #ff6d4d;
  box-shadow: 0 0 0 .35rem rgba(255,109,77,.18);
}
.hero-player-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}
.hero-player-frame {
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 14px 38px rgba(11,34,57,.16);
}
.hero-player-frame iframe {
  display: block;
  width: 100%;
  height: 92px;
  border: 0;
}
.wave { display: flex; align-items: end; gap: .45rem; height: 4.5rem; }
.wave i { width: .8rem; border-radius: 99px; background: rgba(255,255,255,.78); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(1) { height: 40%; }
.wave i:nth-child(2) { height: 70%; animation-delay: .08s; }
.wave i:nth-child(3) { height: 95%; animation-delay: .16s; }
.wave i:nth-child(4) { height: 62%; animation-delay: .24s; }
.wave i:nth-child(5) { height: 82%; animation-delay: .32s; }
@keyframes wave { 50% { transform: scaleY(.45); opacity: .62; } }

.section { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem); max-width: 1180px; margin: 0 auto; }
.section-heading { max-width: 760px; margin-bottom: 1.5rem; }
.section-heading h2, .identity-card h2, .contact-section h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 1rem; }
.section-heading p:not(.eyebrow), .identity-card p, .contact-section p { color: var(--muted); font-size: 1.05rem; }
.identity-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.2rem; align-items: stretch; }
.identity-card, .identity-grid article, .card, .news-item, .contact-section {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(16,34,53,.1);
  box-shadow: 0 18px 52px rgba(11,34,57,.08);
  border-radius: var(--radius);
}
.identity-card { padding: clamp(1.4rem, 3vw, 2.4rem); }
.identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.identity-grid article { padding: 1.2rem; }
.identity-grid span { font-size: 2rem; }
.identity-grid h3 { margin: .5rem 0 .2rem; }
.identity-grid p { color: var(--muted); margin-bottom: 0; }
.cards.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { padding: 1.4rem; }
.tag { display: inline-flex; padding: .35rem .65rem; border-radius: 999px; background: rgba(82,121,111,.14); color: var(--green); font-weight: 800; font-size: .8rem; margin-bottom: 1rem; }
.card p, .news-item p { color: var(--muted); }
.news-list { display: grid; gap: .9rem; }
.news-item { padding: 1.2rem; }
.news-item time { color: var(--wine); font-weight: 800; font-size: .88rem; }
.news-item a { font-weight: 800; text-decoration-thickness: .12em; }
.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-footer { padding: 2rem clamp(1rem,4vw,4rem); color: rgba(255,255,255,.74); background: var(--sea-dark); display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.footer-note { opacity: .7; }


.guess-section {
  max-width: 1180px;
}

.guess-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 1.2rem;
  align-items: stretch;
  padding: clamp(1rem, 2.8vw, 1.6rem);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,34,53,.1);
  box-shadow: 0 18px 52px rgba(11,34,57,.08);
}

.guess-image-wrap {
  min-height: 18rem;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(11,34,57,.08);
}

.guess-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.guess-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .8rem;
  padding: clamp(.4rem, 2vw, 1rem);
}

.guess-form label {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 900;
  color: var(--sea-dark);
}

.guess-hint {
  margin: 0 0 .4rem;
  color: var(--muted);
}

.guess-form input {
  width: 100%;
  min-height: 3.3rem;
  padding: .9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(16,34,53,.18);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.guess-form input:focus {
  border-color: rgba(11,95,122,.55);
  box-shadow: 0 0 0 4px rgba(11,95,122,.12);
}

.guess-result {
  min-height: 1.6rem;
  margin: .2rem 0 0;
  font-weight: 800;
}

.guess-result.is-correct { color: #286b42; }
.guess-result.is-wrong { color: #9b3b2d; }
.guess-result.is-neutral { color: var(--muted); }

@media (max-width: 820px) {
  .menu-button { display: inline-flex; }
  .nav { align-items: flex-start; }
  .nav-links {
    display: none;
    position: absolute;
    z-index: 30;
    top: 4.2rem;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    min-width: 13rem;
    padding: .75rem;
    border-radius: 22px;
    background: rgba(11,34,57,.92);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero, .identity-section, .cards.three, .guess-card { grid-template-columns: 1fr; }
  h1 { max-width: 10ch; }
  .hero-card { min-height: 18rem; }
  .contact-section { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .site-header { min-height: auto; }
  .brand-text small { font-size: .72rem; }
  .identity-grid { grid-template-columns: 1fr; }
  .hero-actions .button, .contact-actions .button { width: 100%; }
  .hero-player-row { grid-template-columns: 1fr; }
  .hero-player-frame iframe { height: 100px; }
  .wave { justify-content: center; }
}
