/* =============================================================
   GODFATHER CONSULTANCY — Design System & Components
   Part of the Arsh Group of Companies
   Palette: Midnight Navy · Heritage Gold · Ivory
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --ink:        #0B0E16;   /* near-black navy — dark sections */
  --ink-2:      #10141F;
  --ink-3:      #1A2030;
  --gold:       #C6A15B;   /* heritage gold */
  --gold-bright:#E4C784;
  --gold-deep:  #9C7A38;
  --ivory:      #F7F3EC;   /* warm page background */
  --ivory-2:    #EFE9DE;
  --paper:      #FFFFFF;
  --emerald:    #3E6B54;   /* subtle heritage accent */
  --ruby:       #8E2C36;

  /* Text */
  --text:       #171C26;
  --text-soft:  #4A5160;
  --text-mute:  #7A8090;
  --text-inv:   #EDE9E1;
  --text-inv-soft: rgba(237,233,225,.66);

  /* Lines / surfaces */
  --line:       rgba(18,22,34,.10);
  --line-2:     rgba(18,22,34,.16);
  --line-inv:   rgba(230,220,198,.14);
  --surface:    #FBF9F4;

  /* Typography */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-brand: "Marcellus", "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.3rem, 4.6vw, 4rem);
  --fs-h1:      clamp(2.1rem, 4.2vw, 3.4rem);
  --fs-h2:      clamp(1.7rem, 3vw, 2.5rem);
  --fs-h3:      clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-lead:    clamp(1.05rem, 1.25vw, 1.2rem);
  --fs-body:    1rem;
  --fs-sm:      .875rem;
  --fs-kicker:  .76rem;

  /* Spacing scale (8pt) */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;
  --sp-9: 6rem;   --sp-10: 8rem;
  --section-y: clamp(4.5rem, 9vw, 9rem);

  /* Radii */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(11,14,22,.06), 0 2px 6px rgba(11,14,22,.05);
  --sh-md: 0 10px 30px -12px rgba(11,14,22,.18), 0 4px 10px -6px rgba(11,14,22,.10);
  --sh-lg: 0 30px 60px -22px rgba(11,14,22,.28), 0 10px 24px -14px rgba(11,14,22,.14);
  --sh-gold: 0 18px 40px -18px rgba(156,122,56,.5);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: .5s;

  --container: 1240px;
  --nav-h: 78px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.06; letter-spacing: -.015em; color: var(--text); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; }
p { color: var(--text-soft); }
::selection { background: var(--gold); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.flow > * + * { margin-top: var(--sp-4); }

/* ---------- Kicker / eyebrow ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-sans); font-size: var(--fs-kicker); font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.kicker--center::after { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.on-dark .kicker { color: var(--gold-bright); }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { font-size: var(--fs-lead); color: var(--text-soft); margin-top: 1.1rem; }
.section-head h2 { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: var(--r-pill);
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  background: var(--bg); color: var(--fg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0); }
.btn .btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--gold { --bg: var(--gold); --fg: #241c08; }
.btn--gold:hover { box-shadow: var(--sh-gold); background: var(--gold-bright); }
.btn--ghost { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold), var(--sh-sm); color: var(--text); }
.on-dark .btn--ghost { --fg: var(--text-inv); box-shadow: inset 0 0 0 1px var(--line-inv); }
.on-dark .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }

/* Animated text link */
.link-anim { position: relative; font-weight: 600; color: var(--text); display: inline-flex; gap: .45rem; align-items: center; }
.link-anim::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.link-anim:hover::after { transform: scaleX(1); transform-origin: left; }
.link-anim svg { transition: transform .35s var(--ease); }
.link-anim:hover svg { transform: translateX(4px); }
.on-dark .link-anim { color: var(--text-inv); }

/* ---------- Badges / pills ---------- */
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-soft); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* =============================================================
   NAVBAR
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), backdrop-filter .4s;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.nav.scrolled { height: 66px; background: rgba(247,243,236,.96); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--line-2), 0 10px 34px -16px rgba(11,14,22,.35); }
.nav.on-hero:not(.scrolled) .nav__link,
.nav.on-hero:not(.scrolled) .brand__name { color: var(--text-inv); }
.nav.on-hero:not(.scrolled) .brand__sub { color: var(--text-inv-soft); }
.nav.on-hero:not(.scrolled) .nav__toggle span { background: var(--text-inv); }

