:root {
  color-scheme: light;
  --bg: #dfbd68;
  --bg-2: #f3dfa5;
  --panel: rgba(255, 250, 232, 0.9);
  --panel-solid: #fff8df;
  --panel-light: #f8f4ea;
  --text: #111a16;
  --muted: #4d5c52;
  --ink: #101713;
  --emerald: #006b3c;
  --emerald-2: #008c50;
  --gold: #b88927;
  --gold-2: #72500d;
  --ivory: #fff8ea;
  --logo-plaque: #f7e8be;
  --logo-plaque-line: rgba(255, 224, 154, 0.58);
  --logo-plaque-shadow: 0 18px 42px rgba(60, 38, 7, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.44);
  --brand-logo-width: 240px;
  --brand-logo-height: 108px;
  --line: rgba(142, 99, 18, 0.38);
  --line-soft: rgba(41, 55, 45, 0.14);
  --shadow: 0 24px 70px rgba(76, 52, 8, 0.18);
  --radius: 8px;
  --radius-lg: 14px;
  --container: min(1180px, calc(100vw - 40px));
  --header-height: 78px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #dfbd68;
  --bg-2: #f3dfa5;
  --panel: rgba(255, 250, 232, 0.9);
  --panel-solid: #fff8df;
  --text: #111a16;
  --muted: #4d5c52;
  --logo-plaque: #f7e8be;
  --logo-plaque-line: rgba(160, 113, 30, 0.38);
  --logo-plaque-shadow: 0 18px 38px rgba(123, 82, 17, 0.17), inset 0 0 0 1px rgba(255, 255, 255, 0.56);
  --line: rgba(142, 99, 18, 0.38);
  --line-soft: rgba(41, 55, 45, 0.14);
  --shadow: 0 22px 50px rgba(76, 52, 8, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 253, 234, 0.65), transparent 30rem),
    radial-gradient(circle at 88% 26%, rgba(0, 107, 60, 0.11), transparent 34rem),
    linear-gradient(145deg, #cda34c 0%, var(--bg) 28%, var(--bg-2) 67%, #e2c476 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(74, 50, 7, 0.22) 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, rgba(255, 255, 255, 0.34) 49%, transparent 51%),
    radial-gradient(circle, rgba(74, 50, 7, 0.2) 0 1px, transparent 1.5px);
  background-size: 112px 112px, 112px 112px, 56px 56px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.26;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 22%, transparent 76%, rgba(0, 107, 60, 0.06)),
    repeating-linear-gradient(90deg, rgba(79, 53, 8, 0.04) 0 1px, transparent 1px 140px);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--gold);
  color: #111;
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.legal-logo-link {
  display: flex;
  width: fit-content;
  margin: 28px auto 30px;
  padding: 14px 18px;
  border: 1px solid var(--logo-plaque-line);
  border-radius: 14px;
  background: var(--logo-plaque);
  box-shadow: var(--logo-plaque-shadow);
}

.legal-logo {
  display: block;
  width: min(340px, 72vw);
  height: auto;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.icon.large {
  width: 2.4rem;
  height: 2.4rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  min-height: var(--header-height);
  color: #fff;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 248, 223, 0.95);
  border-bottom-color: rgba(255, 224, 154, 0.28);
  box-shadow: 0 14px 40px rgba(76, 52, 8, 0.18);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 300px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 112px;
  height: 58px;
  object-fit: contain;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--logo-plaque);
  border: 1px solid var(--logo-plaque-line);
  box-shadow: var(--logo-plaque-shadow);
}

.site-header .brand-mark {
  padding: 7px 10px;
  border: 1px solid rgba(255, 224, 154, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 224, 154, 0.16), rgba(255, 255, 255, 0.025)),
    rgba(30, 19, 5, 0.54);
  box-shadow: 0 16px 42px rgba(40, 25, 4, 0.26);
  backdrop-filter: blur(14px);
}

.site-header .brand-logo {
  width: 112px;
  height: 58px;
  padding: 5px 8px;
  border: 1px solid var(--logo-plaque-line);
  border-radius: 8px;
}

.brand-mark strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1;
  color: #fff8ea;
  white-space: nowrap;
}

#hero-title {
  max-width: none;
  white-space: nowrap;
  font-size: 7rem;
}

