/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Refined daylight identity — ivory, ink and restrained sun-gold */
  --bg-dark: #f7f5ef;
  --bg-darker: #eeece4;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f7f1e2;
  --color-accent: #c8922f;
  --color-accent-hot: #a96f19;
  --accent-grad: linear-gradient(135deg, #d6ab52 0%, #b77c24 100%);
  --color-text: #14263d;
  --color-text-secondary: #4e6070;
  --color-text-muted: #78838d;
  --color-border: #dcded9;
  --color-border-strong: #bfc6c5;
  --header-bg: rgba(255, 255, 255, 0.82);

  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Outfit', sans-serif;

  --radius: 14px;
  --header-height: 76px;
  --island-width: 1240px;

  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

.dark {
  --bg-dark: #0a0a0c;
  --bg-darker: #111114;
  --bg-surface: #16161a;
  --bg-surface-hover: #1c1c22;
  --color-text: #f7f5ef;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-strong: rgba(255, 255, 255, 0.2);
  --header-bg: rgba(10, 10, 12, 0.65);
}

body {
  background-color: var(--bg-dark);
  color: var(--color-text);
  font-family: var(--font-en);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[dir='rtl'] body {
  font-family: var(--font-ar);
}

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

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
}

::selection {
  background: rgba(200, 146, 47, 0.28);
  color: var(--color-text);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #c8c5bb;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

.site-shell {
  position: relative;
  min-height: 100vh;
}

/* Shared content container */
.stack-card-wrapper {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section-padding {
  padding-block: clamp(6rem, 12vw, 9.5rem);
  position: relative;
}

.about-section,
.vision-section {
  background: var(--bg-darker);
  border-block: 1px solid var(--color-border);
}

/* Headings */
h1,
h2,
h3 {
  line-height: 1.1;
  font-weight: 800;
}

h1 span,
h2 span {
  display: block;
}

h1 {
  font-size: clamp(2.6rem, 7.6vw, 6.2rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

html[dir='ltr'] h1,
html[dir='ltr'] h2 {
  letter-spacing: 0.01em;
}

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 1.1rem;
  width: fit-content;
}

.section-head .eyebrow {
  margin-inline: auto;
}

html[dir='ltr'] .eyebrow {
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

/* Header — brand | centered nav | tools */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  background: transparent;
  /* Explicit starting values so the island transition animates smoothly (no edge flicker) */
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid transparent;
  border-radius: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-island {
  top: 1rem;
  height: 64px;
  max-width: calc(100% - 2rem);
  margin-inline: auto;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding-inline: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  /* Ensure backdrop-filter works on all browsers */
  transform: translateZ(0);
}

.site-header::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 146, 47, 0.42) 30%, rgba(20, 38, 61, 0.24) 70%, transparent);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.site-header.is-island::after {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  justify-self: start;
}

.brand img {
  height: 43px;
  width: 43px;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.08);
  filter: drop-shadow(0 8px 12px rgba(200, 146, 47, 0.35));
}

.brand>span {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 1.7px;
  line-height: 1.15;
}

@media (max-width: 450px) {
  .brand>span {
    display: none;
  }
}

.brand small {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-accent);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 2.4rem;
  height: 100%;
}

.desktop-nav button {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

html[dir='ltr'] .desktop-nav button {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
}

.desktop-nav button::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-grad);
  box-shadow: 0 0 10px rgba(255, 176, 46, 0.6);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-nav button:hover {
  color: var(--color-accent);
  text-shadow: none;
}

.desktop-nav button:hover::after {
  width: 100%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  justify-self: end;
}

/* Outline pill — reference "BUY" style */
.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 1.2rem;
  min-width: 42px;
  height: 42px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  transition: all 0.3s ease;
}

@media (max-width: 450px) {
  .language-button {
    padding: 0;
    width: 42px;
  }
  .language-button span {
    display: none;
  }
}

.language-button:hover {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(183, 124, 36, 0.22);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
}

.menu-button svg {
  width: 19px;
  height: 19px;
}

.mobile-nav {
  position: fixed;
  top: calc(var(--header-height) + 1rem);
  inset-inline: 1rem;
  z-index: 150;
  display: flex;
  flex-direction: column;
  background: var(--header-bg);
  padding: 0.75rem;
  border-radius: 24px;
  border: 1px solid var(--color-border-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transform: translateZ(0);
}

@media (min-width: 900px) {
  .mobile-nav {
    inset-inline: auto;
    inset-inline-end: 2.5rem;
    width: 300px;
  }
}

.dark .mobile-nav {
  background: rgba(22, 22, 26, 0.9);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav button.nav-link {
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: start;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.mobile-nav button.nav-link:hover {
  background: var(--bg-surface-hover);
  color: var(--color-accent);
  padding-inline-start: 1.5rem;
}

.mobile-nav-divider {
  height: 1px;
  background: var(--color-border);
  margin-block: 0.5rem;
}

.mobile-nav button.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .desktop-only {
    display: none;
  }
}

.mobile-nav button:last-child {
  border-bottom: none;
}

.mobile-nav button:hover {
  color: var(--color-text);
}

/* Hero — full-bleed image, giant display type, CTA row, stats strip */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  padding-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 48% at 50% 0%, rgba(214, 171, 82, 0.17) 0%, transparent 67%),
    radial-gradient(ellipse 42% 35% at 50% 115%, rgba(20, 38, 61, 0.06) 0%, transparent 70%);
}

