@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Crimson+Pro:ital,wght@0,300;0,400;1,300;1,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ocean: #0a3d5c;
  --deep: #061e2e;
  --wave: #1a7a9a;
  --foam: #e8f4f8;
  --sand: #d4b896;
  --sun: #f0a500;
  --white: #fafafa;
  --text: #1a1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--white);
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

/* NAV */
#nav-placeholder nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--deep);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 0 2rem;
  height: 60px;
}

#nav-placeholder nav .logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

#nav-placeholder nav .logo-img {
  height: 40px;
  width: auto;
}

#nav-placeholder nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  align-items: center;
  justify-content: center;
}

#nav-placeholder nav ul li { position: relative; }

#nav-placeholder nav ul li a {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--foam);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

#nav-placeholder nav ul li a:hover { color: var(--sun); }

/* Dropdown */
#nav-placeholder nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--deep);
  min-width: 200px;
  border-top: 2px solid var(--sun);
  padding: 0.5rem 0;
}

#nav-placeholder nav ul li:hover .dropdown { display: block; }

#nav-placeholder nav ul li .dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* HERO */
.hero {
  height: 100vh;
  background:
    linear-gradient(160deg, rgba(6,30,46,0.65) 0%, rgba(10,61,92,0.5) 50%, rgba(26,122,154,0.45) 100%),
    url('../images/OB overview/homepage_image.JPG') center 70% / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23fafafa' d='M0,64 C360,120 1080,0 1440,64 L1440,120 L0,120 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--sun);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero h1 span { color: var(--sun); }

.hero p {
  font-size: 1.2rem;
  color: var(--foam);
  max-width: 500px;
  margin: 1.5rem auto 2.5rem;
  font-style: italic;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.btn {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary {
  background: var(--sun);
  color: var(--deep);
  font-weight: 700;
}
.btn-primary:hover { background: var(--white); }

.btn-outline {
  border: 1px solid var(--foam);
  color: var(--foam);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SECTIONS */
section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wave);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--deep);
  line-height: 1;
  margin-bottom: 1.5rem;
}

h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--ocean);
  letter-spacing: 0.03em;
  margin: 1.5rem 0 0.5rem;
}

/* LEARN GRID */
.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.learn-text p { margin-bottom: 1rem; }

.lesson-block {
  background: var(--foam);
  border-left: 3px solid var(--sun);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.lesson-block h3 { margin-top: 0; font-size: 1.2rem; }

.lesson-block a {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--wave);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.lesson-block a:hover { color: var(--sun); }

/* SPOT CARDS */
.spots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.spot-card {
  display: block;
  text-decoration: none;
  background: var(--deep);
  color: var(--foam);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}

.spot-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sun);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.spot-card:hover::before { transform: scaleX(1); }
.spot-card:hover { transform: translateY(-4px); }

.spot-card .spot-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--white);
}

.spot-card .spot-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--sand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* FULL-WIDTH BAND */
.band {
  background: var(--deep);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--foam);
  margin: 4rem 0 0;
}

.band h2 { color: var(--white); }
.band p { max-width: 600px; margin: 0 auto 2rem; font-style: italic; }

/* PAGE HERO (inner pages) */
.page-hero {
  padding-top: 60px;
  background: linear-gradient(135deg, var(--deep), var(--ocean));
  padding-bottom: 3rem;
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.04em;
  padding-top: 3rem;
}

.page-hero .subtitle {
  font-style: italic;
  color: var(--foam);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* CONTENT PAGE */
.content-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-page p { margin-bottom: 1.2rem; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
}

.info-table th {
  background: var(--deep);
  color: var(--foam);
  padding: 0.75rem 1rem;
  text-align: left;
  letter-spacing: 0.08em;
}

.info-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--foam);
}

.info-table tr:nth-child(even) td { background: var(--foam); }

/* SHOP CARDS */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.shop-card {
  border: 1px solid var(--foam);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.shop-card:hover { border-color: var(--wave); }

.shop-card h3 { font-size: 1.2rem; margin-top: 0; }
.shop-card a {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--wave);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.shop-card a:hover { color: var(--sun); }

/* VIDEO GRID */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.video-embed {
  aspect-ratio: 16/9;
  background: var(--deep);
  width: 100%;
}
.video-embed iframe { width: 100%; height: 100%; border: none; }

/* FOOTER */
footer {
  background: var(--deep);
  color: var(--foam);
  padding: 3rem 2rem;
  text-align: center;
}

footer .footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--sun);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

