/* =========================================================
   Kaf — Portfolio
   Google Antigravity design language: Google Sans Flex,
   flat tonal surfaces, hairlines, pills, huge medium type.
   Black & gold. Light + dark. No frameworks.
   ========================================================= */

/* ---------- Theme tokens ---------- */
:root {
  color-scheme: light;

  /* Surfaces (neutral monochrome) */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --container: #F5F5F5;
  --container-2: #ECECEC;
  --outline: rgba(0, 0, 0, 0.08);
  --outline-2: rgba(0, 0, 0, 0.16);
  --nav-glass: rgba(255, 255, 255, 0.78);

  /* Ink */
  --ink: #111111;
  --ink-2: #454545;
  --ink-3: #858585;
  --on-ink: #FFFFFF;
  --ink-hover: #2A2A2A;

  /* Gold accent */
  --gold: #F2B01E;
  --gold-bright: #FFC83D;
  --gold-text: #B98300;
  --gold-deep: #9A7000;
  --gold-tonal: #FBF2D7;
  --on-gold: #231B00;

  /* Accent colors (Adinkra marks, hero globe) */
  --terra: #C7502B;
  --green: #2E7C47;

  /* Dark (inverse surface — CTA banner & footer, both themes) */
  --dark: #121212;
  --dark-2: rgba(255, 255, 255, 0.045);
  --dark-outline: rgba(255, 255, 255, 0.1);
  --dark-outline-2: rgba(255, 255, 255, 0.22);
  --dark-muted: #A8A8A8;

  /* Depth (hover only — surfaces stay flat at rest) */
  --shadow-hover: 0 24px 48px -20px rgba(0, 0, 0, 0.16);

  /* Shape */
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-2xl: 48px;
  --pill: 999px;

  /* Motion */
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-quart: cubic-bezier(0.165, 0.84, 0.44, 1);

  /* Rhythm */
  --gap: clamp(84px, 9vw, 136px);
  --nav-height: 68px;
}

/* Dark theme — explicit choice via toggle */
:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0A0A0A;
  --surface: #181818;
  --container: #121212;
  --container-2: #1C1C1C;
  --outline: rgba(255, 255, 255, 0.08);
  --outline-2: rgba(255, 255, 255, 0.16);
  --nav-glass: rgba(10, 10, 10, 0.74);

  --ink: #F2F2F2;
  --ink-2: #ADADAD;
  --ink-3: #7D7D7D;
  --on-ink: #111111;
  --ink-hover: #FFFFFF;

  --gold-text: #E5B33A;
  --gold-deep: #E2B13C;
  --gold-tonal: #2B2206;

  --terra: #D4622B;
  --green: #55A06B;

  --dark: #181818;
  --shadow-hover: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
}

/* Dark theme — OS preference, unless light explicitly chosen */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --bg: #0A0A0A;
    --surface: #181818;
    --container: #121212;
    --container-2: #1C1C1C;
    --outline: rgba(255, 255, 255, 0.08);
    --outline-2: rgba(255, 255, 255, 0.16);
    --nav-glass: rgba(10, 10, 10, 0.74);

    --ink: #F2F2F2;
    --ink-2: #ADADAD;
    --ink-3: #7D7D7D;
    --on-ink: #111111;
    --ink-hover: #FFFFFF;

    --gold-text: #E5B33A;
    --gold-deep: #E2B13C;
    --gold-tonal: #2B2206;

    --terra: #D4622B;
    --green: #55A06B;

    --dark: #181818;
    --shadow-hover: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Google Sans Flex', 'Google Sans', sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s var(--ease-quart), color 0.4s var(--ease-quart);
}

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.06;
}

ul {
  list-style: none;
}

::selection {
  background: var(--gold-tonal);
  color: var(--ink);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Buttons ---------- */
.btn-filled,
.btn-gold,
.btn-tonal,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: var(--pill);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.35s var(--ease-quart), transform 0.35s var(--ease-quart);
}

.btn-filled {
  background: var(--ink);
  color: var(--on-ink);
}

.btn-filled:hover {
  background: var(--ink-hover);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--on-gold);
}

.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

.btn-tonal {
  background: var(--container);
  color: var(--ink);
}

.btn-tonal:hover {
  background: var(--container-2);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: none;
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--dark-outline-2);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* button arrows nudge in their travel direction */
.btn-filled i,
.btn-gold i,
.btn-tonal i,
.btn-outline-light i {
  transition: transform 0.3s var(--ease-quart);
}

.btn-filled:hover .ti-arrow-down { transform: translateY(3px); }

.btn-filled:hover .ti-arrow-right,
.btn-gold:hover .ti-arrow-right,
.btn-tonal:hover .ti-arrow-right,
.btn-outline-light:hover .ti-arrow-right { transform: translateX(3px); }

/* ---------- Navigation ---------- */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease-quart), border-color 0.35s var(--ease-quart);
}

