:root {
  --navy-950: #061322;
  --navy-900: #0b1c31;
  --navy-800: #102a46;
  --navy-700: #173d62;
  --beige-50: #fbf7ef;
  --beige-100: #f4eadc;
  --beige-200: #e6d5bd;
  --ink: #111820;
  --muted: #67717d;
  --line: rgba(11, 28, 49, 0.14);
  --teal: #10a6a6;
  --coral: #ee765f;
  --gold: #d8a636;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 19, 34, 0.18);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--beige-50);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy-900);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--beige-50);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(251, 247, 239, 0.94);
  color: var(--navy-900);
  box-shadow: 0 10px 34px rgba(6, 19, 34, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  font-size: 0.98rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: var(--radius);
  padding: 10px 13px;
  color: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  opacity: 0.86;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(216, 166, 54, 0.18);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(760px, 84vh);
  overflow: hidden;
  background: var(--navy-950);
  color: var(--beige-50);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 19, 34, 0.88) 0%, rgba(6, 19, 34, 0.7) 42%, rgba(6, 19, 34, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 19, 34, 0.68) 0%, rgba(6, 19, 34, 0.06) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  padding: clamp(112px, 17vh, 190px) 0 110px clamp(18px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--navy-700);
}

.eyebrow.light {
  color: var(--beige-200);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 780px;
  color: var(--beige-50);
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--navy-900);
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 620px;
  color: rgba(251, 247, 239, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.36rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 850;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: var(--navy-950);
}

.button.secondary {
  border-color: rgba(251, 247, 239, 0.46);
  color: var(--beige-50);
}

.button.primary.beige {
  background: var(--beige-50);
  color: var(--navy-900);
}

.button.secondary.navy {
  border-color: rgba(251, 247, 239, 0.34);
  color: var(--beige-50);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 28px;
  z-index: 2;
  width: min(360px, calc(100% - 36px));
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 18px;
  color: var(--beige-50);
}

.hero-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--beige-200);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-note strong {
  font-size: 1rem;
  line-height: 1.45;
}

.profile-widget-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--beige-50);
  padding: 32px clamp(18px, 5vw, 72px);
}

.profile-widget-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
}

.profile-widget-copy p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.profile-card {
  display: grid;
  gap: 12px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.profile-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 166, 54, 0.68);
  box-shadow: var(--shadow);
}

.profile-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--beige-50);
  font-weight: 950;
}

.profile-card strong {
  color: var(--navy-900);
  font-size: 1rem;
}

.profile-card span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.profile-card .profile-icon {
  color: var(--beige-50);
  font-size: 0.88rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--beige-100);
}

.signal-strip div {
  min-height: 118px;
  border-right: 1px solid var(--line);
  padding: 24px clamp(18px, 3vw, 36px);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-900);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.92;
}

.signal-strip span {
  color: var(--muted);
  font-weight: 750;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.section-copy {
  max-width: 680px;
}

.section-copy.narrow {
  max-width: 820px;
}

.section-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.now-board {
  display: grid;
  gap: 14px;
}

.now-board article,
.project-card,
.video-card,
.book-card,
.challenge-card,
.lesson-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 40px rgba(6, 19, 34, 0.06);
}

.now-board article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
}

.now-board span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--beige-50);
  font-weight: 900;
}

.now-board h3 {
  margin-bottom: 8px;
}

.now-board p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.learning-section {
  background: var(--beige-100);
}

.learning-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
}

.learning-intro {
  position: sticky;
  top: 92px;
  border-left: 4px solid var(--gold);
  padding-left: 24px;
}

.learning-intro p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.tool-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tool-stack span {
  border: 1px solid rgba(11, 28, 49, 0.16);
  border-radius: var(--radius);
  background: var(--beige-50);
  color: var(--navy-900);
  padding: 9px 11px;
  font-size: 0.84rem;
  font-weight: 900;
}

.learning-roadmap {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.learning-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 40px rgba(6, 19, 34, 0.06);
  padding: 22px;
}

.learning-card time {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--beige-50);
  font-weight: 950;
}

