/* Manrope — self-hosted variable font (weights 400–800) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0f1412;
  --bg-soft: #151b18;
  --panel: #f4f1eb;
  --panel-muted: #e7e2d8;
  --ink: #f7f4ed;
  --ink-dark: #17201c;
  --muted: #aeb8b1;
  --muted-dark: #5c6760;
  --line: rgba(247, 244, 237, 0.16);
  --line-dark: rgba(23, 32, 28, 0.14);
  --green: #5f8f70;
  --green-deep: #214631;
  --shadow: 0 24px 70px rgba(6, 12, 9, 0.32);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family:
    "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(247, 244, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 237, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 75% 0%, rgba(95, 143, 112, 0.2), transparent 34rem),
    linear-gradient(180deg, #0f1412 0%, #151b18 54%, #f4f1eb 54%, #f4f1eb 100%);
  background-size: 64px 64px, 64px 64px, auto, auto;
}

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

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

picture {
  display: block;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 60;
  padding: 10px 16px;
  color: #07110c;
  background: #dfe9d8;
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(15, 20, 18, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a,
.header-action {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-action {
  padding: 10px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
}

.header-action:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: 50px;
  align-items: center;
  min-height: calc(100dvh - 74px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 58px;
}

.hero-copy,
.panel-main,
.profile-copy {
  min-width: 0;
  overflow-wrap: break-word;
}

.eyebrow {
  margin: 0 0 14px;
  color: #91b49b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 14px;
  font-size: clamp(38px, 4.25vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.018em;
  text-wrap: balance;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.16;
  text-wrap: balance;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.56;
}

.hero-role {
  max-width: 620px;
  margin-bottom: 20px;
  color: #d7e3d8;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.44;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn.primary:hover {
  background: #eaf1e4;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(247, 244, 237, 0.3);
}

.btn.primary {
  color: #07110c;
  background: #dfe9d8;
}

.btn.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 0;
}

.hero-metrics div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-metrics dt {
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.hero-metrics div:nth-child(2) dt {
  font-size: 20px;
  line-height: 1.15;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 650px;
  margin-top: 14px;
}

.hero-principles span {
  position: relative;
  min-height: 42px;
  padding: 11px 12px 10px 28px;
  color: #c8d3cc;
  background: rgba(15, 20, 18, 0.54);
  border: 1px solid rgba(247, 244, 237, 0.12);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.hero-principles span::before {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 7px;
  height: 7px;
  background: #91b49b;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.hero-visual {
  position: relative;
}

.portrait-note {
  position: absolute;
  top: 24px;
  left: -22px;
  z-index: 2;
  width: 172px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(33, 70, 49, 0.92);
  border: 1px solid rgba(247, 244, 237, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(6, 12, 9, 0.22);
}

.portrait-note span {
  display: block;
  margin-bottom: 6px;
  color: #b7cebd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.portrait-note b {
  display: block;
  font-size: 16px;
  line-height: 1.24;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  height: min(72vh, 700px);
  min-height: 520px;
  background: #a9aaa8;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.portrait-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(33, 70, 49, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 70, 49, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.22;
  pointer-events: none;
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(15, 20, 18, 0.26));
  pointer-events: none;
}

.portrait-frame picture,
.portrait-frame img {
  width: 100%;
  height: 100%;
}

.portrait-frame img {
  object-fit: cover;
  object-position: 53% 26%;
}

.signal-panel {
  position: absolute;
  right: -18px;
  bottom: 34px;
  z-index: 3;
  max-width: 260px;
  padding: 18px;
  background: rgba(244, 241, 235, 0.94);
  color: var(--ink-dark);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(6, 12, 9, 0.2);
}

.signal-panel span,
.result-box span {
  display: block;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.signal-panel strong {
  display: block;
  font-size: 18px;
  line-height: 1.24;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 24px 92px;
  scroll-margin-top: 92px;
}

.compact-section {
  color: var(--ink-dark);
  background: var(--panel);
  border: 1px solid rgba(23, 32, 28, 0.08);
  border-radius: 22px;
  box-shadow: 0 26px 80px rgba(15, 20, 18, 0.14);
  padding-top: 52px;
  padding-bottom: 52px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(360px, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 22px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted-dark);
  font-size: 18px;
  line-height: 1.58;
}

.section-heading.narrow {
  display: block;
  max-width: 720px;
}

.tabs {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-button {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  color: var(--ink-dark);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.tab-button.active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--green-deep), #2f5d43);
  border-color: rgba(247, 244, 237, 0.1);
}

.tab-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  min-height: 390px;
  padding: 22px;
  background:
    linear-gradient(rgba(33, 70, 49, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 70, 49, 0.03) 1px, transparent 1px),
    #fffaf2;
  background-size: 38px 38px, 38px 38px, auto;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(23, 32, 28, 0.08);
}

.tab-panel.active {
  display: grid;
}

.panel-main {
  padding: 10px 6px;
}

.panel-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 900;
}

.panel-main p,
.result-box p,
.profile-copy p {
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.58;
}

.profile-copy .profile-name {
  margin: -4px 0 20px;
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
}

.personal-stance {
  margin-top: 22px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(33, 70, 49, 0.08), rgba(33, 70, 49, 0.08)),
    #fffaf2;
  border: 1px solid rgba(33, 70, 49, 0.16);
  border-left: 4px solid var(--green-deep);
  border-radius: var(--radius);
}

.personal-stance span {
  display: block;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.personal-stance strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-dark);
  font-size: 19px;
  line-height: 1.28;
}

.personal-stance p {
  margin-bottom: 0;
}

.company-experience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 24px;
}

.company-experience div {
  min-height: 128px;
  padding: 16px;
  background: #fffaf2;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.company-experience strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1.2;
}

.company-experience span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.35;
}

.company-experience small {
  display: block;
  color: rgba(92, 103, 96, 0.86);
  font-size: 13px;
  line-height: 1.38;
}

.public-expertise {
  margin: 0 0 22px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(33, 70, 49, 0.07), rgba(33, 70, 49, 0.07)),
    #fffaf2;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.public-expertise > span {
  display: block;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.public-expertise > p {
  margin-bottom: 14px;
}

.expertise-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.expertise-topics div {
  padding: 12px;
  background: rgba(33, 70, 49, 0.06);
  border: 1px solid rgba(33, 70, 49, 0.12);
  border-radius: var(--radius);
}

.expertise-topics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

.expertise-topics span {
  display: block;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.35;
}

.expertise-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.expertise-quotes blockquote {
  margin: 0;
  padding: 14px;
  color: var(--ink-dark);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: var(--radius);
}

.expertise-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.expertise-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(33, 70, 49, 0.18);
  border-radius: 999px;
}

.expertise-links a::after {
  color: var(--muted-dark);
  content: ">";
  font-size: 12px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #29342f;
  line-height: 1.44;
}

.check-list li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

.stage-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.stage-row div {
  min-height: 96px;
  padding: 14px;
  background: rgba(33, 70, 49, 0.07);
  border: 1px solid rgba(33, 70, 49, 0.13);
  border-radius: var(--radius);
}

.stage-row b {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  place-items: center;
  color: var(--ink);
  background: var(--green-deep);
  border-radius: 50%;
  font-size: 13px;
}

.stage-row span {
  display: block;
  color: #29342f;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.28;
}

.result-box {
  align-self: stretch;
  padding: 24px;
  color: var(--ink-dark);
  background: var(--panel-muted);
  border-radius: 16px;
}

.result-box a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green-deep);
  font-weight: 850;
}

.result-box a + a {
  margin-left: 18px;
}

.result-box .material-link {
  color: #29342f;
}

.result-box .details-link {
  color: var(--green-deep);
}

.result-box .material-link::before {
  margin-right: 8px;
  color: var(--green-deep);
  content: "PDF";
  font-size: 12px;
  font-weight: 900;
}

.method-section {
  color: var(--ink);
  background: var(--bg-soft);
}

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

.method-grid article {
  min-height: 210px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(33, 70, 49, 0.08));
  border: 1px solid var(--line);
  border-radius: 16px;
}

.method-grid span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 26px;
  place-items: center;
  color: #07110c;
  background: #dfe9d8;
  border-radius: 50%;
  font-weight: 900;
}

.method-grid p {
  color: var(--muted);
  line-height: 1.56;
}

.materials-section {
  color: var(--ink-dark);
  background: var(--panel);
  border-radius: 16px;
}

.materials-section h2,
.materials-section .section-heading p:not(.eyebrow) {
  color: var(--ink-dark);
}

.materials-section .section-heading p:not(.eyebrow) {
  opacity: 0.74;
}

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

.materials-grid article {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 24px;
  background: #fffaf2;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}

.materials-grid article > span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--green-deep);
  background: rgba(33, 70, 49, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.materials-grid h3 {
  min-height: 58px;
}

.materials-grid p {
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.52;
}

.materials-grid a {
  display: inline-flex;
  width: max-content;
  margin-top: auto;
  color: var(--green-deep);
  font-weight: 850;
}

.materials-grid a::after {
  margin-left: 8px;
  color: var(--muted-dark);
  content: ">";
}

.first-call-section {
  color: var(--ink-dark);
  background: #fffaf2;
}

.faq-section {
  color: var(--ink-dark);
  background: var(--panel);
  border-radius: 16px;
}

.faq-grid {
  display: grid;
  gap: 10px;
}

.faq-grid details {
  padding: 18px 20px;
  background: #fffaf2;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--ink-dark);
  font-size: 18px;
  font-weight: 850;
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.52;
}

.first-call-section > div:first-child {
  max-width: 760px;
  margin-bottom: 24px;
}

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

.first-call-grid article {
  min-height: 230px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(33, 70, 49, 0.07), rgba(33, 70, 49, 0.05)),
    #f7f4ed;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}

.first-call-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.first-call-grid p {
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.52;
}

.profile-section {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  color: var(--ink-dark);
  background: var(--panel);
  border-radius: 16px;
}

.profile-photo {
  overflow: hidden;
  height: 440px;
  background: #b7b6b1;
  border-radius: 16px;
}

.profile-photo picture,
.profile-photo img {
  width: 100%;
  height: 100%;
}

.profile-photo img {
  object-fit: cover;
  object-position: 52% 22%;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  max-width: var(--max);
  margin: 0 auto 40px;
  padding: 34px;
  color: var(--ink);
  background: var(--green-deep);
  border-radius: 16px;
}

.contact-section h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.contact-actions {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-section .btn.secondary {
  color: var(--ink);
  background: rgba(7, 17, 12, 0.18);
  border-color: rgba(247, 244, 237, 0.42);
}

.contact-section .btn.secondary:hover {
  background: rgba(7, 17, 12, 0.28);
  border-color: rgba(247, 244, 237, 0.72);
}

.site-footer {
  display: flex;
  gap: 18px;
  justify-content: center;
  max-width: var(--max);
  margin: -12px auto 40px;
  padding: 0 24px;
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 750;
}

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

:focus-visible {
  outline: 3px solid #dfe9d8;
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

  .hero,
  .section-heading,
  .tabs,
  .tab-panel,
  .profile-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 30px;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-visual {
    max-width: 520px;
  }

  .portrait-frame {
    height: 620px;
  }

  .tab-list {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .tab-button {
    min-width: 0;
  }

  .tab-panel {
    min-height: auto;
  }

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

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

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

  .first-call-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
    margin-right: 24px;
    margin-left: 24px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
  }

  .header-action {
    display: none;
  }

  .hero {
    width: auto;
    max-width: none;
    margin-right: 16px;
    margin-left: 16px;
    padding-right: 0;
    padding-left: 0;
  }

  .section {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-copy,
  .hero-actions,
  .hero-metrics,
  .hero-principles {
    width: 100%;
    max-width: min(100%, 342px);
    min-width: 0;
  }

  .hero-visual,
  .portrait-frame,
  .hero-metrics div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.08;
  }

  .eyebrow {
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 24px;
  }

  .btn {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

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

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

  .portrait-frame {
    height: 520px;
    min-height: 0;
    border-radius: 16px;
  }

  .portrait-note {
    position: static;
    width: 100%;
    max-width: calc(100% - 24px);
    margin: 0 0 10px;
  }

  .signal-panel {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .tab-panel {
    padding: 18px;
  }

  .result-box a {
    display: flex;
    width: 100%;
  }

  .result-box a + a {
    margin-left: 0;
  }

  .materials-grid article {
    min-height: auto;
    padding: 20px;
  }

  .materials-grid h3 {
    min-height: 0;
  }

  .first-call-grid article {
    min-height: auto;
    padding: 20px;
  }

  .profile-photo {
    order: 2;
    height: 520px;
  }

  .profile-copy {
    order: 1;
  }

  .company-experience {
    grid-template-columns: 1fr;
  }

  .public-expertise {
    padding: 16px;
  }

  .expertise-topics {
    grid-template-columns: 1fr;
  }

  .expertise-quotes {
    grid-template-columns: 1fr;
  }

  .expertise-links a {
    width: 100%;
    justify-content: space-between;
  }

  .contact-section {
    padding: 24px;
  }
}

/* ============================================================
   High-end layer — motion, depth, glass (vanilla, brand-safe)
   ============================================================ */