/* Warm light beam — Gcore-style corner glow */
.hero-beam {
  position: absolute;
  top: -22%;
  inset-inline-end: -14%;
  width: 58%;
  height: 62%;
  z-index: -1;
  pointer-events: none;
  background: conic-gradient(from 210deg at 70% 20%, transparent 0deg, rgba(214, 171, 82, 0.27) 28deg, rgba(20, 38, 61, 0.08) 55deg, transparent 85deg);
  filter: blur(42px);
  animation: beamSway 9s ease-in-out infinite alternate;
}

@keyframes beamSway {
  from {
    opacity: 0.65;
    transform: rotate(-3deg) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: rotate(4deg) translateY(6px);
  }
}

/* Vector network — floating sector nodes linked to the group core */
.hero-network {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-lines path {
  stroke: rgba(20, 38, 61, 0.15);
  stroke-width: 1;
  stroke-dasharray: 5 7;
  animation: lineFlow 30s linear infinite;
}

@keyframes lineFlow {
  to {
    stroke-dashoffset: -600;
  }
}

.net-pulse {
  fill: var(--color-accent);
  filter: drop-shadow(0 0 6px rgba(200, 146, 47, 0.7));
}

.net-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.87);
  border: 1px solid var(--color-border-strong);
  border-radius: 13px;
  box-shadow: 0 12px 26px rgba(20, 38, 61, 0.12), 0 0 18px rgba(200, 146, 47, 0.09);
  animation: nodeFloat 6s ease-in-out infinite;
}

.net-node.n1 {
  top: 20%;
  inset-inline-start: 6.5%;
  animation-delay: 0s;
}

.net-node.n2 {
  top: 50%;
  inset-inline-start: 4.5%;
  animation-delay: 1.2s;
}

.net-node.n3 {
  top: 79%;
  inset-inline-start: 10.5%;
  animation-delay: 2.1s;
}

.net-node.n4 {
  top: 18%;
  inset-inline-end: 6.5%;
  animation-delay: 0.7s;
}

.net-node.n5 {
  top: 49%;
  inset-inline-end: 4.5%;
  animation-delay: 1.7s;
}

.net-node.n6 {
  top: 78%;
  inset-inline-end: 10.5%;
  animation-delay: 2.6s;
}

@keyframes nodeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vh, 3.5rem);
  padding-block: clamp(3rem, 6vh, 5rem) 2.5rem;
  flex: 1;
}

.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-top: 0.6rem;
}

.hero-description {
  max-width: 460px;
  margin-top: 0.9rem;
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta,
.hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.hero-cta {
  color: var(--bg-dark);
  background: var(--color-text);
  box-shadow: 0 10px 22px rgba(20, 38, 61, 0.18);
}

.dark .hero-cta {
  color: #000;
  background: #fff;
}

.hero-cta:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.hero-ghost {
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.hero-ghost:hover {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}

/* Bottom strip: stats | socials */
.hero-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: auto;
  padding-top: 1.6rem;
  border-top: 1px solid var(--color-border);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hero-stats>div {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.hero-stats strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text);
  font-family: var(--font-en);
}

.hero-stats span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.social-list {
  display: flex;
  gap: 0.7rem;
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text-secondary);
  text-decoration: none;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-list a:hover {
  color: #fff;
  background: var(--color-text);
  border-color: var(--color-text);
}

/* About — centered head, two text columns, stat hairlines, image strip */
.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 980px;
  margin: 0 auto;
}

.lead-text {
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}

.body-text {
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  line-height: 1.85;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin: clamp(3rem, 6vw, 4.5rem) auto;
  border-block: 1px solid var(--color-border);
}

/* Extra hover motion */
.stats-row>div {
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: background 0.4s ease;
}

.stats-row>div:hover {
  background: rgba(255, 176, 46, 0.05);
}

.stats-row strong {
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.stats-row>div:hover strong {
  color: var(--color-accent);
  transform: translateY(-4px);
}

.collection-image>img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-image:hover>img {
  transform: scale(1.05);
}

.contact-details span {
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-details span:hover {
  color: var(--color-text);
  transform: translateX(-4px);
}

html[dir='ltr'] .contact-details span:hover {
  transform: translateX(4px);
}

.mission-note {
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mission-note:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-3px);
}

.stats-row>div+div {
  border-inline-start: 1px solid var(--color-border);
}

.stats-row strong {
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.7rem;
  color: var(--color-text);
  font-family: var(--font-en);
}

.stats-row span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 980px;
  margin: 0 auto;
}

