@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --green: #6ab82b;
  --green-dark: #5da522;
  --green-hover: #4a8a1a;
  --brand-gray: #b2b2b2;
  --charcoal: #242628;
  --charcoal-2: #303438;
  --ink: #1d2023;
  --muted: #626a70;
  --line: #d8d8d8;
  --soft-line: #eeeeee;
  --white: #ffffff;
  --off-white: #f6f7f3;
  --mist: #e9efe5;
  --deep: #11191d;
  --shadow: 0 18px 42px rgba(18, 28, 24, 0.13);
  --header-height: 76px;
  --font-body: "Iskoola Pota", "Noto Serif", Georgia, "Times New Roman", serif;
  --font-heading: "Iskoola Pota", "Noto Serif", Georgia, "Times New Roman", serif;

  /* ── Theme surfaces (light) ──────────────────────────────────────
     --white / --charcoal / --deep stay literal brand colours and are
     used for text and panels that are dark in BOTH themes. Anything
     that flips between light and dark uses the tokens below.        */
  --surface-page: #ffffff;
  --surface-card: #ffffff;
  --surface-header: rgba(255, 255, 255, 0.97);
  --panel-dark: #242628;
  --brand-name: #323232;
  --card-shadow: 0 8px 24px rgba(20, 28, 24, 0.05);
  color-scheme: light;
}

/* ══════════════════════════════════════════════════════════════════
   DARK THEME
   Set by the inline <head> script as data-theme="dark" on <html>:
   an explicit choice in localStorage wins, otherwise the OS/browser
   preference is honoured, otherwise light.
   ══════════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  color-scheme: dark;

  --surface-page: #121618;
  --surface-card: #1b2022;
  --surface-header: rgba(17, 21, 23, 0.94);

  --off-white: #1d2224;
  --mist: #16211c;

  --ink: #e4e9e9;
  --charcoal: #f1f4f3;
  --charcoal-2: #e4e9e9;
  --muted: #a2adaf;

  --line: #2f3639;
  --soft-line: #262c2f;

  --brand-name: #f1f4f3;
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);

  /* NOTE: --green / --green-dark are deliberately NOT changed here.
     They are the brand greens and also fill the primary buttons, which
     carry white text — lightening them lowers button contrast. On the
     dark page ground #5da522 still reads at roughly 5.7:1 as link text. */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-page);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--green-dark);
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  width: 100%;
}

h1 {
  color: var(--white);
  font-size: 4rem;
}

h2 {
  font-size: clamp(1.85rem, 1.5rem + 1.5vw, 4.2rem);
  text-wrap: normal;
}

h3 {
  font-size: 1.35rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--panel-dark);
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 2px solid rgba(93, 165, 34, 0.55);
  outline-offset: 3px;
}

.section-shell {
  width: calc(100% - 64px);
  max-width: none;
  margin: 0 auto;
}

.section-padding {
  padding: 96px 0;
}

.section-padding--topless {
  padding-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-header);
  border-bottom: 1px solid var(--soft-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(14px);
}

.topline {
  color: var(--white);
  background: var(--panel-dark);
  font-size: 0.8rem;
}

.topline__inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 48px;
  margin: 0 auto;
  padding: 0.45rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topline__inner > span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.topline a {
  font-weight: 600;
}

.topline__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.social-links a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.social-links a.social-link--linkedin:hover,
.social-links a.social-link--linkedin:focus-visible {
  background: #0A66C2;
  border-color: #0A66C2;
  color: var(--white);
  transform: translateY(-1px);
}

.social-links a.social-link--x:hover,
.social-links a.social-link--x:focus-visible {
  background: #111111;
  border-color: #111111;
  color: var(--white);
  transform: translateY(-1px);
}

.social-links a.social-link--facebook:hover,
.social-links a.social-link--facebook:focus-visible {
  background: #1877F2;
  border-color: #1877F2;
  color: var(--white);
  transform: translateY(-1px);
}

.footer-social .social-links a.social-link--linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}
.footer-social .social-links a.social-link--x:hover {
  background: #111111;
  border-color: #111111;
}
.footer-social .social-links a.social-link--facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.language-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 0.35rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  font-weight: 500;
  transition: border-color 200ms ease;
}

.language-switch:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.language-switch::after {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-right: 1.5px solid rgba(255,255,255,0.5);
  border-bottom: 1.5px solid rgba(255,255,255,0.5);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}

.language-switch select {
  appearance: none;
  width: auto;
  min-width: 0;
  max-width: 72px;
  height: 30px;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  padding: 0;
  cursor: pointer;
}

.language-switch select:focus-visible {
  outline: 0;
}

.language-switch:focus-within {
  outline: 2px solid rgba(106, 184, 43, 0.45);
  outline-offset: 2px;
}

.language-switch option {
  color: var(--white);
  background: var(--panel-dark);
}

