/* ─── RESET ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── TOKENS ─────────────────────────── */
:root {
  --bg:         #f5f3ef;
  --bg2:        #edeae3;
  --ink:        #16181d;
  --ink2:       rgba(22,24,29,0.55);
  --ink3:       rgba(22,24,29,0.32);
  --rule:       rgba(22,24,29,0.09);
  --gold:       #9a6f3a;
  --gold2:      #b8935a;
  --goldl:      rgba(154,111,58,0.28);
  --goldp:      rgba(154,111,58,0.08);
}

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }

/* ─── CUSTOM CURSOR ──────────────────── */
#cursor {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
html.custom-cursor-enabled #cursor { display: block; }
#cursor .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--goldl);
  transition: all 0.3s cubic-bezier(.16,1,.3,1);
}
#cursor .dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease;
}
#cursor .tick { position: absolute; background: var(--gold); }
#cursor .tick.n { width: 1px; height: 5px; top: 0;    left: 50%; transform: translateX(-50%); }
#cursor .tick.s { width: 1px; height: 5px; bottom: 0; left: 50%; transform: translateX(-50%); }
#cursor .tick.w { height: 1px; width: 5px; left: 0;   top: 50%;  transform: translateY(-50%); }
#cursor .tick.e { height: 1px; width: 5px; right: 0;  top: 50%;  transform: translateY(-50%); }

body.hov #cursor .ring { width: 60px; height: 60px; margin: -10px; border-color: rgba(154,111,58,0.45); }
body.hov #cursor .dot  { width: 5px; height: 5px; }
body.clk #cursor .ring { width: 24px; height: 24px; margin: 8px; border-color: var(--gold); }

/* ─── NAV ────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 64px;
  transition: background .4s, border-color .4s, padding .4s;
  background: rgba(245,243,239,0.96);
  border-bottom: 1px solid var(--rule);
}
nav.stuck {
  padding: 14px 64px;
  background: rgba(245,243,239,0.94);
  backdrop-filter: blur(20px);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--goldl);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark::after { content: ''; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.logo-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; letter-spacing: .18em; color: var(--ink); line-height: 1; }
.logo-sub  { font-size: .52rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); line-height: 1; }
.nav-links { list-style: none; display: flex; gap: 36px; }
.nav-links a {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink2); text-decoration: none;
  position: relative; transition: color .2s;
}
.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 { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-btn {
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  color: var(--gold); border: 1px solid var(--goldl); padding: 9px 22px;
  text-decoration: none; transition: background .25s, color .25s;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-btn:hover { background: var(--gold); color: var(--bg); }

/* ─── HERO ───────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 120px 56px 80px;
  background: linear-gradient(180deg, #f7f4ee 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--rule);
  position: relative; z-index: 1;
  overflow: hidden;
}
.hero-l {
  width: min(100%, 1740px);
  min-height: 550px;
  padding: 92px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
  border: 1px solid var(--rule);
  position: relative;
}
.hero-l::before,
.hero-l::after,
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  border-color: var(--goldl);
  border-style: solid;
  pointer-events: none;
}
.hero-l::before {
  top: 18px;
  left: 18px;
  border-width: 1px 0 0 1px;
}
.hero-l::after {
  right: 18px;
  bottom: 18px;
  border-width: 0 1px 1px 0;
}
.hero::before {
  top: calc(120px + 18px);
  right: 74px;
  border-width: 1px 1px 0 0;
}
.hero::after {
  bottom: 98px;
  left: 74px;
  border-width: 0 0 1px 1px;
}
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.eyebrow-text { font-size: .64rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.hero-mark {
  position: absolute;
  top: 96px;
  right: 28%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--goldl);
}
.hero-mark::before,
.hero-mark::after {
  content: '';
  position: absolute;
  background: var(--goldl);
}
.hero-mark::before {
  left: 50%;
  top: -6px;
  width: 1px;
  height: 64px;
  transform: translateX(-50%);
}
.hero-mark::after {
  top: 50%;
  left: -6px;
  width: 64px;
  height: 1px;
  transform: translateY(-50%);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.3rem, 6vw, 5.8rem);
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 1080px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-body {
  font-size: .84rem;
  line-height: 1.95;
  color: var(--ink2);
  max-width: 700px;
  margin-bottom: 46px;
}
.btn-row { display: flex; gap: 14px; justify-content: center; }
.btn-solid {
  background: var(--gold); color: #fff; border: none;
  padding: 14px 30px; font-family: 'Outfit', sans-serif;
  font-weight: 500; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background .25s, transform .2s;
}
.btn-solid:hover { background: #7d5a2e; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--ink2);
  border: 1px solid var(--rule); padding: 14px 30px;
  font-family: 'Outfit', sans-serif; font-weight: 400;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .25s, color .25s;
}
.btn-outline:hover { border-color: var(--goldl); color: var(--ink); }

/* ─── SECTION HEADER ─────────────────── */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 80px 64px 52px; border-bottom: 1px solid var(--rule);
}
.sec-eye {
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.sec-eye::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1; color: var(--ink);
}
.sec-title em { font-style: italic; color: var(--gold); }
.sec-sub { font-size: .8rem; line-height: 1.85; color: var(--ink2); max-width: 300px; text-align: right; }