nav.scrolled {
  background: var(--nav-glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--outline);
}

.nav-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-gold);
  flex-shrink: 0;
}

.nav-name {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

/* the centred links need room — drop the long-form name first */
@media (max-width: 1140px) {
  .nav-name-ext {
    display: none;
  }
}

/* links sit dead-centre of the bar, independent of brand/actions width */
.nav-links {
  display: flex;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: var(--pill);
  transition: background 0.3s var(--ease-quart), color 0.3s var(--ease-quart);
}

.nav-links a:hover {
  background: var(--container);
  color: var(--ink);
}

.nav-links a.active {
  background: var(--container);
  color: var(--ink);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--pill);
  transition: background 0.3s var(--ease-quart), transform 0.3s var(--ease-quart);
}

.nav-cta:hover {
  background: var(--ink-hover);
  transform: translateY(-1px);
}

.nav-cta i {
  font-size: 15px;
  transition: transform 0.3s var(--ease-quart);
}

.nav-cta:hover i {
  transform: translate(2px, -2px);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--ink-2);
  font-size: 19px;
  cursor: pointer;
  border-radius: var(--pill);
  transition: background 0.3s var(--ease-quart), color 0.3s var(--ease-quart);
}

.theme-toggle:hover {
  background: var(--container);
  color: var(--ink);
}

.theme-toggle i {
  transition: transform 0.5s var(--ease-quart);
}

.theme-toggle:hover i {
  transform: rotate(22deg);
}

.theme-toggle .sun { display: none; }

:root[data-theme="dark"] .theme-toggle .sun { display: inline; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: inline; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--pill);
}

.hamburger:hover {
  background: var(--container);
}

/* ---------- Mobile menu (glass sheet under the nav) ---------- */
.mobile-menu {
  position: fixed;
  inset: var(--nav-height) 0 auto 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 10px 20px 22px;
  background: var(--nav-glass);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--outline);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-quart), transform 0.3s var(--ease-quart);
}

.mobile-menu.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: var(--r-md);
  transition: background 0.3s var(--ease-quart);
}

.mobile-menu a:hover,
.mobile-menu a:active {
  background: var(--container);
}

@media (min-width: 769px) {
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(140px, 16vw, 196px);
  padding-bottom: var(--gap);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 88px);
}

.hero-photo img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin-left: auto;
  border-radius: var(--r-xl);
}

.hero-title {
  font-size: clamp(46px, 7.6vw, 96px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  max-width: 1000px;
  margin-bottom: 34px;
}

.hero-title-sub {
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 450;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 18px;
}

.hero-title .hl {
  font-style: oblique 10deg;
  font-weight: 400;
  color: var(--gold-text);
}

.hero-desc {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 54ch;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 0;
}

.hero-stat {
  padding: 0 44px;
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat + .hero-stat {
  border-left: 1px solid var(--outline-2);
}

.hero-stat-num {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 2px;
}

.hero-stat-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
}

/* ---------- Sections ---------- */
section {
  padding-block: var(--gap);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(44px, 5vw, 64px);
}

.overline {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.overline-name {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(16px, 1.9vw, 17.5px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--container);
  border-radius: var(--r-lg);
  padding: 32px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s var(--ease-quart), transform 0.4s var(--ease-quart),
    box-shadow 0.4s var(--ease-quart);
}

.product-card:hover {
  background: var(--container-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.product-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: background 0.4s var(--ease-quart), color 0.4s var(--ease-quart),
    transform 0.4s var(--ease-quart);
}

.product-card:hover .product-icon {
  background: var(--gold);
  color: var(--on-gold);
  transform: scale(1.04);
}

.product-icon.product-logo {
  background: #FFFFFF;
  padding: 7px;
}

.product-card:hover .product-icon.product-logo {
  background: #FFFFFF;
}

.product-icon.product-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.product-status {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--pill);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  transition: background-color 0.4s var(--ease-quart);
}

.product-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-live {
  color: var(--ink-2);
}

.status-live::before {
  background: var(--gold);
}

.status-building {
  color: var(--ink-3);
}

.status-building::before {
  background: var(--ink-3);
}

.product-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 3px;
}

.product-url {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.product-desc {
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-2);
  margin-bottom: 24px;
  flex: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.product-tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--surface);
  padding: 6px 13px;
  border-radius: var(--pill);
  transition: background-color 0.4s var(--ease-quart);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--outline);
}

.product-market {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-market i {
  font-size: 14px;
}

.product-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.35s var(--ease-quart);
}

.product-link-btn i {
  font-size: 15px;
  transition: transform 0.35s var(--ease-quart);
}

.product-card:hover .product-link-btn {
  color: var(--gold-deep);
}

.product-card:hover .product-link-btn i {
  transform: translate(2px, -2px);
}

/* ---------- Picks ---------- */
#picks {
  padding-top: 0;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.placeholder-card {
  border: 1px dashed var(--outline-2);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 150px;
}

