:root {
	--ocean-deep: #03111e;
	--ocean-mid: #062035;
	--ocean-light: #0a3550;
	--teal: #00b4c6;
	--teal-dim: #007a88;
	--teal-glow: rgba(0, 180, 198, 0.14);
	--sand: #e8d5a3;
	--sand-light: #f5edd6;
	--coral: #ff6b47;
	--coral-dim: #cc4422;
	--white: #f0f4f7;
	--muted: rgba(240, 244, 247, 0.4);
	--border: rgba(0, 180, 198, 0.12);
	--border2: rgba(240, 244, 247, 0.06);

	--f-display: "Archivo Black", sans-serif;
	--f-serif: "Libre Baskerville", Georgia, serif;
	--f-mono: "Space Mono", monospace;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	background: var(--ocean-deep);
	color: var(--white);
	font-family: var(--f-serif);
	overflow-x: hidden;
	line-height: 1.6;
}

img {
	display: block;
	max-width: 100%;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	pointer-events: none;
	z-index: 9999;
	opacity: 0.55;
}

.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 20px 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background 0.4s, padding 0.4s;
}
.nav.solid {
	background: rgba(3, 17, 30, 0.92);
	backdrop-filter: blur(16px);
	padding: 14px 56px;
	border-bottom: 1px solid var(--border);
}
.nav-logo {
	font-family: var(--f-display);
	font-size: 26px;
	letter-spacing: -0.01em;
	color: var(--white);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
}
.nav-logo-wave {
	width: 32px;
	height: 20px;
	flex-shrink: 0;
}
.nav-logo em {
	color: var(--teal);
	font-style: normal;
}

.nav-links {
	display: flex;
	gap: 36px;
	list-style: none;
}
.nav-links a {
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.2s;
}
.nav-links a:hover {
	color: var(--teal);
}

.nav-cta {
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 10px 24px;
	border: 1px solid var(--teal);
	color: var(--teal);
	background: transparent;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
}
.nav-cta:hover {
	background: var(--teal);
	color: var(--ocean-deep);
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}
.hamburger span {
	width: 22px;
	height: 1.5px;
	background: var(--white);
	display: block;
	transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
	transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.open span:nth-child(2) {
	opacity: 0;
}
.hamburger.open span:nth-child(3) {
	transform: rotate(-45deg) translate(4px, -4px);
}

.mob-nav {
	display: none;
	position: fixed;
	inset: 0;
	top: 60px;
	z-index: 90;
	background: rgba(3, 17, 30, 0.97);
	backdrop-filter: blur(16px);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
.mob-nav.open {
	opacity: 1;
	pointer-events: all;
}
.mob-nav a {
	font-family: var(--f-display);
	font-size: clamp(32px, 7vw, 52px);
	color: var(--white);
	text-decoration: none;
	padding: 10px 0;
	transition: color 0.2s;
}
.mob-nav a:hover {
	color: var(--teal);
}

.hero {
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 120px 24px 0;
	position: relative;
	overflow: hidden;
	background: linear-gradient(
		180deg,
		#03111e 0%,
		#051c30 40%,
		#072540 60%,
		#0a3550 80%,
		#0d4060 100%
	);
}

.hero-sky {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 80% 50% at 50% 0%,
		rgba(0, 180, 198, 0.08) 0%,
		transparent 70%
	);
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--f-mono);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 28px;
	padding: 7px 18px;
	border: 1px solid rgba(0, 180, 198, 0.25);
	border-radius: 100px;
	background: rgba(0, 180, 198, 0.06);
	opacity: 0;
}
.hero-badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--teal);
	animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.3;
	}
}

.hero h1 {
	font-family: var(--f-display);
	font-size: clamp(56px, 9vw, 128px);
	line-height: 0.88;
	letter-spacing: -0.03em;
	color: var(--white);
	margin-bottom: 16px;
	opacity: 0;
}
.hero h1 .line2 {
	color: var(--teal);
	display: block;
}

.hero-sub {
	font-family: var(--f-serif);
	font-style: italic;
	font-size: clamp(16px, 2vw, 22px);
	color: var(--muted);
	margin-bottom: 52px;
	opacity: 0;
}

