@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/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;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037a-037f, U+0384-038a, U+038c, U+038e-03a1, U+03a3-03ff;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-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 {
  color-scheme: light dark;
  --type-body: "Manrope", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --type-display: "Cormorant Garamond", Georgia, serif;
  --canvas: #f6f2ec;
  --surface: #fbfaf7;
  --surface-raised: #fffdf9;
  --surface-soft: #eee7df;
  --surface-brand: #f1e5e8;
  --text: #24191d;
  --text-soft: #62565a;
  --text-faint: #7c7074;
  --brand: #7b1230;
  --brand-deep: #550b21;
  --brand-soft: #9a3652;
  --gold: #b4872f;
  --gold-bright: #d1a64c;
  --gold-soft: #ead7a7;
  --foil: linear-gradient(105deg, #765318 0%, #b4872f 30%, #d1a64c 46%, #8a641f 70%, #b4872f 100%);
  --secondary-text: var(--brand);
  --line: rgb(60 28 39 / 14%);
  --line-strong: rgb(123 18 48 / 28%);
  --focus: #9a6410;
  --on-brand: #fff8ee;
  --logo-plate: #fbfaf7;
  --shadow-soft: 0 24px 70px rgb(85 11 33 / 10%);
  --shadow-image: 0 28px 80px rgb(57 19 32 / 18%);
  --radius-panel: 20px;
  --radius-field: 12px;
  --radius-button: 999px;
  --nav-height: 74px;
  --wrap: 1320px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #141113;
    --surface: #1a1618;
    --surface-raised: #211a1d;
    --surface-soft: #271d21;
    --surface-brand: #321821;
    --text: #f4eee8;
    --text-soft: #c9bec1;
    --text-faint: #9f9296;
    --brand: #a42a4e;
    --brand-deep: #6f1531;
    --brand-soft: #c35a78;
    --gold: #c99c43;
    --gold-bright: #e0ba68;
    --gold-soft: #69552e;
    --foil: linear-gradient(105deg, #b98735 0%, #e0ba68 34%, #f0d695 48%, #c99c43 72%, #e0ba68 100%);
    --secondary-text: var(--gold-bright);
    --line: rgb(244 238 232 / 13%);
    --line-strong: rgb(201 156 67 / 30%);
    --focus: #e0ba68;
    --on-brand: #fff7ed;
    --shadow-soft: 0 24px 70px rgb(5 3 4 / 28%);
    --shadow-image: 0 28px 80px rgb(5 3 4 / 40%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--type-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .nav {
  top: 32px;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

::selection {
  background: var(--brand);
  color: var(--on-brand);
}

.wrap {
  width: min(calc(100% - 64px), var(--wrap));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-button);
  background: var(--brand);
  color: var(--on-brand);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--nav-height);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 90%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

@supports not (backdrop-filter: blur(1px)) {
  .nav {
    background: var(--canvas);
  }
}

.nav-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-field);
  background: var(--logo-plate);
}

.brand {
  padding: 5px 10px;
}

.site-logo {
  width: auto;
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.55vw, 25px);
  white-space: nowrap;
}

.nav-link,
.nav-links > a:not(.btn),
.nav-links > li > a {
  position: relative;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  transition: color 220ms ease;
}

.nav-link::after,
.nav-links > a:not(.btn)::after,
.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 1px;
  background: var(--gold);
  transition: right 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-links > a:not(.btn):hover,
.nav-links > li > a:hover {
  color: var(--text);
}

.nav-link:hover::after,
.nav-links > a:not(.btn):hover::after,
.nav-links > li > a:hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  min-width: 76px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  background: var(--surface);
  color: var(--text);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  padding: 12px 22px;
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease;
}

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

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.btn--primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-brand);
}

.btn--primary:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
  color: var(--on-brand);
}

.btn--secondary,
.btn--ghost {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--secondary-text);
}

.btn--secondary:hover,
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--text);
}

.btn--lg {
  min-height: 52px;
  padding-inline: 28px;
}

.btn--full {
  width: 100%;
}