.brand-mark small {
  display: block;
  margin-top: 3px;
  color: rgba(240, 210, 138, 0.82);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.main-nav a,
.nav-link {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 9px;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active,
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(780px, calc(100vw - 40px));
  padding: 22px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  background: rgba(6, 19, 15, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.mega-menu,
.nav-dropdown .mega-menu,
.nav-dropdown.is-open .mega-menu,
.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.nav-dropdown.is-open .mega-menu,
.nav-dropdown:focus-within .mega-menu,
.nav-dropdown:hover .mega-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mega-item {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.mega-item strong {
  display: block;
  color: var(--gold-2);
}

.mega-item span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button {
  padding: 11px 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.button:hover,
.icon-button:hover,
.float-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(184, 137, 39, 0.78);
  background: linear-gradient(135deg, #005c34, #008c50);
  color: #fffaf0;
  box-shadow: 0 12px 30px rgba(0, 77, 43, 0.22), inset 0 0 0 1px rgba(255, 220, 135, 0.18);
}

.button-secondary {
  border-color: rgba(213, 171, 87, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.icon-button {
  width: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.page-hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: url("assets/sunnah-group-hero.png") center / cover no-repeat;
  transform: scale(1.035);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(255, 224, 154, 0.2), transparent 38%),
    linear-gradient(245deg, rgba(0, 132, 61, 0.2), transparent 45%),
    linear-gradient(90deg, rgba(17, 9, 2, 0.98) 0%, rgba(24, 15, 4, 0.9) 38%, rgba(36, 25, 8, 0.54) 70%, rgba(17, 9, 2, 0.78) 100%);
}

.hero-content {
  padding-top: calc(var(--header-height) + 52px);
  padding-bottom: 54px;
  max-width: 800px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.page-hero-inner {
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 70px;
  max-width: 900px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.founder-page-hero .page-hero-inner {
  width: var(--container);
  max-width: none;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.founder-hero-portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 224, 154, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

.founder-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}

.founder-hero-portrait::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(3, 15, 11, 0.92));
}

.founder-hero-portrait figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
}

.founder-hero-portrait strong,
.founder-hero-portrait span {
  display: block;
}

.founder-hero-portrait strong {
  color: #fff8ea;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.founder-hero-portrait span {
  margin-top: 4px;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-logo {
  width: min(390px, 80vw);
  aspect-ratio: 1280 / 584;
  object-fit: contain;
  padding: 18px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--logo-plaque);
  border: 1px solid var(--logo-plaque-line);
  box-shadow: 0 26px 80px rgba(34, 20, 2, 0.5), var(--logo-plaque-shadow);
}

.trust-badge,
.eyebrow,
.placeholder-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 800;
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--font-display);
}

h1 {
  max-width: 820px;
  font-size: clamp(4.2rem, 11vw, 8.8rem);
}

h1 span {
  display: block;
  color: var(--gold-2);
  font-size: clamp(1.1rem, 2.4vw, 1.9rem);
  margin-bottom: 12px;
}

h1 strong {
  display: block;
  font-weight: 700;
}

.hero h1,
.hero h1 strong,
.page-hero h1 {
  color: #fff8ea;
}

.hero h1 span,
.page-hero .eyebrow {
  color: var(--gold-2);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-copy {
  max-width: 710px;
  margin-top: 16px;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.84);
}

.hero-subtitle {
  margin-top: 10px;
  color: var(--gold-2);
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.hero-ceo-quote {
  max-width: 720px;
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.hero-ceo-quote p {
  color: rgba(255, 248, 234, 0.92);
  font-size: 1.02rem;
}

.hero-ceo-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--gold-2);
  font-style: normal;
  font-weight: 900;
}

.hero-actions,
.cta-actions,
.app-buttons,
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.text-link {
  color: var(--gold-2);
  font-weight: 800;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
  max-width: 760px;
}

.hero-facts div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero dt {
  color: rgba(255, 248, 234, 0.72);
}

dd {
  margin: 2px 0 0;
  color: #fff;
  font-weight: 800;
}

.trust-strip {
  background:
    linear-gradient(90deg, rgba(255, 248, 218, 0.55), rgba(0, 107, 60, 0.08), rgba(255, 248, 218, 0.5)),
    #d4ad57;
  border-block: 1px solid var(--line);
}

.trust-track {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.trust-item {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border-right: 1px solid rgba(213, 171, 87, 0.16);
  color: var(--text);
  font-weight: 800;
  font-size: 0.9rem;
}

.trust-item:first-child {
  border-left: 1px solid rgba(213, 171, 87, 0.16);
}

.home-gateway {
  padding: clamp(56px, 7vw, 92px) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 244, 0.58), transparent 27rem),
    linear-gradient(180deg, rgba(255, 248, 220, 0.28), rgba(0, 107, 60, 0.035)),
    var(--bg-2);
}

.home-gateway-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.home-gateway-head h2 {
  margin-top: 10px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
}

.home-gateway-head p {
  margin-top: 14px;
  max-width: 720px;
}

.home-gateway-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.home-gateway-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(240, 219, 161, 0.2)),
    rgba(255, 248, 225, 0.9);
  box-shadow: 0 18px 48px rgba(88, 59, 8, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-gateway-card:hover {
  transform: translateY(-5px);
  border-color: rgba(213, 171, 87, 0.58);
  box-shadow: 0 28px 72px rgba(47, 29, 5, 0.38), 0 0 34px rgba(216, 170, 77, 0.11);
}

.home-gateway-card.is-featured {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.78), rgba(0, 107, 60, 0.07) 52%, rgba(241, 216, 151, 0.2)),
    rgba(255, 248, 225, 0.94);
}

.home-gateway-card img {
  width: min(var(--brand-logo-width), 100%);
  height: var(--brand-logo-height);
  flex: 0 0 var(--brand-logo-height);
  object-fit: contain;
  padding: 7px 10px;
  border: 1px solid var(--logo-plaque-line);
  border-radius: var(--radius);
  background: var(--logo-plaque);
  box-shadow: var(--logo-plaque-shadow);
}

.gateway-initial {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(213, 171, 87, 0.28);
  border-radius: var(--radius);
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 950;
  font-size: 1.25rem;
}