.hero-chips {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 0;
	opacity: 0;
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: rgba(10, 53, 80, 0.6);
	border: 1px solid var(--border);
	backdrop-filter: blur(8px);
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
}
.chip-val {
	font-size: 18px;
	font-weight: 700;
	color: var(--white);
	line-height: 1;
}
.chip-label {
	color: var(--muted);
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.chip.good .chip-val {
	color: #4ce0a0;
}
.chip.warn .chip-val {
	color: var(--sand);
}
.chip.hot .chip-val {
	color: var(--coral);
}

.wave-section {
	position: relative;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	flex-shrink: 0;
}
.wave-section svg {
	display: block;
	width: 100%;
}

.hero-waves {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
}

.wave-l1 {
	animation: wave-drift-1 14s ease-in-out infinite alternate;
}
.wave-l2 {
	animation: wave-drift-2 10s ease-in-out infinite alternate;
}
.wave-l3 {
	animation: wave-drift-3 7s ease-in-out infinite alternate;
}
.wave-l4 {
	animation: wave-drift-4 5s ease-in-out infinite alternate;
}

@keyframes wave-drift-1 {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-4%);
	}
}
@keyframes wave-drift-2 {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(3%);
	}
}
@keyframes wave-drift-3 {
	from {
		transform: translateX(-1%);
	}
	to {
		transform: translateX(4%);
	}
}
@keyframes wave-drift-4 {
	from {
		transform: translateX(1%);
	}
	to {
		transform: translateX(-3%);
	}
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 48px;
}

section {
	padding: 100px 0;
}

.section-label {
	font-family: var(--f-mono);
	font-size: 10px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.section-label::before {
	content: "";
	width: 20px;
	height: 1px;
	background: var(--teal-dim);
}

.section-title {
	font-family: var(--f-display);
	font-size: clamp(36px, 4.5vw, 64px);
	line-height: 0.95;
	letter-spacing: -0.02em;
	color: var(--white);
	margin-bottom: 56px;
}
.section-title em {
	font-style: italic;
	color: var(--teal);
	font-family: var(--f-serif);
}

.conditions-section {
	background: var(--ocean-mid);
	padding: 100px 0;
}

.conditions-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
	border: 1px solid var(--border);
}

.cond-card {
	padding: 40px 32px;
	background: rgba(6, 32, 53, 0.6);
	border-right: 1px solid var(--border);
	position: relative;
	overflow: hidden;
	transition: background 0.3s;
}
.cond-card:last-child {
	border-right: none;
}
.cond-card:hover {
	background: rgba(6, 32, 53, 0.9);
}

.cond-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--teal);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s;
}
.cond-card:hover::before {
	transform: scaleX(1);
}

.cond-icon {
	width: 44px;
	height: 44px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cond-icon svg {
	width: 100%;
	height: 100%;
}

.cond-num {
	font-family: var(--f-display);
	font-size: clamp(44px, 5vw, 72px);
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--white);
	margin-bottom: 4px;
}
.cond-num span {
	font-size: 0.45em;
	color: var(--muted);
	letter-spacing: 0;
}

.cond-label {
	font-family: var(--f-mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 12px;
}
.cond-desc {
	font-size: 13px;
	line-height: 1.65;
	color: rgba(240, 244, 247, 0.5);
	font-style: italic;
}

.cond-rating {
	display: flex;
	gap: 4px;
	margin-top: 16px;
}
.cond-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--border2);
	border: 1px solid rgba(0, 180, 198, 0.3);
}
.cond-dot.on {
	background: var(--teal);
	border-color: var(--teal);
}
.cond-dot.half {
	background: var(--teal-dim);
	border-color: var(--teal-dim);
}

.tide-section {
	background: var(--ocean-deep);
	padding: 100px 0 0;
}

