/* ==========================================================================
   Nairi & Company Advocates — main stylesheet
   Fonts: Fraunces (headings) + Manrope (body)
   ========================================================================== */

:root {
  --navy: #0F2C4C;
  --navy-2: #133A63;
  --navy-3: #0A1E36;
  --blue: #1F5A99;
  --gold: #B88A4A;
  --gold-2: #D4AE72;
  --gold-3: #8E6531;
  --ink: #0D1623;
  --text: #3A4553;
  --muted: #6B7686;
  --line: #E7E2D8;
  --bg: #FBFAF7;
  --bg-2: #F4F1EA;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -24px rgba(15, 44, 76, .28);
  --shadow-lg: 0 40px 80px -30px rgba(15, 44, 76, .4);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --serif: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --header-h: 84px;
}

@property --s { syntax: '<number>'; inherits: false; initial-value: 1.08; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}
h1, h2, h3, h4, h5 { font-family: var(--serif); color: var(--ink); font-weight: 500; letter-spacing: -.012em; line-height: 1.12; font-optical-sizing: auto; }
h1 em, h2 em, h3 em, .display-title em { font-style: italic; color: var(--gold); font-weight: 400; }
a { color: var(--navy); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-3); }
img { max-width: 100%; }
::selection { background: var(--gold-2); color: var(--ink); }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex-shrink: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 9999; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.container { max-width: 1240px; }

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-sm { padding: clamp(50px, 6vw, 80px) 0; }
.bg-soft { background: var(--bg-2); }
.bg-dots { position: relative; }
.bg-dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15, 44, 76, .10) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 60%);
          mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 60%);
}
.deco-rings { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(184, 138, 74, .18); pointer-events: none; }
.deco-rings::before, .deco-rings::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(184, 138, 74, .14); inset: 60px; }
.deco-rings::after { inset: 130px; border-color: rgba(15, 44, 76, .08); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-2); }
.display-title { font-size: clamp(2rem, 4.2vw, 3.35rem); margin-bottom: 22px; }
.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head p { font-size: 1.06rem; color: var(--muted); }
.lead-light { color: rgba(255, 255, 255, .78); font-size: 1.08rem; max-width: 560px; }

/* ---------- Buttons ---------- */
.btn-gold, .btn-ghost, .btn-navy, .btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 14.5px; letter-spacing: .02em;
  border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s, background .3s, border-color .3s;
  cursor: pointer; white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(184, 138, 74, .7); }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-gold:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(184, 138, 74, .85); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--ink); background: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-line { color: var(--navy); border-color: rgba(15, 44, 76, .25); }
