:root {
  --bg: #f2ede4;
  --bg-deep: #e5dac6;
  --surface: rgba(255, 251, 245, 0.82);
  --surface-strong: rgba(255, 252, 248, 0.96);
  --surface-dark: #342417;
  --text: #211910;
  --text-soft: #5f5346;
  --text-faint: #87796a;
  --line: rgba(77, 56, 32, 0.12);
  --accent: #a35b2d;
  --accent-strong: #7f421d;
  --accent-soft: #f3d9bf;
  --accent-ghost: rgba(163, 91, 45, 0.1);
  --success: #3f7753;
  --shadow-soft: 0 18px 40px rgba(60, 37, 14, 0.08);
  --shadow-strong: 0 30px 80px rgba(55, 34, 15, 0.16);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --header-height: 88px;
  --anchor-offset: calc(var(--header-height) - 26px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at 0% 0%, rgba(163, 91, 45, 0.2), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(82, 121, 95, 0.16), transparent 20%),
    linear-gradient(180deg, #f7f3ec 0%, #f2ede4 36%, #e9decb 100%);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 3000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  backdrop-filter: blur(20px);
  background: rgba(247, 243, 236, 0.72);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 243, 236, 0.9);
  border-color: rgba(77, 56, 32, 0.08);
  box-shadow: 0 10px 24px rgba(42, 24, 9, 0.06);
}

