/* =========================================================
   OMS CPA & Tax Services — site styles
   Navy + gold, 3D embossed look carried over from brand art.
   ========================================================= */

:root {
  --navy-950: #070e1a;
  --navy-900: #0c1626;
  --navy-850: #101d31;
  --navy-800: #14243c;
  --navy-700: #1c3150;
  --navy-600: #284266;
  --line: rgba(226, 194, 106, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);

  --gold-100: #fbefc6;
  --gold-300: #ecd08a;
  --gold-400: #e0bb5f;
  --gold-500: #d2a64a;
  --gold-600: #b48a33;
  --gold-700: #8a6522;
  --gold-800: #6e5118;
  --gold-grad: linear-gradient(180deg, #fbe7a6 0%, #e6c164 38%, #c99a3c 62%, #9c7224 100%);

  --ivory: #f8f4ea;
  --ivory-2: #efe8d8;
  --ink: #142033;
  --ink-soft: #46546b;
  --text: #e9edf4;
  --text-soft: #a9b5c8;

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-3d: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -20px rgba(0,0,0,.65), 0 12px 24px -12px rgba(0,0,0,.5);
  --wrap: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-300); text-decoration: none; }
a:hover { color: var(--gold-100); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--gold-400); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- textured navy surface (like the brand art) ---------- */
.texture {
  background-color: var(--navy-850);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(226,194,106,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(40,66,102,.55), transparent 60%),
    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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3D gold type ---------- */
.gold-3d {
  font-family: var(--font-display);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 #7a5a1c) drop-shadow(0 2px 0 #5c4313) drop-shadow(0 10px 18px rgba(0,0,0,.55));
}
.gold { color: var(--gold-400); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.section-title { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 48px); letter-spacing: .01em; }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--text-soft); max-width: 680px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--gold-grad);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--font-body); letter-spacing: .04em; white-space: nowrap;
  color: #1a1305; background: var(--b);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 -2px 0 rgba(0,0,0,.18) inset, 0 4px 0 #7d5b1d, 0 14px 26px -8px rgba(0,0,0,.6);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn:hover { color: #1a1305; transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 -2px 0 rgba(0,0,0,.18) inset, 0 6px 0 #7d5b1d, 0 20px 30px -8px rgba(0,0,0,.6); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 1px 0 #7d5b1d, 0 6px 12px -6px rgba(0,0,0,.6); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost {
  color: var(--gold-300); background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1.5px rgba(226,194,106,.55);
}
.btn-ghost:hover { color: var(--gold-100); background: rgba(226,194,106,.08); box-shadow: inset 0 0 0 1.5px var(--gold-300); }
.btn-ghost:active { box-shadow: inset 0 0 0 1.5px var(--gold-300); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- header ---------- */
.topbar { background: var(--navy-950); border-bottom: 1px solid var(--line-soft); font-size: 13.5px; color: var(--text-soft); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--text-soft); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold-300); }
.topbar svg { width: 15px; height: 15px; color: var(--gold-400); }
.topbar-links { display: flex; gap: 22px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 22, 38, .82);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); flex: none; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { width: 56px; height: 56px; filter: drop-shadow(0 2px 0 #5c4313) drop-shadow(0 8px 12px rgba(0,0,0,.6)); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
/* "OMS CPA" as raised 3D gold lettering: gradient face + stacked extrusion + soft cast shadow */
.brand-text strong {
  font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: .08em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 #8a6522) drop-shadow(0 1px 0 #6e5118) drop-shadow(0 1px 0 #4f3a10) drop-shadow(0 6px 8px rgba(0,0,0,.65));
}
.brand-text span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 8px; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: .01em;
}
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--gold-100); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-300); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--gold-300); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-close { display: block; }
.menu-open .menu-toggle .i-open { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.08; letter-spacing: .005em; margin-bottom: 22px; }
.hero h1 .line2 { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: .62em; letter-spacing: 0; color: var(--text); margin-top: 14px; filter: none; -webkit-text-fill-color: currentColor; background: none; }
.hero .lede { margin-bottom: 34px; }
.hero-visual { position: relative; perspective: 1200px; }
.hero-visual .glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(226,194,106,.28), transparent); filter: blur(30px); z-index: 0; }
.tilt { position: relative; z-index: 1; transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.frame-3d { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-3d), 0 0 0 1px var(--line); background: var(--navy-800); }
.frame-3d img { width: 100%; }
.float-badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 14px;
  background: rgba(12,22,38,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); box-shadow: 0 18px 36px -14px rgba(0,0,0,.8);
  font-size: 14px; line-height: 1.3; color: var(--text);
  animation: bob 6s ease-in-out infinite;
}
.float-badge strong { display: block; color: var(--gold-300); font-size: 15px; }
.float-badge .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-grad); color: #2a1d05; flex: none; box-shadow: 0 3px 0 #7d5b1d; }
.float-badge .ico svg { width: 20px; height: 20px; }
.float-badge.b1 { left: -22px; bottom: 14%; }
.float-badge.b2 { right: -16px; top: 9%; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0) translateZ(40px); } 50% { transform: translateY(-10px) translateZ(40px); } }