.btn-line:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-sm-pad { padding: 11px 22px; font-size: 13.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy); letter-spacing: .02em; }
.link-arrow .ico { transition: transform .35s var(--ease); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico, .area-card:hover .link-arrow .ico, .insight-card:hover .link-arrow .ico { transform: translateX(5px); }

/* ---------- Progressive images ---------- */
.media { position: relative; overflow: hidden; background: #e7e3db; }
.media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  filter: blur(16px) saturate(1.1); transform: translate3d(0, var(--py, 0px), 0) scale(var(--s, 1.08));
  transition: filter 1s var(--ease), --s 1s;
  will-change: transform;
}
.media img[data-parallax] { inset: -14% 0; height: 128%; }
.media.is-loaded img { filter: none; --s: 1; }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  background-size: 220% 100%; animation: shimmer 1.5s linear infinite; transition: opacity .5s;
}
.media.is-loaded::after { opacity: 0; animation: none; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ---------- Page loader (short curtain) ---------- */
.page-loader { position: fixed; inset: 0; z-index: 3000; background: var(--navy); display: grid; place-items: center; transition: transform .9s var(--ease) .1s, visibility 0s 1.1s; }
.page-loader img { animation: pulse 1.2s ease-in-out infinite; }
body.is-ready .page-loader { transform: translateY(-100%); visibility: hidden; }
@keyframes pulse { 50% { transform: scale(.88); opacity: .65; } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; transition: background .4s, box-shadow .4s, transform .4s; }
.topbar { font-size: 13px; color: rgba(255, 255, 255, .75); border-bottom: 1px solid rgba(255, 255, 255, .1); max-height: 44px; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s; }
.topbar .container { height: 42px; }
.topbar a, .topbar span { color: rgba(255, 255, 255, .78); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold-2); }
.topbar-left, .topbar-right { display: flex; gap: 26px; }
.topbar .ico { color: var(--gold-2); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; transition: height .4s; }
.brand { position: relative; display: block; height: 50px; width: 266px; flex-shrink: 0; }
.brand img { position: absolute; inset: 0; height: 50px; width: auto; transition: opacity .4s; }
.brand .logo-dark { opacity: 0; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 15px; color: #fff; font-weight: 600; font-size: 14.5px; position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1.5px; background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a:hover { color: var(--gold-2); }
.main-nav .caret { width: 10px; transition: transform .3s; }
.has-mega { position: relative; }
.mega { position: absolute; top: 100%; left: 50%; width: 760px; transform: translate(-50%, 14px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); padding-top: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-mega:hover .caret { transform: rotate(180deg); }
.mega-inner { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; border: 1px solid var(--line); }
.mega-intro { border-right: 1px solid var(--line); padding-right: 24px; }
.mega-intro p { font-size: 14px; color: var(--muted); }
.mega-list { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2px 14px !important; }
.mega-list a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.mega-list a:hover { background: var(--bg-2); color: var(--navy); }
.mega-list .mi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(184, 138, 74, .12); color: var(--gold-3); flex-shrink: 0; }
.has-drop { position: relative; }
.drop { position: absolute; top: 100%; left: 50%; min-width: 220px; padding-top: 12px; transform: translate(-50%, 14px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover .caret { transform: rotate(180deg); }
.drop ul { display: block !important; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px !important; }
.drop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink); }
.drop a .ico { color: var(--gold-3); }
.drop a .ext { margin-left: auto; width: 12px; color: var(--muted); }
.drop a:hover { background: var(--bg-2); color: var(--navy); }
.mm-links > li.mm-staff { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0 6px; border-bottom: 0; }
.mm-links > li.mm-staff > a { display: inline-flex; width: auto; justify-content: flex-start; font-family: var(--sans); align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; }
.mm-staff a .ico { color: var(--gold-2); }
.mm-staff a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav-phone > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); color: var(--gold-2); transition: all .3s; }
.nav-phone small { display: flex; flex-direction: column; font-size: 11px; line-height: 1.25; color: rgba(255, 255, 255, .7); letter-spacing: .04em; }
.nav-phone b { font-size: 14px; color: #fff; letter-spacing: 0; }
.nav-phone:hover > span { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; transition: all .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; right: 18px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.site-header.is-scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 10px 30px -18px rgba(15, 44, 76, .35); }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; border: 0; }
.site-header.is-scrolled .nav-wrap { height: 74px; }
.site-header.is-scrolled .logo-light { opacity: 0; }
.site-header.is-scrolled .logo-dark { opacity: 1; }
.site-header.is-scrolled .main-nav > ul > li > a { color: var(--ink); }
.site-header.is-scrolled .main-nav > ul > li > a:hover, .site-header.is-scrolled .main-nav > ul > li > a.active { color: var(--navy); }
.site-header.is-scrolled .main-nav > ul > li > a::after { background: var(--gold); }
.site-header.is-scrolled .nav-phone, .site-header.is-scrolled .nav-phone b { color: var(--ink); }
.site-header.is-scrolled .nav-phone small { color: var(--muted); }
.site-header.is-scrolled .nav-phone > span { border-color: var(--line); color: var(--gold-3); }
.site-header.is-scrolled .burger { border-color: var(--line); }
.site-header.is-scrolled .burger span { background: var(--ink); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 990; background: linear-gradient(160deg, var(--navy-3), var(--navy) 60%, var(--navy-2)); clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .8s var(--ease); overflow-y: auto; }
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); }
body.menu-open .site-header { background: rgba(10, 30, 54, .97); box-shadow: none; backdrop-filter: none; }
body.menu-open .site-header .logo-light { opacity: 1; } body.menu-open .site-header .logo-dark { opacity: 0; }
body.menu-open .site-header .burger { border-color: rgba(255, 255, 255, .3); } body.menu-open .site-header .burger span { background: #fff; }
body.menu-open .site-header .nav-phone { visibility: hidden; }
.mm-inner { padding: 120px 28px 120px; min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mm-links { list-style: none; padding: 0; margin: 0; }
.mm-links > li { opacity: 0; transform: translateY(24px); transition: all .6s var(--ease); transition-delay: calc(var(--d) * 70ms + 200ms); border-bottom: 1px solid rgba(255, 255, 255, .08); }
body.menu-open .mm-links > li { opacity: 1; transform: none; }
.mm-links > li > a, .mm-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 0; font-family: var(--serif); font-size: 1.9rem; color: #fff; background: none; border: 0; text-align: left; }
.mm-toggle .ico { width: 18px; color: var(--gold-2); transition: transform .3s; }
.mm-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.mm-sub { list-style: none; padding: 0 0 14px; margin: 0; display: none; }
.mm-sub.open { display: block; }
.mm-sub a { display: block; padding: 7px 0 7px 14px; color: rgba(255, 255, 255, .75); border-left: 1px solid rgba(184, 138, 74, .4); font-size: 15px; }
.mm-foot p { color: rgba(255, 255, 255, .7); font-size: 14px; margin: 14px 0 0; display: flex; gap: 8px; }
.mm-foot a:not(.btn-gold) { color: rgba(255, 255, 255, .85); }
.mm-foot .ico { color: var(--gold-2); margin-top: 4px; }

/* ---------- HERO (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; background: var(--navy-3); overflow: hidden; padding: 170px 0 120px; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute !important; inset: 0; opacity: 0; transition: opacity 1.8s ease; background: var(--navy-3); }
.hero-slide.active { opacity: 1; }
.hero-slide.active img { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, var(--py, 0), 0); } to { transform: scale(1) translate3d(-1.5%, var(--py, 0), 0); } }
.hero-overlay { position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% 110%, rgba(184, 138, 74, .28), transparent 60%),
  linear-gradient(100deg, rgba(8, 22, 40, .96) 0%, rgba(12, 36, 64, .88) 38%, rgba(15, 44, 76, .55) 68%, rgba(15, 44, 76, .35) 100%); }
.hero-grid, .page-hero .hero-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 70%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: .55; }
.hero-orb.o1 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(212, 174, 114, .55), transparent 70%); top: -80px; right: 18%; animation: float 14s ease-in-out infinite; }
.hero-orb.o2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(31, 90, 153, .7), transparent 70%); bottom: -60px; left: -60px; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate3d(40px, 30px, 0) scale(1.1); } }
.hero .container { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.7rem, 6.4vw, 5.5rem); line-height: 1.02; color: #fff; margin-bottom: 28px; font-weight: 400; letter-spacing: -.02em; }
.hero-title em { color: var(--gold-2); position: relative; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translate3d(0, 115%, 0) rotate(5deg); transform-origin: left bottom; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 85ms + 350ms); }
body.is-ready .w > span { transform: none; }
.hero-in { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--hd, 900ms); }
body.is-ready .hero-in { opacity: 1; transform: none; }
.hero-text { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255, 255, 255, .8); max-width: 590px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); max-width: 600px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255, 255, 255, .78); font-weight: 600; }
.hero-trust .ico { color: var(--gold-2); }
.hero-card { position: relative; border-radius: 24px; padding: 34px; background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.hero-card h2 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.hero-card > p { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.hc-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); margin-top: 12px; transition: all .35s var(--ease); }
.hc-row:hover { background: rgba(255, 255, 255, .14); color: #fff; transform: translateX(4px); }
.hc-row .hc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); font-size: 18px; flex-shrink: 0; }
.hc-row .hc-ico.wa { background: #25D366; color: #fff; }
.hc-row small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.hc-row b { font-size: 15px; font-weight: 700; }
.hc-row .ico.arr { margin-left: auto; color: var(--gold-2); }
.hc-hours { display: flex; gap: 10px; margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.hc-hours .ico { color: var(--gold-2); margin-top: 3px; }
.seal { position: absolute; right: -44px; top: -44px; width: 116px; height: 116px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--navy-2), var(--navy-3)); border: 1px solid rgba(212, 174, 114, .45); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); display: grid; place-items: center; pointer-events: none; }
.seal-text { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); animation: spin 28s linear infinite; }
.seal-text text { font: 700 11px var(--sans); letter-spacing: .2em; fill: var(--gold-2); text-transform: uppercase; }
.seal img { width: 44px; height: 44px; }
.hero-card h2 { padding-right: 56px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 46px; height: 3px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; padding: 0; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
.hero-dots button.active::after { animation: dotfill 6.5s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.scroll-cue { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .65); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 46px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; display: block; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold-2); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy-3); padding: 190px 0 96px; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; }
.ph-bg { position: absolute !important; inset: 0; background: var(--navy-3); }
.ph-overlay { position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 100%, rgba(184, 138, 74, .25), transparent 60%), linear-gradient(95deg, rgba(8, 22, 40, .95) 10%, rgba(15, 44, 76, .78) 55%, rgba(15, 44, 76, .45)); }
.ph-title { color: #fff; font-size: clamp(2.3rem, 5vw, 4.1rem); max-width: 900px; margin-bottom: 18px; font-weight: 400; }
.ph-title em { color: var(--gold-2); }
.ph-text { color: rgba(255, 255, 255, .8); font-size: 1.1rem; max-width: 640px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; margin-bottom: 20px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--gold-2); }
.ph-line { position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .6s; }
body.is-ready .ph-line { transform: scaleX(1); }

/* ---------- Marquees ---------- */
.marquee { overflow: hidden; position: relative; display: flex; user-select: none; }
.mq-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee.reverse .mq-track { animation-direction: reverse; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-set { display: flex; align-items: center; flex-shrink: 0; }
.mq-item { white-space: nowrap; padding: 0 30px; }
.mq-star { color: var(--gold); font-size: .7em; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.marquee-navy { background: var(--navy); color: #fff; padding: 22px 0; font-family: var(--serif); font-size: 1.35rem; font-style: italic; border-top: 1px solid rgba(184, 138, 74, .35); border-bottom: 1px solid rgba(184, 138, 74, .35); }
.marquee-outline { padding: 30px 0 10px; font-family: var(--serif); font-size: clamp(3rem, 8vw, 6.6rem); line-height: 1.1; color: transparent; -webkit-text-stroke: 1px rgba(15, 44, 76, .3); }
.marquee-outline .mq-star { -webkit-text-stroke: 0; color: var(--gold-2); font-size: .35em; }
.marquee-outline .mq-track { animation-duration: 70s; }

/* ---------- About teaser / collage ---------- */
.about-collage { position: relative; padding: 0 14% 12% 0; }
.about-collage .ac-main { aspect-ratio: 4 / 4.6; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-collage .ac-small { position: absolute !important; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius); border: 8px solid var(--bg); box-shadow: var(--shadow); }
.about-badge { position: absolute; left: -22px; bottom: calc(12% + 28px); z-index: 3; background: var(--navy); color: #fff; padding: 22px 24px; border-radius: 16px; box-shadow: var(--shadow-lg); max-width: 210px; display: flex; gap: 14px; align-items: center; }
.about-badge img { width: 46px; height: 46px; }
.about-badge b { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; display: block; line-height: 1.2; }
.about-badge small { display: block; font-size: 12px; line-height: 1.4; margin-top: 4px; color: rgba(255, 255, 255, .7); }
.about-collage .ac-main img { object-position: center 22%; }
.about-collage .deco-rings { width: 300px; height: 300px; left: -120px; bottom: -80px; }
.prose-sm p { color: var(--text); }
.check-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ck { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(184, 138, 74, .14); color: var(--gold-3); flex-shrink: 0; margin-top: 1px; }
.check-list b { color: var(--ink); display: block; }
.check-list span.t { font-size: 14.5px; color: var(--muted); }

/* ---------- Practice area cards ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.area-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; color: var(--text); }
.area-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.area-card .ac-img { aspect-ratio: 16 / 10; }
.area-card .ac-img img { transition: filter 1s var(--ease), transform 1.2s var(--ease); }
.area-card:hover .ac-img.is-loaded img { transform: scale(1.07); }
.area-card .ac-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(15, 44, 76, .55)); }
.ac-body { padding: 40px 28px 30px; position: relative; flex: 1; display: flex; flex-direction: column; }
.ac-ico { position: absolute; top: -28px; left: 28px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); font-size: 22px; box-shadow: 0 14px 30px -12px rgba(15, 44, 76, .6); transition: background .4s, color .4s, transform .5s var(--ease); z-index: 2; }
.area-card:hover .ac-ico { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); transform: rotate(-6deg) scale(1.05); }
.ac-num { position: absolute; top: 16px; right: 24px; font-family: var(--serif); font-style: italic; color: rgba(15, 44, 76, .22); font-size: 1.3rem; }
.ac-body h3 { font-size: 1.42rem; margin-bottom: 10px; padding-right: 30px; }
.ac-body p { font-size: 14.8px; color: var(--muted); margin-bottom: 20px; flex: 1; }
.area-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.area-card:hover::after { transform: scaleX(1); }

/* ---------- Sticky split sections ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.split-sticky { position: sticky; top: 120px; }
.why-list { display: grid; gap: 22px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px 30px 110px; position: relative; transition: all .5s var(--ease); }
.why-item:hover { box-shadow: var(--shadow); transform: translateX(-6px); border-color: rgba(184, 138, 74, .45); }
.why-item .wn { position: absolute; left: 30px; top: 26px; font-family: var(--serif); font-size: 2.9rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); transition: color .4s; }
.why-item:hover .wn { color: var(--gold); }
.why-item h3 { font-size: 1.35rem; margin-bottom: 8px; }
.why-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Parallax band ---------- */
.parallax-band { position: relative; color: #fff; padding: clamp(100px, 13vw, 170px) 0; overflow: hidden; background: var(--navy-3); }
.parallax-band .pb-bg { position: absolute !important; inset: 0; background: var(--navy-3); }
.pb-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 40, .82), rgba(15, 44, 76, .78)), radial-gradient(600px 300px at 50% 100%, rgba(184, 138, 74, .3), transparent); }
.pb-quote { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.25; max-width: 940px; margin: 0 auto 60px; text-align: center; color: #fff; font-weight: 400; }
.pb-quote .ico { display: block; margin: 0 auto 20px; color: var(--gold-2); font-size: 2.4rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .15); }
.stat { text-align: center; padding: 34px 10px 0; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 34px; bottom: 0; width: 1px; background: rgba(255, 255, 255, .12); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; color: var(--gold-2); }
.stat span { font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 14px); opacity: .6; }
.step { text-align: center; position: relative; padding: 0 8px; }
.step .sn { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--gold); font-family: var(--serif); font-size: 1.5rem; color: var(--navy); position: relative; transition: all .45s var(--ease); }
.step .sn::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(184, 138, 74, .5); }
.step:hover .sn { background: var(--navy); color: var(--gold-2); transform: translateY(-4px); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Insight cards ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.insight-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ic-link { position: absolute; inset: 0; z-index: 3; }
.insight-card .ic-img { aspect-ratio: 16 / 10; }
.insight-card:hover .ic-img.is-loaded img { transform: scale(1.06); }
.insight-card .ic-img img { transition: filter 1s var(--ease), transform 1.2s var(--ease); }
.ic-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.ic-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.tag { display: inline-block; padding: 4px 11px; border-radius: 999px; background: rgba(184, 138, 74, .13); color: var(--gold-3); font-weight: 700; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; }
.ic-body h3 { font-size: 1.32rem; margin-bottom: 10px; transition: color .3s; }
.insight-card:hover h3 { color: var(--navy-2); }
.ic-body p { font-size: 14.6px; color: var(--muted); flex: 1; }
.insight-card.featured { grid-column: 1 / -1; flex-direction: row; }
.insight-card.featured .ic-img { flex: 0 0 56%; aspect-ratio: auto; min-height: 380px; }
.insight-card.featured .ic-body { padding: clamp(28px, 4vw, 54px); justify-content: center; }
.insight-card.featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(90px, 10vw, 140px) 0; overflow: hidden; background: var(--navy-3); }
.cta-band .cta-bg { position: absolute !important; inset: 0; background: var(--navy-3); }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(10, 30, 54, .97) 30%, rgba(19, 58, 99, .86)); }
.circles i { position: absolute; border-radius: 50%; border: 1px solid rgba(212, 174, 114, .12); right: -120px; top: 50%; transform: translateY(-50%); }
.circles i:nth-child(1) { width: 420px; height: 420px; } .circles i:nth-child(2) { width: 620px; height: 620px; right: -220px; } .circles i:nth-child(3) { width: 820px; height: 820px; right: -320px; border-color: rgba(212, 174, 114, .1); }
.cta-actions { display: grid; gap: 14px; }
.cta-action { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: all .4s var(--ease); }
.cta-action:hover { background: #fff; color: var(--ink); transform: translateX(6px); }
.cta-action small { display: block; font-size: 12px; opacity: .7; }
.cta-action b { font-size: 16px; }
.ca-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); font-size: 20px; flex-shrink: 0; }
.ca-ico.wa { background: #25D366; color: #fff; }
.ca-arrow { margin-left: auto; color: var(--gold-2); font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: #08172A; color: rgba(255, 255, 255, .68); padding: 90px 0 30px; position: relative; overflow: hidden; font-size: 15px; }
.footer-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(212, 174, 114, .12) 1px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.footer-brand img { height: 44px; width: auto; margin-bottom: 22px; }
.footer-about { max-width: 360px; }
.footer-title { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-2); }
.footer-links a { position: relative; transition: padding .3s, color .3s; }
.footer-links a:hover { padding-left: 8px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .ico { color: var(--gold-2); margin-top: 5px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); color: #fff; transition: all .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer-bottom { margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .7); }
.footer-bottom .credits { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.footer-bottom .credits a { color: var(--gold-2); }
.footer-bottom .credits a:hover { color: #fff; }
.footer-bottom .disclaimer { flex: 1 1 420px; color: rgba(255, 255, 255, .45); }

/* Floating actions */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff; border-radius: 999px; padding: 14px; box-shadow: 0 16px 34px -12px rgba(37, 211, 102, .7); font-weight: 700; font-size: 14px; transition: all .4s var(--ease); }
.wa-float .ico { font-size: 26px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease); }
.wa-float:hover { color: #fff; padding-right: 22px; }
.wa-float:hover span { max-width: 130px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.to-top { position: fixed; right: 30px; bottom: 98px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); color: #fff; }
.action-bar { display: none; }

/* ---------- Prose (rich text from the editor) ---------- */
.prose { font-size: 1.04rem; color: var(--text); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.2rem 0 1rem; }
.prose h3 { font-size: 1.4rem; margin: 1.9rem 0 .8rem; }
.prose p { margin-bottom: 1.2rem; }
.prose a { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.4rem; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: .6rem; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 42px; margin-bottom: .8rem; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 18px 24px; background: var(--bg-2); border-radius: 0 12px 12px 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); margin: 1.8rem 0; }
.prose img { border-radius: 14px; margin: 1rem 0; height: auto; }
.prose strong { color: var(--ink); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; }

/* ---------- Detail pages (practice area / insight) ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 5vw, 70px); align-items: start; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 24px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--text); transition: all .3s; }
.side-nav a:hover { background: var(--bg-2); color: var(--navy); padding-left: 18px; }
.side-nav a.active { background: var(--navy); color: #fff; }
.side-nav a.active .ico { color: var(--gold-2); }
.side-cta { background: linear-gradient(150deg, var(--navy-3), var(--navy) 55%, var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; }
.side-cta::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(212, 174, 114, .25); right: -90px; top: -90px; box-shadow: 0 0 0 30px rgba(212, 174, 114, .04); }
.side-cta h3 { color: #fff; font-size: 1.45rem; }
.side-cta p { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.side-cta .btn-gold, .side-cta .btn-ghost { width: 100%; justify-content: center; margin-top: 10px; }
.detail-hero-img { aspect-ratio: 16 / 8.5; border-radius: var(--radius); margin-bottom: 44px; box-shadow: var(--shadow); }
.summary-lead { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; color: var(--ink); margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }

.quick-form .form-control, .quick-form .form-select { font-size: 14.5px; }

/* Article */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1100; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform: scaleX(0); transform-origin: left; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, .78); font-size: 14px; margin-top: 8px; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .ico { color: var(--gold-2); }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 26px 0; margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share > span { font-weight: 700; color: var(--ink); margin-right: 6px; font-size: 14px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--navy); transition: all .3s; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }
.note { margin-top: 28px; padding: 20px 22px; background: var(--bg-2); border-radius: 14px; font-size: 14px; color: var(--muted); display: flex; gap: 12px; }
.note .ico { color: var(--gold-3); font-size: 18px; margin-top: 2px; }
.recent-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.recent-list a { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; color: var(--ink); }
.recent-list .media { aspect-ratio: 1; border-radius: 12px; }
.recent-list b { font-family: var(--serif); font-weight: 500; font-size: 1rem; line-height: 1.3; display: block; }
.recent-list small { color: var(--muted); font-size: 12.5px; }
.recent-list a:hover b { color: var(--navy-2); }

/* Filters */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--text); transition: all .3s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 54px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-weight: 700; background: #fff; }
.pager .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- About page ---------- */
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; height: 100%; position: relative; overflow: hidden; transition: all .5s var(--ease); }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card .mv-ico { width: 60px; height: 60px; border-radius: 18px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; font-size: 24px; margin-bottom: 24px; }
.mv-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.mv-card p { margin: 0; color: var(--muted); }
.mv-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -70px; border-radius: 50%; border: 1px solid rgba(184, 138, 74, .25); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value { padding: 26px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.value h3 { font-size: 1.2rem; margin: 12px 0 8px; }
.value p { margin: 0; font-size: 14.5px; color: var(--muted); }
.value .vi { color: var(--gold); font-size: 22px; }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 18px; }
.gallery .media { border-radius: var(--radius); }
.gallery .media:first-child { grid-row: span 2; }
.gallery .media:nth-child(4) { grid-column: span 2; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -70px; position: relative; z-index: 5; }
.c-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: all .45s var(--ease); display: block; color: var(--text); }
.c-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.c-card .cc-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--bg-2); color: var(--gold-3); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; transition: all .4s; }
.c-card:hover .cc-ico { background: var(--navy); color: var(--gold-2); }
.c-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.c-card p { margin: 0; font-size: 14.5px; color: var(--muted); word-break: break-word; }
.form-card { background: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 50px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-label { font-weight: 700; font-size: 13px; color: var(--ink); letter-spacing: .02em; margin-bottom: 7px; }
.form-control, .form-select { border-radius: 12px; border: 1px solid #DCD6CA; padding: 13px 16px; font-size: 15px; background-color: #FDFCFA; transition: border-color .3s, box-shadow .3s, background .3s; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 138, 74, .15); background: #fff; }
.hp { position: absolute !important; left: -9999px !important; }
.alert-ok, .alert-err { padding: 16px 20px; border-radius: 12px; margin-bottom: 22px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.alert-ok { background: #E9F6EE; color: #17643A; border: 1px solid #BFE3CC; }
.alert-err { background: #FCEDEC; color: #9B2C24; border: 1px solid #F2C5C1; }
.map-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; background: var(--bg-2); }
.map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); transition: filter .5s; }
.map-wrap:hover iframe { filter: none; }
.map-pin { position: absolute; left: 20px; top: 20px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); max-width: 320px; }
.map-pin b { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--ink); display: block; }
.map-pin p { font-size: 13.5px; color: var(--muted); margin: 4px 0 10px; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }

