/*
Theme Name: Clarespath
Theme URI: https://clarespath.co.uk
Author: Clarespath
Author URI: https://clarespath.co.uk
Description: A calm, trauma-aware theme for Clarespath — a free, private tool helping domestic abuse survivors with UK immigration concerns. Warm ivory, sage and rose palette, photographic hero with gentle animation, and a Safe Exit feature on every page.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clarespath
*/


  :root {
    --cream: #F4EDE0;
    --cream-deep: #EBE2D0;
    --ivory: #FAF6EE;
    --sage: #5C7867;
    --sage-deep: #2E4538;
    --sage-soft: #B8C9BD;
    --sage-mist: #E0E9DE;
    --rose: #C58578;
    --rose-deep: #A8685A;
    --rose-soft: #E8C9BF;
    --rose-mist: #F4E4DD;
    --charcoal: #1F1D1A;
    --warm-grey: #6B655C;
    --line: #DDD3C2;
    --danger: #B23A48;
    --danger-bg: #6A1F28;
  }

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

  body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--ivory);
    color: var(--charcoal);
    line-height: 1.55;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
  }
  ::selection { background: var(--rose-soft); color: var(--charcoal); }

  h1, h2, h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.022em;
    color: var(--charcoal);
  }
  h1 em, h2 em, h3 em {
    font-style: italic;
    font-weight: 300;
    color: var(--rose);
  }
  a { color: inherit; text-decoration: none; }

  /* ================ EMERGENCY BANNER ================ */
  .emergency-banner {
    background: var(--danger-bg);
    color: #FFF6F2;
    padding: 11px 24px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .emergency-banner strong { color: #FFE4DC; font-weight: 700; }
  .emergency-banner a { color: #FFE4DC; text-decoration: underline; text-underline-offset: 3px; }

  /* ================ SAFE EXIT ================ */
  .safe-exit {
    position: fixed;
    top: 56px;
    right: 24px;
    z-index: 99;
    background: var(--danger);
    color: white;
    border: none;
    padding: 12px 22px 12px 18px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 24px rgba(178, 58, 72, 0.35);
  }
  .safe-exit:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(178, 58, 72, 0.45);
  }
  .safe-exit svg { width: 14px; height: 14px; }
  .safe-exit small {
    font-weight: 500;
    font-size: 9.5px;
    opacity: 0.85;
    border-left: 1px solid rgba(255,255,255,0.4);
    padding-left: 10px;
  }

  /* ================ NAV (over hero) ================ */
  .main-nav {
    position: absolute;
    top: 42px;
    left: 0; right: 0;
    z-index: 10;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    font-family: 'Fraunces', serif;
    font-size: 30px;
    font-weight: 400;
    color: var(--ivory);
    letter-spacing: -0.025em;
    display: flex;
    align-items: baseline;
    gap: 2px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  }
  .logo em {
    font-style: italic;
    color: var(--rose-soft);
    font-weight: 300;
  }
  .nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
    list-style: none;
  }
  .nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--ivory);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 1px;
    background: var(--rose-soft);
    transition: width 0.4s ease;
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-links a:hover { color: var(--rose-soft); }
  .menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ivory); }

  /* Scrolled nav state */
  .main-nav.scrolled {
    position: fixed;
    top: 0;
    padding: 18px 48px;
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
  }
  .main-nav.scrolled .logo { color: var(--charcoal); text-shadow: none; }
  .main-nav.scrolled .nav-links a { color: var(--charcoal); text-shadow: none; }
  .main-nav.scrolled .menu-toggle { color: var(--charcoal); }

  /* ================ HERO with background image ================ */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    color: var(--ivory);
  }
  .hero-bg {
    position: absolute;
    inset: -5%;
    z-index: 0;
  }
  .hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    animation: kenBurns 24s ease-in-out infinite alternate;
  }
  @keyframes kenBurns {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.15) translate(-1%, -1%); }
  }
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(31, 29, 26, 0.15) 0%,
        rgba(31, 29, 26, 0.3) 50%,
        rgba(46, 69, 56, 0.85) 100%);
    z-index: 1;
  }
  .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 50% at 50% 100%, rgba(46, 69, 56, 0.5) 0%, transparent 70%),
      radial-gradient(ellipse 60% 40% at 30% 30%, rgba(197, 133, 120, 0.15) 0%, transparent 60%);
    z-index: 2;
    mix-blend-mode: multiply;
  }

  /* Floating petals overlay */
  .petals {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
  }
  .petal {
    position: absolute;
    border-radius: 50% 0 50% 0;
    opacity: 0;
    animation: float-up linear infinite;
    filter: blur(0.5px);
  }
  @keyframes float-up {
    0% {
      transform: translateY(110vh) translateX(0) rotate(0deg);
      opacity: 0;
    }
    10% { opacity: 0.7; }
    90% { opacity: 0.6; }
    100% {
      transform: translateY(-20vh) translateX(var(--drift, 80px)) rotate(360deg);
      opacity: 0;
    }
  }

  /* Soft glow particles */
  .glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 240, 220, 0.6) 0%, transparent 70%);
    pointer-events: none;
    animation: drift-glow linear infinite;
    opacity: 0;
  }
  @keyframes drift-glow {
    0% { transform: translateY(110vh) translateX(0); opacity: 0; }
    10%, 90% { opacity: 0.8; }
    100% { transform: translateY(-20vh) translateX(var(--drift, 100px)); opacity: 0; }
  }

  .hero-content {
    position: relative;
    z-index: 5;
    height: 100%;
    padding: 0 48px 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose-soft);
    font-weight: 600;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 1s 0.3s ease forwards;
  }
  .hero-eyebrow::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--rose-soft);
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero h1 {
    font-size: clamp(46px, 8vw, 124px);
    line-height: 0.98;
    margin-bottom: 40px;
    max-width: 1300px;
    color: var(--ivory);
    letter-spacing: -0.035em;
    font-weight: 300;
    text-shadow: 0 4px 30px rgba(0,0,0,0.25);
  }
  .hero h1 .line {
    display: block;
    overflow: hidden;
  }
  .hero h1 .line > span {
    display: inline-block;
    transform: translateY(110%);
    animation: rise 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero h1 .line:nth-child(1) > span { animation-delay: 0.5s; }
  .hero h1 .line:nth-child(2) > span { animation-delay: 0.7s; }
  .hero h1 .line:nth-child(3) > span { animation-delay: 0.9s; }
  @keyframes rise { to { transform: translateY(0); } }
  .hero h1 em {
    font-style: italic;
    color: var(--rose-soft);
    font-weight: 300;
  }

  .hero-bottom {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: end;
    opacity: 0;
    animation: fadeUp 1.2s 1.4s ease forwards;
  }
  .hero-lede {
    font-size: 18.5px;
    color: rgba(250, 246, 238, 0.9);
    line-height: 1.55;
    max-width: 580px;
    font-weight: 400;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
  }
  .hero-lede strong { color: var(--ivory); font-weight: 600; }
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 22px 36px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 999px;
  }
  .btn-primary {
    background: var(--rose);
    color: white;
    box-shadow: 0 8px 28px rgba(197, 133, 120, 0.45);
  }
  .btn-primary:hover {
    background: var(--ivory);
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.2);
  }
  .btn-secondary {
    background: transparent;
    color: var(--ivory);
    border: 1.5px solid rgba(250, 246, 238, 0.5);
  }
  .btn-secondary:hover {
    color: var(--charcoal);
    background: var(--ivory);
    border-color: var(--ivory);
    transform: translateY(-2px);
  }
  .btn-arrow { transition: transform 0.3s; width: 16px; height: 16px; }
  .btn:hover .btn-arrow { transform: translateX(6px); }

  /* Scroll indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    font-size: 10.5px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(250, 246, 238, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeUp 1s 2s ease forwards;
    opacity: 0;
  }
  .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(250, 246, 238, 0.7), transparent);
    animation: scrollDot 2.5s ease-in-out infinite;
  }
  @keyframes scrollDot {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }

  /* ================ LEGAL BAR ================ */
  .legal-bar {
    background: var(--charcoal);
    color: var(--cream);
    padding: 28px 48px;
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14.5px;
    line-height: 1.5;
  }
  .legal-bar-icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border: 1px solid var(--rose);
    color: var(--rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .legal-bar-icon svg { width: 18px; height: 18px; }
  .legal-bar strong {
    color: var(--rose-soft);
    font-weight: 600;
    font-family: 'Fraunces', serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-right: 12px;
  }
  .legal-bar em {
    font-family: 'Fraunces', serif;
    font-style: italic;
    color: var(--rose-soft);
  }

  /* ================ SECTION BASE ================ */
  section { padding: 130px 48px; position: relative; }
  .container { max-width: 1340px; margin: 0 auto; }
  .section-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }
  .section-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--rose);
  }
  .section-title {
    font-size: clamp(40px, 5.5vw, 76px);
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -0.028em;
    max-width: 1100px;
    font-weight: 300;
  }

  /* ================ WHAT IS — with image card ================ */
  .what-is {
    background: var(--ivory);
    position: relative;
    overflow: hidden;
  }
  .what-is::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--rose-mist) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
  }
  .what-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 90px;
    align-items: start;
    position: relative;
  }
  .what-text p {
    font-size: 17.5px;
    color: var(--charcoal);
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 560px;
  }
  .what-text .lede {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    line-height: 1.3;
    color: var(--charcoal);
    margin-bottom: 36px;
    font-weight: 400;
    letter-spacing: -0.012em;
  }
  .what-text .lede em { font-style: italic; color: var(--rose); font-weight: 300; }

  .image-card {
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(31, 29, 26, 0.18);
  }
  .image-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .image-card:hover img { transform: scale(1.06); }
  .image-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46, 69, 56, 0.55) 0%, transparent 50%);
  }
  .image-card .label {
    position: absolute;
    bottom: 32px; left: 32px;
    z-index: 2;
    color: var(--ivory);
  }
  .image-card .label-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose-soft);
    font-weight: 600;
    margin-bottom: 8px;
  }
  .image-card .label-text {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.2;
    color: var(--ivory);
  }

  /* ================ STATS ================ */
  .stats-section {
    background: var(--cream);
    padding: 110px 48px;
    position: relative;
    overflow: hidden;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: start;
  }
  .stat {
    border-top: 1px solid var(--charcoal);
    padding-top: 36px;
  }
  .stat-label {
    font-size: 11.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--warm-grey);
    margin-bottom: 22px;
  }
  .stat-num {
    font-family: 'Fraunces', serif;
    font-size: clamp(80px, 11vw, 170px);
    line-height: 0.85;
    color: var(--charcoal);
    margin-bottom: 24px;
    letter-spacing: -0.05em;
    font-style: italic;
    font-weight: 300;
  }
  .stat-num.alt { color: var(--rose); }
  .stat p {
    font-size: 15px;
    color: var(--charcoal);
    line-height: 1.55;
    max-width: 320px;
    font-weight: 500;
  }
  .stat p span { color: var(--warm-grey); font-weight: 400; display: block; margin-top: 6px; font-size: 14px; }

  /* ================ HELPS WITH (image tiles with photographs) ================ */
  .helps-section { background: var(--ivory); position: relative; }
  .helps-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 70px;
    align-items: end;
  }
  .helps-intro p {
    font-size: 17px;
    color: var(--warm-grey);
    line-height: 1.65;
    max-width: 480px;
  }
  .helps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .help-tile {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: pointer;
    background: var(--sage-deep);
    border-radius: 8px;
  }
  .help-tile img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.55;
  }
  .help-tile:hover img {
    transform: scale(1.1);
    opacity: 0.7;
  }
  .help-tile .tile-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to top, rgba(31, 29, 26, 0.92) 0%, rgba(31, 29, 26, 0.35) 45%, rgba(31, 29, 26, 0.2) 100%);
    z-index: 1;
    transition: background 0.5s;
  }
  .help-tile:hover .tile-overlay {
    background: linear-gradient(to top, rgba(46, 69, 56, 0.9) 0%, rgba(46, 69, 56, 0.4) 50%, rgba(46, 69, 56, 0.2) 100%);
  }
  .help-tile .tile-content {
    position: absolute;
    bottom: 32px; left: 32px; right: 32px;
    z-index: 2;
    color: var(--ivory);
  }
  .help-tile .tile-num {
    font-family: 'Fraunces', serif;
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--rose-soft);
    margin-bottom: 12px;
    font-style: italic;
  }
  .help-tile h3 {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    color: var(--ivory);
    margin-bottom: 12px;
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: -0.012em;
  }
  .help-tile h3 em { color: var(--rose-soft); font-style: italic; }
  .help-tile p {
    font-size: 13.5px;
    color: rgba(250, 246, 238, 0.88);
    line-height: 1.55;
    max-width: 280px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
  }
  .help-tile:hover p {
    transform: translateY(0);
    opacity: 1;
  }
  .helps-footer-line {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    color: var(--charcoal);
    line-height: 1.3;
    margin-top: 80px;
    max-width: 760px;
    letter-spacing: -0.013em;
    font-weight: 300;
  }
  .helps-footer-line em { font-style: italic; color: var(--rose); }

  /* ================ WHO IS IT FOR ================ */
  .who-section {
    background: var(--charcoal);
    color: var(--cream);
    overflow: hidden;
    position: relative;
  }
  .who-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 50% 40% at 80% 20%, rgba(197, 133, 120, 0.12) 0%, transparent 70%),
      radial-gradient(ellipse 50% 40% at 20% 80%, rgba(92, 120, 103, 0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .who-section .container { position: relative; }
  .who-section .section-title { color: var(--cream); }
  .who-section .section-title em { color: var(--rose); }
  .who-section .section-label { color: var(--rose-soft); }
  .who-section .section-label::before { background: var(--rose-soft); }
  .who-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 100px;
    align-items: start;
  }
  .who-list { list-style: none; }
  .who-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(244, 237, 224, 0.15);
    font-family: 'Fraunces', serif;
    font-size: clamp(22px, 2.4vw, 32px);
    color: var(--cream);
    font-weight: 300;
    cursor: pointer;
    transition: padding-left 0.4s ease, color 0.3s;
    letter-spacing: -0.008em;
    position: relative;
  }
  .who-list li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 1.5px;
    background: var(--rose);
    transition: width 0.4s ease;
  }
  .who-list li:hover {
    color: var(--rose-soft);
    padding-left: 24px;
  }
  .who-list li:hover::before { width: 14px; }
  .who-list .num {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--warm-grey);
    letter-spacing: 0.1em;
    font-weight: 500;
  }
  .who-list li:hover .num { color: var(--rose-soft); }

  .who-aside .lede {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    line-height: 1.45;
    color: var(--cream);
    margin-bottom: 40px;
    font-weight: 300;
  }
  .who-aside .lede em { font-style: italic; color: var(--rose-soft); }
  .no-need {
    border-left: 2px solid var(--rose);
    padding: 24px 0 24px 28px;
  }
  .no-need h4 {
    font-size: 11.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose-soft);
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
  }
  .no-need ul { list-style: none; }
  .no-need li {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    color: var(--cream);
    padding: 7px 0;
    font-weight: 300;
  }
  .no-need li::before { content: '— '; color: var(--rose); }

  /* ================ HOW IT WORKS — with subtle background ================ */
  .how-section {
    background: var(--ivory);
    position: relative;
    overflow: hidden;
  }
  .how-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -300px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--sage-mist) 0%, transparent 70%);
    opacity: 0.5;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .how-section .container { position: relative; }
  .step-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid var(--line);
    transition: padding 0.5s;
  }
  .step-row:first-of-type { border-top: 1px solid var(--line); }
  .step-row:hover { padding-left: 24px; }
  .step-row:hover .step-num { color: var(--rose); transform: translateX(-4px); }
  .step-num {
    font-family: 'Fraunces', serif;
    font-size: clamp(72px, 8.5vw, 134px);
    line-height: 0.85;
    color: var(--sage-deep);
    font-style: italic;
    font-weight: 300;
    letter-spacing: -0.05em;
    transition: color 0.4s, transform 0.5s;
  }
  .step-body h3 {
    font-family: 'Fraunces', serif;
    font-size: clamp(26px, 3vw, 38px);
    color: var(--charcoal);
    margin-bottom: 14px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.015em;
  }
  .step-body p {
    font-size: 16px;
    color: var(--warm-grey);
    line-height: 1.65;
    max-width: 540px;
  }
  .step-body p strong { color: var(--charcoal); font-weight: 600; }
  .step-meta {
    font-size: 11.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--warm-grey);
    text-align: right;
  }
  .step-meta strong {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 17px;
    color: var(--charcoal);
    text-transform: none;
    letter-spacing: -0.01em;
    margin-top: 6px;
    font-style: italic;
    font-weight: 400;
  }

  /* ================ THREE PILLARS (with images) ================ */
  .engine-section {
    background: var(--cream);
    overflow: hidden;
    position: relative;
  }
  .engine-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 80px;
    align-items: end;
  }
  .engine-intro p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--charcoal);
    max-width: 520px;
  }
  .engine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .engine-card { cursor: pointer; }
  .engine-art {
    aspect-ratio: 5/6;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 28px;
    background: var(--sage-mist);
  }
  .engine-art img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .engine-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46, 69, 56, 0.25) 0%, rgba(197, 133, 120, 0.2) 100%);
    transition: opacity 0.6s;
  }
  .engine-card:hover .engine-art img { transform: scale(1.08); }
  .engine-card:hover .engine-art::after { opacity: 0.5; }
  .engine-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 36px;
    color: var(--charcoal);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
  }
  .engine-card p {
    font-size: 16px;
    color: var(--warm-grey);
    line-height: 1.6;
    max-width: 360px;
  }

  /* ================ FILM section with bg image ================ */
  .film-section {
    background: var(--sage-deep);
    color: var(--cream);
    padding: 130px 48px;
    position: relative;
    overflow: hidden;
  }
  .film-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 80% 30%, rgba(197, 133, 120, 0.18) 0%, transparent 60%),
      radial-gradient(ellipse 50% 40% at 20% 70%, rgba(184, 201, 189, 0.1) 0%, transparent 60%);
  }
  .film-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
    position: relative;
  }
  .film-section .section-title { color: var(--cream); }
  .film-section .section-title em { color: var(--rose-soft); }
  .film-section .section-label { color: var(--rose-soft); }
  .film-section .section-label::before { background: var(--rose-soft); }
  .film-section p {
    font-size: 17px;
    color: rgba(244, 237, 224, 0.8);
    line-height: 1.65;
    max-width: 440px;
    margin-bottom: 36px;
  }
  .film-frame {
    aspect-ratio: 16/10;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s;
    border-radius: 8px;
  }
  .film-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: transform 1.2s, opacity 0.5s;
  }
  .film-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  }
  .film-frame:hover img { transform: scale(1.05); opacity: 0.65; }
  .film-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46, 69, 56, 0.5), rgba(31, 29, 26, 0.6));
  }
  .play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 96px; height: 96px;
    background: var(--rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
    z-index: 3;
    box-shadow: 0 10px 40px rgba(197, 133, 120, 0.5);
  }
  .film-frame:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--ivory);
  }
  .film-frame:hover .play-btn svg { color: var(--rose-deep); }
  .play-btn svg { width: 28px; height: 28px; color: white; margin-left: 4px; transition: color 0.3s; }
  .film-frame .film-meta {
    position: absolute;
    bottom: 28px; left: 28px;
    z-index: 3;
    color: var(--cream);
  }
  .film-frame h4 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
  }
  .film-frame h4 em { font-style: italic; color: var(--rose-soft); font-weight: 300; }
  .film-frame .duration {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(244, 237, 224, 0.65);
  }

  /* ================ PRIVACY ================ */
  .privacy-section {
    background: var(--ivory);
    position: relative;
    overflow: hidden;
  }
  .privacy-section::before {
    content: '';
    position: absolute;
    bottom: -150px; right: -150px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--sage-mist) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
  }
  .privacy-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: start;
    position: relative;
  }
  .privacy-promises {
    border-top: 1px solid var(--charcoal);
  }
  .promise {
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 32px;
    align-items: start;
    transition: padding-left 0.4s;
  }
  .promise:hover { padding-left: 16px; }
  .promise-num {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    color: var(--rose);
    font-style: italic;
    font-weight: 400;
  }
  .promise h4 {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    color: var(--charcoal);
    margin-bottom: 8px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.014em;
  }
  .promise h4 em { font-style: italic; color: var(--rose); font-weight: 300; }
  .promise p {
    font-size: 15.5px;
    color: var(--warm-grey);
    line-height: 1.65;
    max-width: 520px;
  }
  .promise p kbd {
    background: var(--cream-deep);
    color: var(--charcoal);
    padding: 3px 8px;
    border-radius: 3px;
    font-family: 'Inter', monospace;
    font-size: 11.5px;
    font-weight: 600;
    border: 1px solid var(--line);
  }
  .privacy-image {
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(31, 29, 26, 0.15);
  }
  .privacy-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: kenBurns 30s ease-in-out infinite alternate;
  }
  .privacy-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46, 69, 56, 0.55) 0%, transparent 50%);
  }
  .privacy-image .label {
    position: absolute;
    bottom: 32px; left: 32px;
    z-index: 2;
    color: var(--ivory);
  }
  .privacy-image .label-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose-soft);
    font-weight: 600;
    margin-bottom: 8px;
  }
  .privacy-image .label-text {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.2;
    color: var(--ivory);
  }

  /* ================ TRUST ================ */
  .trust-section { background: var(--charcoal); color: var(--cream); position: relative; }
  .trust-section .section-title { color: var(--cream); }
  .trust-section .section-title em { color: var(--rose-soft); }
  .trust-section .section-label { color: var(--rose-soft); }
  .trust-section .section-label::before { background: var(--rose-soft); }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(244, 237, 224, 0.15);
    border: 1px solid rgba(244, 237, 224, 0.15);
    margin-top: 60px;
    border-radius: 8px;
    overflow: hidden;
  }
  .trust-card {
    padding: 50px 44px;
    background: var(--charcoal);
    transition: background 0.4s;
  }
  .trust-card:hover { background: rgba(244, 237, 224, 0.04); }
  .trust-card .trust-num {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    color: var(--rose-soft);
    font-style: italic;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
  }
  .trust-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 30px;
    color: var(--cream);
    margin-bottom: 16px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.018em;
  }
  .trust-card h3 em { font-style: italic; color: var(--rose-soft); font-weight: 300; }
  .trust-card p {
    font-size: 15.5px;
    color: rgba(244, 237, 224, 0.72);
    line-height: 1.65;
  }
  .trust-card p i {
    color: var(--rose-soft);
    font-size: 13px;
    display: block;
    margin-top: 12px;
    font-style: italic;
    font-family: 'Fraunces', serif;
  }

  /* ================ PROFESSIONALS ================ */
  .pro-section {
    background: var(--cream);
    padding: 130px 48px;
    position: relative;
    overflow: hidden;
  }
  .pro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
  }
  .pro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 32px 0 40px;
  }
  .pro-tag {
    background: var(--ivory);
    border: 1px solid var(--charcoal);
    color: var(--charcoal);
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: background 0.3s, color 0.3s, transform 0.3s;
  }
  .pro-tag:hover {
    background: var(--charcoal);
    color: var(--cream);
    transform: translateY(-2px);
  }
  .pro-section p {
    font-size: 17px;
    color: var(--charcoal);
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 16px;
  }
  .pro-section p strong { font-weight: 600; }
  .pro-visual {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(31, 29, 26, 0.18);
  }
  .pro-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: kenBurns 28s ease-in-out infinite alternate;
  }
  .pro-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46, 69, 56, 0.35), rgba(197, 133, 120, 0.25));
  }

  /* ================ CTA TILES ================ */
  .cta-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .cta-tile {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }
  .cta-tile img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .cta-tile:hover img { transform: scale(1.08); }
  .cta-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .cta-tile.rose::after {
    background: linear-gradient(135deg, rgba(168, 104, 90, 0.85), rgba(197, 133, 120, 0.7));
  }
  .cta-tile.sage::after {
    background: linear-gradient(135deg, rgba(46, 69, 56, 0.85), rgba(92, 120, 103, 0.7));
  }
  .cta-tile-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--cream);
  }
  .cta-tile h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(40px, 5vw, 64px);
    color: var(--cream);
    line-height: 1;
    margin: 0;
    max-width: 480px;
    font-weight: 300;
    letter-spacing: -0.022em;
  }
  .cta-tile h2 em { font-style: italic; color: rgba(255, 255, 255, 0.85); }
  .cta-tile .tile-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cream);
  }
  .cta-tile .tile-link svg { transition: transform 0.3s; width: 18px; height: 18px; }
  .cta-tile:hover .tile-link svg { transform: translateX(10px); }

  /* ================ NOTICES ================ */
  .notices-section {
    background: var(--ivory);
    padding: 100px 48px;
  }
  .notices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .notice {
    border-top: 1px solid var(--charcoal);
    padding-top: 40px;
  }
  .notice-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--rose);
    margin-bottom: 22px;
  }
  .notice h4 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    color: var(--charcoal);
    margin-bottom: 18px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.018em;
  }
  .notice h4 em { font-style: italic; color: var(--rose); font-weight: 300; }
  .notice p {
    font-size: 15.5px;
    color: var(--warm-grey);
    line-height: 1.65;
  }
  .notice p strong { color: var(--charcoal); font-weight: 600; }
  .notice p a {
    color: var(--rose);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
  }

  /* ================ FOOTER ================ */
  footer { background: var(--charcoal); color: var(--cream); padding: 0; }
  .footer-support {
    background: var(--danger-bg);
    padding: 28px 48px;
    color: var(--cream);
    font-size: 14.5px;
    text-align: center;
  }
  .footer-support strong { color: #FFE4DC; }
  .footer-support a {
    color: #FFE4DC;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
  }
  .footer-main { padding: 100px 48px 40px; }
  .footer-grid {
    max-width: 1340px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
  }
  .footer-brand .logo {
    color: var(--cream);
    margin-bottom: 24px;
    font-size: 36px;
    text-shadow: none;
  }
  .footer-brand p {
    color: rgba(244, 237, 224, 0.6);
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 360px;
  }
  .footer-col h5 {
    font-size: 11px;
    font-weight: 700;
    color: var(--rose-soft);
    margin-bottom: 22px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .footer-col ul { list-style: none; display: grid; gap: 12px; }
  .footer-col a {
    color: rgba(244, 237, 224, 0.75);
    font-size: 14.5px;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--rose-soft); }
  .footer-bottom {
    max-width: 1340px;
    margin: 0 auto;
    padding-top: 36px;
    border-top: 1px solid rgba(244, 237, 224, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(244, 237, 224, 0.5);
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-bottom-tag {
    font-family: 'Fraunces', serif;
    font-style: italic;
    color: var(--rose-soft);
    font-size: 17px;
    letter-spacing: -0.01em;
  }

  /* ================ TOAST ================ */
  .toast {
    position: fixed;
    bottom: 30px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--charcoal);
    color: var(--cream);
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.04em;
    box-shadow: 0 14px 40px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 200;
    border: 1px solid var(--rose);
  }
  .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /* ================ SCROLL REVEAL ================ */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .reveal.in-view { opacity: 1; transform: translateY(0); }
  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
  .reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
  .reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.1s; }
  .reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.2s; }
  .reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.3s; }
  .reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.4s; }
  .reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.5s; }

  /* ================ RESPONSIVE ================ */
  @media (max-width: 1000px) {
    .what-grid, .who-grid, .privacy-grid, .pro-grid, .film-grid, .engine-intro, .helps-intro {
      grid-template-columns: 1fr;
      gap: 50px;
    }
    .stats-grid, .helps-grid, .engine-grid, .trust-grid, .cta-tiles, .notices-grid {
      grid-template-columns: 1fr;
    }
    .helps-grid, .engine-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .step-row { grid-template-columns: 80px 1fr; gap: 30px; }
    .step-meta { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .nav-links { display: none; }
    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%; left: 0; right: 0;
      background: rgba(31, 29, 26, 0.95);
      backdrop-filter: blur(18px);
      padding: 30px 32px;
      gap: 20px;
      align-items: flex-start;
    }
    .menu-toggle { display: block; }
    section, .stats-section, .pro-section, .film-section, .notices-section, .footer-main {
      padding: 80px 24px;
    }
    .legal-bar { padding: 24px; flex-direction: column; align-items: flex-start; }
    .main-nav { padding: 0 24px; top: 32px; }
    .main-nav.scrolled { padding: 16px 24px; }
    .hero-content { padding: 0 24px 60px; }
    .safe-exit { padding: 10px 16px 10px 14px; font-size: 11px; }
    .safe-exit small { display: none; }
    .hero-bottom { grid-template-columns: 1fr; gap: 30px; }
    .cta-tile-content { padding: 40px; }
  }
  @media (max-width: 600px) {
    .helps-grid, .engine-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 52px; line-height: 1; }
    .who-list li { font-size: 22px; }
  }

  /* ================ REDUCED MOTION ================ */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
    .hero h1 .line > span { transform: translateY(0); }
    .hero-eyebrow, .hero-bottom, .scroll-indicator { opacity: 1; }
    .petals, .glow { display: none; }
  }
