/* =========================================================
   RUTH PHEASANT PIANO LESSONS — SHARED DESIGN SYSTEM
   ========================================================= */

/* ----- VARIABLES ----- */
:root {
  --black:       #1A1A1A;
  --black-soft:  #242424;
  --ivory:       #F8F5F0;
  --ivory-dark:  #EDE8E0;
  --ivory-mid:   #F2EDE5;
  --gold:        #C9A028;
  --gold-light:  #E8C84A;
  --gold-dark:   #A07E18;
  --gold-faint:  rgba(201,160,40,0.08);
  --burgundy:    #6C2522;
  --burg-light:  #8B3330;
  --white:       #FFFFFF;
  --muted:       #6B6560;
  --body:        #3A3530;
  --border:      rgba(201,160,40,0.18);
  --border-light:rgba(26,26,26,0.1);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-ui:      'DM Sans', system-ui, sans-serif;

  --max-w:        1240px;
  --sp:           clamp(64px, 10vw, 120px);
  --sp-sm:        clamp(40px, 6vw, 72px);

  --shadow:       0 4px 30px rgba(26,26,26,0.1);
  --shadow-lg:    0 20px 60px rgba(26,26,26,0.16);
  --radius:       2px;

  --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--body);
  overflow-x: hidden;
  cursor: none;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; }

/* ----- CUSTOM CURSOR ----- */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; }
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  transform: translate(-50%,-50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  transform: translate(-50%,-50%);
  opacity: 0.55;
  transition: width .25s var(--ease-spring), height .25s var(--ease-spring), opacity .2s;
}
.cursor-ring.big { width: 56px; height: 56px; opacity: 0.8; }

/* ----- PROGRESS BAR ----- */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1001; width: 0%; transition: width .1s linear;
}

/* ----- NAVIGATION ----- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px; padding: 0 clamp(24px,5vw,60px);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, box-shadow .4s;
}
nav.scrolled {
  background: rgba(248,245,240,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(26,26,26,0.06);
}
nav.dark-nav { background: rgba(26,26,26,0.95); backdrop-filter: blur(12px); }
nav.dark-nav.scrolled { background: rgba(26,26,26,0.98); box-shadow: 0 1px 0 rgba(201,160,40,0.15); }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500;
  color: var(--black); text-decoration: none;
  letter-spacing: .01em; display: flex; align-items: center; gap: 8px;
  transition: color .25s;
}
nav.dark-nav .nav-logo { color: var(--ivory); }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: clamp(18px,2.5vw,36px); list-style: none; }
.nav-links a {
  font-family: var(--font-ui); font-size: .79rem; font-weight: 400;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--body); text-decoration: none; position: relative; transition: color .25s;
}
nav.dark-nav .nav-links a { color: rgba(248,245,240,0.7); }
.nav-links a::after {
  content:''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }
nav.dark-nav .nav-links a:hover,
nav.dark-nav .nav-links a.active { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  font-family: var(--font-ui); font-size: .79rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 10px 22px; background: var(--black); color: var(--ivory);
  text-decoration: none; transition: background .25s; display: inline-block;
}
nav.dark-nav .nav-cta { background: var(--gold); color: var(--black); }
nav.dark-nav .nav-cta:hover { background: var(--gold-light); }
.nav-cta:hover { background: var(--gold-dark); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--black); transition: .3s; }
nav.dark-nav .nav-burger span { background: var(--ivory); }

/* ----- MOBILE MENU ----- */
.mob-menu {
  position: fixed; inset: 0; background: var(--black); z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mob-menu.open { opacity: 1; pointer-events: all; }
.mob-menu a {
  font-family: var(--font-display); font-size: clamp(1.8rem,5vw,2.8rem);
  font-weight: 300; color: var(--ivory); text-decoration: none;
  letter-spacing: -.01em; transition: color .2s;
}
.mob-menu a:hover { color: var(--gold); }
.mob-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; background: none;
  border: 1px solid rgba(248,245,240,.2);
  color: var(--ivory); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}