.home-gateway-card > span:not(.gateway-initial) {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-gateway-card h3 {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1.35rem;
}

.section {
  padding: clamp(72px, 9vw, 126px) 0;
  position: relative;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2,
.content-column h2,
.narrow h2 {
  margin-top: 10px;
}

.section-heading p,
.content-column p,
.narrow p {
  margin-top: 16px;
}

.split-layout,
.ecosystem-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split-layout.reverse > :first-child {
  order: 2;
}

.founder-letter-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: start;
}

.media-panel,
.quote-panel,
.map-placeholder,
.device-panel,
.founder-card,
.founder-side-panel,
.founder-letter,
.responsibility-statement {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-panel img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-panel figcaption {
  padding: 15px 18px;
  color: var(--gold-2);
  font-weight: 800;
}

.marker-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.year-marker,
.mini-highlight {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.year-marker strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-2);
}

.mini-highlight strong,
.year-marker span,
.mini-highlight span {
  display: block;
}

.mini-highlight span,
.year-marker span {
  color: var(--muted);
}

.founder-card {
  min-height: 420px;
  display: grid;
  place-items: center;
  gap: 22px;
  padding: clamp(26px, 5vw, 44px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(213, 171, 87, 0.18), transparent 46%),
    linear-gradient(145deg, rgba(0, 132, 61, 0.18), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.founder-portrait-frame {
  position: relative;
  width: min(320px, 88%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(213, 171, 87, 0.46);
  border-radius: calc(var(--radius-lg) - 6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.founder-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(4, 16, 12, 0.82));
}

.founder-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.founder-portrait-frame > span {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.founder-card blockquote {
  margin: 0;
}

.founder-card p {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  color: var(--text);
}

.founder-card cite {
  display: block;
  margin-top: 18px;
  color: var(--gold-2);
  font-style: normal;
  font-weight: 900;
}

.founder-card cite span {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.founder-side-panel,
.founder-letter {
  padding: clamp(24px, 4vw, 42px);
}

.founder-side-panel {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  background:
    radial-gradient(circle at 50% 0%, rgba(213, 171, 87, 0.2), transparent 46%),
    var(--panel);
}

.founder-side-panel h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.founder-side-portrait {
  margin: calc(clamp(24px, 4vw, 42px) * -1) calc(clamp(24px, 4vw, 42px) * -1) 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #071b14;
}

.founder-side-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 36%;
}

.founder-side-portrait figcaption {
  padding: 18px 22px;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.2;
}

.founder-side-portrait figcaption span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.founder-facts {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.founder-facts div {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.founder-letter {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.founder-letter h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.founder-letter h3 {
  margin-top: 34px;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.founder-letter p + p {
  margin-top: 14px;
}

.personal-commitment {
  text-align: center;
}

.personal-commitment .narrow {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(213, 171, 87, 0.16), rgba(0, 132, 61, 0.13)),
    var(--panel);
  box-shadow: var(--shadow);
}

.personal-commitment .section-actions {
  justify-content: center;
}

.signature {
  margin-top: 28px;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.12;
}

.signature span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-grid,
.brand-grid,
.compact-grid,
.value-grid,
.service-grid,
.news-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.responsibility-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.brand-card,
.feature-card,
.small-card,
.value-card,
.service-card,
.news-card,
.empty-state,
.newsletter-form,
.contact-form,
.collection-panel,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(231, 203, 128, 0.16)),
    var(--panel);
  box-shadow: 0 16px 45px rgba(88, 59, 8, 0.15);
}

.stat-card,
.feature-card,
.small-card,
.value-card,
.service-card,
.news-card,
.empty-state {
  padding: 22px;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-2);
}

.stat-card span,
.service-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.brand-card {
  padding: 0;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand-card:hover,
.service-card:hover,
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(213, 171, 87, 0.56);
  box-shadow: 0 24px 70px rgba(48, 30, 5, 0.34), 0 0 32px rgba(216, 170, 77, 0.1);
}

.brand-top {
  min-height: 250px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(255, 224, 154, 0.22), rgba(0, 132, 61, 0.11), rgba(255, 255, 255, 0.02));
}

.brand-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gold-2);
  font-weight: 900;
}

.brand-card-logo {
  width: var(--brand-logo-width);
  max-width: 100%;
  height: var(--brand-logo-height);
  object-fit: contain;
  padding: 4px 7px;
  border-radius: 8px;
  background: var(--logo-plaque);
  border: 1px solid var(--logo-plaque-line);
  box-shadow: var(--logo-plaque-shadow);
}

img[src$="logo-sunnah-hajj-umrah-transparent.png"] {
  background: var(--logo-plaque);
  mix-blend-mode: normal;
}

.brand-card-logo-stack {
  width: var(--brand-logo-width);
  max-width: 100%;
  display: grid;
  gap: 8px;
}

.brand-logo-link {
  display: block;
  width: var(--brand-logo-width);
  max-width: 100%;
  border-radius: 8px;
}

.brand-logo-link .brand-card-logo-stack {
  width: 100%;
}

.brand-logo-link:hover .brand-card-logo {
  border-color: rgba(213, 171, 87, 0.6);
  box-shadow: 0 20px 42px rgba(213, 171, 87, 0.16);
}

.brand-card-logo-stack.is-duo {
  width: var(--brand-logo-width);
  max-width: 100%;
}

.brand-card-logo-stack.is-duo .brand-card-logo {
  width: var(--brand-logo-width);
  max-width: 100%;
  height: var(--brand-logo-height);
  padding: 4px 7px;
}

.brand-category {
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-card-body {
  padding: 22px;
}

.brand-card h3,
.feature-card h3,
.small-card h3,
.value-card h3,
.service-card h3,
.news-card h3 {
  margin-bottom: 10px;
}

.brand-card ul,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.brand-card li,
.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.brand-card li + li,
.check-list li + li {
  margin-top: 8px;
}

.brand-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.brand-card .button {
  margin-top: 20px;
  width: 100%;
}

.ecosystem-diagram {
  min-height: 540px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at center, rgba(0, 132, 61, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ecosystem-diagram::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(213, 171, 87, 0.22);
  border-radius: 50%;
  animation: spinSlow 34s linear infinite;
}

.ecosystem-center,
.ecosystem-node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(6, 19, 15, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.ecosystem-center {
  inset: 50% auto auto 50%;
  width: 180px;
  min-height: 126px;
  padding: 16px;
  transform: translate(-50%, -50%);
  border-radius: var(--radius);
}

.ecosystem-center img {
  width: 150px;
  height: 68px;
  object-fit: contain;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--logo-plaque);
  border: 1px solid var(--logo-plaque-line);
  box-shadow: var(--logo-plaque-shadow);
}

.ecosystem-node {
  width: 172px;
  min-height: 132px;
  padding: 12px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  gap: 7px;
}

.ecosystem-node-logo {
  width: 136px;
  height: 58px;
  object-fit: contain;
  padding: 5px 7px;
  border-radius: 7px;
  background: var(--logo-plaque);
  border: 1px solid var(--logo-plaque-line);
  box-shadow: var(--logo-plaque-shadow);
}

.ecosystem-node strong {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(213, 171, 87, 0.2);
}

.ecosystem-node em {
  display: block;
  font-style: normal;
  line-height: 1.22;
}

.ecosystem-node span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
}

.ecosystem-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 180px;
  transform-origin: top center;
  background: linear-gradient(var(--gold), transparent);
  opacity: 0.6;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(213, 171, 87, 0.08));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 2;
}

.timeline-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.timeline-year {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.timeline-dot {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 3px solid var(--gold);
  background: var(--bg);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 8px rgba(213, 171, 87, 0.1);
}

.quote-panel {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(0, 132, 61, 0.28), rgba(213, 171, 87, 0.12)),
    var(--panel);
}

.quote-panel p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--text);
}

.responsibility-statement {
  margin-top: 18px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(213, 171, 87, 0.16), rgba(0, 132, 61, 0.14)),
    var(--panel);
}

.responsibility-statement p {
  max-width: 860px;
  margin-inline: auto;
  color: var(--text);
  font-weight: 800;
}

.tab-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.tab-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.tab-button[aria-selected="true"] {
  background: var(--gold);
  color: #17110a;
}

