:root {
  --black: #0e0e0c;
  --ivory: #f4efe7;
  --milk: #e8dfd2;
  --bronze: #b89a6a;
  --muted: #b9b2a8;
  --text: #161616;
  --line-dark: rgba(244, 239, 231, 0.18);
  --line-light: rgba(22, 22, 22, 0.16);
  --container: min(100vw - 88px, 1320px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.012em;
}
h1 {
  margin-bottom: 28px;
  color: var(--ivory);
  font-size: clamp(76px, 9.2vw, 158px);
  line-height: 0.84;
}
h1 em { display: inline-block; font-style: italic; font-weight: 400; }
h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 4.2vw, 74px);
  line-height: 0.96;
}
h3 { margin-bottom: 14px; font-size: 36px; line-height: 0.98; }
p { color: inherit; line-height: 1.65; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 34px;
  height: 76px;
  padding: 0 calc((100vw - var(--container)) / 2);
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(14, 14, 12, 0.62), rgba(14, 14, 12, 0));
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(14, 14, 12, 0.86);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
}
.brand { font-size: 32px; line-height: 1; white-space: nowrap; }
.nav { display: flex; justify-content: center; gap: 58px; font-size: 13px; color: rgba(244, 239, 231, 0.86); }
.nav a, .header-button, .text-link, .site-footer a { transition: color 0.2s ease, opacity 0.2s ease; }
.nav a:hover, .site-footer a:hover { color: var(--bronze); }
.header-button {
  min-width: 176px;
  padding: 16px 22px;
  border: 1px solid rgba(244, 239, 231, 0.55);
  text-align: center;
  font-size: 13px;
}
.header-button:hover { color: var(--black); background: var(--ivory); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(244,239,231,.35); background: transparent; }
.menu-toggle span { display: block; width: 20px; height: 1px; margin: 7px auto; background: var(--ivory); }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero > img { position: absolute; inset: 0; opacity: 0.82; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,14,12,.78) 0%, rgba(14,14,12,.45) 44%, rgba(14,14,12,.18) 100%),
    linear-gradient(180deg, rgba(14,14,12,.26), rgba(14,14,12,.52));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding-top: 84px;
}
.hero-content p {
  max-width: 470px;
  margin-bottom: 38px;
  color: rgba(244, 239, 231, 0.86);
  font-size: 20px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  min-width: 218px;
  min-height: 60px;
  padding: 0 30px;
  border: 1px solid currentColor;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.button::after, .text-link::after { content: "→"; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ivory); border-color: var(--ivory); color: var(--black); }
.button.subtle { color: var(--ivory); background: rgba(14, 14, 12, 0.18); }
.button.subtle:hover { background: var(--ivory); color: var(--black); }
.hero-counter {
  position: absolute;
  right: calc((100vw - var(--container)) / 2);
  top: 48%;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--ivory);
  font-size: 16px;
  font-weight: 600;
}
.hero-counter i { width: 1px; height: 54px; background: rgba(244,239,231,.55); }

.section-light, .dark-section {
  padding: 72px calc((100vw - var(--container)) / 2);
}
.section-light { background: var(--ivory); color: var(--text); }
.dark-section { background: var(--black); color: var(--ivory); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.dark-section .eyebrow { color: var(--ivory); }
.eyebrow::after { content: ""; width: 66px; height: 1px; background: currentColor; opacity: .45; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  margin-top: auto;
  color: var(--text);
  font-size: 14px;
}
.text-link::after { width: 88px; border-bottom: 1px solid currentColor; text-align: right; line-height: 0.2; }
.text-link:hover { color: var(--bronze); }

.featured {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 74px;
  align-items: start;
}
.section-intro { display: flex; min-height: 420px; flex-direction: column; }
.section-intro h2 {
  max-width: 300px;
  font-size: clamp(42px, 3.3vw, 60px);
  line-height: 1.02;
}
.project-editorial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  min-width: 0;
}
.project-card img {
  height: clamp(260px, 22vw, 355px);
  margin-bottom: 18px;
  filter: saturate(.82) contrast(1.03);
  transition: transform .35s ease, filter .35s ease;
}
.project-card:hover img { transform: translateY(-6px); filter: saturate(.98) contrast(1.05); }
.project-meta {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
}
.project-meta > span {
  padding-top: 4px;
  font-size: 13px;
  font-weight: 700;
}
.project-meta h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.05;
}
.project-meta p {
  margin: 0 0 7px;
  color: #5d5750;
  font-size: 13px;
}
.project-meta small { color: #817970; font-size: 13px; }

.philosophy {
  display: grid;
  grid-template-columns: 360px 380px minmax(360px, 1fr);
  gap: 64px;
  align-items: center;
  overflow: hidden;
}
.texture img {
  height: 300px;
  filter: grayscale(.1) contrast(1.08);
}
.philosophy h2 {
  color: var(--milk);
  font-size: clamp(42px, 3.7vw, 68px);
  line-height: 1;
}
.philosophy-copy p {
  max-width: 520px;
  margin-bottom: 46px;
  color: rgba(244, 239, 231, 0.82);
  font-size: 17px;
}
.material-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}
.material-strip span {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(244,239,231,.32);
  background: #211f1d;
  box-shadow: 0 18px 34px rgba(0,0,0,.24);
}
.material-strip span::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 34%, rgba(0,0,0,.22)),
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.18), transparent 24%);
  box-shadow: inset 0 0 22px rgba(0,0,0,.22);
}
.material-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04);
  transform: scale(1.02);
}