.brand { display: flex; align-items: center; gap: .9rem; }
.brand__logo { width: 64px; height: 64px; object-fit: contain; transition: width .4s var(--ease), height .4s var(--ease); filter: drop-shadow(0 4px 12px rgba(11,14,22,.28)); }
.nav.scrolled .brand__logo { width: 52px; height: 52px; }
.brand__name { font-family: var(--font-brand); font-size: 1.34rem; font-weight: 400; letter-spacing: .01em; line-height: 1; color: var(--text); }
.brand__sub { display: block; font-family: var(--font-sans); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-mute); margin-top: 4px; }

.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { position: relative; font-size: .92rem; font-weight: 500; color: var(--text); padding: .3rem 0; transition: color .3s; display: inline-flex; align-items: center; gap: .35rem; }
.nav__link .caret { transition: transform .3s var(--ease); }
.nav__item--drop:hover .nav__link .caret, .nav__item--drop:focus-within .nav__link .caret { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: 100%; left: -1rem; min-width: 232px; padding: .5rem;
  background: var(--paper); border-radius: var(--r-md); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__item--drop:hover .nav__drop, .nav__item--drop:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(6px); }
.nav__drop a { display: flex; flex-direction: column; gap: .1rem; padding: .7rem .85rem; border-radius: var(--r-sm); color: var(--text); transition: background .25s, color .25s; }
.nav__drop a small { font-size: .76rem; color: var(--text-mute); font-weight: 400; }
.nav__drop a:hover { background: var(--surface); color: var(--gold-deep); }
.nav__drop a:hover small { color: var(--gold-deep); }
.nav__drop a strong { font-weight: 600; font-size: .92rem; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease-out); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link:hover, .nav__link.active { color: var(--gold-deep); }
.nav.on-hero:not(.scrolled) .nav__link:hover { color: var(--gold-bright); }
.nav__cta { display: inline-flex; }

.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--text-inv); display: flex; flex-direction: column; padding: calc(var(--nav-h) + 1rem) clamp(1.5rem,6vw,3rem) 2.5rem; transform: translateX(100%); transition: transform .55s var(--ease); overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 2.5rem; }
.mobile-nav__brand img { width: 56px; }
.mobile-nav__brand span { font-family: var(--font-brand); font-weight: 400; font-size: 1.24rem; letter-spacing: .01em; }
.mobile-nav a.m-link { font-family: var(--font-display); font-size: clamp(1.8rem,7vw,2.4rem); font-weight: 500; padding: .55rem 0; color: var(--text-inv); border-bottom: 1px solid var(--line-inv); display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(14px); }
.mobile-nav.open a.m-link { animation: mLinkIn .5s var(--ease-out) forwards; }
.mobile-nav a.m-link span { color: var(--gold); font-size: 1rem; }
.mobile-nav a.m-link--sub { font-size: clamp(1.1rem,4vw,1.4rem); color: var(--gold-bright); padding-top: .3rem; padding-bottom: .7rem; margin-top: -.4rem; border-bottom-color: transparent; }
.mobile-nav a.m-link--sub::before { content: "↳"; margin-right: .6rem; opacity: .6; font-size: .85em; }
.mobile-nav__foot { margin-top: auto; padding-top: 2rem; color: var(--text-inv-soft); font-size: .9rem; }
.mobile-nav__foot a { color: var(--gold-bright); }
@keyframes mLinkIn { to { opacity: 1; transform: translateY(0); } }

