/* ==========================================================================
   KONG Global — site styles
   Dark editorial base · cinematic imagery · clean grid structure
   ========================================================================== */

:root {
  --ink: #0a0908;
  --ink-2: #110f0d;
  --ink-3: #1a1714;
  --bone: #ede6d8;
  --bone-dim: #b9b0a2;
  --muted: #857c70;
  --gold: #c9a24a;
  --gold-hi: #e8cf8a;
  --gold-lo: #8a6d2c;
  --line: rgba(201, 162, 74, 0.2);
  --line-soft: rgba(237, 230, 216, 0.08);
  --ember: #b3242c;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse 55% 38% at 82% 8%, rgba(78, 58, 140, 0.16), rgba(78, 58, 140, 0) 70%),
    radial-gradient(ellipse 45% 32% at 8% 55%, rgba(38, 70, 130, 0.12), rgba(38, 70, 130, 0) 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(201, 162, 74, 0.06), rgba(201, 162, 74, 0) 70%),
    radial-gradient(ellipse at 70% 0%, #15110c 0%, var(--ink) 55%);
  background-attachment: fixed;
  background-color: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }

/* grain overlay for a filmic finish */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 500;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 4px; }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.7; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--bone);
}
h1 { font-size: clamp(46px, 7.4vw, 104px); }
h2 { font-size: clamp(36px, 4.8vw, 64px); }
h3 { font-size: clamp(26px, 2.4vw, 34px); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-hi); font-weight: 400; }

.lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--bone-dim); max-width: 58ch; }

.wordmark {
  font-family: var(--sans);
  font-weight: 200;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn-ghost { color: var(--bone); border-color: rgba(237, 230, 216, 0.3); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  font-size: 11px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; gap: 10px; align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: color 0.3s, border-color 0.3s;
}
.text-link:hover { color: var(--gold-hi); border-color: var(--gold-hi); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 38px; width: auto; }
.brand .wordmark { font-size: 13px; color: var(--bone); }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav a {
  position: relative;
  font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bone-dim);
  padding: 6px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); }
.nav .nav-cta svg { width: 11px; height: 11px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: var(--bone);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; justify-content: center; gap: 34px;
    background: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
  }
  .nav a { font-size: 13px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { background: var(--ink); }
  .menu-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -200px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(201, 162, 74, 0.16) 0%, rgba(201, 162, 74, 0) 62%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.hero h1 { margin-bottom: 30px; }
.hero h1 .line { display: block; }
.hero .lede { margin: 0 0 42px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 26px;
  text-align: center;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  z-index: 2;
}

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line-soft);
}
.hero-foot .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  height: 64px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.hero-foot .regions span + span::before { content: "·"; margin: 0 12px; color: var(--gold); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 26px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 900px) {
  .hero { padding-bottom: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .singularity { order: -1; width: min(86%, 400px); margin-top: 4px; }
  .hero-foot .scroll-cue { display: none; }
  .hero-foot .wrap { justify-content: center; }
}
@media (max-width: 520px) {
  .hero-foot .regions span + span::before { margin: 0 6px; }
  .hero-foot .wrap { letter-spacing: 0.18em; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section-alt { background: rgba(17, 15, 13, 0.72); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lede { margin: 0; justify-self: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .lede { justify-self: start; } }

.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* Statement / about */
.statement { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); }
.statement-text p.big {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3;
  margin: 0 0 30px; color: var(--bone);
}
.statement-text p { color: var(--bone-dim); margin: 0 0 20px; max-width: 60ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 50px; }
.stat { padding: 28px 20px 0 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--gold-hi); }
.stat span { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }

/* Division cards */
.houses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.house {
  position: relative; display: flex; flex-direction: column;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  isolation: isolate;
}
.house img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: saturate(0.85) brightness(0.8);
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}
.house::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.1) 0%, rgba(10, 9, 8, 0.2) 40%, rgba(10, 9, 8, 0.94) 100%);
}
.house:hover img { transform: scale(1.06); filter: saturate(1) brightness(0.95); }
.house-top { display: flex; justify-content: space-between; padding: 22px; font-size: 11px; letter-spacing: 0.24em; color: var(--gold-hi); }
.house-top svg { width: 26px; height: 26px; stroke: var(--gold-hi); }
.house-body { margin-top: auto; padding: 24px; }
.house .tag { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.house h3 { margin: 10px 0 12px; font-size: clamp(24px, 2vw, 30px); }
.house p { margin: 0; font-size: 14px; color: var(--bone-dim); line-height: 1.6; }
.house .more {
  display: inline-block; margin-top: 18px;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.house:hover .more, .house:focus-visible .more { opacity: 1; transform: none; }
.house .parent-badge {
  position: absolute; top: 60px; left: 22px;
  font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 5px 9px;
}
@media (max-width: 1080px) { .houses { grid-template-columns: repeat(2, 1fr); } .house { aspect-ratio: 4 / 5; } }
@media (max-width: 560px) { .houses { grid-template-columns: 1fr; } .house { aspect-ratio: 4 / 5; } .house .more { opacity: 1; transform: none; } }

/* Heritage band */
.heritage {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.heritage-bg { position: absolute; inset: 0; z-index: -2; }
.heritage-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.heritage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.96) 0%, rgba(10, 9, 8, 0.82) 40%, rgba(10, 9, 8, 0.2) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(10, 9, 8, 0) 25%);
}
.heritage-copy { max-width: 560px; }
.heritage-copy h2 { margin-bottom: 26px; }
.heritage-copy p { color: var(--bone-dim); margin: 0 0 34px; }
@media (max-width: 760px) {
  .heritage::before { background: linear-gradient(0deg, rgba(10, 9, 8, 0.97) 35%, rgba(10, 9, 8, 0.55) 100%); }
  .heritage { align-items: flex-end; padding-bottom: 80px; }
}