/* ----- SCROLL TO TOP ----- */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 42px; height: 42px; background: var(--gold); color: var(--black);
  border: none; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s; z-index: 90;
}
#scroll-top.vis { opacity: 1; transform: none; }

/* ----- CONTAINER ----- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(24px,5vw,60px); }

/* ----- TYPOGRAPHY UTILITIES ----- */
.eyebrow {
  font-family: var(--font-ui); font-size: .69rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content:''; display:block; width:24px; height:1px; background:var(--gold); flex-shrink:0; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display:none; }

h1.display {
  font-family: var(--font-display);
  font-size: clamp(3rem,5.5vw,5.5rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -.01em;
}
h2.section-h {
  font-family: var(--font-display);
  font-size: clamp(2rem,3.8vw,3.4rem);
  font-weight: 400; line-height: 1.1;
  letter-spacing: -.01em; margin-bottom: 18px;
}
h3.card-h {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 400; line-height: 1.2;
}
.section-body {
  font-family: var(--font-body); font-size: 1.02rem;
  line-height: 1.82; color: var(--muted); max-width: 560px;
}
em.gold { font-style: italic; color: var(--gold); }
em.burg { font-style: italic; color: var(--burgundy); }
.ivory { color: var(--ivory) !important; }
.light-muted { color: rgba(248,245,240,.55) !important; }

/* ----- BUTTONS ----- */
.btn {
  font-family: var(--font-ui); font-size: .8rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  border: none; cursor: pointer; transition: all .25s;
}
.btn-gold { padding: 15px 34px; background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-black { padding: 15px 34px; background: var(--black); color: var(--ivory); }
.btn-black:hover { background: var(--gold-dark); }
.btn-outline-ivory {
  padding: 14px 34px; background: transparent;
  border: 1px solid rgba(248,245,240,.28); color: var(--ivory);
}
.btn-outline-ivory:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-black {
  padding: 14px 34px; background: transparent;
  border: 1px solid rgba(26,26,26,.25); color: var(--black);
}
.btn-outline-black:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn svg { width:15px; height:15px; flex-shrink:0; }

/* ----- SECTIONS ----- */
.section { padding: var(--sp) 0; }
.section-sm { padding: var(--sp-sm) 0; }
.bg-black { background: var(--black); }
.bg-ivory { background: var(--ivory); }
.bg-ivory-dark { background: var(--ivory-dark); }
.bg-ivory-mid { background: var(--ivory-mid); }

/* ----- GRID HELPERS ----- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; }

/* ----- PIANO KEY DIVIDER ----- */
.piano-divider { width:100%; height:44px; display:flex; overflow:hidden; }
.piano-divider.from-black { background:var(--black); }
.piano-divider.from-ivory { background:var(--ivory); }
.piano-key-row { display:flex; width:100%; position:relative; }
.pw { flex:1; background:var(--ivory-dark); border-left:1px solid rgba(26,26,26,.1); border-radius:0 0 3px 3px; }
.pw:first-child { border-left:none; }

/* ----- STAFF LINE DIVIDER ----- */
.staff-line {
  width:100%; overflow:hidden;
  display:flex; align-items:center; gap:0;
  padding: 16px 0;
}
.staff-line::before, .staff-line::after {
  content:''; flex:1; height:1px; background:var(--border);
}
.staff-label {
  font-family: var(--font-ui); font-size:.65rem; letter-spacing:.2em;
  text-transform:uppercase; color:var(--gold); padding:0 20px;
}

/* ----- TRUST BAR ----- */
.trust-bar {
  background: var(--black); border-top:1px solid rgba(201,160,40,.12);
}
.trust-bar-inner {
  display:flex; flex-wrap:wrap; justify-content:center;
  overflow-x:auto; padding: 0 clamp(24px,5vw,60px);
}
.trust-item {
  display:flex; flex-direction:column; align-items:center; gap:5px;
  padding: 24px 28px; border-right:1px solid rgba(201,160,40,.12);
  min-width:150px; flex-shrink:0;
}
.trust-item:last-child { border-right:none; }
.trust-val {
  font-family:var(--font-display); font-size:2rem; font-weight:500;
  color:var(--gold); line-height:1;
}
.trust-lbl {
  font-family:var(--font-ui); font-size:.67rem; letter-spacing:.1em;
  text-transform:uppercase; color:rgba(248,245,240,.45); text-align:center;
}

/* ----- CREDENTIAL CARD (dark) ----- */
.cred-card {
  background:var(--black); padding:36px; position:relative; overflow:hidden;
  border:1px solid rgba(201,160,40,.1);
}
.cred-card::before {
  content: attr(data-label);
  position:absolute; right:-8px; top:-18px;
  font-family:var(--font-display); font-size:8rem; font-weight:700;
  color:rgba(201,160,40,.05); line-height:1;
  pointer-events:none; user-select:none;
}
.cred-tag { font-family:var(--font-ui); font-size:.63rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); margin-bottom:12px; }
.cred-title { font-family:var(--font-display); font-size:1.8rem; font-weight:500; color:var(--ivory); line-height:1.2; margin-bottom:12px; }
.cred-body { font-family:var(--font-body); font-size:.88rem; line-height:1.65; color:rgba(248,245,240,.5); font-weight:300; }
.cred-bar { width:100%; height:1.5px; background:linear-gradient(90deg,var(--gold),transparent); margin-top:20px; }

/* ----- CREDENTIAL LIST ----- */
.cred-list { list-style:none; display:flex; flex-direction:column; }
.cred-list li {
  display:flex; align-items:flex-start; gap:12px;
  padding:14px 0; border-bottom:1px solid var(--border);
  font-family:var(--font-body); font-size:.93rem; line-height:1.55; color:var(--body);
}
.cred-list li:first-child { border-top:1px solid var(--border); }
.cred-list li::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--gold); margin-top:6px; flex-shrink:0;
}
.cred-list strong { color:var(--black); font-weight:500; }