.main-nav {
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 0 18px 0 8px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 280px;
  height: auto;
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.3rem;
  color: var(--charcoal);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links > a:not(.nav-cta),
.nav-trigger {
  position: relative;
  padding: 0.3rem 0;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links > a:not(.nav-cta)::after,
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a:not(.nav-cta):focus-visible::after,
.nav-trigger:hover::after,
.nav-trigger:focus-visible::after {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
}

.nav-menu {
  display: none;
}

.nav-menu a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  transition: background 150ms ease, color 150ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--ink);
  background: var(--off-white);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition:
    background-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-cta,
.button--primary,
.button--secondary {
  color: var(--white);
  background: var(--green-dark);
  border-color: transparent;
}

.nav-cta:hover,
.button--primary:hover,
.button--secondary:hover {
  color: var(--white);
  background: var(--green-hover);
  box-shadow: 0 6px 18px rgba(26, 74, 10, 0.22);
}

.nav-cta:active,
.button:active {
  transition-duration: 100ms;
}

.nav-cta {
  min-height: 36px;
  padding: 0.5rem 0.9rem;
  font-size: 0.72rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__line {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav.is-open .nav-toggle__line:first-child {
  transform: translateY(-4px);
}

.main-nav.is-open .nav-toggle__line:nth-of-type(3) {
  transform: translateY(4px);
}

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

.nav-aux {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 1rem;
  border-left: 1px solid var(--soft-line);
}

.nav-aux .social-links a {
  width: 28px;
  height: 28px;
  border-color: rgba(0, 0, 0, 0.13);
  color: var(--charcoal);
  background: transparent;
  font-size: 0.65rem;
}

.nav-aux .social-links a:hover,
.nav-aux .social-links a:focus-visible {
  border-color: transparent;
}

.nav-aux .language-switch {
  min-height: 40px;
  gap: 0;
  padding: 0 12px;
  color: var(--charcoal-2);
  background: linear-gradient(180deg, var(--surface-card) 0%, var(--off-white) 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.nav-aux .language-switch:hover {
  border-color: var(--green-dark);
  box-shadow: 0 3px 14px rgba(93, 165, 34, 0.22);
  transform: translateY(-1px);
}

.nav-aux .language-switch::after {
  border-right-color: var(--green-dark);
  border-bottom-color: var(--green-dark);
}

.nav-aux .language-switch select {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.language-switch__label {
  flex: 1;
  text-align: center;
  padding: 0 8px;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-aux .lang-globe {
  width: 15px;
  height: 15px;
  color: var(--green-dark);
  opacity: 1;
}

.nav-aux .language-switch option {
  color: var(--ink);
  background: var(--surface-card);
}

.lang-globe {
  flex-shrink: 0;
  opacity: 0.75;
}

main section[id] {
  scroll-margin-top: var(--header-height);
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  height: 80svh;
  max-height: 860px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background: var(--deep);
}

.overview {
  display: none;
}

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

.hero-slide {
  opacity: 0;
  z-index: 1;
  background-position: center;
  background-size: cover;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 25, 0.94) 0%, rgba(16, 24, 25, 0.82) 42%, rgba(16, 24, 25, 0.48) 100%);
}

.hero-slide--photo-one {
  background-image: url("assets/patrumin-hero-slide-1.jpg");
}

.hero-slide--photo-two {
  background-image: url("assets/wall-street-sign.jpg");
  background-position: center 30%;
}

.hero-slide--photo-three {
  background-image: url("assets/charging-bull.jpg");
  background-position: center 40%;
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  padding-top: 52px;
  padding-bottom: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: none;
  width: 100%;
}

.hero__headline {
  margin: 0;
  width: 100%;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 1rem + 5.2vw, 7.4rem);
}

@media (min-width: 881px) {
  .hero__inner {
    gap: 1.9rem;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 0.4rem + 4.4vw, 7.4rem);
  }

  .hero__inner .button {
    min-height: 58px;
    font-size: 1.04rem;
  }
}

.hero__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 0;
}

.hero__left > p:not(.eyebrow) {
  max-width: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.hero__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  padding-left: clamp(2rem, 3vw, 3.5rem);
}

.hero__left .button-row {
  margin-top: 0.75rem;
  padding-top: 0;
}

@media (min-width: 881px) {
  .hero__left .button-row {
    margin-top: 0;
  }
}

.hero__right .eyebrow {
  color: var(--green);
}

.hero__right-heading {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0.5rem;
  margin-bottom: 0;
  width: 100%;
}

.hero__right p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 1.2rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero .eyebrow {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
}

.hero-definition {
  margin-top: 0.9rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.hero__lede {
  max-width: none;
  width: 100%;
  margin-top: 1.2rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1.3;
}

.reg-mark {
  font-size: 0.42em;
  line-height: 0;
  vertical-align: super;
}

.hero__copy {
  max-width: none;
  width: 100%;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-band {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 25, 29, 0.74);
}

.hero-band__grid {
  min-height: 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-band__grid span {
  padding-left: 1rem;
  border-left: 3px solid var(--green);
}

.overview {
  background: var(--off-white);
}

.overview__grid,
.about__grid,
.review__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 68px;
  align-items: start;
}

.overview__copy {
  color: var(--muted);
  font-size: 1.05rem;
  width: 100%;
  max-width: none;
}

.section-heading {
  max-width: none;
  width: 100%;
  margin-bottom: 40px;
}

.section-heading--wide {
  max-width: none;
}

.section-heading--full {
  max-width: none;
}

.section-heading p,
.about__main p,
.review__grid > div > p {
  color: var(--muted);
  font-size: 1.03rem;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

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

.principle-card,
.feature-card,
.insight-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-card);
  box-shadow: 0 8px 24px rgba(20, 28, 24, 0.05);
}

.principle-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 26px 28px;
}

.principle-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.principle-card p {
  margin-top: 0.8rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.principle-card h3,
.feature-card h3,
.insight-card h3 {
  margin-top: 0.6rem;
}

.principle-card p,
.feature-card p,
.insight-card p,
.strategy-callout p,
.review-list p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-kicker {
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-more {
  margin-top: auto;
  padding-top: 1rem;
  align-self: flex-start;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--green);
}

.card-more:hover {
  color: var(--green-hover);
}

/* ── Customized Portfolio Section ── */
.customization {
  border-top: 1px solid var(--soft-line);
  background: var(--surface-page);
}

.customization.section-padding {
  padding: 64px 0 80px;
}

.customization__title {
  margin: 0;
  width: 100%;
  font-size: clamp(2rem, 0.5rem + 3.7vw, 6rem);
  line-height: 1.1;
}

.customization__sub {
  margin-top: 0.9rem;
  color: var(--green-dark);
  font-size: clamp(1.05rem, 0.85rem + 0.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.customization__lede {
  margin-top: 1.5rem;
  width: 100%;
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 0.85rem + 1.15vw, 2.25rem);
  font-weight: 500;
  line-height: 1.32;
}

.customization__copy {
  margin-top: 1.5rem;
  width: 100%;
  color: var(--muted);
}

.customization__copy p {
  font-size: 1.05rem;
  line-height: 1.8;
  width: 100%;
}

.customization__link {
  display: inline-block;
  margin-top: 1.8rem;
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--green);
}

.customization__link:hover {
  color: var(--green-hover);
}

/* ── Founder Quote Band ── */
.quote-band {
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  background: var(--mist);
}

.firm-quote {
  margin: 0;
  max-width: none;
  width: 100%;
  text-align: left;
}

.firm-quote__text {
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.9vw - 0.2rem, 6rem);
  line-height: 1.2;
  width: 100%;
}

.firm-quote__by {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.9rem;
  margin-top: 1.6rem;
}

.firm-quote__name {
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.firm-quote__role {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── About Section ── */
.about {
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  background: var(--surface-page);
}

.about.section-padding {
  padding: 80px 0;
}

.about__stack {
  /* Retain standard section-shell margins */
}

.about__stack .eyebrow {
  margin-bottom: 1rem;
}

.about__stack h2 {
  max-width: none;
  width: 100%;
}

.about__copy {
  margin-top: 2.2rem;
  width: 100%;
  color: var(--muted);
}

.about__copy p {
  font-size: 1.05rem;
  line-height: 1.75;
  width: 100%;
}

@media (min-width: 900px) {
  .about__copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.6rem;
  }
  .about__copy p + p {
    margin-top: 0;
  }
}

.leader-panel {
  padding: 40px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--surface-card);
  box-shadow: var(--shadow);
}

.leader-panel .quote {
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.22;
}

.leader-panel h3 {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.leader-panel h3 + p {
  margin-top: 0.2rem;
  color: var(--muted);
}

/* ── Strategy Section ── */
.strategy {
  background: var(--surface-page);
}

.strategy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 30px;
  justify-content: center;
}

.strategy-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  background: var(--off-white);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 420ms cubic-bezier(0.22, 1, 0.36, 1), border-color 420ms cubic-bezier(0.22, 1, 0.36, 1), color 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.strategy-nav a:hover,
.strategy-nav a:focus-visible {
  color: var(--white);
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.strategy-list {
  display: grid;
  gap: 80px;
}

.strategy-panel {
  display: flex;
  flex-direction: column;
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin-bottom: 32px;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-card);
  box-shadow: 0 8px 24px rgba(20, 28, 24, 0.05);
}

.strategy-panel__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.strategy-panel__heading {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.strategy-panel__name {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.15;
  width: 100%;
}

.strategy-panel__tag {
  color: var(--muted);
  opacity: 0.72;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

.strategy-panel__cta {
  flex-shrink: 0;
  min-height: 34px;
  padding: 0.4rem 1rem;
  font-size: 0.74rem;
}

.strategy-panel__body p + p {
  margin-top: 0.75rem;
}

.strategy-disclosure {
  margin-top: 12px;
  padding: 16px 20px;
  background: var(--off-white);
  border-left: 3px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.strategy-panel p,
.strategy-points {
  color: var(--muted);
  font-size: 0.98rem;
  width: 100%;
}

.strategy-risk {
  padding-top: 1rem;
  border-top: 1px solid var(--soft-line);
  font-size: 0.88rem;
}

.strategy-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 0.55rem 1.4rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.strategy-points li {
  position: relative;
  padding-left: 1.05rem;
}

.strategy-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

.strategy-contact-link {
  color: var(--charcoal);
  text-decoration-color: var(--green);
}

.strategy-contact-link:hover {
  color: var(--green-dark);
}

.strategy-materials {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  margin-top: 30px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--off-white);
}

.strategy-materials h3 {
  margin-top: 0.55rem;
}

.strategy-materials p {
  color: var(--muted);
  font-size: 0.96rem;
}

.strategy-materials a:not(.button) {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.strategy-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: stretch;
}

.strategy-callout {
  min-height: 100%;
  padding: 42px;
  border-radius: 8px;
  color: var(--white);
  background: var(--panel-dark);
}

.strategy-callout .eyebrow {
  color: var(--green);
}

.strategy-callout h3 {
  color: var(--white);
  font-size: 2rem;
}

.strategy-callout p {
  color: rgba(255, 255, 255, 0.78);
}

.text-link {
  display: inline-flex;
  margin-top: 1.7rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.gips-composite {
  background: var(--off-white);
}

.gips-composite.section-padding {
  padding-bottom: 64px;
}

.page-hero + .section-padding {
  padding-top: 56px;
}

.page-hero + .section-padding .section-heading {
  margin-top: 0;
  margin-bottom: 56px;
}

.gips-reports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.gips-report-item {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-card);
  box-shadow: 0 6px 18px rgba(20, 28, 24, 0.05);
}

.gips-report-item h3 {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.gips-report-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.4rem;
  flex-wrap: wrap;
}

.gips-report-actions .button {
  flex: 1;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  font-size: 0.75rem;
}

.button--outline {
  color: var(--charcoal);
  background: var(--surface-card);
  border-color: var(--line);
}

.button--outline:hover {
  color: var(--charcoal);
  background: var(--surface-card);
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
}

.review {
  background: var(--surface-page);
}

.review__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 68px;
  align-items: start;
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #10201a;
}

.contact.section-padding {
  padding: 64px 0 50px;
}

.contact .contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: stretch;
  padding: 0;
}

.contact .section-shell {
  position: relative;
  z-index: 1;
}

.contact h2 {
  color: var(--white);
  font-size: 1.6rem;
}

.contact h3 {
  color: var(--white);
}

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

.contact__grid > div > p {
  color: rgba(255, 255, 255, 0.78);
  width: 100%;
}

.contact__grid > div:first-child {
  display: flex;
  flex-direction: column;
  max-width: 28rem;
  justify-self: start;
}

.contact__grid > div:first-child > p {
  max-width: none;
}

.contact__grid > div:first-child .button {
  margin-top: 2.2rem;
  width: 100%;
  max-width: 26rem;
  border-radius: 6px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  backdrop-filter: blur(6px) saturate(120%);
  box-shadow: 0 6px 20px rgba(8, 20, 6, 0.18);
  transition:
    background-color 240ms ease,
    border-color 240ms ease;
}

.contact__grid > div:first-child .button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(8, 20, 6, 0.18);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 22rem;
  justify-self: center;
  align-self: center;
}

