/* Ride The Wave Media — unified dark luxury aesthetic */
:root {
  --bg-deep: #071113;
  --bg-mid: #0D1B1F;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.055);
  --border: rgba(166,209,217,0.14);
  --border-accent: rgba(143,188,199,0.38);
  --text-primary: #F4F7F7;
  --text-muted: #A7B3B6;
  --text-dim: #5E7277;
  --accent: #8FBCC7;
  --accent-soft: rgba(143,188,199,0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  --font-mono: 'DM Mono', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 1000;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(4rem, 9vw, 9rem); line-height: .9; }
h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
p, li { color: var(--text-muted); font-weight: 300; }
strong { color: var(--text-primary); }
.site-header {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 2.5rem;
  background: rgba(7,17,19,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.logo { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-display); color: var(--text-primary); font-size: 1.15rem; letter-spacing: .04em; }
.logo img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; border: 1px solid var(--border-accent); }
.site-header nav { display: flex; align-items: center; gap: 1.8rem; }
.site-header nav a { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); transition: color .2s; }
.site-header nav a:hover { color: var(--text-primary); }
main { padding-top: 0; }
.hero, .page-shell, .media-about-intro { position: relative; }
.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 7vw 5rem;
  overflow: hidden;
}
.hero::before, .final-cta-section::before, .media-work-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .04;
  pointer-events: none;
  background: url('https://ridethewaveco.com/assets/wave-lines.svg') center/cover no-repeat;
}
.hero-copy, .hero-card, .panel, .service-card, .portfolio-card, .contact-card, .owner-card, .process-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
}
.hero-copy { padding: clamp(2rem, 5vw, 4.5rem); }
.hero-card { min-height: 500px; padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-card::before, .service-card::before, .portfolio-card::before, .contact-card::before, .owner-card::before, .process-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(143,188,199,.10), transparent 42%);
  pointer-events: none;
}
.eyebrow, .section-label, .card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent) !important;
  opacity: .78;
  margin-bottom: 1rem;
}
.hero-text { font-size: 15px; color: var(--text-muted); max-width: 620px; margin-top: 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.8rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: 2px;
  transition: all .3s ease;
  cursor: pointer;
  border: 1px solid var(--border-accent);
}
.btn.primary, .btn-primary, .primary { background: var(--accent); color: var(--bg-deep); border-color: var(--accent); }
.btn.secondary, .btn-outline, .secondary { background: transparent; color: var(--text-primary); border-color: var(--border-accent); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 32px rgba(143,188,199,.18); }
.brand-mark { width: 150px; height: 150px; border-radius: 50%; border: 1px solid var(--border-accent); background: rgba(143,188,199,.08); overflow: hidden; margin: 0 auto 2rem; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.hero-card h2 { text-align: center; color: var(--text-primary) !important; }
.hero-card p { text-align: center; color: var(--text-muted) !important; }
.hero-card-inline-actions { justify-content: center; }
.page-shell, .concise-section, .final-cta-section, .media-work-section, .gallery-section, .media-about-intro {
  padding: 6.5rem 7vw;
}
.section-heading { max-width: 820px; margin-bottom: 3rem; position: relative; z-index: 1; }
.section-heading p { margin-top: 1rem; color: var(--text-muted); max-width: 720px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.service-card, .portfolio-card, .contact-card, .owner-card, .process-card { padding: 2rem; overflow: hidden; }
.service-card:hover, .portfolio-card:hover, .contact-card:hover, .owner-card:hover, .process-card:hover { background: var(--bg-card-hover); border-color: rgba(143,188,199,.28); }
.creator-club-card, .follow-media-card, .final-cta-section .hero-card { background: var(--bg-mid) !important; border-color: var(--border); }
.creator-benefits div, .proof-strip span, .stat-grid div {
  background: rgba(255,255,255,.035) !important;
  border: 1px solid var(--border) !important;
  border-radius: 4px;
  padding: 1rem;
}
.creator-benefits strong, .stat-grid strong { display: block; color: var(--text-primary); }
.creator-benefits span, .stat-grid span { color: var(--text-dim); font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
/* Contact */
.contact-paths { margin-top: 1rem; }
.path-card { display: flex; flex-direction: column; min-height: 330px; }
.path-card .actions { margin-top: auto; }
.inquiry-form { max-width: 980px; margin: 0 auto; }
.inquiry-form label, .gate-card label {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.inquiry-form input, .inquiry-form textarea, .inquiry-form select, .gate-card input {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
  color: var(--text-primary);
  border-radius: 3px;
  padding: .9rem 1rem;
  font: 400 14px var(--font-body);
  outline: none;
}
.inquiry-form input:focus, .inquiry-form textarea:focus, .inquiry-form select:focus { border-color: var(--border-accent); box-shadow: 0 0 0 3px rgba(143,188,199,.08); }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: var(--text-dim); }
.inquiry-form select option { background: var(--bg-mid); color: var(--text-primary); }
.inquiry-grid .full-width { grid-column: 1 / -1; }
.form-response-note { margin-top: .8rem; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim) !important; }
/* Portfolio fallback classes used on old pages */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; max-width: 1080px; margin: 0 auto; }
.video-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 4px; border: 1px solid var(--border); background: #050505; margin-bottom: 1rem; }
.photo-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: .9rem; }
.gallery-tile { position: relative; overflow: hidden; border-radius: 4px; border: 1px solid var(--border); }
.gallery-tile.tall { grid-row: span 2; }
.gallery-tile.wide { grid-column: span 2; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.gallery-tile figcaption { position: absolute; left: 1rem; bottom: 1rem; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-primary); }
.owner-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.3rem; align-items: stretch; }
.profile-img { width: 100%; min-height: 520px; height: 68vh; object-fit: cover; object-position: 50% 28%; border-radius: 4px; border: 1px solid var(--border); }
.owner-card { display: flex; flex-direction: column; justify-content: center; }
/* Private gate still works if used */
.client-gate { min-height: 100vh; display: grid; place-items: center; padding: 2rem; background: var(--bg-deep); }
.gate-card { width: min(100%, 520px); }
/* Fun logo animation */
.logo-surf-trigger { appearance: none; -webkit-appearance: none; padding: 0; cursor: pointer; transform-origin: 50% 72%; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.logo-surf-trigger:hover, .logo-surf-trigger:focus-visible { transform: translateY(-3px) rotate(-2deg) scale(1.03); outline: none; }
.logo-surf-trigger.is-surfing { animation: surf-pop 1.15s cubic-bezier(.2,.8,.2,1) both; box-shadow: 0 0 0 8px rgba(143,188,199,.12), 0 24px 70px rgba(143,188,199,.24); }
@keyframes surf-pop { 0%{transform:translateY(0) rotate(0) scale(1)} 18%{transform:translateY(-16px) rotate(-9deg) scale(1.09)} 38%{transform:translateY(6px) rotate(7deg) scale(1.04)} 58%{transform:translateY(-8px) rotate(-5deg) scale(1.07)} 100%{transform:translateY(0) rotate(0) scale(1)} }
footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem 7vw;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a:hover { color: var(--accent); }
@media (max-width: 1000px) {
  .hero, .grid-2, .owner-layout { grid-template-columns: 1fr; }
  .grid-3, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery { grid-template-columns: 1fr 1fr; }
  .hero-card { min-height: 420px; }
}
@media (max-width: 640px) {
  .site-header { padding: .9rem 1.2rem; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { font-size: 9px; }
  main { padding-top: 0; }
  .hero, .page-shell, .concise-section, .final-cta-section, .media-work-section, .gallery-section, .media-about-intro { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero { padding-top: 4rem; padding-bottom: 4rem; }
  h1 { font-size: clamp(3.5rem, 16vw, 5.6rem); }
  .grid-3, .grid-2, .video-grid, .photo-gallery { grid-template-columns: 1fr; }
  .gallery-tile.tall, .gallery-tile.wide { grid-row: auto; grid-column: auto; }
  .brand-mark { width: 120px; height: 120px; }
  .actions { align-items: stretch; }
  .btn { width: 100%; }
  .inquiry-grid .full-width { grid-column: auto; }
  footer { padding: 1.5rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Center contact path card CTAs */
.contact-paths .path-card {
  text-align: center;
  align-items: center;
}
.contact-paths .path-card p {
  text-align: center;
}
.contact-paths .path-card .actions {
  width: 100%;
  justify-content: center;
}
.contact-paths .path-card .btn {
  margin-left: auto;
  margin-right: auto;
}

/* Homepage hero balance: make left headline smaller */
.conversion-hero .hero-copy h1 {
  font-size: clamp(3.1rem, 6.4vw, 6.2rem);
  line-height: .95;
  max-width: 720px;
}
.conversion-hero .hero-copy {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 640px) {
  .conversion-hero .hero-copy h1 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }
}

/* Homepage BTS media card */
.hero-bts-card {
  padding: 0;
  justify-content: flex-end;
  min-height: 560px;
}
.hero-bts-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: .55rem;
  padding: .55rem;
}
.hero-bts-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border);
  opacity: .82;
}
.hero-bts-secondary {
  object-position: 45% center;
}
.hero-bts-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,17,19,.96) 0%, rgba(7,17,19,.64) 34%, rgba(7,17,19,.08) 72%);
  pointer-events: none;
}
.hero-bts-caption {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  max-width: 620px;
  margin-top: auto;
}
.hero-bts-caption h2,
.hero-bts-caption p {
  text-align: left !important;
}
.hero-bts-caption h2 {
  color: var(--text-primary) !important;
}
.hero-bts-caption .actions {
  justify-content: flex-start;
}
@media (max-width: 640px) {
  .hero-bts-card {
    min-height: 520px;
  }
  .hero-bts-grid {
    grid-template-columns: 1fr;
  }
  .hero-bts-secondary {
    display: none;
  }
}