/* ----- FORMAT CARDS (dark) ----- */
.format-card {
  background:rgba(248,245,240,.04); border:1px solid rgba(201,160,40,.1);
  padding:44px 32px; position:relative; overflow:hidden; transition:.3s;
}
.format-card::before {
  content:attr(data-n); position:absolute; top:-14px; right:16px;
  font-family:var(--font-display); font-size:7rem; font-weight:700;
  color:rgba(201,160,40,.05); line-height:1; pointer-events:none; user-select:none;
  transition: color .3s;
}
.format-card:hover { background:rgba(201,160,40,.07); border-color:rgba(201,160,40,.28); }
.format-card:hover::before { color:rgba(201,160,40,.12); }
.format-icon { width:44px; height:44px; margin-bottom:24px; }
.format-icon svg { width:100%; height:100%; }
.format-tag { font-family:var(--font-ui); font-size:.62rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:10px; }
.format-title { font-family:var(--font-display); font-size:1.65rem; font-weight:400; color:var(--ivory); line-height:1.2; margin-bottom:14px; }
.format-desc { font-family:var(--font-body); font-size:.88rem; line-height:1.75; color:rgba(248,245,240,.48); font-weight:300; margin-bottom:24px; }
.format-list { list-style:none; display:flex; flex-direction:column; gap:7px; margin-bottom:20px; }
.format-list li { font-family:var(--font-ui); font-size:.76rem; color:rgba(248,245,240,.42); padding-left:16px; position:relative; }
.format-list li::before { content:'—'; position:absolute; left:0; color:var(--gold); }
.format-badge {
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-ui); font-size:.63rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold); background:rgba(201,160,40,.1); padding:4px 12px; border-radius:100px;
}

