/* ==========================================================================
   Founders Fairway — Landing Page Styles
   High-fidelity static recreation of foundersfairway.com
   ========================================================================== */

@font-face {
  font-family: 'Gloock';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../public/fonts/gloock-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../../public/fonts/montserrat-variable.woff2') format('woff2-variations'), url('../../public/fonts/montserrat-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../../public/fonts/inter-variable.woff2') format('woff2-variations'), url('../../public/fonts/inter-variable.woff2') format('woff2');
}

:root {
  --forest: #103c2e;
  --forest-dark: #0b2a20;
  --cream: #d8cdba;
  --cream-light: #ece6d9;
  --rust: #a97660;
  --rust-dark: #8f5f4a;
  --white: #ffffff;
  --text-dark: #1c2b23;
  --text-muted: #4a5a52;

  --font-heading: 'Gloock', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-button: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1200px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rust);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.container--narrow {
  max-width: 900px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
  display: block;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--forest {
  background: var(--forest);
  color: var(--cream);
}

.section--forest h2, .section--forest h3 {
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
}

.section--white {
  background: var(--white);
}

.section--rust {
  background: var(--rust);
  color: var(--white);
}

.section--rust h2 {
  color: var(--white);
}

.center {
  text-align: center;
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-button);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 17px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 52px;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--cream);
  color: var(--forest);
}

.btn--primary:hover {
  background: var(--white);
}

.btn--forest {
  background: var(--forest);
  color: var(--white);
}

.btn--forest:hover {
  background: var(--forest-dark);
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill--rust {
  background: var(--rust);
  color: var(--white);
}

.pill--forest {
  background: var(--forest);
  color: var(--cream);
}

/* Header
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 28px 0;
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header__logo img {
  height: 56px;
  width: auto;
}

/* Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 190px 0 96px;
  background: var(--forest);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: var(--forest);
  opacity: 0.45;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .accent-text {
  color: var(--cream);
}

.hero__subtext {
  font-size: 19px;
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero__video {
  position: relative;
  max-width: 520px;
  margin: 0 auto 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero__video video {
  width: 100%;
  display: block;
  background: #000;
}

.hero__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: rgba(216, 205, 186, 0.92);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.hero__play-btn svg {
  margin-left: 3px;
}

.hero__play-btn:hover {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.06);
}

.hero__video.is-playing .hero__play-btn {
  display: none;
}

.hero__caption {
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 36px;
  opacity: 0.92;
}

/* Marquee
   ========================================================================== */
.marquee {
  background: var(--cream);
  color: var(--forest);
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid rgba(16, 60, 46, 0.15);
  border-bottom: 1px solid rgba(16, 60, 46, 0.15);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee__item {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 40px);
  white-space: nowrap;
  padding-right: 40px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* Standard for Membership
   ========================================================================== */
.standard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.standard h2 {
  color: var(--forest);
  font-size: clamp(30px, 3.6vw, 42px);
}

.standard__intro {
  font-weight: 500;
  color: var(--text-dark);
  max-width: 460px;
}

.standard__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 560px;
}

.accordion {
  margin-top: 24px;
}

.accordion-item {
  border-bottom: 1px solid rgba(16, 60, 46, 0.25);
}

.accordion-item__trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
}

.accordion-item__icon {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--rust);
  transition: transform 0.2s ease;
}

.accordion-item[data-open="true"] .accordion-item__icon {
  transform: rotate(45deg);
}

.accordion-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.accordion-item[data-open="true"] .accordion-item__panel {
  max-height: 240px;
}

.accordion-item__panel-inner {
  padding: 0 0 18px;
  font-size: 15px;
  color: var(--text-muted);
}

/* FAQ variant (dark bg) */
.section--forest .accordion-item {
  border-bottom-color: rgba(216, 205, 186, 0.25);
}

.section--forest .accordion-item__trigger {
  color: var(--cream);
}

.section--forest .accordion-item__panel-inner {
  color: rgba(216, 205, 186, 0.8);
}

/* Not Everyone Gets In
   ========================================================================== */
.statement {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.statement h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  margin-bottom: 32px;
}

.statement p {
  font-size: 16px;
  color: rgba(216, 205, 186, 0.92);
}

/* Why Members Join
   ========================================================================== */