.hero {
  min-height: calc(100dvh - var(--nav-height));
  display: grid;
  align-items: center;
  padding: clamp(34px, 5vw, 70px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
}

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

.eyebrow {
  display: block;
  margin: 0 0 22px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-headline,
.h2,
.featured-course h3,
.expert-profile h3,
.evidence-item h3,
.insight-item h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--type-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-headline {
  max-width: 15ch;
  font-size: clamp(52px, 4.15vw, 62px);
  line-height: 0.95;
}

.hero-headline .hero-line {
  display: block;
  white-space: nowrap;
}

.hero-headline .ital-foil {
  display: inline;
}

.hero-lead {
  max-width: 52ch;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-panel);
  background: var(--surface-soft);
  box-shadow: var(--shadow-image);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 30%),
    inset 0 0 0 8px rgb(123 18 48 / 7%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  min-height: 470px;
  aspect-ratio: 1812 / 868;
  object-fit: cover;
  object-position: 58% center;
}

.trust-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 42px;
}

.trust-grid > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
}

.trust-grid ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-grid li {
  border-left: 1px solid var(--line);
  color: var(--text);
  font-family: var(--type-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.section {
  padding: clamp(92px, 10vw, 148px) 0;
  scroll-margin-top: calc(var(--nav-height) + 12px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-heading--wide {
  max-width: 900px;
}

.h2 {
  max-width: 15ch;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.98;
}

.section-lead {
  max-width: 63ch;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
}

.copy-stack {
  max-width: 66ch;
  color: var(--text-soft);
  font-size: 17px;
}

.copy-stack p {
  margin: 0;
}

.copy-stack p + p {
  margin-top: 18px;
}

.about-intro {
  max-width: 900px;
}

.about-intro .copy-stack {
  margin-top: 26px;
}

.about-visual {
  position: relative;
  margin: clamp(50px, 7vw, 90px) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: inherit;
  pointer-events: none;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 16 / 8.3;
  object-fit: cover;
  object-position: center 46%;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.capability-item {
  grid-column: span 7;
  min-height: 290px;
  padding: clamp(28px, 3.2vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface-raised);
}

.capability-item:nth-child(2) {
  grid-column: span 5;
  background: var(--surface-brand);
}

.capability-item:nth-child(3) {
  grid-column: span 5;
  background: var(--surface-soft);
}

.capability-item:nth-child(4) {
  grid-column: span 7;
}

.capability-item:nth-child(5) {
  grid-column: 3 / span 8;
  min-height: 240px;
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--gold-soft) 48%, var(--surface));
}

.capability-item h3,
.training-item h3,
.client-group h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--type-display);
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.capability-item p,
.training-item > p {
  max-width: 54ch;
  margin: 22px 0 0;
  color: var(--text-soft);
}

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

.service-item {
  border-bottom: 1px solid var(--line);
}

.service-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 108px;
  padding: 26px 0;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.service-item summary::-webkit-details-marker,
.training-item summary::-webkit-details-marker {
  display: none;
}

.service-item summary > span:first-child {
  max-width: 30ch;
  font-family: var(--type-display);
  font-size: clamp(27px, 2.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.detail-label,
.training-item summary {
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-item[open] summary {
  color: var(--brand);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 90px);
  padding: 0 0 46px;
}

.service-detail > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
}

.service-detail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  font-size: 14px;
}

.service-detail li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 11px;
  height: 1px;
  background: var(--gold);
}

.training-rail {
  display: grid;
  grid-auto-columns: minmax(330px, 420px);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--brand) var(--surface-soft);
  scrollbar-width: thin;
}

.training-rail::-webkit-scrollbar {
  height: 5px;
}

.training-rail::-webkit-scrollbar-track {
  background: var(--surface-soft);
}

.training-rail::-webkit-scrollbar-thumb {
  background: var(--brand);
}

.training-item {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface-raised);
  scroll-snap-align: start;
}

.training-item:nth-child(2n) {
  background: var(--surface-brand);
}

.training-item:nth-child(3n) {
  background: var(--surface-soft);
}

.training-item details {
  margin-top: auto;
  padding-top: 34px;
}

.training-item summary {
  cursor: pointer;
  list-style: none;
}