.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--navy-950); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 24px 20px; font-size: 14.5px; color: var(--text-soft); line-height: 1.35; }
.trust li + li { border-left: 1px solid var(--line-soft); }
.trust li strong { display: block; color: var(--text); font-size: 15.5px; }
.trust svg { width: 30px; height: 30px; color: var(--gold-400); flex: none; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section.light { background: var(--ivory); color: var(--ink); }
.section.light .lede, .section.light p { color: var(--ink-soft); }
.section.light .section-title { color: var(--ink); }
.section.light .eyebrow { color: var(--gold-700); }
.section.deep { background: var(--navy-950); }

/* page hero (inner pages) */
.page-hero { padding: clamp(64px, 8vw, 104px) 0 clamp(52px, 6vw, 80px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 64px); margin-bottom: 18px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero.has-art .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.crumbs { font-size: 13.5px; color: var(--text-soft); margin-bottom: 20px; }
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--gold-300); }
.crumbs span { margin: 0 8px; color: var(--gold-600); }

/* ---------- value pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar {
  position: relative; padding: 38px 32px 34px; border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #fbf8f1);
  box-shadow: 0 1px 0 #fff inset, 0 24px 48px -28px rgba(20,32,51,.45), 0 0 0 1px rgba(20,32,51,.07);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 1px 0 #fff inset, 0 34px 60px -28px rgba(20,32,51,.55), 0 0 0 1px rgba(180,138,51,.35); }
.pillar .num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-size: 46px; line-height: 1; color: rgba(180,138,51,.16); }
.pillar h3 { font-family: var(--font-display); font-size: 25px; color: var(--ink); margin-top: 22px; }
.pillar p { margin: 0; color: var(--ink-soft); }
.ico-3d {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: var(--gold-grad); color: #2a1d05;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -3px 0 rgba(0,0,0,.15) inset, 0 5px 0 #8a6522, 0 16px 24px -10px rgba(0,0,0,.45);
}
.ico-3d svg { width: 30px; height: 30px; }
.ico-3d.sm { width: 48px; height: 48px; border-radius: 13px; }
.ico-3d.sm svg { width: 24px; height: 24px; }

/* ---------- services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: linear-gradient(180deg, var(--navy-800), var(--navy-850));
  box-shadow: 0 0 0 1px var(--line-soft), 0 30px 50px -30px rgba(0,0,0,.8);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  color: var(--text);
}
.card:hover { color: var(--text); transform: translateY(-8px); box-shadow: 0 0 0 1px var(--line), 0 40px 70px -30px rgba(0,0,0,.9); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-family: var(--font-display); font-size: 22px; color: var(--gold-300); }
.card p { color: var(--text-soft); font-size: 15.5px; }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--gold-400); letter-spacing: .03em; }
.card .more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .more svg { transform: translateX(5px); }
.card-icon { padding: 32px 30px 30px; }
.card-icon .ico-3d { margin-bottom: 22px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.checks { list-style: none; display: grid; gap: 18px; margin: 28px 0 34px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; }
.checks li > div strong { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }
.checks li > div { color: var(--text-soft); font-size: 15.5px; line-height: 1.6; }
.section.light .checks li > div strong { color: var(--ink); }
.section.light .checks li > div { color: var(--ink-soft); }
.tick { flex: none; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #2a1d05; box-shadow: 0 2px 0 #8a6522; }
.tick svg { width: 15px; height: 15px; }

.portrait-stack { position: relative; padding: 0 0 40px 40px; }
.portrait-stack .frame-3d { border-radius: 24px; }
.portrait-stack::before { content: ""; position: absolute; inset: 40px 40px 0 0; border-radius: 26px; border: 1.5px solid rgba(226,194,106,.45); z-index: 0; }
.portrait-stack .tilt { z-index: 1; }
.portrait-stack .name-tag { position: absolute; z-index: 2; right: -12px; bottom: 6px; padding: 16px 22px; border-radius: 14px; background: var(--navy-950); border: 1px solid var(--line); box-shadow: 0 20px 40px -16px rgba(0,0,0,.8); }
.name-tag strong { display: block; font-family: var(--font-display); color: var(--gold-300); font-size: 18px; }
.name-tag span { font-size: 13.5px; color: var(--text-soft); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, rgba(226,194,106,.5), transparent); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .ico-3d { margin: 0 auto 22px; position: relative; }
.step h3 { font-family: var(--font-display); font-size: 19px; color: var(--text); }
.step p { color: var(--text-soft); font-size: 15px; margin: 0; }

/* ---------- industries chips ---------- */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chip {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 15.5px; line-height: 1.3;
  box-shadow: 0 0 0 1px rgba(20,32,51,.08), 0 14px 26px -18px rgba(20,32,51,.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.chip:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(180,138,51,.45), 0 20px 34px -18px rgba(20,32,51,.55); }
.chip .ico-3d { width: 42px; height: 42px; border-radius: 11px; flex: none; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 3px 0 #8a6522; }
.chip .ico-3d svg { width: 21px; height: 21px; }

/* ---------- band / CTA ---------- */
.band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 5vw, 64px); box-shadow: var(--shadow-3d), 0 0 0 1px var(--line); }
.band .split { gap: 48px; }
.band h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); }
.band p { color: var(--text-soft); }
.band .frame-3d { border-radius: 16px; }

