/* ============================================================
   Dueon — "The Members' Book"
   Club-heritage landing page. Hunter green · cream · brass · Caslon.
   Old-world warmth, ceremonial restraint. No glow, no slop.
   ============================================================ */

:root {
  /* greens */
  --green-900:#10211a;
  --green-850:#152a21;
  --green-800:#193327;
  --green-700:#234135;     /* primary hunter */
  --green-600:#2e5343;

    /* blues */
  --blue-900:#001428;
  --blue-800:#00203f;
  --blue-700:#002c56;
  --blue-600:#00396d;
  --blue-500:#004584;
  --blue-400:#00519b;
  --blue-300:#005db2;
  --blue-200:#0069c9;
  --blue-100:#0075e0;

  /* paper & ink */
  --cream:#f0e9d8;
  --cream-soft:#f6f0e3;
  --cream-deep:#e7dec9;
  --paper:#fcf9f1;         /* statement stock */
  --ink:#22281f;           /* warm near-black */
  --ink-soft:#565a4c;
  --ink-faint:#8a8c7d;

  /* metals & accents */
  --brass:#9c7a38;
  --brass-bright:#bb9551;
  --brass-soft:#cdb47a;
  --brass-pale:#e3d3a6;
  --oxblood:#8a2f24;       /* balance due */
  --credit:#3a6b4c;        /* credit / settled green */

  /* lines */
  --line:#ded6c2;
  --line-soft:#e8e1d0;
  --line-green:#2f4a3d;

  /* type */
  /*--serif-display:"Libre Caslon Display", "Libre Caslon Display Fallback", Georgia, "Times New Roman", serif;*/
--serif-display: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
--serif: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
--sans: "Hanken Grotesk", "Hanken Grotesk Fallback", Arial, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --maxw:1200px;
  --gutter:48px;
  --radius-control:4px;
  --radius-panel:8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 92px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4,p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.tnum { font-variant-numeric: tabular-nums lining-nums; }

.skip-link {
  position: fixed;
  top: 12px;
  left: var(--gutter);
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--cream-soft);
  color: var(--blue-900);
  border: 2px solid var(--brass);
  border-radius: var(--radius-control);
  padding: 10px 14px;
  font-weight: 700;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brass-bright);
  outline-offset: 4px;
}

/* ---------- shared atoms ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 12px;
}

.eyebrow::after, .eyebrow::before{
  content: ""; width: 26px; height: 1px; background: var(--brass); opacity: .7;
}
.eyebrow.center { justify-content: center; }

.eyebrow.on-green { color: var(--brass-soft); }
.eyebrow.on-green::before, .eyebrow.on-green::after { background: var(--brass-soft); opacity: .55; }

.serif { font-family: var(--serif); }

/* section title block */
.shead { max-width: 30ch; }
.shead.center { max-width: 26ch; margin: 0 auto; text-align: center; }
.shead h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--blue-800);
  margin-top: 20px;
  text-wrap: balance;
}
.shead .sub {
  font-size: 18px; line-height: 1.62; color: var(--ink-soft);
  margin-top: 18px; max-width: 46ch;
}
.shead.center .sub { margin-left: auto; margin-right: auto; }

.section-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--blue-800);
  margin-top: 20px;
  text-wrap: balance;
}

.section-title--integration {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.06;
}

.section-title--light {
  color: var(--cream);
}

.service-title {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.06;
  margin-top: 18px;
}

.section-copy {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-top: 18px;
  max-width: 42ch;
}

.section-copy--light {
  color: var(--brass-soft);
  max-width: 34ch;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: var(--radius-control);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn .ar { font-family: var(--serif); font-size: 18px; transition: transform .25s ease; }
.btn:hover .ar { transform: translateX(4px); }
.btn-solid { background: var(--blue-700); color: var(--cream-soft); }
.btn-solid:hover { background: var(--blue-800); }
.btn-ghost { background: transparent; color: var(--blue-700); border-color: color-mix(in srgb, var(--blue-700) 45%, transparent); }
.btn-ghost:hover { border-color: var(--blue-700); background: color-mix(in srgb, var(--blue-700) 5%, transparent); }
.btn-brass { background: transparent; color: var(--brass-bright); border-color: var(--brass); }
.btn-brass:hover { background: var(--brass); color: var(--blue-900); }
.btn-cream { background: var(--cream-soft); color: var(--blue-800); }
.btn-cream:hover { background: #fff; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-nav-demo { padding: 11px 20px; }
.btn-on-green {
  color: var(--cream-soft);
  border-color: color-mix(in srgb, var(--brass-soft) 45%, transparent);
}
.btn-on-green:hover {
  border-color: var(--brass-soft);
  background: color-mix(in srgb, var(--cream-soft) 8%, transparent);
}

/* Dueon mark — original: thin ring + Caslon D */
/*.mark {*/
/*  display: inline-grid; place-items: center; border-radius: 50%;*/
/*  border: 1px solid currentColor; font-family: var(--serif-display);*/
/*  line-height: 1; flex: none;*/
/*}*/
.mark{
      background-image: url("../img/dueon_logo-transparent.8a1296cd5982.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.mark-sm { width: 30px; height: 30px; font-size: 15px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; }
.wordmark .nm {
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  letter-spacing: .01em;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  box-shadow: 0 14px 34px -28px rgba(28,40,30,.4);
}
.site-header.nav-open {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--cream) 96%, transparent);
}
.nav-links a.active { color: var(--blue-800); }
.nav-links a.active::after { right: 0; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav .wordmark .nm { color: var(--blue-800); }
.nav .mark { color: var(--blue-700); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-soft); font-weight: 500; white-space: nowrap;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--brass); transition: right .3s ease;
}
.nav-links a:hover { color: var(--blue-800); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-cta .signin { font-size: 14.5px; color: var(--ink-soft); font-weight: 500; white-space: nowrap; }
.nav-cta .signin:hover { color: var(--blue-800); }
.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--blue-700) 28%, transparent);
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--cream-soft) 72%, transparent);
  color: var(--blue-800);
  cursor: pointer;
  flex: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nav-menu-toggle:hover {
  background: var(--cream-soft);
  border-color: var(--blue-700);
}
.nav-menu-icon {
  display: grid;
  gap: 5px;
  width: 18px;
}
.nav-menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform .22s ease, opacity .18s ease;
}
.site-header.nav-open .nav-menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-menu-icon span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-links .nav-mobile-cta { display: none; }

