:root {
  --bg: #0e0e10;
  --bg-soft: #16161a;
  --paper: #f6f4f0;
  --ink: #14140f;
  --muted: #6b6b6b;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #c8893f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.section { padding: clamp(4.5rem, 10vw, 9rem) clamp(1.4rem, 6vw, 7rem); }

/* nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.4rem, 6vw, 7rem);
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
  color: #fff;
}
.nav--scrolled {
  background: rgba(14, 14, 16, 0.82);
  backdrop-filter: blur(10px);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}
.nav__right { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 2rem; }
.lang { display: flex; align-items: center; gap: 0.55rem; }
.lang__btn {
  width: 26px;
  height: 18px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0.45;
  transition: opacity 0.2s, box-shadow 0.2s;
  line-height: 0;
}
.lang__btn svg { width: 100%; height: 100%; display: block; border-radius: 2px; }
.lang__btn:hover { opacity: 0.8; }
.lang__btn--active { opacity: 1; box-shadow: 0 0 0 1.5px currentColor; }
.nav__links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; }

/* hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; object-position: center 25%; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.35) 0%, rgba(10,10,12,0.1) 40%, rgba(10,10,12,0.85) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.4rem, 6vw, 7rem) clamp(3rem, 8vw, 6rem);
  max-width: 760px;
}
.hero__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  color: rgba(255,255,255,0.85);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
.hero__tag {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  max-width: 30em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.2rem;
}
.hero__scroll {
  position: absolute;
  right: clamp(1.4rem, 6vw, 7rem);
  bottom: 2.5rem;
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0.7;
}

/* buttons */
.btn {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 0.95rem 2.1rem;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 100px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
}
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* about */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.about__text h2 { margin-bottom: 1.6rem; }
.about__text p { color: #3a3a36; max-width: 40em; margin-bottom: 1.1rem; }
.about__text p:last-child { margin-bottom: 0; }
.about__media {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}

/* facts */
.facts {
  background: var(--bg);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.4rem, 6vw, 7rem);
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.fact__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: #fff;
}
.fact__label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* work */
.work__head { max-width: 50em; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.work__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.work__col { border-top: 1px solid rgba(0,0,0,0.14); padding-top: 1.6rem; }
.work__col h3 { margin-bottom: 1.3rem; }
.work__col ul { list-style: none; }
.work__col li {
  font-size: 0.97rem;
  color: #3a3a36;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.work__col li:last-child { border-bottom: none; }
.work__col em { font-style: italic; color: var(--ink); }

/* portfolio */
.portfolio { background: var(--bg-soft); color: var(--paper); }
.portfolio .kicker { color: var(--accent); }
.portfolio__head { max-width: 50em; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.portfolio__head h2 { color: var(--paper); margin-bottom: 1.2rem; }
.portfolio__note { color: rgba(246,244,240,0.6); font-size: 0.95rem; max-width: 38em; }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1rem;
}
.portfolio__item { overflow: hidden; border-radius: 4px; background: #000; }
.portfolio__item img { transition: transform 0.7s cubic-bezier(0.2,0.8,0.2,1); object-position: center 22%; }
.portfolio__item:hover img { transform: scale(1.04); }
.portfolio__item--tall { grid-row: span 2; }
.portfolio__item--tall img { object-position: center top; }
.portfolio__item--wide { grid-column: span 2; }

/* contact */
.contact { background: var(--paper); }
.contact__inner { max-width: 820px; margin: 0 auto; }
.contact__inner h2 { margin-bottom: 1.2rem; }
.contact__lead { color: #3a3a36; max-width: 42em; margin-bottom: 2.8rem; }

.form { display: flex; flex-direction: column; gap: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form__field { display: flex; flex-direction: column; gap: 0.5rem; }
.form__field span {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form__field em { text-transform: none; font-style: italic; letter-spacing: 0; }
.form__field input,
.form__field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding: 0.7rem 0.1rem;
  transition: border-color 0.2s;
}
.form__field textarea { resize: vertical; }
.form__field input:focus,
.form__field textarea:focus { outline: none; border-color: var(--accent); }
.form .btn--solid { align-self: flex-start; margin-top: 0.8rem; }
.form__status { font-size: 0.9rem; min-height: 1.2em; margin-top: 0.2rem; }

/* footer */
.footer {
  background: var(--bg);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.4rem;
}
.footer__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.6rem;
}
.footer__meta { font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 1.4rem; }
.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* responsive */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 5; max-width: 480px; }
  .facts__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .work__cols { grid-template-columns: 1fr; gap: 0; }
  .work__col { border-top: none; border-bottom: 1px solid rgba(0,0,0,0.12); padding: 1.6rem 0; }
  .portfolio__grid { grid-template-columns: 1fr; grid-auto-rows: 70vw; }
  .portfolio__item--tall, .portfolio__item--wide { grid-row: auto; grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
}