.collection-panel {
  margin-top: 14px;
  min-height: 210px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.device-panel {
  min-height: 430px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    radial-gradient(circle at 50% 18%, rgba(213, 171, 87, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(0, 132, 61, 0.24), rgba(255, 255, 255, 0.03));
}

.device-screen {
  position: relative;
  z-index: 1;
  width: min(330px, 80vw);
  aspect-ratio: 9 / 16;
  border: 10px solid #111713;
  border-radius: 34px;
  padding: 38px 20px 22px;
  background: linear-gradient(180deg, #fffdf7 0%, #f5eddc 100%);
  box-shadow: 0 34px 80px rgba(20, 26, 23, 0.3), inset 0 0 0 1px rgba(255,255,255,.5);
}

.phone-shadow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 78, 59, .22), transparent 68%);
  filter: blur(8px);
}

.phone-speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: #26312c;
  transform: translateX(-50%);
}

.real-app-screen {
  display: block;
  width: min(305px, 75vw);
  aspect-ratio: 682 / 1536;
  padding: 34px 8px 10px;
  overflow: hidden;
  background: #111713;
}

.real-app-screen img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: top center;
}

.real-app-screen:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(6, 78, 59, .3);
}

.app-preview-header {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 10px 8px 18px;
  color: var(--emerald);
  font-size: .78rem;
  font-weight: 700;
}

.app-preview-header img {
  width: 172px;
  height: 74px;
  object-fit: contain;
}

.shopping-preview-image {
  position: relative;
  height: 170px;
  overflow: hidden;
  border: 1px solid rgba(182, 138, 50, .55);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(6, 78, 59, .18);
}

.shopping-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopping-preview-image span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(232, 209, 154, .75);
  border-radius: 999px;
  color: #fffdf7;
  background: rgba(6, 78, 59, .92);
  font-size: .72rem;
  font-weight: 800;
}

.app-preview-card {
  display: grid;
  gap: 7px;
  padding: 20px;
  border: 1px solid rgba(182, 138, 50, .55);
  border-radius: 18px;
  color: #fffdf7;
  background: linear-gradient(145deg, #064e3b, #087253);
  box-shadow: 0 18px 34px rgba(6, 78, 59, .2);
}

.app-preview-card small,
.app-preview-status small {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .78;
}

.app-preview-card strong { font-size: 1.15rem; }
.app-preview-card span { font-size: .8rem; line-height: 1.45; opacity: .9; }

.app-preview-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.app-preview-actions span {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 8px 4px;
  border: 1px solid rgba(182, 138, 50, .35);
  border-radius: 12px;
  color: var(--emerald);
  background: #fffdf7;
  font-size: .7rem;
  font-weight: 800;
}

.app-preview-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-radius: 14px;
  color: var(--text);
  background: rgba(232, 209, 154, .28);
}

.app-preview-status > span:last-child { display: grid; gap: 2px; }
.status-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--emerald); font-size: .68rem; font-weight: 900; }

.shopping-site-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 16px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(182, 138, 50, .65);
  border-radius: 12px;
  color: var(--emerald);
  background: #fffdf7;
  box-shadow: 0 12px 28px rgba(20, 26, 23, .11);
}

.shopping-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 22px 0 16px;
}

.app-download-group {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(182, 138, 50, .35);
  border-radius: 14px;
  background: rgba(255, 253, 247, .72);
}

.app-download-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--emerald);
}

.app-download-title img { width: 105px; height: 42px; object-fit: contain; }
.app-download-group .shopping-downloads { margin: 10px 0 0; }
.app-download-group .store-badge { min-width: 148px; padding: 8px 11px; }

.dual-device-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 540px;
  padding: 34px 22px;
}

.compact-device {
  width: min(225px, 34vw);
  aspect-ratio: 682 / 1536;
  border-width: 8px;
  border-radius: 28px;
}