.contact-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 19px 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  min-height: auto;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  font-size: 0.96rem;
  transition: color 200ms ease;
}

.contact-link span {
  display: inline;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.contact-link:hover {
  color: var(--white);
  background: transparent;
}

.contact-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  justify-self: center;
  width: 100%;
  max-width: 280px;
  min-width: 0;
}

.contact-brand__mark {
  width: 150px;
  height: auto;
  margin: 0 auto;
  opacity: 0.95;
}

.contact-brand__note {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  max-width: 260px;
}

@media (max-width: 1240px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-brand {
    align-items: flex-start;
    justify-self: start;
    width: min(100%, 420px);
  }

  .contact-brand__mark {
    margin: 0;
  }

  .contact-brand__note {
    white-space: normal;
    font-size: 0.7rem;
    line-height: 1.4;
    text-align: left;
  }

  .contact-actions {
    max-width: none;
    justify-self: start;
    align-self: start;
  }
}

.contact-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
}

.hero__inner .button {
  min-height: 50px;
  padding: 0.95rem 1.7rem;
  border-radius: 6px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  backdrop-filter: blur(6px) saturate(120%);
  box-shadow: 0 6px 20px rgba(8, 20, 6, 0.18);
  transition:
    background-color 240ms ease,
    border-color 240ms ease;
}

