:root {
  --ink: #0b1d18;
  --ink-soft: #334a42;
  --forest-950: #041510;
  --forest-900: #071c17;
  --forest-850: #0a251d;
  --forest-800: #0d3025;
  --green: #1f7a5b;
  --green-light: #6bb899;
  --gold: #d5b46b;
  --gold-pale: #ecd7a5;
  --paper: #f4f3ed;
  --paper-deep: #e9e8df;
  --white: #ffffff;
  --line: rgba(10, 37, 29, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(4, 21, 16, 0.14);
  --radius: 4px;
  --container: min(1180px, calc(100% - 48px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--forest-950);
  background: var(--gold-pale);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.site-header.scrolled {
  background: rgba(4, 21, 16, 0.94);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 3px);
  align-items: end;
  gap: 3px;
  width: 30px;
  height: 32px;
  padding: 4px;
  border: 1px solid rgba(213, 180, 107, 0.48);
  border-radius: 50% 50% 46% 54% / 44% 54% 46% 56%;
  transform: rotate(-8deg);
}

.brand-mark span {
  display: block;
  height: 17px;
  border-radius: 4px 4px 1px 1px;
  background: var(--gold);
}

.brand-mark span:nth-child(1) { height: 8px; background: #4b9c79; }
.brand-mark span:nth-child(2) { height: 13px; background: #84b89a; }
.brand-mark span:nth-child(3) { height: 19px; }
.brand-mark span:nth-child(4) { height: 13px; background: #a48958; }
.brand-mark span:nth-child(5) { height: 8px; background: #76937f; }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.135em;
}

.brand-copy small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

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

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav .nav-cta {
  padding: 11px 17px;
  color: var(--forest-950);
  background: var(--gold-pale);
  border: 1px solid var(--gold-pale);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: white;
  transition: transform 0.3s ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: 790px;
  height: 100svh;
  overflow: hidden;
  color: white;
  background: var(--forest-950);
}

.hero-media,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/nhx-green-city-hero.webp");
  background-position: center center;
  background-size: cover;
  transform: scale(1.015);
  animation: hero-settle 1.5s var(--ease) forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 16, 12, 0.97) 0%, rgba(3, 21, 16, 0.89) 34%, rgba(4, 24, 18, 0.32) 68%, rgba(2, 13, 10, 0.16) 100%),
    linear-gradient(0deg, rgba(2, 15, 11, 0.8) 0%, transparent 42%);
}

.hero-grid {
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, black, transparent 74%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 90px;
  padding-bottom: 80px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 25px;
  color: var(--gold-pale);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow.dark {
  color: #507364;
}

.eyebrow.light {
  color: var(--gold);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7.2vw, 106px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--gold-pale);
  font-weight: 400;
}

.hero-lead {
  max-width: 660px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button-primary {
  color: var(--forest-950);
  background: var(--gold-pale);
  border-color: var(--gold-pale);
}

.button-primary:hover {
  background: #f7e7bf;
  border-color: #f7e7bf;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.03);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.hero-note {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 17px;
  padding: 17px 21px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 21, 16, 0.5);
  backdrop-filter: blur(12px);
}

.note-index {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--gold-pale);
  border: 1px solid rgba(213, 180, 107, 0.5);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 14px;
}

.hero-note p,
.hero-note strong {
  margin: 0;
}

.hero-note p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 1px;
  height: 37px;
  background: linear-gradient(var(--gold), transparent);
}

.signal-strip {
  position: relative;
  z-index: 4;
  color: var(--white);
  background: var(--forest-800);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
}

.signal-grid a {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 94px;
  padding: 20px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease;
}

.signal-grid a::after {
  margin-left: auto;
  color: var(--gold);
  content: "↗";
  font-size: 15px;
}

.signal-grid a:hover,
.signal-grid a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.signal-grid a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-grid span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 12px;
}

.signal-grid strong {
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-grid .signal-feature {
  color: var(--forest-950);
  background: var(--gold-pale);
  border-color: rgba(7, 28, 23, 0.16);
}

.signal-grid .signal-feature::after,
.signal-grid .signal-feature span {
  color: var(--forest-800);
}

.signal-grid .signal-feature:hover,
.signal-grid .signal-feature:focus-visible {
  background: #f5e3b8;
}

.section {
  padding: 130px 0;
}

.section-maydo {
  overflow: hidden;
  background: var(--paper-deep);
}

.maydo-feature {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 86px;
}

.maydo-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.maydo-lead {
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.maydo-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 34px;
  padding: 0;
  color: #52665e;
  font-size: 14px;
  list-style: none;
}

.maydo-points li {
  position: relative;
  padding-left: 20px;
}

.maydo-points li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 8px;
  height: 1px;
  content: "";
  background: var(--green);
}