.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 16px; }
.cta-final .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(20,32,51,.08), 0 12px 24px -20px rgba(20,32,51,.5); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 700; font-size: 17px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--gold-grad) ; box-shadow: 0 2px 0 #8a6522;
  -webkit-mask: none; }
.faq summary::before { content: "+"; position: absolute; right: 24px; top: 50%; width: 26px; height: 26px; margin-top: -13px; z-index: 1; display: grid; place-items: center; font: 700 20px/26px var(--font-body); text-align: center; color: #2a1d05; transition: transform .3s var(--ease); }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 22px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }

/* ---------- detail blocks (services / industries pages) ---------- */
.detail { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line-soft); }
.detail:last-child { border-bottom: 0; }
.detail.reverse > :first-child { order: 2; }
.detail h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); color: var(--gold-300); }
.detail p { color: var(--text-soft); }
.list-gold { list-style: none; display: grid; gap: 12px; margin: 22px 0 0; }
.list-gold li { position: relative; padding-left: 32px; color: var(--text); }
.list-gold li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 2px 0 #8a6522; }
.list-gold li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 4px); width: 4px; height: 7px; border: solid #2a1d05; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.list-gold.cols { grid-template-columns: 1fr 1fr; column-gap: 28px; }

.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ind {
  border-radius: var(--radius); padding: 36px 34px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-850));
  box-shadow: 0 0 0 1px var(--line-soft), 0 30px 50px -30px rgba(0,0,0,.8);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.ind::after { content: ""; position: absolute; top: 0; left: 34px; right: 34px; height: 2px; background: var(--gold-grad); opacity: .7; }