.learning-card h3 {
  margin-bottom: 8px;
}

.learning-card p {
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.learning-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--navy-800);
  line-height: 1.55;
}

.feature-band {
  background: var(--navy-900);
}

.feature-band h2,
.feature-band .eyebrow.dark {
  color: var(--beige-50);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter,
.status-pill {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--beige-50);
  color: var(--navy-900);
  padding: 10px 13px;
  font-weight: 850;
}

.filter {
  cursor: pointer;
}

.filter.active,
.filter:hover {
  background: var(--gold);
  border-color: var(--gold);
}

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

.project-card {
  overflow: hidden;
  background: var(--beige-50);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.project-card:hover,
.video-card:hover,
.book-card:hover,
.lesson-card:hover,
.travel-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-visual {
  min-height: 220px;
  padding: 18px;
  background:
    radial-gradient(circle at 78% 24%, var(--accent, var(--gold)) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
}

.mockup-wall {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 92px 72px;
  gap: 10px;
  min-height: 180px;
}

.mockup-tile {
  position: relative;
  display: grid;
  align-content: end;
  min-width: 0;
  border: 1px solid rgba(251, 247, 239, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(251, 247, 239, 0.2), rgba(251, 247, 239, 0.05)),
    rgba(255, 255, 255, 0.08);
  color: var(--beige-50);
  padding: 10px;
  font-size: 0.74rem;
  font-weight: 900;
  overflow: hidden;
}

.mockup-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-tile span {
  position: relative;
  z-index: 1;
}

.mockup-tile:first-child {
  grid-row: span 2;
}

.project-status {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: rgba(16, 166, 166, 0.14);
  color: var(--navy-800);
  padding: 7px 9px;
  font-size: 0.78rem;
  font-weight: 900;
}

.project-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.project-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy-900);
  padding: 10px;
  font-size: 0.86rem;
  font-weight: 900;
}

.project-link.primary {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--beige-50);
}

.project-body,
.video-body,
.book-card,
.lesson-card {
  padding: 22px;
}

.project-body p,
.video-body p,
.book-card p,
.challenge-card p,
.lesson-card p {
  color: var(--muted);
  line-height: 1.65;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.meta-row span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 9px;
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 800;
}

.media-section {
  background: linear-gradient(180deg, var(--beige-50) 0%, var(--beige-100) 100%);
}

.text-link {
  color: var(--navy-900);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

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

.video-card {
  overflow: hidden;
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 176px;
  overflow: hidden;
  background: var(--navy-800);
  color: var(--white);
}

.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(6, 19, 34, 0) 44%, rgba(6, 19, 34, 0.72) 100%);
}

.video-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 176px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(16, 166, 166, 0.9), rgba(238, 118, 95, 0.8)),
    var(--navy-800);
  color: var(--beige-50);
  font-size: 1.2rem;
  font-weight: 950;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 38px;
  transform: translate(-50%, -50%);
  place-items: center;
  border-radius: 8px;
  background: rgba(238, 38, 38, 0.92);
}

.play-mark::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--beige-50);
  content: "";
}

.video-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  border-radius: 4px;
  background: rgba(6, 19, 34, 0.86);
  color: var(--beige-50);
  padding: 4px 6px;
  font-size: 0.74rem;
  font-weight: 900;
}

.video-channel {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.video-body h3,
.project-body h3,
.book-card h3,
.lesson-card h3 {
  margin-bottom: 10px;
}

.bookshelf {
  background: var(--beige-50);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.book-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.book-cover {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 210px;
  margin: -22px -22px 20px;
  align-content: end;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(6, 19, 34, 0.08), rgba(255, 255, 255, 0.06)),
    var(--cover, var(--navy-900));
  color: var(--beige-50);
}

.book-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(6, 19, 34, 0.08), rgba(6, 19, 34, 0.46));
}

.book-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover strong {
  position: relative;
  z-index: 1;
  max-width: 240px;
  font-size: 1.45rem;
  line-height: 1.05;
}