.image-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(0.2) sepia(0.08) brightness(1.04);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.image-strip img:hover {
  filter: grayscale(0) sepia(0) brightness(1);
  transform: translateY(-4px);
}

/* Collection — prev | main | next panels + footer with numbered pagination */
.collection-stage {
  display: grid;
  grid-template-columns: 1fr 1.7fr 1fr;
  align-items: center;
  gap: 1.4rem;
}

.collection-panel {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  padding: 0;
  text-align: start;
}

.collection-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(0.4) sepia(0.14) brightness(0.85);
  transition: all 0.4s ease;
}

.collection-panel:hover img {
  opacity: 0.65;
  filter: grayscale(0.2) sepia(0.1) brightness(0.85);
}

.panel-label {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.collection-panel:hover .panel-label {
  color: var(--color-text);
}

html[dir='rtl'] .flip-rtl {
  transform: scaleX(-1);
}

.collection-main {
  position: relative;
}

.collection-image {
  position: relative;
  aspect-ratio: 16 / 10.5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
}

.collection-image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.05) brightness(1);
}

.image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

.collection-label {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  z-index: 2;
}

.collection-label>span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-family: var(--font-en);
}

.collection-label h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.company-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.company-link:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000 !important;
}

.collection-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.collection-head .collection-note {
  max-width: 460px;
  margin: 1rem auto 0;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  text-align: center;
}

.collection-footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.collection-pagination {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  justify-self: center;
  padding-bottom: 0.6rem;
}

.collection-pagination button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  font-family: var(--font-en);
  transition: color 0.3s ease;
}

.collection-pagination button::after {
  content: '';
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width 0.35s ease;
}

.collection-pagination button:hover {
  color: var(--color-text-secondary);
}

.collection-pagination button.active {
  color: var(--color-text);
}

.collection-pagination button.active::after {
  width: 42px;
}

.collection-note {
  justify-self: end;
  max-width: 280px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  text-align: end;
}

/* Vision */
.vision-wrapper {
  max-width: 820px;
}

.vision-statement {
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
  text-align: center;
}

.mission-note {
  margin-top: 2.6rem;
  padding: 1.9rem 2.1rem;
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-inline-start: 2px solid var(--color-accent);
  border-radius: var(--radius);
}

.mission-note span {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
}

html[dir='ltr'] .mission-note span {
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.mission-note p {
  font-size: 0.96rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-heading>p {
  margin-top: 1.2rem;
  max-width: 420px;
  color: var(--color-text-secondary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.2rem;
}

.contact-details span {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.contact-details svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--bg-darker);
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  transition: all 0.3s ease;
  resize: vertical;
}

.dark .contact-form input,
.dark .contact-form textarea {
  background: rgba(255, 255, 255, 0.03);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(200, 146, 47, 0.1);
}

.contact-form button[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  padding: 0.95rem 2rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bg-dark);
  background: var(--color-text);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.dark .contact-form button[type='submit'] {
  background: #fff;
  color: #000;
}

.contact-form button[type='submit']:hover:not(:disabled) {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.contact-form button[type='submit']:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-success,
.form-error {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.86rem;
  border-radius: 10px;
}

.form-success {
  color: #34d399;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.form-error {
  color: #fb7185;
  background: rgba(244, 63, 94, 0.07);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.6rem;
  padding: 2.6rem clamp(1.25rem, 4vw, 2.5rem);
  background: var(--bg-darker);
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-block: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  justify-items: start;
  margin-bottom: 3rem;
  width: 100%;
}

.footer-heading {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-text);
}

.footer-tagline {
  margin: 1.5rem 0 0;
  max-width: 300px;
  color: var(--color-text-secondary);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-nav button {
  padding: 0.2rem 0;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.footer-nav button:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    justify-items: center;
  }
  
  .footer-brand, .footer-links, .footer-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-tagline {
    text-align: center;
  }

  .footer-brand .brand {
    justify-content: center;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.footer-credit {
  font-weight: 600;
  color: var(--color-accent);
}

.site-footer .brand img {
  height: 30px;
}

.site-footer>p {
  color: var(--color-text-secondary);
}

.site-footer>div {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.profile-link {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.profile-link:hover {
  border-color: var(--color-accent);
}

/* Responsive */
@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

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

  .collection-stage {
    grid-template-columns: 1fr;
  }

  .collection-panel {
    display: none;
  }

  .collection-pagination {
    padding-bottom: 0;
  }

  .hero-network {
    display: none;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.4rem;
  }
}

@media (max-width: 600px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .stats-row>div+div {
    border-inline-start: none;
    border-top: 1px solid var(--color-border);
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .collection-image {
    aspect-ratio: 4 / 3.2;
  }

  .collection-pagination {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .site-footer {
    padding-block: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-beam,
  .net-node,
  .network-lines path {
    animation: none;
  }
}

/* Language switch animations */
.swap-text {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.swap-text>span {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.lang-content {
  will-change: transform, opacity, filter;
}