/*
 * Asheville Vacation Villas — the design system: tokens (from the client logo), components, motion.
 * Every avv-* widget renders markup these rules were written for. Hand-maintained from 2026-09-18
 * (before that it was generated from design/src/homepage.template.html).
 */
/* Palette derived from the client logo (new logo/Asheville-vacation-villas-logo.png):
     wordmark green #056839, mountain/subtitle burgundy #92191c, roof/sun tan #bd8f4a.
     The dark greens share the logo green's hue so large grounds read as the same brand. */
  :root{
    --avv-display:'Fraunces','Iowan Old Style',Georgia,serif;
    --avv-body:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
    --brand-green:#056839;
    --brand-red:#92191c;
    --brand-gold:#bd8f4a;
    --green-950:#0a2419;
    --green-900:#0c3524;
    --green-800:#0e4a31;
    --green-700:#056839;
    --red-800:#74131a;
    --red-700:#92191c;
    --sage-500:#869c8e;
    --sage-300:#c5d3c8;
    --gold-600:#8a6229;
    --gold-500:#bd8f4a;
    --gold-300:#dcbb86;
    --ivory-50:#fbf8f1;
    --ivory-100:#f5efe1;
    --ivory-200:#ece3ce;
    --ink:#1c1e18;
    --ink-soft:#4a4d43;
    --line: rgba(28,30,24,0.12);
    --line-strong: rgba(28,30,24,0.22);
    --shadow-sm: 0 1px 2px rgba(10,36,25,0.06);
    --shadow-md: 0 8px 24px rgba(10,36,25,0.10);
    --shadow-lg: 0 24px 60px -20px rgba(10,36,25,0.35);
    --radius-sm: 4px;
    --radius-md: 10px;
    --container: 1240px;
    --gutter: clamp(20px, 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.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
    /* near-zero animation durations can leave a forwards-filled keyframe stuck at its
       0% state instead of resolving to 100% — force every hero entrance to its final,
       readable state outright rather than trusting the shortened animation to land there */
    .hero-eyebrow, .hero h1 .line span, .hero-sub, .hero-actions, .hero-foot, .hero-alt-link{
      opacity:1 !important; transform:none !important; animation:none !important;
    }
  }

  body{
    margin:0;
    background:var(--ivory-100);
    color:var(--ink);
    font-family:var(--avv-body);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }

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

  .grain{
    position:fixed; inset:0; z-index:1000; pointer-events:none;
    opacity:0.05; mix-blend-mode:overlay;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  h1,h2,h3,h4{
    font-family:var(--avv-display);
    font-weight:600;
    color:var(--green-900);
    margin:0;
    text-wrap:balance;
    letter-spacing:-0.01em;
  }

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

  .eyebrow{
    display:flex; align-items:center; gap:10px;
    font-family:var(--avv-body);
    font-size:0.72rem;
    font-weight:600;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color:var(--red-700);
    margin-bottom:14px;
  }
  .eyebrow::before{
    content:"";
    width:22px; height:1px;
    background:var(--green-700);
    display:inline-block;
  }

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

  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    padding:15px 28px;
    font-family:var(--avv-body);
    font-weight:600;
    font-size:0.92rem;
    letter-spacing:0.02em;
    border-radius:3px;
    border:1px solid transparent;
    cursor:pointer;
    transition:transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s cubic-bezier(0.16,1,0.3,1), background 0.25s ease, color 0.25s ease, border-color .25s ease;
    white-space:nowrap;
  }
  .btn-primary{ background:var(--gold-500); color:var(--green-950); }
  .btn-primary:hover{ background:var(--gold-300); transform:translateY(-2px); box-shadow:var(--shadow-md); }
  .btn-primary:focus-visible{ outline:3px solid var(--green-900); outline-offset:2px; }
  .btn-ghost{ background:transparent; color:var(--ivory-50); border-color:rgba(251,248,241,0.4); }
  .btn-ghost:hover{ border-color:var(--ivory-50); background:rgba(251,248,241,0.08); transform:translateY(-2px); }
  .btn-ghost:focus-visible{ outline:3px solid var(--ivory-50); outline-offset:2px; }
  .btn-dark{ background:var(--green-700); color:var(--ivory-50); }
  .btn-dark:hover{ background:var(--green-800); transform:translateY(-2px); box-shadow:var(--shadow-md); }
  .btn-dark:focus-visible{ outline:3px solid var(--gold-500); outline-offset:2px; }

  /* ---------- NAV ---------- */
  #site-header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    padding:16px 0;
    transition:padding .4s cubic-bezier(0.16,1,0.3,1), background .4s cubic-bezier(0.16,1,0.3,1), box-shadow .4s ease, border-color .4s ease;
    border-bottom:1px solid transparent;
  }
  #site-header.scrolled{
    padding:10px 0;
    background:rgba(251,248,241,0.94);
    backdrop-filter:blur(10px);
    border-bottom-color:var(--line);
    box-shadow:var(--shadow-sm);
  }
  .nav-row{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
  /* The client logo in two cuts: a light "reverse" one that reads over the dark hero, and the
     full-colour original once the header turns ivory. Both sit in one box and cross-fade, so the
     swap never shifts the layout. */
  .brand{ position:relative; display:block; flex:none; line-height:0; }
  .brand img.brand-logo{
    display:block; height:66px; width:auto; max-width:none;
    transition:height .4s cubic-bezier(0.16,1,0.3,1), opacity .4s ease;
  }
  .brand img.brand-logo--color{ position:absolute; left:0; top:0; opacity:0; }
  #site-header.scrolled .brand img.brand-logo{ height:50px; }
  #site-header.scrolled .brand img.brand-logo--color{ opacity:1; }
  #site-header.scrolled .brand img.brand-logo--reverse{ opacity:0; }

  .nav-links{ display:flex; align-items:center; gap:36px; }
  .nav-links a{
    font-size:0.85rem; font-weight:500; color:var(--ivory-100);
    position:relative; padding:4px 0; transition:color .4s ease;
  }
  #site-header.scrolled .nav-links a{ color:var(--ink-soft); }
  .nav-links a::after{
    content:""; position:absolute; left:0; bottom:0; width:100%; height:1px;
    background:currentColor; transform:scaleX(0); transform-origin:right;
    transition:transform .35s cubic-bezier(0.16,1,0.3,1);
  }
  .nav-links a:hover::after{ transform:scaleX(1); transform-origin:left; }
  .nav-cta{ display:flex; align-items:center; gap:18px; }
  .nav-phone{
    font-family:var(--avv-body); font-weight:600; font-size:0.9rem;
    color:var(--ivory-50); transition:color .4s ease;
  }
  #site-header.scrolled .nav-phone{ color:var(--green-900); }
  .nav-btn{ padding:11px 22px; font-size:0.82rem; }

  .menu-btn{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
  .menu-btn span{ display:block; width:24px; height:2px; background:var(--ivory-50); margin:5px 0; transition:background .4s ease; }
  #site-header.scrolled .menu-btn span{ background:var(--green-900); }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    min-height:100vh;
    display:flex; align-items:flex-end;
    padding-top:160px;
    padding-bottom:96px;
    overflow:hidden;
    background:var(--green-950);
    isolation:isolate;
  }
  .hero-media{ position:absolute; inset:0; z-index:-2; }
  .hero-media img{ width:100%; height:100%; object-fit:cover; object-position:center 62%; }
  .hero-scrim{
    position:absolute; inset:0; z-index:-1;
    background:
      linear-gradient(180deg, rgba(10,36,25,0.72) 0%, rgba(10,36,25,0.32) 32%, rgba(10,36,25,0.55) 68%, rgba(10,36,25,0.94) 100%);
  }
  .contour-wrap{ position:absolute; inset:0; z-index:-1; opacity:0.55; pointer-events:none; }
  .contour-wrap svg{ position:absolute; width:140%; max-width:none; left:-6%; }
  .contour-a{ top:6%; animation:driftA 46s linear infinite; }
  .contour-b{ top:22%; animation:driftB 60s linear infinite; }
  .contour-c{ top:40%; animation:driftA 70s linear infinite reverse; }

  @keyframes driftA{ from{ transform:translateX(0);} to{ transform:translateX(-8%);} }
  @keyframes driftB{ from{ transform:translateX(-4%);} to{ transform:translateX(4%);} }

  .hero-inner{ position:relative; z-index:1; width:100%; }
  .hero-eyebrow{
    display:inline-flex; align-items:center; gap:12px;
    font-size:0.74rem; font-weight:600; letter-spacing:0.2em; text-transform:uppercase;
    color:var(--gold-300); margin-bottom:26px;
    opacity:0; animation:riseIn .9s cubic-bezier(0.16,1,0.3,1) 0.15s forwards;
  }
  .hero-eyebrow::before{ content:""; width:34px; height:1px; background:var(--gold-500); }
  .hero h1{
    color:var(--ivory-50);
    font-size:clamp(2.6rem, 6.4vw, 5.4rem);
    line-height:0.98;
    max-width:16ch;
    font-weight:600;
  }
  .hero h1 .line{ display:block; overflow:hidden; }
  .hero h1 .line span{
    display:block; transform:translateY(110%); opacity:0;
    animation:riseIn .9s cubic-bezier(0.16,1,0.3,1) forwards;
  }
  .hero h1 .line:nth-child(1) span{ animation-delay:0.28s; }
  .hero h1 .line:nth-child(2) span{ animation-delay:0.40s; }
  .hero h1 em{ font-style:italic; font-weight:400; color:var(--gold-300); }

  @keyframes riseIn{ to{ transform:translateY(0); opacity:1; } }

  .hero-sub{
    margin-top:28px; max-width:46ch;
    color:var(--sage-300); font-size:1.08rem; line-height:1.65;
    opacity:0; animation:fadeUp .9s cubic-bezier(0.16,1,0.3,1) 0.55s forwards;
  }
  @keyframes fadeUp{ from{ opacity:0; transform:translateY(16px);} to{ opacity:1; transform:translateY(0);} }

  .hero-actions{
    display:flex; flex-wrap:wrap; gap:16px; margin-top:44px;
    opacity:0; animation:fadeUp .9s cubic-bezier(0.16,1,0.3,1) 0.72s forwards;
  }

  .hero-foot{
    position:absolute; left:0; right:0; bottom:28px; z-index:1;
    display:flex; justify-content:space-between; align-items:flex-end;
    padding:0 var(--gutter);
    opacity:0; animation:fadeUp .9s cubic-bezier(0.16,1,0.3,1) 0.95s forwards;
  }
  .hero-tag{
    font-family:var(--avv-display); font-style:italic; font-weight:400;
    color:rgba(245,239,225,0.75); font-size:0.95rem;
  }
  .scroll-cue{ display:flex; flex-direction:column; align-items:center; gap:8px; color:var(--sage-300); }
  .scroll-cue span{ font-size:0.65rem; letter-spacing:0.18em; text-transform:uppercase; }
  .scroll-cue .stem{ width:1px; height:34px; background:linear-gradient(var(--gold-500), transparent); animation:stem 2.4s ease-in-out infinite; }
  @keyframes stem{ 0%,100%{ opacity:0.35; } 50%{ opacity:1; } }

  /* ---------- STAT STRIP ---------- */
  .stats{ background:var(--green-900); }
  .stats-row{
    display:grid; grid-template-columns:repeat(3,1fr);
    padding:56px 0;
  }
  .stat{ text-align:center; border-left:1px solid rgba(245,239,225,0.14); padding:0 20px; }
  .stat:first-child{ border-left:none; }
  .stat-num{
    font-family:var(--avv-display); font-weight:600; color:var(--ivory-50);
    font-size:clamp(2.2rem, 4vw, 3.2rem);
    font-variant-numeric:tabular-nums;
  }
  .stat-num sup{ font-size:0.42em; color:var(--gold-300); margin-left:2px; top:-0.6em; }
  .stat-label{
    margin-top:8px; font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase;
    color:var(--sage-300); font-weight:600;
  }

  /* ---------- REVEAL ---------- */
  .reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s cubic-bezier(0.16,1,0.3,1), transform .9s cubic-bezier(0.16,1,0.3,1); }
  .reveal.is-visible{ opacity:1; transform:translateY(0); }
  .reveal-stagger.is-visible .stagger-item{ opacity:1; transform:translateY(0); }
  .stagger-item{ opacity:0; transform:translateY(24px); transition:opacity .8s cubic-bezier(0.16,1,0.3,1), transform .8s cubic-bezier(0.16,1,0.3,1); }
  .stagger-item:nth-child(1){ transition-delay:0.05s; }
  .stagger-item:nth-child(2){ transition-delay:0.16s; }
  .stagger-item:nth-child(3){ transition-delay:0.27s; }
  .stagger-item:nth-child(4){ transition-delay:0.38s; }

  /* ---------- SECTION SHELL ---------- */
  section{ padding:120px 0; }
  .section-tight{ padding:96px 0; }

  /* ---------- ABOUT ---------- */
  .about-grid{
    display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,6vw,96px); align-items:center;
  }
  .about-copy h2{ font-size:clamp(2rem,3.6vw,2.9rem); line-height:1.08; }
  .about-copy p{ margin-top:22px; color:var(--ink-soft); font-size:1.02rem; max-width:52ch; }
  .about-copy p + p{ margin-top:16px; }

  .octagon{
    position:relative;
    clip-path:polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    aspect-ratio:1/1;
    overflow:hidden;
    background:var(--green-800);
  }
  .octagon img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s cubic-bezier(0.16,1,0.3,1); }
  .octagon:hover img{ transform:scale(1.08); }
  .octagon-ring{
    position:absolute; inset:-14px; z-index:2; pointer-events:none;
    clip-path:none;
  }
  .about-media{ position:relative; }
  .about-media .octagon{ width:88%; margin-left:auto; }
  .about-media .badge{
    position:absolute; left:0; bottom:14%;
    background:var(--ivory-50); color:var(--green-900);
    padding:22px 26px; box-shadow:var(--shadow-lg);
    max-width:230px; border-left:3px solid var(--gold-500);
  }
  .badge-num{ font-family:var(--avv-display); font-weight:600; font-size:1.7rem; }
  .badge-label{ font-size:0.78rem; color:var(--ink-soft); margin-top:4px; line-height:1.4; }

  /* ---------- VILLAS ---------- */
  .section-head{
    display:flex; justify-content:space-between; align-items:flex-end; gap:32px;
    margin-bottom:64px; flex-wrap:wrap;
  }
  .section-head h2{ font-size:clamp(2rem,3.6vw,2.9rem); max-width:14ch; }
  .section-head .lede{ color:var(--ink-soft); max-width:38ch; font-size:1rem; }

  .villa-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; padding-top:36px; }
  .villa-feature{
    position:relative; overflow:hidden; isolation:isolate;
    aspect-ratio:3/4.3; box-shadow:var(--shadow-md); transform:translateY(0);
    transition:transform .6s cubic-bezier(0.16,1,0.3,1), box-shadow .6s cubic-bezier(0.16,1,0.3,1);
  }
  .villa-feature.featured{ transform:translateY(-36px); }
  .villa-feature:hover{ transform:translateY(-10px); box-shadow:var(--shadow-lg); }
  .villa-feature.featured:hover{ transform:translateY(-46px); box-shadow:var(--shadow-lg); }
  .vf-media{ position:absolute; inset:0; z-index:0; }
  .vf-media img{ width:100%; height:100%; object-fit:cover; transition:transform 1s cubic-bezier(0.16,1,0.3,1); }
  .villa-feature:hover .vf-media img{ transform:scale(1.08); }
  .vf-scrim{
    position:absolute; inset:0; z-index:1; pointer-events:none;
    background:linear-gradient(180deg, rgba(10,36,25,0.05) 0%, rgba(10,36,25,0.12) 42%, rgba(10,36,25,0.94) 100%);
  }
  .vf-index{
    position:absolute; top:24px; left:26px; z-index:2;
    font-family:var(--avv-display); font-style:italic; font-weight:400;
    font-size:0.85rem; letter-spacing:0.04em; color:var(--gold-300);
  }
  .vf-sleeps{
    position:absolute; top:24px; right:26px; z-index:2;
    font-size:0.68rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase;
    color:rgba(251,248,241,0.85);
  }
  .vf-content{ position:absolute; left:26px; right:26px; bottom:28px; z-index:2; }
  .vf-content h3{ color:var(--ivory-50); font-size:1.7rem; }
  .vf-tags{ margin:12px 0 0; color:rgba(251,248,241,0.72); font-size:0.86rem; }
  .villa-link{
    margin-top:20px; display:inline-flex; align-items:center; gap:8px;
    font-size:0.82rem; font-weight:600; color:var(--ivory-50);
    padding-bottom:2px; border-bottom:1px solid rgba(251,248,241,0.35);
    width:fit-content; transition:gap .3s ease, border-color .3s ease, color .3s ease;
  }
  .villa-link:hover{ gap:14px; border-color:var(--gold-500); color:var(--gold-300); }

  /* ---------- GROUNDS ---------- */
  .grounds{ background:var(--green-950); color:var(--ivory-100); }
  .grounds .eyebrow{ color:var(--gold-300); }
  .grounds .eyebrow::before{ background:var(--gold-300); }
  .grounds h2{ color:var(--ivory-50); }
  .grounds-layout{ display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(40px,6vw,90px); align-items:center; }
  .amenity-list{ display:flex; flex-direction:column; }
  .amenity-item{
    display:flex; gap:20px; align-items:flex-start; padding:22px 0;
    border-top:1px solid rgba(245,239,225,0.14);
  }
  .amenity-item:first-child{ border-top:none; padding-top:0; }
  .amenity-icon{
    flex:none; width:46px; height:46px; border:1px solid rgba(189,143,74,0.5);
    display:flex; align-items:center; justify-content:center; color:var(--gold-300);
    clip-path:polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  }
  .amenity-copy h4{ color:var(--ivory-50); font-size:1.06rem; font-weight:600; font-family:var(--avv-body); letter-spacing:0.01em; }
  .amenity-copy p{ margin:6px 0 0; color:var(--sage-300); font-size:0.9rem; max-width:44ch; }

  .grounds-media{ position:relative; }
  .grounds-media .octagon{ background:var(--green-800); }
  .grounds-media .octagon:nth-child(1){ width:72%; }
  .grounds-stack{ position:relative; height:520px; }
  .grounds-stack .octagon{ position:absolute; }
  .gs-1{ width:66%; top:0; left:0; }
  .gs-2{ width:52%; bottom:0; right:0; border:6px solid var(--green-950); }

  /* ---------- GALLERY ---------- */
  .gallery-grid{
    display:grid; grid-template-columns:repeat(4,1fr); grid-template-rows:repeat(2, 210px);
    grid-template-areas:
      "big big s1 s2"
      "big big wide wide";
    gap:20px;
  }
  .g-big{ grid-area:big; }
  .g-s1{ grid-area:s1; }
  .g-s2{ grid-area:s2; }
  .g-wide{ grid-area:wide; }
  .gallery-item{ position:relative; overflow:hidden; }
  .gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .9s cubic-bezier(0.16,1,0.3,1); }
  .gallery-item:hover img{ transform:scale(1.07); }
  .gallery-item::after{
    content:""; position:absolute; inset:0;
    background:linear-gradient(180deg, transparent 50%, rgba(10,36,25,0.8) 100%);
  }
  .gallery-cap{
    position:absolute; left:18px; bottom:16px; color:var(--ivory-50);
    font-size:0.76rem; font-weight:600; letter-spacing:0.09em; text-transform:uppercase;
    z-index:1; transition:transform .4s cubic-bezier(0.16,1,0.3,1);
  }
  .gallery-item:hover .gallery-cap{ transform:translateY(-4px); }
  .gallery-cta{ text-align:center; margin-top:56px; }

  /* ---------- LOCATION ---------- */
  .location-layout{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:clamp(40px,6vw,96px); align-items:center; }
  .loc-media{ position:relative; max-width:380px; margin:0 auto; }
  .loc-media .octagon{ border:1px solid var(--line-strong); padding:10px; background:var(--ivory-50); }
  .loc-media .octagon img{ clip-path:polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%); }
  .loc-compass{
    position:absolute; right:-16px; bottom:-16px; z-index:2;
    width:78px; height:78px; border-radius:50%;
    background:var(--ivory-50); box-shadow:var(--shadow-md);
    display:flex; align-items:center; justify-content:center;
  }

  .route-list{ margin-top:8px; }
  .route-item{ display:flex; gap:20px; position:relative; padding:24px 0; }
  .route-item:not(:last-child)::before{
    content:""; position:absolute; left:21px; top:66px; bottom:-2px; width:1px;
    background:var(--line-strong);
  }
  .route-marker{
    flex:none; width:44px; height:44px; position:relative; z-index:1;
    background:var(--ivory-50); border:1px solid var(--line-strong); color:var(--gold-600);
    display:flex; align-items:center; justify-content:center;
    clip-path:polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  }
  .route-copy{ flex:1; padding-top:3px; }
  .route-top{ display:flex; align-items:baseline; justify-content:space-between; gap:14px; flex-wrap:wrap; }
  .route-top h4{ font-family:var(--avv-display); font-weight:600; font-size:1.12rem; color:var(--green-900); }
  .route-tag{
    font-size:0.66rem; font-weight:700; letter-spacing:0.09em; text-transform:uppercase;
    color:var(--ink-soft); white-space:nowrap; padding-top:3px;
  }
  .route-tag-hero{
    font-family:var(--avv-display); font-style:italic; font-weight:400; font-size:0.98rem;
    text-transform:none; letter-spacing:0; color:var(--gold-600); padding-top:0;
  }
  .route-copy p{ margin:5px 0 0; color:var(--ink-soft); font-size:0.9rem; }

  /* ---------- CTA BAND ---------- */
  .cta-band{
    position:relative; color:var(--ivory-50);
    padding:150px 0; text-align:left; overflow:hidden; isolation:isolate;
  }
  .cta-media{ position:absolute; inset:0; z-index:-2; }
  .cta-media img{ width:100%; height:100%; object-fit:cover; object-position:center 35%; }
  .cta-scrim{
    position:absolute; inset:0; z-index:-1;
    background:
      linear-gradient(100deg, rgba(10,36,25,0.96) 26%, rgba(10,36,25,0.82) 52%, rgba(10,36,25,0.4) 100%),
      linear-gradient(0deg, rgba(10,36,25,0.5), transparent 40%);
  }
  .cta-band .contour-wrap{ opacity:0.3; }
  .cta-inner{ max-width:600px; }
  .cta-band h2{ color:var(--ivory-50); font-size:clamp(2.2rem,4.4vw,3.4rem); max-width:14ch; margin:0; }
  .cta-band p{ color:var(--sage-300); margin:22px 0 0; max-width:44ch; }
  .cta-phone-wrap{
    display:inline-flex; align-items:center; gap:14px; margin-top:32px;
    padding:16px 24px; border:1px solid rgba(189,143,74,0.45);
  }
  .cta-phone-wrap svg{ color:var(--gold-300); flex:none; }
  .cta-phone{ font-family:var(--avv-display); font-size:1.5rem; color:var(--gold-300); }
  .cta-actions{ display:flex; justify-content:flex-start; gap:18px; margin-top:36px; flex-wrap:wrap; }

  /* ---------- FOOTER ---------- */
  #site-footer{ background:var(--green-950); color:var(--sage-300); padding:76px 0 32px; }
  .footer-grid{
    display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px;
    padding-bottom:56px; border-bottom:1px solid rgba(245,239,225,0.12);
  }
  .footer-brand p{ margin-top:18px; max-width:32ch; font-size:0.9rem; line-height:1.7; }
  .footer-col h5{
    font-family:var(--avv-body); font-size:0.72rem; font-weight:700; letter-spacing:0.14em;
    text-transform:uppercase; color:var(--ivory-100); margin:0 0 18px;
  }
  .footer-col a, .footer-col span{ display:block; font-size:0.88rem; padding:6px 0; color:var(--sage-300); transition:color .3s ease; }
  .footer-col a:hover{ color:var(--gold-300); }
  .footer-bottom{
    display:flex; justify-content:space-between; align-items:center; gap:20px;
    padding-top:28px; font-size:0.78rem; flex-wrap:wrap; color:rgba(134,156,142,0.8);
  }

  /* ---------- MOBILE ---------- */
  @media (max-width:920px){
    .nav-links, .nav-phone, .nav-cta .nav-btn{ display:none; }
    .menu-btn{ display:block; }
    .about-grid, .grounds-layout, .location-layout{ grid-template-columns:1fr; }
    .about-media{ order:-1; }
    .about-media .octagon{ width:70%; margin:0 auto; }
    .villa-grid{ grid-template-columns:1fr; padding-top:0; gap:22px; }
    .villa-feature{ aspect-ratio:4/3; }
    .villa-feature.featured, .villa-feature:hover, .villa-feature.featured:hover{ transform:none; }
    .stats-row{ grid-template-columns:1fr; }
    .stat{ border-left:none; border-top:1px solid rgba(245,239,225,0.14); padding:24px 0; }
    .stat:first-child{ border-top:none; }
    .gallery-grid{
      grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(3, 190px);
      grid-template-areas: "big big" "s1 s2" "wide wide";
    }
    .footer-grid{ grid-template-columns:1fr 1fr; }
    .grounds-stack{ height:400px; }
  }
  @media (max-width:600px){
    section{ padding:80px 0; }
    .hero{ min-height:0; padding-top:120px; padding-bottom:56px; }
    .hero-foot{ position:static; flex-direction:column; align-items:flex-start; gap:20px; margin-top:52px; padding:0 var(--gutter); animation:none; opacity:1; }
    .brand img.brand-logo{ height:52px; }
    #site-header.scrolled .brand img.brand-logo{ height:42px; }
    .gallery-grid{
      grid-template-columns:1fr; grid-template-rows:none; grid-auto-rows:220px;
      grid-template-areas:none;
    }
    .g-big, .g-s1, .g-s2, .g-wide{ grid-area:auto; }
    .footer-grid{ grid-template-columns:1fr; }
    .cta-band{ padding:80px 0; }
  }

  /* ---------- HERO ALT LINK (Vrbo, subpages) ---------- */
  .hero-alt-link{ margin-top:20px; font-size:0.86rem; color:var(--sage-300); opacity:0; animation:fadeUp .9s cubic-bezier(0.16,1,0.3,1) 0.85s forwards; }
  .hero-alt-link a{ color:var(--gold-300); border-bottom:1px solid rgba(220,187,134,0.4); transition:border-color .3s ease; }
  .hero-alt-link a:hover{ border-color:var(--gold-300); }

  /* ---------- FLOOR PLAN LINKS ---------- */
  .plan-block{ margin-top:30px; padding-top:26px; border-top:1px solid var(--line); }
  .plan-label{ font-size:0.7rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:12px; }
  .plan-links{ display:flex; flex-wrap:wrap; gap:12px; }
  .plan-link{
    display:inline-flex; align-items:center; gap:8px; padding:10px 18px;
    border:1px solid var(--line-strong); font-size:0.82rem; font-weight:600; color:var(--green-900);
    transition:border-color .3s ease, background .3s ease;
  }
  .plan-link:hover{ border-color:var(--gold-500); background:var(--ivory-100); }
  .plan-link svg{ color:var(--gold-600); flex:none; }
  .plan-note{ margin-top:14px; font-size:0.86rem; color:var(--ink-soft); font-style:italic; }

  /* ---------- BREADCRUMB (in the hero eyebrow row, subpages only) ---------- */
  .hero-eyebrow a{ color:inherit; border-bottom:1px solid rgba(220,187,134,0.4); transition:border-color .3s ease; }
  .hero-eyebrow a:hover{ border-color:var(--gold-300); }
  .hero-eyebrow .sep{ opacity:0.45; margin:0 2px; }

  /* ---------- QUICK FACTS STRIP (subpages) ---------- */
  .quickfacts{ background:var(--ivory-50); border-bottom:1px solid var(--line); }
  .qf-row{ display:flex; flex-wrap:wrap; padding:34px 0; }
  .qf-item{ display:flex; align-items:center; gap:13px; padding:4px 28px; border-left:1px solid var(--line); }
  .qf-item:first-child{ border-left:none; padding-left:0; }
  .qf-icon{ color:var(--gold-600); flex:none; }
  .qf-num{ font-family:var(--avv-display); font-weight:600; font-size:1.22rem; color:var(--green-900); line-height:1.2; }
  .qf-label{ font-size:0.7rem; letter-spacing:0.07em; text-transform:uppercase; color:var(--ink-soft); }

  /* ---------- compact grid variants reused from the villa/amenity components ---------- */
  .villa-grid-2{ grid-template-columns:repeat(2,1fr); max-width:820px; margin:0 auto; }
  .amenity-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
  .amenity-grid-2 .amenity-item{ border-top:none; padding:0; }
  .grounds-more{ margin-top:32px; }

  @media (max-width:920px){
    .villa-grid-2{ grid-template-columns:1fr; }
  }
  @media (max-width:600px){
    .amenity-grid-2{ grid-template-columns:1fr; }
    .qf-item{ padding:4px 18px; }
  }

  /* ---------- LOGO ACCENTS: burgundy + green from the client logo, used sparingly ---------- */
  .about-media .badge{ border-left-color:var(--red-700); }
  .plan-link svg{ color:var(--red-700); }
  .route-marker{ color:var(--red-700); }
  .cta-band .eyebrow{ color:var(--gold-300); }
  .cta-band .eyebrow::before{ background:var(--gold-300); }
  #site-header.scrolled .nav-links a:hover{ color:var(--green-700); }
  .nav-links a[aria-current="page"]::after{ transform:scaleX(1); }
  .footer-logo{ display:inline-block; line-height:0; }
  .footer-brand img{ display:block; height:80px; width:auto; max-width:none; }
  @media (max-width:1180px){
    .nav-links{ gap:24px; }
    .nav-phone{ display:none; }
  }

  /* ---------- SHORT PAGE HERO (gallery, contact) ---------- */
  .hero.hero-short{ min-height:66vh; padding-bottom:84px; }

  /* ---------- PHOTO GALLERY PAGE ---------- */
  .pg-filters{ display:flex; flex-wrap:wrap; gap:10px; margin:-24px 0 36px; }
  .pg-filter{
    display:inline-flex; align-items:center; gap:8px; margin:0;
    font-family:var(--avv-body); font-size:0.8rem; font-weight:600; letter-spacing:0.03em; line-height:1.2;
    padding:11px 16px; border:1px solid var(--line-strong); border-radius:2px;
    background:transparent; color:var(--green-900); cursor:pointer;
    transition:background .25s ease, color .25s ease, border-color .25s ease;
  }
  .pg-filter:hover{ border-color:var(--green-700); background:transparent; color:var(--green-900); }
  .pg-filter.is-active, .pg-filter.is-active:hover{ background:var(--green-700); border-color:var(--green-700); color:var(--ivory-50); }
  .pg-filter:focus-visible{ outline:3px solid var(--gold-500); outline-offset:2px; }
  .pg-count{ font-size:0.68rem; font-weight:500; opacity:0.65; }
  .pg-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); grid-auto-rows:220px; grid-auto-flow:dense; gap:16px; }
  .pg-item{ position:relative; margin:0; overflow:hidden; background:var(--green-800); min-width:0; }
  .pg-item[hidden]{ display:none; }
  .pg-item.is-wide{ grid-column:span 2; }
  .pg-item.is-big{ grid-column:span 2; grid-row:span 2; }
  .pg-open{ display:block; width:100%; height:100%; margin:0; padding:0; border:0; border-radius:0; background:none; cursor:zoom-in; }
  .pg-open:focus-visible{ outline:3px solid var(--gold-500); outline-offset:-3px; }
  .pg-item img.pg-img{ width:100%; height:100%; object-fit:cover; transition:transform .9s cubic-bezier(0.16,1,0.3,1); }
  .pg-item:hover img.pg-img{ transform:scale(1.06); }
  .pg-item::after{ content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg, transparent 55%, rgba(10,36,25,0.82) 100%); }
  .pg-item figcaption{ position:absolute; left:16px; right:16px; bottom:14px; z-index:1; pointer-events:none; color:var(--ivory-50); font-size:0.82rem; font-weight:600; line-height:1.35; }
  .pg-cat{ display:block; margin-bottom:3px; font-family:var(--avv-display); font-style:italic; font-weight:400; font-size:0.78rem; color:var(--gold-300); }

  .lightbox{ position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; padding:64px 84px; background:rgba(6,22,15,0.95); }
  .lightbox[hidden]{ display:none; }
  .lb-figure{ margin:0; display:flex; flex-direction:column; align-items:center; gap:14px; max-width:100%; max-height:100%; }
  .lightbox img.lb-img{ display:block; width:auto; height:auto; max-width:100%; max-height:calc(100vh - 170px); object-fit:contain; box-shadow:0 30px 80px -20px rgba(0,0,0,0.6); }
  .lb-caption{ color:var(--sage-300); font-size:0.9rem; text-align:center; }
  .lb-count{ margin-right:12px; font-family:var(--avv-display); font-style:italic; color:var(--gold-300); }
  .lb-btn{ position:absolute; width:50px; height:50px; margin:0; padding:0; display:flex; align-items:center; justify-content:center; border:1px solid rgba(251,248,241,0.28); border-radius:50%; background:rgba(251,248,241,0.06); color:var(--ivory-50); cursor:pointer; transition:background .25s ease, border-color .25s ease; }
  .lb-btn:hover{ background:rgba(251,248,241,0.16); border-color:var(--ivory-50); color:var(--ivory-50); }
  .lb-btn:focus-visible{ outline:3px solid var(--gold-500); outline-offset:2px; }
  .lb-btn svg{ width:22px; height:22px; max-width:none; flex:none; }
  .lb-close{ top:18px; right:18px; }
  .lb-prev{ left:18px; top:50%; margin-top:-25px; }
  .lb-next{ right:18px; top:50%; margin-top:-25px; }
  body.lb-open{ overflow:hidden; }

  /* ---------- CONTACT PAGE ---------- */
  .contact-layout{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:clamp(40px,6vw,88px); align-items:start; }
  .route-copy p + p{ margin-top:4px; }
  .route-copy a.contact-link{ color:var(--green-700); font-weight:600; border-bottom:1px solid rgba(5,104,57,0.3); transition:border-color .3s ease, color .3s ease; }
  .route-copy a.contact-link:hover{ color:var(--green-800); border-bottom-color:var(--green-700); }
  .route-copy .contact-book{ display:flex; flex-wrap:wrap; gap:6px 18px; }
  .inquiry-card{ background:var(--ivory-50); border:1px solid var(--line); border-top:3px solid var(--green-700); padding:clamp(26px,4vw,44px); box-shadow:var(--shadow-md); }
  #inquiry{ scroll-margin-top:110px; }
  .inquiry-card h2{ font-size:clamp(1.7rem,2.6vw,2.2rem); }
  .inquiry-card .lede{ margin:10px 0 26px; color:var(--ink-soft); font-size:0.95rem; }
  .req{ color:var(--red-700); }
  .form-grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px; }
  .field{ display:flex; flex-direction:column; gap:7px; min-width:0; }
  .field-full{ grid-column:1 / -1; }
  .field label{ font-size:0.72rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-soft); }
  .avv-form input, .avv-form select, .avv-form textarea{
    width:100%; margin:0; min-height:48px; padding:12px 14px;
    font-family:var(--avv-body); font-size:0.95rem; line-height:1.4; color:var(--ink);
    background:#fff; border:1px solid var(--line-strong); border-radius:2px; box-shadow:none;
    transition:border-color .25s ease, box-shadow .25s ease;
  }
  /* explicit heights: date inputs otherwise size to the browser's native picker and drift row by row */
  .avv-form input{ height:48px; }
  .avv-form select{ height:48px; padding-top:0; padding-bottom:0; }
  .avv-form textarea{ min-height:136px; resize:vertical; }
  .avv-form input:focus, .avv-form select:focus, .avv-form textarea:focus{ outline:none; border-color:var(--green-700); box-shadow:0 0 0 3px rgba(5,104,57,0.18); }
  .field.has-error input, .field.has-error select, .field.has-error textarea{ border-color:var(--red-700); }
  .hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
  .form-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 20px; margin-top:24px; }
  .form-status{ margin:0 0 22px; padding:14px 18px; border-left:3px solid var(--green-700); font-size:0.92rem; line-height:1.5; }
  .form-status[hidden]{ display:none; }
  .form-status.is-success{ background:rgba(5,104,57,0.08); border-left-color:var(--green-700); color:var(--green-900); }
  .form-status.is-error{ background:rgba(146,25,28,0.07); border-left-color:var(--red-700); color:var(--red-800); }
  .map-frame{ position:relative; aspect-ratio:21/9; min-height:320px; border:1px solid var(--line-strong); background:var(--ivory-200); overflow:hidden; }
  .map-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

  @media (max-width:920px){
    .pg-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); grid-auto-rows:190px; }
    .contact-layout{ grid-template-columns:1fr; }
    /* not aspect-ratio + min-height: together they force a minimum WIDTH (320px x 4/3 = 427px),
       which made the contact page scroll sideways on a 390px phone */
    .map-frame{ aspect-ratio:auto; min-height:0; height:clamp(300px, 72vw, 460px); }
  }
  @media (max-width:600px){
    .pg-grid{ grid-auto-rows:150px; gap:10px; }
    .pg-item figcaption{ left:10px; right:10px; bottom:8px; font-size:0.72rem; }
    .pg-cat{ display:none; }
    .form-grid{ grid-template-columns:1fr; }
    .lightbox{ padding:70px 12px 90px; }
    .lb-prev, .lb-next{ top:auto; bottom:18px; margin-top:0; }
    .lb-prev{ left:calc(50% - 62px); }
    .lb-next{ right:calc(50% - 62px); }
    .hero.hero-short{ min-height:0; }
  }

  /* ---------- 2026-09-18: grouped amenities + direct-booking note ---------- */
  .amenity-group{ margin:36px 0 20px; font-size:0.72rem; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold-300); }
  .amenity-group + .amenity-grid-2{ gap:24px 28px; }
  .cta-band p.cta-note{ margin:16px 0 0; padding-left:14px; border-left:2px solid var(--gold-500); color:var(--gold-300); font-size:0.92rem; }

  /* mobile nav panel */
  .mobile-panel{
    position:fixed; inset:0; z-index:99; background:var(--green-950);
    display:flex; flex-direction:column; justify-content:center; align-items:center; gap:28px;
    transform:translateY(-100%); transition:transform .5s cubic-bezier(0.16,1,0.3,1);
  }
  .mobile-panel.open{ transform:translateY(0); }
  .mobile-panel a{ font-family:var(--avv-display); font-size:1.8rem; color:var(--ivory-50); }
  .mobile-panel .btn{ margin-top:10px; }
  .mobile-close{ position:absolute; top:26px; right:var(--gutter); background:none; border:none; color:var(--ivory-50); font-size:1rem; cursor:pointer; }

  /* the mobile menu covers the header (so its own close button is reachable) and is invisible to
     keyboard and screen-reader users while closed */
  .mobile-panel{ z-index:101; visibility:hidden; transition:transform .5s cubic-bezier(0.16,1,0.3,1), visibility 0s linear .5s; }
  .mobile-panel.open{ visibility:visible; transition:transform .5s cubic-bezier(0.16,1,0.3,1), visibility 0s linear 0s; }

/* ---------- formerly inline styles, as classes so Elementor Style controls can override them ---------- */
.avv-ground-light{ background:var(--ivory-50); }
.stats.section-tight{ padding-top:0; padding-bottom:0; }
section.quickfacts{ padding:0; }
.hero.hero-villa{ padding-bottom:64px; }
section.avv-pt0{ padding-top:0; }
h2.avv-h-md{ font-size:clamp(2rem,3.6vw,2.9rem); }
h2.avv-mw-12{ max-width:12ch; }
h2.avv-mw-16{ max-width:16ch; }
h2.avv-mb-36{ margin-bottom:36px; }
.about-copy p.avv-note{ font-style:italic; font-size:0.92rem; color:var(--ink-soft); }
a.ulink{ color:var(--gold-300); font-size:0.86rem; font-weight:600; border-bottom:1px solid rgba(220,187,134,0.4); }