/* ============================================================
   HERO — the ceremonial letterhead
   ============================================================ */
.hero {
  --hero-frame-bottom: 96px;
  position: relative;
  background: var(--blue-800);
  color: var(--cream);
  overflow: hidden;
}
/* subtle woven paper texture via layered gradients (no image) */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; z-index: 1;
  /*background:*/
  /*  radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--blue-700) 70%, transparent), transparent 60%),*/
  /*  repeating-linear-gradient(90deg, transparent 0 3px, rgba(0,0,0,.018) 3px 4px),*/
  /*  repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.018) 3px 4px);*/
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /*background:*/
  /*  radial-gradient(58% 42% at 50% 37%, rgba(16,33,26,.68), rgba(16,33,26,.28) 48%, transparent 74%),*/
  /*  linear-gradient(180deg, rgba(16,33,26,.08), rgba(16,33,26,.16) 42%, rgba(16,33,26,.64) 88%, rgba(16,33,26,.86));*/
}
.hero-landscape {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-topo-map {
  position: absolute;
  inset: -5% -4%;
  z-index: 0;
  background-image: url("../img/topo-hero-map.fecff5855278.webp");
  background-position: center;
  background-size: cover;
  filter: invert(1) sepia(.24) saturate(.72) hue-rotate(12deg) brightness(.72) contrast(1.2);
  opacity: .34;
  transform: scale(1.04);
}
.hero-topo-map { transition: opacity 1.6s ease; }
.hero.hero-map-ready .hero-topo-map { opacity: 0; }
.hero-landscape-canvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .96;
}
.hero-inner {
  position: relative; max-width: 920px; margin: 0 auto;
  z-index: 2;
  padding: 84px var(--gutter) 0;
  text-align: center;
}
/* brass double-rule frame */
.hero-frame { position: absolute; pointer-events: none; z-index: 3; }
.hero-frame.outer { inset: 30px 22px var(--hero-frame-bottom); border: 1px solid color-mix(in srgb, var(--brass-soft) 42%, transparent); }
.hero-frame.inner { inset: 37px 29px calc(var(--hero-frame-bottom) + 7px); border: 1px solid color-mix(in srgb, var(--brass-soft) 18%, transparent); }


.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers both items on the same axis */
  gap: 0.5rem;           /* spacing between crest and eyebrow */
}
.hero-crest {

    place-items: center;
    background-image: url("../img/dueon_logo_brass-transparent.0d48dc442c43.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 66px; height: 66px;
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(20px, 6.4vw, 60px); line-height: 1.04;
  letter-spacing: -0.015em; color: #fff7df;
  margin: 20px auto 0; max-width: 920px;
}
.hero h1 .hl-line { display: block; }
.hero h1 .hl-inner { display: block; }
.hero h1 .mobile-break { display: none; }
.hero .lead {
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 23px); line-height: 1.55;
  color: color-mix(in srgb, var(--brass-pale) 88%, var(--cream-soft) 12%);
  margin: 22px auto 0; width: min(100%, 34ch); max-width: 34ch;
}
.hero .btn-brass {
  color: var(--brass-pale);
  border-color: color-mix(in srgb, var(--brass-soft) 82%, transparent);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; }
.hero-foot-note {
  margin-top: 26px; font-size: 13px; letter-spacing: .04em;
  color: color-mix(in srgb, var(--brass-pale) 82%, transparent);
}

/* hero base strip — the closed-cycle ledger line */
.hero-strip {
  position: relative; margin-top: 70px;
  z-index: 2;
  border-top: 1px solid color-mix(in srgb, var(--brass-soft) 35%, transparent);
  background: var(--blue-900);
}
.hero-strip .row {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  align-items: center;
}
.hero-strip .item {
  display: flex; flex-direction: column; align-items: center; padding: 0 18px;
  position: relative;
  min-width: 0;
}
.hero-strip .item + .item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 30px; background: color-mix(in srgb, var(--brass-soft) 30%, transparent);
}
.hero-strip .v {
  font-family: var(--serif-display); font-size: 24px; color: var(--cream);
}
.hero-strip .k {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-soft); margin-top: 4px; text-align: center;
}

/* ============================================================
   LIGHTSPEED LOCKUP STRIP
   ============================================================ */
.partners { background: var(--cream); border-bottom: 1px solid var(--line); }
.partners .wrap { padding: 30px var(--gutter); display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.partners .lbl {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint);
}
.partners .names { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.partners .names span {
  font-family: var(--serif); font-size: 19px; color: var(--blue-700);
  letter-spacing: .01em; opacity: .85;
}

/* ============================================================
   EARLY PRODUCT PROOF
   ============================================================ */
.proof-strip {
  background: var(--cream-soft);
  border-bottom: 1px solid var(--line);
}
.proof {
  padding: 44px var(--gutter);
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.proof-copy h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  color: var(--blue-800);
  margin-top: 16px;
  max-width: 15ch;
}
.proof-artifact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-width: 0;
}
.proof-statement,
.proof-link {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: 0 18px 36px -30px rgba(28,40,30,.55);
  overflow: hidden;
}
.proof-statement { padding: 22px 24px 20px; }
.proof-logo {
  background-image: url("../img/pine_cone.3b4cb2681294.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.proof-lightspeed-logo {
  background-image: url("../img/lightspeed_payments.1bd9eada0c9d.png");
    background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
    margin-top: 10px;
  width: 100%;
  height: 50px;
}
.proof-mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;      /* vertically center all items */
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-800);
}