/* =============================================================
   HERO
   ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--text-inv); overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(120% 90% at 78% 8%, rgba(198,161,91,.20), transparent 55%),
    radial-gradient(90% 70% at 12% 100%, rgba(62,107,84,.16), transparent 60%),
    linear-gradient(160deg, #0B0E16 0%, #10141F 48%, #090C12 100%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 3px 3px; mix-blend-mode: overlay; }
.hero__glow { position: absolute; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -6vw; top: -8vw; z-index: -1; background: radial-gradient(circle, rgba(198,161,91,.28), transparent 62%); filter: blur(20px); border-radius: 50%; animation: floatGlow 14s ease-in-out infinite; }
.hero__crest { position: absolute; right: clamp(-6rem,-2vw,0rem); top: 50%; transform: translateY(-50%); width: min(48vw, 560px); z-index: -1; opacity: .85; filter: drop-shadow(0 20px 60px rgba(0,0,0,.4)); animation: floatCrest 18s ease-in-out infinite; }
.hero__inner { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--nav-h) + clamp(1rem,2.5vw,2rem)); padding-bottom: clamp(2rem,4vw,3rem); text-align: left; }
.hero__inner > .kicker { margin-bottom: 1.25rem; }
.hero__title { font-size: var(--fs-display); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1.25rem; color: var(--text-inv); max-width: 15ch; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--gold-bright); }
.hero__lead { font-size: var(--fs-lead); max-width: 52ch; color: var(--text-inv-soft); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(1.5rem,3.5vw,3rem); margin-top: clamp(2rem,4vw,3rem); padding-top: 1.5rem; border-top: 1px solid var(--line-inv); }
.hero__meta .stat { min-width: 90px; }
.hero__meta .stat__num { color: var(--gold-bright); }
.hero__meta .stat__label { color: var(--text-inv-soft); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--text-inv-soft); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll .mouse { width: 22px; height: 34px; border: 1.5px solid var(--line-inv); border-radius: 12px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 6px; background: var(--gold-bright); border-radius: 2px; animation: scrollDot 1.8s infinite; }

/* Animated hero orbit (right side) */
.hero__orbit { position: absolute; right: clamp(-9rem,-1vw,2rem); top: 50%; transform: translateY(-50%); width: min(52vw, 620px); aspect-ratio: 1; z-index: 0; pointer-events: none; }
.hero__orbit::before { content: ""; position: absolute; inset: 33%; border-radius: 50%; background: radial-gradient(circle, rgba(228,199,132,.5), rgba(198,161,91,0) 66%); animation: corePulse 5s ease-in-out infinite; }
.hero__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(198,161,91,.16); }
.hero__ring:nth-child(2) { inset: 11%; }
.hero__ring:nth-child(3) { inset: 24%; }
.hero__ring:nth-child(4) { inset: 38%; border-color: rgba(198,161,91,.26); }
.hero__ring--spin { border-color: transparent; border-top-color: var(--gold-bright); animation: spin 16s linear infinite; }
.hero__ring--spin.rev { animation-duration: 26s; animation-direction: reverse; border-top-color: rgba(198,161,91,.5); }
.hero__sat { position: absolute; inset: 0; animation: spin linear infinite; }
.hero__sat::after { content: ""; position: absolute; top: 50%; left: -4px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 14px 2px rgba(228,199,132,.55); }
.hero__sat--1 { animation-duration: 15s; }
.hero__sat--2 { inset: 13%; animation-duration: 22s; animation-direction: reverse; }
.hero__sat--2::after { width: 7px; height: 7px; }
.hero__sat--3 { inset: 29%; animation-duration: 11s; }
.hero__sat--3::after { width: 5px; height: 5px; background: var(--gold); box-shadow: 0 0 10px 1px rgba(198,161,91,.5); }
@keyframes corePulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
@media (max-width: 900px) { .hero__orbit { opacity: .5; right: -20%; } }

@keyframes floatGlow { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(-2%,4%) scale(1.08);} }
@keyframes floatCrest { 0%,100% { transform: translateY(-50%) rotate(0);} 50% { transform: translateY(calc(-50% - 16px)) rotate(-1.2deg);} }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0);} 30% { opacity: 1;} 100% { opacity: 0; transform: translate(-50%,12px);} }