/* Quote */
.quote { text-align: center; padding: clamp(110px, 14vw, 190px) 0; position: relative; }
.quote blockquote {
  margin: 0 auto; max-width: 22ch;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1.15; color: var(--bone);
}
.quote blockquote em { color: var(--gold-hi); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(80px, 12vw, 150px)) 0 clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 700px; height: 700px; left: 50%; top: 0; transform: translate(-50%, -45%);
  background: radial-gradient(circle, rgba(201, 162, 74, 0.14), rgba(201, 162, 74, 0) 65%);
}
.page-hero h1 { font-size: clamp(52px, 8vw, 116px); margin-bottom: 26px; }
.page-hero .lede { margin: 0; }
.page-hero .index-list {
  display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 48px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
}
.page-hero .index-list a { color: var(--bone-dim); transition: color 0.3s; }
.page-hero .index-list a:hover { color: var(--gold-hi); }
.page-hero .index-list b { color: var(--gold); font-weight: 500; margin-right: 10px; }

/* ---------- Nexus divisions (editorial rows) ---------- */

.division {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: var(--header-h);
}
.division:nth-of-type(even) .division-media { order: 2; }
.division-media { position: relative; }
.division-media .frame { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line-soft); }
.division-media img { width: 100%; height: 100%; object-fit: cover; }
.division-copy h2 { margin-bottom: 24px; }
.division-copy p { color: var(--bone-dim); margin: 0 0 20px; }
.division-copy .badge {
  display: inline-block; margin-bottom: 18px;
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 6px 10px;
}
.people { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.people li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.people .role { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.people .name { font-family: var(--serif); font-size: 21px; color: var(--bone); text-align: right; }
@media (max-width: 860px) {
  .division { grid-template-columns: 1fr; }
  .division:nth-of-type(even) .division-media { order: 0; }
}

/* ---------- Holding pages (products / honors) ---------- */

.holding { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.holding-mark { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line-soft); position: relative; }
.holding-mark svg { width: 62%; height: auto; }
.holding-mark::before, .holding-mark::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--gold); }
.holding-mark::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.holding-mark::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.holding h2 { margin-bottom: 24px; }
.holding p { color: var(--bone-dim); margin: 0 0 20px; max-width: 56ch; }
.status-list { list-style: none; margin: 34px 0 38px; padding: 0; border-top: 1px solid var(--line); }
.status-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.status-list a { font-family: var(--serif); font-size: 22px; transition: color 0.3s; }
.status-list a:hover { color: var(--gold-hi); }
.status-list small { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.status-list small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (max-width: 860px) { .holding { grid-template-columns: 1fr; } .holding-mark { max-width: 320px; } }

/* ---------- Contact (protected) ---------- */

.channel-main {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  padding: 44px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(201, 162, 74, 0.08), rgba(201, 162, 74, 0) 60%);
}
.channel-main .big-mail { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); color: var(--gold-hi); word-break: break-word; }
.channel-main .big-mail:hover { color: var(--bone); }
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 18px; }
.channel { background: var(--ink); padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; }
.channel svg { width: 26px; height: 26px; stroke: var(--gold); }
.channel h3 { font-size: 22px; }
.channel a { font-size: 12.5px; color: var(--bone-dim); overflow-wrap: anywhere; transition: color 0.3s; }
.channel a:hover { color: var(--gold-hi); }
@media (max-width: 1000px) { .channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .channels { grid-template-columns: 1fr; } .channel-main { padding: 28px; } }