/* ─── SERVICE PANELS ─────────────────── */
.panels { display: grid; grid-template-columns: repeat(4, 1fr); height: 560px; }
.panel {
  position: relative; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.panel:last-child { border-right: none; }

.panel:nth-child(1) {
  background:
    repeating-linear-gradient(45deg, rgba(184,147,90,.06) 0, rgba(184,147,90,.06) 1px, transparent 1px, transparent 36px),
    linear-gradient(170deg, #232b46, #111625);
}
.panel:nth-child(2) {
  background:
    repeating-linear-gradient(135deg, rgba(184,147,90,.055) 0, rgba(184,147,90,.055) 1px, transparent 1px, transparent 44px),
    linear-gradient(170deg, #18233c, #0b1020);
}
.panel:nth-child(3) {
  background:
    repeating-linear-gradient(90deg, rgba(184,147,90,.055) 0, rgba(184,147,90,.055) 1px, transparent 1px, transparent 48px),
    linear-gradient(170deg, #241738, #12091f);
}
.panel:nth-child(4) {
  background:
    repeating-linear-gradient(60deg, rgba(184,147,90,.06) 0, rgba(184,147,90,.06) 1px, transparent 1px, transparent 40px),
    linear-gradient(170deg, #15241b, #09110c);
}

.panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(6,7,15,.9) 0%, rgba(6,7,15,.38) 42%, rgba(6,7,15,.04) 100%);
  z-index: 1;
  transition: background .4s;
}
.panel:hover::before,
.panel:focus-within::before {
  background: linear-gradient(to top, rgba(6,7,15,.92) 0%, rgba(6,7,15,.5) 54%, rgba(6,7,15,.08) 100%);
}

.panel-deco {
  position: absolute; top: 30px; right: 30px;
  width: 64px; height: 64px; z-index: 2;
  opacity: .22; transition: opacity .4s; pointer-events: none;
}
.panel:hover .panel-deco,
.panel:focus-within .panel-deco { opacity: .3; }

.panel-body {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px 32px;
}
.panel-tag {
  font-size: .56rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold2); font-weight: 500; margin-bottom: 11px;
  display: flex; align-items: center; gap: 7px;
}
.panel-tag::before { content: ''; width: 14px; height: 1px; background: var(--gold2); flex-shrink: 0; }
.panel-q {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 1.5rem; line-height: 1.22; color: #f4f5f8;
  margin-bottom: 0; transition: margin-bottom .35s;
}
.panel:hover .panel-q,
.panel:focus-within .panel-q { margin-bottom: 13px; }
.panel-desc {
  font-size: .72rem; line-height: 1.75; color: rgba(236,238,244,.72);
  max-height: 0; overflow: hidden; opacity: 0; margin-bottom: 0;
  transition: max-height .5s cubic-bezier(.16,1,.3,1), opacity .3s, margin-bottom .35s;
}
.panel:hover .panel-desc,
.panel:focus-within .panel-desc { max-height: 120px; opacity: 1; margin-bottom: 18px; }
.panel-link {
  font-size: .6rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(236,238,244,.58); display: flex; align-items: center; gap: 6px;
  padding-top: 14px; border-top: 1px solid rgba(236,238,244,.16);
  transition: color .3s, gap .3s;
  text-decoration: none;
}
.panel:hover .panel-link,
.panel:focus-within .panel-link { color: var(--gold2); gap: 10px; }

/* ─── PROCESS ────────────────────────── */
.process { background: var(--bg2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.process .sec-head { background: var(--bg2); }
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 60px 64px 72px; position: relative;
}
.steps::before {
  content: ''; position: absolute;
  top: 86px; left: calc(64px + 8%); right: calc(64px + 8%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--goldl) 20%, var(--goldl) 80%, transparent);
}
.step { text-align: center; padding: 0 16px; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; position: relative; z-index: 1;
  font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--gold);
  transition: border-color .3s, background .3s;
}
.step:hover .step-num { border-color: var(--goldl); background: var(--goldp); }
.step-title { font-size: .76rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.step-desc  { font-size: .68rem; color: var(--ink3); line-height: 1.7; }

/* ─── WHY US ─────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--rule);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.why-card {
  background: var(--bg); padding: 52px 48px;
  position: relative; overflow: hidden; transition: background .3s;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .5s;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { background: var(--goldp); }
.why-num {
  font-family: 'Cormorant Garamond', serif; font-size: 3.5rem;
  font-weight: 300; color: rgba(154,111,58,.1); line-height: 1; margin-bottom: 16px;
}
.why-title { font-size: .9rem; font-weight: 500; color: var(--ink); margin-bottom: 11px; }
.why-desc  { font-size: .76rem; line-height: 1.85; color: var(--ink2); }

/* ─── INDUSTRIES ─────────────────────── */
.industries { background: var(--bg2); }
.ind-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--rule);
  border-top: 1px solid var(--rule);
  margin-top: 0;
}
.ind-cell {
  background: var(--bg2); padding: 22px 28px;
  display: flex; align-items: center; gap: 10px;
  transition: background .2s;
}
.ind-cell:hover { background: var(--goldp); }
.ind-cell::before { content: ''; width: 4px; height: 4px; background: var(--goldl); border-radius: 50%; flex-shrink: 0; transition: background .2s; }
.ind-cell:hover::before { background: var(--gold); }
.ind-name { font-size: .72rem; color: var(--ink2); transition: color .2s; }
.ind-cell:hover .ind-name { color: var(--ink); }

