/* Tenby Nigeria Limited
   Brand pivot, Aug 2026: near-black throughout, gold glow accents,
   fully rounded pills and panels. Replaces the earlier flat/square
   system — see git history if that version is ever wanted back. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/archivo-400.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/archivo-500.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/archivo-600.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/archivo-700.woff2") format("woff2");
}

:root {
  --gold:        #ccad5b;
  --gold-bright: #e7c979;
  --gold-dim:    #a98c42;

  --bg:      #070706;
  --panel:   #121210;
  --panel-2: #191916;
  --black:   #000000;

  --ink:      #f3efe6;
  --muted:    #a9a49a;
  --muted-2:  #726d63;

  --line:        rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glow:        rgba(204, 173, 91, 0.35);

  --radius:      22px;
  --radius-s:    13px;
  --radius-full: 999px;

  --wrap: 1180px;
  --pad: 24px;

  --sans: "Archivo", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.005em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-s) 0;
  z-index: 100;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Small uppercase label */
.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0 0 14px;
}
.label-gold { color: var(--gold); }

/* ---------- header: floating rounded capsule, black but transparent ---------- */

.site-head {
  /* fixed, not sticky — sticky still reserves its own height in normal
     flow even before it "sticks", which was silently pushing .hero
     (and every page-head) down by ~80px of flat page background. That
     gap used to be hidden because the header's own fill was opaque
     enough to mask it; now that it's meant to be transparent, the
     header has to actually float over the photo instead of sitting
     in a gap above it. */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 16px var(--pad) 0;
  pointer-events: none;
}
.site-head .head-inner { pointer-events: auto; }

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 12px 14px 12px 24px;
  /* flat translucent tint, deliberately no backdrop-filter blur —
     blur's compositing depends on GPU support that isn't guaranteed
     everywhere, whereas a plain rgba fill reliably blends with
     whatever photo is behind it in any browser */
  background: rgba(8, 8, 7, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}

.brand { display: block; color: var(--gold); }
.brand img { width: 168px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(243, 239, 230, 0.8);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  transition: color 0.25s ease, background-color 0.25s ease;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.nav a[aria-current="page"] {
  color: var(--black);
  background: var(--gold);
}
.nav a[aria-current="page"]:hover { background: var(--gold-bright); }

.nav-tel {
  margin-left: 8px;
  color: var(--black) !important;
  background: var(--gold);
  font-weight: 700 !important;
}
.nav-tel:hover { background: var(--gold-bright) !important; color: var(--black) !important; }

/* Hamburger toggle — hidden on desktop, revealed at the mobile
   breakpoint where the inline nav becomes a full-screen overlay.
   Kept above the overlay (z-index) so it can also close the menu. */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 70;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--black);
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

/* black-and-white photo, kept legible and clear rather than crushed
   toward black — no canvas, no motion, just a quiet, visible backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image: url("../assets/img/hero-lagos.jpg");
  background-size: cover;
  background-position: 50% 55%;
  filter: grayscale(1) brightness(0.5) contrast(1.15);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* light at the very top, where the header sits, so its translucent
     pill actually shows photo through it — only shades in further
     down, for the heading/lead's legibility */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(110px, 11vw, 150px);
  padding-bottom: clamp(100px, 12vw, 160px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero .label { justify-content: center; }
.hero h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  max-width: 52ch;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.72);
}