.hero__inner .button--primary {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 8px 22px rgba(22, 62, 8, 0.28);
}

.hero__inner .button--primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
}

.hero__inner .button sup.reg {
  margin-left: -0.25em;
}

.hero__inner .button--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(8, 20, 6, 0.18);
}

.gips-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.gips-modal.is-open {
  display: flex;
}
.gips-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 14, 0.72);
  backdrop-filter: blur(3px);
  cursor: pointer;
}
.gips-modal__box {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100vw - 48px));
  padding: 40px;
  background: var(--surface-card);
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(10, 20, 14, 0.28);
}
.gips-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--muted);
  transition: background 160ms, color 160ms;
}
.gips-modal__close:hover {
  background: var(--off-white);
  color: var(--charcoal);
}
.gips-modal__box h3 {
  margin-top: 0.4rem;
  font-size: 1.2rem;
}
.gips-modal__desc {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.gips-modal__field {
  margin-top: 1.2rem;
}
.gips-modal__field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
}
.gips-modal__req {
  color: var(--green-dark);
  margin-left: 2px;
}
.gips-modal__field input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.94rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--surface-card);
  box-sizing: border-box;
  transition: border-color 160ms;
}
.gips-modal__field input:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(52, 106, 60, 0.12);
}
.gips-modal__submit {
  width: 100%;
  margin-top: 1.4rem;
}
.gips-modal__privacy {
  margin-top: 0.8rem;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
}
.gips-modal__success {
  text-align: center;
  padding: 16px 0;
}
.gips-modal__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #eaf4eb;
  color: var(--green-dark);
  font-size: 1.5rem;
}
.gips-modal__note {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.gips-modal__field textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.94rem;
  font-family: var(--font-body);
  line-height: 1.5;
  color: var(--charcoal);
  background: var(--surface-card);
  box-sizing: border-box;
  transition: border-color 160ms;
}
.gips-modal__field textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(52, 106, 60, 0.12);
}

.contact-modal__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0.2rem 0 0.2rem;
}
.contact-modal__avatar {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-image: url("assets/sam-a-dedio.jpg");
  background-repeat: no-repeat;
  background-size: 245%;
  background-position: 62% 24%;
  border: 2px solid var(--off-white);
  box-shadow: 0 2px 8px rgba(10, 20, 14, 0.18);
}
.contact-modal__who strong {
  display: block;
  font-size: 1rem;
  color: var(--charcoal);
}
.contact-modal__who span {
  font-size: 0.8rem;
  color: var(--muted);
}

#contact-modal .gips-modal__privacy {
  width: 100%;
  text-align: left;
}

.hero-contact {
  position: absolute;
  right: 0;
  bottom: 36px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.hero-contact__label {
  display: inline-flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.3;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}
.hero-contact__label small {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
}
.hero-contact__label span {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--white);
}
.hero-contact:hover .hero-contact__label,
.hero-contact:focus-visible .hero-contact__label {
  opacity: 1;
  transform: translateX(0);
}

.hero-contact__photo {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background-image: url("assets/sam-a-dedio.jpg");
  background-repeat: no-repeat;
  background-size: 245%;
  background-position: 62% 24%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 26px rgba(6, 12, 8, 0.42);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease,
    border-color 280ms ease;
}
.hero-contact:hover .hero-contact__photo,
.hero-contact:focus-visible .hero-contact__photo {
  transform: scale(1.05);
  border-color: #fff;
  box-shadow: 0 12px 34px rgba(6, 12, 8, 0.5);
}

