/* ────────────────────────────────────────────────────────────
   TOKENS
──────────────────────────────────────────────────────────── */
:root {
  --bg:         #0b0b0b;
  --bg-raised:  #111111;
  --border:     rgba(255, 255, 255, 0.07);
  --text:       #ede8e1;
  --text-muted: #666;
  --accent:     #c8a97e;   /* warm gold */
  --accent-dim: rgba(200, 169, 126, 0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}

/* ────────────────────────────────────────────────────────────
   RESET & BASE
──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img, svg {
  display: block;
}

/* ────────────────────────────────────────────────────────────
   LAYOUT UTILITIES
──────────────────────────────────────────────────────────── */
.container {
  width: min(1100px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 12vw, 9rem);
}

/* ────────────────────────────────────────────────────────────
   NAV
──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.5rem, 5vw, 3.5rem);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  transition: opacity 0.2s;
}
.nav__logo:hover { opacity: 0.7; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  border: 1px solid var(--border);
  padding: 0.45em 1.1em;
  border-radius: 2px;
  color: var(--text) !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav__cta:hover {
  background: var(--accent-dim);
  border-color: var(--accent) !important;
}

/* ────────────────────────────────────────────────────────────
   HERO
──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-inline: clamp(1.5rem, 5vw, 3.5rem);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  max-width: 820px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.2s forwards;
}

.hero__label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 3.5rem;
  line-height: 1.65;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35em;
  transition: color 0.2s, border-color 0.2s;
}
.hero__scroll:hover {
  color: var(--text);
  border-color: var(--text-muted);
}
.hero__scroll svg {
  transition: transform 0.3s var(--ease);
}
.hero__scroll:hover svg {
  transform: translateY(3px);
}

/* Large background monogram */
.hero__bg-text {
  position: absolute;
  right: -0.05em;
  bottom: -0.15em;
  font-family: var(--font-display);
  font-size: clamp(18rem, 30vw, 36rem);
  font-weight: 600;
  color: rgba(200, 169, 126, 0.5);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* ────────────────────────────────────────────────────────────
   SECTION HEADERS
──────────────────────────────────────────────────────────── */
.section__header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.section__num {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ────────────────────────────────────────────────────────────
   WORK LIST
──────────────────────────────────────────────────────────── */
.work__list {
  display: flex;
  flex-direction: column;
}

.work__item {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) forwards;
}

.work__item:nth-child(1) { animation-delay: 0.1s; }
.work__item:nth-child(2) { animation-delay: 0.2s; }
.work__item:nth-child(3) { animation-delay: 0.3s; }
.work__item:nth-child(4) { animation-delay: 0.4s; }

.work__link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 2rem;
  padding: 2rem 0;
  transition: background 0.2s;
  position: relative;
}
.work__link::before {
  content: '';
  position: absolute;
  inset: 0 -1.5rem;
  background: var(--accent-dim);
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: 2px;
}
.work__link:hover::before { opacity: 1; }

.work__meta {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.work__tag {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.work__year {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.work__title {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.work__link:hover .work__title { color: var(--accent); }

.work__desc {
  grid-column: 1;
  grid-row: 3;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.work__arrow {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.25s var(--ease);
}
.work__link:hover .work__arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

/* Placeholder item — not a link */
.work__link--inert {
  cursor: default;
  opacity: 0.4;
}
.work__link--inert::before { display: none; }

/* ────────────────────────────────────────────────────────────
   ABOUT
──────────────────────────────────────────────────────────── */
.about {
  background: var(--bg-raised);
}

.about__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* Photo column */
.about__photo-col {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.about__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%);
  border: 1px solid var(--border);
}

/* Content column */
.about__content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about__body p {
  margin-bottom: 1.2rem;
}

.about__lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 1.8rem !important;
}

.about__body p:not(.about__lead) {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Blocks grid (expertise, experience, etc.) */
.about__blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.about__block h4 {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.about__block li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.about__block li:last-child { border-bottom: none; }

.about__company {
  display: block;
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.15rem;
  letter-spacing: 0.04em;
}

/* ────────────────────────────────────────────────────────────
   CONTACT
──────────────────────────────────────────────────────────── */
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.contact__sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.65;
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.75rem;
  padding: 0.85em 2em;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.contact__btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────── */
.footer {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ────────────────────────────────────────────────────────────
   ANIMATIONS
──────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ────────────────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links {
    gap: 1.5rem;
  }
  .nav__links li:nth-child(1),
  .nav__links li:nth-child(2) {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__photo-col {
    position: static;
    max-width: 280px;
  }

  .about__blocks {
    grid-template-columns: 1fr;
  }

  .work__link {
    grid-template-columns: 1fr 2rem;
  }

  .footer .container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__bg-text {
    display: none;
  }
}
