:root {
  --ink: #20231f;
  --paper: #f3f0e8;
  --paper-deep: #e9e5da;
  --accent: #d9ff52;
  --muted: #74786f;
  --line: rgba(32, 35, 31, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 232, 0.9);
  backdrop-filter: blur(14px);
}

.logo { display: flex; align-items: center; gap: 14px; }
.logo span {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  letter-spacing: -0.08em;
  font-size: 22px;
}
.logo small {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 600; }
.nav a { transition: opacity .2s ease; }
.nav a:hover { opacity: .55; }
.nav-contact { padding: 10px 18px; border: 1px solid var(--ink); border-radius: 100px; }
.menu-button { display: none; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr);
  gap: 5vw;
  align-items: end;
  padding: 150px 4vw 70px;
}

.eyebrow {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(60px, 8.4vw, 145px);
  font-weight: 600;
  letter-spacing: -.09em;
  line-height: .91;
}
.hero h1 span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-lead { max-width: 680px; margin: 36px 0 0; font-size: clamp(19px, 2vw, 28px); line-height: 1.35; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 156px; padding: 14px 20px; border: 1px solid var(--ink); border-radius: 100px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-ghost span { margin-left: auto; }

.hero-aside { display: flex; flex-direction: column; gap: 24px; }
.hero-photo { position: relative; overflow: hidden; aspect-ratio: 1.45 / 1; margin: 0; background: var(--ink); border-radius: 4px; }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 15%; filter: saturate(.78) contrast(1.05); transition: transform .6s ease; }
.hero-photo:hover img { transform: scale(1.025); }
.hero-photo figcaption { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; background: var(--accent); color: var(--ink); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-note { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding-top: 18px; border-top: 1px solid var(--ink); }
.hero-note p { margin: 0; font-size: 14px; }
.note-index { color: var(--muted); font-size: 11px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.metric { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: var(--paper-deep); border-radius: 4px; }
.metric-accent { background: var(--accent); }
.metric-wide { grid-column: 1 / -1; min-height: 130px; }
.metric strong { font-family: "Unbounded", sans-serif; font-size: clamp(30px, 3.6vw, 58px); font-weight: 500; letter-spacing: -.08em; line-height: 1; }
.metric span { max-width: 160px; font-size: 11px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }

.marquee { overflow: hidden; padding: 17px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.marquee div { width: max-content; display: flex; align-items: center; gap: 30px; animation: scroll 24s linear infinite; }
.marquee span { font-family: "Unbounded", sans-serif; font-size: 13px; text-transform: uppercase; }
.marquee i { width: 8px; height: 8px; background: var(--accent); border: 1px solid var(--ink); border-radius: 50%; }
@keyframes scroll { to { transform: translateX(-50%); } }

.section { display: grid; grid-template-columns: minmax(150px, .35fr) minmax(0, 1.65fr); gap: 5vw; padding: 130px 4vw; border-bottom: 1px solid var(--line); }
.section-label { display: flex; gap: 20px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.section-label p { margin: 0; }

.intro h2, .services h2, .education h2, .contact h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(42px, 6vw, 98px);
  font-weight: 500;
  letter-spacing: -.08em;
  line-height: 1.02;
}
em { font-family: Georgia, serif; font-weight: 400; }
.large-text { max-width: 900px; margin: 42px 0 70px; font-size: clamp(20px, 2.3vw, 34px); line-height: 1.4; }
.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.expertise-grid article { min-height: 220px; padding: 24px 30px 24px 0; border-bottom: 1px solid var(--line); }
.expertise-grid article:nth-child(odd) { padding-right: 45px; border-right: 1px solid var(--line); }
.expertise-grid article:nth-child(even) { padding-left: 45px; }
.expertise-grid span { color: var(--muted); font-size: 11px; }
.expertise-grid h3 { max-width: 340px; margin: 30px 0 14px; font-size: 20px; line-height: 1.25; }
.expertise-grid p { max-width: 390px; margin: 0; color: var(--muted); font-size: 14px; }

.services { background: var(--paper-deep); }
.services-content { min-width: 0; }
.services-heading { padding-bottom: 80px; }
.services-heading h2 { max-width: 1100px; overflow-wrap: anywhere; }
.services-heading .large-text { margin-bottom: 0; }
.services-actions { display: flex; gap: 12px; margin-top: 38px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.service-card { min-height: 330px; display: flex; flex-direction: column; padding: 28px; background: var(--paper); border-radius: 4px; }
.service-card-featured { background: var(--accent); }
.service-card:last-child { grid-column: 1 / -1; min-height: 260px; }
.service-card > span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.service-card h3 { max-width: 430px; margin: 38px 0 18px; font-family: "Unbounded", sans-serif; font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.06em; line-height: 1.12; }
.service-card p { max-width: 580px; margin: 0; color: var(--muted); font-size: 14px; }
.service-card strong { max-width: 580px; margin-top: auto; padding-top: 34px; font-size: 12px; line-height: 1.5; }
.service-formats { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 6vw; padding-top: 120px; }
.formats-intro h3 { max-width: 520px; margin: 0; font-family: "Unbounded", sans-serif; font-size: clamp(28px, 3.6vw, 54px); font-weight: 500; letter-spacing: -.07em; line-height: 1.12; }
.format-list { border-top: 1px solid var(--ink); }
.format-list article { display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.format-list span { color: var(--muted); font-size: 11px; }
.format-list h4 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.format-list p { max-width: 610px; margin: 0; color: var(--muted); font-size: 13px; }
.principles { padding-top: 110px; }
.principle-list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; border-top: 1px solid var(--ink); }
.principle-list span { padding: 12px 18px; border: 1px solid var(--ink); border-radius: 100px; font-size: 12px; font-weight: 700; }

.experience { background: var(--ink); color: var(--paper); }
.experience .section-label { color: rgba(243, 240, 232, .55); }
.experience-list { border-top: 1px solid rgba(243, 240, 232, .25); }
.job { display: grid; grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr); gap: 40px; padding: 45px 0 55px; border-bottom: 1px solid rgba(243, 240, 232, .2); }
.job-meta p { margin: 0; }
.period { color: rgba(243, 240, 232, .5); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.company { margin-top: 10px !important; font-weight: 700; }
.job-body h2 { margin: 0 0 22px; font-family: "Unbounded", sans-serif; font-size: clamp(25px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.07em; line-height: 1.1; }
.job-summary { max-width: 770px; margin: 0; color: rgba(243, 240, 232, .67); font-size: 16px; }
.project-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 42px; background: rgba(243, 240, 232, .14); border: 1px solid rgba(243, 240, 232, .14); }
.project-list p { margin: 0; padding: 25px; background: var(--ink); font-size: 13px; }
.project-list p::before { content: "↗"; display: block; margin-bottom: 26px; color: var(--accent); }
.job-number { display: flex; align-items: baseline; gap: 12px; margin: 32px 0 0; color: rgba(243, 240, 232, .55); font-size: 12px; text-transform: uppercase; }
.job-number strong { color: var(--accent); font-family: "Unbounded", sans-serif; font-size: 32px; font-weight: 500; letter-spacing: -.07em; }

.education { background: var(--paper-deep); }
.education-content { display: grid; gap: 80px; }
.school { margin: 0 0 22px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.education h2 { max-width: 950px; }
.education-list { display: grid; grid-template-columns: 1fr 1fr 1.5fr; border-top: 1px solid var(--ink); }
.education-list p { margin: 0; padding: 24px 24px 0 0; font-size: 13px; }
.education-list span { display: block; margin-bottom: 14px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.contact { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 4vw 36px; background: var(--accent); }
.contact .eyebrow { color: var(--ink); }
.contact h2 { max-width: 1200px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 60px; }
.contact-links a { padding: 16px 24px; border: 1px solid var(--ink); border-radius: 100px; font-size: 14px; font-weight: 700; transition: background .2s, color .2s; }
.contact-links a:hover { background: var(--ink); color: var(--accent); }
.contact-footer { display: flex; justify-content: space-between; gap: 30px; margin-top: auto; padding-top: 80px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { height: 66px; }
  .logo small { display: none; }
  .menu-button { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-button span { width: 15px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-button.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { position: fixed; inset: 66px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 20px 4vw 28px; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-contact { border: 0; border-radius: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 130px; }
  .hero h1 { font-size: clamp(50px, 13vw, 92px); }
  .hero-aside { margin-top: 40px; }
  .hero-photo { aspect-ratio: 1.3 / 1; }
  .metric strong { font-size: 42px; }
  .section { grid-template-columns: 1fr; padding: 85px 4vw; }
  .section-label { margin-bottom: 25px; }
  .job { grid-template-columns: 1fr; gap: 25px; }
  .service-formats { grid-template-columns: 1fr; }
  .education-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding-bottom: 45px; }
  .hero h1 { font-size: 12.5vw; -webkit-hyphens: none; hyphens: none; }
  .hero h1 span { -webkit-text-stroke-width: 1px; }
  .hero-lead { margin-top: 25px; font-size: 18px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-photo { aspect-ratio: 1.05 / 1; }
  .metric { min-height: 150px; padding: 17px; }
  .metric strong { font-size: 31px; }
  .metric span { font-size: 9px; }
  .intro h2, .services h2, .education h2, .contact h2 { font-size: 10.5vw; }
  .large-text { margin-bottom: 45px; font-size: 19px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-grid article, .expertise-grid article:nth-child(odd), .expertise-grid article:nth-child(even) { min-height: auto; padding: 24px 0 30px; border-right: 0; }
  .expertise-grid h3 { margin-top: 18px; }
  .services-heading { padding-bottom: 55px; }
  .services-heading h2 { font-size: 9vw; }
  .services-actions { flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 300px; padding: 22px; }
  .service-card h3 { margin-top: 28px; font-size: 26px; }
  .service-formats { padding-top: 80px; }
  .principles { padding-top: 75px; }
  .project-list { grid-template-columns: 1fr; }
  .job-body h2 { font-size: 27px; }
  .contact { min-height: 80vh; }
  .contact-links { flex-direction: column; }
  .contact-links a { text-align: center; }
  .contact-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee div { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