.money-app-screen {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 38px 14px 16px;
  color: var(--text);
  background: linear-gradient(180deg, #fffdf7, #f2ead8);
}

.money-app-logo { width: 100%; height: 72px; object-fit: contain; }
.money-app-welcome { display: grid; gap: 4px; padding: 18px 14px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #064e3b, #087253); }
.money-app-welcome small { font-size: .62rem; letter-spacing: .1em; color: #e8d19a; }
.money-app-welcome strong { font-size: 1rem; line-height: 1.2; }
.money-app-field { display: grid; gap: 5px; padding: 13px; border: 1px solid rgba(182,138,50,.42); border-radius: 12px; background: #fffdf7; }
.money-app-field small { font-size: .7rem; color: #5c675f; }
.money-app-field strong { color: #064e3b; font-size: .86rem; }
.money-app-button { display: block; padding: 12px; border-radius: 10px; color: #fff; background: #064e3b; text-align: center; font-size: .78rem; font-weight: 800; }
.app-screen-label { position: absolute; left: 50%; bottom: 10px; z-index: 2; transform: translateX(-50%); padding: 5px 8px; border-radius: 999px; color: #fffdf7; background: rgba(6, 78, 59, .92); font-size: .62rem; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }

@media (max-width: 760px) {
  .dual-device-panel { gap: 10px; padding: 28px 12px 46px; }
  .compact-device { width: min(220px, 42vw); }
  .money-app-screen { gap: 9px; padding: 34px 10px 12px; }
  .money-app-logo { height: 54px; }
  .money-app-welcome { padding: 12px 10px; }
  .money-app-field { padding: 10px; }
}

.shopping-downloads .shopping-site-link,
.shopping-downloads .store-badge {
  margin: 0;
}

.shopping-site-link:hover { color: var(--emerald); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(6, 78, 59, .15); }
.shopping-site-link img { width: 120px; height: 54px; object-fit: contain; }
.shopping-site-link span { display: grid; gap: 3px; }
.shopping-site-link small { font-size: .66rem; letter-spacing: .08em; }
.shopping-site-link strong { font-size: 1rem; }

.app-preview-button {
  display: block;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid #b68a32;
  border-radius: 12px;
  color: #fffdf7;
  background: var(--emerald);
  text-align: center;
  font-weight: 800;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 16px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 166px;
  padding: 9px 14px;
  border: 1px solid #b68a32;
  border-radius: 10px;
  color: #fff;
  background: #111713;
  box-shadow: 0 10px 24px rgba(20, 26, 23, .13);
}

.store-badge:hover { color: #fff; background: #064e3b; transform: translateY(-2px); }
.store-badge svg { width: 28px; height: 28px; fill: currentColor; flex: 0 0 auto; }
.store-badge span { display: grid; line-height: 1; }
.store-badge small { font-size: .58rem; letter-spacing: .04em; }
.store-badge strong { margin-top: 4px; font-size: 1.05rem; }
}

.map-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, transparent 49%, rgba(213, 171, 87, 0.2) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(0, 132, 61, 0.2) 50%, transparent 51%),
    rgba(255, 255, 255, 0.04);
  background-size: 80px 80px;
}

.map-placeholder span {
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(6, 19, 15, 0.88);
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-flow: dense;
  gap: 18px;
}

.gallery-item {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--panel);
}

.gallery-item-wide {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item-wide img {
  object-position: center;
}

.gallery-item-portrait img {
  object-position: 50% 30%;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(3, 15, 11, 0.88));
  pointer-events: none;
}

.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: #fff8e7;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.social-links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--gold-2);
}

.newsletter-form,
.contact-form {
  padding: 24px;
}

.newsletter-form h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.2);
}

textarea {
  resize: vertical;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-intro,
.placeholder-note {
  padding: 12px 14px;
  border: 1px solid rgba(213, 171, 87, 0.28);
  border-radius: 6px;
  background: rgba(213, 171, 87, 0.08);
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.checkbox-line input,
.cookie-options input {
  width: auto;
  margin-top: 5px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.contact-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-list li {
  padding: 14px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-weight: 900;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.cta-band {
  padding: clamp(58px, 8vw, 96px) 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 245, 0.48), transparent 26rem),
    linear-gradient(135deg, #d2aa52, #f4e2aa 68%);
  border-block: 1px solid var(--line);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.cta-inner h2 {
  max-width: 760px;
  margin-top: 8px;
}

.site-footer {
  padding: 62px 0 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
    #cda54f;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.footer-grid nav,
.footer-grid nav > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid a {
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--gold-2);
}

.footer-logo {
  width: 116px;
  height: 58px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: start center;
  padding: 110px 20px 30px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.search-overlay[data-disabled="true"],
.search-toggle[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.search-dialog {
  position: relative;
  width: min(780px, 100%);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 0%, rgba(213, 171, 87, 0.16), transparent 18rem),
    linear-gradient(145deg, rgba(11, 30, 25, 0.98), rgba(4, 12, 10, 0.98));
  box-shadow: var(--shadow);
  color: #f9f5ea;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #f9f5ea;
  border-color: rgba(213, 171, 87, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.search-dialog h2 {
  max-width: calc(100% - 58px);
  margin-bottom: 18px;
  color: #f9f5ea;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

.search-dialog input {
  margin-top: 8px;
  font-size: 1.05rem;
  color: #f9f5ea;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(213, 171, 87, 0.28);
}

.search-dialog input::placeholder {
  color: rgba(249, 245, 234, 0.58);
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.search-result {
  padding: 13px;
  border: 1px solid rgba(213, 171, 87, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.search-result strong {
  display: block;
  color: var(--gold-2);
}

.cookie-consent {
  position: fixed;
  z-index: 170;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(620px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(6, 19, 15, 0.96);
  box-shadow: var(--shadow);
}

.cookie-consent[data-disabled="true"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.cookie-consent h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 6px;
}

.cookie-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.cookie-options label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cookie-actions {
  display: grid;
  gap: 8px;
}

.floating-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 130;
  display: grid;
  gap: 10px;
}

.float-button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 26, 21, 0.92);
  color: var(--gold-2);
  box-shadow: var(--shadow);
}

.float-button.whatsapp {
  background: #00843d;
  color: white;
}

.noscript {
  padding: 14px;
  background: var(--gold);
  color: #111;
  text-align: center;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.035) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.075) translate3d(-1.6%, -1.2%, 0);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .header-cta,
  .main-nav a:nth-last-child(n + 5),
  .brand-mark small {
    display: none;
  }

  .brand-mark {
    min-width: 245px;
  }

  .brand-mark strong {
    font-size: 1.22rem;
  }

  #hero-title {
    font-size: 5.4rem;
  }

  .stat-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-gateway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .three-grid,
  .responsibility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-grid,
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  :root {
    --container: min(100vw - 28px, 760px);
    --header-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand-mark {
    min-width: 0;
  }

  .brand-mark span {
    display: none;
  }

  .site-header .brand-mark {
    padding: 5px;
    border-radius: 8px;
  }

  .brand-logo {
    width: 96px;
    height: 50px;
  }

  .site-header .brand-logo {
    width: 96px;
    height: 50px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(6, 19, 15, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px;
  }

  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    display: none;
    grid-template-columns: 1fr;
    margin-top: 8px;
    padding: 14px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-dropdown.is-open .mega-menu {
    display: grid;
    transform: none;
  }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 80% 20%, rgba(213, 171, 87, 0.22), transparent 18rem),
      linear-gradient(180deg, rgba(2, 9, 7, 0.94) 0%, rgba(2, 9, 7, 0.76) 52%, rgba(2, 9, 7, 0.95) 100%);
  }

  .hero-content {
    width: var(--container);
    margin-inline: auto;
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 64px;
  }

  .page-hero-inner {
    width: var(--container);
    margin-inline: auto;
    padding-top: calc(var(--header-height) + 52px);
    padding-bottom: 64px;
  }

  .founder-page-hero .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .founder-hero-portrait {
    width: min(420px, 100%);
    justify-self: center;
  }

  .hero-logo {
    width: min(330px, 88vw);
    padding: 14px 16px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 14vw, 5.6rem);
  }

  #hero-title {
    font-size: 4.1rem;
  }

  .hero-facts,
  .split-layout,
  .split-layout.reverse,
  .founder-letter-layout,
  .ecosystem-layout,
  .contact-layout,
  .cta-inner,
  .collection-panel {
    grid-template-columns: 1fr;
  }

  .split-layout.reverse > :first-child {
    order: initial;
  }

  .trust-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .trust-item {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .brand-grid,
  .home-gateway-grid,
  .stat-grid,
  .three-grid,
  .compact-grid,
  .value-grid,
  .service-grid,
  .news-grid,
  .responsibility-grid,
  .footer-grid,
  .form-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .founder-side-panel {
    position: static;
  }

  .home-gateway-card {
    min-height: 230px;
  }

  .ecosystem-diagram {
    min-height: auto;
    display: grid;
    gap: 10px;
    padding: 16px;
  }

  .ecosystem-diagram::before,
  .ecosystem-line {
    display: none;
  }

  .ecosystem-center,
  .ecosystem-node {
    position: static;
    width: 100%;
    min-height: auto;
    transform: none !important;
  }

  .ecosystem-center,
  .ecosystem-node {
    padding: 18px;
    gap: 10px;
  }

  .ecosystem-center img,
  .ecosystem-node-logo {
    width: min(var(--brand-logo-width), 76%);
    height: var(--brand-logo-height);
    padding: 7px 10px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) .timeline-card {
    display: block;
    padding-left: 30px;
  }

  .timeline-dot {
    left: 8px;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    bottom: 84px;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  #hero-title {
    font-size: 3.1rem;
  }
}

@media (max-width: 420px) {
  #hero-title {
    font-size: 2.45rem;
  }
}

@media (max-width: 520px) {
  .hero-content {
    box-sizing: border-box;
    width: auto;
    max-width: none;
    min-width: 0;
    margin-inline: 14px;
  }

  #hero-title {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.35rem);
    letter-spacing: -0.035em;
  }

  .hero-subtitle,
  .hero-copy {
    box-sizing: border-box;
    width: auto;
    max-width: none;
    inline-size: calc(100vw - 40px);
    max-inline-size: calc(100vw - 40px);
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-actions {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button {
    width: 40px;
    min-height: 40px;
  }

  .hero-actions .button,
  .cta-actions .button,
  .app-buttons .button,
  .section-actions .button {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.25rem);
  }

  .hero-subtitle {
    font-size: 1.12rem;
  }

  .brand-card-logo {
    width: var(--brand-logo-width);
    max-width: 100%;
    height: var(--brand-logo-height);
  }

  .brand-card-logo-stack,
  .brand-card-logo-stack.is-duo,
  .brand-logo-link {
    width: var(--brand-logo-width);
    max-width: 100%;
  }

  .brand-card-logo-stack.is-duo .brand-card-logo {
    width: var(--brand-logo-width);
    max-width: 100%;
    height: var(--brand-logo-height);
  }

  .marker-row,
  .mega-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .hero-facts {
    gap: 10px;
  }

  .gallery-item,
  .gallery-item-wide {
    min-height: 360px;
    grid-row: auto;
  }

  .gallery-item-wide {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Champagne-gold signature theme */
.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  background: rgba(255, 252, 238, 0.76);
  border-color: var(--line);
}

.site-header.is-scrolled .brand-mark strong,
.site-header.is-open .brand-mark strong,
.site-header.is-scrolled .main-nav a,
.site-header.is-open .main-nav a,
.site-header.is-scrolled .nav-link,
.site-header.is-open .nav-link,
.site-header.is-scrolled .icon-button,
.site-header.is-open .icon-button {
  color: var(--ink);
}

.site-header.is-scrolled .brand-mark small,
.site-header.is-open .brand-mark small {
  color: var(--emerald);
}

.button-secondary,
.social-links a,
.tab-button {
  border-color: var(--line);
  background: rgba(255, 251, 235, 0.54);
  color: var(--emerald);
}

.home-gateway-card > span:not(.gateway-initial),
.eyebrow,
.stat-card strong,
.timeline-year,
.founder-card cite,
.founder-letter h3,
.signature,
.media-panel figcaption {
  color: var(--emerald);
}

.hero .eyebrow,
.page-hero .eyebrow,
.hero .trust-badge {
  color: #f4d98f;
}

.hero .button-ghost,
.page-hero .button-ghost {
  border-color: rgba(244, 217, 143, 0.42);
  background: rgba(2, 18, 12, 0.3);
  color: #fffaf0;
}

.year-marker,
.mini-highlight,
.founder-facts div,
.contact-list li,
.tab-button,
.map-placeholder,
.ecosystem-diagram {
  background-color: rgba(255, 250, 232, 0.5);
}

.founder-card,
.founder-side-panel,
.founder-letter,
.personal-commitment .narrow,
.quote-panel,
.responsibility-statement,
.device-panel {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.62), transparent 48%),
    linear-gradient(145deg, rgba(255, 249, 226, 0.9), rgba(224, 191, 105, 0.22)),
    var(--panel);
}

.brand-top {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(0, 107, 60, 0.07), rgba(211, 170, 78, 0.18));
}

.ecosystem-center,
.ecosystem-node {
  color: var(--text);
  background: rgba(255, 250, 232, 0.94);
  box-shadow: 0 18px 50px rgba(85, 58, 8, 0.15);
}

.ecosystem-node strong,
.gateway-initial {
  color: var(--emerald);
  background: rgba(0, 107, 60, 0.07);
}

.map-placeholder span {
  color: #fffaf0;
  background: rgba(0, 79, 44, 0.92);
}

input,
select,
textarea {
  border-color: rgba(97, 69, 18, 0.28);
  color: var(--ink);
  background: rgba(255, 253, 243, 0.78);
}

.faq-question,
label {
  color: var(--ink);
}

.cta-band .eyebrow,
.cta-band h2,
.cta-band p,
.site-footer h2,
.site-footer p,
.site-footer a,
.site-footer .brand-mark strong,
.site-footer .brand-mark small {
  color: var(--ink);
}

.site-footer a:hover {
  color: var(--emerald);
}

.float-button {
  border-color: rgba(184, 137, 39, 0.72);
  background: #fff8df;
  color: var(--emerald);
}

/* Premium gold hero with emerald typography */
.hero-overlay,
.page-hero .hero-overlay {
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 242, 0.4), transparent 28rem),
    linear-gradient(105deg, rgba(244, 222, 161, 0.97) 0%, rgba(221, 183, 91, 0.9) 47%, rgba(232, 204, 133, 0.82) 100%);
}

.hero-media,
.page-hero .hero-media {
  filter: saturate(0.72) contrast(0.9);
}

.hero h1,
.hero h1 strong,
.page-hero h1,
.hero-subtitle,
.hero .trust-badge,
.page-hero .eyebrow,
.hero .text-link {
  color: #005b36;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hero-copy,
.page-hero p,
.hero dt {
  color: #243b30;
}

.hero dd {
  color: #004d2d;
}

.hero-facts div,
.hero-ceo-quote {
  border-color: rgba(121, 83, 14, 0.34);
  background: rgba(255, 250, 230, 0.62);
  box-shadow: 0 14px 36px rgba(86, 56, 5, 0.1);
}

.hero-ceo-quote p,
.hero-ceo-quote cite {
  color: #005b36;
}

.hero .button-ghost,
.page-hero .button-ghost {
  border-color: rgba(0, 91, 54, 0.38);
  background: rgba(255, 251, 235, 0.56);
  color: #005b36;
}

.site-header:not(.is-scrolled):not(.is-open) .brand-mark {
  border-color: rgba(142, 99, 18, 0.38);
  background: rgba(255, 249, 225, 0.78);
}

.site-header:not(.is-scrolled):not(.is-open) .brand-mark strong,
.site-header:not(.is-scrolled):not(.is-open) .main-nav a,
.site-header:not(.is-scrolled):not(.is-open) .nav-link,
.site-header:not(.is-scrolled):not(.is-open) .icon-button {
  color: #005b36;
}

.site-header:not(.is-scrolled):not(.is-open) .brand-mark small {
  color: #6e4a09;
}

.site-header:not(.is-scrolled):not(.is-open) .main-nav a:hover,
.site-header:not(.is-scrolled):not(.is-open) .main-nav a.active,
.site-header:not(.is-scrolled):not(.is-open) .nav-link:hover {
  background: rgba(255, 251, 235, 0.48);
  color: #004d2d;
}

.founder-hero-portrait {
  border-color: rgba(142, 99, 18, 0.52);
  box-shadow: 0 30px 72px rgba(92, 61, 8, 0.22);
}

.founder-page-hero h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2.7rem, 4vw, 4.4rem);
  letter-spacing: -0.035em;
}

.founder-page-hero .page-hero-inner > div {
  min-width: 0;
}

.founder-facts dd {
  color: #005b36;
}

.keep-together {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .founder-page-hero h1 {
    font-size: clamp(1.9rem, 8.2vw, 3.35rem);
    letter-spacing: -0.045em;
  }
}

/* Premium circular brand ecosystem */
.ecosystem-layout {
  grid-template-columns: minmax(260px, 0.55fr) minmax(680px, 1.45fr);
  align-items: start;
}

.ecosystem-diagram {
  min-height: 760px;
  display: block;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(0, 107, 60, 0.15), transparent 48%),
    rgba(255, 250, 232, 0.7);
}