.book-spine {
  display: grid;
  min-height: 132px;
  margin: -22px -22px 20px;
  place-items: end start;
  padding: 22px;
  background: var(--navy-900);
  color: var(--beige-50);
}

.book-spine span {
  max-width: 170px;
  font-weight: 900;
  line-height: 1.12;
}

.book-card:nth-child(2n) .book-spine {
  background: var(--coral);
  color: var(--navy-950);
}

.book-card:nth-child(3n) .book-spine {
  background: var(--teal);
  color: var(--navy-950);
}

.book-card small {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.book-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.book-labels span {
  border-radius: var(--radius);
  background: var(--beige-100);
  color: var(--navy-800);
  padding: 6px 8px;
  font-size: 0.76rem;
  font-weight: 900;
}

.book-note {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.book-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.travel-section {
  background: var(--beige-50);
}

.travel-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.travel-photo {
  position: relative;
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--photo);
  background-position: center;
  background-size: cover;
  box-shadow: 0 16px 40px rgba(6, 19, 34, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.travel-photo:nth-child(1),
.travel-photo:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
}

.travel-photo:nth-child(3) {
  grid-row: span 2;
}

.travel-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(180deg, rgba(6, 19, 34, 0), rgba(6, 19, 34, 0.78));
  color: var(--beige-50);
  opacity: 0;
  padding: 46px 14px 14px;
  font-weight: 900;
  transition: opacity 180ms ease;
}

.travel-photo:hover figcaption {
  opacity: 1;
}

.challenges {
  background: var(--navy-900);
}

.challenges h2,
.challenges .eyebrow.dark {
  color: var(--beige-50);
}

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

.challenge-card {
  padding: 22px;
  background: rgba(251, 247, 239, 0.96);
}

.challenge-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.challenge-top strong {
  color: var(--navy-900);
  font-size: 1.1rem;
}

.challenge-top span {
  border-radius: var(--radius);
  background: rgba(16, 166, 166, 0.16);
  color: var(--navy-900);
  padding: 6px 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(6, 19, 34, 0.12);
}

.progress-bar {
  width: var(--progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.lesson-section {
  background: var(--beige-100);
}

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

.lesson-card {
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.lesson-card time {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 900;
}

.timeline {
  background: var(--beige-50);
}

.timeline-list {
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline-list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.timeline-list time {
  color: var(--navy-900);
  font-weight: 950;
}

.timeline-list span {
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--navy-950);
  color: var(--beige-50);
}

.contact h2 {
  max-width: 900px;
  color: var(--beige-50);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(251, 247, 239, 0.12);
  background: var(--navy-950);
  color: rgba(251, 247, 239, 0.72);
  padding: 28px clamp(18px, 5vw, 72px);
}

.site-footer a {
  color: var(--beige-50);
  font-weight: 850;
}

@media (max-width: 1040px) {
  .project-grid,
  .video-grid,
  .lesson-grid,
  .profile-widget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 68px 16px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--beige-50);
    color: var(--navy-900);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 13px;
  }

  .brand strong {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 720px;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 19, 34, 0.84) 0%, rgba(6, 19, 34, 0.68) 54%, rgba(6, 19, 34, 0.9) 100%),
      rgba(6, 19, 34, 0.35);
  }

  .hero-content {
    width: 100%;
    padding: 104px 18px 200px;
  }

  .hero-note {
    right: 18px;
    bottom: 24px;
  }

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

  .button {
    width: 100%;
  }

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

  .signal-strip div {
    border-bottom: 1px solid var(--line);
  }

  .split,
  .learning-layout,
  .profile-widget-strip,
  .contact {
    grid-template-columns: 1fr;
  }

  .learning-intro {
    position: static;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .project-grid,
  .video-grid,
  .book-grid,
  .challenge-list,
  .lesson-grid,
  .profile-widget-grid,
  .travel-grid {
    grid-template-columns: 1fr;
  }

  .travel-photo,
  .travel-photo:nth-child(1),
  .travel-photo:nth-child(3),
  .travel-photo:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

  h2 {
    font-size: 2rem;
  }

  .now-board article {
    grid-template-columns: 1fr;
  }

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

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