/* Stats */
.stat__num { font-family: var(--font-display); font-size: clamp(2rem,3vw,2.6rem); font-weight: 500; line-height: 1; color: var(--text); letter-spacing: -.02em; }
.stat__label { font-size: var(--fs-sm); color: var(--text-mute); margin-top: .4rem; }

/* =============================================================
   MARQUEE (Group companies / trust)
   ============================================================= */
.marquee { padding-block: clamp(1.6rem,3vw,2.4rem); background: var(--ink-2); color: var(--text-inv); overflow: hidden; border-block: 1px solid var(--line-inv); }
.marquee__label { text-align: center; font-size: var(--fs-kicker); letter-spacing: .22em; text-transform: uppercase; color: var(--text-inv-soft); margin-bottom: 1.4rem; }
.marquee__track { display: flex; gap: clamp(2rem,5vw,4.5rem); width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-size: clamp(1.05rem,1.8vw,1.4rem); font-weight: 500; color: rgba(237,233,225,.72); white-space: nowrap; display: flex; align-items: center; gap: 1rem; }
.marquee__item::after { content: "◆"; color: var(--gold); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   FEATURE / SPLIT SECTIONS
   ============================================================= */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem,5vw,5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.figure-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg,var(--ink) 0%, var(--ink-3) 100%); aspect-ratio: 4/5; box-shadow: var(--sh-lg); isolation: isolate; }
.figure-frame::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-inv); pointer-events: none; }
.figure-frame__glow { position: absolute; inset: -20% -10% auto auto; width: 70%; height: 70%; background: radial-gradient(circle, rgba(198,161,91,.4), transparent 65%); filter: blur(30px); }
.figure-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.figure-frame__badge { position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2; background: rgba(11,14,22,.55); backdrop-filter: blur(10px); color: var(--text-inv); padding: .8rem 1.1rem; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line-inv); }
.figure-frame__badge strong { font-family: var(--font-display); font-size: 1.1rem; display: block; }
.figure-frame__badge span { font-size: .78rem; color: var(--text-inv-soft); }

/* Value / feature list */
.checklist { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.checklist li { display: flex; gap: .9rem; align-items: flex-start; }
.checklist .ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: var(--ivory-2); display: grid; place-items: center; color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--line); }
.checklist b { color: var(--text); font-weight: 600; }
.checklist p { margin-top: .1rem; font-size: .95rem; }
.on-dark .checklist .ic { background: rgba(198,161,91,.12); color: var(--gold-bright); box-shadow: inset 0 0 0 1px var(--line-inv); }

/* =============================================================
   CARDS — Services / Value
   ============================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem,2vw,1.6rem); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards--4, .cards--2 { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.6rem,2.4vw,2.1rem); border-radius: var(--r-md);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg,var(--gold),var(--gold-bright)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.card:hover::before { transform: scaleX(1); }
.card__ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--ivory); color: var(--gold-deep); margin-bottom: 1.3rem; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background .4s, color .4s; }
.card:hover .card__ic { transform: translateY(-2px) rotate(-4deg); background: var(--ink); color: var(--gold-bright); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .96rem; }
.card__link { margin-top: auto; padding-top: 1.3rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--gold-deep); opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s; }
.card:hover .card__link { opacity: 1; transform: translateX(0); }
.card--num { counter-increment: card; }
.card__num { font-family: var(--font-display); font-size: .95rem; color: var(--gold-deep); letter-spacing: .1em; margin-bottom: 1rem; }

/* Dark card variant */
.card--dark { background: var(--ink-2); color: var(--text-inv); box-shadow: inset 0 0 0 1px var(--line-inv); }
.card--dark h3 { color: var(--text-inv); }
.card--dark p { color: var(--text-inv-soft); }
.card--dark .card__ic { background: rgba(198,161,91,.12); color: var(--gold-bright); box-shadow: inset 0 0 0 1px var(--line-inv); }