.ind-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.ind h3 { font-family: var(--font-display); font-size: 22px; color: var(--gold-300); margin: 0; }
.ind p { color: var(--text-soft); font-size: 15.5px; }
.ind .list-gold li { font-size: 15.5px; }
.ind .closing { margin: 20px 0 0; color: var(--gold-100); font-family: var(--font-serif); font-style: italic; font-size: 19px; }

.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.jump a:hover { color: var(--navy-950); background: var(--gold-400); border-color: var(--gold-400); }

/* ---------- team ---------- */
.team { display: grid; gap: clamp(48px, 7vw, 96px); }
.member { display: grid; grid-template-columns: 420px 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.member.reverse { grid-template-columns: 1fr 420px; }
.member.reverse > :first-child { order: 2; }
.member h2 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 6px; color: var(--ink); }
.member .role { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--gold-700); margin-bottom: 22px; }
.member p { color: var(--ink-soft); }
.member .portrait-stack::before { border-color: rgba(180,138,51,.55); }
.member .name-tag { background: var(--navy-900); }
.specialty { margin: 24px 0; padding: 22px 24px; border-radius: 14px; background: #fff; border-left: 4px solid var(--gold-500); box-shadow: 0 14px 30px -22px rgba(20,32,51,.5); color: var(--ink-soft); }
.specialty strong { color: var(--ink); }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.creds span { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink); background: var(--ivory-2); box-shadow: inset 0 0 0 1px rgba(180,138,51,.35); }

