:root {
  --bg: #0b0b0c;
  --bg-soft: #111113;
  --text: #f4f1ea;
  --muted: #a8a49a;
  --line: rgba(255,255,255,.12);
  --gold: #c2a36b;
  --max-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #080809;
  display: grid;
  place-items: center;
  transition: opacity .8s ease, visibility .8s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: .22em;
  color: var(--gold);
  animation: pulse 1.4s ease-in-out infinite alternate;
}
@keyframes pulse { from { opacity: .25; } to { opacity: 1; } }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 3vw;
  background: linear-gradient(to bottom, rgba(11,11,12,.94), rgba(11,11,12,0));
  backdrop-filter: blur(8px);
}
.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  letter-spacing: .12em;
}
.site-nav { display: flex; gap: 2rem; }
.site-nav a {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  transition: color .25s ease;
}
.site-nav a:hover { color: var(--text); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 5vw;
}
.section-bordered { border-top: 1px solid var(--line); }
.section-dark {
  max-width: none;
  background: var(--bg-soft);
  padding-left: max(5vw, calc((100vw - var(--max-width))/2 + 5vw));
  padding-right: max(5vw, calc((100vw - var(--max-width))/2 + 5vw));
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 6rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 1.2rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--gold);
}
.hero h1,
.section-heading h2,
.contact-inner h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: .95;
  margin: 0;
}
.hero h1 { font-size: clamp(4rem, 10vw, 9.5rem); letter-spacing: -.055em; }
.hero h1 span { display: block; }
.accent-line { font-style: italic; color: #d9d3c8; }
.hero-role {
  margin: 2rem 0 0;
  color: #d0ccc3;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.hero-role span { color: var(--gold); margin: 0 .45rem; }
.hero-intro { max-width: 640px; margin: 1.4rem 0 0; color: var(--muted); font-size: 1.06rem; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.3rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.4rem;
  border: 1px solid var(--line);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: .25s ease;
}
.button-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.button-primary:hover { background: var(--gold); border-color: var(--gold); }
.button-ghost:hover { border-color: var(--text); }

.hero-visual { display: flex; justify-content: flex-end; }
.portrait-placeholder {
  width: min(100%, 390px);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(194,163,107,.16), transparent 32%),
    linear-gradient(145deg, #151517, #0d0d0e);
}
.portrait-placeholder::before,
.portrait-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.portrait-placeholder::before { width: 70%; height: 70%; }
.portrait-placeholder::after { width: 110%; height: 110%; }
.portrait-placeholder span {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--gold);
  z-index: 1;
}
.portrait-placeholder small { z-index: 1; color: var(--muted); letter-spacing: .18em; text-transform: uppercase; }
.scroll-note {
  position: absolute;
  bottom: 2rem;
  left: 5vw;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-heading { max-width: 820px; margin-bottom: 4rem; }
.section-heading h2,
.contact-inner h2 { font-size: clamp(2.8rem, 6vw, 5.7rem); letter-spacing: -.035em; }
.section-copy { color: var(--muted); max-width: 620px; }

.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 7rem; }
.about-statement p { font-size: clamp(1.35rem, 2.2vw, 2.15rem); line-height: 1.42; margin: 0 0 1.6rem; }
.about-details { border-top: 1px solid var(--line); }
.about-details > div { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.detail-label { display: block; color: var(--gold); font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .45rem; }
.about-details p { margin: 0; color: var(--muted); }

.project-list { border-top: 1px solid var(--line); }
.project-card {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease;
}
.project-card:hover { padding-left: 1rem; padding-right: 1rem; background: rgba(255,255,255,.018); }
.project-number { color: var(--gold); font-size: .8rem; }
.project-type { margin: 0 0 .55rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.project-content h3 { margin: 0 0 .7rem; font-family: "Playfair Display", serif; font-size: clamp(1.8rem, 3vw, 3rem); }
.project-content p:last-child { margin: 0; max-width: 760px; color: var(--muted); }
.project-tag { align-self: start; color: var(--muted); font-size: .7rem; border: 1px solid var(--line); padding: .4rem .7rem; text-transform: uppercase; letter-spacing: .1em; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.gallery-item { grid-column: span 4; margin: 0; }
.gallery-item-large { grid-column: span 8; grid-row: span 2; }
.gallery-item-wide { grid-column: span 8; }
.gallery-item img {
  aspect-ratio: 4 / 3;
  background: #19191b;
  border: 1px solid var(--line);
}
.gallery-item-large img { aspect-ratio: 16 / 10; }
.gallery-item-wide img { aspect-ratio: 16 / 8; }
.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: .75rem;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.gallery-item figcaption span { color: var(--gold); }

.contact-section { min-height: 75vh; display: grid; place-items: center; text-align: center; }
.contact-inner { max-width: 900px; }
.contact-inner > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.contact-link { display: inline-block; margin-top: 1.5rem; font-size: clamp(1.15rem, 2.6vw, 2.2rem); border-bottom: 1px solid var(--gold); }
.social-links { margin-top: 2rem; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.social-links a { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.social-links a:hover { color: var(--text); }

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 5vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

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

@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { justify-content: flex-start; }
  .portrait-placeholder { width: 100%; max-width: 520px; aspect-ratio: 16/10; }
  .gallery-item, .gallery-item-large, .gallery-item-wide { grid-column: span 6; }
  .gallery-item-large img, .gallery-item-wide img { aspect-ratio: 4/3; }
}

@media (max-width: 680px) {
  .section { padding: 6rem 1.25rem; }
  .section-dark { padding-left: 1.25rem; padding-right: 1.25rem; }
  .site-header { padding: 1.1rem 1.25rem; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(11,11,12,.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
  }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav a { font-size: 1.15rem; }
  .menu-toggle { position: relative; z-index: 2; }
  .hero { padding-top: 7rem; }
  .hero h1 { font-size: clamp(3.6rem, 19vw, 6rem); }
  .scroll-note { display: none; }
  .project-card { grid-template-columns: 42px 1fr; gap: 1rem; }
  .project-tag { grid-column: 2; justify-self: start; }
  .gallery-item, .gallery-item-large, .gallery-item-wide { grid-column: 1 / -1; }
  .site-footer { padding: 1.5rem 1.25rem; flex-direction: column; gap: .5rem; }
}