:root {
  --e: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow: 0 40px 90px -24px rgba(6, 12, 9, 0.55);
}

/* Film-grain overlay (fixed, non-interactive) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Eyebrow -> micro pill badge */
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  line-height: 1.2;
}

/* Floating glass island nav */
.nav-toggle {
  display: none;
}
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0;
  gap: 22px;
  padding: 9px 10px 9px 20px;
  border: 1px solid rgba(247, 244, 237, 0.12);
  border-radius: 999px;
  background: rgba(15, 20, 18, 0.55);
  box-shadow: 0 22px 50px -22px rgba(6, 12, 9, 0.7);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}
.hero {
  min-height: 100dvh;
  padding-top: 104px;
}

/* Magnetic buttons + nested arrow island */
.btn {
  transition: transform 0.5s var(--e), background 0.4s var(--e),
    border-color 0.4s var(--e);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn.primary {
  padding-right: 7px;
}
.btn.primary::after {
  content: "\2197";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 12px;
  border-radius: 999px;
  background: rgba(7, 17, 12, 0.1);
  font-size: 15px;
  transition: transform 0.5s var(--e), background 0.4s var(--e);
}
.btn.primary:hover::after {
  transform: translate(2px, -2px) scale(1.06);
  background: rgba(7, 17, 12, 0.17);
}

/* Double-bezel portrait (outer shell + inner core) */
.portrait-frame {
  padding: 7px;
  background: rgba(247, 244, 237, 0.05);
  border: 1px solid rgba(247, 244, 237, 0.12);
  box-shadow: var(--shadow), inset 0 1px 1px rgba(247, 244, 237, 0.14);
  overflow: visible;
}
.portrait-frame picture,
.portrait-frame img {
  border-radius: 22px;
  overflow: hidden;
}
.portrait-frame::before,
.portrait-frame::after {
  inset: 7px;
  border-radius: 22px;
}

/* Subtle nested highlight on cards */
.hero-metrics div {
  box-shadow: inset 0 1px 0 rgba(247, 244, 237, 0.06);
  transition: transform 0.5s var(--e), border-color 0.4s var(--e);
}

/* Scroll-reveal (staggered fade-up + blur), no FOUC via html.anim */
html.anim .hero-copy,
html.anim .hero-visual,
html.anim .section-heading,
html.anim .tabs,
html.anim .method-grid > article,
html.anim .materials-grid > article,
html.anim .first-call-grid > article,
html.anim .faq-grid > details,
html.anim .profile-photo,
html.anim .profile-copy,
html.anim .contact-section {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.8s var(--e), transform 0.8s var(--e),
    filter 0.8s var(--e);
  transition-delay: var(--d, 0s);
}
html.anim .in {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html.anim * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Mobile: hamburger + full-screen glass menu */
@media (max-width: 920px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    z-index: 95;
  }
  .nav-toggle span {
    position: relative;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.4s var(--e), opacity 0.3s var(--e);
  }
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.4s var(--e);
  }
  .nav-toggle span::before {
    top: -5px;
  }
  .nav-toggle span::after {
    top: 5px;
  }
  body.nav-open .nav-toggle span {
    background: transparent;
  }
  body.nav-open .nav-toggle span::before {
    transform: translateY(5px) rotate(45deg);
  }
  body.nav-open .nav-toggle span::after {
    transform: translateY(-5px) rotate(-45deg);
  }
  .site-nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(15, 20, 18, 0.82);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--e);
  }
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    color: var(--ink);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--e), transform 0.5s var(--e);
  }
  body.nav-open .site-nav a {
    opacity: 1;
    transform: none;
  }
  body.nav-open .site-nav a:nth-child(1) { transition-delay: 0.08s; }
  body.nav-open .site-nav a:nth-child(2) { transition-delay: 0.13s; }
  body.nav-open .site-nav a:nth-child(3) { transition-delay: 0.18s; }
  body.nav-open .site-nav a:nth-child(4) { transition-delay: 0.23s; }
}

/* Re-assert mobile essentials overridden by the layer above */
@media (max-width: 640px) {
  .hero {
    padding-top: 92px;
  }
  .portrait-frame {
    border-radius: 22px;
  }
}

/* Reveal fail-safe: pure-CSS auto-show if JS never runs (no blank content ever) */
@keyframes reveal-fs {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
html.anim .hero-copy,
html.anim .hero-visual,
html.anim .section-heading,
html.anim .tabs,
html.anim .method-grid > article,
html.anim .materials-grid > article,
html.anim .first-call-grid > article,
html.anim .faq-grid > details,
html.anim .profile-photo,
html.anim .profile-copy,
html.anim .contact-section {
  animation: reveal-fs 0.1s linear 3s forwards;
}
html.anim .in {
  animation: none !important;
}

/* Mobile header must not trap the fixed nav overlay (no transform/blur) */
@media (max-width: 920px) {
  .site-header {
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
    max-width: none;
    justify-content: space-between;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
