@font-face {
  font-family: "Weblysleek";
  src: url("../fonts/Weblysleek.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Weblysleek";
  src: url("../fonts/Weblysleek-Bold.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Sans";
  src: url("../fonts/DejaVuSans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Sans";
  src: url("../fonts/DejaVuSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #141d2e;
  --teal: #2f776d;
  --teal-hover: #245f57;
  --teal-light: #dcebe7;
  --bright: #7fc9be;
  --gold: #d6ae69;
  --gold-dark: #a67c37;
  --paper: #faf8f3;
  --muted: #f1ece2;
  --ink: #141d2e;
  --soft: #5d6876;
  --line: #ddd7cc;
  --display: "Weblysleek", "DejaVu Sans", system-ui, sans-serif;
  --body: "DejaVu Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: pretty;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

a,
button {
  transition:
    color 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 42%, transparent);
  outline-offset: 3px;
}

::selection {
  background: var(--teal-light);
  color: var(--navy);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  transform: translateY(-80px);
}

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

.container {
  width: min(100%, 1100px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.narrow {
  width: min(100%, 820px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section-space {
  padding-block: clamp(4rem, 9vw, 6.5rem);
}

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

.muted {
  background: var(--muted);
}

.navy {
  background: var(--navy);
  color: #eef0f2;
}

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

.eyebrow {
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  max-width: 42rem;
  font-size: clamp(1.7rem, 2.7vw, 2.3rem);
}

.section-copy {
  max-width: 42rem;
  margin-top: 0.9rem;
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.prose-lead {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 9px;
  padding-inline: 1.6rem;
  font-size: 14px;
  font-weight: 700;
}

.button--teal {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.button--teal:hover {
  border-color: var(--teal-hover);
  background: var(--teal-hover);
}

.button--gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.button--gold:hover {
  border-color: #fff;
  background: #fff;
}

.button--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--outline:hover {
  border-color: var(--teal);
  background: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 68px;
  align-items: center;
  gap: 1.5rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.7rem);
  margin-left: auto;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.7rem);
}

.desktop-nav .nav-link {
  display: block;
  border-bottom: 2px solid transparent;
  padding-block: 0.4rem;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.is-active {
  color: var(--ink);
}

.desktop-nav .nav-link.is-active {
  border-color: var(--teal);
}

.header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 8px;
  background: var(--teal);
  padding-inline: 1rem;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--teal-hover);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  padding-block: 0.5rem 1rem;
}

.mobile-nav a:not(.header-cta) {
  display: block;
  border-bottom: 1px solid var(--line);
  padding-block: 0.85rem;
  font-size: 15px;
  font-weight: 700;
}

.mobile-nav .header-cta {
  margin-top: 1rem;
}

/* Home hero */
.home-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.home-hero h1 {
  max-width: 15ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
}

.hero-text {
  max-width: 33rem;
  margin-bottom: 2rem;
  color: var(--soft);
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.project-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: 2.4rem;
}

.project-logos > span {
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-logos img {
  width: auto;
  max-width: 82px;
  height: 20px;
  object-fit: contain;
  opacity: 0.72;
}

.portrait {
  position: relative;
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 4 / 5;
  margin-inline: auto;
}

.portrait > img {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 24px 60px rgba(20, 29, 46, 0.14);
}

.portrait-badge {
  position: absolute;
  bottom: 26px;
  left: -14px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 29, 46, 0.16);
}

.portrait-badge__initials {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--teal-light);
  color: var(--teal);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
}

.portrait-badge strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}

.portrait-badge small {
  display: block;
  color: var(--soft);
  font-size: 11px;
}

.statement {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
}

.statement .eyebrow {
  margin-bottom: 1.4rem;
}

.statement .prose-lead {
  margin: 0;
}

.statement-copy {
  max-width: 52ch;
  margin-top: 1.6rem;
  color: var(--soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

/* Comparison */
.comparison-heading {
  max-width: 42rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}

.view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.view-tab {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.view-tab:hover,
.view-tab.is-active {
  border-color: var(--teal);
}

.view-tab.is-active {
  background: var(--teal);
  color: #fff;
}

.mode-tabs {
  display: inline-flex;
  gap: 0.3rem;
  margin-bottom: 1.6rem;
  padding: 0.32rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--muted);
}

.mode-tab {
  min-width: 88px;
  padding: 0.55rem 1.2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.mode-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(20, 29, 46, 0.12);
}

.comparison-stage {
  max-width: 520px;
}

.comparison-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.comparison-card.is-after {
  border-color: color-mix(in srgb, var(--teal) 26%, var(--line));
  box-shadow: 0 18px 44px rgba(20, 29, 46, 0.1);
}

.comparison-visual {
  display: flex;
  aspect-ratio: 16 / 10;
  align-items: center;
  justify-content: center;
  color: #b3aa98;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-visual.is-before,
.comparison-kicker.is-before {
  background: repeating-linear-gradient(135deg, #f4f1ea, #f4f1ea 12px, #efeae0 12px, #efeae0 24px);
}

.comparison-visual.is-after,
.comparison-kicker.is-after {
  background: var(--teal-light);
  color: var(--teal);
}

.comparison-body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.comparison-title {
  margin-bottom: 1rem;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.comparison-rows {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
}

.comparison-card.is-before .comparison-row {
  border-bottom-style: dashed;
}

.comparison-row span:last-child {
  color: var(--ink);
  text-align: right;
}

.comparison-card.is-after .comparison-row span:last-child {
  font-weight: 700;
}

.status-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.status-tag {
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.status-tag--good {
  background: var(--teal-light);
  color: var(--teal);
}

.status-tag--bad {
  background: #fbeaea;
  color: #b4443f;
}

.status-tag--gold {
  background: #f3eadb;
  color: var(--gold-dark);
}

.comparison-kicker {
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: #9f9686;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tree-list,
.filter-content {
  padding: 1.4rem;
  font-size: 13.5px;
}

.tree-list ul {
  display: grid;
  gap: 0.55rem;
}

.tree-note {
  color: #b4443f;
  font-size: 11px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 12.5px;
}

.filter-group + .filter-group {
  margin-top: 1rem;
}

.filter-group p {
  margin-bottom: 0.5rem;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-option {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--muted);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}

.filter-option.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

/* Home areas and experience */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 5vw, 4rem);
}

.area-item {
  display: flex;
  gap: 1.1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}

.area-item:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.area-number {
  padding-top: 0.2rem;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.area-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.area-item p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.6;
}

.experience-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.text-link {
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

.metrics-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  padding: 1rem 0 1.6rem;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.work-row {
  display: grid;
  grid-template-columns: 130px 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0.4rem;
  border-top: 1px solid var(--line);
}

.work-row:last-child {
  border-bottom: 1px solid var(--line);
}

.work-row:hover {
  background: var(--muted);
}

.work-row img {
  width: auto;
  max-width: 110px;
  max-height: 26px;
  object-fit: contain;
}

.work-row strong {
  display: block;
  font-size: 14px;
}

.work-row small,
.work-scale {
  color: var(--soft);
  font-size: 13px;
}

.work-scale {
  font-weight: 700;
  white-space: nowrap;
}

.arrow {
  color: var(--teal);
  font-size: 16px;
}

.specs-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.specs-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 29, 46, 0.08);
}

.language-tabs {
  display: flex;
  gap: 0.3rem;
  padding: 0.7rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.language-tab {
  flex: 1;
  padding: 0.5rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-tab.is-active {
  background: var(--teal);
  color: #fff;
}

.specs-body {
  padding: 0.4rem 1.3rem 1rem;
}

.specs-head,
.specs-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.specs-head {
  padding: 0.85rem 0;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.specs-row {
  padding: 0.7rem 0;
  font-size: 13.5px;
}

.specs-row span:first-child {
  color: var(--soft);
}

.specs-row span:last-child {
  font-weight: 700;
  text-align: right;
}

.position-block {
  width: min(100%, 820px);
  margin-inline: auto;
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.position-block .eyebrow {
  margin-bottom: 1.6rem;
  color: var(--bright);
}

.position-block h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
}

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

.light-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--muted);
}

.light-cta h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.light-cta p {
  max-width: 38rem;
  color: var(--soft);
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 2rem;
  padding-block: 2.5rem;
}

.footer-owner strong {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
}

.footer-owner small {
  display: block;
  color: var(--soft);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-left: auto;
}

.footer-nav a {
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

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

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 1.25rem;
  color: var(--soft);
  font-size: 13px;
}

/* Interior pages */
.page-hero {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.page-hero .eyebrow {
  margin-bottom: 1.4rem;
}

.page-hero h1 {
  max-width: 20ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
}

.page-hero > p:last-child {
  max-width: 52ch;
  color: var(--soft);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.7;
}

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

.reason-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.3rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}

.reason-row > span {
  padding-top: 0.25rem;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.reason-row:last-child > span {
  color: var(--gold-dark);
}

.reason-row h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.reason-row p {
  max-width: 60ch;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.65;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem 2.5rem;
}

.skill-group h3,
.problem-group h3 {
  margin-bottom: 0.7rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--teal-light);
  font-size: 1.05rem;
}

.skill-group ul {
  display: grid;
  gap: 0.5rem;
}

.skill-group li {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.8rem, 3.5vw, 2.4rem);
  border-top: 1px solid var(--line);
}

.tool-list > span:first-child {
  align-self: center;
  margin-right: 0.4rem;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tool {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.case-list {
  display: grid;
  gap: 1.5rem;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 29, 46, 0.06);
}

.case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 1.4rem clamp(1.5rem, 3.5vw, 2.2rem);
  border-bottom: 1px solid var(--line);
  background: var(--muted);
}

.case-head img {
  width: auto;
  max-width: 120px;
  max-height: 30px;
  object-fit: contain;
}

.case-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.case-badges span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
}

.case-body {
  padding: clamp(1.5rem, 3.5vw, 2.2rem);
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.case-metrics strong {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
}

.case-metrics span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.case-columns dt {
  margin-bottom: 0.5rem;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-columns dd {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.6;
}

.case-columns > div:last-child dd {
  color: var(--ink);
  font-weight: 700;
}

.two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.automation-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 29, 46, 0.06);
}

.automation-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem clamp(1.5rem, 3vw, 1.9rem) 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--muted);
}

.automation-number {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
}

.automation-head p {
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.automation-head h3 {
  margin-top: 0.2rem;
  font-size: 1.18rem;
}

.automation-body {
  padding: clamp(1.4rem, 3vw, 1.8rem);
}

.automation-body > p,
.automation-body li {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.65;
}

.automation-body ul {
  display: grid;
  gap: 0.6rem;
}

.dark-cta {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 6rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.dark-cta h2 {
  margin-bottom: 1.2rem;
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.2;
}

.dark-cta p {
  max-width: 48ch;
  margin: 0 auto 2rem;
  color: rgba(238, 240, 242, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Method */
.method-steps-wrap {
  width: min(100%, 860px);
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 8vw, 6rem);
}

.method-step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.method-step > span {
  color: var(--teal);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.method-step:last-child > span {
  color: var(--gold-dark);
}

.method-step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.method-step p {
  max-width: 56ch;
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
}

.problem-group h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.dash-list {
  display: grid;
  gap: 0.7rem;
}

.dash-list li {
  display: flex;
  gap: 0.6rem;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.55;
}

.dash-list li::before {
  color: var(--teal);
  font-weight: 700;
  content: "—";
}

.faq-wrap {
  width: min(100%, 860px);
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.faq-list {
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.3rem;
  font-size: 1.02rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 400;
  content: "+";
  transition: transform 0.16s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 60ch;
  padding: 0 3rem 1.5rem 0;
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Mentoring */
.mentor-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.mentor-hero h1 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
}

.mentor-badge {
  position: absolute;
  bottom: 28px;
  left: -14px;
  max-width: 80%;
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 29, 46, 0.16);
}

.mentor-badge strong {
  display: block;
  font-size: 13px;
}

.mentor-badge small {
  display: block;
  margin-top: 0.15rem;
  color: var(--soft);
  font-size: 12px;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 2.5rem;
}

.audience-item {
  padding-top: 1.4rem;
  border-top: 2px solid var(--teal-light);
}

.audience-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.audience-item p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.6;
}

.program-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.program-card > span {
  color: var(--teal);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
}

.program-card h3 {
  margin: 0.4rem 0 0.7rem;
  font-size: 1.2rem;
}

.program-card p,
.format-card p {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.65;
}

.format-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.format-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.format-card p {
  margin-bottom: 1.2rem;
}

.format-card a {
  margin-top: auto;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.contact-card {
  display: block;
  padding: clamp(1.5rem, 3vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--teal) 34%, var(--line));
  box-shadow: 0 16px 40px rgba(20, 29, 46, 0.1);
}

.contact-card small {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--soft);
  font-size: 14px;
}

.form-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(4rem, 9vw, 6.5rem);
}

.form-intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.form-intro > p {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: 0.7rem;
}

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

.check-list li::before {
  color: var(--teal);
  font-weight: 700;
  content: "✓";
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 29, 46, 0.06);
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
}

.field {
  width: 100%;
  padding: 0.82rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.field:focus {
  border-color: var(--teal);
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.form-note,
.form-status {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.5;
}

.form-status {
  display: none;
  padding: 0.8rem;
  border-radius: 8px;
  background: var(--teal-light);
  color: var(--teal);
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(20, 29, 46, 0.25);
}

.back-to-top.is-visible {
  display: flex;
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .home-hero,
  .mentor-hero,
  .specs-section {
    grid-template-columns: 1fr;
  }

  .skills-grid,
  .three-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .work-scale {
    display: none;
  }
}

@media (max-width: 680px) {
  .areas-grid,
  .skills-grid,
  .two-grid,
  .problem-grid,
  .three-grid,
  .contact-grid,
  .form-section {
    grid-template-columns: 1fr;
  }

  .area-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .work-row {
    grid-template-columns: 44px 1fr auto;
    gap: 0.8rem;
  }

  .work-row img {
    max-width: 42px;
  }

  .case-head {
    align-items: flex-start;
  }

  .case-badges {
    width: 100%;
    margin-left: 0;
  }

  .method-step {
    grid-template-columns: 3.2rem 1fr;
    gap: 1rem;
  }

  .footer-nav {
    width: 100%;
    margin-left: 0;
  }

  .footer-bottom .container {
    flex-direction: column;
  }

  .portrait-badge,
  .mentor-badge {
    left: -6px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