.proof-mini-club {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--blue-800);
}

.proof-mini-period {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.proof-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.proof-mini-row span:first-child { color: var(--ink-soft); min-width: 0; }
.proof-mini-row span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); }
.proof-mini-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 2px solid var(--blue-800);
  color: var(--blue-800);
}
.proof-mini-total span:first-child {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.proof-mini-total span:last-child {
  font-family: var(--serif-display);
  font-size: 28px;
  color: var(--oxblood);
}
.proof-link {
  background: var(--blue-800);
  color: var(--cream);
  padding: 22px 24px;
  display: grid;
  align-content: space-between;
  min-height: 100%;
}
.proof-link-label {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-soft);
}
.proof-link h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.15;
  margin-top: 16px;
}
.proof-link p {
  color: var(--brass-soft);
  font-size: 13.5px;
  line-height: 1.55;
  margin-top: 10px;
}
.proof-link-action {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-green);
}
.proof-link-action span:first-child {
  color: var(--brass-soft);
  font-size: 12px;
}
.proof-link-action span:last-child {
  background: var(--cream-soft);
  color: var(--blue-800);
  font-weight: 700;
  font-size: 12px;
  padding: 9px 14px;
  border-radius: var(--radius-control);
  white-space: nowrap;
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: 104px 0; }
.section.tight { padding: 84px 0; }
.section.green { background: var(--blue-800); color: var(--cream); }
.section.green .shead h2 { color: var(--cream); }
.section.green .shead .sub { color: var(--brass-soft); }
.section.cream-deep { background: var(--cream-deep); }

/* ---------- How it works — the procedure, as ledger entries ---------- */
.proc { margin-top: 60px; border-top: 1px solid var(--line); }
.proc-step {
  display: grid; grid-template-columns: 88px 1fr 1.1fr; gap: 40px; align-items: start;
  padding: 40px 24px; margin: 0 -24px; border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.proc-step:hover { background: color-mix(in srgb, var(--paper) 70%, transparent); }
.proc-step .num {
  font-family: var(--serif-display); font-size: 40px; color: var(--brass);
  line-height: 1; padding-top: 2px;
}
.proc-step .lede h3 {
  font-family: var(--serif); font-weight: 700; font-size: 25px; color: var(--blue-800);
  letter-spacing: .01em;
}
.proc-step .lede .tag {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
  display: block; margin-bottom: 9px;
}
.proc-step .body { color: var(--ink-soft); font-size: 16px; line-height: 1.62; padding-top: 4px; }
  .head-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.process-image {
  background-image: url("../img/resort_administrator.c3be27bf599b.png");
  background-size: cover;           /* Changed from contain */
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 26px 50px -34px rgba(28,40,30,.5);
}
/* ---------- Integration — the flow ---------- */
.intg { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.intg-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.intg-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink-soft);
}
.intg-list li:first-child { border-top: 1px solid var(--line); }
.intg-list .lead-cap {
  font-family: var(--serif); font-size: 13px; color: var(--brass); font-weight: 700;
  letter-spacing: .05em; min-width: 1.4em;
}
.intg-list b { color: var(--blue-800); font-weight: 700; }

.flow {
  background: var(--paper); border: 1px solid var(--line); padding: 32px;
  border-radius: var(--radius-panel);
  box-shadow: 0 26px 50px -34px rgba(28,40,30,.5);
  overflow: hidden;
}
.flow .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flow .node {
  border: 1px solid var(--line); padding: 18px 18px 16px; background: var(--cream-soft);
  border-radius: 6px;
}
.flow .node .badge {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass);
  font-weight: 700;
}
.flow .node .n-ttl { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--blue-800); margin-top: 8px; }
.flow .node .n-sub { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.flow .bridge {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  margin: 18px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
}
.flow .bridge .ln { height: 1px; flex: 1; background: var(--line); }
.flow .node.dueon { background: var(--blue-800); border-color: var(--blue-800); text-align: left; }
.flow .node.dueon .badge { color: var(--brass-soft); }
.flow .node.dueon .n-ttl { color: var(--cream); }
.flow .node.dueon .n-sub { color: var(--brass-soft); }
.flow .node.dueon .du-d {
  float: right; width: 34px; height: 34px; border: 1px solid var(--brass-soft); color: var(--brass-soft);
  border-radius: 50%; display: grid; place-items: center; font-family: var(--serif-display); font-size: 17px;
}

/* ---------- Features — editorial index ---------- */
.feat-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.feat {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 36px 38px 40px;
  background: var(--cream-soft);
  transition: background .25s ease;
}
.feat:hover { background: var(--paper); }
.feat .fi {
  font-family: var(--serif-display); font-size: 22px; color: var(--brass);
  display: block; margin-bottom: 18px;
  border-bottom: 1px solid var(--line); padding-bottom: 16px;
}
.feat h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--blue-800); }
.feat p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; margin-top: 12px; }

/* ---------- Ethos — the standard, set in type ---------- */
.ethos {
  position: relative;
  background: var(--blue-900);
  color: var(--cream);
  padding: 112px 0;
  overflow: hidden;
}
.ethos::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: radial-gradient(110% 90% at 50% 0%, color-mix(in srgb, var(--blue-700) 55%, transparent), transparent 62%);
}
.ethos-frame {
  position: absolute; inset: 24px 24px; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--brass-soft) 24%, transparent);
}
.ethos-inner { position: relative; max-width: 940px; text-align: center; }
.ethos-crest {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid color-mix(in srgb, var(--brass-soft) 70%, transparent);
  color: var(--brass-soft); font-family: var(--serif-display); font-size: 23px;
  margin-bottom: 32px;
}
.ethos-line {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(25px, 3.4vw, 41px); line-height: 1.42;
  color: #fff7df; text-wrap: balance;
  margin: 0 auto; max-width: 28ch;
  text-shadow: 0 1px 0 rgba(0,0,0,.32);
}
.ethos-attrib {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 34px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass-soft);
}
.ethos-attrib::before,
.ethos-attrib::after {
  content: ""; width: 26px; height: 1px; background: var(--brass-soft); opacity: .55;
}