footer nav {
  position: static;
}

footer nav a {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--foam);
  text-decoration: none;
  margin: 0 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
footer nav a:hover { color: var(--sun); }

footer p {
  font-size: 0.85rem;
  color: rgba(232,244,248,0.5);
  margin-top: 1.5rem;
}

/* PHOTO SPOT CARDS */
.spots-grid-photo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.spot-card-photo {
  display: block;
  text-decoration: none;
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.spot-card-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,30,46,0.85) 0%, rgba(6,30,46,0.2) 60%, transparent 100%);
  transition: background 0.3s;
}

.spot-card-photo:hover::before {
  background: linear-gradient(to top, rgba(6,30,46,0.9) 0%, rgba(6,30,46,0.4) 70%, rgba(6,30,46,0.1) 100%);
}

.spot-card-photo-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.spot-card-photo .spot-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1;
}

.spot-card-photo .spot-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--sand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* LEARN TO SURF VISUAL */
.learn-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.learn-visual-photo {
  background-size: cover;
  background-position: center;
}

.learn-visual-content {
  background: var(--deep);
  color: var(--foam);
  padding: 4rem 3.5rem;
}

.learn-visual-content h2 { color: var(--white); }
.learn-visual-content p { margin-bottom: 1rem; }

.lesson-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.lesson-columns h3 {
  color: var(--sand);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.learn-visual-content .lesson-block {
  background: rgba(255,255,255,0.06);
  border-left-color: var(--wave);
}

.learn-visual-content .lesson-block h3 { color: var(--foam); }
.learn-visual-content .lesson-block a { color: var(--sand); }
.learn-visual-content .lesson-block a:hover { color: var(--sun); }

/* LEARN SPLIT LAYOUT */
.learn-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--deep);
  color: var(--foam);
}

.learn-split-left {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.learn-split-left .section-label {
  color: var(--sand);
}

.learn-split-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.learn-split-right {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.learn-region-block {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.learn-region-block:first-child {
  padding-top: 0;
}

.learn-region-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.learn-region-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.5rem;
}

.learn-region-block p:not(.learn-region-label) {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #c8dde8;
  margin: 0;
}

@media (max-width: 768px) {
  .learn-split { grid-template-columns: 1fr; }
  .learn-split-left { padding: 3.5rem 1.5rem 2rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .learn-split-right { padding: 2rem 1.5rem 3.5rem; }
}

/* PHOTO CTA BAND */
.photo-cta {
  height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.photo-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(6,30,46,0.85) 0%, rgba(6,30,46,0.4) 60%, transparent 100%);
}

.photo-cta-inner {
  position: relative;
  padding: 3rem 4rem;
  max-width: 520px;
  color: var(--foam);
}

.photo-cta-inner h2 { color: var(--white); margin-bottom: 0.75rem; }
.photo-cta-inner p { margin-bottom: 1.5rem; font-style: italic; }

@media (max-width: 768px) {
  .spots-grid-photo { grid-template-columns: 1fr 1fr; }
  .spot-card-photo { height: 220px; }
  .learn-visual { grid-template-columns: 1fr; }
  .learn-visual-photo { height: 300px; }
  .learn-visual-content { padding: 2.5rem 1.5rem; }
  .lesson-columns { grid-template-columns: 1fr; }
  .photo-cta { height: auto; padding: 3rem 0; }
  .photo-cta-inner { padding: 2rem; }
}

/* OCEAN BEACH PHOTO HERO */
.ob-hero {
  padding-top: 60px;
  height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  padding-left: 3rem;
}

.ob-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.ob-hero .subtitle {
  font-style: italic;
  color: var(--foam);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.ob-hero .section-label {
  margin-bottom: 0.5rem;
}

/* OB ONLINE / INSTAGRAM SECTION */
.ob-online-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-top: 1px solid var(--foam);
}

.ob-online-section h2 { margin-bottom: 2rem; }

.ob-instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .ob-instagram-grid { grid-template-columns: 1fr; }
}

/* OB TWO-COLUMN LAYOUT */
.ob-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  align-items: start;
}

.ob-sidebar h3 { margin-top: 0; }

.spot-map { margin-top: 2rem; }
.spot-map h3 { margin-bottom: 0.75rem; }
.spot-map iframe { display: block; width: 100%; }