.training-item ul {
  margin: 20px 0 0;
  padding: 20px 0 0 18px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
}

.training-item li + li {
  margin-top: 8px;
}

.featured-course {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 42px;
  margin-top: clamp(44px, 7vw, 80px);
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-panel);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
}

.feature-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-course h3 {
  max-width: 18ch;
  font-size: clamp(35px, 4vw, 56px);
  line-height: 1;
}

.featured-course p:last-child {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--text-soft);
}

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

.expert-profile {
  grid-column: span 6;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 54px;
  padding: clamp(34px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface-raised);
}

.expert-profile--featured {
  grid-column: span 12;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  background: var(--surface-brand);
}

.expert-profile h3 {
  max-width: 12ch;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.98;
}

.expert-role {
  max-width: 42ch;
  margin: 14px 0 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.expert-bio {
  margin: 0;
  color: var(--text-soft);
}

.expert-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 12px;
  list-style: none;
}

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

.evidence-item {
  grid-column: 8 / span 5;
  min-height: 260px;
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface-raised);
}

.evidence-item--featured {
  grid-column: 1 / span 7;
  grid-row: span 2;
  min-height: 536px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, transparent 0%, rgb(85 11 33 / 8%) 100%),
    var(--surface-brand);
}

.evidence-item h3 {
  max-width: 12ch;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
}

.evidence-item p {
  max-width: 48ch;
  margin: 20px 0 0;
  color: var(--text-soft);
}

.client-groups {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  gap: 50px;
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: 48px;
  border-top: 1px solid var(--line-strong);
}

.client-group h3 {
  font-size: 28px;
}

.client-group ul {
  columns: 2;
  column-gap: 32px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--text-soft);
  font-size: 13px;
  list-style: none;
}

.client-group:nth-child(n + 2) ul {
  columns: 1;
}

.client-group li {
  break-inside: avoid;
  margin-bottom: 9px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 8vw, 120px);
  border-top: 1px solid var(--line-strong);
}

.insight-item {
  min-height: 180px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.insight-item h3 {
  max-width: 19ch;
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.08;
}

.ital-foil {
  display: inline;
  background:
    repeating-linear-gradient(100deg, rgb(255 255 255 / 8%) 0 1px, transparent 1px 13px),
    var(--foil);
  background-clip: text;
  background-size: 165% 100%, 132% 100%;
  color: var(--gold);
  filter: saturate(1.08) contrast(1.08);
  font-style: italic;
  text-shadow: 0 1px 0 rgb(255 255 255 / 12%), 0 2px 2px rgb(86 56 8 / 15%);
  -webkit-background-clip: text;
  -webkit-box-decoration-break: clone;
  -webkit-text-fill-color: transparent;
  box-decoration-break: clone;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(60px, 10vw, 140px);
}

.contact-copy {
  position: sticky;
  top: calc(var(--nav-height) + 42px);
}

.contact-copy > p:last-child {
  max-width: 47ch;
  margin: 30px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}

.contact-panel {
  padding: clamp(30px, 4.5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
}

.form-status {
  display: grid;
  gap: 4px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-field);
  background: var(--surface-brand);
  color: var(--text-soft);
  font-size: 13px;
}

.form-status strong {
  color: var(--text);
}

.form-status--error {
  border-color: var(--brand);
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full,
.contact-form > .btn {
  grid-column: 1 / -1;
}

.field label {
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-field);
  background: var(--surface);
  color: var(--text);
  padding: 13px 14px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.field input,
.field select {
  min-height: 50px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--gold);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: var(--surface-raised);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
}

.field-help {
  color: var(--text-faint);
  font-size: 11px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.footer {
  padding: 82px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.7fr) minmax(260px, 1fr);
  gap: clamp(48px, 8vw, 110px);
}

.footer-brand {
  padding: 10px 14px;
}

.footer-logo {
  width: auto;
  height: 70px;
}

.footer-tagline,
.footer-newsletter-text {
  max-width: 48ch;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.footer h2 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-nav a {
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--text-soft);
  font-size: 13px;
}

.footer-nav a + a {
  margin-top: 8px;
}

.footer-nav a:hover {
  color: var(--brand);
}

.footer-action .btn {
  margin-top: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 11px;
}

.page-content,
.archive-entry {
  color: var(--text-soft);
}

.page-content .h2,
.archive-entry .h2 {
  margin-bottom: 30px;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--text);
  font-family: var(--type-display);
}