/* ----- TESTIMONIAL CARD ----- */
.t-card {
  background:rgba(248,245,240,.04); border:1px solid rgba(201,160,40,.1);
  padding:36px 32px; min-width:360px; max-width:360px; flex-shrink:0;
  transition:.3s; position:relative;
}
.t-card.active { background:rgba(201,160,40,.07); border-color:rgba(201,160,40,.28); }
.t-qmark { font-family:var(--font-display); font-size:4.5rem; color:var(--gold); line-height:.8; margin-bottom:14px; opacity:.35; }
.t-stars { display:flex; gap:3px; margin-bottom:10px; }
.t-stars span { color:var(--gold); font-size:.78rem; }
.t-text { font-family:var(--font-body); font-size:.92rem; line-height:1.82; color:rgba(248,245,240,.68); font-style:italic; font-weight:300; margin-bottom:24px; }
.t-author { border-top:1px solid rgba(201,160,40,.15); padding-top:18px; }
.t-name { font-family:var(--font-ui); font-size:.82rem; font-weight:500; color:var(--ivory); margin-bottom:3px; }
.t-meta { font-family:var(--font-ui); font-size:.68rem; color:rgba(248,245,240,.32); letter-spacing:.05em; }

/* ----- TESTIMONIALS CAROUSEL ----- */
.t-track-wrap { overflow:hidden; }
.t-track { display:flex; gap:22px; transition:transform .5s var(--ease-out); padding:0 clamp(24px,5vw,60px) 12px; }
.t-nav { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:40px; }
.t-btn {
  width:42px; height:42px; border:1px solid rgba(201,160,40,.25); background:transparent;
  color:var(--gold); font-size:1rem;
  display:flex; align-items:center; justify-content:center; transition:.2s;
}
.t-btn:hover { background:rgba(201,160,40,.1); border-color:var(--gold); }
.t-dots { display:flex; gap:8px; }
.t-dot {
  width:6px; height:6px; border-radius:50%; background:rgba(201,160,40,.22);
  cursor:pointer; transition:.25s;
}
.t-dot.on { background:var(--gold); transform:scale(1.3); }