/* =============================================================
   INDUSTRIES GRID
   ============================================================= */
/* Editorial industry list — distinct from card grids */
.ind-list { border-top: 1px solid var(--line-2); }
.ind-row {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 56px 1.15fr 1.5fr auto; gap: clamp(1rem,2.5vw,2.5rem);
  padding: clamp(1.25rem,2.4vw,1.9rem) clamp(.5rem,1.5vw,1.25rem);
  border-bottom: 1px solid var(--line-2); overflow: hidden;
  transition: background .45s var(--ease), padding-left .4s var(--ease);
}
.ind-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease-out); }
.ind-row:hover { background: var(--surface); padding-left: clamp(1.25rem,2.5vw,2.25rem); }
.ind-row:hover::before { transform: scaleY(1); }
.ind-row__idx { font-family: var(--font-brand); font-size: 1.35rem; color: var(--text-mute); transition: color .4s; }
.ind-row:hover .ind-row__idx { color: var(--gold-deep); }
.ind-row__head { display: flex; align-items: center; gap: .95rem; }
.ind-row__ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--ivory-2); color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, color .4s, transform .5s var(--ease); }
.ind-row:hover .ind-row__ic { background: var(--ink); color: var(--gold-bright); transform: rotate(-4deg); }
.ind-row__thumb { flex: 0 0 auto; width: 84px; height: 60px; border-radius: 10px; object-fit: cover; box-shadow: inset 0 0 0 1px var(--line); filter: grayscale(.35) contrast(1.02); transition: filter .45s var(--ease), transform .5s var(--ease); }
.ind-row:hover .ind-row__thumb { filter: grayscale(0) contrast(1.05); transform: scale(1.03); }
@media (max-width: 760px) { .ind-row__thumb { width: 60px; height: 48px; } }
.ind-row h3 { font-size: 1.22rem; line-height: 1.15; }
.ind-row p { font-size: .95rem; color: var(--text-soft); }
.ind-row__arrow { color: var(--text-mute); opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .4s, color .4s; }
.ind-row:hover .ind-row__arrow { opacity: 1; transform: translateX(0); color: var(--gold-deep); }
@media (max-width: 760px) {
  .ind-row { grid-template-columns: 44px 1fr auto; gap: 1rem; }
  .ind-row__desc { grid-column: 1 / -1; padding-left: 60px; }
  .ind-row__arrow { display: none; }
}

/* =============================================================
   FOUNDER
   ============================================================= */
.founder { background: var(--ink); color: var(--text-inv); position: relative; overflow: hidden; }
.founder__glow { position: absolute; left: -10%; top: 10%; width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; background: radial-gradient(circle,rgba(198,161,91,.22),transparent 65%); filter: blur(30px); }
.founder__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem,5vw,5rem); align-items: center; position: relative; }
.founder__portrait { position: relative; border-radius: var(--r-lg); aspect-ratio: 3/4; background: linear-gradient(160deg,#141A28,#0A0D14); box-shadow: var(--sh-lg); display: grid; place-items: center; overflow: hidden; }
.founder__portrait::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-inv); border-radius: var(--r-lg); }
.founder__portrait .monogram { font-family: var(--font-display); font-size: clamp(4rem,10vw,7rem); color: var(--gold); opacity: .5; letter-spacing: -.03em; }
.founder__portrait .ring { position: absolute; width: 82%; height: 82%; border: 1px solid var(--line-inv); border-radius: 50%; }
.founder__portrait .ring::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border-top: 1.5px solid var(--gold); animation: spin 12s linear infinite; }
.founder__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: 1; }
.founder__portrait--photo .monogram, .founder__portrait--photo .ring { display: none; }
.founder__portrait .plate { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.4rem 1.2rem 1.2rem; background: linear-gradient(0deg,rgba(6,8,13,.92) 20%,transparent); z-index: 2; }
.founder__portrait .plate strong { font-family: var(--font-display); font-size: 1.15rem; display: block; }
.founder__portrait .plate span { font-size: .8rem; color: var(--gold-bright); letter-spacing: .05em; }
.founder__grid h2 { color: var(--text-inv); }
.founder blockquote { font-family: var(--font-display); font-size: clamp(1.35rem,2.4vw,1.9rem); font-weight: 400; line-height: 1.3; color: var(--text-inv); margin: 1.4rem 0; letter-spacing: -.01em; }
.founder blockquote .mark { color: var(--gold-bright); }
.founder__sig { margin-top: 1.8rem; }
.founder__sig strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-inv); }
.founder__sig span { display: block; font-size: .85rem; color: var(--gold-bright); letter-spacing: .05em; margin-top: .2rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================
   TIMELINE
   ============================================================= */
.timeline { position: relative; margin-top: 3rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold),transparent); }
.tl { position: relative; padding-left: 3rem; padding-bottom: 2.4rem; }
.tl:last-child { padding-bottom: 0; }
.tl__dot { position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 4px var(--ivory), inset 0 0 0 2px var(--gold); }
.on-dark .tl__dot { background: var(--ink); box-shadow: 0 0 0 4px var(--ink), inset 0 0 0 2px var(--gold); }
.tl__year { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-deep); font-weight: 600; }
.on-dark .tl__year { color: var(--gold-bright); }
.tl h3 { font-size: 1.2rem; margin: .3rem 0 .4rem; }
.tl p { font-size: .95rem; }

