/* ---------------------------------------------------
   Finding My Line — landing page styles
   Palette (do not alter): deep fairway #1B4332, course green #2D6A4F,
   fresh sage #95D5B2, clubhouse white #FAF9F6, terracotta #C1440E
--------------------------------------------------- */

:root{
  --fairway: #1B4332;
  --course: #2D6A4F;
  --sage: #95D5B2;
  --white: #FAF9F6;
  --terracotta: #C1440E;

  --ink: #172420;
  --ink-soft: #3f4d47;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max: 1080px;
  --radius: 14px;
  --ease: cubic-bezier(.4,0,.2,1);
}

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

html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; text-decoration: none; }

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p{ margin: 0 0 1em; }

.wrap{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow{ max-width: 720px; }

.visually-hidden{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--fairway);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus{ left: 12px; top: 12px; }

/* ---------- header ---------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,246,0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(27,67,50,0.08);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-lockup{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--fairway);
}

.logo-lockup-img{
  height: 28px;
  width: auto;
}

@media (min-width: 720px){
  .logo-lockup-img{ height: 32px; }
}

.site-nav{
  display: none;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.site-nav a{ transition: color .2s var(--ease); }
.site-nav a:hover{ color: var(--fairway); }

.nav-cta{
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 999px;
}
.nav-cta:hover{ opacity: 0.92; color: var(--white) !important; }

@media (min-width: 720px){
  .site-nav{ display: flex; }
}

/* ---------- buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), opacity .15s var(--ease), background-color .15s var(--ease);
}
.btn:active{ transform: scale(0.98); }

.btn-primary{
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover{ opacity: 0.9; }

.btn-ghost{
  background: transparent;
  color: var(--white);
  border-color: rgba(250,249,246,0.55);
}
.btn-ghost:hover{ background: rgba(250,249,246,0.1); }

.btn-full{ width: 100%; }

/* ---------- hero ---------- */

.hero{
  position: relative;
  color: var(--white);
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-placeholder-art{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,67,50,0.15) 0%, rgba(23,36,32,0.15) 45%, rgba(15,25,21,0.86) 100%);
}

.hero-content{
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 64px;
}

.hero-logo-card{
  display: inline-flex;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
  margin-bottom: 22px;
}

.hero-logo-img{
  height: 34px;
  width: auto;
}

@media (min-width: 720px){
  .hero-logo-img{ height: 46px; }
}

.eyebrow{
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

.eyebrow-dark{ color: var(--course); }

.hero h1{
  font-size: clamp(2.1rem, 8vw, 3.4rem);
  color: var(--white);
  max-width: 14ch;
}

.hero-sub{
  font-size: 1.05rem;
  max-width: 40ch;
  color: rgba(250,249,246,0.88);
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ---------- story ---------- */

.story{
  padding: 88px 0;
  background: var(--white);
}

.story-p{
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.story-pull{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 4.5vw, 1.8rem);
  color: var(--fairway);
  line-height: 1.35;
  margin: 1.2em 0;
  padding-left: 18px;
  border-left: 3px solid var(--terracotta);
}

/* ---------- play a round / invite ---------- */

.invite{
  padding: 88px 0;
  background: var(--fairway);
  color: var(--white);
}

.invite h2{
  color: var(--white);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
}

.invite-intro{
  color: rgba(250,249,246,0.82);
  font-size: 1.02rem;
  max-width: 56ch;
}

.invite-card{
  margin-top: 32px;
  background: rgba(250,249,246,0.06);
  border: 1px solid rgba(149,213,178,0.3);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.invite-status{
  color: var(--sage);
}

@media (min-width: 620px){
  .invite-card{ padding: 32px; }
}

/* ---------- follow ---------- */

.follow{
  padding: 88px 0;
  background: var(--white);
}

.follow h2{
  color: var(--fairway);
  font-size: clamp(1.6rem, 5.5vw, 2.1rem);
  max-width: 20ch;
}

.tiktok-callout{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--course);
  color: var(--white);
  border-radius: var(--radius);
  transition: transform .15s var(--ease);
}
.tiktok-callout:hover{ transform: translateY(-1px); }

.tiktok-icon{ flex-shrink: 0; display: flex; }

.tiktok-copy{ display: flex; flex-direction: column; flex: 1; }
.tiktok-copy strong{ font-size: 1.05rem; }
.tiktok-copy span{ font-size: 0.88rem; color: rgba(250,249,246,0.8); }

.tiktok-arrow{ font-size: 1.2rem; flex-shrink: 0; }

.video-grid{
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px){
  .video-grid{ grid-template-columns: repeat(3, 1fr); }
}

.video-slot{ text-align: left; }

.video-slot-inner{
  aspect-ratio: 9 / 16;
  background: #e9e4da;
  border: 1px dashed rgba(27,67,50,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon{
  font-size: 1.4rem;
  color: rgba(27,67,50,0.35);
}

.video-slot p{
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.video-grid-note{
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(23,36,32,0.5);
}

/* ---------- join / email ---------- */

.join{
  padding: 88px 0;
  background: var(--sage);
}

.join-mark{
  height: 22px;
  width: auto;
  opacity: 0.55;
  margin-bottom: 18px;
}

.join h2{
  color: var(--fairway);
  font-size: clamp(1.8rem, 6vw, 2.3rem);
}

.join-sub{
  color: rgba(27,67,50,0.75);
  font-size: 1.02rem;
}

.signup-form{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 560px){
  .form-row{ flex-direction: row; }
}

.form-input{
  flex: 1;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(27,67,50,0.25);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.form-input:focus{
  outline: 2px solid var(--fairway);
  outline-offset: 1px;
}

.hp-field{ position: absolute; left: -9999px; }

.form-status{
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--fairway);
  min-height: 1.2em;
}

/* ---------- footer ---------- */

.site-footer{
  background: var(--fairway);
  color: rgba(250,249,246,0.75);
  padding: 40px 0;
}

.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo-img{
  height: 26px;
  width: auto;
}

.footer-social a{
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--sage);
}
.footer-social a:hover{ text-decoration: underline; }

.footer-copy{
  font-size: 0.82rem;
  margin: 0;
  color: rgba(250,249,246,0.5);
}

@media (min-width: 640px){
  .footer-inner{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- scroll reveal (subtle, grounded — no flashy motion) ---------- */

.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1; transform: none; transition: none; }
  .btn{ transition: none; }
}
