/* Asera Group — site styles */

:root {
  --navy: #0f006e;
  --navy-700: #2a1fa0;
  --navy-900: #090042;
  --navy-50: #f1f0fa;
  --gold: #c99a2e;
  --gold-300: #e6c473;
  --gold-600: #9a7316;
  --ink: #17152a;
  --muted: #5d5a73;
  --line: #e8e5ee;
  --bg: #faf9f6;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 0, 110, .04), 0 4px 16px -4px rgba(15, 0, 110, .08);
  --shadow-lg: 0 2px 4px rgba(15, 0, 110, .04), 0 18px 40px -12px rgba(15, 0, 110, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --header-h: 72px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
a:hover { color: var(--gold-600); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-300); color: var(--navy-900); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .6rem; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin: 0 0 1.1rem; }
.intro-title { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin: 0 0 1.1rem; letter-spacing: normal; }
h3 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
p { margin: 0 0 1rem; text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #000; padding: .6rem 1rem; z-index: 100; border-radius: 8px;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(15, 0, 110, .92); color: #fff; position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(11, 0, 82, .9); box-shadow: 0 10px 30px -12px rgba(9, 0, 66, .5); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: #fff; }
.brand img { height: 48px; width: auto; clip-path: inset(0 0 4% 0); border-radius: 6px; }
.brand-text { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--font-body); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); margin-top: .2rem; }
.brand:hover { color: #fff; }

.nav-toggle {
  display: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
  border-radius: 10px; padding: .5rem .6rem; cursor: pointer; transition: background .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,.16); }
.nav-toggle svg { display: block; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: .15rem; align-items: center; }
.main-nav a {
  display: block; color: rgba(255,255,255,.86); text-decoration: none; padding: .5rem .9rem; border-radius: 999px;
  font-size: .93rem; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s;
}
.main-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.main-nav a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; }
.main-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(230, 196, 115, .45); }
.has-sub > a::after {
  content: ""; display: inline-block; width: .38em; height: .38em; margin-left: .45em; vertical-align: .2em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7;
}

.has-sub { position: relative; }
.has-sub > ul {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; background: #fff; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: .45rem;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-sub > ul::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover > ul, .has-sub:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.has-sub > ul a { color: var(--ink); font-size: .92rem; border-radius: 8px; padding: .5rem .75rem; }
.has-sub > ul a:hover, .has-sub > ul a[aria-current="page"] { background: var(--navy-50); color: var(--navy); box-shadow: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); display: none;
    border-top: 1px solid rgba(255,255,255,.08); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.4);
  }
  .main-nav.open { display: block; animation: nav-in .22s var(--ease); }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: .75rem 16px 1.25rem; gap: .1rem; }
  .main-nav a { padding: .75rem .9rem; border-radius: 10px; font-size: 1rem; }
  .main-nav > ul > li > a[aria-current="page"] { box-shadow: none; }
  .has-sub > a::after { display: none; }
  .has-sub > ul { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 .25rem .75rem; min-width: 0; }
  .has-sub > ul::before { display: none; }
  .has-sub > ul a { color: rgba(255,255,255,.72); font-size: .93rem; padding: .55rem .9rem; }
  .has-sub > ul a:hover, .has-sub > ul a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
  .brand-text { display: none; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.75rem, 6vw, 4.25rem);
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(201, 154, 46, .28), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(80, 60, 220, .45), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; color: var(--gold-300); text-transform: uppercase;
  letter-spacing: .16em; font-size: .74rem; font-weight: 600; margin: 0 0 .9rem;
}
.page-hero .eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.page-hero .lead { max-width: 46rem; color: rgba(255,255,255,.8); margin: 0; font-size: clamp(1.02rem, 1.6vw, 1.18rem); }
.breadcrumb { font-size: .82rem; margin: 0 0 1.4rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Layout ---------- */
main { display: block; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.layout > *, .intro > * { min-width: 0; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2.25rem); }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin: .3rem 0; padding-left: .2rem; }
.prose li::marker { color: var(--gold); }
.cols-2 { columns: 2 220px; column-gap: 2rem; }
.cols-2 li { break-inside: avoid; }
.cols-3 { columns: 3 180px; column-gap: 2rem; }
.cols-3 li { break-inside: avoid; }

