/*
Theme Name: Rémy Merarin
Theme URI: https://remymerarin.com
Author: Rémy Merarin
Author URI: https://remymerarin.com
Description: Thème WordPress une-page, version bleu ciel & blanc — image & IA pour hôtels, domaines viticoles et adresses premium du Sud de la France.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: remy-merarin
*/


  :root{
    --ink:#fbfdff;
    --ink-soft:#e6f2fa;
    --parchment:#173654;
    --gold:#2f9fdb;
    --gold-soft:#6ec3ea;
    --wine:#3f7fb0;
    --stone:#6f8494;
    --olive:#4f8ec2;
    --line: rgba(23,54,84,0.10);
    --radius: 2px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--ink);
    color:var(--parchment);
    font-family:'Public Sans', Arial, sans-serif;
    font-weight:300;
    line-height:1.6;
    overflow-x:hidden;
  }
  ::selection{background:var(--gold); color:var(--ink);}

  h1,h2,h3{
    font-family:'Fraunces', Georgia, serif;
    font-weight:400;
    letter-spacing:-0.01em;
  }

  .mono{
    font-family:'IBM Plex Mono', monospace;
    letter-spacing:0.04em;
  }

  .wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 32px;
  }

  a{color:inherit;}

  /* ---------- NAV ---------- */
  header{
    position:fixed;
    top:0; left:0; right:0;
    z-index:50;
    background:linear-gradient(to bottom, rgba(251,253,255,0.92), rgba(251,253,255,0));
    padding:22px 0;
    transition:background .3s ease;
  }
  header.scrolled{ background:rgba(251,253,255,0.92); backdrop-filter:blur(6px); border-bottom:1px solid var(--line);}
  nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  .brand{
    font-family:'Fraunces', Georgia, serif;
    font-size:1.15rem;
    letter-spacing:0.02em;
    display:flex;
    align-items:center;
    gap:10px;
  }
  .brand-logo{
    height:34px;
    width:34px;
    display:block;
    border-radius:50%;
    box-shadow:0 0 0 1px rgba(23,54,84,0.06);
  }
  .brand span{color:var(--gold-soft);}
  .navlinks{
    display:flex;
    gap:36px;
    font-size:0.82rem;
    text-transform:uppercase;
    letter-spacing:0.1em;
  }
  .navlinks a{
    text-decoration:none;
    color:var(--stone);
    transition:color .2s;
  }
  .navlinks a:hover{color:var(--parchment);}
  .lang-switch{
    display:flex;
    gap:6px;
    margin-right:18px;
  }
  .flag-btn{
    background:none;
    border:none;
    line-height:0;
    padding:4px;
    cursor:pointer;
    opacity:0.35;
    filter:grayscale(60%);
    transition:opacity .2s, filter .2s, transform .2s;
    display:flex;
    align-items:center;
  }
  .flag-btn svg{ display:block; border-radius:2px; box-shadow:0 0 0 1px rgba(0,0,0,0.15); }
  .flag-btn:hover{ opacity:0.75; transform:translateY(-1px); }
  .flag-btn.active{ opacity:1; filter:none; }
  @media (max-width:780px){ .lang-switch{ margin-right:0; } }
  .navlinks a:focus-visible, .btn:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}
  @media (max-width:780px){ .navlinks{display:none;} }

  .menu-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:flex-end;
    gap:5px;
    width:34px;
    height:34px;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
  }
  .menu-toggle span{
    display:block;
    width:100%;
    height:2px;
    background:var(--parchment);
    border-radius:1px;
    transition:transform .25s ease, opacity .25s ease, width .25s ease;
  }
  header:has(~ .hero-with-video) .menu-toggle span{ background:#f5f8fb; }
  .menu-toggle.active span{ background:var(--parchment) !important; }
  .menu-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); width:100%; }
  .menu-toggle.active span:nth-child(2){ opacity:0; }
  .menu-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); width:100%; }

  @media (max-width:780px){
    .menu-toggle{ display:flex; }
    .header-cta{ display:none; }
  }

  .drawer-scrim{
    position:fixed; inset:0;
    background:rgba(8,14,22,0.45);
    z-index:54;
    opacity:0;
    pointer-events:none;
    transition:opacity .3s ease;
  }
  .drawer-scrim.open{ opacity:1; pointer-events:auto; }

  .mobile-drawer{
    position:fixed;
    top:0; right:0;
    height:100dvh;
    width:min(320px, 82vw);
    background:var(--ink);
    box-shadow:-10px 0 34px rgba(8,14,22,0.22);
    z-index:55;
    padding:104px 32px 40px;
    display:flex;
    flex-direction:column;
    gap:2px;
    transform:translateX(100%);
    transition:transform .32s ease;
    overflow-y:auto;
  }
  .mobile-drawer.open{ transform:translateX(0); }
  .mobile-drawer a{
    text-decoration:none;
    color:var(--parchment);
    font-size:1.05rem;
    padding:16px 0;
    border-bottom:1px solid var(--line);
  }
  .mobile-drawer a.mobile-drawer-cta{
    margin-top:24px;
    text-align:center;
    border-bottom:none;
    padding:15px 20px;
    font-size:0.85rem;
    white-space:nowrap;
    width:100%;
    box-sizing:border-box;
  }
  body.menu-open{ overflow:hidden; }
  @media (min-width:781px){ .mobile-drawer, .drawer-scrim{ display:none; } }
  @media (max-width:360px){
    .mobile-drawer{ padding-left:22px; padding-right:22px; }
    .mobile-drawer a.mobile-drawer-cta{ padding:14px 10px; letter-spacing:0.04em; font-size:0.78rem; }
  }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-top:120px;
    padding-bottom:80px;
    background:
      radial-gradient(ellipse 900px 500px at 78% 15%, rgba(47,159,219,0.14), transparent 60%),
      radial-gradient(ellipse 700px 500px at 10% 90%, rgba(63,127,176,0.10), transparent 60%),
      var(--ink);
  }
  .hero::after{
    content:"";
    position:absolute; inset:0;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events:none;
    mix-blend-mode:overlay;
  }

  .timecode-bar{
    display:flex;
    align-items:center;
    gap:14px;
    font-size:0.72rem;
    color:var(--gold-soft);
    text-transform:uppercase;
    margin-bottom:48px;
  }
  .timecode-bar .dot{
    width:7px; height:7px; border-radius:50%;
    background:var(--wine);
    box-shadow:0 0 8px var(--wine);
    animation:pulse 2.4s infinite;
  }
  @keyframes pulse{0%,100%{opacity:1;}50%{opacity:0.35;}}
  .timecode-bar .sep{color:var(--stone); opacity:0.5;}

  .hero-video-bg{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:0;
  }
  .hero-video-bg iframe{
    position:absolute;
    top:50%; left:50%;
    width:100vw;
    height:56.25vw;
    min-height:100%;
    min-width:177.78vh;
    transform:translate(-50%, -50%);
    pointer-events:none;
  }
  .hero-video-overlay{
    position:absolute;
    inset:0;
    background:
      linear-gradient(to bottom, rgba(8,14,22,0.80), rgba(8,14,22,0.72) 30%, rgba(8,14,22,0.78) 70%, var(--ink) 97%);
  }
  @media (max-width:780px){
    .hero-video-bg{ display:none; }
    /* Without the video, the hero falls back to the light body background —
       but the hero text is forced white for contrast against the video, so
       it becomes invisible. Swap in a dark fallback backdrop on mobile. */
    section.hero.hero-with-video{
      background:
        radial-gradient(ellipse 900px 500px at 78% 10%, rgba(47,159,219,0.28), transparent 60%),
        radial-gradient(ellipse 700px 500px at 10% 95%, rgba(63,127,176,0.20), transparent 60%),
        linear-gradient(160deg, #0b1420 0%, #142236 55%, #173654 100%);
    }
  }

  .hero-content{
    position:relative;
    z-index:1;
    max-width:820px;
  }
  /* Video plays behind the hero on every color variant, so hero text is
     forced to a light palette regardless of the site's light/dark theme,
     to stay readable over the dark scrim. */
  /* placeholder removed below; real rules re-declared after all base
     hero rules further down this file, with higher specificity so they
     always win regardless of source order. */
  .hero h1{
    font-size:clamp(2.4rem, 6vw, 4.6rem);
    line-height:1.04;
    font-weight:400;
  }
  .hero h1 em{
    font-style:italic;
    color:var(--gold-soft);
  }
  .hero p.lede{
    margin-top:28px;
    font-size:1.15rem;
    color:var(--stone);
    max-width:560px;
    font-weight:300;
  }

  .cta-row{
    display:flex;
    gap:18px;
    margin-top:44px;
    flex-wrap:wrap;
  }
  .btn{
    display:inline-block;
    padding:15px 30px;
    font-size:0.85rem;
    text-transform:uppercase;
    letter-spacing:0.08em;
    text-decoration:none;
    border-radius:var(--radius);
    transition:all .25s ease;
    cursor:pointer;
    border:1px solid transparent;
  }
  .btn-primary{
    background:var(--gold);
    color:var(--ink);
  }
  .btn-primary:hover{background:var(--gold-soft);}
  .btn-ghost{
    border-color:var(--line);
    color:var(--parchment);
  }
  .btn-ghost:hover{border-color:var(--gold-soft); color:var(--gold-soft);}

  /* ---------- PROOF TICKER ---------- */
  .ticker-section{
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:22px 0;
    overflow:hidden;
    background:var(--ink-soft);
  }
  .ticker-track{
    display:flex;
    gap:60px;
    white-space:nowrap;
    animation:scroll 34s linear infinite;
    width:max-content;
  }
  @keyframes scroll{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
  }
  .ticker-track span{
    font-family:'IBM Plex Mono', monospace;
    font-size:0.8rem;
    color:var(--stone);
    text-transform:uppercase;
    letter-spacing:0.08em;
  }
  .ticker-track span b{color:var(--gold-soft); font-weight:500;}

  /* ---------- SECTION SHELL ---------- */
  section{ padding:120px 0; position:relative; }
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:0.75rem;
    color:var(--gold-soft);
    text-transform:uppercase;
    letter-spacing:0.14em;
    margin-bottom:18px;
    display:flex;
    align-items:center;
    gap:12px;
  }
  .eyebrow::before{
    content:"";
    width:28px; height:1px;
    background:var(--gold-soft);
  }
  .section-title{
    font-size:clamp(1.8rem, 3.4vw, 2.6rem);
    max-width:680px;
    font-weight:400;
  }
  .section-title em{ font-style:italic; color:var(--gold-soft); }

  .reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
  .reveal.show{ opacity:1; transform:none; }

  /* ---------- DUALITE ---------- */
  .duo{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1px;
    margin-top:64px;
    background:var(--line);
    border:1px solid var(--line);
  }
  .duo-card{
    background:var(--ink);
    padding:48px;
  }
  .duo-card h3{
    font-size:1.5rem;
    color:var(--parchment);
    margin-bottom:14px;
  }
  .duo-card .tag{
    font-family:'IBM Plex Mono', monospace;
    font-size:0.7rem;
    color:var(--wine);
    text-transform:uppercase;
    letter-spacing:0.1em;
    background:rgba(63,127,176,0.14);
    padding:4px 10px;
    border-radius:20px;
    display:inline-block;
    margin-bottom:18px;
  }
  .duo-card:last-child .tag{ color:var(--olive); background:rgba(79,142,194,0.16);}
  .duo-card p{ color:var(--stone); font-size:0.98rem; }
  @media (max-width:780px){ .duo{grid-template-columns:1fr;} }

  /* ---------- SERVICES (shot list) ---------- */
  .shotlist{
    margin-top:64px;
    border-top:1px solid var(--line);
  }
  .shot{
    display:grid;
    grid-template-columns:110px 1fr;
    gap:32px;
    padding:34px 0;
    border-bottom:1px solid var(--line);
    align-items:baseline;
  }
  .shot .plan{
    font-family:'IBM Plex Mono', monospace;
    color:var(--gold-soft);
    font-size:0.85rem;
    letter-spacing:0.05em;
  }
  .shot h3{
    font-size:1.25rem;
    font-weight:400;
    color:var(--parchment);
    margin-bottom:8px;
  }
  .shot p{ color:var(--stone); font-size:0.96rem; max-width:600px;}
  @media (max-width:600px){ .shot{grid-template-columns:1fr; gap:8px;} }

  /* ---------- BOOK (social proof) ---------- */
  .book-featured{
    margin-top:64px;
    border:1px solid var(--line);
    background:var(--ink-soft);
  }
  .book-featured .frame{
    position:relative;
    width:100%;
    padding-top:56.25%;
    background:#000;
  }
  .book-featured .frame iframe{
    position:absolute; inset:0; width:100%; height:100%; border:0;
  }
  .book-featured .cap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 26px;
    flex-wrap:wrap;
    gap:10px;
  }
  .book-featured .cap h3{ font-size:1.05rem; font-weight:400; color:var(--parchment); }
  .book-featured .cap span{
    font-family:'IBM Plex Mono', monospace;
    font-size:0.72rem;
    color:var(--gold-soft);
    text-transform:uppercase;
    letter-spacing:0.08em;
  }
  .book-grid{
    margin-top:24px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
  }
  .book-card{ border:1px solid var(--line); background:var(--ink-soft); }
  .book-card .frame{ position:relative; width:100%; padding-top:56.25%; background:#000; }
  .book-card .frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
  .book-card .cap{ padding:16px 20px; }
  .book-card .cap h4{ font-family:'Fraunces', Georgia, serif; font-weight:400; font-size:1rem; color:var(--parchment); margin-bottom:4px;}
  .book-card .cap p{ font-family:'IBM Plex Mono', monospace; font-size:0.68rem; color:var(--stone); text-transform:uppercase; letter-spacing:0.06em; }
  .book-link{
    margin-top:32px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:0.85rem;
    color:var(--gold-soft);
    text-decoration:none;
    border-bottom:1px solid var(--gold-soft);
    padding-bottom:3px;
  }
  .frame-soon{
    display:flex;
    align-items:center;
    justify-content:center;
    background:
      repeating-linear-gradient(135deg, var(--ink-soft), var(--ink-soft) 10px, var(--ink) 10px, var(--ink) 20px);
  }
  .frame-soon span{
    font-family:'Fraunces', Georgia, serif;
    font-style:italic;
    font-size:1.1rem;
    color:var(--gold-soft);
    letter-spacing:0.02em;
  }
  .book-card-soon{ opacity:0.85; }
  @media (max-width:900px){ .book-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:600px){ .book-grid{grid-template-columns:1fr;} }

  /* ---------- PHOTOGRAPHIE ---------- */
  .photo-subhead{
    font-family:'Fraunces', Georgia, serif;
    font-weight:400;
    font-size:1.3rem;
    color:var(--parchment);
    margin-top:56px;
    margin-bottom:20px;
    padding-bottom:10px;
    border-bottom:1px solid var(--line);
  }
  .photo-grid{
    column-count:4;
    column-gap:10px;
  }
  .photo-card{
    margin:0 0 10px;
    break-inside:avoid;
    position:relative;
    overflow:hidden;
    background:var(--ink-soft);
    cursor:zoom-in;
  }
  .photo-card img{
    display:block;
    width:100%;
    height:auto;
    transition:transform .5s ease;
  }
  .photo-card:hover img{ transform:scale(1.045); }
  .photo-card figcaption{
    position:absolute;
    left:0; right:0; bottom:0;
    font-family:'IBM Plex Mono', monospace;
    font-size:0.62rem;
    color:#fff;
    padding:20px 10px 9px;
    line-height:1.4;
    background:linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0));
    opacity:0;
    transform:translateY(6px);
    transition:opacity .25s ease, transform .25s ease;
    pointer-events:none;
  }
  .photo-card:hover figcaption{ opacity:1; transform:translateY(0); }
  @media (max-width:900px){ .photo-grid{column-count:3;} }
  @media (max-width:560px){ .photo-grid{column-count:2; column-gap:8px;} .photo-card{margin-bottom:8px;} }

  /* ---------- LIGHTBOX ---------- */
  .lightbox{
    position:fixed; inset:0;
    background:rgba(10,14,20,0.94);
    z-index:200;
    display:none;
    align-items:center;
    justify-content:center;
    padding:40px;
    cursor:zoom-out;
  }
  .lightbox.open{ display:flex; }
  .lightbox img{
    max-width:100%;
    max-height:82vh;
    object-fit:contain;
    box-shadow:0 20px 60px rgba(0,0,0,0.5);
  }
  .lightbox figcaption{
    position:static;
    background:none;
    opacity:1;
    transform:none;
    text-align:center;
    color:var(--stone, #9fb2c2);
    font-family:'IBM Plex Mono', monospace;
    font-size:0.75rem;
    margin-top:16px;
    pointer-events:auto;
  }
  .lightbox-inner{ display:flex; flex-direction:column; align-items:center; max-width:1100px; }
  .lightbox-close{
    position:absolute;
    top:24px; right:28px;
    background:none;
    border:1px solid rgba(255,255,255,0.3);
    color:#fff;
    width:40px; height:40px;
    border-radius:50%;
    font-size:1.1rem;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .lightbox-close:hover{ border-color:#fff; }

  /* ---------- CLIENTS ---------- */
  .tags-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:56px;
  }
  .client-tag{
    border:1px solid var(--line);
    padding:12px 22px;
    border-radius:30px;
    font-size:0.92rem;
    color:var(--parchment);
    transition:border-color .2s, color .2s;
  }
  .client-tag:hover{ border-color:var(--gold-soft); color:var(--gold-soft); }

  /* ---------- PRICING ---------- */
  .pricing-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:28px;
    margin-top:64px;
  }
  .price-card{
    border:1px solid var(--line);
    padding:44px;
    position:relative;
    background:var(--ink-soft);
  }
  .price-card.featured{ border-color:var(--gold); }
  .price-card .badge{
    position:absolute; top:-1px; right:-1px;
    background:var(--gold); color:var(--ink);
    font-family:'IBM Plex Mono', monospace;
    font-size:0.68rem;
    padding:6px 12px;
    text-transform:uppercase;
    letter-spacing:0.06em;
  }
  .price-card h3{
    font-size:1.3rem;
    margin-bottom:6px;
    color:var(--parchment);
  }
  .price-card .price{
    font-family:'Fraunces', Georgia, serif;
    font-size:2.6rem;
    color:var(--gold-soft);
    margin:18px 0;
  }
  .price-card .price small{
    font-family:'Public Sans', Arial, sans-serif;
    font-size:0.95rem;
    color:var(--stone);
  }
  .price-card ul{ list-style:none; margin-top:20px; }
  .price-card li{
    padding:10px 0;
    border-top:1px solid var(--line);
    color:var(--stone);
    font-size:0.92rem;
    display:flex;
    gap:10px;
  }
  .price-card li::before{ content:"—"; color:var(--gold-soft); }
  .price-card .quote-btn{
    display:block;
    width:100%;
    text-align:center;
    margin-top:28px;
    padding:13px 0;
    font-size:0.8rem;
  }
  @media (max-width:780px){ .pricing-grid{grid-template-columns:1fr;} }

  .pricing-grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-top:40px;
  }
  .pricing-grid-3 .price-card h3{ font-size:1.1rem; }
  .pricing-grid-3 .price-card .price{ font-size:2.1rem; }
  @media (max-width:900px){ .pricing-grid-3{grid-template-columns:1fr;} }

  /* ---------- PROCESS ---------- */
  .process{
    margin-top:64px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
  }
  .process-step{
    background:var(--ink);
    padding:32px 26px;
  }
  .process-step .t{
    font-family:'IBM Plex Mono', monospace;
    color:var(--wine);
    font-size:0.75rem;
    text-transform:uppercase;
    letter-spacing:0.08em;
    margin-bottom:14px;
  }
  .process-step h4{
    font-family:'Fraunces', Georgia, serif;
    font-weight:400;
    font-size:1.1rem;
    margin-bottom:10px;
    color:var(--parchment);
  }
  .process-step p{ color:var(--stone); font-size:0.88rem; }
  @media (max-width:900px){ .process{grid-template-columns:1fr 1fr;} }
  @media (max-width:560px){ .process{grid-template-columns:1fr;} }

  /* ---------- ABOUT ---------- */
  .about{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:64px;
    margin-top:64px;
    align-items:start;
  }
  .about-coords{
    font-family:'IBM Plex Mono', monospace;
    font-size:0.78rem;
    color:var(--stone);
    line-height:2.1;
  }
  .about-coords b{ color:var(--gold-soft); }
  .about p{ color:var(--stone); margin-bottom:18px; font-size:1rem; }
  .about strong{ color:var(--parchment); font-weight:500; }
  @media (max-width:780px){ .about{grid-template-columns:1fr; gap:32px;} }

  /* ---------- CONTACT ---------- */
  .contact-section{
    background:var(--ink-soft);
    border-top:1px solid var(--line);
  }
  .contact-inner{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:64px;
    align-items:center;
  }
  .contact-inner h2{ font-size:clamp(2rem,4vw,3rem); }
  .contact-inner p{ color:var(--stone); margin-top:18px; max-width:420px; }
  .contact-list{ margin-top:32px; font-family:'IBM Plex Mono', monospace; font-size:0.9rem; }
  .contact-list div{ padding:10px 0; border-top:1px solid var(--line); color:var(--parchment); }
  .contact-list span{ color:var(--stone); display:inline-block; width:110px; }
  @media (max-width:780px){ .contact-inner{ grid-template-columns:1fr; gap:40px; } }

  form{ display:flex; flex-direction:column; gap:16px; }
  input, select{
    background:transparent;
    border:none;
    border-bottom:1px solid var(--line);
    color:var(--parchment);
    padding:14px 4px;
    font-family:'Public Sans', Arial, sans-serif;
    font-size:0.95rem;
  }
  input::placeholder{ color:var(--stone); }
  input:focus, select:focus{ outline:none; border-color:var(--gold-soft); }
  select option{ background:var(--ink); }

  footer{
    padding:36px 0;
    text-align:center;
    font-family:'IBM Plex Mono', monospace;
    font-size:0.72rem;
    color:var(--stone);
    letter-spacing:0.06em;
  }


  /* ---------- SMALL SCREEN REFINEMENTS ---------- */
  @media (max-width:600px){
    .wrap{ padding:0 20px; }
    section{ padding:76px 0; }
    .hero{ padding-top:104px; padding-bottom:56px; }
    .timecode-bar{ flex-wrap:wrap; row-gap:6px; margin-bottom:36px; }
    .duo-card{ padding:32px 26px; }
    .price-card{ padding:32px 26px; }
    .process-step{ padding:26px 22px; }
  }

  /* ---------- HERO-WITH-VIDEO TEXT COLOR (high specificity, loaded last) ---------- */
  section.hero.hero-with-video h1{ color:#f5f8fb; }
  section.hero.hero-with-video p.lede{ color:#ffffff; }
  section.hero.hero-with-video .timecode-bar,
  section.hero.hero-with-video .timecode-bar span{ color:#cfe6f5; }
  section.hero.hero-with-video .timecode-bar .sep{ color:rgba(207,230,245,0.45); }
  section.hero.hero-with-video a.btn-ghost{ color:#f5f8fb; border-color:rgba(245,248,251,0.55); }
  section.hero.hero-with-video a.btn-ghost:hover{ border-color:#fff; color:#fff; }

  /* ---------- HEADER OVER HERO VIDEO (homepage only, via :has()) ---------- */
  header:has(~ .hero-with-video){
    background:linear-gradient(to bottom, rgba(8,14,22,0.5), rgba(8,14,22,0));
  }
  header:has(~ .hero-with-video).scrolled{
    background:rgba(8,14,22,0.86);
    backdrop-filter:blur(6px);
    border-bottom:1px solid rgba(255,255,255,0.1);
  }
  header:has(~ .hero-with-video) .brand{ color:#f5f8fb; text-shadow:0 1px 4px rgba(0,0,0,0.45); }
  header:has(~ .hero-with-video) .brand span{ color:var(--gold-soft); }
  header:has(~ .hero-with-video) .navlinks a{ color:rgba(245,248,251,0.82); text-shadow:0 1px 4px rgba(0,0,0,0.45); }
  header:has(~ .hero-with-video) .navlinks a:hover{ color:#ffffff; }
  header:has(~ .hero-with-video) a.btn-ghost{ color:#f5f8fb; border-color:rgba(245,248,251,0.5); }
  header:has(~ .hero-with-video) a.btn-ghost:hover{ border-color:#fff; color:#fff; }