.hero-contact__badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.hero-contact__badge svg {
  width: 15px;
  height: 15px;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-contact__photo::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(106, 184, 43, 0.5);
    animation: heroContactPulse 2.8s ease-out infinite;
    pointer-events: none;
  }
  .hero-contact:hover .hero-contact__photo::after,
  .hero-contact:focus-visible .hero-contact__photo::after {
    animation: none;
  }
}
@keyframes heroContactPulse {
  0% { box-shadow: 0 0 0 0 rgba(106, 184, 43, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(106, 184, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(106, 184, 43, 0); }
}

@media (max-width: 1040px) {
  .hero-contact {
    position: static;
    align-self: flex-end;
    margin-top: 1.75rem;
  }
  .hero-contact__label {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 620px) {
  .hero-contact__photo {
    width: 76px;
    height: 76px;
  }
  .hero-contact__badge {
    width: 26px;
    height: 26px;
  }
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--deep);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.65rem;
  line-height: 1;
}

.footer-brand strong {
  color: var(--green);
  font-weight: 500;
}

.footer-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding-top: 18px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: none;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 220ms ease, transform 220ms ease;
  flex-shrink: 0;
}

.social-btn svg {
  width: 26px;
  height: 26px;
}

.social-btn {
  color: var(--green);
}

.social-btn.instagram svg path {
  fill: var(--green);
  transition: fill 220ms ease;
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-1px);
}