.button-dark {
  color: white;
  background: var(--forest-800);
  border-color: var(--forest-800);
}

.button-dark:hover {
  background: var(--forest-950);
  border-color: var(--forest-950);
}

.maydo-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.44fr;
  gap: 12px;
  min-height: 640px;
}

.maydo-visual figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--forest-800);
}

.maydo-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maydo-visual-main {
  min-height: 640px;
}

.maydo-visual-main::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  content: "";
  background: linear-gradient(transparent, rgba(4, 21, 16, 0.9));
}

.maydo-visual-main figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  flex-direction: column;
  color: white;
}

.maydo-visual-main figcaption span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.maydo-visual-main figcaption strong {
  margin-top: 7px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.maydo-visual-small {
  min-height: 470px;
  margin-top: 76px !important;
}

.maydo-stamp {
  position: absolute;
  right: 12px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  width: calc(44% - 4px);
  min-height: 88px;
  padding: 16px 20px;
  color: white;
  background: var(--forest-800);
}

.maydo-stamp strong {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
}

.maydo-stamp span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 105px;
}

.section-heading h2,
.section-intro h2,
.method-statement h2,
.direction-title h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.about-copy .lead {
  margin-top: 2px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.45;
}

.about-copy > p:not(.lead) {
  color: var(--ink-soft);
}

.signature-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 35px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.signature-line span {
  color: var(--green);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 19px;
}

.signature-line small {
  color: #75867f;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.people-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  margin-top: 92px;
}

.leader-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 520px;
  overflow: hidden;
  color: white;
  background: var(--forest-900);
}

.leader-card figure,
.team-card { margin: 0; }

.leader-card figure { min-height: 100%; }

.leader-card img,
.team-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card img { object-position: 49% center; }

.leader-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 34px;
}

.leader-copy h3 {
  margin: 8px 0 6px;
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
}

.leader-copy > strong { color: var(--gold-pale); font-size: 13px; font-weight: 600; }
.leader-copy > p:not(.eyebrow) { margin: 24px 0 0; color: rgba(255, 255, 255, 0.64); font-size: 15px; }
.leader-copy blockquote { margin: auto 0 0; padding-top: 32px; color: var(--gold); font-family: Georgia, serif; font-size: 21px; font-style: italic; }

.team-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--forest-800);
}

.team-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  content: "";
  background: linear-gradient(transparent, rgba(4, 24, 18, 0.9));
}

.team-card figcaption {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 28px;
  left: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: white;
}