.tide-chart-wrap {
	border: 1px solid var(--border);
	background: rgba(6, 32, 53, 0.3);
	padding: 40px 40px 0;
	overflow: hidden;
}
.tide-chart-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 32px;
	flex-wrap: wrap;
	gap: 16px;
}
.tide-chart-title {
	font-family: var(--f-display);
	font-size: 20px;
	color: var(--white);
}
.tide-chart-subtitle {
	font-family: var(--f-mono);
	font-size: 10px;
	letter-spacing: 0.15em;
	color: var(--muted);
	margin-top: 6px;
}
.tide-legend {
	display: flex;
	gap: 20px;
	align-items: center;
}
.tide-leg-item {
	display: flex;
	align-items: center;
	gap: 7px;
	font-family: var(--f-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.tide-leg-line {
	width: 24px;
	height: 2px;
	border-radius: 1px;
}

.tide-svg {
	display: block;
	width: 100%;
	overflow: visible;
}

.tide-path-anim {
	stroke-dasharray: 2000;
	stroke-dashoffset: 2000;
	transition: stroke-dashoffset 2.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tide-path-anim.drawn {
	stroke-dashoffset: 0;
}

/* Time labels */
.tide-hour {
	font-family: var(--f-mono);
	font-size: 11px;
	fill: rgba(240, 244, 247, 0.3);
}
.tide-val {
	font-family: var(--f-display);
	font-size: 12px;
	fill: var(--teal);
}

.tide-now-line {
	stroke: var(--coral);
	stroke-width: 1.5;
	stroke-dasharray: 4 3;
	animation: dash-flow 1.2s linear infinite;
}
@keyframes dash-flow {
	to {
		stroke-dashoffset: -14;
	}
}

.forecast-section {
	background: var(--ocean-mid);
	padding: 100px 0;
}

.forecast-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}
.forecast-card {
	background: rgba(6, 32, 53, 0.5);
	border: 1px solid var(--border);
	padding: 28px 18px;
	text-align: center;
	transition: background 0.2s, transform 0.2s;
	position: relative;
	overflow: hidden;
}
.forecast-card:hover {
	background: rgba(6, 32, 53, 0.9);
	transform: translateY(-4px);
	z-index: 2;
}
.forecast-card.today {
	background: rgba(0, 180, 198, 0.08);
	border-color: rgba(0, 180, 198, 0.3);
}
.forecast-card.today::after {
	content: "TODAY";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--f-mono);
	font-size: 8px;
	letter-spacing: 0.15em;
	background: var(--teal);
	color: var(--ocean-deep);
	padding: 3px 10px;
}

.fc-day {
	font-family: var(--f-mono);
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 16px;
}
.fc-icon {
	font-size: 28px;
	margin-bottom: 12px;
	line-height: 1;
}
.fc-height {
	font-family: var(--f-display);
	font-size: 28px;
	line-height: 1;
	color: var(--white);
	margin-bottom: 2px;
}
.fc-height small {
	font-family: var(--f-mono);
	font-size: 11px;
	color: var(--muted);
}
.fc-wind {
	font-family: var(--f-mono);
	font-size: 10px;
	color: var(--muted);
	margin-top: 8px;
	margin-bottom: 12px;
}

.fc-wave-bar {
	width: 100%;
	height: 24px;
	position: relative;
	overflow: hidden;
}
.fc-wave-bar svg {
	display: block;
	width: 100%;
	height: 100%;
}

.fc-rating {
	display: flex;
	justify-content: center;
	gap: 3px;
	margin-top: 10px;
}
.fc-star {
	font-size: 10px;
	color: var(--teal);
}
.fc-star.dim {
	color: rgba(0, 180, 198, 0.2);
}

.spots-section {
	background: var(--ocean-deep);
	padding: 100px 0;
}

.spots-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 2px;
}

.spot-card {
	background: var(--ocean-light);
	border: 1px solid var(--border);
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s;
}
.spot-card:hover {
	transform: scale(1.01);
	z-index: 2;
}

.spot-img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	filter: saturate(0.7) brightness(0.8);
	transition: filter 0.4s;
	background: var(--ocean-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 64px;
}
.spot-card:hover .spot-img {
	filter: saturate(0.9) brightness(0.95);
}

.spot-photo {
	width: 100%;
	aspect-ratio: 4/3;
	position: relative;
	overflow: hidden;
}
.spot-photo-bg {
	position: absolute;
	inset: 0;
	transition: filter 0.4s;
}
.spot-card:hover .spot-photo-bg {
	filter: brightness(1.1);
}

.spot-body {
	padding: 28px 28px 32px;
}
.spot-badge {
	display: inline-block;
	font-family: var(--f-mono);
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 4px 12px;
	margin-bottom: 12px;
	border: 1px solid;
}
.spot-badge.epic {
	color: var(--teal);
	border-color: rgba(0, 180, 198, 0.4);
	background: rgba(0, 180, 198, 0.08);
}
.spot-badge.good {
	color: #4ce0a0;
	border-color: rgba(76, 224, 160, 0.4);
	background: rgba(76, 224, 160, 0.08);
}
.spot-badge.mellow {
	color: var(--sand);
	border-color: rgba(232, 213, 163, 0.4);
	background: rgba(232, 213, 163, 0.08);
}