.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.member { border: 1px solid var(--line-soft); background: var(--ink-2); }
.member .photo { aspect-ratio: 4 / 5; overflow: hidden; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05); transition: filter 0.6s var(--ease), transform 1s var(--ease); }
.member:hover .photo img { filter: none; transform: scale(1.03); }
.member .info { padding: 22px 24px 26px; }
.member h3 { font-size: 26px; margin-bottom: 6px; }
.member .role { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.member a { font-size: 13px; color: var(--bone-dim); overflow-wrap: anywhere; }
.member a:hover { color: var(--gold-hi); }
@media (max-width: 1000px) { .members { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .members { grid-template-columns: 1fr; } }

.private-note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted);
}
.private-note svg { width: 12px; height: 12px; stroke: var(--gold); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line-soft); padding: 80px 0 36px; background: rgba(10, 9, 8, 0.85); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 22px; }
.footer-brand .wordmark { font-size: 15px; display: block; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 34ch; margin: 0; }
.footer-col h4 { font-size: 10px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 6px 0 20px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--bone-dim); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; border-top: 1px solid var(--line-soft);
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.lost img { width: 90px; margin: 0 auto 34px; opacity: 0.85; }
.lost h1 { font-size: clamp(60px, 10vw, 140px); }
.lost p { color: var(--bone-dim); margin: 16px 0 36px; }

.member .photo.monogram {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 162, 74, 0.16), rgba(201, 162, 74, 0) 60%),
    var(--ink-3);
}
.member .photo.monogram span {
  font-family: var(--serif); font-size: 96px; font-weight: 400; letter-spacing: 0.04em;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
}

/* ==========================================================================
   Singularity theme — the KONG mark at the centre of a black hole.
   Accretion disk (chaos) spirals inward forever; an infinity path loops
   around the horizon.
   ========================================================================== */

#cosmos {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}

.singularity {
  position: relative; justify-self: center;
  width: min(100%, 580px); aspect-ratio: 1;
}
.singularity::before {
  content: ""; position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 207, 138, 0.16) 18%, rgba(201, 162, 74, 0.06) 42%, rgba(201, 162, 74, 0) 70%);
}
.singularity canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.horizon {
  position: absolute; left: 50%; top: 50%;
  width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 50%;
  pointer-events: none;
}
.horizon { perspective: 700px; }
.horizon .mark {
  width: 58%; height: auto; overflow: visible;
  filter: drop-shadow(0 0 8px rgba(232, 207, 138, 0.5)) drop-shadow(0 0 26px rgba(201, 162, 74, 0.32));
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform 0.6s var(--ease), opacity 1.4s var(--ease), filter 1.4s var(--ease);
  opacity: 0;
}
.horizon .mark g { transform-box: fill-box; }
.singularity.formed .horizon .mark,
.no-js .horizon .mark { opacity: 1; animation: breathe 7s ease-in-out 1.4s infinite; }
.singularity.forming .horizon .mark { filter: drop-shadow(0 0 30px rgba(255, 240, 200, 0.9)); }
@keyframes breathe {
  0%, 100% { scale: 1; }
  50% { scale: 1.045; }
}

