:root {
  --cream: #F2EDE2;
  --cream-2: #E8E0CE;
  --ink: #1A1A1A;
  --ink-2: #4A4A4A;
  --ink-3: #767064;
  --olive: #6B7A3A;
  --olive-2: #5A6730;
  --olive-light: #8B9A56;
  --line: #C8BFA8;
  --green: #4A7C2A;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h: 72px;
  --pad-x: clamp(20px, 5vw, 64px);
  --maxw: 1440px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--olive);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-1px);
}

/* ============================
   Navigation
   ============================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(242, 237, 226, 0.78);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(242, 237, 226, 0.92);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.nav__brand-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav__links {
  display: flex;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  color: var(--ink-2);
  padding: 8px 0;
  transition: color 0.2s ease;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 1px;
  background: var(--olive);
  transition: width 0.3s ease;
}
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }

.nav__cta {
  padding: 11px 20px;
  font-size: 11px;
}

.nav__toggle {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    gap: 6px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 24px var(--pad-x) 32px;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: none;
  }
  .nav.is-open .nav__links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-weight: 500;
  }
  .nav.is-open .nav__links a:last-child { border-bottom: 0; }
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) var(--pad-x) 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.hero__divider {
  width: 28px;
  height: 1px;
  background: var(--ink-3);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.45);
  margin-bottom: 32px;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(74, 124, 42, 0.55);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 124, 42, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(74, 124, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 124, 42, 0); }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(64px, 11.5vw, 184px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: var(--ink);
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  font-style: italic;
  color: var(--olive);
  font-weight: 500;
}

.hero__subtitle {
  font-family: var(--sans);
  font-size: clamp(13px, 1.3vw, 15px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 26px;
  font-weight: 500;
}

.hero__tagline {
  font-size: clamp(15px, 1.4vw, 17.5px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero photo */
.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.hero__section-no {
  position: absolute;
  top: -18px;
  left: -8px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(110px, 16vw, 200px);
  color: var(--olive);
  opacity: 0.16;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.hero__photo {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 2 / 3;
  z-index: 1;
}
.hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--olive);
  transform: translate(18px, 18px);
  z-index: 0;
}
.hero__photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  background: var(--cream-2);
  z-index: 1;
  filter: contrast(1.06) brightness(1.04);
  clip-path: inset(0 0 5% 0);
}

.hero__photo-cap {
  position: absolute;
  bottom: -22px;
  right: 16px;
  background: var(--cream);
  border: 1px solid var(--ink);
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  z-index: 3;
  font-family: var(--serif);
}
.hero__photo-cap span {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.hero__photo-cap strong {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__scroll-line {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 1px;
  background: var(--ink-3);
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--ink-3);
  border-right: 1px solid var(--ink-3);
  transform: rotate(45deg);
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero__media {
    order: -1;
    min-height: 0;
    margin-top: 8px;
  }
  .hero__photo { max-width: 260px; aspect-ratio: 2 / 3; }
  .hero__section-no {
    font-size: clamp(96px, 22vw, 140px);
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero__scroll { display: none; }
}

@media (max-width: 480px) {
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* ============================
   Section base (shared)
   ============================ */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(48px, 6vw, 80px);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.section__no {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--olive);
  text-transform: none;
}
.section__divider {
  height: 1px;
  width: 64px;
  background: var(--ink-3);
}
.section__label {
  font-weight: 500;
  color: var(--ink);
}

/* ============================
   About
   ============================ */
.about__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about__quote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  color: var(--ink);
}
.about__quote-line {
  display: block;
}
.about__quote em {
  font-style: italic;
  color: var(--olive);
  font-weight: 500;
}

.about__body {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 60ch;
  margin-bottom: 18px;
}
.about__body:last-child { margin-bottom: 0; }

.facts {
  border-top: 1px solid var(--ink);
}
.fact {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.fact dt {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.fact dd {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.35;
  color: var(--ink);
}
.fact__sep {
  color: var(--olive);
  margin: 0 4px;
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .fact { grid-template-columns: 100px 1fr; gap: 18px; padding: 18px 0; }
}
@media (max-width: 480px) {
  .fact { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
}

/* ============================
   Section title (shared)
   ============================ */
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 18ch;
  color: var(--ink);
}
.section__title em {
  font-style: italic;
  color: var(--olive);
  font-weight: 500;
}

/* ============================
   Services
   ============================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 4vw, 56px) clamp(40px, 5vw, 88px);
}
.service {
  padding-top: 28px;
  border-top: 1px solid var(--ink);
  transition: border-color 0.25s ease;
}
.service:hover {
  border-top-color: var(--olive);
}
.service:hover .service__title {
  color: var(--olive);
}
.service__no {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--olive);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.service__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--ink);
  transition: color 0.25s ease;
}
.service__desc {
  font-size: clamp(14.5px, 1.15vw, 16px);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 50ch;
}

@media (max-width: 720px) {
  .services__grid { grid-template-columns: 1fr; gap: 32px; }
  .service { padding-top: 24px; }
}

/* ============================
   Selected Work
   ============================ */
.projects {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, 140px);
}

.project__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 28px;
}
.project__no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--olive);
  letter-spacing: 0.02em;
  padding-bottom: 6px;
}
.project__title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin-bottom: 10px;
  color: var(--ink);
}
.project__meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.project__sep {
  margin: 0 8px;
  color: var(--olive);
}

