:root {
  --ocean: #0b6785;
  --deep: #083f56;
  --sea: #32a6b2;
  --sand: #e9bf69;
  --sunset: #e88957;
  --ink: #102c3a;
  --muted: #5d717b;
  --foam: #f4faf9;
  --white: #ffffff;
  --line: #dbe7e8;
  --shadow: 0 18px 50px rgba(4, 48, 65, .12);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--foam); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: #fff; padding: 12px; }
.skip-link:focus { left: 12px; }

.site-header { height: 64px; background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.nav-wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand img { width: 50px; height: 50px; object-fit: contain; border-radius: 0; background: #fff; display: block; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .68rem; font-weight: 650; letter-spacing: .03em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-size: .93rem; font-weight: 750; color: #294b5a; }
.nav-links a:hover { color: var(--ocean); }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; padding: 8px 12px; font-weight: 800; }

.live-stage { min-height: calc(100svh - 64px); background: #031b25; display: grid; place-items: center; overflow: hidden; position: relative; }
.video-shell { width: min(100vw, calc((100svh - 64px) * 16 / 9)); max-width: 1600px; aspect-ratio: 16 / 9; background: #000; position: relative; box-shadow: 0 0 70px rgba(0,0,0,.5); }
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-badge { position: absolute; z-index: 2; left: 18px; top: 18px; display: flex; align-items: center; gap: 8px; background: rgba(4,24,32,.82); color: white; padding: 9px 12px; border-radius: 999px; font-weight: 800; font-size: .84rem; backdrop-filter: blur(8px); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #f04d45; box-shadow: 0 0 0 5px rgba(240,77,69,.18); }
.youtube-link { position: absolute; z-index: 2; right: 18px; bottom: 18px; background: rgba(4,24,32,.8); color: white; padding: 9px 12px; border-radius: 999px; text-decoration: none; font-weight: 750; font-size: .82rem; backdrop-filter: blur(8px); }

.quick-strip { background: white; border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-item { min-height: 100px; padding: 20px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.quick-item:last-child { border-right: 0; }
.quick-label { color: var(--muted); text-transform: uppercase; letter-spacing: .09em; font-weight: 800; font-size: .7rem; }
.quick-value { font-size: 1.25rem; font-weight: 850; margin-top: 4px; }
.quick-sub { color: var(--muted); font-size: .8rem; margin-top: 3px; }

.section { padding: 76px 0; }
.section-alt { background: #eaf5f4; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head h1, .section-head h2 { margin: 5px 0 0; letter-spacing: -.04em; line-height: 1.05; }
.section-head h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section-head p { max-width: 690px; margin: 10px 0 0; color: var(--muted); line-height: 1.65; }
.kicker { color: var(--ocean); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 900; }
.text-link { color: var(--ocean); text-decoration: none; font-weight: 850; white-space: nowrap; }

.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-pad { padding: 26px; }
.card-label { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 900; }
.condition-main { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; }
.condition-temp { font-size: clamp(3rem, 7vw, 5rem); line-height: .95; font-weight: 900; letter-spacing: -.06em; }
.condition-icon { font-size: 3.3rem; }
.condition-desc { color: var(--muted); margin-top: 8px; font-weight: 700; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.stat { background: var(--foam); border-radius: 14px; padding: 14px 16px; }
.stat span { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.stat strong { display: block; margin-top: 5px; font-size: 1.08rem; }
.source-note { margin-top: 18px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.source-note a { color: var(--ocean); }
.forecast-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.forecast-tile { min-width: 0; background: var(--foam); border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; }
.forecast-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.forecast-name { font-weight: 850; font-size: .82rem; line-height: 1.15; }
.forecast-icon { font-size: 1.75rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 1.85rem; }
.forecast-temp { margin-top: 7px; font-size: 1.4rem; line-height: 1; font-weight: 900; color: var(--ocean); }
.forecast-metrics { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7px; margin-top: 9px; }
.forecast-metrics span { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; }
.forecast-metrics small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .58rem; line-height: 1; font-weight: 850; }
.forecast-metrics strong { display: block; margin-top: 4px; font-size: .82rem; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }
.weather-alert { display: block; margin-top: 12px; background: #fff2e8; border: 1px solid #f6caa9; padding: 12px 14px; border-radius: 12px; color: #7a3b13; font-weight: 750; text-decoration: none; }

.conditions-section { padding: 54px 0 58px; }
.conditions-head { margin-bottom: 22px; }
.conditions-overview { display: grid; grid-template-columns: .9fr 1.12fr 1.05fr; gap: 18px; align-items: stretch; }
.compact-card { min-width: 0; }
.compact-card.card-pad { padding: 21px; }
.compact-condition { margin-top: 11px; align-items: center; }
.compact-condition > div:first-child { flex: 1 1 58%; min-width: 0; }
.compact-condition .condition-temp { font-size: clamp(2.8rem, 5vw, 4rem); }
.compact-condition .condition-icon {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 92px;
  font-size: clamp(4rem, 6vw, 5rem);
  line-height: 1;
  text-align: center;
}
.compact-stats { gap: 9px; margin-top: 17px; }
.compact-stats .stat { padding: 11px 12px; }
.compact-source { margin-top: 13px; }
.compact-forecast { grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.compact-forecast .forecast-tile { padding: 11px 12px; }
.compact-forecast .forecast-icon { font-size: 2rem; min-width: 2.1rem; }
.compact-forecast .forecast-temp { font-size: 1.45rem; }
.compact-forecast .forecast-metrics strong { font-size: .78rem; }
.compact-surf-head { padding: 20px 20px 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.compact-surf-head strong { font-size: .92rem; }
.surf-card { display: flex; flex-direction: column; }
.surf-widget-wrap { padding: 12px; background: white; }
.compact-surf-widget { flex: 1 1 auto; height: auto; min-height: 0; overflow: visible; border-top: 1px solid var(--line); }
.compact-surf-widget > div { width: 100%; }
.compact-surf-widget iframe { display: block; width: 100% !important; max-width: 100%; border: 0; }
.surf-page-widget { height: auto; }

.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; gap: 18px; box-shadow: 0 10px 30px rgba(4,48,65,.07); min-height: 180px; }
.event-date { width: 62px; flex: 0 0 62px; height: 72px; border-radius: 14px; background: var(--deep); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event-date span { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 800; }
.event-date strong { font-size: 1.65rem; line-height: 1; margin-top: 3px; }
.event-body { min-width: 0; }
.event-source { color: var(--ocean); font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.event-body h3 { margin: 6px 0 8px; font-size: 1.05rem; line-height: 1.25; }
.event-meta { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.event-body a { display: inline-block; margin-top: 12px; color: var(--ocean); text-decoration: none; font-size: .83rem; font-weight: 850; }
.event-empty { grid-column: 1 / -1; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.events-status { color: var(--muted); font-size: .8rem; margin-top: 16px; }

.contact-band { background: var(--deep); color: white; padding: 48px 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-inner h2 { margin: 0; font-size: clamp(1.55rem, 4vw, 2.4rem); letter-spacing: -.03em; }
.contact-inner p { color: #c7dce2; max-width: 680px; margin: 8px 0 0; line-height: 1.6; }
.email-button { display: inline-block; background: white; color: var(--deep); padding: 13px 17px; border-radius: 12px; text-decoration: none; font-weight: 900; white-space: nowrap; }

.site-footer { background: #062d3e; color: #c4d7dd; padding: 28px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .8rem; }
.footer-row a { color: white; text-decoration: none; }

.page-hero { padding: 56px 0 30px; background: linear-gradient(180deg,#e8f5f5,#f4faf9); }
.page-hero p { max-width: 760px; color: var(--muted); line-height: 1.65; }
.prose { max-width: 820px; line-height: 1.75; }
.prose h2 { margin-top: 2rem; }
.prose a { color: var(--ocean); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); padding: 12px 16px 18px; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 8px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-item:nth-child(2) { border-right: 0; }
  .quick-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .conditions-overview { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 22px, 1180px); }
  .brand small { display: none; }
  .live-stage { min-height: auto; padding: 0; }
  .video-shell { width: 100%; aspect-ratio: 16 / 9; }
  .live-badge { top: 10px; left: 10px; font-size: .72rem; padding: 7px 9px; }
  .youtube-link { right: 10px; bottom: 10px; font-size: .72rem; padding: 7px 9px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-item { min-height: 84px; padding: 15px 14px; }
  .quick-value { font-size: 1rem; }
  .quick-sub { font-size: .72rem; }
  .section { padding: 54px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .compact-forecast { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .event-card { min-height: 0; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