/* Homepage single BTS photo card */
.hero-single-photo-card {
  padding: 0;
  justify-content: flex-end;
  min-height: 560px;
  overflow: hidden;
}
.hero-single-photo-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: .84;
}
.hero-single-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,17,19,.96) 0%, rgba(7,17,19,.64) 36%, rgba(7,17,19,.06) 75%);
  pointer-events: none;
}
.hero-single-photo-caption {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  max-width: 620px;
  margin-top: auto;
}
.hero-single-photo-caption h2,
.hero-single-photo-caption p {
  text-align: left !important;
}
.hero-single-photo-caption h2 {
  color: var(--text-primary) !important;
}
.hero-single-photo-caption .actions {
  justify-content: flex-start;
}
@media (max-width: 640px) {
  .hero-single-photo-card { min-height: 520px; }
}


/* Client request: center align homepage content across every section. */
body,
.site-header,
.site-header nav,
.hero,
.hero-copy,
.hero-card,
.hero-card-feature,
.hero-single-photo-card,
.hero-single-photo-caption,
.page-shell,
.concise-section,
.section-heading,
.service-card,
.creator-club-section,
.creator-club-card,
.creator-benefits,
.creator-benefits div,
.final-cta-section,
.contact-card,
.inquiry-form,
.inquiry-grid,
.inquiry-form label,
.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select,
.form-response-note,
footer,
.footer-links {
  text-align: center;
}

.section-heading,
.section-heading p,
.hero-text,
.hero-copy h1,
.hero-copy p,
.hero-card h2,
.hero-card p,
.service-card h3,
.service-card p,
.creator-club-card h2,
.creator-club-card p,
.inquiry-form,
.form-response-note {
  margin-left: auto;
  margin-right: auto;
}

.actions,
.hero-main-actions,
.hero-card-inline-actions,
.creator-benefits,
.footer-links,
footer {
  justify-content: center;
}

.site-header {
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero {
  justify-items: center;
}

.hero-copy,
.hero-card,
.service-card,
.creator-club-card,
.contact-card {
  align-items: center;
}

.inquiry-form label {
  align-items: center;
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  text-align: center;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  text-align: center;
}
