:root {
  color-scheme: light;
  --teal: #2f8d87;
  --forest: #173f36;
  --forest-deep: #17231f;
  --ink: #17231f;
  --sand: #f6f3ea;
  --lime: #f6f3ea;
  --lime-bright: #ffffff;
  --muted: #5f6d68;
  --soft: #f6f3ea;
  --line: #d7ded9;
  --white: #ffffff;
  --page-bg: var(--white);
  --surface-bg: var(--white);
  --surface-soft: var(--sand);
  --surface-elevated: var(--white);
  --surface-subtle: var(--sand);
  --text-primary: var(--ink);
  --text-secondary: var(--muted);
  --text-accent: var(--forest);
  --border-color: var(--line);
  --focus-ring: var(--teal);
  --header-bg: rgba(255, 255, 255, 0.96);
  --mobile-nav-bg: rgba(255, 255, 255, 0.985);
  --surface-shadow: rgba(23, 63, 54, 0.08);
  --menu-icon: var(--forest);
  --control-bg: var(--white);
  --control-hover: var(--sand);
  --control-icon: var(--forest);
  --social-hover-bg: var(--forest);
  --social-hover-text: var(--white);
  --contrast-button-bg: var(--forest);
  --contrast-button-hover: var(--ink);
  --contrast-button-text: var(--white);
  --header-height: 94px;
  --content-width: 1700px;
  --section-pad: clamp(72px, 7vw, 112px);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: var(--ink);
  --surface-bg: var(--ink);
  --surface-soft: var(--forest);
  --surface-elevated: var(--forest);
  --surface-subtle: rgba(246, 243, 234, 0.075);
  --text-primary: var(--sand);
  --text-secondary: rgba(246, 243, 234, 0.76);
  --text-accent: var(--sand);
  --border-color: rgba(246, 243, 234, 0.2);
  --focus-ring: var(--sand);
  --header-bg: rgba(23, 35, 31, 0.96);
  --mobile-nav-bg: rgba(23, 35, 31, 0.985);
  --surface-shadow: rgba(0, 0, 0, 0.26);
  --menu-icon: var(--sand);
  --control-bg: var(--forest);
  --control-hover: var(--teal);
  --control-icon: var(--sand);
  --social-hover-bg: var(--sand);
  --social-hover-text: var(--ink);
  --contrast-button-bg: var(--sand);
  --contrast-button-hover: var(--white);
  --contrast-button-text: var(--ink);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    color-scheme: dark;
    --page-bg: var(--ink);
    --surface-bg: var(--ink);
    --surface-soft: var(--forest);
    --surface-elevated: var(--forest);
    --surface-subtle: rgba(246, 243, 234, 0.075);
    --text-primary: var(--sand);
    --text-secondary: rgba(246, 243, 234, 0.76);
    --text-accent: var(--sand);
    --border-color: rgba(246, 243, 234, 0.2);
    --focus-ring: var(--sand);
    --header-bg: rgba(23, 35, 31, 0.96);
    --mobile-nav-bg: rgba(23, 35, 31, 0.985);
    --surface-shadow: rgba(0, 0, 0, 0.26);
    --menu-icon: var(--sand);
    --control-bg: var(--forest);
    --control-hover: var(--teal);
    --control-icon: var(--sand);
    --social-hover-bg: var(--sand);
    --social-hover-text: var(--ink);
    --contrast-button-bg: var(--sand);
    --contrast-button-hover: var(--white);
    --contrast-button-text: var(--ink);
  }

  html:not([data-theme]) .brand-logo-light,
  html:not([data-theme]) .theme-icon-moon {
    display: none;
  }

  html:not([data-theme]) .brand-logo-dark,
  html:not([data-theme]) .theme-icon-sun {
    display: block;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text-primary);
  background: var(--page-bg);
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  transition: color 180ms ease, background-color 180ms ease;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 5px;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--header-height);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 18px 5%;
  gap: 28px;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: 0 8px 30px var(--surface-shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 140px;
}

.brand-logo-set {
  display: grid;
  width: clamp(140px, 12vw, 176px);
}

.brand-logo {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
}

.brand-logo-dark {
  display: none;
}

