/* ============================================================
     TOKENS
     Palette pulled from real parol materials:
     ink        — the Christmas-eve sky the parol hangs in
     capiz      — the pale, faintly iridescent shell panes
     gold       — the bulb glow inside the lantern
     ember      — the papel de hapon (tissue paper) red-orange
     ============================================================ */
  :root{
    --ink: #0f1330;
    --ink-2: #171b42;
    --ink-3: #1f254f;
    --line: rgba(246,240,228,0.14);
    --line-strong: rgba(246,240,228,0.28);
    --capiz: #f6f0e4;
    --capiz-dim: rgba(246,240,228,0.68);
    --capiz-faint: rgba(246,240,228,0.42);
    --gold: #e7a33e;
    --gold-soft: #f2c572;
    --gold-deep: #c97a22;
    --ember: #e2572b;
    --ember-soft: #f0876a;

    --serif: "Fraunces", ui-serif, Georgia, serif;
    --sans: "Sora", ui-sans-serif, system-ui, sans-serif;

    --container: 1120px;
    --pad: clamp(24px, 5vw, 64px);
  }

  *,*::before,*::after{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior: auto; }
    *,*::before,*::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  }

  body{
    margin: 0;
    background: var(--ink);
    color: var(--capiz);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1,h2,h3{
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.08;
    margin: 0;
    color: var(--capiz);
  }

  p{ margin: 0; }

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

  ::selection{ background: var(--gold); color: var(--ink); }

  :focus-visible{
    outline: 2px solid var(--gold-soft);
    outline-offset: 3px;
  }

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

  .wrap{
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  /* ============================================================
     NAV
     ============================================================ */
  .site-nav{
    position: sticky;
    top: 0;
    z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color .35s ease, border-color .35s ease;
  }
  .site-nav.is-scrolled{
    background: rgba(15,19,48,0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .site-nav .wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .wordmark{
    font-family: var(--serif);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .wordmark .mark{
    width: 20px; height: 20px;
    flex: none;
  }
  .nav-links{
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    font-size: 14.5px;
    font-weight: 500;
  }
  .nav-links a{
    color: var(--capiz-dim);
    position: relative;
    padding: 4px 0;
    transition: color .2s ease;
  }
  .nav-links a:hover{ color: var(--capiz); }
  .nav-links a.is-active{ color: var(--gold-soft); }
  .nav-toggle{
    display: none;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    width: 40px; height: 36px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after{
    content: "";
    display: block;
    width: 18px; height: 1.5px;
    background: var(--capiz);
    position: relative;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle span::before{ position:absolute; top:-6px; }
  .nav-toggle span::after{ position:absolute; top:6px; }

  @media (max-width: 720px){
    .nav-toggle{ display: flex; }
    .nav-links{
      position: fixed;
      inset: 0 0 auto 0;
      top: 68px;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      background: var(--ink-2);
      border-bottom: 1px solid var(--line);
      padding: 10px var(--pad) 24px;
      transform: translateY(-8px);
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s ease, transform .2s ease;
    }
    .nav-links.is-open{
      opacity: 1; transform: translateY(0); pointer-events: auto;
    }
    .nav-links a{ padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  }

  /* ============================================================
     LIGHT-STRING DIVIDER
     Used instead of a plain hairline between sections —
     the string of bulbs on a parol's tail, as a structural device.
     ============================================================ */
  .lightstring{
    display: flex;
    align-items: center;
    gap: 0;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad);
  }
  .lightstring::before,
  .lightstring::after{
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--line-strong));
  }
  .lightstring::after{ background: linear-gradient(to left, transparent, var(--line-strong)); }
  .lightstring .bulbs{
    display: flex;
    gap: 22px;
    padding: 0 18px;
  }
  .lightstring .bulbs i{
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold-soft);
    display: block;
    box-shadow: 0 0 6px 1px rgba(242,197,114,0.55);
    animation: bulb-twinkle 3.2s ease-in-out infinite;
  }
  .lightstring .bulbs i:nth-child(2n){ animation-delay: .6s; }
  .lightstring .bulbs i:nth-child(3n){ animation-delay: 1.2s; }
  @keyframes bulb-twinkle{
    0%,100%{ opacity: .35; }
    50%{ opacity: 1; }
  }

  /* ============================================================
     HERO
     ============================================================ */
  .hero{
    padding-top: clamp(48px, 8vw, 88px);
    padding-bottom: clamp(40px, 6vw, 64px);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero-kicker{
    font-size: 14px;
    color: var(--capiz-faint);
    letter-spacing: 0.01em;
    margin-bottom: 22px;
  }
  .hero h1{
    font-size: clamp(38px, 6.4vw, 74px);
    max-width: 16ch;
    margin: 0 auto;
    letter-spacing: -0.01em;
  }
  .hero h1 em{
    font-style: italic;
    font-weight: 500;
    color: var(--gold-soft);
  }
  .hero .lede{
    margin: 26px auto 0;
    max-width: 44ch;
    font-size: clamp(16px, 2vw, 19px);
    color: var(--capiz-dim);
  }

  .hero-visual{
    position: relative;
    width: min(420px, 82vw);
    margin: clamp(36px, 6vw, 56px) auto 8px;
    aspect-ratio: 400 / 480;
  }
  .hero-star{ width: 100%; height: 100%; }

  .hero-star .glow{ opacity: 0; transition: opacity 1.4s ease .1s; }
  .hero-star .star-body{
    transform-origin: 200px 190px;
    opacity: 0; transform: scale(.82);
    transition: opacity 1s ease .25s, transform 1s cubic-bezier(.2,.8,.2,1) .25s;
  }
  .hero-star .facets{ opacity: 0; transition: opacity 1s ease .6s; }
  .hero-star .rays line{ opacity: 0; transition: opacity .8s ease; }
  .hero-star .tail{ opacity: 0; transition: opacity 1s ease .5s; }
  .hero-star .lights circle{ opacity: 0; }
  .hero-star .center-light{ opacity: 0; transition: opacity .6s ease .9s; }

  .is-lit .hero-star .glow{ opacity: 1; }
  .is-lit .hero-star .star-body{ opacity: 1; transform: scale(1); }
  .is-lit .hero-star .facets{ opacity: 1; }
  .is-lit .hero-star .tail{ opacity: .6; }
  .is-lit .hero-star .center-light{ opacity: 1; }
  .is-lit .hero-star .rays line{ animation: ray-in .8s ease forwards; }
  .is-lit .hero-star .lights circle{ animation: light-in .5s ease forwards, twinkle 2.6s ease-in-out 1.2s infinite; }

  @keyframes ray-in{ from{ opacity: 0; } to{ opacity: .55; } }
  @keyframes light-in{ from{ opacity: 0; } to{ opacity: 1; } }
  @keyframes twinkle{ 0%,100%{ opacity: .4; } 50%{ opacity: 1; } }
  .hero-star .center-light{ animation: pulse 3.4s ease-in-out 1.4s infinite; }
  @keyframes pulse{ 0%,100%{ r: 9; opacity: .85; } 50%{ r: 13; opacity: 1; } }

  .hero-caption{
    margin-top: clamp(20px, 4vw, 30px);
  }
  .hero-caption .line1{
    font-family: var(--serif);
    font-size: clamp(15px, 2vw, 18px);
    color: var(--capiz);
  }
  .hero-caption .line2{
    font-size: 14px;
    color: var(--gold-soft);
    margin-top: 6px;
    font-weight: 500;
  }

  .hero-actions{
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    font-family: var(--sans);
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .18s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  }
  .btn:hover{ transform: translateY(-1px); }
  .btn-solid{ background: var(--gold); color: var(--ink); }
  .btn-solid:hover{ background: var(--gold-soft); }
  .btn-ghost{ border-color: var(--line-strong); color: var(--capiz); }
  .btn-ghost:hover{ border-color: var(--gold-soft); color: var(--gold-soft); }

  /* ============================================================
     SECTION LAYOUT
     ============================================================ */
  section.block{
    padding-top: clamp(64px, 9vw, 104px);
    padding-bottom: clamp(64px, 9vw, 104px);
  }
  .eyebrow-plain{
    font-size: 14px;
    color: var(--capiz-faint);
    margin-bottom: 14px;
  }
  .section-head{
    max-width: 640px;
  }
  .section-head h2{
    font-size: clamp(28px, 4vw, 42px);
  }
  .section-head .sub{
    margin-top: 16px;
    font-size: 17px;
    color: var(--capiz-dim);
    max-width: 52ch;
  }

  /* Qualities — three statements, treated as a single composed
     passage rather than a labelled row of icon-cards. */
  .qualities{
    display: grid;
    gap: 34px;
    margin-top: 8px;
  }
  .quality{
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 6px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--line);
  }
  .quality:last-child{ border-bottom: none; padding-bottom: 0; }
  .quality h3{
    font-size: clamp(24px, 3.4vw, 32px);
    font-weight: 500;
  }
  .quality h3 .accent{ color: var(--gold-soft); font-style: italic; }
  .quality p{
    color: var(--capiz-dim);
    max-width: 58ch;
    font-size: 16px;
  }
  @media (min-width: 860px){
    .quality{
      grid-template-columns: 1fr 1.2fr;
      align-items: baseline;
      gap: 40px;
    }
  }

  /* Story / SmartParol feature list — flat panels, left rule
     instead of the shadow+radius card kit. */
  .story-grid{
    display: grid;
    gap: clamp(28px, 5vw, 60px);
    margin-top: 48px;
  }
  @media (min-width: 900px){
    .story-grid{ grid-template-columns: 0.95fr 1.05fr; align-items: start; }
  }
  .story-copy p + p{ margin-top: 16px; }
  .story-copy p{ color: var(--capiz-dim); font-size: 16px; max-width: 54ch; }
  .story-copy .lead{
    font-family: var(--serif);
    font-size: 22px;
    color: var(--capiz);
    max-width: 20ch;
    margin-bottom: 18px;
  }
  .feature-list{
    display: grid;
    gap: 0;
  }
  .feature-item{
    padding: 20px 0 20px 22px;
    border-left: 2px solid var(--line-strong);
    position: relative;
  }
  .feature-item + .feature-item{ border-top: 1px solid var(--line); }
  .feature-item h4{
    font-family: var(--sans);
    font-weight: 600;
    font-size: 16px;
    color: var(--capiz);
    margin: 0 0 6px;
  }
  .feature-item p{
    color: var(--capiz-dim);
    font-size: 15px;
    max-width: 46ch;
  }

  /* Vision / timeline — this content genuinely is a sequence
     (today / tomorrow / the future), so a numbered treatment
     is earned here rather than decorative. */
  .timeline{
    margin-top: 48px;
    display: grid;
    gap: 0;
  }
  .tl-row{
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
  }
  .tl-row:last-child{ border-bottom: 1px solid var(--line); }
  .tl-index{
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold-soft);
    font-size: 16px;
  }
  .tl-body h4{
    font-family: var(--serif);
    font-weight: 500;
    font-size: 22px;
    color: var(--capiz);
    margin: 0 0 6px;
  }
  .tl-body p{
    color: var(--capiz-dim);
    font-size: 15.5px;
    max-width: 56ch;
  }

  .vision-statement{
    margin-top: 40px;
    font-family: var(--serif);
    font-size: clamp(20px, 2.6vw, 26px);
    color: var(--capiz);
    max-width: 30ch;
  }

  /* CTA band */
  .cta-band{
    padding-top: clamp(70px, 10vw, 120px);
    padding-bottom: clamp(70px, 10vw, 120px);
    text-align: center;
    position: relative;
  }
  .cta-band h2{
    font-size: clamp(30px, 5vw, 48px);
    max-width: 18ch;
    margin: 0 auto;
  }
  .cta-band .email-link{
    display: inline-block;
    margin-top: 26px;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(20px, 3vw, 28px);
    color: var(--gold-soft);
    border-bottom: 1px solid var(--gold-deep);
    padding-bottom: 4px;
    transition: color .2s ease, border-color .2s ease;
  }
  .cta-band .email-link:hover{ color: var(--capiz); border-color: var(--capiz-dim); }

  /* Footer */
  footer.site-footer{
    border-top: 1px solid var(--line);
    padding: 44px 0 34px;
  }
  .footer-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-brand .wordmark{ margin-bottom: 10px; }
  .footer-brand p{ color: var(--capiz-faint); font-size: 13.5px; max-width: 34ch; }
  .footer-links{
    display: flex;
    gap: 28px;
    font-size: 14px;
  }
  .footer-links a{ color: var(--capiz-dim); }
  .footer-links a:hover{ color: var(--gold-soft); }
  .footer-meta{
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
    color: var(--capiz-faint);
  }

  /* ============================================================
     ABOUT PAGE SPECIFIC
     ============================================================ */
  .page-header{
    padding-top: clamp(56px, 9vw, 96px);
    padding-bottom: clamp(20px, 3vw, 32px);
  }
  .page-header .eyebrow-plain{ margin-bottom: 18px; }
  .page-header h1{
    font-size: clamp(34px, 5.6vw, 58px);
    max-width: 18ch;
  }
  .page-header .lede{
    margin-top: 22px;
    font-size: 18px;
    color: var(--capiz-dim);
    max-width: 50ch;
  }

  .pillars{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 44px;
  }
  .pillar{
    background: var(--ink);
    padding: 26px 22px;
  }
  .pillar h4{
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    color: var(--gold-soft);
    margin: 0 0 8px;
  }
  .pillar p{ font-size: 14px; color: var(--capiz-dim); }

  .beliefs{
    margin-top: 46px;
    display: grid;
    gap: 0;
  }
  .belief{
    padding: 30px 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 14px;
  }
  .belief:last-child{ border-bottom: 1px solid var(--line); }
  @media (min-width: 780px){
    .belief{ grid-template-columns: 1fr 1.6fr; align-items: baseline; }
  }
  .belief h4{
    font-family: var(--serif);
    font-weight: 500;
    font-size: 21px;
    color: var(--capiz);
  }
  .belief p{ color: var(--capiz-dim); font-size: 15.5px; max-width: 54ch; }

  .closing-line{
    text-align: center;
    padding: clamp(70px, 10vw, 110px) 0;
  }
  .closing-line p{
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(22px, 3.4vw, 32px);
    color: var(--capiz);
    line-height: 1.5;
  }

  /* ============================================================
     CONTACT PAGE SPECIFIC
     ============================================================ */
  .contact-intro-list{
    margin-top: 30px;
    display: grid;
    gap: 12px;
    max-width: 46ch;
  }
  .contact-intro-list p{
    color: var(--capiz-dim);
    font-size: 16px;
    padding-left: 18px;
    position: relative;
  }
  .contact-intro-list p::before{
    content: "";
    position: absolute;
    left: 0; top: 10px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold-soft);
  }

  .contact-cta{
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
  }
  .contact-cta .say-hello{
    font-size: 14px;
    color: var(--capiz-faint);
    margin-bottom: 10px;
  }
  .contact-cta .email-link{
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(24px, 4vw, 36px);
    color: var(--gold-soft);
  }
  .contact-cta .email-link:hover{ color: var(--capiz); }

  .partners{
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .partner-card{
    background: var(--ink);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .partner-card h4{
    font-family: var(--serif);
    font-weight: 500;
    font-size: 19px;
    color: var(--capiz);
  }
  .partner-card p{ font-size: 14.5px; color: var(--capiz-dim); }

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

  /* ============================================================
     BRAND LOGO (brand kit v1.0 — reversed/accent lockup on dark)
     Min digital width 120px; never recolor, stretch or add effects.
     ============================================================ */
  .wordmark img.logo{ display:block; height:46px; width:auto; }
  .footer-brand .wordmark img.logo{ height:52px; }
  @media (max-width:720px){ .nav-links{ top:84px; } .wordmark img.logo{ height:42px; } }

/* sr-only utility + footer privacy link */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.footer-meta a[href="privacy.html"]{color:var(--capiz-dim);text-decoration:underline;text-underline-offset:3px}
.footer-meta a[href="privacy.html"]:hover{color:var(--gold-soft)}