/* 404 */
.nf { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 160px 0 80px; }
.nf b { font-family: var(--serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); display: block; font-weight: 400; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0ms); }
[data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
[data-reveal="right"] { transform: translate3d(40px, 0, 0); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }
.line-grow { display: block; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; width: 80px; margin: 0 0 24px; }
.in .line-grow, .line-grow.in { transform: scaleX(1); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .nav-phone small { display: none; }
  .main-nav > ul > li > a { padding: 10px 11px; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 74px; }
  .topbar, .main-nav { display: none; }
  .burger { display: block; }
  .nav-phone { display: none; }
  .hero { padding: 140px 0 120px; align-items: flex-start; }
  .hero-card { margin-top: 40px; }
  .seal { right: 16px; top: -40px; width: 96px; height: 96px; }
  .seal img { width: 36px; height: 36px; }
  .area-grid, .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .detail-grid { grid-template-columns: 1fr; }
  .split-sticky, .sidebar { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .insight-card.featured { flex-direction: column; }
  .insight-card.featured .ic-img { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .wa-float, .to-top { display: none; }
  .action-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 950; background: rgba(10, 30, 54, .96); backdrop-filter: blur(12px); border-radius: 18px; padding: 8px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .08); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; font-size: 11.5px; font-weight: 600; padding: 7px 4px; border-radius: 12px; }
  .action-bar .ico { font-size: 19px; color: var(--gold-2); }
  .action-bar .ab-wa .ico { color: #25D366; }
  .action-bar .ab-main { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); }
  .action-bar .ab-main .ico { color: var(--ink); }
  body { padding-bottom: 86px; }
  /* slide-in from the sides only on desktop — on phones it widened the page */
  [data-reveal="left"], [data-reveal="right"] { transform: translate3d(0, 34px, 0); }
  .about-collage .deco-rings { display: none; }
}
@media (max-width: 767.98px) {
  body { font-size: 16px; }
  .area-grid, .insight-grid, .values-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -50px; }
  .c-card { padding: 20px 16px; }
  .why-item { padding: 82px 24px 26px; }
  .why-item .wn { left: 24px; top: 22px; font-size: 2.4rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .gallery .media:first-child { grid-row: auto; grid-column: span 2; }
  .gallery .media:nth-child(4) { grid-column: span 2; }
  .page-hero { padding: 150px 0 80px; min-height: 0; }
  .hero-bottom .scroll-cue { display: none; }
  .map-pin { position: static; max-width: none; border-radius: 0; box-shadow: none; }
  .map-wrap iframe { height: 340px; }
  .brand { width: 196px; height: 37px; }
  .about-badge { left: 10px; bottom: calc(12% + 10px); padding: 12px 14px; gap: 10px; max-width: 52%; border-radius: 12px; }
  .about-badge img { width: 32px; height: 32px; }
  .about-badge b { font-size: .95rem; }
  .about-badge small { font-size: 11px; margin-top: 2px; }
  .action-bar { left: 8px; right: 8px; gap: 2px; }
  .action-bar a { min-width: 0; font-size: 11px; }
  .brand img { height: 37px; }
  .hero-actions a { flex: 1 1 auto; justify-content: center; }
  .hero-trust { gap: 10px 18px; }
}
@media (max-width: 420px) {
  .contact-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .hero-in { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .action-bar, .wa-float, .to-top, .sidebar, .page-loader { display: none !important; }
  .page-hero { padding: 20px 0; min-height: 0; color: #000; background: none; }
  .ph-title { color: #000; }
}

/* Contact page: leave room for the overlapping contact cards */
.page-contact .page-hero { padding-bottom: 150px; }
@media (max-width: 767.98px) { .page-contact .page-hero { padding-bottom: 110px; } }

/* Website credits page */
.credit-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 46px); height: 100%; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.credit-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; border: 1px solid rgba(184, 138, 74, .25); box-shadow: 0 0 0 30px rgba(184, 138, 74, .04); }
.credit-ico { width: 60px; height: 60px; border-radius: 18px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; font-size: 24px; margin-bottom: 22px; }
.credit-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.credit-card h2 a { color: var(--navy); border-bottom: 2px solid var(--gold-2); }
.credit-card p a { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.credit-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.credit-list li { position: relative; padding-left: 28px; font-size: 15px; }
.credit-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 11px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.credit-note { margin-top: 44px; text-align: center; color: var(--muted); }
@media (max-width: 767.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