.project__desc {
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 70ch;
  margin-bottom: clamp(28px, 3vw, 40px);
}

.project__grid {
  display: grid;
  gap: clamp(10px, 1.2vw, 18px);
}
.project__grid--2 { grid-template-columns: repeat(2, 1fr); }
.project__grid--3 { grid-template-columns: repeat(3, 1fr); }
.project__grid--4 { grid-template-columns: repeat(4, 1fr); }

.project__img {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--cream-2);
}
.project__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.project__img:hover::after { opacity: 0.08; }
.project__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project__img:hover img {
  transform: scale(1.04);
}

.project__grid--landscape .project__img { aspect-ratio: 4 / 3; }
.project__grid--square    .project__img { aspect-ratio: 1 / 1; }
.project__grid--wide      .project__img { aspect-ratio: 16 / 9; }
.project__grid--portrait  .project__img { aspect-ratio: 4 / 5; }

@media (max-width: 900px) {
  .project__grid--3, .project__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .project__header { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .project__no { padding-bottom: 0; }
}
@media (max-width: 480px) {
  .project__grid--3, .project__grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Sub-section header inside Work */
.work__sub {
  margin-top: clamp(80px, 10vw, 140px);
}
.work__sub-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(28px, 3vw, 40px);
  padding-top: 36px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.work__sub-lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
  margin-bottom: clamp(28px, 3vw, 40px);
}

/* Videos */
.videos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--ink);
  color: var(--cream);
  aspect-ratio: 16 / 10;
  transition: background-color 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
.video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(107, 122, 58, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.video-card:hover {
  background: var(--olive-2);
}
.video-card:hover::before { opacity: 1; }
.video-card__art {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.video-card:hover .video-card__art {
  transform: scale(1.08);
}
.video-card__art svg {
  margin-left: 3px;
}
.video-card__title {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.video-card__title em {
  font-style: italic;
  color: var(--olive-light);
  font-weight: 500;
}
.video-card__meta {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.78;
}

@media (max-width: 720px) {
  .videos__grid { grid-template-columns: 1fr; }
  .video-card { aspect-ratio: 16 / 11; }
}

/* Events grid */
.events__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}
.events__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}
.events__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(1.04) saturate(0.9);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}
.events__img:hover img {
  transform: scale(1.05);
  filter: contrast(1.04) saturate(1.05);
}