/* ---------- Member experience — the statement artifact ---------- */
.member { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.member-copy { max-width: 40ch; }
.member-note {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--brass);
  margin-top: 22px;
  max-width: 38ch;
  line-height: 1.5;
}
.member .copy .tlink {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 24px;
  font-weight: 600; font-size: 15px; color: var(--blue-700);
  border-bottom: 1px solid var(--brass); padding-bottom: 3px;
}
.member .copy .tlink .ar { font-family: var(--serif); }
.member .copy .tlink:hover { color: var(--blue-900); }

/* statement card */
.stmt {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: 0 1px 0 #fff inset, 0 30px 56px -30px rgba(28,40,30,.5), 0 8px 18px -12px rgba(28,40,30,.3);
  padding: 32px 34px 28px; position: relative; overflow: hidden;
}
.stmt::after {
  content: ""; position: absolute; inset: 7px; border: 1px solid var(--line-soft); border-radius: 5px; pointer-events: none;
}
.stmt-identity { display: flex; gap: 13px; align-items: flex-start; }
.stmt-head { display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 16px; border-bottom: 2px solid var(--blue-800); }
.stmt-club { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--ink); }
.stmt-sub { font-size: 11.5px; color: var(--ink-soft); margin-top: 3px; letter-spacing: .02em; }
.stmt-crest { width: 44px; height: 44px; border: 1px dashed var(--ink-faint); border-radius: 50%;
  display: grid; place-items: center; font-family: ui-monospace, monospace; font-size: 7px;
  color: var(--ink-faint); text-align: center; letter-spacing: .04em; line-height: 1.15; }
.stmt-title { font-family: var(--serif); font-weight: 700; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-800); text-align: right; }
.stmt-period { font-size: 11.5px; color: var(--ink-soft); text-align: right; margin-top: 4px; }
.stmt-panels { display: grid; grid-template-columns: repeat(4,1fr); margin: 18px 0 4px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stmt-panel { padding: 12px 13px; border-right: 1px solid var(--line); }
.stmt-panel:last-child { border-right: 0; }
.stmt-panel .l { font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.stmt-panel .v { font-family: var(--serif); font-weight: 700; font-size: 17px; margin-top: 5px; }
.stmt-panel .v.due { color: var(--oxblood); }
.stmt-sec { font-family: var(--serif); font-weight: 700; font-size: 12px; letter-spacing: .05em;
  color: var(--blue-800); padding: 14px 0 8px; border-bottom: 1px solid var(--blue-800); margin-top: 14px; }
.stmt-row { display: grid; grid-template-columns: 1fr auto; padding: 9px 0; border-bottom: 1px solid var(--line-soft); border-radius: 4px; font-size: 13.5px; }
.stmt-row .d { color: var(--ink-soft); }
.stmt-row .a { font-variant-numeric: tabular-nums; }
.stmt-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 15px;
  padding-top: 14px; border-top: 2px solid var(--blue-800); }
.stmt-total .l { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.stmt-total .v { font-family: var(--serif-display); font-size: 32px; color: var(--oxblood); }
.stmt-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.stmt-pay { background: var(--blue-700); color: var(--cream-soft); font-family: var(--sans); font-weight: 600;
  font-size: 12.5px; padding: 10px 20px; border-radius: var(--radius-control); }
.stmt-secure { font-size: 10.5px; color: var(--ink-faint); letter-spacing: .04em; }

/* ---------- Security & trust — no badge pills ---------- */
.trust { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.trust-list { list-style: none; margin: 0; padding: 0; }
.trust-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line-green);
}
.trust-list li:first-child { border-top: 1px solid var(--line-green); }
.trust-list .rn {
  font-family: var(--serif-display); font-size: 20px; color: var(--brass-soft); line-height: 1.1;
}
.trust-list b { display: block; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--cream); margin-bottom: 6px; }
.trust-list .tx { color: var(--brass-soft); font-size: 15px; line-height: 1.6; }

/* ---------- Service ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border-left: 1px solid var(--line);
  border-radius: var(--radius-panel);
  border-top: 1px solid var(--line);
  margin-top: 56px;
  overflow: hidden;
}
.svc { padding: 34px 32px 8px; border-right: 1px solid var(--line); }
.svc:last-child { border-right: 0; }
.svc .si { font-family: var(--serif-display); font-size: 20px; color: var(--brass); }
.svc h4 { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--blue-800); margin-top: 14px; }
.svc p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-top: 10px; }

.service-image {
  background-image: url("../img/resort_administrator_2.6d23a45056d0.png");
  background-size: cover;           /* Changed from contain */
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 26px 50px -34px rgba(28,40,30,.5);
}