.ph-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--container);
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ph-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
}

/* ---------- About ---------- */
#about {
  background: var(--surface);
  border-block: 1px solid var(--outline);
  transition: background-color 0.4s var(--ease-quart);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(44px, 6vw, 80px);
  align-items: start;
}

.about-intro {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.about-intro .gold {
  font-style: oblique 10deg;
  font-weight: 400;
  color: var(--gold-text);
}

.about-body {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.about-tag {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--container);
  padding: 9px 18px;
  border-radius: var(--pill);
  transition: background 0.3s var(--ease-quart), transform 0.3s var(--ease-quart);
}

.about-tag:hover {
  background: var(--container-2);
  transform: translateY(-1px);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-value {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--container);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  transition: background-color 0.4s var(--ease-quart), transform 0.4s var(--ease-quart);
}

.about-value:hover {
  background: var(--container-2);
  transform: translateX(4px);
}

.about-value-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  background: var(--surface);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  transition: background-color 0.4s var(--ease-quart);
}

.about-value-title {
  font-size: 16.5px;
  font-weight: 500;
  margin-bottom: 6px;
}

.about-value-body {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

/* ---------- CTA banner ---------- */
.cta-section {
  padding-block: var(--gap);
}

.cta-banner {
  background: var(--dark);
  border-radius: var(--r-2xl);
  padding: clamp(64px, 8vw, 104px) 40px;
  text-align: center;
  color: #fff;
  transition: background-color 0.4s var(--ease-quart);
}

.cta-inner {
  max-width: 780px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.cta-title {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 20px;
}

.cta-title .gold {
  font-style: oblique 10deg;
  font-weight: 400;
  color: var(--gold);
}

.cta-desc {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--dark-muted);
  margin-bottom: 48px;
}

.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
  text-align: left;
}

.cta-card {
  background: var(--dark-2);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: background 0.4s var(--ease-quart), transform 0.4s var(--ease-quart);
}

.cta-card:hover {
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-3px);
}

.cta-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: rgba(242, 176, 30, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 18px;
}

.cta-card-title {
  font-size: 17.5px;
  font-weight: 500;
  margin-bottom: 8px;
}

.cta-card-body {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--dark-muted);
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 80px);
  align-items: start;
}

.contact-intro {
  margin-bottom: 36px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--container);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.4s var(--ease-quart), transform 0.4s var(--ease-quart),
    box-shadow 0.4s var(--ease-quart);
}

.contact-link:hover {
  background: var(--container-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.contact-link-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: background-color 0.4s var(--ease-quart);
}

.li-icon {
  background: var(--surface);
  color: var(--gold-deep);
}

.x-icon {
  background: var(--ink);
  color: var(--on-ink);
}

.contact-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-link-label {
  font-size: 16px;
  font-weight: 500;
}

.contact-link-sub {
  font-size: 13.5px;
  color: var(--ink-2);
}

.contact-link-arrow {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 18px;
  transition: transform 0.35s var(--ease-quart), color 0.35s var(--ease-quart);
}

.contact-link:hover .contact-link-arrow {
  transform: translate(3px, -3px);
  color: var(--ink);
}

.contact-note {
  background: var(--container);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: background-color 0.4s var(--ease-quart);
}

.contact-note-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.contact-note-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.contact-note-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.contact-note-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}

.contact-note-list li i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--gold);
  color: var(--on-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  color: #fff;
  padding: 64px 0 40px;
  transition: background-color 0.4s var(--ease-quart);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-outline);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-name {
  font-size: 16.5px;
  font-weight: 500;
}

.footer-brand-sub {
  font-size: 13.5px;
  color: var(--dark-muted);
}

.footer-links {
  display: flex;
  gap: 8px 30px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--dark-muted);
  text-decoration: none;
  transition: color 0.3s var(--ease-quart);
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--dark-outline-2);
  background: none;
  color: var(--dark-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.3s var(--ease-quart), color 0.3s var(--ease-quart),
    border-color 0.3s var(--ease-quart), transform 0.3s var(--ease-quart);
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-gold);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  font-size: 13.5px;
  color: var(--dark-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-photo {
    order: -1;
  }

  .hero-photo img {
    margin-left: 0;
    max-width: 340px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container,
  .nav-inner {
    padding-inline: 22px;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-stat {
    padding: 0 24px;
  }

  .cta-banner {
    padding: 64px 26px;
    border-radius: var(--r-xl);
  }
}

/* =========================================================
   Ghana patterns — Adinkra symbols, Three.js hero globe,
   "Built in Accra" stamp.
   ========================================================= */

/* ---------- Adinkra symbols ---------- */
.adinkra {
  display: block;
  width: 22px;
  height: 22px;
}

.overline-symbol {
  display: inline-block;
  width: 15px;
  height: 15px;
  vertical-align: -2px;
  margin-right: 9px;
}

.ph-icon .adinkra {
  width: 19px;
  height: 19px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
