﻿:root {
  --bg: #050505;
  --bg-soft: #101010;
  --panel: #151515;
  --paper: #eee9e1;
  --text: #f2eee8;
  --muted: #918d87;
  --muted-strong: #c9c3ba;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #AD2303;
  --accent-strong: #c13a17;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0.01em;
  position: relative;
}

img { display: block; width: 100%; height: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.wordmark {
  font-family: "Playfair Display", serif;
  font-size: 0.87rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
}

.wordmark span,
.contact-link span,
.header-cta span,
.project-number,
.section-kicker,
.eyebrow,
.skills span,
.hero-stamp span,
.resume-link span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  transition: color 0.25s ease;
}

.nav a:hover,
.text-link:hover,
.header-cta:hover,
.contact-link:hover,
.resume-link:hover {
  color: var(--accent-strong);
}

.header-cta {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.64rem;
  color: var(--muted-strong);
  border-bottom: 1px solid rgba(173, 35, 3, 0.8);
  padding-bottom: 0.2rem;
}

.hero {
  min-height: calc(100vh - 78px);
  padding: 7rem 8vw 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  background: #000000;
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
}

.eyebrow,
.section-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1.75rem;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

h1 {
  font-size: clamp(4.5rem, 8vw, 9.5rem);
  margin-bottom: 1.9rem;
}

h1 em,
.statement h2 em,
.approach h2 em {
  color: var(--accent);
  font-style: normal;
}

.hero-intro {
  max-width: 35rem;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.9;
  margin: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.64rem;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-solid {
  background: var(--accent);
  color: #fff;
}

.button-solid span {
  font-size: 1rem;
}

.text-link {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-strong);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 0.35rem;
}

.resume-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--muted-strong);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 0.35rem;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  aspect-ratio: 0.86;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #0b0b0b;
  box-shadow: var(--shadow);
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 14px 14px -14px -14px;
  border: 1px solid rgba(173, 35, 3, 0.65);
  pointer-events: none;
}

.hero-image-wrap img {
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.image-note {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
  z-index: 1;
}

.hero-stamp {
  position: absolute;
  right: -1.25rem;
  bottom: 2rem;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.2;
  font-size: 0.55rem;
  transform: rotate(10deg);
  box-shadow: 0 18px 30px rgba(180, 101, 60, 0.35);
}

.hero-stamp span {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  letter-spacing: -0.08em;
  color: #fff;
}

.hero-meta {
  grid-column: 1 / -1;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.58rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}

.scroll-hint b {
  color: var(--accent);
  margin-left: 0.5rem;
}

.statement {
  background: #0a0a0a;
  color: #f3f1ee;
  padding: 8rem 8vw;
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

.statement-main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.statement h2,
.contact h2,
.section-heading h2,
.approach h2 {
  font-size: clamp(3.8rem, 6.5vw, 8.5rem);
  text-align: center;
}

.statement .section-kicker,
.approach .section-kicker {
  color: var(--accent);
  text-align: center;
}

.statement-copy {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.large-copy {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2.35vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-align: center;
  margin: 0 auto;
}

.statement-copy p:last-child {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 1.2rem;
  text-align: center;
}

.profile-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem 2.5rem;
  margin-top: 1.8rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  text-align: center;
}

.profile-strip > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 110px;
  align-items: center;
}

.profile-strip span {
  color: var(--accent);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-strip strong {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 2vw, 2.5rem);
  letter-spacing: -0.05em;
}

.profile-strip small {
  color: rgba(255,255,255,0.7);
  font-size: 0.76rem;
  line-height: 1.5;
}

.work {
  padding: 8rem 8vw 5rem;
  background: #050505;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-heading h2 {
  margin-top: 0.75rem;
}

.section-aside {
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.8;
}

.work-grid {
  display: flex;
  flex-direction: column;
  gap: 7rem;
}

.project {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.project-info {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.project-number {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.6;
  font-weight: 700;
}

.project-info h3 {
  font-size: clamp(2rem, 2.8vw, 3.5rem);
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem 2.25rem;
}

.project-gallery figure {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.project-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: contain;
  background: #101010;
  border: 0;
  padding: 0.35rem 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.figure-product img {
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1.25 / 1;
}

.figure-detail img {
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1.08 / 1;
}

.project-gallery figure:hover img {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.18);
}

.project-gallery figcaption {
  display: grid;
  gap: 0.55rem;
  max-width: 38rem;
}

.project-gallery figcaption strong {
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(1.3rem, 1.65vw, 1.85rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.project-gallery figcaption span {
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.7;
}

.approach {
  background: var(--paper);
  color: #111;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem);
  padding: 0 8vw;
  align-items: center;
}

.approach-image {
  min-height: 38rem;
  position: relative;
  overflow: hidden;
}

.approach-image img {
  object-fit: cover;
  height: 100%;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
}

.approach-copy {
  padding: 7rem 0;
}

.approach .large-copy {
  margin-top: 1.5rem;
  max-width: 32rem;
}

.skills {
  margin-top: 2.2rem;
  border-top: 1px solid rgba(17,17,17,0.2);
}

.skills > div {
  display: flex;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(17,17,17,0.2);
}

.skills span {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  min-width: 2.5rem;
}

.skills p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.skills small {
  display: block;
  margin-top: 0.2rem;
  color: #5f5a56;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact {
  padding: 8rem 8vw 6rem;
  background: #080808;
}

.contact .section-kicker {
  color: var(--accent);
}

.contact h2 {
  margin: 0.8rem 0 1.4rem;
}

.contact-intro {
  max-width: 42rem;
  color: var(--muted-strong);
  line-height: 1.8;
  margin: 0 0 2.3rem;
}

.contact-link {
  display: inline-block;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  letter-spacing: -0.06em;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 0.5rem;
}

.contact-bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.58rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero,
  .statement-grid,
  .approach {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-meta,
  .section-heading,
  .contact-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-strip {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 1rem;
    height: 72px;
  }

  .nav {
    display: none;
  }

  .wordmark {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .hero,
  .statement,
  .work,
  .contact,
  .approach {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .header-cta {
    font-size: 0.55rem;
  }

  .hero-stamp {
    width: 92px;
    height: 92px;
    right: 0;
  }

  .hero {
    padding-top: 4.5rem;
  }

  h1 {
    font-size: clamp(3.8rem, 16vw, 6rem);
  }

  .statement,
  .work,
  .contact {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .statement h2,
  .contact h2,
  .section-heading h2,
  .approach h2 {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .statement-grid {
    gap: 2.25rem;
  }

  .statement-copy {
    max-width: 34rem;
  }

  .large-copy {
    font-size: 1.55rem;
  }

  .project {
    padding-top: 1rem;
  }

  .project-info {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .project-info h3 {
    font-size: clamp(1.7rem, 7vw, 2.5rem);
    line-height: 1.04;
  }

  .project-gallery {
    gap: 1.5rem;
  }

  .project-gallery figure {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .project-gallery img {
    aspect-ratio: 4 / 5;
    object-fit: contain;
    padding: 0.2rem 0;
  }

  .figure-product img,
  .figure-detail img {
    aspect-ratio: 4 / 5;
    object-fit: contain;
  }

  .project-gallery figcaption {
    gap: 0.35rem;
    padding: 0 0.1rem;
  }

  .project-gallery figcaption strong {
    font-size: 1.35rem;
  }

  .project-gallery figcaption span {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .section-heading {
    margin-bottom: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}