.ecosystem-diagram::before {
  display: block;
  inset: 13%;
  border: 1px solid rgba(142, 99, 18, 0.28);
  box-shadow: 0 0 0 26px rgba(255, 248, 220, 0.16), inset 0 0 60px rgba(0, 107, 60, 0.05);
  animation: spinSlow 44s linear infinite;
}

.ecosystem-line {
  display: block;
  height: 260px;
  opacity: 0.32;
  background: linear-gradient(var(--gold), rgba(0, 107, 60, 0.08), transparent);
}

.ecosystem-center,
.ecosystem-node {
  position: absolute;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(236, 210, 145, 0.2)),
    var(--panel);
  box-shadow: 0 16px 38px rgba(83, 56, 8, 0.14);
}

.ecosystem-center {
  inset: 50% auto auto 50%;
  width: 220px;
  min-height: 154px;
  padding: 20px;
  transform: translate(-50%, -50%);
  border-color: rgba(0, 107, 60, 0.34);
  z-index: 2;
}

.ecosystem-center img {
  width: min(190px, 100%);
  height: 92px;
  padding: 4px 7px;
}

.ecosystem-node {
  width: 182px;
  min-height: 146px;
  padding: 13px;
  gap: 7px;
  font-size: 0.9rem;
  z-index: 3;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ecosystem-node:hover {
  border-color: rgba(0, 107, 60, 0.42);
  box-shadow: 0 22px 48px rgba(83, 56, 8, 0.2);
}

.ecosystem-node-logo {
  width: min(156px, 100%);
  height: 70px;
  padding: 4px 7px;
}

.ecosystem-node em {
  color: #101713;
  font-size: 1rem;
}

.ecosystem-node span {
  color: #4d5c52;
  font-size: 0.8rem;
}

@media (max-width: 1100px) {
  .ecosystem-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ecosystem-diagram {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .ecosystem-diagram::before,
  .ecosystem-line {
    display: none;
  }

  .ecosystem-center,
  .ecosystem-node {
    position: static;
    width: 100%;
    min-height: 154px;
    transform: none !important;
  }
}

/* Refined emerald, champagne and warm-ivory brand system */
:root,
:root[data-theme="light"] {
  --bg: #f8f3e7;
  --bg-2: #e8d19a;
  --panel: rgba(255, 253, 247, 0.94);
  --panel-solid: #fffdf7;
  --panel-light: #f8f3e7;
  --text: #141a17;
  --muted: #4d5c52;
  --ink: #141a17;
  --emerald: #064e3b;
  --emerald-2: #0b6b51;
  --gold: #b68a32;
  --gold-2: #8b6723;
  --ivory: #f8f3e7;
  --logo-plaque: #fffdf7;
  --logo-plaque-line: rgba(182, 138, 50, 0.46);
  --logo-plaque-shadow: 0 14px 34px rgba(20, 26, 23, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.78);
  --line: rgba(182, 138, 50, 0.46);
  --line-soft: rgba(6, 78, 59, 0.13);
  --shadow: 0 22px 58px rgba(20, 26, 23, 0.12);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.96), transparent 31rem),
    radial-gradient(circle at 88% 28%, rgba(232, 209, 154, 0.38), transparent 36rem),
    linear-gradient(145deg, #fffdf7 0%, #f8f3e7 46%, #f0e2bc 100%);
}

body::before {
  opacity: 0.07;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(6, 78, 59, 0.2) 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, rgba(182, 138, 50, 0.26) 49%, transparent 51%);
}