/* ─── TESTIMONIALS ───────────────────── */
.test-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; padding: 0 64px 80px;
}
.test-card {
  border: 1px solid var(--rule); padding: 40px 36px;
  background: var(--bg); transition: border-color .3s, background .3s;
}
.test-card:hover { border-color: var(--goldl); background: var(--goldp); }
.test-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star { width: 7px; height: 7px; background: var(--gold); clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.test-quote { font-family: 'Cormorant Garamond', serif; font-size: 4rem; line-height: .8; color: var(--goldl); margin-bottom: 14px; }
.test-body  { font-family: 'Cormorant Garamond', serif; font-size: .98rem; font-style: italic; font-weight: 300; line-height: 1.75; color: var(--ink2); margin-bottom: 24px; }
.test-rule  { height: 1px; background: var(--rule); margin-bottom: 18px; }
.test-name  { font-size: .78rem; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.test-role  { font-size: .67rem; color: var(--ink3); }

/* ─── CTA ────────────────────────────── */
.cta-section { background: var(--bg2); border-top: 1px solid var(--rule); padding: 80px 64px; }
.cta-box {
  border: 1px solid var(--rule); padding: 80px; text-align: center;
  position: relative; background: rgba(245,243,239,.5);
}
.cta-corner { position: absolute; width: 48px; height: 48px; border-color: var(--goldl); border-style: solid; border-width: 0; }
.cta-corner.tl { top: 0; left: 0;  border-top-width: 1px; border-left-width: 1px; }
.cta-corner.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.cta-corner.bl { bottom: 0; left: 0;  border-bottom-width: 1px; border-left-width: 1px; }
.cta-corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.cta-eye   { font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.cta-title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(2.4rem, 4.5vw, 4.4rem); line-height: 1.07; color: var(--ink); margin-bottom: 16px; }
.cta-title em { font-style: italic; color: var(--gold); }
.cta-body  { font-size: .82rem; color: var(--ink2); max-width: 440px; margin: 0 auto 44px; line-height: 1.9; }
.cta-btns  { display: flex; gap: 14px; justify-content: center; }

/* ─── REQUEST MODAL ──────────────────── */
.request-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.request-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.request-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,18,24,.48);
  backdrop-filter: blur(10px);
}
.request-modal-card {
  position: relative;
  width: min(100%, 860px);
  max-height: min(100vh - 64px, 860px);
  overflow-y: auto;
  padding: 40px;
  background: linear-gradient(180deg, rgba(247,244,238,.98), rgba(245,243,239,.98));
  border: 1px solid var(--rule);
  box-shadow: 0 28px 90px rgba(22,24,29,.18);
}
.request-modal-card::before,
.request-modal-card::after {
  content: '';
  position: absolute;
  width: 46px;
  height: 46px;
  border-color: var(--goldl);
  border-style: solid;
  pointer-events: none;
}
.request-modal-card::before {
  top: 16px;
  left: 16px;
  border-width: 1px 0 0 1px;
}
.request-modal-card::after {
  right: 16px;
  bottom: 16px;
  border-width: 0 1px 1px 0;
}
.request-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
}
.request-modal-eye {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.request-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 14px;
  max-width: 620px;
}
.request-modal-body {
  font-size: .82rem;
  line-height: 1.9;
  color: var(--ink2);
  max-width: 620px;
  margin-bottom: 28px;
}
.request-form {
  display: grid;
  gap: 20px;
}
.request-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.request-field {
  display: grid;
  gap: 8px;
}
.request-field span {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink3);
}
.request-field input,
.request-field select,
.request-field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.62);
  padding: 15px 16px;
  font: inherit;
  font-size: .86rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none;
  border-radius: 0;
}
.request-field textarea {
  resize: vertical;
  min-height: 140px;
}
.request-field-full {
  grid-column: 1 / -1;
}
.request-field input:focus,
.request-field select:focus,
.request-field textarea:focus {
  border-color: rgba(154,111,58,.45);
  box-shadow: 0 0 0 4px rgba(154,111,58,.08);
  background: rgba(255,255,255,.92);
}
.request-form-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.request-submit,
.request-cancel {
  justify-content: center;
}
.request-form-note,
.request-form-status {
  font-size: .72rem;
  line-height: 1.7;
  color: var(--ink2);
}
.request-form-note a {
  color: var(--gold);
  text-decoration: none;
}
.request-form-status {
  min-height: 1.7em;
}
.request-form-status.is-success {
  color: #2f6e47;
}
.request-form-status.is-error {
  color: #8a3d2f;
}