.services { padding-top: 66px; padding-bottom: 72px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line-light);
}
.service-item {
  min-height: 252px;
  padding: 0 54px 10px 28px;
  border-right: 1px solid var(--line-light);
}
.service-item span, .process-step span {
  display: block;
  margin-bottom: 34px;
  font-size: 13px;
  font-weight: 700;
}
.service-item h3 { font-size: 40px; }
.service-item p { color: #5f5a53; font-size: 14px; }

.process { padding-top: 58px; padding-bottom: 70px; }
.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.process-step {
  position: relative;
  padding: 0 32px 0 0;
}
.process-step::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 28px;
  top: 6px;
  height: 1px;
  background: rgba(244,239,231,.32);
}
.process-step::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--milk);
}
.process-step span { color: var(--milk); }
.process-step h3 { font-size: 31px; color: var(--milk); }
.process-step p { color: rgba(244,239,231,.62); font-size: 14px; }

.materials {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  padding-top: 0;
  padding-bottom: 0;
  align-items: stretch;
  overflow: hidden;
}
.materials-intro {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: center;
  padding-right: 48px;
}
.materials-intro h2 {
  max-width: 340px;
  font-size: clamp(38px, 3.3vw, 58px);
  line-height: 1.02;
}
.collage {
  display: grid;
  grid-template-columns: 1.05fr .95fr .82fr 1fr .9fr;
  min-height: 340px;
  min-width: 0;
}
.collage img { min-height: 340px; border-left: 1px solid rgba(244,239,231,.4); }

.contact {
  display: grid;
  grid-template-columns: 1.02fr 0.95fr 1fr;
  gap: 48px;
  align-items: end;
  padding-top: 0;
  padding-bottom: 36px;
}
.contact-image { align-self: stretch; margin-left: calc((100vw - var(--container)) / -2); }
.contact-image img { min-height: 430px; }
.contact-copy { padding-top: 58px; }
.contact-copy h2 {
  margin-bottom: 28px;
  color: var(--milk);
  font-size: clamp(42px, 4vw, 72px);
}
.contact-copy > p {
  max-width: 360px;
  color: rgba(244,239,231,.72);
}
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin-top: 34px;
}
.contact-details span, .contact-form span {
  display: block;
  margin-bottom: 7px;
  color: var(--bronze);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-details a, .contact-details p { margin: 0; color: var(--ivory); font-size: 14px; }
.contact-details div:last-child { grid-column: 1 / -1; }
.contact-form {
  display: grid;
  gap: 10px;
}
.contact-form label { display: grid; }
.contact-form input, .contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(244,239,231,.32);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.contact-form textarea { padding-top: 13px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--bronze); background: rgba(244,239,231,.04); }
.contact-form .button {
  width: 62%;
  min-width: 220px;
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto auto;
  gap: 28px;
  padding: 22px calc((100vw - var(--container)) / 2) 28px;
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  color: rgba(244,239,231,.58);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

@media (max-width: 1180px) {
  h2 { font-size: clamp(40px, 7vw, 68px); }
  :root { --container: min(100vw - 48px, 980px); }
  .nav, .header-button { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: block; justify-self: end; }
  .menu-open .nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 18px 24px;
    background: rgba(14,14,12,.96);
    border-bottom: 1px solid var(--line-dark);
  }
  .menu-open .nav a { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .featured, .philosophy, .materials, .contact { grid-template-columns: 1fr; }
  .section-intro { min-height: auto; }
  .section-intro h2, .materials-intro h2 { max-width: 620px; }
  .project-editorial, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy { gap: 42px; }
  .process-line { grid-template-columns: repeat(3, 1fr); gap: 34px 0; }
  .contact-image { margin-left: 0; }
  .contact-form { max-width: 640px; }
  .site-footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  h2 { font-size: clamp(38px, 12vw, 52px); }
  :root { --container: min(100vw - 28px, 520px); }
  .site-header { height: 68px; }
  .brand { font-size: 26px; }
  .hero { min-height: 760px; }
  h1 { font-size: clamp(64px, 19vw, 86px); }
  .hero-content p { font-size: 17px; }
  .hero-counter { display: none; }
  .button { width: 100%; }
  .section-light, .dark-section { padding: 58px calc((100vw - var(--container)) / 2); }
  .project-editorial, .service-grid, .process-line, .material-strip, .contact-details, .site-footer { grid-template-columns: 1fr; }
  .featured { gap: 42px; }
  .section-intro h2, .materials-intro h2 { max-width: 100%; }
  .project-editorial { gap: 34px; }
  .project-card img { height: 310px; }
  .material-strip span { height: auto; }
  .service-grid { border-left: 0; gap: 34px; }
  .service-item { min-height: auto; padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .process-step { padding-right: 0; }
  .process-step::before { right: 0; }
  .collage { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .collage img { min-height: 220px; }
  .contact-form .button { width: 100%; }
}