.nav-bar {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

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

.brand-label {
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle-line + .menu-toggle-line {
  margin-top: 4px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-panel {
  display: contents;
}

.nav-links,
.nav-actions,
.language-switch,
.hero-actions,
.hero-metrics,
.proof-list,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-links {
  justify-content: center;
}

.nav-actions {
  justify-content: flex-end;
  align-items: center;
}

.nav-link,
.language-link {
  position: relative;
  text-decoration: none;
  color: var(--text-soft);
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.language-link:hover,
.language-link:focus-visible {
  color: var(--accent-strong);
  background: rgba(163, 91, 45, 0.08);
  transform: translateY(-1px);
}

.nav-link.is-active {
  color: var(--accent-strong);
  background: rgba(163, 91, 45, 0.1);
}

.language-switch {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.language-link.is-active {
  color: #fff;
  background: var(--accent-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 14px 34px rgba(127, 66, 29, 0.24);
}

.button-secondary {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(127, 66, 29, 0.12);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero {
  padding: 42px 0 28px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 28px;
  align-items: stretch;
  padding: 38px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 251, 246, 0.94), rgba(246, 233, 216, 0.9)),
    #fff;
  border: 1px solid rgba(77, 56, 32, 0.08);
  box-shadow: var(--shadow-strong);
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-panel::before {
  width: 260px;
  height: 260px;
  right: -90px;
  top: -70px;
  background: radial-gradient(circle, rgba(163, 91, 45, 0.16), transparent 68%);
}

.hero-panel::after {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(63, 119, 83, 0.14), transparent 68%);
}

.hero-copy,
.hero-side {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-ghost);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.lead,
.section-heading p,
.card p,
.hero-card p,
.bio-card p,
.contact-card p {
  color: var(--text-soft);
}

.lead {
  max-width: 690px;
  margin-top: 18px;
  font-size: 1.13rem;
}

.hero-actions {
  margin-top: 28px;
}

.hero-copy .bio-card {
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
  padding-top: 30px;
}

.metric {
  min-width: 0;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(127, 66, 29, 0.08);
  box-shadow: 0 12px 30px rgba(68, 42, 16, 0.05);
}

.metric strong {
  display: block;
  font-size: 1.28rem;
  color: var(--accent-strong);
  white-space: nowrap;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.hero-card,
.bio-card {
  padding: 24px;
  border-radius: calc(var(--radius-xl) - 6px);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(57, 38, 23, 0.98), rgba(110, 63, 30, 0.94));
}

.hero-card p {
  max-width: 32rem;
}

.portrait {
  width: min(220px, 100%);
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 26px;
  border: 3px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.hero-card p,
.hero-card li,
.hero-card .proof-label {
  color: rgba(255, 255, 255, 0.84);
}

.proof-list {
  list-style: none;
  padding: 0;
  margin: 18px auto 0;
  justify-content: center;
  width: 100%;
}

.proof-pill {
  flex: 1 1 170px;
  min-width: 170px;
  max-width: 220px;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.proof-pill strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  color: #fff;
}

.proof-label {
  font-size: 0.92rem;
  line-height: 1.4;
}

.bio-card {
  background: rgba(255, 251, 245, 0.74);
  border: 1px solid rgba(77, 56, 32, 0.08);
}

.bio-card-title {
  margin-bottom: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.section {
  padding: 42px 0;
  scroll-margin-top: var(--anchor-offset);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p {
  margin: 14px 0 0;
}

.services-title {
  white-space: nowrap;
}

.services-title span {
  white-space: nowrap;
}

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

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

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

.card {
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(77, 56, 32, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(60, 37, 14, 0.1);
  border-color: rgba(127, 66, 29, 0.14);
}

.card p {
  margin: 14px 0 0;
}

.media-frame,
.video-card {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 18px;
}

.media-frame {
  border: 1px solid rgba(77, 56, 32, 0.08);
  background: #eadcca;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-frame--banner {
  display: grid;
  place-items: center;
  padding: 0;
  background: linear-gradient(180deg, #f4e8d8 0%, #efe1cf 100%);
}

.media-frame--banner img {
  display: block;
  object-fit: contain;
}

.highlight {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(163, 91, 45, 0.1);
  color: var(--accent-strong);
  font-weight: 700;
}

#achievements .card {
  display: flex;
  flex-direction: column;
}

#achievements .checklist {
  flex: 1 1 auto;
}

#achievements .media-frame,
#achievements .video-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

#achievements .media-frame img {
  height: 100%;
  aspect-ratio: auto;
}

#achievements .highlight {
  width: 100%;
  min-height: 76px;
  align-items: center;
}

#achievements .highlight + p {
  min-height: 104px;
}

.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 320px;
  padding: 22px;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(21, 14, 8, 0.06), rgba(21, 14, 8, 0.76)),
    url("https://i.ytimg.com/vi/UAp2oOQPdSQ/maxresdefault.jpg") center / cover no-repeat,
    #4f3320;
  color: #fff;
  box-shadow: inset 0 -80px 120px rgba(0, 0, 0, 0.32);
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.12), transparent 28%);
  pointer-events: none;
}

.video-card > * {
  position: relative;
  z-index: 1;
}

.video-card-head {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.video-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(25, 18, 11, 0.38);
  color: #fff;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.video-expand:hover,
.video-expand:focus-visible {
  transform: translateY(-2px);
  background: rgba(25, 18, 11, 0.58);
}

.video-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-title {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(22, 15, 10, 0.54);
  backdrop-filter: blur(8px);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.video-text {
  max-width: 28rem;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(22, 15, 10, 0.62);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.84);
}

.video-actions {
  margin-top: 18px;
  align-self: flex-start;
}

.service-card {
  min-height: 100%;
}

.service-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--accent-strong);
  background: rgba(163, 91, 45, 0.09);
  font-weight: 700;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
}

.checklist li + li {
  margin-top: 12px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--success) 100%);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(46, 31, 18, 0.98), rgba(119, 69, 33, 0.9)),
    #4f3019;
  box-shadow: var(--shadow-strong);
}

.contact-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.contact-links {
  margin-top: 20px;
}

.contact-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
}

.contact-links a.contact-link--linkedin {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.button.is-loading {
  pointer-events: none;
}

.button.is-loading .button-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

.site-footer {
  padding: 28px 0 38px;
  color: var(--text-faint);
  font-size: 0.95rem;
}

.card-page {
  min-height: 100vh;
}

.card-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 16px;
}

