/* ---------------------------------------------------------------------------
   Gabriel Moro — personal site
   Sage paper, forest ink, and a botanical green accent. Self-hosted fonts.
   --------------------------------------------------------------------------- */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
}

:root {
  --paper: #f2f7ee;
  --paper-lift: #f7fbf2;
  --paper-deep: #e6efe0;
  --surface: #fbfdf8;
  --ink: #14261b;
  --ink-soft: #2f4436;
  --muted: #4b6152;
  --faint: #566c5e;
  --line: #d4e0cd;
  --line-strong: #b9cdb0;
  --accent: #2f6b4f;
  --accent-strong: #245840;
  --accent-ink: #f2f8f1;
  --accent-soft: #dfeada;
  --accent-bright: #3f8f66;
  --accent-line: rgba(47, 107, 79, 0.3);
  --forest: #14301f;
  --on-forest: #edf5ec;
  --on-forest-muted: rgba(237, 245, 236, 0.7);
  --on-forest-faint: rgba(237, 245, 236, 0.58);
  --on-forest-line: rgba(237, 245, 236, 0.16);
  --header-bg: rgba(242, 247, 238, 0.88);
  --glass: rgba(251, 253, 248, 0.72);
  --hero-glow: rgba(47, 107, 79, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --gutter: 28px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 18px 50px rgba(20, 38, 27, 0.08);
  --shadow-card: 0 16px 40px rgba(20, 38, 27, 0.07);
}

/* Reset ------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-optical-sizing: auto;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Layout ------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  min-height: 76px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-role {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav-link {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.site-nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-switch:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

/* Buttons and links ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn--small {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--primary:hover {
  background: var(--accent-strong);
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--glass);
  color: var(--accent-strong);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn-icon {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s ease;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

.text-link-icon {
  font-size: 11px;
  line-height: 1;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
  background: linear-gradient(180deg, var(--paper-lift) 0%, var(--paper) 100%);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--hero-glow), transparent 64%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
}

.kicker {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.availability {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 9px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
}

.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(63, 143, 102, 0.16);
}

.availability-divider {
  color: var(--faint);
}

.availability-note {
  color: var(--muted);
}

.hero h1 {
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.6vw, 4.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

/* Portuguese headlines run longer; give them a wider measure and slightly
   smaller type so both locales keep a balanced hero. */
html[lang="pt-BR"] .hero h1 {
  max-width: 20ch;
  font-size: clamp(2.55rem, 5vw, 3.75rem);
}

.hero-lede {
  max-width: 54ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.hero-note {
  margin-top: 14px;
  color: var(--faint);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 60px);
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat dt {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat dd {
  max-width: 20ch;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.portrait {
  width: min(340px, 72vw);
  aspect-ratio: 1;
  overflow: hidden;
  border: 8px solid var(--surface);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
}

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

.portrait-caption {
  text-align: center;
}

.portrait-role {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.portrait-education {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

/* Sections ---------------------------------------------------------------- */

.section {
  padding: 108px 0;
}

.section--tight {
  padding: 88px 0;
}

.section--tint {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.55;
}

h2 {
  max-width: 21ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-lede {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.section-foot {
  margin-top: 36px;
}

.body-large {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

/* About ------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.about-grid .section-head {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

.about-body p + p {
  margin-top: 22px;
}

.currently {
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface);
}

.currently-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.currently-role {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.currently-company {
  color: var(--accent);
}

.currently-period {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
}

/* Mentoring --------------------------------------------------------------- */

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.panel > h3 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.bullet-list {
  display: grid;
  gap: 14px;
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

.bullet-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  opacity: 0.6;
}

.focus-list {
  display: grid;
  gap: 18px;
}

.panel-note {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.panel-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.panel-note a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel-note-icon {
  margin-left: 3px;
  font-size: 11px;
}

.focus-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.focus-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.focus-item dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.focus-item dd {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.steps-block {
  margin-top: 64px;
}

.steps-block > h3,
.get-block > h3 {
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

.step {
  display: flex;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.step-index {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.step-body h4 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.step-body p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.steps-note {
  margin-top: 20px;
  color: var(--faint);
  font-size: 12.5px;
}

.get-block {
  margin-top: 56px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

.check {
  color: var(--accent);
  font-weight: 700;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 64px;
  padding: 40px clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--forest);
}

.cta-title {
  color: var(--on-forest);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.cta-text {
  max-width: 46ch;
  margin-top: 10px;
  color: var(--on-forest-muted);
  font-size: 14.5px;
}

.cta-band .btn--primary {
  flex-shrink: 0;
  background: var(--on-forest);
  color: var(--forest);
}

.cta-band .btn--primary:hover {
  background: #ffffff;
  color: var(--accent-strong);
}

/* Experience -------------------------------------------------------------- */

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

.role {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.role-period {
  padding-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.role-company {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.role h3 {
  margin-bottom: 16px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.role .bullet-list {
  gap: 9px;
}

.role .bullet-list li {
  color: var(--muted);
  font-size: 14px;
}

/* Toolkit ----------------------------------------------------------------- */

.toolkit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.toolkit-group {
  padding: 26px 28px 26px 0;
  border-bottom: 1px solid var(--line);
}

.toolkit-group:not(:nth-child(3n + 1)) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.toolkit-group dt {
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toolkit-group dd {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* Work -------------------------------------------------------------------- */

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

.work-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.work-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.work-description {
  flex-grow: 1;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.work-card .text-link {
  align-self: flex-start;
}

/* Community --------------------------------------------------------------- */

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

.community-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.community-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.community-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  padding: 88px 0 32px;
  background: var(--forest);
  color: var(--on-forest-muted);
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--on-forest-line);
}

.footer-meta {
  margin-bottom: 0;
}

.footer-copy h2 {
  max-width: 17ch;
  margin-top: 18px;
  color: var(--on-forest);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.footer-text {
  max-width: 50ch;
  margin-top: 20px;
  color: var(--on-forest-muted);
  font-size: 15px;
  line-height: 1.7;
}

.footer-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-email {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--on-forest-line);
  color: var(--on-forest-muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-email:hover {
  border-color: var(--on-forest);
  color: var(--on-forest);
}

.availability--footer {
  border-color: var(--on-forest-line);
  background: rgba(237, 245, 236, 0.07);
  color: var(--on-forest);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--on-forest-faint);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--on-forest-muted);
  font-size: 12.5px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--on-forest);
}

.lang-switch--footer {
  border-color: var(--on-forest-line);
  color: var(--on-forest-muted);
}

.lang-switch--footer:hover {
  border-color: var(--on-forest);
  color: var(--on-forest);
}

.site-footer :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--on-forest);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 48px;
  }

  .portrait {
    width: min(300px, 40vw);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-grid .section-head {
    position: static;
  }

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

  .toolkit-group:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .toolkit-group:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 148px;
  }

  .header-inner {
    gap: 4px 20px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .brand-role {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    gap: 22px;
  }

  .hero {
    padding-top: 56px;
  }

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

  .hero-media {
    align-items: flex-start;
  }

  .portrait {
    width: min(320px, 62vw);
  }

  .portrait-caption {
    text-align: left;
  }

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

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

  .step {
    padding-top: 18px;
  }

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

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .role-period {
    padding-top: 0;
  }

  .community-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 78px 0;
  }

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

  .section-head {
    margin-bottom: 38px;
  }

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

  .focus-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .toolkit-group,
  .toolkit-group:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .footer-legal {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 20px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11.5vw, 3.4rem);
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .stat dt {
    font-size: 31px;
  }

  .stat dd {
    font-size: 11px;
    letter-spacing: 0.01em;
  }

  .portrait {
    width: min(260px, 70vw);
  }

  .cta-band {
    padding: 32px 24px;
  }

  .cta-band .btn {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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