.hero-meta {
  display: block;
  margin-top: 26px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

/* pill button, fills gold on hover */
.btn {
  display: inline-block;
  margin-top: 34px;
  padding: 15px 32px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 0 0 8px rgba(204, 173, 91, 0.12);
}
.btn.btn-solid { background: var(--gold); color: var(--black); }
.btn.btn-solid:hover { background: var(--gold-bright); }

/* staggered entrance for the hero copy, played once on load */
.hero-inner .label,
.hero-inner h1,
.hero-inner .lead,
.hero-inner .btn,
.hero-inner .hero-meta {
  opacity: 0;
  animation: hero-in 0.8s ease forwards;
}
.hero-inner .label     { animation-delay: 0.02s; }
.hero-inner h1          { animation-delay: 0.12s; }
.hero-inner .lead       { animation-delay: 0.24s; }
.hero-inner .btn        { animation-delay: 0.36s; }
.hero-inner .hero-meta  { animation-delay: 0.46s; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- scroll-progress dot rail ---------- */

.scroll-dots {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.scroll-dots a {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.scroll-dots a:hover,
.scroll-dots a:focus-visible { background: rgba(255, 255, 255, 0.6); }
.scroll-dots a.is-active {
  background: var(--gold);
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(204, 173, 91, 0.18);
}

.scroll-dots a::before {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(10, 10, 9, 0.85);
  border: 1px solid var(--line-strong);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.scroll-dots a:hover::before,
.scroll-dots a:focus-visible::before,
.scroll-dots a.is-active::before { opacity: 1; }

@media (max-width: 1080px) {
  .scroll-dots { display: none; }
}

/* ---------- interior page header ---------- */

.page-head {
  position: relative;
  background: var(--black);
  color: #ffffff;
  padding: clamp(110px, 11vw, 150px) 0 clamp(70px, 9vw, 100px);
  overflow: hidden;
  text-align: center;
}

/* clear black-and-white photo behind every interior page-head, same
   treatment as the homepage hero so the two feel like one system */
.page-head::before {
  content: "";
  position: absolute;
  inset: -12px;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) brightness(0.5) contrast(1.15);
  z-index: 0;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.page-head .wrap { position: relative; z-index: 2; max-width: 720px; }
.page-head .label { justify-content: center; }
.page-head h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.page-head .lead { color: rgba(255, 255, 255, 0.7); margin-left: auto; margin-right: auto; }

.ph-about::before        { background-image: url("../assets/img/lagos-bridge.jpg"); }
.ph-sectors::before       { background-image: url("../assets/img/hero-lagos.jpg"); }
.ph-technology::before    { background-image: url("../assets/img/tech-team.jpg"); background-position: center 30%; }
.ph-agriculture::before   { background-image: url("../assets/img/farms-oil-palm.jpg"); }
.ph-energy::before        { background-image: url("../assets/img/energy-gas-cylinders.jpg"); }
.ph-real-estate::before   { background-image: url("../assets/img/property-lagos.jpg"); }
.ph-hospitality::before   { background-image: url("../assets/img/resort-aerial.jpg"); }

.page-head .label,
.page-head h1,
.page-head .lead {
  opacity: 0;
  animation: hero-in 0.8s ease forwards;
}
.page-head .label { animation-delay: 0.02s; }
.page-head h1      { animation-delay: 0.12s; }
.page-head .lead   { animation-delay: 0.24s; }

/* jump between sector pages, sits under the page-head lead */
.sector-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  opacity: 0;
  animation: hero-in 0.8s ease forwards;
  animation-delay: 0.32s;
}
.sector-tabs a {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.sector-tabs a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.07); }
.sector-tabs a[aria-current="page"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ---------- sections ---------- */

.section { padding: clamp(58px, 8vw, 100px) 0; }

.section-stone {
  background:
    radial-gradient(70% 120% at 90% 0%, rgba(204, 173, 91, 0.06), transparent 60%),
    #0a0a09;
}

.section-dark {
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(204, 173, 91, 0.1), transparent 60%),
    var(--black);
  color: #ffffff;
}
.section-dark h2, .section-dark h3 { color: #ffffff; }

/* ---------- section background photography ----------
   Same recipe as the hero: a dimmed, desaturated photo layer, a dark
   scrim on top for text contrast, content above both. Only applied to
   sections that don't already carry their own photography (division
   cards and the approach split-image are left alone on purpose). */

.bg-photo { position: relative; overflow: hidden; }

.bg-photo::before {
  content: "";
  position: absolute;
  inset: -12px;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.5) brightness(0.4) contrast(1.12);
  z-index: 0;
}

.bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bg-photo > .wrap { position: relative; z-index: 2; }

.bg-intro::before { background-image: url("../assets/img/lagos-bridge.jpg"); }
.bg-intro::after {
  background: linear-gradient(180deg, rgba(7, 7, 6, 0.88) 0%, rgba(7, 7, 6, 0.7) 45%, rgba(7, 7, 6, 0.9) 100%);
}
.bg-intro .prose { color: rgba(243, 239, 230, 0.78); }

.bg-soon::before { background-image: url("../assets/img/property-construction.jpg"); }
.bg-soon::after {
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(204, 173, 91, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.88) 100%);
}

.bg-contact::before { background-image: url("../assets/img/resort-deck.jpg"); }
.bg-contact::after {
  background:
    radial-gradient(70% 120% at 90% 0%, rgba(204, 173, 91, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(6, 6, 5, 0.85) 0%, rgba(6, 6, 5, 0.64) 45%, rgba(6, 6, 5, 0.9) 100%);
}

/* panels read as frosted glass once there's photography behind them */
.bg-photo .soon li,
.bg-photo .contact-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-head {
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.24, 1), transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.section-head.is-visible { opacity: 1; transform: none; }

/* small gold tick before every section label */
.section-head .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-head .label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.prose { color: var(--muted); }
.prose p { margin-bottom: 1.15em; }

/* quick facts, each in its own bordered box rather than a plain row */
.stat-row {
  list-style: none;
  margin: clamp(40px, 6vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.stat-row li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.stat-num {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.small { font-size: 0.92rem; color: var(--muted); }

/* ---------- feature card: icon badge + pill tags + heading + copy ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

/* an asymmetric pairing rather than a perfectly uniform grid, when
   there's room for it — first card runs wider, echoing how the
   reference layout pairs a wide box with a narrower one beside it */
@media (min-width: 720px) {
  .feature-grid.feature-grid-pair { grid-template-columns: 1.4fr 1fr; }
}

.feature-card {
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 0.8, 0.24, 1), transform 0.75s cubic-bezier(0.16, 0.8, 0.24, 1), border-color 0.3s ease;
}
.feature-grid > .feature-card:nth-child(2) { transition-delay: 0.08s; }
.feature-grid > .feature-card:nth-child(3) { transition-delay: 0.16s; }
.feature-card.is-visible { opacity: 1; transform: none; }
.feature-card:hover { border-color: rgba(204, 173, 91, 0.4); }

.feature-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(204, 173, 91, 0.4);
  background: rgba(204, 173, 91, 0.08);
  color: var(--gold);
  font-size: 1.05rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.feature-tags span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  white-space: nowrap;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- checkmark list ---------- */

.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
}
.check-list li::before {
  content: "\2713";
  flex: none;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(204, 173, 91, 0.12);
  color: var(--gold);
  font-size: 0.7rem;
  transform: translateY(1px);
}

/* ---------- division cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 0.8, 0.24, 1),
    transform 0.75s cubic-bezier(0.16, 0.8, 0.24, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}
/* staggered so a row of cards cascades in rather than popping as one block */
.cards > .card:nth-child(2) { transition-delay: 0.08s; }
.cards > .card:nth-child(3) { transition-delay: 0.16s; }
.cards > .card:nth-child(4) { transition-delay: 0.24s; }
.cards > .card:nth-child(5) { transition-delay: 0.32s; }
.cards > .card:nth-child(6) { transition-delay: 0.4s; }
.card.is-visible { opacity: 1; transform: none; }
.card:hover, .card:focus-within {
  transform: translateY(-4px);
  transition-duration: 0.35s;
  border-color: rgba(204, 173, 91, 0.5);
  box-shadow: 0 24px 50px -18px rgba(204, 173, 91, 0.22), 0 20px 38px -20px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover > img, .card:focus-within > img { transform: scale(1.06); }

/* deliberate asymmetry on desktop: a fixed 3-column grid so the spans
   are predictable, wide-narrow up top and narrow-wide at the close,
   rather than a uniform wall of even tiles */
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards > .card:first-child { grid-column: span 2; }
  .cards > .card:first-child > img { aspect-ratio: 21 / 9; }
  .cards > .card:last-child { grid-column: span 2; }
}

.card-body { padding: 28px 26px 30px; }

.card-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0 0 10px;
}

.card-body h3 { margin-bottom: 12px; }
.card-body p { color: var(--muted); font-size: 0.96rem; }

/* a division that carries its own brand mark */
.lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.lockup h3 { margin: 0; }

.sub-logo {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
}

.ext {
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.ext a {
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.ext a:hover { color: var(--gold-dim); }

.card-plain {
  background: linear-gradient(160deg, rgba(204, 173, 91, 0.16), rgba(204, 173, 91, 0.03));
  border-color: rgba(204, 173, 91, 0.35);
}
.card-plain .card-body { padding-top: 34px; }
.card-plain h3 { color: #ffffff; }
.card-plain .card-kicker { color: var(--gold); }
.card-plain p { color: var(--muted); }

.tick {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.tick li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.tick li:first-child { border-top: 1px solid var(--line); }

/* ---------- coming soon ---------- */

.soon {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.soon li {
  padding: 30px 28px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.24, 1), transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.soon li.is-visible { opacity: 1; transform: none; }
.soon li:nth-child(2) { transition-delay: 0.08s; }
.soon li:nth-child(3) { transition-delay: 0.16s; }
.soon h3 { margin-bottom: 10px; }
.soon p { color: var(--muted); font-size: 0.95rem; }

/* ---------- image and text split ---------- */

.grid-2-media { grid-template-columns: 1fr 1fr; align-items: center; }

.figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.24, 1), transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.figure.is-visible { opacity: 1; transform: none; }
.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split .prose { margin-top: 20px; }

.split .grid-2-media > div {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.24, 1) 0.1s, transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1) 0.1s;
}
.split .grid-2-media > div.is-visible { opacity: 1; transform: none; }

/* ---------- full width photo band ---------- */

.band img {
  width: 100%;
  height: clamp(240px, 38vw, 420px);
  object-fit: cover;
}

/* ---------- numbered list ---------- */

.numbered {
  list-style: none;
  counter-reset: n;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.numbered li {
  counter-increment: n;
  padding: 32px 30px 34px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.24, 1), transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.numbered li.is-visible { opacity: 1; transform: none; }
.numbered li:nth-child(2) { transition-delay: 0.08s; }
.numbered li:nth-child(3) { transition-delay: 0.16s; }
.numbered li::before {
  content: counter(n, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(204, 173, 91, 0.4);
  background: rgba(204, 173, 91, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 18px;
}
.numbered h3 { margin-bottom: 12px; }
.numbered p { color: var(--muted); font-size: 0.96rem; }

/* ---------- detail rows ---------- */

.detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: 28px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.24, 1), transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.detail-row.is-visible { opacity: 1; transform: none; }

.detail-media { overflow: hidden; border-radius: var(--radius-s); }
.detail-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.detail-row:hover .detail-media img { transform: scale(1.04); }

.detail-text h3 { margin-bottom: 12px; }
.detail-text p { color: var(--muted); max-width: 62ch; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.contact-item {
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.24, 1), transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.contact-item.is-visible { opacity: 1; transform: none; }
.contact-item:nth-child(2) { transition-delay: 0.08s; }
.contact-item:nth-child(3) { transition-delay: 0.16s; }
.contact-item .label { margin-bottom: 10px; }

.contact-value {
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.5;
}
.contact-value a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-value a:hover { color: var(--gold-dim); }

/* ---------- status list (sectors hub) ---------- */

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  background: var(--panel);
}
.status-name { font-weight: 600; }
.status-pill {
  flex: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
}
.status-pill.is-operating {
  color: var(--gold);
  border-color: rgba(204, 173, 91, 0.5);
  background: rgba(204, 173, 91, 0.08);
}
.status-pill.is-development { color: var(--muted); background: rgba(255, 255, 255, 0.04); }

/* small sector tag inside a "coming soon"-style list item */
.soon .tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ---------- footer ---------- */

.site-foot {
  background: var(--black);
  color: var(--muted);
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.foot-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  padding-bottom: 46px;
}

.foot-brand img { width: 180px; height: auto; color: var(--gold); }
.foot-brand { color: var(--gold); }
.foot-brand p {
  margin-top: 20px;
  max-width: 34ch;
  font-size: 0.94rem;
  color: var(--muted);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
}
.foot-list li { margin-bottom: 9px; }
.foot-list a { text-decoration: none; }
.foot-list a:hover { color: var(--gold); }

.foot-base {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}
.foot-base p { margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .grid-2, .grid-2-media { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; align-items: start; }
  .detail-media { max-width: 420px; }
  .foot-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .head-inner { padding: 10px 12px 10px 18px; flex-wrap: nowrap; }
  .brand { position: relative; z-index: 70; }
  .brand img { width: 150px; }
  .foot-cols { grid-template-columns: 1fr 1fr 1fr; gap: 20px 16px; }

  .nav-toggle { display: flex; }

  /* Inline nav becomes a full-screen overlay menu. It stays in the
     DOM (visibility, not display) so the open/close can transition and
     so aria-controls keeps pointing at a real element. */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 104px 24px calc(40px + env(safe-area-inset-bottom));
    background: rgba(5, 5, 4, 0.985);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  }
  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
  }
  .nav a {
    width: min(340px, 100%);
    padding: 16px 28px;
    font-size: 1.55rem;
    letter-spacing: 0.05em;
    text-align: center;
    color: var(--ink);
    opacity: 0;
    transform: translateY(14px);
  }
  .nav a:hover { background: rgba(255, 255, 255, 0.06); }
  .nav a[aria-current="page"] {
    color: var(--black);
    background: var(--gold);
    opacity: 1;
  }
  body.nav-open .nav a { animation: navLinkIn 0.4s ease forwards; }
  body.nav-open .nav a:nth-child(1) { animation-delay: 0.06s; }
  body.nav-open .nav a:nth-child(2) { animation-delay: 0.12s; }
  body.nav-open .nav a:nth-child(3) { animation-delay: 0.18s; }
  body.nav-open .nav a:nth-child(4) { animation-delay: 0.24s; }

  body.nav-open { overflow: hidden; }
}

@keyframes navLinkIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .nav a { font-size: 1.4rem; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-inner .label, .hero-inner h1, .hero-inner .lead,
  .hero-inner .hero-meta, .hero-inner .btn,
  .page-head .label, .page-head h1, .page-head .lead {
    animation: none;
    opacity: 1;
  }

  .section-head, .card, .feature-card, .soon li, .numbered li, .detail-row,
  .contact-item, .figure, .split .grid-2-media > div {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card:hover, .card:focus-within { transform: none; }
  .card > img, .card:hover > img, .card:focus-within > img { transition: none; transform: none; }
  .detail-media img, .detail-row:hover .detail-media img { transition: none; transform: none; }

  /* Mobile menu still opens/closes, just without the motion. */
  .nav, .nav a, .nav-toggle-bar { transition: none; }
  .nav a { animation: none; opacity: 1; transform: none; }
}