/* ---------- Sidebar ---------- */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .sidebar { position: static; } }
.sidebar h2 { font-size: 1.25rem; margin-bottom: .8rem; }
.company-list { list-style: none; margin: 0 -.5rem; padding: 0; }
.company-list a {
  display: flex; align-items: center; gap: .65rem; padding: .55rem .6rem; border-radius: 10px; text-decoration: none;
  color: var(--ink); font-size: .93rem; line-height: 1.35; transition: background .2s, color .2s, padding .2s;
}
.company-list a::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.company-list a:hover { background: var(--navy-50); color: var(--navy); }
.company-list a:hover::before { background: var(--gold); }
.company-list a[aria-current="page"] { background: var(--navy); color: #fff; font-weight: 600; }
.company-list a[aria-current="page"]::before { background: var(--gold-300); transform: scale(1.3); }

/* ---------- Slider ---------- */
.hero-slider { padding: 1.75rem 0 0; }
.slider { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900); aspect-ratio: 940 / 318; isolation: isolate; }
.slider::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, rgba(9, 0, 66, .45), transparent); pointer-events: none; z-index: 1; }
.slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.slider .slide.active { opacity: 1; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.slider .slide.active img { transform: scale(1); }
.slider-btn {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); color: #fff;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  opacity: 0; transition: opacity .25s, background .2s;
}
.slider:hover .slider-btn, .slider-btn:focus-visible { opacity: 1; }
@media (hover: none) { .slider-btn { opacity: 1; } }
.slider-btn:hover { background: rgba(255,255,255,.3); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; padding: 0 70px; }
.slider-dots button { width: 7px; height: 7px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.slider-dots button:hover { background: rgba(255,255,255,.85); }
.slider-dots button[aria-current="true"] { width: 26px; background: var(--gold-300); }
@media (max-width: 600px) {
  .hero-slider { padding-top: 1rem; }
  .slider { border-radius: var(--radius); }
  .slider-btn { width: 34px; height: 34px; }
  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }
  .slider-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) { .slider .slide, .slider .slide img { transition: none; transform: none; } }

/* ---------- Home ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 2rem; align-items: stretch; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 1.75rem 0 2rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.stat { background: #fff; padding: 1.1rem .75rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.7rem, 3.5vw, 2.3rem); color: var(--navy); line-height: 1.05; letter-spacing: -.02em; }
.stat span { display: block; margin-top: .3rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.founder-teaser {
  display: flex; flex-direction: column; color: #fff; border: 0;
  background: radial-gradient(500px 260px at 100% 0%, rgba(201, 154, 46, .3), transparent 65%), linear-gradient(160deg, var(--navy), var(--navy-900));
}
.founder-teaser h2 { color: #fff; }
.founder-teaser img { align-self: flex-start; width: 112px; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; margin: .25rem 0 1.5rem; box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 0 5px rgba(230, 196, 115, .5); }
.founder-teaser blockquote { margin: 0 0 1.5rem; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.45; color: rgba(255,255,255,.92); position: relative; padding-top: 1.6rem; }
.founder-teaser blockquote::before { content: "“"; position: absolute; top: -.6rem; left: -.1rem; font-size: 3.6rem; line-height: 1; color: var(--gold-300); }
.founder-teaser .btn { margin-top: auto; align-self: flex-start; }
.founder-teaser .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.founder-teaser .btn-outline:hover { background: #fff; border-color: #fff; color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--navy); color: #fff; text-decoration: none;
  padding: .75rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .93rem; line-height: 1.2; border: 1.5px solid var(--navy);
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn::after { content: "→"; transition: transform .2s var(--ease); }
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(15, 0, 110, .5); }
.btn:hover::after { transform: translateX(3px); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(15, 0, 110, .25); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }

/* ---------- Company grid ---------- */
.sector { margin-bottom: 3rem; }
.sector:last-child { margin-bottom: 0; }
.sector-title {
  display: flex; align-items: center; gap: 1rem; font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: var(--gold-600); margin: 0 0 1.25rem;
}
.sector-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.company-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.company-card .thumb { aspect-ratio: 16 / 10; background: var(--navy-50); overflow: hidden; }
.company-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.company-card:hover .thumb img { transform: scale(1.06); }
.company-card .thumb.placeholder {
  display: grid; place-items: center; color: var(--gold-300); font-family: var(--font-head); font-size: 2.4rem; letter-spacing: .04em;
  background: radial-gradient(260px 160px at 80% 0%, rgba(201, 154, 46, .3), transparent 70%), linear-gradient(150deg, var(--navy), var(--navy-900));
}
.company-card .body { padding: 1.2rem 1.3rem 1.35rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.company-card h3 { margin: 0; font-size: 1.22rem; }
.company-card .tag { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-600); }
.company-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; flex: 1; }
.company-card .more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; font-size: .86rem; color: var(--navy-700); margin-top: .6rem; transition: gap .2s var(--ease); }
.company-card:hover .more { gap: .55rem; }

