/* ================================================================
   COACH EIZENS — style.css
   Lora (display) + Poppins (UI)
   Dark cement palette with warm sand accent
   ================================================================ */

/* ── CSS Variables ──────────────────────────────────────────────── */
:root {
    /* Colours */
    --c-bg:        #1c1c1c;
    --c-surf:      #222222;
    --c-dark:      #141414;
    --c-card:      #2a2a2a;
    --c-border:    #2e2e2e;
    --c-white:     #f5f3ef;
    --c-off:       #c8c4bc;
    --c-muted:     #6b6760;
    --c-accent:    #d4c5a9;
    --c-accent-dk: #8a6a3a;
  
    /* Typography */
    --f-display: 'Lora', Georgia, serif;
    --f-ui:      'Poppins', system-ui, sans-serif;
  
    /* Spacing */
    --px-nav:     48px;
    --px-section: 80px;
  
    /* Transitions */
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast:    0.2s;
    --dur-med:     0.4s;
    --dur-slow:    0.7s;
  
    /* Nav */
    --nav-h: 68px;
  }
  
  /* ── Reset & Base ───────────────────────────────────────────────── */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }
  
  body {
    background-color: var(--c-bg);
    color: var(--c-white);
    font-family: var(--f-ui);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  
  img {
    display: block;
    max-width: 100%;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  /* ── Utility ────────────────────────────────────────────────────── */
  .px-nav     { padding-left: var(--px-nav); padding-right: var(--px-nav); }
  .px-section { padding-left: var(--px-section); padding-right: var(--px-section); }
  
  .accent     { color: var(--c-accent); }
  
  .section-eyebrow {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 1.2rem;
  }
  
  .section-title {
    font-family: var(--f-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--c-white);
    margin-bottom: 1.2rem;
  }
  
  .section-sub {
    font-family: var(--f-ui);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--c-off);
    max-width: 560px;
  }
  
  /* ── Brand wordmark ─────────────────────────────────────────────── */
  .brand-coach {
    font-family: var(--f-ui);
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--c-white);
  }
  
  .brand-eizens {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1rem;
    color: var(--c-white);
    margin-left: 3px;
  }
  
  /* ── Buttons ────────────────────────────────────────────────────── */
  .btn-primary-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: var(--c-white);
    color: var(--c-dark);
    font-family: var(--f-ui);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-smooth),
                color var(--dur-fast) var(--ease-smooth),
                transform var(--dur-fast) var(--ease-smooth);
  }
  
  .btn-primary-site:hover {
    background: var(--c-accent);
    color: var(--c-dark);
    transform: translateY(-2px);
  }
  
  .btn-ghost-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 34px;
    background: transparent;
    color: var(--c-white);
    font-family: var(--f-ui);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    border-radius: 50px;
    border: 1px solid rgba(200, 196, 188, 0.35);
    cursor: pointer;
    transition: border-color var(--dur-fast) var(--ease-smooth),
                color var(--dur-fast) var(--ease-smooth),
                transform var(--dur-fast) var(--ease-smooth);
  }
  
  .btn-ghost-site:hover {
    border-color: var(--c-off);
    color: var(--c-white);
    transform: translateY(-2px);
  }
  
  .btn-nav {
    padding: 10px 24px;
    background: transparent;
    color: var(--c-white);
    font-family: var(--f-ui);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    border-radius: 50px;
    border: 1px solid rgba(200, 196, 188, 0.3);
    transition: background var(--dur-fast), border-color var(--dur-fast);
  }
  
  .btn-nav:hover,
  .btn-nav:focus {
    background: var(--c-white);
    color: var(--c-dark);
    border-color: var(--c-white);
  }
  
  /* ── NAV ────────────────────────────────────────────────────────── */
  #navbar {
    height: var(--nav-h);
    background: transparent;
    transition: background var(--dur-med) var(--ease-smooth),
                backdrop-filter var(--dur-med) var(--ease-smooth),
                box-shadow var(--dur-med) var(--ease-smooth);
    z-index: 1000;
  }
  
  #navbar.scrolled {
    background: rgba(20, 20, 20, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--c-border);
  }
  
  #navbar .navbar-brand {
    line-height: 1;
  }
  
  .nav-link {
    font-family: var(--f-ui);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--c-off) !important;
    letter-spacing: 0.04em;
    transition: color var(--dur-fast);
    position: relative;
    padding-bottom: 2px !important;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-accent);
    transition: width var(--dur-med) var(--ease-out);
  }
  
  .nav-link:hover {
    color: var(--c-white) !important;
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  /* Custom hamburger */
  .navbar-toggler {
    border: none;
    background: none;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .navbar-toggler:focus { box-shadow: none; }
  
  .toggler-icon {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--c-white);
    transition: transform var(--dur-med), opacity var(--dur-med);
  }
  
  /* ── HERO ───────────────────────────────────────────────────────── */
  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
  }
  
  .hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  
  .hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
  }
  
  .hero__overlay {
    position: absolute;
    inset: 0;
    /* Left-weighted gradient for text legibility */
    background:
      linear-gradient(
        to right,
        rgba(12, 12, 12, 0.80) 0%,
        rgba(12, 12, 12, 0.55) 50%,
        rgba(12, 12, 12, 0.15) 100%
      ),
      linear-gradient(
        to top,
        rgba(28, 28, 28, 0.70) 0%,
        transparent 50%
      );
  }
  
  .hero__content {
    position: relative;
    z-index: 1;
    padding: 0 var(--px-section) 100px;
    max-width: 860px;
  }
  
  .hero__eyebrow {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 1.4rem;
  }
  
  .hero__headline {
    font-family: var(--f-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--c-white);
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
  }
  
  .hero__line {
    display: block;
    overflow: hidden;
  }
  
  .word { display: inline-block; }
  .roman { font-style: normal; }
  .italic { font-style: italic; }
  
  .hero__sub {
    font-family: var(--f-ui);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 300;
    color: var(--c-off);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    max-width: 620px;
  }
  
  .hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
  }
  
  .hero__tags {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--c-muted);
    letter-spacing: 0.04em;
    margin: 0;
  }
  
  /* Scroll indicator */
  .hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .hero__scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background: var(--c-muted);
    animation: scrollPulse 2s ease-in-out infinite;
  }
  
  .hero__scroll-label {
    font-family: var(--f-ui);
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-muted);
  }
  
  @keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.15); }
  }
  
  /* ── ABOUT ──────────────────────────────────────────────────────── */
  .section-about {
    background: var(--c-bg);
    padding: 120px 0;
  }
  
  .about__photo-col {
    padding-right: 0;
  }
  
  .about__photo-wrap {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
  }
  
  .about__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%);
    transition: transform 0.8s var(--ease-smooth);
  }
  
  .about__photo-wrap:hover .about__photo {
    transform: scale(1.03);
  }
  
  .about__text-col {
    padding-left: 0;
  }
  
  .about__inner {
    padding: 60px 80px 60px 72px;
  }
  
  .about__name {
    font-family: var(--f-display);
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2rem;
  }
  
  .about__bio {
    font-family: var(--f-ui);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--c-off);
    line-height: 1.8;
    margin-bottom: 1rem;
  }
  
  /* Stats row */
  .about__stats {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 2.4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-border);
    flex-wrap: wrap;
  }
  
  .stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 100px;
  }
  
  .stat__value {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--c-white);
    line-height: 1;
  }
  
  .stat__label {
    font-family: var(--f-ui);
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--c-muted);
    letter-spacing: 0.04em;
  }
  
  .stat__divider {
    width: 1px;
    height: 44px;
    background: var(--c-border);
    margin: 0 28px;
    align-self: flex-start;
    margin-top: 4px;
  }
  
  /* ── HOW I WORK ─────────────────────────────────────────────────── */
  .section-method {
    background: var(--c-surf);
    padding: 120px 0;
  }
  
  .method__header {
    margin-bottom: 64px;
  }
  
  .method-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    padding: 36px 28px 32px;
    height: 100%;
    position: relative;
    transition: border-color var(--dur-med) var(--ease-smooth),
                transform var(--dur-med) var(--ease-smooth);
  }
  
  .method-card:hover {
    border-color: var(--c-muted);
    transform: translateY(-4px);
  }
  
  .method-card__accent {
    position: absolute;
    top: 0;
    left: 28px;
    width: 32px;
    height: 3px;
    background: var(--c-accent);
    border-radius: 0 0 2px 2px;
  }
  
  .method-card__title {
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--c-white);
    margin: 20px 0 14px;
  }
  
  .method-card__body {
    font-family: var(--f-ui);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--c-off);
    line-height: 1.75;
    margin: 0;
  }
  
  /* ── SERVICES ───────────────────────────────────────────────────── */
  .section-services {
    background: var(--c-bg);
    padding: 120px 0;
  }
  
  .services__header {
    margin-bottom: 56px;
  }
  
  .service-card {
    background: var(--c-surf);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    padding: 36px 32px 32px;
    height: 100%;
    transition: border-color var(--dur-med) var(--ease-smooth),
                transform var(--dur-med) var(--ease-smooth);
  }
  
  .service-card:hover {
    border-color: var(--c-muted);
    transform: translateY(-4px);
  }
  
  .service-card__title {
    font-family: var(--f-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--c-white);
    margin-bottom: 14px;
  }
  
  .service-card__rule {
    width: 100%;
    height: 1px;
    background: var(--c-border);
    margin-bottom: 18px;
  }
  
  .service-card__body {
    font-family: var(--f-ui);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--c-off);
    line-height: 1.75;
    margin: 0;
  }
  
  .services__note {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--c-muted);
    text-align: center;
    margin-top: 48px;
    letter-spacing: 0.04em;
  }
  
  /* ── EXPERIENCE / TIMELINE ──────────────────────────────────────── */
  .section-experience {
    background: var(--c-surf);
    padding: 120px 0;
  }
  
  .experience__header {
    margin-bottom: 64px;
  }
  
  .timeline {
    position: relative;
    padding-left: 28px;
    max-width: 680px;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--c-border);
  }
  
  .timeline__item {
    position: relative;
    display: flex;
    gap: 28px;
    padding-bottom: 44px;
  }
  
  .timeline__item:last-child {
    padding-bottom: 0;
  }
  
  .timeline__dot {
    position: absolute;
    left: -32px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-accent);
    border: 2px solid var(--c-surf);
    flex-shrink: 0;
    transition: transform var(--dur-med) var(--ease-out),
                background var(--dur-med);
  }
  
  .timeline__item:hover .timeline__dot {
    transform: scale(1.4);
    background: var(--c-white);
  }
  
  .timeline__content {
    padding-top: 0;
  }
  
  .timeline__title {
    font-family: var(--f-ui);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-white);
    margin-bottom: 4px;
    line-height: 1.4;
  }
  
  .timeline__sub {
    font-family: var(--f-ui);
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--c-muted);
    margin: 0;
  }
  
  /* ── CONTACT ────────────────────────────────────────────────────── */
  .section-contact {
    background: var(--c-bg);
    padding: 120px 0;
  }
  
  .contact__header {
    text-align: center;
    margin-bottom: 56px;
  }
  
  .contact__header .section-sub {
    margin: 0 auto;
  }
  
  .contact__form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .form-label-site {
    font-family: var(--f-ui);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--c-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  
  .optional {
    text-transform: none;
    letter-spacing: 0;
    color: var(--c-muted);
    font-size: 0.7rem;
  }
  
  .form-control-site {
    width: 100%;
    background: var(--c-surf);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    padding: 14px 16px;
    font-family: var(--f-ui);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--c-white);
    outline: none;
    transition: border-color var(--dur-fast) var(--ease-smooth);
    appearance: none;
  }
  
  .form-control-site::placeholder {
    color: var(--c-muted);
  }
  
  .form-control-site:focus {
    border-color: var(--c-off);
  }
  
  select.form-control-site {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6760' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
  }
  
  select.form-control-site option {
    background: var(--c-surf);
    color: var(--c-white);
  }
  
  textarea.form-control-site {
    resize: vertical;
    min-height: 120px;
  }
  
  .btn-submit {
    min-width: 220px;
    margin-bottom: 1rem;
  }
  
  .form__note {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--c-muted);
    margin: 0;
  }
  
  /* ── FOOTER ─────────────────────────────────────────────────────── */
  .site-footer {
    background: var(--c-dark);
    padding: 56px 0 32px;
    border-top: 1px solid var(--c-border);
  }
  
  .footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 48px;
  }
  
  .footer__logo {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 1.1rem;
  }
  
  .footer__tagline {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--c-muted);
    margin-bottom: 10px;
  }
  
  .footer__email {
    font-family: var(--f-ui);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--c-off);
    transition: color var(--dur-fast);
  }
  
  .footer__email:hover {
    color: var(--c-white);
  }
  
  .footer__socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
  }
  
  .footer__social-link {
    font-family: var(--f-ui);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--c-off);
    letter-spacing: 0.04em;
    transition: color var(--dur-fast);
    position: relative;
  }
  
  .footer__social-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-accent);
    transition: width var(--dur-med) var(--ease-out);
  }
  
  .footer__social-link:hover {
    color: var(--c-white);
  }
  
  .footer__social-link:hover::after {
    width: 100%;
  }
  
  .footer__bottom {
    border-top: 1px solid var(--c-border);
    padding-top: 24px;
  }
  
  .footer__copy {
    font-family: var(--f-ui);
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--c-muted);
    margin: 0;
  }
  
  /* ── GSAP initial states (elements start hidden) ────────────────── */
  [data-gsap] {
    opacity: 0;
  }
  
  /* ── Responsive ─────────────────────────────────────────────────── */
  @media (max-width: 991.98px) {
    :root {
      --px-nav:     24px;
      --px-section: 24px;
    }
  
    .hero__content {
      padding: 0 24px 80px;
      max-width: 100%;
    }
  
    .about__inner {
      padding: 48px 24px;
    }
  
    .about__photo-wrap {
      aspect-ratio: 3/2;
    }
  
    .about__stats {
      gap: 16px 0;
    }
  
    .stat__divider {
      display: none;
    }
  
    .stat {
      min-width: 50%;
    }
  
    .footer__socials {
      align-items: flex-start;
    }
  }
  
  @media (max-width: 575.98px) {
    .hero__headline {
      font-size: clamp(2.4rem, 10vw, 3.2rem);
    }
  
    .hero__cta {
      flex-direction: column;
    }
  
    .hero__cta .btn-primary-site,
    .hero__cta .btn-ghost-site {
      width: 100%;
      justify-content: center;
    }
  
    .timeline {
      padding-left: 20px;
    }
  }
/* ── Formspree success / error states ───────────────────────────── */
.form__success {
  text-align: center;
  padding: 32px;
  background: var(--c-surf);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  margin-bottom: 24px;
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--c-accent);
}

.form__error-msg {
  text-align: center;
  padding: 16px;
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 4px;
  margin-bottom: 20px;
  font-family: var(--f-ui);
  font-size: 0.85rem;
  color: #e74c3c;
}

.form__field-error {
  display: block;
  font-family: var(--f-ui);
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: 4px;
  min-height: 18px;
}

/* aria-invalid set by Formspree SDK on error */
.form-control-site[aria-invalid="true"] {
  border-color: #c0392b;
}

/* ── Mobile nav menu ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  #navMenu {
    background: rgba(14, 14, 14, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 24px 28px;
    margin-top: 8px;
    border-top: 1px solid var(--c-border);
  }

  #navMenu .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--c-border);
  }

  #navMenu .btn-nav {
    margin-top: 16px;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }
}