@media (max-width: 720px) {
  .events__strip { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ============================
   Experience
   ============================ */
.job__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 36px;
}
.job__name {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 12px;
}
.job__role {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
}
.job__when {
  text-align: right;
}
.job__period {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  color: var(--ink);
}
.job__loc {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.job__lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink-2);
  margin-bottom: 44px;
  max-width: 56ch;
}
.job__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 64px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  counter-reset: jobitem;
}
.job__list li {
  position: relative;
  padding-left: 44px;
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  line-height: 1.65;
  color: var(--ink-2);
}
.job__list li::before {
  content: "0" counter(jobitem);
  counter-increment: jobitem;
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--olive);
  letter-spacing: 0.02em;
  font-weight: 500;
}

@media (max-width: 720px) {
  .job__head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .job__when { text-align: left; }
  .job__list { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; }
}

/* ============================
   Education
   ============================ */
.edu__list {
  list-style: none;
  border-top: 1px solid var(--ink);
  margin: 0;
  padding: 0;
}
.edu-item {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr auto;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}
.edu-item:hover {
  padding-left: 14px;
  border-bottom-color: var(--olive);
}
.edu-item:hover .edu__school {
  color: var(--olive);
}
.edu__period {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--olive);
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.edu__school {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.25s ease;
}
.edu__level {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.edu-item--current .edu__period::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s ease-out infinite;
}

@media (max-width: 720px) {
  .edu-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }
  .edu-item:hover { padding-left: 0; }
}

/* ============================
   Skills & Tools
   ============================ */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-bottom: clamp(60px, 8vw, 100px);
}
.skill-col {
  padding: 36px clamp(20px, 3vw, 40px) 36px 0;
  border-right: 1px solid var(--line);
}
.skill-col:first-child { padding-left: 0; }
.skill-col:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: clamp(20px, 3vw, 40px);
}
.skill-col:nth-child(2) {
  padding-left: clamp(20px, 3vw, 40px);
}
.skill-col__title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
  margin-bottom: 28px;
}
.skill-col__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.skill-col__list li {
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.skill-col__meta {
  font-style: italic;
  font-weight: 400;
  font-size: 0.72em;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .skills__grid { grid-template-columns: 1fr; }
  .skill-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
  }
  .skill-col:nth-child(2),
  .skill-col:last-child {
    padding-left: 0;
  }
  .skill-col:last-child { border-bottom: none; }
}

/* Tools */
.tools {
  padding-top: clamp(40px, 5vw, 56px);
}
.tools__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 28px;
  font-family: var(--sans);
}
.tools__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.tool {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: clamp(26px, 3vw, 38px) clamp(28px, 3.5vw, 44px);
  background: var(--cream-2);
  color: var(--ink);
  overflow: hidden;
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.tool::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--olive);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}
.tool:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.tool:hover::after { transform: scaleY(1); }
.tool__mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  color: var(--olive);
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.tool:hover .tool__mark { color: var(--olive-light); }
.tool__name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.015em;
}

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

/* ============================
   "See full archive" link in Work
   ============================ */