/* ─── FOOTER ─────────────────────────── */
footer { background: #14161b; color: rgba(240,242,245,.35); }
.foot-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px; padding: 72px 64px 52px;
}
.foot-logo-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: .18em; color: #f0f2f5; }
.foot-tag  { font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); margin: 10px 0 10px; display: block; }
.foot-desc { font-size: .7rem; line-height: 1.8; color: rgba(240,242,245,.25); max-width: 210px; }
.foot-col-title { font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(240,242,245,.2); padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 16px; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-links li { font-size: .7rem; color: rgba(240,242,245,.3); }
.foot-links a { color: rgba(240,242,245,.3); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--gold2); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 64px;
  display: flex; justify-content: space-between; align-items: center;
}
.foot-copy { font-size: .62rem; color: rgba(240,242,245,.18); }
.foot-legal { display: flex; gap: 24px; }
.foot-legal a { font-size: .62rem; color: rgba(240,242,245,.18); text-decoration: none; transition: color .2s; }
.foot-legal a:hover { color: var(--gold2); }

.logo:focus-visible,
.nav-links a:focus-visible,
.nav-btn:focus-visible,
.btn-solid:focus-visible,
.btn-outline:focus-visible,
.panel-link:focus-visible,
.request-modal-close:focus-visible,
.request-field input:focus-visible,
.request-field select:focus-visible,
.request-field textarea:focus-visible,
.foot-links a:focus-visible,
.foot-legal a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  html.custom-cursor-enabled,
  html.custom-cursor-enabled * {
    cursor: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  #cursor { display: none !important; }

  .panel-q {
    margin-bottom: 13px;
  }

  .panel-desc {
    max-height: 120px;
    opacity: 1;
    margin-bottom: 18px;
  }

  .panel-link {
    color: var(--gold2);
    gap: 10px;
  }
}