html[data-theme="dark"] .brand-logo-light {
  display: none;
}

html[data-theme="dark"] .brand-logo-dark {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 1.8vw, 28px);
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="location"] {
  color: var(--text-accent);
}

.nav-tools {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.site-nav a:hover::after,
.site-nav a[aria-current="location"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding-inline-start: 16px;
  margin-inline-start: 2px;
  gap: 7px;
  direction: ltr;
  border-inline-start: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13px;
}

.language-switcher a {
  padding: 6px 2px;
}

.language-switcher a::after {
  display: none;
}

.language-switcher a[aria-current="page"] {
  color: var(--text-accent);
  font-weight: 700;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  flex: 0 0 44px;
  color: var(--control-icon);
  background: var(--control-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  background: var(--control-hover);
  transform: translateY(-1px);
}

.theme-icon {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
}

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

html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 7px 0;
  border-bottom: 1px solid var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

main {
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: min(710px, calc(100vh - var(--header-height) - 18px));
  margin: 0 20px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
  border-radius: 5px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 53%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 31, 23, 0.94), rgba(5, 31, 23, 0.53) 60%, rgba(5, 31, 23, 0.16)),
    linear-gradient(0deg, rgba(5, 31, 23, 0.68), transparent 38%);
}

.hero-content {
  position: relative;
  max-width: 950px;
  padding: clamp(66px, 7vw, 104px) 5% 135px;
}

.eyebrow,
.detail-label {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Noto Sans", Arial, sans-serif;
  line-height: 1.14;
}

h1,
h2 {
  font-weight: 500;
  letter-spacing: -1.8px;
}

h1 {
  font-size: clamp(44px, 5vw, 72px);
}

h1 em {
  color: var(--lime);
  font-style: normal;
}

h2 {
  font-size: clamp(34px, 3.4vw, 52px);
}

h3 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.6px;
}

.hero-description {
  max-width: 610px;
  margin: 27px 0 32px;
  color: var(--sand);
  font-size: 18px;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  padding: 13px 21px;
  gap: 34px;
  color: var(--forest);
  background: var(--lime);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--lime-bright);
  transform: translateY(-1px);
}

.hero-bottom {
  position: absolute;
  right: 5%;
  bottom: 27px;
  left: 5%;
  display: grid;
  grid-template-columns: 1fr auto 38px;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  letter-spacing: 1px;
}

.hero-bottom > span:nth-child(2) {
  color: var(--sand);
}

.hero-bottom > a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  font-size: 19px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 27px 7%;
  gap: 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
}

.principles span::before {
  margin-right: 14px;
  color: var(--teal);
  content: "+";
}

.section {
  padding: var(--section-pad) 7%;
}

.green {
  color: var(--text-accent);
}

.vision {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10%;
}

.vision-text > p,
.about-copy > p {
  margin: 0 0 20px;
  color: var(--text-secondary);
}

.vision-text .large,
.about-copy .large {
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.3px;
}

.note {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding-top: 25px;
  margin-top: 34px;
  gap: 28px;
  border-top: 1px solid var(--border-color);
}

.note span {
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 1px;
}

.note strong {
  font-size: 16px;
  font-weight: 500;
}