/* =============================================================
   STATS BAND
   ============================================================= */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,2vw,1.5rem); }
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stats-band .stat { text-align: center; padding: 1.75rem 1rem; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.stats-band .stat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.stats-band .stat__num { font-size: clamp(2.3rem,3.4vw,3rem); font-variant-numeric: tabular-nums; }
.stats-band .stat__label { font-size: var(--fs-sm); margin-top: .5rem; }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.quote-card { background: var(--paper); border-radius: var(--r-md); padding: clamp(1.8rem,2.5vw,2.4rem); box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.quote-card__mark { font-family: var(--font-display); font-size: 3.4rem; line-height: .6; color: var(--gold); opacity: .6; }
.quote-card p { font-size: 1.06rem; color: var(--text); margin: .6rem 0 1.4rem; font-family: var(--font-display); font-weight: 400; line-height: 1.45; }
.quote-card__who { display: flex; align-items: center; gap: .9rem; }
.quote-card__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--ink),var(--ink-3)); color: var(--gold-bright); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-inv); }
.quote-card__who strong { font-size: .95rem; color: var(--text); display: block; }
.quote-card__who span { font-size: .82rem; color: var(--text-mute); }

/* =============================================================
   FAQ ACCORDION
   ============================================================= */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; font-family: var(--font-display); font-size: clamp(1.1rem,1.7vw,1.35rem); font-weight: 500; color: var(--text); transition: color .3s; }
.faq__q:hover { color: var(--gold-deep); }
.faq__icon { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; position: relative; transition: background .3s, box-shadow .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), background .3s; }
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item.open .faq__icon { background: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.faq__item.open .faq__icon::before, .faq__item.open .faq__icon::after { background: #fff; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq__a-inner { padding: 0 0 1.6rem; max-width: 760px; }
.faq__a-inner p { font-size: 1rem; }

/* =============================================================
   CTA BAND
   ============================================================= */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--text-inv); border-radius: clamp(18px,3vw,32px); padding: clamp(2.6rem,6vw,5rem); text-align: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 50% -10%, rgba(198,161,91,.28), transparent 60%); }
.cta__crest { position: absolute; right: -3rem; bottom: -3rem; width: 320px; opacity: .1; z-index: -1; }
.cta h2 { color: var(--text-inv); font-size: clamp(2rem,4vw,3.2rem); max-width: 720px; margin-inline: auto; }
.cta p { color: var(--text-inv-soft); font-size: var(--fs-lead); max-width: 560px; margin: 1.2rem auto 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.2rem; }
.cta .btn--ghost { --fg: var(--text-inv); box-shadow: inset 0 0 0 1px var(--line-inv); }
.cta .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-bright); }