.work__more-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(28px, 3vw, 38px) 0;
  margin-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: padding-left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease;
}
.work__more-link:hover {
  padding-left: 18px;
  background: rgba(107, 122, 58, 0.05);
}
.work__more-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.work__more-name {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.work__more-arrow {
  display: inline-block;
  margin-left: 14px;
  color: var(--olive);
  font-style: normal;
  transition: transform 0.35s ease;
}
.work__more-link:hover .work__more-arrow {
  transform: translate(5px, -5px);
}
.work__more-meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

@media (max-width: 720px) {
  .work__more-link { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .work__more-link:hover { padding-left: 0; }
}

/* ============================
   Contact
   ============================ */
.contact__intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.contact__title {
  font-family: var(--serif);
  font-size: clamp(48px, 8.5vw, 132px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.contact__title em {
  font-style: italic;
  color: var(--olive);
  font-weight: 500;
}
.contact__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact__lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 38ch;
}
.contact__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact__list {
  list-style: none;
  border-top: 1px solid var(--ink);
}
.contact-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}
.contact-item:hover {
  padding-left: 16px;
  border-bottom-color: var(--olive);
}
.contact-item:hover .contact-item__value {
  color: var(--olive);
}
.contact-item:hover .contact-item__arrow {
  transform: translate(4px, 0);
}
.contact-item__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.contact-item__value {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.25s ease;
  overflow-wrap: anywhere;
}
.contact-item__arrow {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--olive);
  transition: transform 0.3s ease;
}

@media (max-width: 720px) {
  .contact__intro { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .contact-item { grid-template-columns: 100px 1fr auto; gap: 14px; padding: 22px 0; }
  .contact-item:hover { padding-left: 8px; }
}
@media (max-width: 480px) {
  .contact-item { grid-template-columns: 1fr auto; gap: 4px; }
  .contact-item__label { grid-column: 1 / -1; }
  .contact-item__arrow { grid-row: 1; grid-column: 2; align-self: start; }
  .contact__cta .btn { width: 100%; justify-content: center; }
}

/* ============================
   Footer
   ============================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(36px, 5vw, 56px) 0;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cream);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.footer__name {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.02em;
}
.footer__copy {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 237, 226, 0.6);
  text-align: center;
}
.footer__sep {
  margin: 0 8px;
  color: var(--olive-light);
}
.footer__top {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(242, 237, 226, 0.35);
  padding: 11px 18px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.footer__top:hover {
  background: var(--olive);
  border-color: var(--olive);
}

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 18px; justify-items: center; }
}

/* ============================
   Animations
   ============================ */

/* Hero entrance (on page load) */
.hero__meta,
.hero__badge,
.hero__title-line,
.hero__subtitle,
.hero__tagline,
.hero__cta,
.hero__media,
.hero__scroll {
  opacity: 0;
  transform: translateY(22px);
  animation: heroEnter 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero__meta            { animation-delay: 0.06s; }
.hero__badge           { animation-delay: 0.18s; }
.hero__title-line:nth-child(1) { animation-delay: 0.30s; }
.hero__title-line:nth-child(2) { animation-delay: 0.45s; }
.hero__subtitle        { animation-delay: 0.62s; }
.hero__tagline         { animation-delay: 0.74s; }
.hero__cta             { animation-delay: 0.86s; }
.hero__media           { animation-delay: 0.42s; transform: translateY(36px); }
.hero__scroll          { animation-delay: 1.10s; }
@keyframes heroEnter {
  to { opacity: 1; transform: translateY(0); }
}

/* Section number subtle glow on entrance */
.hero__section-no {
  animation: floatNumber 6s ease-in-out infinite;
}
@keyframes floatNumber {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Subtle scroll indicator nudge */
.hero__scroll-line::after {
  animation: scrollNudge 2.4s ease-in-out infinite;
}
@keyframes scrollNudge {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%      { transform: rotate(45deg) translate(2.5px, -2.5px); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Title underline-grow on scroll-reveal (subtle) */
.section__divider {
  position: relative;
  overflow: hidden;
}
.reveal .section__divider {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}
.reveal.is-visible .section__divider {
  transform: scaleX(1);
}

/* Image reveal — gentle clip + fade */
.project__img.reveal,
.events__img.reveal {
  transform: translateY(36px) scale(0.985);
}
.project__img.reveal.is-visible,
.events__img.reveal.is-visible {
  transform: translateY(0) scale(1);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero__meta, .hero__badge, .hero__title-line,
  .hero__subtitle, .hero__tagline, .hero__cta,
  .hero__media, .hero__scroll,
  .hero__section-no, .hero__scroll-line::after,
  .hero__badge-dot, .edu-item--current .edu__period::after {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ============================
   Contact form
   ============================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  width: 100%;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--olive);
  background: rgba(255, 255, 255, 0.4);
}
.contact-form textarea {
  min-height: 140px;
  line-height: 1.6;
}
.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}
.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.contact-form__status {
  font-size: 14px;
  min-height: 1.2em;
  margin-top: 4px;
  color: var(--ink-2);
}
.contact-form__status[data-kind="success"] { color: var(--green); }
.contact-form__status[data-kind="error"] { color: #B33A3A; }
.contact-form__status[data-kind="pending"] { color: var(--ink-3); }

@media (max-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}