body::after {
  opacity: 0.18;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 24%, transparent 78%, rgba(6, 78, 59, 0.04));
}

.site-header,
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(6, 78, 59, 0.97);
  border-bottom-color: rgba(182, 138, 50, 0.72);
  box-shadow: 0 12px 34px rgba(20, 26, 23, 0.2);
  backdrop-filter: blur(18px);
}

.site-header .brand-mark,
.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark,
.site-header:not(.is-scrolled):not(.is-open) .brand-mark {
  background: rgba(255, 253, 247, 0.1);
  border-color: rgba(182, 138, 50, 0.58);
  box-shadow: none;
}

.site-header .brand-mark strong,
.site-header .main-nav a,
.site-header .nav-link,
.site-header .icon-button,
.site-header.is-scrolled .brand-mark strong,
.site-header.is-open .brand-mark strong,
.site-header.is-scrolled .main-nav a,
.site-header.is-open .main-nav a,
.site-header.is-scrolled .nav-link,
.site-header.is-open .nav-link,
.site-header.is-scrolled .icon-button,
.site-header.is-open .icon-button,
.site-header:not(.is-scrolled):not(.is-open) .brand-mark strong,
.site-header:not(.is-scrolled):not(.is-open) .main-nav a,
.site-header:not(.is-scrolled):not(.is-open) .nav-link,
.site-header:not(.is-scrolled):not(.is-open) .icon-button {
  color: #fffdf7;
}

