:root {
  --bg: #f3f0ea;
  --ink: #101010;
  --muted: #68645f;
  --line: rgba(16,16,16,.16);
  --dark: #101010;
  --light: #f7f4ee;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --pad: clamp(22px, 4vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
img { width: 100%; height: 100%; display: block; object-fit: cover; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; background: var(--dark); color: white; padding: 10px 14px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--pad); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); }
.brand { font-weight: 600; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 34px); font-size: 14px; }
.nav a { opacity: .74; transition: opacity .2s ease; }
.nav a:hover { opacity: 1; }
.nav .nav-cta { opacity: 1; border: 1px solid var(--ink); border-radius: 999px; padding: 8px 14px; }
.hero { min-height: calc(100vh - 74px); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(44px, 8vw, 120px) var(--pad) clamp(38px, 6vw, 80px); }
.eyebrow, .kicker { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 600; }
.hero h1 { max-width: 1500px; margin: 0; font-size: clamp(58px, 9.2vw, 168px); line-height: .89; font-weight: 500; letter-spacing: -.065em; }
.hero h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; margin-top: 70px; }
.hero-bottom > p { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 27px); line-height: 1.32; letter-spacing: -.025em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; padding: 12px 20px; font-size: 14px; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: white; }
.button.ghost { border: 1px solid var(--line); }
.section { padding: clamp(74px, 9vw, 150px) var(--pad); border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(36px, 5vw, 74px); }
.section-heading.compact { margin-bottom: 40px; }
.section-heading h2, .about-section h2 { margin: 0; max-width: 900px; font-size: clamp(44px, 6vw, 98px); line-height: .96; letter-spacing: -.055em; font-weight: 500; }
.text-link { font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(34px, 5vw, 82px) clamp(18px, 2.5vw, 38px); }
.project-card { display: block; }
.project-media { aspect-ratio: 4/3; overflow: hidden; background: #ddd8d1; }
.project-wide .project-media { aspect-ratio: 16/9; }
.project-media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.025); }
.project-meta { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding-top: 15px; }
.project-meta h3 { margin: 0 0 5px; font-size: 20px; letter-spacing: -.025em; }
.project-meta p { margin: 0; color: var(--muted); font-size: 13px; }
.project-meta > span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.expertise-section { background: #181818; color: #f4f1eb; }
.expertise-section .kicker { color: #b7b2aa; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.18); }
.expertise-grid article { min-height: 320px; padding: 22px 26px 24px 0; border-right: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; }
.expertise-grid article:not(:first-child) { padding-left: 24px; }
.expertise-grid article:last-child { border-right: 0; }
.expertise-grid span { color: #918b84; font-size: 11px; }
.expertise-grid h3 { margin: auto 0 14px; font-size: clamp(24px, 2.1vw, 35px); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.expertise-grid p { margin: 0; color: #aaa49c; font-size: 14px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 8vw, 140px); align-items: start; }
.about-copy { padding-top: 36px; }
.about-copy > p { margin: 0 0 28px; font-size: clamp(20px, 2.1vw, 31px); line-height: 1.38; letter-spacing: -.025em; }
.about-copy > p + p { color: var(--muted); font-size: clamp(18px, 1.6vw, 24px); }
.about-links { display: flex; gap: 22px; margin-top: 42px; }
.about-links a { border-bottom: 1px solid currentColor; }
.experience-list { margin-top: clamp(70px, 9vw, 140px); border-top: 1px solid var(--line); }
.experience-list > div { display: grid; grid-template-columns: 120px minmax(180px, .8fr) 1fr; gap: 28px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.experience-list span { color: var(--muted); font-size: 12px; }
.experience-list strong { font-size: 20px; letter-spacing: -.02em; }
.experience-list p { margin: 0; color: var(--muted); }
.contact-section { background: var(--dark); color: var(--light); }
.contact-section .kicker { color: #aaa49c; }
.contact-section h2 { margin: 0; max-width: 1300px; font-size: clamp(58px, 8vw, 142px); line-height: .88; letter-spacing: -.06em; font-weight: 500; }
.contact-row { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; margin-top: 70px; }
.button.light { background: var(--light); color: var(--dark); }
.contact-row p { margin: 0; max-width: 520px; justify-self: end; color: #aaa49c; }
.footer { display: flex; justify-content: space-between; gap: 30px; padding: 24px var(--pad); background: var(--dark); color: #8f8a83; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.footer div { display: flex; gap: 18px; }
.footer a:hover { color: white; }
@media (max-width: 900px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 88vh; }
  .hero-bottom, .about-grid, .contact-row { grid-template-columns: 1fr; }
  .hero-actions { margin-top: 6px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-wide .project-media, .project-media { aspect-ratio: 4/3; }
  .expertise-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .expertise-grid article:nth-child(2) { border-right: 0; }
  .expertise-grid article:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .contact-row p { justify-self: start; }
}
@media (max-width: 560px) {
  .site-header { padding-top: 14px; padding-bottom: 14px; }
  .hero h1 { font-size: clamp(54px, 17vw, 88px); }
  .hero-bottom { margin-top: 54px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-grid article { border-right: 0; border-top: 1px solid rgba(255,255,255,.18); padding: 22px 0; min-height: 240px; }
  .expertise-grid article:not(:first-child) { padding-left: 0; }
  .experience-list > div { grid-template-columns: 1fr; gap: 6px; }
  .contact-section h2 { font-size: clamp(54px, 16vw, 90px); }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Language switcher */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.language-switcher a {
  min-width: 30px;
  padding: 5px 7px;
  border-radius: 999px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  opacity: .48;
}
.language-switcher a:hover,
.language-switcher a.active {
  opacity: 1;
}
.language-switcher a.active {
  background: var(--ink);
  color: var(--light);
}
@media (max-width: 560px) {
  .nav { gap: 8px; }
  .nav .nav-cta { display: none; }
  .language-switcher {
    margin-left: 0;
    padding-left: 8px;
  }
}


/* V1.2 final visual polish */
body {
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,.72), transparent 28%),
    linear-gradient(180deg, #f8f5ef 0%, var(--bg) 16%, var(--bg) 100%);
}

.site-header {
  border-bottom-color: rgba(16,16,16,.11);
  background: rgba(243,240,234,.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero {
  max-width: 1540px;
  margin-inline: auto;
  padding-top: clamp(56px, 8vw, 118px);
}

.hero h1 {
  max-width: 1380px;
}

.hero-bottom > p {
  max-width: 760px;
}

.button {
  border: 1px solid transparent;
}

.button.ghost {
  border-color: rgba(16,16,16,.18);
  background: rgba(255,255,255,.28);
}

.button.ghost:hover {
  border-color: rgba(16,16,16,.36);
  background: rgba(255,255,255,.55);
}

.section-heading,
.project-grid,
.expertise-grid,
.about-grid,
.experience-list,
.contact-section > .kicker,
.contact-section > h2,
.contact-section > .contact-row {
  width: min(1400px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.project-grid {
  gap: clamp(44px, 5vw, 76px) clamp(22px, 2.6vw, 40px);
}

.project-media {
  border-radius: 20px;
  border: 1px solid rgba(16,16,16,.07);
  box-shadow: 0 22px 58px rgba(16,16,16,.08);
}

.project-card {
  transition: transform .28s ease;
}

.project-card:hover {
  transform: translateY(-3px);
}

.project-media img {
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}

.project-card:hover img {
  transform: scale(1.022);
}

.project-meta {
  padding-top: 17px;
}

.project-meta h3 {
  font-size: 22px;
}

.project-meta p {
  max-width: 620px;
}

.expertise-section {
  background:
    radial-gradient(circle at 16% 0%, rgba(255,255,255,.055), transparent 30%),
    #171717;
}

.about-section {
  background: rgba(255,255,255,.12);
}

.contact-section {
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.06), transparent 28%),
    var(--dark);
}

.language-switcher {
  flex-shrink: 0;
}

.language-switcher a {
  transition: opacity .2s ease, background .2s ease, color .2s ease;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 58px;
  }

  .project-media,
  .project-wide .project-media {
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(54px, 16.5vw, 82px);
    line-height: .91;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .project-grid {
    gap: 50px;
  }

  .project-meta h3 {
    font-size: 20px;
  }

  .language-switcher a {
    min-width: 28px;
    padding-inline: 6px;
  }
}