/* OB SIDEBAR LESSONS BLOCK */
.ob-lessons-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--foam);
}

.ob-lessons-block h3 { margin-top: 0; }

.ob-lessons-block > p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #4a4a4a;
}

.ob-lesson-card {
  background: var(--foam);
  border-left: 3px solid var(--wave);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.ob-lesson-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--deep);
  margin-bottom: 0.25rem;
}

.ob-lesson-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a4a4a;
  margin-bottom: 0.5rem;
}

.ob-lesson-link {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--wave);
  text-decoration: none;
  text-transform: uppercase;
}

.ob-lesson-link:hover { color: var(--sun); }

/* BUOY WIDGET */
.buoy-widget {
  background: var(--deep);
  color: var(--foam);
  padding: 2.5rem;
  margin-bottom: 1.25rem;
}

.buoy-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.buoy-loading-dot {
  width: 7px;
  height: 7px;
  background: var(--wave);
  border-radius: 50%;
  animation: buoyPulse 1.2s ease-in-out infinite;
}
.buoy-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.buoy-loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes buoyPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

.buoy-loading-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-left: 0.5rem;
}

.buoy-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2rem;
}

.buoy-stat {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.buoy-stat:first-child { padding-left: 0; }
.buoy-stat:last-child  { border-right: none; padding-right: 0; }

.buoy-stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: var(--sun);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.buoy-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.75;
}

.buoy-summary {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: #c8dde8;
  margin-bottom: 1.5rem;
}

.buoy-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232,244,248,0.35);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.buoy-meta-sep { opacity: 0.5; }

.buoy-error {
  font-family: 'Crimson Pro', Georgia, serif;
  font-style: italic;
  color: var(--sand);
  padding: 1rem 0;
}

@media (max-width: 768px) {
  .buoy-widget { padding: 1.5rem; }
  .buoy-stats { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 0; border-bottom: none; padding-bottom: 0; margin-bottom: 1.5rem; }
  .buoy-stat { border-right: none; padding: 0; }
  .buoy-stat-value { font-size: 1.8rem; }
}

/* OB CONDITIONS SECTION */
.ob-conditions-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-top: 1px solid var(--foam);
}

.ob-conditions-section h2 { margin-bottom: 0.5rem; }

.ob-conditions-intro {
  font-style: italic;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.ob-conditions-embed {
  width: 100%;
  border: 1px solid var(--foam);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--foam);
  min-height: 500px;
}

.ob-conditions-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ob-conditions-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--deep);
  color: var(--foam);
  text-decoration: none;
  padding: 1.25rem 1.5rem;
  transition: background 0.2s;
}

.ob-conditions-link:hover { background: var(--ocean); }

.ob-conditions-link-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.3rem;
}

.ob-conditions-link-sub {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #8ab0c0;
}

@media (max-width: 768px) {
  .ob-conditions-cta { grid-template-columns: 1fr; }
  .ob-conditions-embed { min-height: 400px; }
  .ob-conditions-embed iframe { height: 400px; }
}

/* OB VIDEOS SECTION */
.ob-videos-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-top: 1px solid var(--foam);
}

.ob-videos-section h2 { margin-bottom: 2rem; }

/* PHOTO GALLERY */
.gallery-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 2.5rem 0 1rem;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.photo-gallery img:hover { opacity: 0.85; }


@media (max-width: 768px) {
  .ob-layout { grid-template-columns: 1fr; }
  .ob-hero { padding-left: 1.5rem; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* HISTORY PAGE */
.history-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  align-items: start;
}

.history-article h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.history-intro {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ocean);
  border-left: 3px solid var(--sun);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.history-img-full {
  margin: 2.5rem 0;
}

.history-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 2.5rem 0 0.5rem;
}

.history-img-placeholder {
  width: 100%;
  height: 280px;
  background: var(--foam);
  border: 1px dashed #ccc;
}

.history-caption {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: #888;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* HISTORY SIDEBAR */
.history-sidebar {
  position: sticky;
  top: 80px;
}

.history-sidebar-block {
  margin-bottom: 2.5rem;
}

.history-sidebar-block h3 {
  font-size: 1rem;
  border-bottom: 2px solid var(--sun);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.history-timeline {
  list-style: none;
  padding: 0;
}

.history-timeline li {
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--foam);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.timeline-year {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--wave);
  letter-spacing: 0.05em;
  min-width: 50px;
  flex-shrink: 0;
}

.history-links {
  list-style: none;
  padding: 0;
}

.history-links li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--foam);
}