.site-header .brand-mark small,
.site-header.is-scrolled .brand-mark small,
.site-header.is-open .brand-mark small,
.site-header:not(.is-scrolled):not(.is-open) .brand-mark small {
  color: #e8d19a;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active,
.site-header .nav-link:hover,
.site-header:not(.is-scrolled):not(.is-open) .main-nav a:hover,
.site-header:not(.is-scrolled):not(.is-open) .main-nav a.active,
.site-header:not(.is-scrolled):not(.is-open) .nav-link:hover {
  color: #fffdf7;
  background: rgba(232, 209, 154, 0.16);
}

.button-primary {
  color: #fffdf7;
  background: linear-gradient(135deg, #064e3b, #0b6b51);
  border-color: #b68a32;
  box-shadow: 0 12px 28px rgba(6, 78, 59, 0.2);
}

.button-secondary,
.social-links a,
.tab-button {
  color: #064e3b;
  background: #fffdf7;
  border-color: rgba(182, 138, 50, 0.55);
}

.home-gateway {
  background: linear-gradient(135deg, rgba(232, 209, 154, 0.46), rgba(248, 243, 231, 0.9));
}

.home-gateway-card,
.stat-card,
.brand-card,
.timeline-card,
.year-marker,
.mini-highlight,
.founder-facts div,
.contact-list li,
.map-placeholder,
.ecosystem-diagram,
.ecosystem-center,
.ecosystem-node,
.founder-card,
.founder-side-panel,
.founder-letter,
.personal-commitment .narrow,
.quote-panel,
.responsibility-statement,
.device-panel {
  background: #fffdf7;
  border-color: rgba(182, 138, 50, 0.4);
  box-shadow: 0 18px 46px rgba(20, 26, 23, 0.1);
}

.home-gateway-card:hover,
.brand-card:hover,
.ecosystem-node:hover {
  border-color: #b68a32;
  box-shadow: 0 24px 54px rgba(6, 78, 59, 0.15);
}

.brand-top {
  background: linear-gradient(135deg, #fffdf7, rgba(232, 209, 154, 0.3));
}

.hero-overlay,
.page-hero .hero-overlay {
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 253, 247, 0.6), transparent 28rem),
    linear-gradient(105deg, rgba(248, 243, 231, 0.98) 0%, rgba(232, 209, 154, 0.88) 48%, rgba(6, 78, 59, 0.36) 100%);
}

.hero h1,
.hero h1 strong,
.page-hero h1 {
  color: #141a17;
  text-shadow: none;
}

.hero-subtitle,
.hero .trust-badge,
.page-hero .eyebrow,
.hero .text-link,
.hero-ceo-quote p,
.hero-ceo-quote cite,
.founder-facts dd {
  color: #064e3b;
}

.hero-facts div,
.hero-ceo-quote {
  background: rgba(255, 253, 247, 0.78);
  border-color: rgba(182, 138, 50, 0.45);
  box-shadow: 0 14px 34px rgba(20, 26, 23, 0.09);
}

.cta-band,
.site-footer {
  color: #fffdf7;
  background:
    radial-gradient(circle at 85% 0%, rgba(182, 138, 50, 0.18), transparent 28rem),
    linear-gradient(135deg, #043d2f, #064e3b);
  border-color: rgba(182, 138, 50, 0.54);
}

.cta-band .eyebrow,
.cta-band h2,
.cta-band p,
.site-footer h2,
.site-footer p,
.site-footer a,
.site-footer .brand-mark strong {
  color: #fffdf7;
}

.site-footer .brand-mark small,
.site-footer a:hover {
  color: #e8d19a;
}

.float-button {
  color: #fffdf7;
  background: #064e3b;
  border-color: #b68a32;
}

/* Public-launch service gateway refinements */
.header-inner { gap: 14px; }
.site-header .brand-mark { min-width: 260px; }
.main-nav { gap: 2px; }
.main-nav a { padding-inline: 8px; }
.header-actions { flex: 0 0 auto; }
.header-cta { white-space: nowrap; }

.home-gateway-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.home-gateway-card { min-height: 330px; }
.gateway-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 9px 13px;
  border: 1px solid #b68a32;
  border-radius: 7px;
  color: #fffdf7;
  background: #064e3b;
  font-size: .82rem;
}

.faq-list details {
  border: 1px solid rgba(182, 138, 50, .38);
  border-radius: 12px;
  background: #fffdf7;
  box-shadow: 0 12px 30px rgba(20, 26, 23, .07);
}
.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #141a17;
  font-weight: 850;
}
.faq-list details p { padding: 0 20px 20px; }

@media (max-width: 1100px) {
  .site-header .brand-mark { min-width: 220px; }
  .brand-mark span { display: none; }
  .home-gateway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .home-gateway-grid { grid-template-columns: 1fr; }
  .home-gateway-card { min-height: 285px; }
}