/* ---------- Tabs ---------- */
.tabs [role="tablist"] {
  display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; margin-bottom: 1.75rem;
  background: var(--navy-50); border-radius: 999px; max-width: 100%;
}
.tabs [role="tab"] {
  appearance: none; background: none; border: 0; border-radius: 999px;
  padding: .5rem 1.1rem; font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.tabs [role="tab"]:hover { color: var(--navy); }
.tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(15, 0, 110, .1), 0 2px 8px rgba(15, 0, 110, .08); }
.tab-panel:focus { outline: none; }
.js .tab-panel:not([hidden]) { animation: panel-in .3s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tab-panel > h2.panel-title { font-size: 1.5rem; }
.js .tabs .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .tab-panel + .tab-panel { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .tabs [role="tablist"] { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs [role="tablist"]::-webkit-scrollbar { display: none; }
  .tabs [role="tab"] { white-space: nowrap; }
}

/* ---------- Gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.gallery a, .gallery figure { position: relative; display: block; margin: 0; border-radius: 12px; overflow: hidden; background: var(--navy-50); aspect-ratio: 180 / 149; }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 0, 66, .35), transparent 60%); opacity: 0; transition: opacity .3s; }
.gallery a:hover::after { opacity: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; background: rgba(6, 2, 28, .88); display: none; align-items: center; justify-content: center; z-index: 200; padding: 3.5rem;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: lb-in .25s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.55); background: #fff; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: .85rem; font-variant-numeric: tabular-nums; letter-spacing: .05em; }
@media (max-width: 600px) { .lightbox { padding: 3.5rem .75rem; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 6px; transform: none; } }

/* ---------- Logos ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.logo-grid li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem; display: grid; place-items: center; min-height: 100px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.logo-grid li:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.logo-grid img { max-height: 70px; width: auto; }
.logo-grid.brands li { min-height: 86px; }

/* ---------- Contact ---------- */
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1.5rem; margin: 0 0 1.5rem; }
.contact-list dt { font-weight: 600; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; padding-top: .2rem; }
.contact-list dd { margin: 0; }
.contact-list dd a { overflow-wrap: anywhere; }
@media (max-width: 520px) { .contact-list { grid-template-columns: 1fr; gap: .1rem; } .contact-list dd { margin-bottom: .7rem; } }

.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.5rem; }
@media (max-width: 400px) { .directory { grid-template-columns: 1fr; } }
.directory .card { padding: 1.5rem; transition: box-shadow .25s, transform .25s var(--ease); }
.directory .card:hover { box-shadow: var(--shadow-lg); }
.directory h3 { margin: 0 0 .9rem; font-size: 1.2rem; }
.directory h3 a { text-decoration: none; color: var(--navy); }
.directory h3 a:hover { color: var(--gold-600); }
.directory .contact-list { font-size: .9rem; margin: 0; gap: .4rem 1rem; }

/* ---------- Founders / testimonials ---------- */
.founder { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.founder + .founder { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.founder img { border-radius: 14px; box-shadow: var(--shadow); }
.founder h2 { font-size: 1.6rem; margin-bottom: .7rem; }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 260px; } }

.testimonial { position: relative; margin: 0 0 1.5rem; padding: 1.4rem 1.5rem 1.25rem 1.5rem; background: var(--navy-50); border-radius: var(--radius); }
.testimonial::before { content: "“"; position: absolute; top: .1rem; right: 1rem; font-family: var(--font-head); font-size: 4rem; line-height: 1; color: rgba(201, 154, 46, .45); }
.testimonial p:last-of-type { margin-bottom: .6rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: .88rem; }

.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.values li { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.values strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; color: var(--navy); margin-bottom: .2rem; }

.project { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; margin-bottom: 1.75rem; }
.project img { border-radius: 12px; }
.project h3 { margin-top: 0; }
@media (max-width: 600px) { .project { grid-template-columns: 1fr; } }

.service-logos { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.service-logos li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .45rem; }

.note { font-size: .88rem; color: var(--muted); }

/* ---------- Scroll reveal (only when JS has opted in) ---------- */
.reveal-ready .reveal { opacity: 0; }
.reveal-ready .reveal.in { opacity: 1; animation: reveal-in .6s var(--ease) backwards; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; color: rgba(255,255,255,.72); padding: 4rem 0 1.75rem; font-size: .93rem;
  background: radial-gradient(800px 300px at 100% 0%, rgba(201, 154, 46, .12), transparent 60%), var(--navy-900);
}
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.site-footer a { color: rgba(255,255,255,.92); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h2 { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.site-footer .footer-grid > div:not(:first-child) h2 { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer address { font-style: normal; line-height: 1.8; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; transition: background .2s, color .2s, transform .2s var(--ease); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.4rem; font-size: .82rem; color: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