.history-links a {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--wave);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.history-links a:hover { color: var(--sun); }

@media (max-width: 768px) {
  .history-layout { grid-template-columns: 1fr; }
  .history-sidebar { position: static; }
  .history-img-pair { grid-template-columns: 1fr; }
}

/* VOLUNTEER PAGE */
.volunteer-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.volunteer-org {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-top: 1px solid var(--foam);
}

.volunteer-org-reverse {
  direction: rtl;
}

.volunteer-org-reverse > * {
  direction: ltr;
}

.volunteer-org-photo {
  background-size: cover;
  background-position: center;
}

.volunteer-org-content {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.volunteer-org-content h2 {
  margin-bottom: 1rem;
}

.volunteer-org-content p {
  margin-bottom: 1rem;
}

.volunteer-details {
  margin-top: 1.5rem;
  border-top: 1px solid var(--foam);
}

.volunteer-detail-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--foam);
  font-size: 0.95rem;
}

.volunteer-detail-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wave);
  padding-top: 0.2rem;
}

@media (max-width: 768px) {
  .volunteer-org { grid-template-columns: 1fr; direction: ltr; }
  .volunteer-org-photo { height: 280px; }
  .volunteer-org-content { padding: 2.5rem 1.5rem; }
  .volunteer-detail-block { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* STORE */
.store-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.collections-grid .collection-card:first-child,
.collections-grid .collection-card:nth-child(2) {
  grid-column: span 1;
}

.collection-card {
  text-decoration: none;
  color: var(--text);
  display: block;
}

.collection-img {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: opacity 0.2s;
}

.collection-card:hover .collection-img { opacity: 0.85; }

.collection-placeholder-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 0.15em;
  color: var(--deep);
  opacity: 0.25;
}

.collection-info {
  padding: 1rem 0 0.5rem;
}

.collection-info h3 {
  font-size: 1.3rem;
  margin: 0 0 0.25rem;
  color: var(--deep);
}

.collection-count {
  font-family: 'Crimson Pro', serif;
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 0.4rem;
  font-style: italic;
}

.collection-cta {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--wave);
  text-transform: uppercase;
}

.collection-card:hover .collection-cta { color: var(--sun); }

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  display: block;
}

.product-img {
  width: 100%;
  aspect-ratio: 3/4;
}

.product-info {
  padding: 0.75rem 0 0;
}

.product-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--foam);
  margin-bottom: 0.25rem;
}

.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--sun);
  letter-spacing: 0.05em;
}

/* COMING SOON */
.store-coming-soon {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.coming-soon-card {
  aspect-ratio: 1;
  border: 1px dashed var(--foam);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--foam);
}

.coming-soon-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: #bbb;
}

@media (max-width: 768px) {
  .collections-grid { grid-template-columns: 1fr 1fr; }
  .coming-soon-grid { grid-template-columns: 1fr 1fr; }
}

/* BACK LINK */
.back-link {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--wave);
  text-decoration: none;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--sun); }
.back-link::before { content: '← '; }

/* HAMBURGER BUTTON — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foam);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE */
@media (max-width: 768px) {
  /* Show hamburger, hide nav links by default */
  .nav-hamburger { display: flex; }

  #nav-placeholder nav {
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
  }

  #nav-placeholder nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.75rem 0 1.25rem;
    gap: 0;
    justify-content: flex-start;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  #nav-placeholder nav ul.nav-open {
    display: flex;
  }

  #nav-placeholder nav ul li {
    width: 100%;
  }

  #nav-placeholder nav ul li a {
    display: block;
    padding: 0.65rem 0.5rem;
    font-size: 0.75rem;
  }

  /* Mobile dropdown for Surf Spots */
  #nav-placeholder nav ul li .dropdown {
    position: static;
    display: none;
    border-top: none;
    border-left: 2px solid var(--sun);
    padding: 0 0 0 1rem;
    min-width: unset;
    margin-bottom: 0.5rem;
  }

  #nav-placeholder nav ul li.dropdown-open .dropdown {
    display: block;
  }

  #nav-placeholder nav ul li .dropdown a {
    padding: 0.4rem 0.5rem;
    font-size: 0.68rem;
    color: var(--sand);
  }

  .learn-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 4.5rem; }
}