/* ----- PRICE CARD ----- */
.price-card {
  background:rgba(248,245,240,.04); border:1px solid rgba(201,160,40,.1);
  padding:44px 32px; display:flex; flex-direction:column; transition:.3s;
}
.price-card.featured { background:rgba(201,160,40,.07); border-color:rgba(201,160,40,.3); position:relative; }
.price-card.featured::before {
  content:attr(data-badge); position:absolute; top:0; left:50%;
  transform:translate(-50%,-50%);
  font-family:var(--font-ui); font-size:.63rem; letter-spacing:.15em; text-transform:uppercase;
  color:var(--black); background:var(--gold); padding:4px 16px; white-space:nowrap;
}
.price-card:hover { background:rgba(201,160,40,.07); border-color:rgba(201,160,40,.28); }
.price-lbl { font-family:var(--font-ui); font-size:.63rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
.price-title { font-family:var(--font-display); font-size:1.45rem; font-weight:400; color:var(--ivory); margin-bottom:18px; line-height:1.2; }
.price-amount { margin-bottom:22px; }
.price-val { font-family:var(--font-display); font-size:2.8rem; font-weight:500; color:var(--ivory); line-height:1; }
.price-val sup { font-size:1.4rem; font-weight:300; }
.price-val small { font-size:1.3rem; font-weight:300; color:rgba(248,245,240,.45); }
.price-per { font-family:var(--font-ui); font-size:.69rem; color:rgba(248,245,240,.38); margin-top:4px; }
.price-hr { width:100%; height:1px; background:rgba(201,160,40,.15); margin:20px 0; }
.price-features { list-style:none; display:flex; flex-direction:column; gap:9px; flex:1; margin-bottom:28px; }
.price-features li { font-family:var(--font-ui); font-size:.76rem; color:rgba(248,245,240,.52); padding-left:18px; position:relative; line-height:1.45; }
.price-features li::before { content:'✓'; position:absolute; left:0; color:var(--gold); font-size:.7rem; }
.btn-price-outline {
  font-family:var(--font-ui); font-size:.76rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase;
  padding:13px 24px; text-align:center; text-decoration:none; display:block;
  border:1px solid rgba(201,160,40,.28); color:rgba(248,245,240,.65); transition:.25s;
}
.btn-price-outline:hover { border-color:var(--gold); color:var(--gold); }
.btn-price-filled {
  font-family:var(--font-ui); font-size:.76rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase;
  padding:13px 24px; text-align:center; text-decoration:none; display:block;
  background:var(--gold); color:var(--black); transition:.25s; border:1px solid var(--gold);
}
.btn-price-filled:hover { background:var(--gold-light); }

/* ----- FORM ----- */
.form { display:flex; flex-direction:column; gap:18px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-group { display:flex; flex-direction:column; gap:7px; }
.form-group label { font-family:var(--font-ui); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--body); font-weight:500; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family:var(--font-body); font-size:.93rem; color:var(--black);
  background:var(--white); border:1px solid rgba(26,26,26,.14);
  padding:13px 15px; outline:none; transition:border-color .25s; width:100%; appearance:none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color:var(--gold); }
.form-group textarea { resize:vertical; min-height:110px; }
.form-group select {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='%23C9A028' d='M6 7L0 0h12z'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:38px; cursor:pointer;
}

/* ----- FOOTER ----- */
footer {
  background:var(--black); padding:72px 0 36px;
  border-top:1px solid rgba(201,160,40,.1);
}
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:52px; margin-bottom:52px; padding-bottom:40px; border-bottom:1px solid rgba(201,160,40,.1); }
.footer-brand { font-family:var(--font-display); font-size:1.25rem; font-weight:400; color:var(--ivory); line-height:1.3; margin-bottom:12px; }
.footer-brand span { color:var(--gold); }
.footer-sub { font-family:var(--font-body); font-size:.84rem; line-height:1.7; color:rgba(248,245,240,.38); margin-bottom:22px; font-weight:300; }
.footer-pills { display:flex; flex-wrap:wrap; gap:7px; }
.footer-pill { font-family:var(--font-ui); font-size:.6rem; letter-spacing:.08em; text-transform:uppercase; color:rgba(201,160,40,.65); border:1px solid rgba(201,160,40,.18); padding:4px 10px; border-radius:100px; }
.footer-col-h { font-family:var(--font-ui); font-size:.63rem; letter-spacing:.2em; text-transform:uppercase; color:rgba(248,245,240,.35); margin-bottom:18px; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:9px; }
.footer-links a { font-family:var(--font-body); font-size:.86rem; color:rgba(248,245,240,.48); text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:var(--gold); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer-copy { font-family:var(--font-ui); font-size:.7rem; color:rgba(248,245,240,.22); }
.footer-legal { display:flex; gap:22px; }
.footer-legal a { font-family:var(--font-ui); font-size:.7rem; color:rgba(248,245,240,.22); text-decoration:none; transition:color .2s; }
.footer-legal a:hover { color:rgba(201,160,40,.55); }

/* ----- INNER PAGE HERO ----- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:.18; filter:grayscale(40%);
}
.page-hero-content { position:relative; z-index:2; }
.page-hero-content h1 { color:var(--ivory); margin-bottom:16px; }
.page-hero-content p { color:rgba(248,245,240,.55); max-width:560px; }
.breadcrumb {
  display:flex; align-items:center; gap:8px;
  font-family:var(--font-ui); font-size:.69rem; letter-spacing:.1em; text-transform:uppercase;
  color:rgba(248,245,240,.3); margin-bottom:24px;
}
.breadcrumb a { color:var(--gold); text-decoration:none; }
.breadcrumb span { color:rgba(248,245,240,.2); }

/* ----- REVEAL ANIMATIONS ----- */
.reveal {
  opacity:0; transform:translateY(24px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.vis { opacity:1; transform:none; }
.d1 { transition-delay:.08s; }
.d2 { transition-delay:.16s; }
.d3 { transition-delay:.24s; }
.d4 { transition-delay:.32s; }
.d5 { transition-delay:.4s; }

/* ----- MISC COMPONENTS ----- */
.tag {
  display:inline-flex; align-items:center;
  font-family:var(--font-ui); font-size:.65rem; letter-spacing:.1em; text-transform:uppercase;
  background:rgba(201,160,40,.1); color:var(--gold); padding:4px 12px; border-radius:100px;
}
.safe-bar { display:flex; flex-wrap:wrap; gap:8px; padding:22px; background:var(--ivory-dark); border-left:3px solid var(--burgundy); }
.safe-tag { font-family:var(--font-ui); font-size:.67rem; letter-spacing:.06em; text-transform:uppercase; color:var(--burgundy); background:rgba(108,37,34,.07); padding:5px 12px; border-radius:100px; }
.safe-lbl { font-family:var(--font-ui); font-size:.68rem; color:var(--muted); width:100%; }

.quote-block {
  font-family:var(--font-display); font-size:clamp(1.3rem,2vw,1.8rem);
  font-weight:300; font-style:italic; color:var(--black);
  line-height:1.55; border-left:3px solid var(--gold); padding-left:22px;
}
.ism-verify {
  display:flex; align-items:center; gap:14px;
  padding:18px 22px; border:1px solid var(--border); background:var(--white);
}
.ism-icon { width:44px; height:44px; border-radius:50%; background:var(--ivory-dark); display:flex; align-items:center; justify-content:center; overflow:hidden; flex-shrink:0; }
.ism-icon img { width:100%; height:100%; object-fit:contain; padding:3px; }
.ism-t strong { display:block; font-family:var(--font-ui); font-size:.8rem; font-weight:500; color:var(--black); }
.ism-t span { font-family:var(--font-ui); font-size:.7rem; color:var(--muted); }
.ism-link { font-family:var(--font-ui); font-size:.7rem; color:var(--gold); text-decoration:none; white-space:nowrap; margin-left:auto; }

/* ----- SPLIT GRID UTILITIES ----- */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split-2-r {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.split-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* ----- RESPONSIVE ----- */
@media (max-width:1024px) {
  .grid-2 { grid-template-columns:1fr; gap:40px; }
  .grid-3 { grid-template-columns:1fr; }
  .grid-4 { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:36px; }
  .split-2 { grid-template-columns:1fr; gap:44px; }
  .split-2-r { grid-template-columns:1fr; gap:44px; }
  .split-3 { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .nav-links, .nav-cta { display:none; }
  .nav-burger { display:flex; }
  .grid-4 { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .form-row { grid-template-columns:1fr; }
  .t-card { min-width:280px; max-width:280px; }
  .section { padding: clamp(48px,8vw,80px) 0; }
  .page-hero { padding: 120px 0 52px !important; }
  h1.display { font-size: clamp(2.4rem,7vw,4rem) !important; }
  h2.section-h { font-size: clamp(1.65rem,5vw,2.6rem) !important; }
  /* table scroll on mobile */
  .rate-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rate-table { min-width: 380px; }
  /* trust bar scroll */
  .trust-bar-inner { flex-wrap:nowrap; overflow-x:auto; justify-content:flex-start; scrollbar-width:none; }
  .trust-bar-inner::-webkit-scrollbar { display:none; }
  /* pricing cards stack */
  .price-cards-3 { grid-template-columns: 1fr !important; }
}
@media (max-width:480px) {
  .grid-4 { grid-template-columns:1fr; }
  .t-card { min-width:260px; max-width:260px; }
}

/* ----- TOUCH / POINTER: hide custom cursor on touch screens ----- */
@media (pointer: coarse) {
  body { cursor: auto !important; }
  .cursor { display: none !important; }
}