.social-btn.linkedin:hover,
.social-btn.linkedin:focus-visible { color: #0A66C2; }
.social-btn.x-corp:hover,
.social-btn.x-corp:focus-visible { color: #e9edef; }
.social-btn.facebook:hover,
.social-btn.facebook:focus-visible { color: #1877F2; }
.social-btn.instagram:hover svg path,
.social-btn.instagram:focus-visible svg path { fill: url(#ig-gradient); }

.social-btn:active {
  transform: scale(0.95);
}

.footer-disclosures {
  padding: 36px 0 32px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  line-height: 1.6;
}

.footer-disclosures p + p {
  margin-top: 0.7rem;
}

.footer-disclosures a {
  color: var(--green);
}

.footer-meta {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.25rem;
  }

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

  .strategy-layout,
  .strategy-panel,
  .strategy-materials,
  .overview__grid,
  .about__grid,
  .review__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    flex-direction: column;
    gap: 2rem;
  }

  .hero__right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-brand {
    justify-self: start;
  }

  .contact-actions {
    max-width: none;
    justify-self: start;
  }

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

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

@media (max-width: 1319px) {

  :root {
    --header-height: 86px;
  }

  body.nav-open {
    overflow: auto;
  }

  .main-nav {
    min-height: 86px;
  }

  .brand img {
    width: 240px;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-aux {
    order: 2;
    margin-left: auto;
    border-left: none;
    padding-left: 0;
  }

  .nav-links {
    justify-content: normal;
    position: absolute;
    left: 0;
    right: 0;
    top: 86px;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--surface-card);
    transition: max-height 220ms ease;
  }

  .main-nav.is-open .nav-links {
    max-height: 900px;
  }

  .nav-links > a:not(.nav-cta),
  .nav-item {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    border-top: 1px solid var(--soft-line);
  }

  .nav-links > a:not(.nav-cta),
  .nav-trigger {
    display: block;
    padding: 1rem 0;
  }

  .nav-menu {
    display: block;
    position: static;
    width: 100%;
    padding: 0.35rem 0 1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu a {
    padding: 0.65rem 1rem;
    background: var(--off-white);
    margin-bottom: 2px;
    border-radius: 4px;
  }
}

@media (max-width: 880px) {
  .hero {
    min-height: 560px;
    height: auto;
    max-height: none;
  }

  .hero__content {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .hero-band__grid {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .card-grid--three,
  .card-grid--two,
  .review-list,
  .gips-reports-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .contact-social {
    max-width: 20rem;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  h3 {
    font-size: 1.18rem;
  }

  .section-shell,
  .topline__inner,
  .main-nav {
    width: calc(100% - 32px);
  }

  .section-padding {
    padding: 68px 0;
  }

  .section-padding--topless {
    padding-top: 0;
  }

  .brand img {
    width: 200px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-slide--photo-one,
  .hero-slide--photo-two,
  .hero-slide--photo-three {
    background-position: 58% center;
  }

  .hero__lede {
    font-size: 1.28rem;
  }

  .hero__copy {
    font-size: 1rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .card-grid--four {
    grid-template-columns: 1fr;
  }

  .principle-card,
  .feature-card,
  .insight-card,
  .strategy-panel,
  .strategy-callout,
  .leader-panel,
  .review-list article,
  .gips-report-item {
    padding: 24px;
  }

  .strategy-nav {
    display: grid;
  }

  .strategy-panel__top {
    flex-direction: column;
    gap: 0.8rem;
  }

  .strategy-panel__meta {
    align-items: flex-start;
    text-align: left;
    max-width: none;
  }

  .strategy-points {
    grid-template-columns: 1fr;
  }

  .strategy-materials {
    gap: 1rem;
  }

  .leader-panel .quote {
    font-size: 1.42rem;
  }
}

.hero__definition {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-style: italic;
  letter-spacing: 0.01em;
}

.social-links a.social-link--instagram:hover,
.social-links a.social-link--instagram:focus-visible {
  background: #E4405F;
  border-color: #E4405F;
  color: var(--white);
  transform: translateY(-1px);
}

h1,
h2,
h3,
p,
li {
  text-wrap: normal;
}

.site-footer p,
.site-footer li {
  text-wrap: wrap;
}

sup.reg {
  font-size: 0.55em;
  line-height: 0;
  vertical-align: super;
  letter-spacing: 0;
}

.about-firm-intro h2 {
  font-size: clamp(1.8rem, 1.1rem + 2.2vw, 4.4rem);
}

.about-prose {
  margin-top: 1.4rem;
  color: var(--muted);
  width: 100%;
}

.about-prose p {
  font-size: 1.05rem;
  line-height: 1.75;
  width: 100%;
}

.about-prose p + p {
  margin-top: 1rem;
}

.about-approach {
  margin-top: 3rem;
  width: 100%;
}

.about-approach h3,
.about-why h3 {
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

.about-approach > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  width: 100%;
}

.about-points {
  margin-top: 1.6rem;
}

.about-points li {
  color: var(--charcoal);
  font-weight: 500;
}

@media (min-width: 760px) {
  .about-points {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

.about-why {
  margin-top: 3.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--soft-line);
  width: 100%;
}

.about-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.4rem;
}

.about-why__item h4 {
  margin: 0 0 0.7rem;
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-why__item p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .about-why__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

.gips-report-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
}

.gips-notes {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.gips-notes p + p {
  margin-top: 0.9rem;
}

.gips-notes a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.built-around {
  border-top: 1px solid var(--soft-line);
  background: var(--off-white);
}

.built-around__copy {
  color: var(--muted);
  width: 100%;
}

.built-around__copy p {
  font-size: 1.05rem;
  line-height: 1.75;
  width: 100%;
}

.built-around__copy p + p {
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .built-around__copy {
    columns: 2;
    column-gap: 3rem;
  }
  .built-around__copy p {
    break-inside: avoid;
  }
}

.built-around__kicker {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 2px solid var(--green);
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 0.8rem + 1.25vw, 2.2rem);
  line-height: 1.36;
  width: 100%;
}

.research-prose {
  margin-top: 1.4rem;
  margin-bottom: 2.4rem;
  color: var(--muted);
  width: 100%;
}

.research-prose p {
  font-size: 1.05rem;
  line-height: 1.75;
  width: 100%;
}

.privacy-doc {
  max-width: none;
  width: 100%;
}

.privacy-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.6rem 0;
}

.privacy-intro {
  font-size: 1.03rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.privacy-doc h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
  width: 100%;
}

.privacy-doc p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  width: 100%;
}

.privacy-doc ol {
  margin: 1rem 0 0 1.3rem;
  padding: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-doc ol li {
  margin-bottom: 1.1rem;
  padding-left: 0.4rem;
}

.privacy-doc ol li::marker {
  color: var(--green-dark);
  font-weight: 600;
}

.privacy-doc ul {
  margin: 0.8rem 0 0.8rem 1.4rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-doc ul li {
  margin-bottom: 0.5rem;
}

.privacy-doc a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-address {
  margin-top: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: var(--off-white);
  border-left: 3px solid var(--green-dark);
  border-radius: 4px;
  font-style: normal;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.privacy-copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 220ms;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

.gips-modal__success p[data-i18n="gipsModalThanks"] {
  font-size: 1.3rem;
  font-family: var(--font-heading);
}

.gips-modal__success .gips-modal__check {
  margin: 1.2rem auto;
}

.gips-modal.is-open .gips-modal__box {
  padding-bottom: 1.5rem;
}

.footer-meta a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta a:hover {
  color: var(--green-dark);
}

.gips-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gips-modal.is-open {
  display: flex;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 3rem;
}

.bio-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px;
}

.bio-card__photo {
  width: 200px;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  display: block;
}

.bio-card__photo--placeholder {
  width: 200px;
  height: 240px;
  background: var(--soft-line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.bio-card__content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.bio-card__role {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.bio-card__history {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bio-card__history li {
  font-size: 0.84rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.bio-card__history li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--green-dark);
}

.about-firm-text {
  max-width: none;
  margin-top: 2rem;
}

.about-firm-text p {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.page-hero {
  background: var(--deep);
  padding: 72px 0;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 0.6rem + 4.8vw, 6rem);
  margin: 0;
  width: 100%;
}

.privacy-doc p,
.privacy-doc li,
.privacy-doc h2 {
  text-wrap: wrap;
}

.hero__left {
  flex: 2;
}

.hero__right {
  flex: 1;
}

.hero__right-heading {
  font-size: 1.76rem;
}

.hero__right p {
  font-size: 1.12rem;
  line-height: 1.72;
}

@media (max-width: 1040px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .bio-card {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 24px;
  }

  .bio-card__photo,
  .bio-card__photo--placeholder {
    width: 160px;
    height: 200px;
  }
}

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

  .bio-card__photo {
    width: 100%;
    height: auto;
    max-height: 520px;
  }

  .bio-card__photo--placeholder {
    width: 100%;
    height: 220px;
  }

  .gips-reports-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 881px) {
  .hero .eyebrow {
    font-size: clamp(0.9rem, 0.7rem + 0.35vw, 1.12rem);
    line-height: 1.35;
    margin-bottom: 0;
  }

  .hero-definition {
    font-size: clamp(0.95rem, 0.8rem + 0.35vw, 1.2rem);
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0.4rem;
  }
}

@media (max-width: 600px) {
  .contact-brand__note {
    white-space: normal;
    line-height: 1.5;
  }
}

@media (min-width: 1041px) {
  .hero-slide::after {
    background:
      linear-gradient(
        90deg,
        rgba(6, 12, 14, 0.9) 0%,
        rgba(6, 12, 14, 0.62) 45%,
        rgba(6, 12, 14, 0.32) 100%
      ),
      linear-gradient(
        135deg,
        rgba(13, 43, 52, 0.62) 0%,
        rgba(22, 40, 22, 0.55) 55%,
        rgba(8, 14, 16, 0.72) 100%
      );
  }
}
/* ═══════════════════════════════════════════════════════════════════
   HERO — landing page: oversized wordmark + firm-overview panel
   ═══════════════════════════════════════════════════════════════════ */

.hero {
  height: auto;
  min-height: 680px;
  max-height: none;
}

.hero__content {
  padding-top: 64px;
  padding-bottom: 72px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2.4rem;
  width: 100%;
}

.hero__left {
  flex: 1.22;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.hero__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 1041px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: clamp(2.5rem, 4vw, 5rem);
  }
}

.hero__headline--big {
  margin: 0;
  width: 100%;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-size: clamp(3rem, 0.4rem + 5.9vw, 8.2rem);
}

.hero__subgreen {
  margin: 0.5rem 0 0;
  width: 100%;
  color: var(--green);
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 0.42rem + 1.32vw, 2.15rem);
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: 0;
}

.hero__left .hero-definition {
  margin-top: 1.15rem;
  margin-bottom: 0;
  width: 100%;
  color: rgba(255, 255, 255, 0.6);
}

.hero__left .button-row {
  margin-top: 1.9rem;
}

.hero__right-heading {
  color: var(--white);
  font-size: clamp(1.5rem, 0.95rem + 1.15vw, 2.55rem);
  font-weight: 500;
  line-height: 1.16;
  margin-top: 0.35rem;
}

.hero__right-body {
  margin-top: 1.15rem;
  width: 100%;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 0.9rem + 0.22vw, 1.14rem);
  line-height: 1.74;
}

.hero__right .button-row {
  margin-top: 1.9rem;
}

@media (max-width: 1040px) {
  .hero__right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-left: 0;
    padding-top: 2rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   CAPABILITIES PAGE
   ═══════════════════════════════════════════════════════════════════ */

.capabilities-section {
  background: var(--surface-page);
}

.capabilities-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .capabilities-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1180px) {
  .capabilities-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.capability-item {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-card);
  box-shadow: 0 8px 24px rgba(20, 28, 24, 0.05);
}

.capability-item .card-kicker {
  margin: 0;
}

.capability-item h3 {
  margin-top: 0.7rem;
  color: var(--charcoal);
  font-size: 1.42rem;
  line-height: 1.2;
}

.capability-item > p:not(.card-kicker) {
  margin-top: 0.95rem;
  width: 100%;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.capability-item .card-more {
  margin-top: auto;
  padding-top: 1.5rem;
}

.capability-item--callout {
  border-color: transparent;
  background: var(--panel-dark);
  box-shadow: 0 14px 34px rgba(16, 24, 20, 0.18);
}

.capability-item--callout .card-kicker {
  color: var(--green);
}

.capability-item--callout h3 {
  color: var(--white);
}

.capability-item--callout > p:not(.card-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.capability-item--callout .text-link {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.95rem;
}

/* ── The Patrumin Standard banner ── */

.patrumin-standard-banner {
  padding: 46px 0 50px;
  border-top: 3px solid var(--green);
  border-bottom: 1px solid var(--soft-line);
  background: var(--mist);
}

.patrumin-standard-line {
  width: 100%;
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 0.62rem + 1.05vw, 2rem);
  font-style: italic;
  line-height: 1.42;
}

.patrumin-standard-line strong {
  font-style: normal;
  font-weight: 700;
  color: var(--charcoal);
}

@media (max-width: 620px) {
  .capability-item {
    padding: 24px;
  }

  .patrumin-standard-banner {
    padding: 34px 0 36px;
  }
}

/* ── Hero: specificity overrides so the wordmark + green line fill the column ── */

.hero .hero__headline--big {
  /* Sized so the wordmark fills the left column on one line at every width. */
  font-size: clamp(2.6rem, 6.88vw - 5.2px, 10rem);
  line-height: 1.0;
  white-space: nowrap;
}

.hero .hero__left > p.hero__subgreen {
  margin: 0.75rem 0 0;
  width: 100%;
  color: var(--green);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.92vw, 2.1rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0;
}

.hero .hero__left > p.hero-definition,
.hero .hero__left > .hero-definition {
  margin-top: 1.35rem;
  margin-bottom: 0;
  width: 100%;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.86rem, 0.72rem + 0.3vw, 1.08rem);
  line-height: 1.55;
}

@media (max-width: 1040px) {
  .hero .hero__headline--big {
    font-size: clamp(2.1rem, 13.4vw - 9px, 7.5rem);
  }

  .hero .hero__left > p.hero__subgreen {
    font-size: clamp(1.05rem, 3.1vw, 1.65rem);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER BRAND LOCKUP — mark image + live text, so the wordmark can be
   set larger without growing the header bar.
   Colours are sampled from the original logo artwork.
   ═══════════════════════════════════════════════════════════════════ */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand .brand__mark {
  width: auto;
  height: 50px;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 0.72rem + 1.35vw, 2.3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.brand__name--dark {
  color: #323232;
}

.brand__name--green {
  color: #77c131;
}

@media (max-width: 1319px) {
  .brand .brand__mark {
    height: 46px;
  }
}

@media (max-width: 620px) {
  .brand {
    gap: 0.45rem;
  }

  .brand .brand__mark {
    height: 38px;
  }

  .brand__name {
    font-size: 1.22rem;
  }
}

@media (max-width: 400px) {
  .brand .brand__mark {
    height: 34px;
  }

  .brand__name {
    font-size: 1.05rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO — no oversized wordmark; the two columns share a top edge and
   their buttons sit on a common bottom line.
   ═══════════════════════════════════════════════════════════════════ */

.hero .hero__inner {
  align-items: stretch;
}

.hero .hero__left,
.hero .hero__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}

.hero .hero__left > p.hero__subgreen {
  margin-top: 0;
  /* tuned to hold two full lines (never a three-line orphan) at every desktop width */
  font-size: clamp(1.15rem, 0.22rem + 2.23vw, 2.5rem);
  line-height: 1.22;
}

.hero .hero__left > .hero-definition,
.hero .hero__left > p.hero-definition {
  margin-top: 1.9rem;
}

.hero .hero__left .button-row,
.hero .hero__right .button-row {
  margin-top: auto;
  padding-top: 2.4rem;
  margin-bottom: 0;
}

.hero .hero__right .eyebrow {
  margin-bottom: 0;
}

.hero .hero__right-heading {
  margin-top: 0.55rem;
}

@media (max-width: 1040px) {
  .hero .hero__left .button-row,
  .hero .hero__right .button-row {
    margin-top: 0;
    padding-top: 1.9rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT BAND — breathing room on the left, centred brand on the right
   ═══════════════════════════════════════════════════════════════════ */

.contact .contact__grid > div:first-child {
  justify-content: flex-start;
}

.contact .contact__grid > div:first-child h2 {
  margin-bottom: 0;
}

.contact .contact__grid > div:first-child h2 + p {
  margin-top: 1.5rem;
}

.contact .contact__grid > div:first-child .button {
  margin-top: auto;
  margin-bottom: 0;
}

/* keep the button from crowding short copy */
.contact .contact__grid > div:first-child > p {
  margin-bottom: 2.4rem;
}

.contact .contact-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  justify-self: center;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.contact .contact-brand__mark {
  margin: 0 auto;
}

.contact .contact-brand__note {
  margin: 0.9rem auto 0;
  max-width: 280px;
  text-align: center;
  white-space: normal;
}

/* one-column stack only once the three columns genuinely stop fitting */
@media (max-width: 1040px) {
  .contact .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .contact .contact__grid > div:first-child .button {
    margin-top: 1.6rem;
  }

  .contact .contact__grid > div:first-child > p {
    margin-bottom: 0;
  }

  .contact .contact-brand {
    align-items: flex-start;
    justify-self: start;
    max-width: 420px;
    text-align: left;
  }

  .contact .contact-brand__mark {
    margin: 0;
  }

  .contact .contact-brand__note {
    margin-left: 0;
    text-align: left;
  }
}

/* stacked layout: the left column is full-width, so the green line resizes again */
@media (max-width: 1040px) {
  .hero .hero__left > p.hero__subgreen {
    font-size: clamp(1.05rem, 3.1vw, 1.7rem);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   DARK THEME — targeted fixes for values that are hard-coded upstream
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="dark"] {
  /* keep the deep bands (page hero, footer) distinct from the page */
  --deep: #0c1113;
}

[data-theme="dark"] .principle-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .insight-card,
[data-theme="dark"] .strategy-panel,
[data-theme="dark"] .gips-report-item,
[data-theme="dark"] .capability-item,
[data-theme="dark"] .bio-card,
[data-theme="dark"] .leader-panel {
  box-shadow: var(--card-shadow);
}

[data-theme="dark"] .button--outline:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .site-header {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .gips-modal__check {
  background: rgba(122, 201, 58, 0.16);
  color: var(--green);
}

[data-theme="dark"] .gips-modal__box {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .nav-aux .language-switch {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

[data-theme="dark"] .nav-aux .social-links a {
  border-color: rgba(255, 255, 255, 0.18);
}

/* ── Theme toggle button ── */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--surface-card) 0%, var(--off-white) 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  color: var(--green-dark);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease,
    color 240ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--green-dark);
  box-shadow: 0 3px 14px rgba(93, 165, 34, 0.22);
  transform: translateY(-1px);
}

.theme-toggle:active {
  transform: translateY(0) scale(0.95);
}

.theme-toggle svg {
  display: block;
  width: 19px;
  height: 19px;
}

.theme-toggle .theme-toggle__sun {
  display: none;
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: var(--green);
}

[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .theme-toggle:focus-visible {
  border-color: var(--green);
  box-shadow: 0 3px 14px rgba(122, 201, 58, 0.24);
}

[data-theme="dark"] .theme-toggle .theme-toggle__moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .theme-toggle__sun {
  display: block;
}

@media (max-width: 620px) {
  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .theme-toggle svg {
    width: 17px;
    height: 17px;
  }
}

/* ── Header brand text colour follows the theme ── */

.brand__name--dark {
  color: var(--brand-name);
}

/* ═══════════════════════════════════════════════════════════════════
   LANDING TWEAKS — even logo inset, centred hero etymology line
   ═══════════════════════════════════════════════════════════════════ */

.main-nav {
  padding: 0 18px 0 14px;
}

@media (max-width: 1319px) {
  .main-nav {
    padding: 0 18px 0 16px;
  }
}

@media (max-width: 620px) {
  .main-nav {
    padding: 0 4px 0 6px;
  }
}

/* the etymology note floats in the middle of the left column's open space */
.hero .hero__left > .hero-definition,
.hero .hero__left > p.hero-definition {
  margin-top: auto;
  margin-bottom: auto;
  font-size: clamp(0.9rem, 0.74rem + 0.34vw, 1.15rem);
  line-height: 1.75;
}

.hero .hero__left .button-row {
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 1040px) {
  .hero .hero__left > .hero-definition,
  .hero .hero__left > p.hero-definition {
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .hero .hero__left .button-row {
    padding-top: 1.9rem;
  }
}

/* accent panels stay accents in dark mode instead of reading as lighter cards */
[data-theme="dark"] .capability-item--callout,
[data-theme="dark"] .strategy-callout {
  background: #15211a;
  border: 1px solid rgba(122, 201, 58, 0.26);
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT BAND — stacked (mobile / narrow) layout
   Once the three columns sit top-to-bottom, the social row, the mark
   and its advisory note read badly flush-left, so they centre.
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1040px) {
  .contact .contact-actions {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .contact .contact-social {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    padding-top: 30px;
  }

  .contact .contact-brand {
    align-items: center;
    justify-self: center;
    max-width: none;
    text-align: center;
    padding-top: 8px;
  }

  .contact .contact-brand__mark {
    margin-left: auto;
    margin-right: auto;
  }

  .contact .contact-brand__note {
    margin-left: auto;
    margin-right: auto;
    max-width: 30rem;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .contact .contact-social {
    max-width: 17rem;
  }
}