/* ---------- portal page ---------- */
.portal-card { text-align: center; max-width: 820px; margin: 0 auto; padding: clamp(36px, 5vw, 60px); border-radius: 28px; }
.portal-card .frame-3d { max-width: 460px; margin: 0 auto 34px; border-radius: 18px; }
.portal-card h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); }
.portal-card .btn { font-size: 17px; padding: 19px 38px; margin-top: 10px; }
.portal-note { font-size: 14px; color: var(--text-soft); margin-top: 18px; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tip { padding: 30px 28px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px rgba(20,32,51,.07), 0 20px 40px -28px rgba(20,32,51,.5); }
.tip h3 { font-family: var(--font-display); font-size: 20px; color: var(--ink); margin: 20px 0 10px; }
.tip p, .tip li { color: var(--ink-soft); font-size: 15.5px; }
.tip ul { padding-left: 18px; }
.tip li { margin-bottom: 6px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-list { list-style: none; display: grid; gap: 16px; }
.info-item { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 16px; background: linear-gradient(180deg, var(--navy-800), var(--navy-850)); box-shadow: 0 0 0 1px var(--line-soft); color: var(--text); }
a.info-item:hover { color: var(--text); box-shadow: 0 0 0 1px var(--line); }
.info-item small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; }
.info-item span { font-size: 16.5px; font-weight: 600; line-height: 1.45; }
.map { margin-top: 22px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); aspect-ratio: 4 / 3; background: var(--navy-800); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

.form-card { padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--ivory); color: var(--ink); box-shadow: var(--shadow-3d); }
.form-card h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); color: var(--ink); margin-bottom: 8px; }
.form-card > p { color: var(--ink-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--font-body); color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid #d9d1bf; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(210,166,74,.22); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c0392b; }
.field .err { font-size: 13px; color: #b03a2e; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form-foot small { color: var(--ink-soft); font-size: 13.5px; max-width: 340px; line-height: 1.5; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; display: none; }
.form-status.ok { display: block; background: #e8f5ec; color: #1d6b3a; box-shadow: inset 0 0 0 1px #b9e0c6; }
.form-status.bad { display: block; background: #fdecea; color: #962d22; box-shadow: inset 0 0 0 1px #f3c2bc; }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 820px; margin: 0 auto; color: var(--ink-soft); }
.prose h2 { font-family: var(--font-display); color: var(--ink); font-size: 26px; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; margin-bottom: 1.1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--gold-700); text-decoration: underline; }
.prose .updated { font-size: 14px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 72px 0 0; color: var(--text-soft); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { width: 92px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 18px; }
.foot-brand p { max-width: 320px; }
.site-footer h4 { font-family: var(--font-display); color: var(--gold-300); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.foot-links { list-style: none; display: grid; gap: 10px; }
.foot-links a { color: var(--text-soft); }
.foot-links a:hover { color: var(--gold-300); }
.foot-contact { list-style: none; display: grid; gap: 14px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 4px; }
.foot-contact a { color: var(--text-soft); }
.foot-contact a:hover { color: var(--gold-300); }
.disclosure { margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line-soft); font-size: 13px; line-height: 1.6; color: #8592a8; }
.disclosure strong { color: var(--text-soft); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0 28px; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: #8592a8; }
.foot-bottom a { color: #8592a8; }
.foot-bottom a:hover { color: var(--gold-300); }

/* mobile sticky action bar */
.mobile-bar { display: none; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================== responsive =================== */
@media (max-width: 1320px) {
  .site-header .wrap { gap: 14px; }
  .nav { gap: 0; }
  .nav a { padding: 10px 9px; font-size: 14.5px; }
  .nav a::after { left: 9px; right: 9px; }
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 1140px) {
  :root { --header-h: 74px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 0px) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: var(--navy-950); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -20px rgba(0,0,0,.8);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 6px; font-size: 17px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a::after { display: none; }
  .nav .nav-cta { display: flex !important; margin-top: 18px; border: 0; justify-content: center; }
  .header-cta .btn { display: none; }
  .hero .wrap, .page-hero.has-art .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .cards, .pillars, .tips { grid-template-columns: 1fr 1fr; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .split, .detail, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .detail.reverse > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .member, .member.reverse { grid-template-columns: 1fr; }
  .member.reverse > :first-child { order: 0; }
  .member .portrait-stack { max-width: 440px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1141px) { .nav .nav-cta { display: none !important; } }
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .brand img { width: 46px; height: 46px; }
  .brand-text strong { font-size: 21px; }
  .brand-text span { font-size: 9px; letter-spacing: .18em; }
  .cards, .pillars, .tips, .chips { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: 1fr; }
  .trust li { padding: 16px 4px; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line-soft); }
  .steps { grid-template-columns: 1fr; }
  .float-badge { font-size: 12.5px; padding: 9px 13px 9px 9px; }
  .float-badge strong { font-size: 13.5px; }
  .float-badge .ico { width: 32px; height: 32px; }
  .float-badge.b1 { left: -6px; bottom: -14px; }
  .float-badge.b2 { right: -6px; top: -14px; }
  .btn-row .btn { flex: 1 1 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .list-gold.cols { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .portrait-stack { padding: 0 0 26px 26px; }
  .portrait-stack::before { inset: 26px 26px 0 0; }
  .portrait-stack .name-tag { right: 0; }
  .ind { padding: 30px 22px; }
  .band { border-radius: 20px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(7,14,26,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; font-size: 12px; font-weight: 700; color: var(--text); border-radius: 10px; }
  .mobile-bar a svg { width: 22px; height: 22px; color: var(--gold-400); }
  .mobile-bar a.primary { background: var(--gold-grad); color: #1a1305; }
  .mobile-bar a.primary svg { color: #1a1305; }
}