.contact-profile {
  width: min(100%, 420px);
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid rgba(77, 56, 32, 0.08);
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.contact-profile-logo {
  width: min(166px, 58vw);
  height: auto;
}

.contact-profile-photo {
  width: 138px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 999px;
  border: 3px solid rgba(163, 91, 45, 0.16);
  box-shadow: 0 18px 38px rgba(60, 37, 14, 0.14);
}

.contact-profile-copy h1 {
  margin-top: 0;
  font-size: clamp(1.9rem, 7vw, 2.55rem);
}

.contact-profile-copy p {
  margin: 5px 0 0;
  color: var(--text-soft);
  line-height: 1.45;
}

.contact-profile-links {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  padding: 24px;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 8, 0.72);
  backdrop-filter: blur(10px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 18px;
  border-radius: 28px;
  background: rgba(21, 15, 10, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: #fff;
}

.video-modal-title {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.video-modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.video-modal-frame {
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.video-modal-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}

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

.float-in {
  animation: float-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.float-in-delay {
  animation-delay: 0.12s;
}

.float-in-delay-2 {
  animation-delay: 0.24s;
}

.pulse {
  animation: soft-pulse 3.2s ease-in-out infinite;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 14px 34px rgba(127, 66, 29, 0.24);
  }
  50% {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 42px rgba(127, 66, 29, 0.28);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .nav-bar,
  .hero-panel,
  .about-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

  .nav-bar {
    padding: 18px 0;
  }

  .nav-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .card-page .nav-bar {
    grid-template-columns: 1fr;
  }

  .card-page .brand {
    justify-content: center;
  }

  .card-page .menu-toggle,
  .card-page .nav-panel {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
    background: rgba(255, 252, 248, 0.92);
    box-shadow: 0 10px 24px rgba(42, 24, 9, 0.08);
  }

  .nav-bar {
    grid-template-columns: 1fr auto;
  }

  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 22px;
    max-height: calc(100dvh - var(--header-height));
    padding: 22px 16px max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 0 0 28px 28px;
    background: rgba(255, 250, 244, 0.99);
    border-top: 1px solid rgba(77, 56, 32, 0.08);
    border-bottom: 1px solid rgba(77, 56, 32, 0.08);
    box-shadow: 0 28px 70px rgba(55, 34, 15, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-actions {
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(77, 56, 32, 0.1);
  }

  .nav-link,
  .button {
    min-height: 54px;
    justify-content: center;
  }

  .nav-link {
    padding: 15px 16px;
    border: 1px solid rgba(77, 56, 32, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
    font-size: 1.05rem;
    font-weight: 700;
  }

  .language-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
  }

  .language-link {
    min-height: 46px;
    justify-content: center;
    text-align: center;
    border-radius: 14px;
    font-weight: 700;
  }

  .button {
    justify-content: center;
  }

  .hero-panel,
  .card,
  .hero-card,
  .bio-card,
  .contact-card,
  .contact-profile {
    padding: 22px;
  }

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

  #achievements .highlight,
  #achievements .highlight + p {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --anchor-offset: calc(var(--header-height) - 28px);
  }

  .site-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    position: sticky;
  }

  .hero {
    padding-top: 24px;
  }

  .section {
    scroll-margin-top: var(--anchor-offset);
  }

  .services-title span {
    display: block;
  }

  .services-title {
    white-space: normal;
  }

  .card-main {
    align-items: start;
    padding: 18px 12px 32px;
  }

  .contact-profile {
    width: min(100%, 390px);
    gap: 15px;
  }

  .contact-profile-logo {
    width: min(184px, 64vw);
  }

  .contact-profile-photo {
    width: min(152px, 42vw);
  }

  .hero-actions,
  .proof-list,
  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .proof-pill {
    max-width: none;
    width: 100%;
  }

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

  .metric {
    flex-basis: auto;
  }

  .video-card {
    min-height: 260px;
    padding: 18px;
  }

  .video-modal {
    padding: 12px;
  }

  .video-modal-dialog {
    padding: 14px;
    border-radius: 22px;
  }
}