.why-join {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.why-join__image {
  position: sticky;
  top: 100px;
}

.why-join__image img {
  border-radius: var(--radius-lg);
  width: 100%;
}

.why-join h2 {
  color: var(--forest);
  font-size: clamp(28px, 3.6vw, 40px);
  max-width: 520px;
}

.check-list li {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(16, 60, 46, 0.15);
  font-size: 16px;
  color: var(--text-dark);
}

.check-list li:last-child {
  border-bottom: 1px solid rgba(16, 60, 46, 0.15);
}

.check-list li::before {
  content: '\2713';
  color: var(--rust);
  font-weight: 700;
  flex-shrink: 0;
}

/* Member Benefits grid
   ========================================================================== */
.benefits__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.benefits__head h2 {
  color: var(--forest);
  font-size: clamp(28px, 3.6vw, 42px);
}

.benefits__head p {
  color: var(--text-muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.benefit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-card__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: var(--white);
  color: var(--rust);
  font-weight: 700;
  text-align: center;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.benefit-card--cta {
  background: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card--cta a {
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Scramble Day
   ========================================================================== */
.scramble__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.scramble__head h2 {
  color: var(--white);
  font-size: clamp(28px, 3.6vw, 42px);
}

.scramble__head .eyebrow {
  color: var(--forest);
}

.scramble-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.scramble-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}

.scramble-card__number {
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--rust);
  margin-bottom: 12px;
}

.scramble-card h3 {
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 10px;
}

.scramble-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.scramble__note {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--forest);
}

.scramble__note strong {
  font-weight: 700;
}

/* Membership Dues / Pricing
   ========================================================================== */
.dues__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.dues__head h2 {
  color: var(--forest);
  font-size: clamp(28px, 4vw, 44px);
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 40px 40px;
  text-align: left;
  box-shadow: 0 30px 60px rgba(16, 60, 46, 0.18);
}

.pricing-card__badge {
  margin-top: -20px;
  margin-bottom: 24px;
}

.pricing-card h3 {
  color: var(--forest);
  font-size: 26px;
}

.pricing-card__sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.pricing-card__price .was {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 20px;
}

.pricing-card__price .now {
  font-family: var(--font-heading);
  color: var(--forest);
  font-size: 34px;
}

.pricing-card__fee {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pricing-card__fee .was {
  text-decoration: line-through;
}

.pricing-card__fee-new {
  color: var(--rust);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
}

.pricing-card ul {
  margin-bottom: 28px;
}

.pricing-card ul li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dark);
}

.pricing-card ul li::before {
  content: '\2713';
  color: var(--rust);
  font-weight: 700;
}

/* Road Ahead
   ========================================================================== */
.road-ahead__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.road-ahead__head h2 {
  color: var(--forest);
  font-size: clamp(26px, 3.6vw, 40px);
}

.road-ahead__head h2.accent {
  color: var(--rust);
}

.road-ahead__head p {
  color: var(--text-muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.timeline-item .pill {
  margin-bottom: 16px;
}

.timeline-item h3 {
  color: var(--forest);
  font-size: 19px;
  margin-bottom: 10px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Annual Retreat
   ========================================================================== */
.retreat {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 96px 0 0;
}

.retreat__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 20, 16, 0.35) 0%, rgba(9, 20, 16, 0.75) 100%);
}

.retreat__inner {
  position: relative;
  z-index: 1;
}

.retreat__head {
  max-width: 640px;
  margin-bottom: 40px;
}

.retreat__head .eyebrow {
  color: var(--cream);
}

.retreat__head h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--white);
}

.retreat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
}

.retreat-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 28px 24px 40px;
}

.retreat-card h3 {
  font-size: 19px;
  color: var(--white);
  margin-bottom: 10px;
}

.retreat-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Quote
   ========================================================================== */
.quote {
  text-align: center;
  padding: 100px 0;
}

.quote blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(22px, 3.2vw, 32px);
  color: var(--cream);
  max-width: 900px;
  margin: 0 auto 24px;
  line-height: 1.35;
}

.quote cite {
  font-style: normal;
  font-size: 14px;
  color: rgba(216, 205, 186, 0.8);
}

/* Application
   ========================================================================== */
.application {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.application__intro p {
  color: var(--text-muted);
  font-size: 15px;
}

.application__callout {
  background: var(--cream-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  font-size: 14px;
  color: var(--forest);
  margin-top: 12px;
}

.application__callout strong {
  font-weight: 700;
}

.application h2 {
  color: var(--forest);
  font-size: clamp(26px, 3.4vw, 36px);
}

/* Form
   ========================================================================== */
.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-field label .req {
  font-weight: 400;
  color: var(--text-muted);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(16, 60, 46, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  color: var(--text-dark);
  appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23103C2E' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(16, 60, 46, 0.12);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: #b3413a;
}

.form-error {
  display: none;
  color: #b3413a;
  font-size: 13px;
  margin-top: 6px;
}

.form-field.has-error .form-error {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status--error {
  display: block;
  background: #fbeae9;
  color: #8f2f28;
}

.form-status--loading {
  display: block;
  background: var(--cream-light);
  color: var(--forest);
}

.btn--submit {
  position: relative;
}

.btn--submit .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn--submit.is-loading .spinner {
  display: inline-block;
}

.btn--submit.is-loading .btn-label {
  opacity: 0.85;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* FAQ
   ========================================================================== */
.faq h2 {
  text-align: center;
  color: var(--cream);
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 48px;
}

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--cream);
  padding: 28px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--forest);
  font-size: 14px;
}

.site-footer__logo img {
  height: 32px;
}

.site-footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile nav helpers */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--forest);
  padding: 12px 20px;
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scramble-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .retreat-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .standard,
  .why-join,
  .application {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-join__image {
    position: static;
    order: -1;
  }

  .standard__image {
    order: -1;
  }

  .standard__image img {
    max-height: 360px;
  }

  .faq-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 150px 0 64px;
  }

  .site-header {
    padding: 20px 0;
  }

  .site-header__logo img {
    height: 42px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card--cta {
    aspect-ratio: auto;
    padding: 32px 20px;
  }

  .scramble-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .pricing-card {
    padding: 8px 24px 32px;
  }

  .marquee__item {
    font-size: 22px;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