.system,
.roadmap,
.products {
  background: var(--surface-soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.section-heading > p {
  max-width: 455px;
  margin: 0;
  color: var(--text-secondary);
}

.architecture-panel {
  overflow-x: auto;
  padding: 26px;
  color: var(--white);
  background: var(--forest-deep);
  border-radius: 5px;
  scrollbar-color: var(--teal) var(--forest-deep);
  scrollbar-width: thin;
}

.architecture-title {
  display: flex;
  justify-content: space-between;
  min-width: 1040px;
  margin-bottom: 22px;
  gap: 20px;
  color: var(--sand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.architecture-title span:first-child {
  color: var(--lime);
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
  min-width: 1040px;
  padding: 0;
  margin: 0;
  gap: 15px;
  list-style: none;
}

.architecture-flow li {
  position: relative;
  min-height: 175px;
  padding: 19px 17px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.architecture-flow li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -13px;
  display: grid;
  place-items: center;
  width: 11px;
  height: 18px;
  color: var(--lime);
  background: var(--forest-deep);
  content: "→";
  transform: translateY(-50%);
}

.flow-number {
  display: block;
  margin-bottom: 27px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.architecture-flow h3 {
  margin-bottom: 11px;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.architecture-flow p {
  margin: 0;
  color: var(--sand);
  font-size: 13px;
  line-height: 1.55;
}

.technology-stack {
  display: flex;
  flex-wrap: wrap;
  margin: 22px 0 38px;
  gap: 9px;
}

.technology-stack span {
  padding: 7px 12px;
  color: var(--text-accent);
  background: var(--surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.system-grid article {
  position: relative;
  min-width: 0;
  padding: 32px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.number {
  position: absolute;
  top: 27px;
  right: 25px;
  color: var(--text-secondary);
  font-size: 12px;
}

.symbol {
  width: 45px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 32px;
  line-height: 1;
}

.system-grid p {
  margin: 14px 0 28px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.tag {
  color: var(--text-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.system-footnote {
  max-width: 800px;
  margin: 23px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.field-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10%;
  color: var(--white);
  background: var(--forest);
}

.field-focus .eyebrow {
  color: var(--lime);
}

.field-focus > div > p:last-child {
  max-width: 480px;
  margin-top: 25px;
  color: var(--sand);
}

.focus-list > div {
  display: flex;
  padding: 27px 0;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
}

.focus-list > div:first-child {
  padding-top: 5px;
  border-top: 0;
}

.focus-list > div > span {
  margin-top: 3px;
  color: var(--lime);
  font-size: 13px;
}

.focus-list p {
  margin: 11px 0 0;
  color: var(--sand);
  font-size: 15px;
}

.projects {
  background: var(--surface-bg);
}

.project-list {
  display: grid;
  gap: 32px;
}

.project-card {
  overflow: hidden;
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-shadow: 0 18px 60px var(--surface-shadow);
}

.project-image {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.project-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 35px 38px 28px;
  gap: 24px;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border-color);
}

.project-header h3 {
  margin-top: 14px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  gap: 8px;
  color: var(--text-accent);
  background: var(--surface-subtle);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.status-chip span {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}

.project-index {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.project-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  padding: 38px;
  gap: 8%;
}

.project-summary {
  max-width: 630px;
  margin: 0;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1.55;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  gap: 22px;
}

.project-facts div {
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.project-facts dt {
  margin-bottom: 7px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 38px;
  gap: 8%;
  background: var(--forest);
  color: var(--white);
}

.detail-label {
  color: var(--text-secondary);
}

.project-details .detail-label,
.contact .detail-label {
  color: var(--lime);
}

.planned-list {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 13px;
  list-style: none;
}

.planned-list li {
  position: relative;
  padding-left: 22px;
  color: var(--sand);
}

.planned-list li::before {
  position: absolute;
  left: 0;
  color: var(--lime);
  content: "+";
}

.project-timeline {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 0;
  list-style: none;
}

.project-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 0 0 24px 23px;
  gap: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.project-timeline li:last-child {
  padding-bottom: 0;
}

.project-timeline li::before {
  position: absolute;
  top: 4px;
  left: -5px;
  width: 9px;
  height: 9px;
  background: var(--muted);
  border: 2px solid var(--forest);
  border-radius: 50%;
  content: "";
}

.project-timeline li.active::before {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(246, 243, 234, 0.18);
}

.project-timeline span {
  color: var(--sand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.project-timeline strong {
  font-size: 15px;
  font-weight: 600;
}

.project-records {
  padding: 33px 38px 39px;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.record-grid > div {
  min-width: 0;
  padding: 18px;
  background: var(--surface-subtle);
  border-radius: 4px;
}

.record-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.record-grid p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 56px 0 0;
  gap: 34px 26px;
  list-style: none;
}

.timeline > li {
  min-width: 0;
  padding-top: 22px;
  border-top: 2px solid var(--teal);
}

.year {
  color: var(--text-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.timeline h3 {
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.38;
}

.timeline p {
  margin: 14px 0 21px;
  color: var(--text-secondary);
  font-size: 14px;
}

.outcome {
  display: block;
  color: var(--text-accent);
  font-size: 12px;
  line-height: 1.6;
}

.about {
  background: var(--surface-bg);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10%;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.about-principles article {
  position: relative;
  padding: 30px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-principles article > span {
  display: block;
  margin-bottom: 34px;
  color: var(--text-accent);
  font-size: 12px;
  font-weight: 700;
}

.about-principles p {
  margin: 13px 0 0;
  color: var(--text-secondary);
}

.team-block {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  margin-top: 52px;
  padding-top: 40px;
  gap: 8%;
  border-top: 1px solid var(--border-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact {
  color: var(--white);
  background: var(--forest-deep);
}

.contact-heading {
  max-width: 790px;
}

.contact .eyebrow {
  color: var(--lime);
}

.contact-heading > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--sand);
  font-size: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 50px;
  gap: 8%;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 10px;
  list-style: none;
}

.audience-list li {
  padding: 9px 13px;
  color: var(--sand);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 14px;
}

.topic-list {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 13px;
  list-style: none;
}

.topic-list li {
  display: flex;
  align-items: baseline;
  gap: 13px;
  color: var(--sand);
}

.topic-list span {
  color: var(--lime);
}

.contact-pending {
  display: grid;
  grid-template-columns: 42px 1fr;
  max-width: 820px;
  padding: 24px;
  margin-top: 48px;
  gap: 18px;
  color: var(--forest-deep);
  background: var(--lime);
  border-radius: 5px;
}

.contact-pending > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 35, 31, 0.28);
  border-radius: 50%;
}

.contact-pending h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.contact-pending p {
  margin: 0;
  color: var(--forest);
  font-size: 14px;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 48px;
  gap: 14px;
}

.contact-channel {
  display: grid;
  padding: 20px;
  gap: 7px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
}

a.contact-channel {
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

a.contact-channel:hover,
a.contact-channel:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(246, 243, 234, 0.48);
  transform: translateY(-2px);
}

.contact-channel > span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-channel address {
  font-style: normal;
}

.email-address,
.footer-email {
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
}

.contact-privacy {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--sand);
  font-size: 12px;
  line-height: 1.65;
}

.closing {
  padding: 78px 7% 84px;
  margin: 20px;
  text-align: center;
  background: var(--surface-soft);
  border-radius: 5px;
}

.closing .eyebrow {
  color: var(--text-accent);
}

.closing h2 {
  font-size: clamp(34px, 3.8vw, 56px);
}

.closing > p:not(.eyebrow) {
  margin: 23px 0 28px;
  color: var(--text-secondary);
}

.closing .button {
  color: var(--contrast-button-text);
  background: var(--contrast-button-bg);
}

.closing .button:hover {
  background: var(--contrast-button-hover);
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: var(--content-width);
  padding: 30px 5% 42px;
  margin: 0 auto;
  gap: 34px;
}

footer > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
}

.footer-meta {
  display: grid;
  gap: 5px;
  text-align: end;
}

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text-accent);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--social-hover-text);
  background: var(--social-hover-bg);
  border-color: var(--social-hover-bg);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-meta > a {
  font-size: 14px;
  font-weight: 700;
}

.footer-meta > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-meta > span {
  color: var(--text-secondary);
  font-size: 11px;
  letter-spacing: 1px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.work-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 5px;
}

.work-card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.work-content {
  padding: 30px;
}

.work-content p,
.work-content li {
  color: var(--text-secondary);
}

.work-content ul {
  padding-inline-start: 22px;
}

.work-meta {
  font-size: 14px;
}

@media (max-width: 1240px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nav-cta {
    display: none;
  }

  .project-overview {
    grid-template-columns: 1fr 1fr;
    gap: 5%;
  }
}

@media (max-width: 1000px) {
  :root {
    --section-pad: 78px;
  }

  .site-header {
    padding-right: 4%;
    padding-left: 4%;
  }

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }

  .vision,
  .about-intro,
  .field-focus {
    gap: 6%;
  }

  .system-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-overview,
  .project-details {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .record-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: var(--header-height);
    padding: 13px 5%;
    gap: 18px;
  }

  .brand-logo {
    width: 100%;
  }

  .brand-logo-set {
    width: 140px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
  }

  .js .menu-toggle {
    display: grid;
    align-content: center;
    gap: 5px;
  }

  .menu-toggle > span:not(.visually-hidden) {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--menu-icon);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-open .menu-toggle > span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .menu-toggle > span:nth-of-type(3) {
    opacity: 0;
  }

  .nav-open .menu-toggle > span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    padding: 8px 0 0;
    gap: 0;
    font-size: 16px;
  }

  .site-nav a {
    padding: 11px 0;
    border-top: 1px solid var(--border-color);
  }

  .nav-tools {
    width: 100%;
    padding: 13px 0 0;
    margin: 7px 0 0;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
  }

  .language-switcher {
    width: auto;
    padding: 0;
    margin: 0;
    border-top: 0;
    border-inline-start: 0;
  }

  .language-switcher a {
    padding: 4px 2px;
    border-top: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .js .site-nav {
    position: fixed;
    z-index: 1;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 18px 6% 28px;
    background: var(--mobile-nav-bg);
    box-shadow: 0 22px 45px var(--surface-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .js .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding-top: 62px;
  }

  .principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    align-items: start;
  }

  .section-heading > p {
    max-width: 360px;
  }

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

  .contact-grid {
    gap: 5%;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  footer > p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: start;
  }

  .footer-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  :root {
    --section-pad: 62px;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 8px);
  }

  .hero {
    min-height: 680px;
    margin: 0 10px;
  }

  .hero-content {
    padding: 49px 7% 52px;
  }

  .hero .eyebrow {
    font-size: 11px;
    letter-spacing: 1.2px;
  }

  h1 {
    font-size: clamp(39px, 11vw, 50px);
    line-height: 1.17;
    letter-spacing: -1.6px;
  }

  h2 {
    letter-spacing: -1.2px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(7, 42, 32, 0.94), rgba(7, 42, 32, 0.61));
  }

  .hero-bottom {
    position: absolute;
    right: 7%;
    bottom: 24px;
    left: 7%;
    grid-template-columns: 1fr 36px;
    font-size: 10px;
  }

  .hero-bottom > span:nth-child(2) {
    display: none;
  }

  .principles {
    padding: 23px 7%;
    gap: 11px 16px;
    font-size: 12px;
  }

  .principles span::before {
    margin-right: 7px;
  }

  .section {
    padding-right: 7%;
    padding-left: 7%;
  }

  .vision,
  .about-intro,
  .field-focus,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .vision-text .large,
  .about-copy .large {
    font-size: 20px;
  }

  .note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading > p {
    max-width: none;
    margin-top: 23px;
  }

  .architecture-panel {
    overflow: visible;
    padding: 21px;
  }

  .architecture-title {
    display: grid;
    min-width: 0;
    gap: 5px;
  }

  .architecture-title span:last-child {
    font-weight: 500;
    letter-spacing: 0;
  }

  .architecture-flow {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 22px;
  }

  .architecture-flow li {
    min-height: 0;
  }

  .architecture-flow li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -20px;
    width: 18px;
    transform: translateX(50%) rotate(90deg);
  }

  .flow-number {
    margin-bottom: 16px;
  }

  .system-grid {
    grid-template-columns: 1fr;
  }

  .system-grid article {
    padding: 27px;
  }

  .system-grid p {
    font-size: 16px;
  }

  .field-focus > div > p:last-child {
    margin-bottom: 0;
  }

  .project-header,
  .project-overview,
  .project-details,
  .project-records {
    padding: 26px;
  }

  .project-header {
    display: block;
  }

  .project-index {
    display: block;
    margin-top: 16px;
  }

  .project-summary {
    font-size: 18px;
  }

  .project-facts,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .project-timeline li {
    grid-template-columns: 78px 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    margin-top: 38px;
    gap: 27px;
  }

  .timeline h3 {
    margin-top: 9px;
    font-size: 21px;
  }

  .timeline p {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .about-principles {
    margin-top: 42px;
  }

  .contact-heading > p:last-child {
    font-size: 16px;
  }

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

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

  .closing {
    padding: 58px 7%;
    margin: 10px;
  }

  footer {
    display: block;
    padding: 31px 7% 38px;
  }

  footer > p {
    margin: 24px 0;
  }

  .footer-meta {
    text-align: start;
  }

  .footer-actions {
    align-items: flex-start;
  }

  .footer-socials {
    flex-wrap: wrap;
  }

  .portfolio-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 700px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .project-timeline li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .audience-list {
    display: grid;
    grid-template-columns: 1fr;
  }
}

html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

html[dir="rtl"] .brand {
  direction: ltr;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.3;
  letter-spacing: 0;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .detail-label,
html[dir="rtl"] .status-chip,
html[dir="rtl"] .project-facts dt,
html[dir="rtl"] .record-grid span,
html[dir="rtl"] .year,
html[dir="rtl"] .tag,
html[dir="rtl"] .architecture-title,
html[dir="rtl"] .note span,
html[dir="rtl"] .project-timeline span,
html[dir="rtl"] .footer-meta > span,
html[dir="rtl"] .contact-channel > span {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .skip-link {
  right: 12px;
  left: auto;
}

html[dir="rtl"] .site-nav a::after {
  transform-origin: left;
}

html[dir="rtl"] .site-nav a:hover::after,
html[dir="rtl"] .site-nav a[aria-current="location"]::after {
  transform-origin: right;
}

html[dir="rtl"] .hero-content {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(5, 31, 23, 0.94), rgba(5, 31, 23, 0.53) 60%, rgba(5, 31, 23, 0.16)),
    linear-gradient(0deg, rgba(5, 31, 23, 0.68), transparent 38%);
}

html[dir="rtl"] .principles span::before {
  margin-right: 0;
  margin-left: 14px;
}

html[dir="rtl"] .architecture-panel,
html[dir="rtl"] .architecture-title,
html[dir="rtl"] .architecture-flow {
  direction: ltr;
}

html[dir="rtl"] .architecture-title span,
html[dir="rtl"] .architecture-flow li {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .system-grid {
  border-right: 1px solid var(--border-color);
  border-left: 0;
}

html[dir="rtl"] .system-grid article {
  border-right: 0;
  border-left: 1px solid var(--border-color);
}

html[dir="rtl"] .number {
  right: auto;
  left: 25px;
}

html[dir="rtl"] .planned-list li {
  padding-right: 22px;
  padding-left: 0;
}

html[dir="rtl"] .planned-list li::before {
  right: 0;
  left: auto;
}

html[dir="rtl"] .project-timeline li {
  padding: 0 23px 24px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 0;
}

html[dir="rtl"] .project-timeline li::before {
  right: -5px;
  left: auto;
}

html[dir="rtl"] .about-principles {
  border-right: 1px solid var(--border-color);
  border-left: 0;
}

html[dir="rtl"] .about-principles article {
  border-right: 0;
  border-left: 1px solid var(--border-color);
}

html[dir="rtl"] a[href^="mailto:"] strong,
html[dir="rtl"] a[href^="tel:"] strong {
  direction: ltr;
  text-align: right;
  unicode-bidi: isolate;
}

@media (min-width: 901px) and (max-width: 1050px) {
  html[dir="rtl"] .site-nav {
    gap: 10px;
    font-size: 12px;
  }

  html[dir="rtl"] .language-switcher {
    padding-inline-start: 10px;
    gap: 5px;
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  html[dir="rtl"] .language-switcher {
    justify-content: flex-end;
  }
}

@media (max-width: 700px) {
  html[dir="rtl"] h1 {
    font-size: clamp(36px, 10.5vw, 48px);
    line-height: 1.32;
  }

  html[dir="rtl"] h2 {
    line-height: 1.38;
  }

  html[dir="rtl"] .hero-image {
    object-position: 36% center;
  }

  html[dir="rtl"] .hero-shade {
    background: linear-gradient(270deg, rgba(7, 42, 32, 0.94), rgba(7, 42, 32, 0.61));
  }

  html[dir="rtl"] .architecture-flow li:not(:last-child)::after {
    right: 50%;
    left: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