/* ─── REVEAL ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #cursor .ring,
  #cursor .dot,
  .panel,
  .panel::before,
  .panel-deco,
  .panel-q,
  .panel-desc,
  .panel-link,
  .stat,
  .stat::before,
  .step-num,
  .why-card,
  .why-card::before,
  .test-card,
  .reveal {
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ─── RESPONSIVE ─────────────────────── */
@media (max-width: 960px) {
  nav, nav.stuck { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 96px 24px 52px; }
  .hero-l {
    width: 100%;
    min-height: auto;
    padding: 72px 24px;
  }
  .hero::before,
  .hero::after { display: none; }
  .hero-mark {
    top: 78px;
    right: 18%;
    width: 44px;
    height: 44px;
  }
  .hero-mark::before { height: 54px; top: -5px; }
  .hero-mark::after { width: 54px; left: -5px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; padding: 52px 24px 36px; }
  .sec-sub { text-align: left; max-width: 100%; }
  .panels { grid-template-columns: 1fr 1fr; height: auto; }
  .panel { height: 380px; }
  .steps { grid-template-columns: 1fr 1fr; padding: 40px 24px 52px; }
  .steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .test-grid { grid-template-columns: 1fr; padding: 0 24px 52px; }
  .cta-section { padding: 52px 24px; }
  .cta-box { padding: 48px 24px; }
  .request-modal { padding: 24px; }
  .request-modal-card { padding: 36px 24px; }
  .request-form-grid { grid-template-columns: 1fr; }
  .foot-main { grid-template-columns: 1fr 1fr; padding: 52px 24px 36px; }
  .foot-bottom { padding: 16px 24px; flex-direction: column; gap: 10px; }
  .foot-legal { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 640px) {
  nav, nav.stuck {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding: 88px 16px 40px;
  }

  .hero-l {
    padding: 56px 18px 44px;
  }

  .hero-l::before,
  .hero-l::after {
    width: 36px;
    height: 36px;
  }

  .hero-mark {
    position: static;
    margin: 0 auto 18px;
    width: 38px;
    height: 38px;
  }
  .hero-mark::before { height: 46px; top: -4px; }
  .hero-mark::after { width: 46px; left: -4px; }

  .request-modal {
    padding: 16px;
  }

  .request-modal-card {
    padding: 32px 18px 24px;
    max-height: min(100vh - 32px, 860px);
  }

  .request-modal-close {
    top: 12px;
    right: 12px;
  }

  .request-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-btn {
    width: 100%;
  }

  .panels,
  .steps,
  .ind-grid,
  .foot-main {
    grid-template-columns: 1fr;
  }

  .btn-row,
  .cta-btns {
    flex-direction: column;
  }

  .btn-solid,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }
}