.team-card figcaption strong { font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.team-card figcaption span { color: rgba(255, 255, 255, 0.66); font-size: 12px; letter-spacing: 0.06em; text-align: right; text-transform: uppercase; }

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 92px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-card {
  position: relative;
  display: block;
  min-height: 285px;
  padding: 38px 38px 34px;
  border-left: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.3s var(--ease);
}

.principle-card::after {
  position: absolute;
  right: 28px;
  bottom: 28px;
  color: var(--green);
  content: "Xem chi tiết  →";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principle-card:hover,
.principle-card:focus-visible {
  background: white;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.principle-card:last-child {
  border-right: 1px solid var(--line);
}

.principle-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--gold);
  background: var(--forest-800);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 18px;
}

.principle-grid h3 {
  margin: 24px 0 12px;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

.principle-grid p {
  margin: 0;
  color: #65766f;
  font-size: 14px;
}

.section-capabilities {
  color: white;
  background: var(--forest-900);
}

.section-intro {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 70px;
}

.section-capabilities .section-intro > p {
  color: rgba(255, 255, 255, 0.62);
}

.capability-list {
  border-top: 1px solid var(--line-light);
}

.capability {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr 0.85fr;
  gap: 30px;
  padding: 39px 0;
  border-bottom: 1px solid var(--line-light);
  transition: padding 0.35s var(--ease), background 0.35s ease;
}

.capability:hover {
  padding-inline: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.capability > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 14px;
}

.capability h3 {
  margin: 0 0 8px;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
}

.capability p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 14px;
}

.capability-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 17px;
  color: var(--gold-pale);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.capability-link b { font-size: 16px; transition: transform 0.25s ease; }
.capability:hover .capability-link b,
.capability:focus-visible .capability-link b { transform: translateX(4px); }

.capability ul {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  list-style: none;
  font-size: 13px;
}

.capability li {
  position: relative;
  padding: 4px 0 4px 18px;
}

.capability li::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 6px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.section-method {
  background: var(--paper-deep);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 110px;
}

.method-statement {
  position: sticky;
  top: 140px;
  align-self: start;
}

.method-statement h2 {
  font-size: clamp(38px, 4.3vw, 62px);
}

.method-statement > p:last-child {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--ink-soft);
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.method-steps li {
  border-bottom: 1px solid var(--line);
}

.method-steps a {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 30px 0;
  transition: padding 0.25s ease, background 0.25s ease;
}

.method-steps a::after {
  position: absolute;
  right: 4px;
  top: 32px;
  color: var(--green);
  content: "→";
  font-size: 18px;
}

.method-steps a:hover,
.method-steps a:focus-visible { padding-inline: 18px; background: rgba(31, 122, 91, 0.05); }

.method-steps span {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 12px;
}

.method-steps strong {
  display: block;
  margin-bottom: 7px;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.method-steps p {
  margin: 0;
  color: #697b74;
  font-size: 14px;
}

.section-ecosystem {
  background: var(--paper);
}

.section-ecosystem .section-intro > p {
  color: var(--ink-soft);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.eco-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  min-height: 230px;
  padding: 36px;
  background: var(--paper);
  transition: background 0.25s ease, transform 0.3s var(--ease);
}

.eco-card::after {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--green);
  content: "Xem vai trò  →";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eco-feature::after { color: var(--gold-pale); }

.eco-card:hover {
  position: relative;
  z-index: 2;
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.eco-feature {
  grid-column: 1 / -1;
  min-height: 265px;
  color: white;
  background: var(--forest-800);
}

.eco-feature:hover {
  background: var(--forest-850);
}

.eco-code {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: var(--green);
  border: 1px solid rgba(31, 122, 91, 0.28);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 16px;
}

.eco-feature .eco-code {
  color: var(--gold);
  border-color: rgba(213, 180, 107, 0.38);
}

.eco-card small {
  color: #7a8c85;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.eco-feature small {
  color: var(--gold-pale);
}

.eco-card h3 {
  margin: 11px 0 10px;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
}

.eco-card p {
  max-width: 570px;
  margin: 0;
  color: #66776f;
  font-size: 14px;
}

.eco-feature p {
  color: rgba(255, 255, 255, 0.62);
}

.section-direction {
  color: white;
  background:
    radial-gradient(circle at 75% 30%, rgba(31, 122, 91, 0.26), transparent 28%),
    var(--forest-950);
}

.direction-title {
  max-width: 830px;
  margin-bottom: 70px;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.direction-grid .direction-card {
  position: relative;
  display: block;
  min-height: 340px;
  padding: 40px 38px 78px;
  border-left: 1px solid var(--line-light);
  transition: background 0.3s ease, transform 0.35s var(--ease);
}

.direction-grid .direction-card:hover,
.direction-grid .direction-card:focus-visible {
  z-index: 2;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-6px);
  outline: none;
}

.direction-grid .direction-card:last-child {
  border-right: 1px solid var(--line-light);
}

.direction-grid span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 14px;
}

.direction-grid h3 {
  margin: 95px 0 18px;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
}

.direction-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.direction-link {
  position: absolute;
  right: 38px;
  bottom: 34px;
  left: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  color: var(--gold-pale);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.direction-link b {
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.direction-card:hover .direction-link b,
.direction-card:focus-visible .direction-link b {
  transform: translate(3px, -3px);
}

.manifesto {
  padding: 120px 0;
  color: var(--ink);
  background: var(--gold-pale);
}

.manifesto-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.manifesto p {
  margin: 0 0 15px;
  color: #5c584a;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.manifesto blockquote {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(58px, 8vw, 110px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.manifesto-inner > span {
  width: 1px;
  height: 55px;
  margin: 35px 0 26px;
  background: rgba(11, 29, 24, 0.34);
}

.manifesto small {
  max-width: 500px;
  color: #5d635c;
  font-size: 14px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 120px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 780px;
}

.contact-copy > p:last-child {
  max-width: 680px;
  margin-top: 27px;
  color: rgba(255, 255, 255, 0.62);
}

.contact-panel {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.contact-item {
  padding: 6px 0 24px;
}

.contact-item + .contact-item {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item small {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.contact-item strong {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
}

.contact-item strong a:hover,
.contact-item strong a:focus-visible {
  color: var(--gold-pale);
}

.contact-button {
  width: 100%;
  margin-top: 13px;
}

.quick-call {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  color: var(--forest-950);
  background: var(--gold-pale);
  border: 1px solid rgba(7, 28, 23, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(4, 24, 18, 0.24);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, background 0.25s ease;
}

.quick-call:hover,
.quick-call:focus-visible {
  background: white;
  transform: translateY(-2px);
}

.quick-call svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-footer {
  color: rgba(255, 255, 255, 0.66);
  background: var(--forest-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer-main > p {
  margin: 0;
  text-align: center;
  font-size: 13px;
}

.footer-main nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-size: 12px;
}

.footer-main nav a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 19px;
  padding-bottom: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.09s; }
.delay-2 { transition-delay: 0.18s; }

@keyframes hero-settle {
  from { transform: scale(1.07); }
  to { transform: scale(1.015); }
}

@media (max-width: 1080px) {
  :root { --container: min(calc(100% - 40px), 980px); }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 13px; }
  .hero-note { display: none; }
  .split-grid,
  .contact-grid { gap: 65px; }
  .method-grid { gap: 70px; }
  .section-intro { gap: 55px; }
}

@media (max-width: 860px) {
  :root { --container: calc(100% - 36px); }

  .header-inner { min-height: 76px; }
  .nav-toggle { position: relative; z-index: 3; display: block; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 90px 9vw;
    background: var(--forest-950);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.3s ease, transform 0.35s var(--ease);
  }

  .main-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a { font-family: Georgia, serif; font-size: 32px; }
  .main-nav .nav-cta { margin-top: 15px; font-family: inherit; font-size: 14px; }

  .hero { min-height: 730px; height: 92svh; }
  .hero-media { background-position: 59% center; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 16, 12, 0.96) 0%, rgba(3, 21, 16, 0.72) 75%, rgba(3, 21, 16, 0.45) 100%),
      linear-gradient(0deg, rgba(2, 15, 11, 0.86) 0%, transparent 52%);
  }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: clamp(55px, 12vw, 88px); }
  .hero-lead { max-width: 580px; }

  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-grid a:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .signal-grid a:nth-child(even) { border-right: 1px solid rgba(255, 255, 255, 0.1); }

  .section { padding: 95px 0; }
  .split-grid,
  .method-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .maydo-feature { grid-template-columns: 1fr; gap: 55px; }
  .maydo-copy { max-width: 700px; }
  .maydo-visual { min-height: 560px; }
  .maydo-visual-main { min-height: 560px; }
  .maydo-visual-small { min-height: 400px; }
  .method-statement { position: static; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-card { min-height: auto; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .principle-card:last-child { border-bottom: 0; }
  .section-intro { grid-template-columns: 1fr; gap: 25px; }
  .section-intro > p { max-width: 620px; }
  .people-story { grid-template-columns: 1fr; }
  .capability { grid-template-columns: 55px 1fr; }
  .capability ul { grid-column: 2; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-grid .direction-card { min-height: 330px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
  .direction-grid .direction-card:last-child { border-bottom: 0; }
  .direction-grid h3 { margin-top: 45px; }
  .footer-main { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-main nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  :root { --container: calc(100% - 28px); }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 8px; }
  .hero { min-height: 720px; height: auto; }
  .hero-inner { min-height: 720px; padding-top: 125px; padding-bottom: 105px; }
  .hero-grid { background-size: 68px 68px; }
  .hero h1 { font-size: clamp(49px, 16vw, 70px); }
  .hero-lead { margin-top: 27px; font-size: 16px; line-height: 1.65; }
  .eyebrow { align-items: flex-start; font-size: 10px; }
  .eyebrow span { margin-top: 7px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid a { min-height: 72px; padding: 16px 22px; border-right: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .signal-grid a:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .maydo-copy h2 { font-size: 52px; }
  .maydo-visual { grid-template-columns: 1fr; min-height: 0; }
  .maydo-visual-main { min-height: 470px; }
  .maydo-visual-small { display: none; }
  .maydo-stamp { right: 0; bottom: 0; width: auto; min-width: 168px; }
  .section-heading h2,
  .section-intro h2,
  .method-statement h2,
  .direction-title h2,
  .contact-copy h2 { font-size: 40px; }
  .about-copy .lead { font-size: 22px; }
  .people-story { margin-top: 62px; }
  .leader-card { grid-template-columns: 1fr; min-height: 0; }
  .leader-card figure { min-height: 390px; }
  .leader-copy { min-height: 400px; padding: 34px 26px; }
  .team-card { min-height: 360px; }
  .team-card figcaption { right: 22px; bottom: 20px; left: 22px; align-items: flex-start; flex-direction: column; gap: 6px; }
  .team-card figcaption strong { font-size: 24px; }
  .team-card figcaption span { text-align: left; }
  .signature-line { align-items: flex-start; flex-direction: column; gap: 8px; }
  .principle-grid { margin-top: 60px; }
  .principle-card { padding: 30px 26px; }
  .capability { grid-template-columns: 37px 1fr; gap: 14px; padding: 30px 0; }
  .capability:hover { padding-inline: 0; }
  .capability h3 { font-size: 25px; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .eco-feature { grid-column: auto; }
  .eco-card { grid-template-columns: 60px 1fr; min-height: 0; padding: 28px 22px; }
  .eco-code { width: 48px; height: 48px; font-size: 12px; }
  .eco-card h3 { font-size: 26px; }
  .manifesto { padding: 85px 0; }
  .manifesto blockquote { font-size: 58px; }
  .contact-panel { padding: 28px 22px; }
  .quick-call { right: 14px; bottom: 14px; padding: 13px; }
  .quick-call span { display: none; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
}

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