/* =============================================================
   CONTACT
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,4vw,4rem); align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info > .link-anim { margin-top: auto; padding-top: .5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .4s; }
.contact-item:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.contact-item .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--ivory); color: var(--gold-deep); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.contact-item h4 { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; }
.contact-item p, .contact-item a { font-size: 1.02rem; color: var(--text); margin-top: .2rem; }
.contact-item a:hover { color: var(--gold-deep); }

.form { background: var(--paper); padding: clamp(1.6rem,3vw,2.4rem); border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; margin-bottom: 1.2rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-soft); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; font-family: inherit; font-size: .98rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,161,91,.16); background: var(--paper); }
.form__note { font-size: .82rem; color: var(--text-mute); margin-top: .4rem; }
.form__status { margin-top: 1rem; font-size: .92rem; font-weight: 600; }
.form__status.ok { color: var(--emerald); }
.form__status.err { color: var(--ruby); }

.map-embed { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(.2) contrast(1.05); }

/* =============================================================
   PAGE HERO (inner pages)
   ============================================================= */
.page-hero { position: relative; background: var(--ink); color: var(--text-inv); padding-top: calc(var(--nav-h) + clamp(3rem,7vw,6rem)); padding-bottom: clamp(3rem,6vw,5rem); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 80% at 85% 0%, rgba(198,161,91,.2), transparent 55%), linear-gradient(160deg,#0B0E16,#10141F); }
.page-hero__crest { position: absolute; right: -4rem; top: 50%; transform: translateY(-50%); width: min(40vw,420px); opacity: .1; z-index: -1; }
.page-hero h1 { color: var(--text-inv); font-weight: 400; margin: 1.2rem 0 1.1rem; max-width: 16ch; }
.page-hero p { font-size: var(--fs-lead); color: var(--text-inv-soft); max-width: 620px; }
.breadcrumb { display: flex; gap: .5rem; font-size: .82rem; color: var(--text-inv-soft); align-items: center; }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb .sep { opacity: .5; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { background: var(--ink); color: var(--text-inv-soft); padding-top: clamp(3.5rem,6vw,5rem); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(2rem,4vw,3rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-inv); }
.footer__brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; }
.footer__brand img { width: 64px; }
.footer__brand strong { font-family: var(--font-brand); font-weight: 400; font-size: 1.34rem; letter-spacing: .01em; color: var(--text-inv); }
.footer__brand span { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
.footer__about { font-size: .94rem; max-width: 340px; line-height: 1.7; }
.footer h4 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; margin-bottom: 1.2rem; }
.footer__links li { margin-bottom: .7rem; }
.footer__links a { font-size: .95rem; color: var(--text-inv-soft); transition: color .3s, padding-left .3s; display: inline-block; }
.footer__links a:hover { color: var(--gold-bright); padding-left: 4px; }
.footer__contact li { display: flex; gap: .6rem; margin-bottom: .9rem; font-size: .94rem; }
.footer__contact .ic { color: var(--gold); flex: 0 0 auto; margin-top: 3px; }
.footer__contact a:hover { color: var(--gold-bright); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.8rem; font-size: .85rem; }
.footer__social { display: flex; gap: .7rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-inv); color: var(--text-inv-soft); transition: background .35s, color .35s, transform .35s; }
.footer__social a:hover { background: var(--gold); color: #1a1305; transform: translateY(-3px); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a:hover { color: var(--gold-bright); }

/* =============================================================
   ACCESSIBILITY
   ============================================================= */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 200; background: var(--gold); color: #1a1305; padding: .7rem 1.2rem; border-radius: var(--r-sm); font-weight: 600; transition: top .3s; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Prose (about/services detail) */
.prose { max-width: 68ch; }
.prose p { font-size: 1.06rem; margin-bottom: 1.3rem; }
.prose p:last-child { margin-bottom: 0; }

/* Utility */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.divider { height: 1px; background: var(--line); border: none; margin-block: var(--sp-6); }
.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); }