.spot-name {
	font-family: var(--f-display);
	font-size: clamp(22px, 2.5vw, 32px);
	letter-spacing: -0.015em;
	color: var(--white);
	margin-bottom: 8px;
}
.spot-location {
	font-family: var(--f-mono);
	font-size: 10px;
	letter-spacing: 0.15em;
	color: var(--muted);
	text-transform: uppercase;
	margin-bottom: 14px;
}
.spot-desc {
	font-style: italic;
	font-size: 13.5px;
	color: rgba(240, 244, 247, 0.55);
	line-height: 1.7;
	margin-bottom: 20px;
}
.spot-stats {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.spot-stat-item {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.spot-stat-val {
	font-family: var(--f-display);
	font-size: 20px;
	color: var(--teal);
	line-height: 1;
}
.spot-stat-key {
	font-family: var(--f-mono);
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.cta-section {
	background: var(--ocean-mid);
	padding: 120px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cta-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 700px;
	height: 400px;
	background: radial-gradient(
		ellipse,
		rgba(0, 180, 198, 0.1) 0%,
		transparent 65%
	);
	pointer-events: none;
}
.cta-section .section-title {
	margin-bottom: 20px;
}
.cta-section p {
	font-style: italic;
	color: var(--muted);
	font-size: 16px;
	max-width: 420px;
	margin: 0 auto 44px;
}
.cta-form {
	display: flex;
	gap: 0;
	max-width: 440px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.cta-input {
	flex: 1;
	padding: 16px 24px;
	background: rgba(6, 32, 53, 0.8);
	border: 1px solid var(--border);
	border-right: none;
	color: var(--white);
	font-family: var(--f-mono);
	font-size: 13px;
	outline: none;
	transition: border-color 0.2s;
}
.cta-input::placeholder {
	color: var(--muted);
}
.cta-input:focus {
	border-color: rgba(0, 180, 198, 0.5);
}
.cta-btn {
	padding: 16px 28px;
	background: var(--teal);
	color: var(--ocean-deep);
	font-family: var(--f-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	font-weight: 700;
	transition: background 0.2s;
	white-space: nowrap;
}
.cta-btn:hover {
	background: #00c8dc;
}

footer {
	background: var(--ocean-deep);
	border-top: 1px solid var(--border);
	padding: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.foot-logo {
	font-family: var(--f-display);
	font-size: 22px;
	color: var(--white);
}
.foot-logo em {
	color: var(--teal);
	font-style: normal;
}
footer p {
	font-family: var(--f-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	color: var(--muted);
}
.foot-links {
	display: flex;
	gap: 24px;
	list-style: none;
}
.foot-links a {
	font-family: var(--f-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.2s;
}
.foot-links a:hover {
	color: var(--teal);
}

.reveal {
	opacity: 0;
	transform: translateY(24px);
}
.reveal-left {
	opacity: 0;
	transform: translateX(-24px);
}
.reveal-scale {
	opacity: 0;
	transform: scale(0.96);
}
.reveal.in,
.reveal-left.in,
.reveal-scale.in {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s, transform 0.7s;
}

.wave-divider {
	display: block;
	width: 100%;
	line-height: 0;
	overflow: hidden;
}
.wave-divider svg {
	display: block;
	width: 100%;
}

@media (max-width: 1024px) {
	.container {
		padding: 0 28px;
	}
	.conditions-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.cond-card:nth-child(2) {
		border-right: none;
	}
	.cond-card:nth-child(3) {
		border-top: 1px solid var(--border);
		border-right: 1px solid var(--border);
	}
	.cond-card:nth-child(4) {
		border-top: 1px solid var(--border);
	}
	.forecast-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	.spots-grid {
		grid-template-columns: 1fr 1fr;
	}
	.spots-grid .spot-card:first-child {
		grid-column: span 2;
	}
}
@media (max-width: 860px) {
	.nav {
		padding: 16px 24px;
	}
	.nav.solid {
		padding: 12px 24px;
	}
	.nav-links,
	.nav-cta {
		display: none;
	}
	.hamburger {
		display: flex;
	}
	#mob-nav {
		display: flex;
	}
	footer {
		flex-direction: column;
		text-align: center;
		padding: 32px 24px;
	}
	.foot-links {
		justify-content: center;
		flex-wrap: wrap;
	}
}
@media (max-width: 640px) {
	.container {
		padding: 0 20px;
	}
	section {
		padding: 72px 0;
	}
	.forecast-grid {
		grid-template-columns: repeat(4, 1fr);
		overflow-x: auto;
	}
	.spots-grid {
		grid-template-columns: 1fr;
	}
	.spots-grid .spot-card:first-child {
		grid-column: span 1;
	}
	.cta-form {
		flex-direction: column;
	}
	.cta-input {
		border-right: 1px solid var(--border);
		border-bottom: none;
	}
	.conditions-grid {
		grid-template-columns: 1fr;
	}
	.cond-card {
		border-right: none;
		border-bottom: 1px solid var(--border);
	}
	.cond-card:last-child {
		border-bottom: none;
	}
}