/* small version for the quote section */
.mini-hole {
  position: relative; width: 104px; aspect-ratio: 1; margin: 0 auto 40px;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, #000 52%, rgba(0, 0, 0, 0) 53%);
}
.mini-hole::before, .mini-hole::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(232, 207, 138, 0) 0deg, rgba(232, 207, 138, 0.9) 70deg, rgba(201, 162, 74, 0) 160deg, rgba(232, 207, 138, 0.55) 250deg, rgba(232, 207, 138, 0) 360deg);
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 57%, #000 66%, transparent 70%);
          mask: radial-gradient(circle, transparent 55%, #000 57%, #000 66%, transparent 70%);
  animation: spin 9s linear infinite;
}
.mini-hole::after { inset: -18px; opacity: 0.35; filter: blur(6px); animation-duration: 14s; animation-direction: reverse; }
.mini-hole img { width: 44%; height: auto; position: relative; filter: drop-shadow(0 0 8px rgba(232, 207, 138, 0.5)); }

/* accretion swirl behind inner page titles */
.page-hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; left: 50%; top: 0; margin-left: -450px; margin-top: -560px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(201, 162, 74, 0), rgba(201, 162, 74, 0.16), rgba(201, 162, 74, 0) 35%, rgba(232, 207, 138, 0.1) 60%, rgba(201, 162, 74, 0) 80%);
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 30%, transparent 70%);
          mask: radial-gradient(circle, transparent 18%, #000 30%, transparent 70%);
  filter: blur(18px);
  animation: spin 80s linear infinite;
}

/* the italic accent words shimmer like light bending around the horizon */
.hero h1 em {
  background: linear-gradient(100deg, var(--gold) 20%, #fff4d6 45%, var(--gold-hi) 55%, var(--gold) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: lens 9s ease-in-out infinite;
}
@keyframes lens { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---- Luxury mark: bezel ring, corona rays, crown glints ---- */
.singularity canvas { z-index: 1; }
.singularity::after {
  content: ""; position: absolute; inset: 12%; border-radius: 50%; z-index: 0;
  background: repeating-conic-gradient(from 0deg, rgba(232, 207, 138, 0.10) 0deg 0.6deg, rgba(232, 207, 138, 0) 0.6deg 7.5deg);
  -webkit-mask: radial-gradient(circle, transparent 26%, #000 34%, transparent 72%);
          mask: radial-gradient(circle, transparent 26%, #000 34%, transparent 72%);
  animation: spin 160s linear infinite reverse;
}
.bezel {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 64%; aspect-ratio: 1; transform: translate(-50%, -50%);
  pointer-events: none; opacity: 0;
  filter: drop-shadow(0 0 4px rgba(232, 207, 138, 0.45));
  transition: opacity 2s var(--ease);
}
.bezel g:first-child, .bezel g:last-child { transform-origin: 200px 200px; animation: spin 120s linear infinite; }
.singularity.formed .bezel, .no-js .bezel { opacity: 1; }
.horizon { z-index: 3; }
.glint {
  opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: glint 6s ease-in-out infinite; animation-delay: var(--d);
}
.glint path { transform-box: fill-box; transform-origin: center; animation: inherit; animation-name: glint-spin; }
@keyframes glint {
  0%, 82%, 100% { opacity: 0; }
  88% { opacity: 1; }
}
@keyframes glint-spin {
  0%, 82% { transform: scale(0.2) rotate(0deg); }
  88% { transform: scale(1) rotate(45deg); }
  100% { transform: scale(0.2) rotate(90deg); }
}
.singularity:not(.formed) .glints { display: none; }
