:root {
    --sky:   #6ECFED;
    --teal:  #1A7A96;
    --dark:  #1C1C1C;
    --sand:  #F5EFE3;
    --white: #FDFAF6;
    --body:  #3A3A3A;
    --muted: #595959;
    --rule:  rgba(28,28,28,0.1);
  }

  *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--white);
    color: var(--dark);
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
  }
/* NAV */
  nav {
    position: absolute; top:0; left:0; right:0; z-index:100;
    padding: 18px 52px;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.35s, border-color 0.35s;
  }

  .nav-logo { height: 44px; width: auto; filter: brightness(0) invert(1); transition: filter 0.35s; }
  nav.scrolled .nav-logo { filter: none; }

  .nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }

  .nav-links a {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    text-decoration: none; color: rgba(255,255,255,0.92);
    transition: color 0.2s;
  }

  nav.scrolled .nav-links a { color: var(--body); }
  .nav-links a:hover { color: var(--sky); }

  .nav-cta {
    background: white; color: var(--dark) !important;
    padding: 10px 24px; transition: background 0.2s !important;
  }
  nav.scrolled .nav-cta { background: var(--dark); color: var(--white) !important; }
  .nav-cta:hover { background: var(--sky) !important; color: var(--dark) !important; }

  /* HERO */
  #hero {
    position: relative;
    min-height: 43vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 76px 56px 40px;
    overflow: hidden;
    text-align: center;
  }

  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center bottom;
  }

  .hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
      160deg,
      rgba(110,207,237,0.45) 0%,
      rgba(26,122,150,0.52) 50%,
      rgba(20,90,115,0.62) 100%
    );
  }

  .hero-content {
    position: relative; z-index: 2;
    max-width: 760px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-wordmark {
    width: min(700px, 88vw);
    display: block; margin-bottom: 0px;
    animation: fadeUp 0.9s ease both;
    filter: brightness(0) invert(1);
  }

  @keyframes fadeUp {
    from { opacity:0; transform:translateY(16px); }
    to   { opacity:1; transform:translateY(0); }
  }

  /* BUTTONS */
  .btn {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    text-decoration: none; padding: 14px 34px;
    transition: all 0.2s; cursor: pointer; border: none;
  }

  .btn-dark { background: var(--dark); color: var(--white); }
  .btn-dark:hover { background: var(--teal); }
  .btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
  .btn-outline:hover { background: var(--dark); color: var(--white); }
  .btn-teal { background: var(--teal); color: var(--white); }
  .btn-teal:hover { background: var(--dark); }
  .btn-lg { padding: 18px 52px; font-size: 12px; }

  /* COMMON */
  .section-label {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 12px;
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700; line-height: 1.1;
    color: var(--dark); margin-bottom: 24px;
  }

  .stripe { width: 100%; height: 1px; background: var(--rule); }

  /* INTRO STRIP */
  #intro {
    border-bottom: 1px solid var(--rule);
    padding: 48px 56px;
  }

  .intro-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 12px;
  }

  .intro-sub {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 560px;
  }

  .intro-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }

  /* ABOUT */
  #about {
    max-width: 1100px; margin: 0 auto;
    padding: 110px 56px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
  }

  .about-body p {
    font-size: 16px; font-weight: 400; line-height: 1.8;
    color: var(--body); margin-bottom: 18px;
  }

  .pillars { display: flex; flex-direction: column; }

  .pillar {
    padding: 24px 28px;
    border-left: 2px solid var(--rule);
    transition: border-color 0.25s, background 0.25s;
  }

  .pillar:hover { border-left-color: var(--sky); background: rgba(110,207,237,0.06); }

  .pillar-num {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.16em; color: var(--sky); margin-bottom: 5px;
  }

  .pillar h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 700;
    color: var(--dark); margin-bottom: 5px;
  }

  .pillar p { font-size: 13px; line-height: 1.7; color: var(--muted); }

  /* QUOTE */
  .quote-band {
    background: var(--sand);
    padding: 80px 56px; text-align: center;
  }

  .quote-band blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 600; color: var(--dark);
    max-width: 780px; margin: 0 auto; line-height: 1.45;
  }

  .quote-band cite {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--teal); margin-top: 20px;
  }

  /* RILEY */
  #riley {
    max-width: 1100px; margin: 0 auto;
    padding: 110px 56px;
    display: grid; grid-template-columns: 300px 1fr;
    gap: 72px; align-items: start;
  }

  .riley-photo {
    width: 100%; aspect-ratio: 3/4;
    background: var(--sky);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; position: relative;
    overflow: hidden;
  }

  .riley-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  .riley-photo::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 3px; background: var(--sky);
  }

  .riley-role {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 28px;
  }

  .riley-bio p {
    font-size: 16px; line-height: 1.85; color: var(--body); margin-bottom: 16px;
  }

  /* BOOK */
  #book {
    background: var(--sky);
    padding: 110px 56px; text-align: center;
  }

  #book .section-label { color: var(--dark); opacity: 0.55; }
  #book .section-title { color: var(--dark); max-width: 540px; margin: 0 auto 16px; }

  .book-sub {
    font-size: 17px; line-height: 1.7; color: var(--dark); opacity: 0.7;
    max-width: 560px; margin: 0 auto 44px;
  }

  .membership-form {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 34px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(28,28,28,0.08);
    text-align: left;
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .form-field-full {
    margin-top: 18px;
    margin-bottom: 24px;
  }

  .form-field label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dark);
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%;
    border: 1px solid rgba(28,28,28,0.16);
    background: var(--white);
    color: var(--dark);
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    padding: 13px 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .form-field textarea {
    resize: vertical;
    min-height: 130px;
  }

  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(26,122,150,0.14);
  }

  .form-note {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(28,28,28,0.58);
    text-align: center;
  }

  /* FOOTER */
  footer {
    background: var(--dark); padding: 52px 56px;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  }

  .footer-brand img { height: 52px; width: auto; margin-bottom: 16px; display: block; }
  .footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.4); max-width: 240px; }

  .footer-col h4 {
    font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--sky); margin-bottom: 16px;
  }

  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a, .footer-col a {
    font-size: 13px; color: rgba(255,255,255,0.5);
    text-decoration: none; transition: color 0.2s;
  }
  .footer-col ul li a:hover, .footer-col a:hover { color: var(--sky); }
  .footer-col p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.5); }

  .footer-bottom {
    grid-column: 1 / -1; padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 10px; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(255,255,255,0.25);
  }

  /* MOBILE */
  @media (max-width: 900px) {
    nav { padding: 14px 24px; }
    .nav-links li:not(:last-child) { display: none; }
    #hero { padding: 0 24px 64px; }
    #intro { padding: 36px 24px; }
    #about { grid-template-columns: 1fr; padding: 72px 24px; gap: 40px; }
    #riley { grid-template-columns: 1fr; padding: 72px 24px; }
    .riley-photo { max-width: 260px; }
    .quote-band { padding: 60px 24px; }
    #book { padding: 72px 24px; }
    .membership-form { padding: 24px 18px; }
    .form-grid { grid-template-columns: 1fr; }
    footer { grid-template-columns: 1fr; padding: 40px 24px; }
    .footer-bottom { grid-column: 1; }
  }
