/* ============================================================
   GULL ROCK — brand stylesheet
   Palette: Deep Harbor Navy #0C2A43 · Coastal Teal #2C7A7B
            Crisp White #FFFFFF · Driftwood Gray #8A8D91
            Metallic Gold #C6A15B · Mist Blue #B9C4CE · Sea Glass #7FB6B6
   Type: Poppins (headlines/body) · Lora (editorial serif)
   ============================================================ */

:root {
  --navy: #0C2A43;
  --teal: #2C7A7B;
  --white: #FFFFFF;
  --gray: #8A8D91;
  --gold: #C6A15B;
  --mist: #B9C4CE;
  --seaglass: #7FB6B6;
  --off-white: #F7F8F9;
  --track-wide: 0.17em;
  --track-mid: 0.12em;
  --max-w: 1160px;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */
h1, h2, h3, .caps {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.02rem; letter-spacing: var(--track-mid); }

.kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 16px;
}
.kicker--gray { color: var(--gray); }

.lede {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.18rem;
  color: var(--navy);
  line-height: 1.8;
}
.muted { color: var(--gray); }

.gold-rule {
  width: 56px; height: 2px;
  background: var(--gold);
  border: 0; margin: 28px 0;
}
.gold-rule--center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 38px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.btn:hover { background: var(--navy); color: var(--white); }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--navy); }
.btn--solid { background: var(--navy); color: var(--white); }
.btn--solid:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ---------- navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center;
  z-index: 100;
  transition: background .35s ease, box-shadow .35s ease;
}
.nav .container {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  color: var(--white);
}
.nav__brand img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 40px; list-style: none; }
.nav__links a {
  font-size: 0.74rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--white);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav__links a:hover { color: var(--gold); }
.nav__links a.active { border-bottom-color: var(--gold); color: var(--gold); }

/* solid state: on scroll, or always on light pages */
.nav.solid, .nav--light {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(12,42,67,0.08);
}
.nav.solid .nav__brand, .nav--light .nav__brand { color: var(--navy); }
.nav.solid .nav__links a, .nav--light .nav__links a { color: var(--navy); }
.nav.solid .nav__links a:hover, .nav--light .nav__links a:hover,
.nav.solid .nav__links a.active, .nav--light .nav__links a.active { color: var(--teal); }

/* hamburger */
.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px; position: relative;
}
.nav__toggle span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--white); transition: all .3s ease;
}
.nav.solid .nav__toggle span, .nav--light .nav__toggle span { background: var(--navy); }
.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 10px; }
.nav__toggle span:nth-child(3) { top: 20px; }
.nav__toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero picture { position: absolute; inset: 0; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(12,42,67,0.35) 0%,
    rgba(12,42,67,0.25) 45%,
    rgba(12,42,67,0.55) 100%);
}
.hero__content { position: relative; z-index: 2; color: var(--white); padding: 0 24px; }
.hero__content h1 { color: var(--white); margin-bottom: 8px; }
.hero__sub {
  font-size: 0.85rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--mist);
  margin-bottom: 40px;
}
.hero__icon { height: 72px; width: auto; margin: 0 auto 28px; }
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--mist); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.25em;
  animation: drift 2.6s ease-in-out infinite;
}
@keyframes drift { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,8px);} }

/* page hero (interior pages) */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 84px) 0 84px;
  text-align: center; color: var(--white);
}
.page-hero h1 { color: var(--white); }
.page-hero .kicker { margin-bottom: 12px; }
.page-hero p { color: var(--mist); max-width: 560px; margin: 18px auto 0; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--mist); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section__head { max-width: 640px; margin: 0 auto 64px; text-align: center; }

/* pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.pillar { text-align: center; padding: 0 8px; }
.pillar__num {
  font-family: 'Lora', serif;
  font-size: 0.9rem; color: var(--gold);
  display: block; margin-bottom: 14px;
}
.pillar h3 { margin-bottom: 12px; }
.pillar p { font-size: 0.92rem; color: var(--gray); }

/* split feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split p + p { margin-top: 18px; }

/* cards (journal) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.card {
  background: var(--white);
  border: 1px solid rgba(12,42,67,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12,42,67,0.10); }
.card__body { padding: 30px 28px 34px; }
.card__meta {
  font-size: 0.7rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--gold);
  display: block; margin-bottom: 12px;
}
.card h3 { margin-bottom: 12px; font-size: 0.95rem; }
.card p { font-size: 0.92rem; color: var(--gray); }
.card__link {
  display: inline-block; margin-top: 18px;
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
}
.card__thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--teal)); position: relative; overflow: hidden; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* shop teaser */
.teaser { text-align: center; }
.teaser__badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 8px 22px;
  margin-bottom: 28px;
}
.teaser h2 { margin-bottom: 20px; }
.teaser p { max-width: 520px; margin: 0 auto 36px; }

/* product placeholders */
.products { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; margin-top: 64px; }
.product { text-align: center; }
.product__img {
  aspect-ratio: 4/5;
  background: var(--off-white);
  border: 1px solid rgba(12,42,67,0.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.product__img img { height: 44%; width: auto; opacity: .9; }
.product h3 { font-size: 0.85rem; margin-bottom: 6px; }
.product p { font-size: 0.8rem; color: var(--gray); }

/* signup */
.signup { max-width: 460px; margin: 48px auto 0; display: flex; gap: 0; }
.signup input {
  flex: 1;
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 300;
  padding: 14px 18px;
  border: 1px solid rgba(12,42,67,0.25); border-right: 0;
  outline: none; color: var(--navy); background: var(--white);
}
.signup input:focus { border-color: var(--teal); }
.signup .btn { border-width: 1px; }
.signup__note { font-size: 0.75rem; color: var(--gray); margin-top: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; }
.contact-item { margin-bottom: 30px; }
.contact-item h3 { font-size: 0.8rem; color: var(--gold); margin-bottom: 6px; }
.contact-item p, .contact-item a { font-size: 1rem; }
.form label {
  display: block;
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em;
  margin: 22px 0 8px;
}
.form input, .form textarea {
  width: 100%;
  font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 300;
  padding: 13px 16px;
  border: 1px solid rgba(12,42,67,0.22);
  outline: none; color: var(--navy);
}
.form input:focus, .form textarea:focus { border-color: var(--teal); }
.form textarea { min-height: 150px; resize: vertical; }
.form .btn { margin-top: 30px; }
.form__status { margin-top: 16px; font-size: 0.85rem; color: var(--teal); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--mist); padding: 72px 0 40px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer__logo { height: 52px; width: auto; margin-bottom: 20px; margin-left: -8px; }
.footer p { font-size: 0.88rem; }
.footer h3 { color: var(--white); font-size: 0.78rem; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--mist); font-size: 0.88rem; }
.footer a:hover { color: var(--seaglass); }
.footer__bar {
  border-top: 1px solid rgba(185,196,206,0.18);
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.75rem; color: rgba(185,196,206,0.7);
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .cards, .products { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy);
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav__links.open { max-height: 340px; box-shadow: 0 20px 40px rgba(12,42,67,0.3); }
  .nav__links li { border-top: 1px solid rgba(255,255,255,0.08); }
  .nav__links a { display: block; padding: 18px 24px; color: var(--white) !important; }
  .pillars, .cards, .products { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
  .signup input { border-right: 1px solid rgba(12,42,67,0.25); margin-bottom: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}