/* ---------- CTA — ceremonial bookend ---------- */
.cta { position: relative; background: var(--blue-800); color: var(--cream); overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--blue-700) 70%, transparent), transparent 60%);
}
.cta-inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
.cta-frame { position: absolute; inset: 28px 24px; border: 1px solid color-mix(in srgb, var(--brass-soft) 38%, transparent); pointer-events: none; }
.cta h2 { font-family: var(--serif-display); font-weight: 400; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; color: var(--cream); margin-top: 18px; }
.cta .lead { font-family: var(--serif); font-size: 20px; color: var(--brass-soft); margin: 18px 0 0; max-width: 38ch; line-height: 1.55; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; }
.cta-note { margin-top: 24px; font-size: 13px; letter-spacing: .04em; color: color-mix(in srgb, var(--brass-soft) 80%, transparent); }
.cta-copy { min-width: 0; }
.cta-copy .eyebrow { margin-top: 0; }
.cta-proof {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.cta-proof li {
  position: relative;
  padding-left: 22px;
  color: var(--brass-soft);
  font-size: 14.5px;
  line-height: 1.5;
}
.cta-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 1px;
  background: var(--brass-soft);
}
.demo-form {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--brass-soft) 42%, transparent);
  border-radius: var(--radius-panel);
  box-shadow: 0 30px 60px -38px rgba(0,0,0,.55);
  padding: 28px;
}
.form-status {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--blue-700) 7%, white);
  padding: 12px 14px;
}
.form-status-message {
  color: var(--blue-800);
  font-size: 14px;
  line-height: 1.45;
}
.form-status-message.error {
  color: var(--oxblood);
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.demo-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.demo-form label > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.demo-form .full { grid-column: 1 / -1; }
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: #fffdf8;
  color: var(--ink);
  padding: 12px 13px;
}
.demo-form textarea { resize: vertical; min-height: 112px; }
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: var(--brass);
  background: #fff;
}
.demo-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
  border-color: var(--blue-800);
}
.form-fallback {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}
.form-fallback a {
  color: var(--blue-800);
  font-weight: 700;
  border-bottom: 1px solid var(--brass);
}
.cta-copy .wax-seal { margin-left: 0; }
.honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--blue-900);
  color: var(--brass-soft);
  padding: 70px 0 36px;
  overflow: hidden;
}
/* ghost wordmark — pressed into the page's final leaf */
.site-footer::before {
  content: "dueon";
  position: absolute; left: 50%; bottom: -0.2em; transform: translateX(-50%);
  font-family: var(--serif-display); font-size: clamp(150px, 22vw, 320px); line-height: 1;
  color: color-mix(in srgb, var(--cream) 4%, transparent);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.site-footer .wrap { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .wordmark .nm { color: var(--cream); }
.footer-brand .mark { color: var(--brass-soft); }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: 14.5px; line-height: 1.62; color: var(--brass-soft); }
.footer-brand .powered { margin-top: 18px; font-size: 12px; letter-spacing: .08em; color: color-mix(in srgb, var(--brass-soft) 70%, transparent); }
.foot-col h4 { font-family: var(--serif); font-weight: 700; font-size: 14px; letter-spacing: .04em; color: var(--cream); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a { font-size: 14.5px; color: var(--brass-soft); }
.foot-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between; margin-top: 54px; padding-top: 24px;
  border-top: 1px solid var(--line-green); font-size: 12.5px; color: color-mix(in srgb, var(--brass-soft) 70%, transparent);
}
.footer-bottom a:hover { color: var(--cream); }

/* ============================================================
   ENTRANCE / REVEAL
   ============================================================ */
/* Entrance: fade + settle, gated behind .js with print/reduced-motion resets
   so content is never lost to a paused transition. */
.reveal { transition: transform .85s cubic-bezier(.2,.7,.2,1), opacity .85s ease; }
.js .reveal:not(.in) { transform: translateY(16px); opacity: 0; }
.stagger.in > * { transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s ease; }
.js .stagger:not(.in) > * { transform: translateY(12px); opacity: 0; }
.stagger.in > *:nth-child(2) { transition-delay: .08s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .24s; }

/* hero entrance — gentle settle only; never hidden */
.hero .anim { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.html-noop {}
.hero .anim.d2 { transition-delay: .1s; }
.hero .anim.d3 { transition-delay: .22s; }
.hero .anim.d4 { transition-delay: .34s; }
.hero .anim.d5 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .anim, .stagger > * { transform: none !important; transition: none !important; opacity: 1 !important; }
  .hero-landscape-canvas { opacity: .68; }
  * { scroll-behavior: auto; }
}
@media print {
  .reveal, .stagger > *, .hero .anim { transform: none !important; opacity: 1 !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  :root { --gutter: 28px; }
  .hero { --hero-frame-bottom: 150px; }
  .hero-topo-map { background-image: url("../img/topo-hero-map-sm.fcf947180e34.webp"); }
  .nav { height: 70px; gap: 14px; }
  .nav .wordmark { min-width: 0; }
  .nav-menu-toggle { display: inline-flex; margin-left: auto; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--gutter);
    right: var(--gutter);
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: color-mix(in srgb, var(--paper) 96%, white);
    box-shadow: 0 24px 44px -28px rgba(28,40,30,.55);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    z-index: 5;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .site-header.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
  .nav-links a {
    border-radius: var(--radius-control);
    color: var(--blue-800);
    font-size: 15.5px;
    padding: 13px 14px;
    white-space: normal;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover,
  .nav-links a.active {
    background: color-mix(in srgb, var(--blue-700) 7%, transparent);
    color: var(--blue-900);
  }
  .nav-links .nav-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 8px;
    border: 1px solid var(--blue-700);
    background: var(--blue-700);
    color: var(--cream-soft);
    font-weight: 700;
  }
  .nav-links .nav-mobile-cta:hover,
  .nav-links .nav-mobile-cta.active {
    background: var(--blue-800);
    color: var(--cream-soft);
  }
  .no-js .nav {
    align-items: flex-start;
    flex-wrap: wrap;
    height: auto;
    min-height: 70px;
    padding-bottom: 13px;
    padding-top: 13px;
  }
  .no-js .nav-menu-toggle { display: none; }
  .no-js .nav-links {
    position: static;
    flex-basis: 100%;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }
  .hero .lead { max-width: min(34ch, 100%); }
  .hero-foot-note { max-width: 100%; overflow-wrap: break-word; }
  .proof { grid-template-columns: 1fr; gap: 28px; }
  .proof-copy h2 { max-width: 20ch; }
  .intg, .member, .trust { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner {
    grid-template-columns: 1fr;
    max-width: 760px;
    gap: 40px;
    text-align: center;
  }
  .cta-copy .wax-seal { margin-left: auto; margin-right: auto; }
  .cta-copy .eyebrow { justify-content: center; }
  .cta .lead,
  .cta-proof { margin-left: auto; margin-right: auto; }
  .cta-proof { max-width: 36ch; text-align: left; }
  .feat-grid, .svc-grid { grid-template-columns: 1fr; }
  .svc { border-right: 0; border-bottom: 1px solid var(--line); }
  .proc-step { grid-template-columns: 56px minmax(0, 1fr); padding: 40px 0; margin: 0; }
  .proc-step:hover { background: transparent; }
  .proc-step .lede,
  .proc-step .body { min-width: 0; overflow-wrap: break-word; }
  .proc-step .body { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-strip .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .hero-strip .item { padding: 10px 20px; }
  .hero-strip .item + .item::before { display: none; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .nav { height: 66px; gap: 10px; }
  .nav .wordmark .nm { font-size: 21px; }
  .hero { --hero-frame-bottom: 300px; }
  .hero-frame.outer { inset: 22px 10px var(--hero-frame-bottom); }
  .hero-frame.inner { display: none; }
  .hero-landscape-canvas { opacity: .78; }
  .hero-inner { padding: 48px var(--gutter) 0; }
  .hero-crest {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    font-size: 29px;
  }
  .hero .eyebrow {
    justify-content: center;
    text-align: center;
    gap: 9px;
    font-size: 11px;
    letter-spacing: .18em;
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
  }
  .eyebrow::before,
  .eyebrow.center::after { width: 20px; }
  .hero h1 {
    font-size: clamp(38px, 10.8vw, 46px);
    letter-spacing: 0;
    max-width: 100%;
    margin-top: 16px;
  }
  .hero h1 .mobile-break { display: block; }
  .hero .lead {
    font-size: 17px;
    line-height: 1.48;
    margin-top: 18px;
    width: min(100%, 24ch);
    max-width: 24ch;
    overflow-wrap: break-word;
    text-wrap: balance;
  }
  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
  .nav-cta .btn { width: auto; white-space: nowrap; }
  .hero-actions,
  .cta-actions { flex-direction: column; width: 100%; }
  .hero-actions {
    gap: 12px;
    margin-top: 28px;
  }
  .hero .btn-lg {
    min-height: 54px;
    padding: 13px 18px;
  }
  .hero-foot-note {
    font-size: 12px;
    margin-top: 32px;
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-strip { margin-top: 32px; }
  .hero-strip .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 18px var(--gutter);
  }
  .hero-strip .item {
    min-height: 78px;
    padding: 10px 12px;
  }
  .hero-strip .v {
    font-size: 22px;
  }
  .hero-strip .k {
    font-size: 10px;
    line-height: 1.35;
  }
  .partners .wrap { gap: 20px; }
  .partners .names {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }
  .proof { padding: 40px var(--gutter); }
  .proof-artifact { grid-template-columns: minmax(0, 1fr); }
  .proof-statement,
  .proof-link { min-width: 0; }
  .proof-statement { padding: 20px 16px; }
  .proof-mini-head,
  .proof-mini-row,
  .proof-mini-total,
  .proof-link-action { gap: 12px; }
  .proof-mini-head,
  .proof-mini-row,
  .proof-mini-total { min-width: 0; }
  .proof-mini-head,
  .proof-mini-total {
    flex-direction: column;
    align-items: flex-start;
  }
  .proof-mini-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .proof-mini-row span:first-child,
  .proof-mini-total span:first-child { overflow-wrap: anywhere; }
  .proof-mini-row span:last-child { font-weight: 700; }
  .proof-mini-total span:last-child { font-size: 26px; }
  .proof-mini-period { white-space: normal; text-align: left; }
  .proof-link-action {
    flex-direction: column;
    align-items: stretch;
  }
  .proof-link-action span:last-child { text-align: center; }
  .cta-inner {
    padding: 72px var(--gutter);
    gap: 32px;
  }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-form {
    padding: 22px 16px;
    text-align: left;
  }
  .section { padding: 72px 0; }
  .ethos { padding: 80px 0; }
  .ethos-frame { inset: 14px 10px; }
  .ethos-line { max-width: 100%; }
  .site-footer::before { font-size: clamp(110px, 30vw, 180px); }
  .proc { margin-top: 44px; }
  .proc-step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 34px 0;
  }
  .proc-step > * { min-width: 0; }
  .proc-step .num { font-size: 32px; }
  .proc-step .body { grid-column: auto; max-width: 31ch; }

/* Stack on mobile */
@media (max-width: 768px) {
  .head-img-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
  .flow { padding: 20px; }
  .flow .pair { grid-template-columns: 1fr; }
  .flow .bridge {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .flow .bridge .ln { width: 100%; flex: none; }
  .stmt { padding: 24px 20px; min-width: 0; }
  .stmt-head { flex-direction: column; gap: 18px; }
  .stmt-title,
  .stmt-period { text-align: left; }
  .stmt-total .v { font-size: 28px; }
  .stmt-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .stmt-pay { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .stmt-panels { grid-template-columns: 1fr 1fr; }
  .stmt-panel:nth-child(2) { border-right: 0; }
  .stmt-panel:nth-child(1), .stmt-panel:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   EFFECTS - animation and motion layer (formerly effects.css,
   merged to remove a render-blocking request)
   ============================================================ */

/* ---------- 1 · Brass reading-progress hairline ---------- */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  transform: scaleX(var(--read, 0)); transform-origin: 0 50%;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--brass) 30%, transparent),
    var(--brass-bright) 55%, var(--brass-soft));
  pointer-events: none; will-change: transform;
}

/* ---------- 2 · Paper grain — print stock over the whole page ---------- */
.grain {
  position: fixed; inset: 0; z-index: 2000;
  pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
@media print { .grain { display: none; } }

/* ---------- 2b · Hero entrance — the letterhead, unveiled ---------- */
/* Start states live behind .js; the class .hero-enter is added by script
   immediately after first paint, with a timer fallback, so content is never
   stranded hidden. */
.js .hero .anim {
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s ease, transform 1.05s cubic-bezier(.19,.74,.22,1);
}
.js .hero .anim.d2 { transition-delay: .1s; }
.js .hero .anim.d3 { transition-delay: .22s; }
.js .hero .anim.d4 { transition-delay: .34s; }
.js .hero .anim.d5 { transition-delay: .48s; }
.js .hero h1.anim { transform: none; }
.js .hero.hero-enter .anim { opacity: 1; transform: none; }
.js .hero h1 .hl-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .hero h1 .hl-inner {
  transform: translateY(112%);
  transition: transform 1.2s cubic-bezier(.19,.74,.22,1) .25s;
}
.js .hero h1 .hl-line:nth-child(2) .hl-inner { transition-delay: .4s; }
.js .hero.hero-enter h1 .hl-inner { transform: none; }

/* The inline head script swaps no-js for js before first paint (so the
   no-js nav layout never renders), but the start-states above and the
   .reveal/.stagger ones assume site.js will arrive to run the entrances.
   If it never executes (blocked, failed download), this failsafe reveals
   everything; site.js adds .js-ready on execution, which disarms it. */
@keyframes anim-failsafe { to { opacity: 1; transform: none; } }
.js:not(.js-ready) .hero .anim,
.js:not(.js-ready) .hero h1 .hl-inner,
.js:not(.js-ready) .reveal,
.js:not(.js-ready) .stagger > * {
  animation: anim-failsafe .8s ease 2.5s forwards;
}

/* hero parallax — script drives --hero-drift on scroll */
.hero-landscape { transform: translateY(var(--hero-drift, 0px)); will-change: transform; }

.hero-inner, .hero-strip, .cta-inner { position: relative; }
.hero-inner, .hero-strip { z-index: 2; }
.cta-inner { z-index: 1; }

/* ---------- 3 · Letterpress depth on display type ---------- */
/* On dark green: ink debossed into the field. */
.hero h1, .cta h2 {
  text-shadow: 0 1px 0 rgba(0,0,0,.34), 0 -1px 0 rgba(255,255,255,.05);
}
.hero h1 { text-wrap: balance; }
/* On cream: a faint raised highlight, like foil-pressed stock. */
.shead h2, .section h2, .stmt-total .v {
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
/* keep the green-section headings (on dark) using the debossed treatment */
.section.green h2 { text-shadow: 0 1px 0 rgba(0,0,0,.3), 0 -1px 0 rgba(255,255,255,.05); }

/* ---------- 4 · Gold-foil sheen on the hero crest monogram ---------- */
.hero-crest {
  position: relative;
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  margin: 0 auto;                    /* centers the box horizontally */

  /* Mask to logo shape */
  -webkit-mask-image: url("../img/dueon_logo_brass-transparent.0d48dc442c43.png");
  mask-image: url("../img/dueon_logo_brass-transparent.0d48dc442c43.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;     /* centers mask within 66×66 box */
  mask-position: center;

  /* Brass shine */
  background-image: linear-gradient(118deg,
    var(--brass) 0%, var(--brass-soft) 22%, #fff7df 34%,
    var(--brass-bright) 46%, var(--brass-soft) 60%, var(--brass) 82%);
  background-size: 280% 100%;
  background-position: 0% 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-crest { animation: foil-sweep 50s ease-in-out infinite; }
}

@keyframes foil-sweep {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-crest { animation: foil-sweep 50s ease-in-out infinite; }
}
@keyframes foil-sweep {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

/* ---------- 5a · Self-ruling brass line under section eyebrows ---------- */
.reveal .eyebrow::before,
.reveal .eyebrow.center::after { width: 0; transition: width .9s cubic-bezier(.2,.7,.2,1) .15s; }
.reveal.in .eyebrow::before,
.reveal.in .eyebrow.center::after { width: 26px; }

/* ---------- 5a-ii · Gold-foil numerals on the procedure & service indices ---------- */
.proc-step .num,
.svc .si,
.feat .fi {
  background-image: linear-gradient(120deg,
    var(--brass) 0%, var(--brass-bright) 38%, var(--brass-soft) 52%, var(--brass) 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: background-position 1.2s ease;
}
.proc-step:hover .num,
.svc:hover .si,
.feat:hover .fi { background-position: 0% 0; }

/* ---------- 5c · Ethos — words rising from the page ---------- */
.js .ethos .w {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding-bottom: .14em; margin-bottom: -.14em;
}
.js .ethos .wi {
  display: inline-block;
  transform: translateY(118%);
  transition: transform .9s cubic-bezier(.19,.74,.22,1);
}
.js .ethos .ethos-inner.in .wi { transform: none; }

/* ---------- 5d · Brass sheen sweep on solid buttons ---------- */
.btn-solid, .btn-brass, .btn-cream { position: relative; overflow: hidden; }
.btn-solid::before, .btn-brass::before, .btn-cream::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,247,223,.22), transparent);
  transition: transform .7s ease;
}
.btn-cream::before {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brass-soft) 30%, transparent), transparent);
}
.btn-solid:hover::before, .btn-brass:hover::before, .btn-cream:hover::before {
  transform: translateX(130%) skewX(-18deg);
}

/* ---------- 5b · Editorial drop cap ---------- */
.dropcap::first-letter {
  font-family: var(--serif-display); font-weight: 400;
  font-size: 3.1em; line-height: .82; float: left;
  padding: 6px 12px 0 0; color: var(--blue-700);
}

/* ---------- 6a · Statement: 3-D tilt + gloss + row highlight ---------- */
.stmt {
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  transform-style: preserve-3d; will-change: transform;
}
.stmt::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(112deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%);
  background-size: 260% 100%;
  background-position: 130% 0;
  transition: background-position 1.2s ease;
}
.stmt:hover::before { background-position: -130% 0; }
.stmt-row { transition: background .2s ease, padding-left .2s ease; border-radius: 1px; }
.stmt-row:hover {
  background: color-mix(in srgb, var(--brass-soft) 16%, transparent);
  padding-left: 8px;
}
.stmt-pay { transition: transform .2s ease, background .2s ease; }
.stmt:hover .stmt-pay { background: var(--blue-800); }

/* ---------- 6b · Wax seal on the closing CTA ---------- */
.wax-seal {
  --wax: #7a241c;
  position: relative; width: 92px; height: 92px; margin: 0 auto 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--wax) 78%, #c0584a) 0%, var(--wax) 42%, #5f1a14 100%);
  box-shadow:
    0 10px 22px -8px rgba(0,0,0,.5),
    inset 0 2px 4px rgba(255,255,255,.18),
    inset 0 -5px 10px rgba(0,0,0,.4);
  display: grid; place-items: center;
}
.wax-seal::before {
  content: ""; position: absolute; inset: 9px; border-radius: 50%;
  border: 1px solid rgba(255,235,210,.22);
}
.wax-seal .wd {
  font-family: var(--serif-display); font-size: 38px; line-height: 1;
  color: color-mix(in srgb, var(--wax) 60%, #3a0f0a);
  text-shadow: 0 1px 0 rgba(255,225,200,.28), 0 -1px 1px rgba(0,0,0,.45);
}
.wax-seal { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.cta-copy:hover .wax-seal { transform: rotate(-5deg) scale(1.04); }

/* ---------- Refined link underline on text links ---------- */
.member .copy .tlink { background-image: linear-gradient(var(--brass), var(--brass));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  border-bottom-color: color-mix(in srgb, var(--brass) 40%, transparent);
  transition: background-size .35s ease, color .2s ease; }
.member .copy .tlink:hover { background-size: 100% 1px; }

/* ---------- Quiet everything that loops, on request ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-crest { animation: none; }
  .wax-seal { animation: none; transition: none; }
  .cta-copy:hover .wax-seal { transform: none; }
  .stmt { transform: none !important; }
  .stmt::before, .btn-solid::before, .btn-brass::before, .btn-cream::before { display: none; }
  .read-progress { display: none; }
  .js .hero .anim, .js .hero h1 .hl-inner, .js .ethos .wi {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .hero-landscape { transform: none !important; }
  .proc-step .num, .svc .si, .feat .fi { transition: none; }
}
@media print {
  .js .hero .anim, .js .hero h1 .hl-inner, .js .ethos .wi {
    opacity: 1 !important; transform: none !important;
  }
}



/* ------------------------------------------------------------ */

/* ============================================================
   HERO + PROOF MERGE
   ============================================================ */

/* Widen the inner container to accommodate both columns */
.hero--split .hero-inner {
  max-width: var(--maxw);          /* 1140px */
  padding: 84px var(--gutter) 48px; /* extra bottom breathing room */
}

/* Two-column grid: text left, artifacts right */
.hero--split .hero-pair {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}

/* ---------- Left column: hero text ---------- */
.hero--split .hero-main  {
  justify-content: flex-start;
}


.hero--split .hero-main h1,
.hero--split .hero-main .lead,
.hero--split .hero-main .hero-foot-note {
  margin-left: 0;
  margin-right: 0;
}

.hero--split .hero-main .hero-actions {
  justify-content: flex-start;
}

/* ---------- Right column: proof artifacts ---------- */
.hero--split .hero-proof {
  min-width: 0; /* allow grid shrinking */
}

/* Tighten the gap between the two cards */
.hero--split .hero-proof .proof-artifact {
  gap: 14px;
}

/* Statement card is already paper-white; just deepen the shadow on dark green */
.hero--split .hero-proof .proof-statement {
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.55);
}

/* Link card: darken so it doesn't blend into the hero background */
.hero--split .hero-proof .proof-link {
  background: var(--blue-900);
  border: 1px solid var(--line-green);
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.55);
}

/* Optional heading above the cards (remove if redundant with the hero eyebrow) */
.hero--split .hero-proof .proof-copy {
  margin-bottom: 18px;
}
.hero--split .hero-proof .proof-copy h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  color: var(--cream);
  margin-top: 10px;
  max-width: 18ch;
}
.hero--split .hero-proof .proof-copy .eyebrow {
  color: var(--brass-soft);
}
.hero--split .hero-proof .proof-copy .eyebrow::before {
  background: var(--brass-soft);
  opacity: .55;
}
.striped-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    135deg,
    white 0px,
    white 2px,
    transparent 2px,
    transparent 20px
  );
  -webkit-mask-image: -webkit-linear-gradient(
    135deg,
    transparent 0%,
    transparent 15%,
    black 40%,
    black 100%
  );
  mask-image: linear-gradient(
    135deg,
    transparent 0%,
    transparent 15%,
    black 40%,
    black 100%
  );
  opacity: 0.05;
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet and below: stack vertically */
@media (max-width: 1024px) {
  .hero--split .hero-pair {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  /* Re-center the left column text */
  .hero--split .hero-main .eyebrow.on-green {
    justify-content: center;
  }
  .hero--split .hero-main .eyebrow.on-green::after {
    display: block; /* restore the right hairline */
  }

  .hero--split .hero-main h1,
  .hero--split .hero-main .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero--split .hero-main .hero-actions {
    justify-content: center;
  }

  /* Cap proof width so cards don't stretch unreadably wide */
  .hero--split .hero-proof {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .hero--split .hero-proof .proof-copy {
    text-align: center;
  }
  .hero--split .hero-proof .proof-copy h2 {
    margin-left: auto;
    margin-right: auto;
  }
  .hero--split .hero-proof .proof-copy .eyebrow {
    justify-content: center;
  }
  .hero--split .hero-proof .proof-copy {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--brass-soft);
    opacity: .55;
  }
}

/* Small mobile: tighten spacing */
@media (max-width: 560px) {
  .hero--split .hero-pair {
    gap: 40px;
  }

  .hero--split .hero-proof .proof-artifact {
    grid-template-columns: 1fr; /* stack statement above link */
  }

  .hero--split .hero-proof .proof-statement,
  .hero--split .hero-proof .proof-link {
    padding: 20px 18px;
  }
}