@font-face {
  font-family: 'DM Sans';
  src: url('/assets/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/instrument-serif.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f7f6ef;
  --soft-paper: #eeefe7;
  --ink: #192a26;
  --muted: #47554f;
  --accent: #245d52;
  --dark: #172f2b;
  --line: #c7cec2;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(24px, 5.55vw, 96px);
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: #c9ddd2; color: var(--ink); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

[id] { scroll-margin-top: 24px; }
#top { scroll-margin-top: 0; }

.shell {
  width: min(100% - 2 * var(--gutter), 1280px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 5;
  padding: 12px 16px;
  background: var(--dark);
  color: var(--paper);
}

.skip-link:not(:focus) { translate: 0 -200%; }

.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 2; }

.header-inner {
  min-height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  white-space: nowrap;
}

.desktop-nav, .header-controls {
  display: flex;
  align-items: center;
}

.desktop-nav { gap: clamp(14px, 2.25vw, 35px); }
.desktop-nav a, .mobile-menu nav a { font-size: 14px; font-weight: 550; }
.desktop-nav a { padding-block: 10px; }

.desktop-nav a:hover, .mobile-menu nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-controls { gap: 13px; }
.languages { display: flex; align-items: center; gap: 2px; }
.languages a {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
}

.languages a:hover { color: var(--accent); background: var(--soft-paper); }
.languages [aria-current] { color: var(--accent); background: #e4ebe2; }
.mobile-menu { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(0, .9fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  padding-block: clamp(62px, 6vw, 92px) 74px;
}

.hero-copy { min-width: 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-name > span {
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1, h2, .featured-project h3, .project-card h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(78px, 8.4vw, 130px);
  line-height: .86;
  letter-spacing: -.025em;
}

h1 span, h1 em { display: block; }
h1 em { font-weight: 400; color: var(--accent); }
html[lang='fr'] h1 { font-size: clamp(72px, 7.65vw, 120px); }

.hero-fields {
  margin-top: 30px;
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 650;
  color: var(--ink);
}

.hero-intro {
  max-width: 46ch;
  margin-top: 17px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 25px;
  margin-top: 28px;
}

.button, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 650;
  line-height: 1.3;
}

.button {
  min-height: 48px;
  padding: 10px 17px;
  gap: 20px;
  background: var(--dark);
  color: var(--paper);
  font-size: 14px;
}

.button:hover { background: var(--accent); }
.button:focus-visible { outline-color: var(--accent); }
.text-link { min-height: 36px; font-size: 14px; color: var(--accent); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.arrow {
  display: inline-block;
  flex: none;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1;
}

.availability {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.status-dot {
  display: inline-block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-figure { min-width: 0; }

.hero-figure img {
  width: 100%;
  height: auto;
  background: var(--dark);
}

figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

figcaption::before {
  content: '';
  width: 14px;
  height: 1px;
  background: currentColor;
}

.section { padding-block: 74px; }
.section h2 {
  font-size: clamp(50px, 5.3vw, 76px);
  line-height: .98;
  letter-spacing: -.018em;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: clamp(28px, 5vw, 78px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.standfirst {
  font-size: clamp(21px, 2.25vw, 30px);
  line-height: 1.37;
  letter-spacing: -.025em;
  max-width: 36ch;
}

.body-copy { color: var(--muted); font-size: 16px; line-height: 1.67; }
.about .body-copy { max-width: 59ch; margin-top: 16px; }

.experience-list, .credential-list { margin-top: 33px; }

.experience-row {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: clamp(28px, 5vw, 78px);
  border-top: 1px solid var(--line);
  padding-block: 26px;
}

.experience-row:last-child { border-bottom: 1px solid var(--line); }
.experience-context h3 { font-size: 19px; line-height: 1.35; font-weight: 650; }
.date { color: var(--muted); font-size: 13px; font-weight: 550; line-height: 1.5; }
.experience-context .date { margin-top: 8px; }
.experience-detail h4 { font-size: 17px; line-height: 1.45; font-weight: 650; }
.experience-detail .body-copy { margin-top: 7px; max-width: 62ch; }

.projects-band { background: var(--soft-paper); }

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr);
  align-items: stretch;
  margin-top: 34px;
  background: #e1e9df;
}

.featured-copy { padding: clamp(28px, 4vw, 60px); }
.featured-meta { display: flex; gap: 10px 22px; align-items: center; flex-wrap: wrap; }

.project-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 650;
  color: var(--accent);
}

.project-status .status-dot { width: 6px; height: 6px; flex-basis: 6px; }
.featured-project h3 { margin-top: 16px; font-size: clamp(52px, 5.5vw, 82px); line-height: .97; }
.project-subtitle { margin-top: 12px; font-size: 18px; font-weight: 650; line-height: 1.4; }
.featured-project .date { margin-top: 6px; }
.featured-project .body-copy { margin-top: 16px; max-width: 55ch; }

.orbit-art { width: 100%; height: 100%; min-height: 270px; object-fit: cover; background: #dce7dc; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4.2vw, 63px);
  margin-top: 34px;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-block: 22px 0;
}

.project-card h3 {
  font-size: clamp(37px, 4vw, 54px);
  line-height: 1;
  margin-top: 12px;
  letter-spacing: -.01em;
}

.project-card .body-copy { margin-block: 15px 18px; max-width: 54ch; }
.project-tools { margin-top: auto; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.5; }
.project-card .text-link { margin-top: 10px; }

.background-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 6.5vw, 96px);
}

.credential { border-top: 1px solid var(--line); padding-block: 18px; }
.credential:last-child { border-bottom: 1px solid var(--line); }
.credential h3 { font-size: 17px; line-height: 1.4; font-weight: 650; }
.credential .date { margin-bottom: 5px; }
.credential .body-copy { margin-top: 5px; }

.contact { background: var(--dark); color: var(--paper); }
.contact-inner {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 7vw, 100px);
  padding-block: 70px;
}

.contact .eyebrow { color: #aecdbe; }
.contact h2 { font-size: clamp(68px, 8vw, 112px); line-height: .94; letter-spacing: -.02em; margin-top: 16px; }
.contact-copy > p:last-child { margin-top: 18px; color: #d5e2db; max-width: 42ch; line-height: 1.6; }
.contact address { font-style: normal; }
.email-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid #789188;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 550;
  overflow-wrap: anywhere;
}

.email-link:hover { color: #c2e1d3; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 9px; }
.contact .text-link { color: #e2ece6; }
.site-footer { color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; font-size: 13px; }

@media (max-width: 1050px) {
  .hero { gap: 32px; grid-template-columns: 1fr minmax(0, .82fr); }
  h1 { font-size: clamp(68px, 9vw, 104px); }
  html[lang='fr'] h1 { font-size: clamp(58px, 8.2vw, 94px); }
}

@media (max-width: 800px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .header-inner { min-height: 66px; }
  .mobile-menu summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding-inline: 6px 3px;
    font-size: 13px;
    font-weight: 650;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu i {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    rotate: 45deg;
    translate: 0 -2px;
  }
  .mobile-menu[open] i { rotate: 225deg; translate: 0 1px; }
  .mobile-menu nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    padding: 10px var(--gutter) 16px;
    border-block: 1px solid var(--line);
    background: var(--paper);
  }
  .mobile-menu nav a { min-height: 44px; display: flex; align-items: center; }
  .mobile-menu nav a + a { border-top: 1px solid var(--line); }
  .hero { padding-block: 52px; }
  .hero-fields { margin-top: 24px; }
  .hero-actions { gap: 8px 18px; }
  .section { padding-block: 54px; }
  .featured-project { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}

@media (max-width: 670px) {
  .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 43px 43px; }
  .hero-name { margin-bottom: 19px; }
  h1 { font-size: clamp(72px, 16vw, 108px); }
  html[lang='fr'] h1 { font-size: clamp(60px, 14vw, 99px); }
  .hero-fields { margin-top: 21px; }
  .hero-intro { margin-top: 13px; }
  .hero-actions { margin-top: 19px; }
  .availability { margin-top: 16px; }
  .hero-figure img { aspect-ratio: 1.58; object-fit: cover; object-position: center 48%; }
  .about, .experience-row, .project-grid, .background-sections, .contact-inner { grid-template-columns: 1fr; }
  .about { gap: 22px; }
  .experience-list, .credential-list { margin-top: 23px; }
  .experience-row { gap: 10px; padding-block: 20px; }
  .experience-context .date { margin-top: 4px; }
  .experience-detail .body-copy { margin-top: 5px; }
  .featured-project { grid-template-columns: 1fr; margin-top: 24px; }
  .orbit-art { height: auto; min-height: 0; aspect-ratio: 1.85; }
  .project-grid { margin-top: 25px; }
  .project-card { padding-top: 19px; }
  .background-sections { gap: 39px; }
  .contact-inner { padding-block: 50px; }
}

@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .header-inner, .header-controls { gap: 7px; }
  .wordmark { font-size: 25px; }
  .languages a { min-width: 32px; }
  .mobile-menu summary { gap: 5px; }
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 140ms ease, background-color 140ms ease; }
}