.page-content a,
.archive-entry a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.archive-entry {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.muted-copy {
  color: var(--text-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    opacity: 0;
    transform: translateY(18px);
    animation: hero-enter 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 70ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 140ms;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 210ms;
  }

  .hero-visual {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    animation: hero-visual-enter 850ms 120ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-enter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1160px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 24px;
    right: 24px;
    display: grid;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface-raised);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 220ms ease,
      transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
      visibility 220ms ease;
  }

  .nav.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link,
  .nav-links > a:not(.btn),
  .nav-links > li > a {
    display: block;
    padding: 12px 8px;
    font-size: 14px;
  }

  .nav-link::after,
  .nav-links > a:not(.btn)::after,
  .nav-links > li > a::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    margin-top: 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 42px;
  }

  .hero-headline {
    font-size: clamp(54px, 6vw, 68px);
  }
}

@media (max-width: 900px) {
  body.admin-bar .nav {
    top: 46px;
  }

  .hero {
    min-height: auto;
  }

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

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

  .hero-headline {
    max-width: 13ch;
  }

  .hero-visual img {
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 0;
  }

  .capability-grid,
  .expert-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .capability-item,
  .capability-item:nth-child(n),
  .expert-profile,
  .expert-profile--featured,
  .evidence-item,
  .evidence-item--featured {
    grid-column: 1;
    grid-row: auto;
  }

  .capability-item:nth-child(5) {
    min-height: 290px;
  }

  .expert-profile--featured {
    grid-template-columns: 1fr;
  }

  .client-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-group:first-child {
    grid-column: 1 / -1;
  }

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

  .contact-copy {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-action {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(calc(100% - 40px), var(--wrap));
  }

  .site-logo {
    height: 46px;
  }

  .hero {
    padding: 34px 0 50px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-headline {
    font-size: clamp(42px, 10.5vw, 52px);
    line-height: 0.94;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    margin-top: 26px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
    object-position: 58% center;
  }

  .trust-grid ul {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .trust-grid li:nth-child(odd) {
    border-left: 0;
  }

  .trust-grid li {
    font-size: 18px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .h2 {
    font-size: clamp(43px, 12vw, 56px);
  }

  .about-visual img {
    aspect-ratio: 4 / 3;
  }

  .capability-item {
    min-height: auto;
    padding: 30px;
  }

  .service-item summary {
    align-items: end;
    min-height: 98px;
  }

  .service-item summary > span:first-child {
    font-size: 28px;
  }

  .detail-label {
    font-size: 9px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-detail ul {
    grid-template-columns: 1fr;
  }

  .training-rail {
    grid-auto-columns: min(84vw, 360px);
  }

  .training-item {
    min-height: 450px;
    padding: 30px;
  }

  .featured-course {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .featured-course .btn {
    width: 100%;
  }

  .expert-profile,
  .expert-profile--featured,
  .evidence-item,
  .evidence-item--featured {
    min-height: auto;
    padding: 32px;
  }

  .expert-profile {
    gap: 36px;
  }

  .expert-areas {
    grid-template-columns: 1fr;
  }

  .client-groups,
  .insight-grid,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .client-group:first-child,
  .field--full,
  .contact-form > .btn,
  .footer-action {
    grid-column: 1;
  }

  .client-group ul,
  .client-group:nth-child(n + 2) ul {
    columns: 1;
  }

  .insight-item {
    min-height: 150px;
  }

  .contact-panel {
    padding: 26px 22px;
  }

  .footer-bottom {
    display: grid;
    margin-top: 48px;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: min(calc(100% - 28px), var(--wrap));
  }

  .brand {
    padding-inline: 7px;
  }

  .site-logo {
    height: 42px;
  }

  .hero-headline {
    font-size: 40px;
  }
}

@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;
  }

  .reveal,
  .hero-copy > *,
  .hero-visual {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav {
    background: var(--canvas);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
