:root {
  --espresso: #2a211b;
  --bark: #3a2e25;
  --cream: #f6f0e6;
  --beige: #e9dfce;
  --taupe: #a89880;
  --gold: #b98a4e;
  --ink: #241c15;
  --serif: "Fraunces", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h2 em, .big-line em, .about-text h2 em, .book-text h2 em { font-family: var(--script); font-weight: 400; font-size: 1.25em; color: var(--gold); }
section { padding: 110px 6vw; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 400;
}
.eyebrow.light { color: var(--taupe); }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 6vw;
  color: var(--cream);
  transition: background 0.5s ease, color 0.5s ease, padding 0.5s ease;
  border-bottom: 1px solid rgba(246, 240, 230, 0.25);
}
.nav.scrolled {
  background: var(--cream);
  color: var(--ink);
  padding: 1rem 6vw;
  border-bottom: 1px solid rgba(42, 33, 27, 0.12);
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wordmark span { font-style: italic; text-transform: none; letter-spacing: 0; }
.nav-links { display: flex; gap: 2.4rem; }
.nav-links a, .nav-contact {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after, .nav-contact::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.4s ease;
}
.nav-links a:hover::after, .nav-contact:hover::after { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--espresso);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,33,27,0.42) 0%, rgba(42,33,27,0.18) 45%, rgba(42,33,27,0.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 6vw 9vh;
  color: var(--cream);
}
.hero-title {
  font-size: clamp(2.9rem, 7.2vw, 6.4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-title .line:nth-child(2) { margin-left: 16%; }
.hero-title .line:nth-child(3) { margin-left: 32%; }
.hero-title em { font-family: var(--script); font-weight: 400; font-size: 1.15em; color: #e8c795; }
.hero.loaded .line-inner { transform: translateY(0); }
.hero.loaded .line:nth-child(2) .line-inner { transition-delay: 0.18s; }
.hero.loaded .line:nth-child(3) .line-inner { transition-delay: 0.36s; }
.hero-copy {
  max-width: 520px;
  margin: 2rem 0 2.2rem 32%;
  font-size: 1.05rem;
  color: rgba(246, 240, 230, 0.92);
}
.hero-ctas { display: flex; gap: 2.2rem; margin-left: 32%; align-items: baseline; flex-wrap: wrap; }
.cta {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 400;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
}
.cta .arrow { display: inline-block; transition: transform 0.4s ease; margin-left: 0.4rem; }
.cta:hover .arrow { transform: translateX(6px); }
.cta.ghost { border-bottom-color: rgba(246, 240, 230, 0.45); opacity: 0.85; }
.cta.solid {
  background: var(--espresso);
  color: var(--cream);
  border: none;
  padding: 1rem 1.8rem;
  cursor: pointer;
  transition: background 0.4s ease;
}
.cta.solid:hover { background: var(--bark); }
.hero-note {
  position: absolute;
  right: 6vw; bottom: 2.4rem;
  z-index: 2;
  color: rgba(246, 240, 230, 0.75);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Philosophy */
.philosophy { text-align: center; max-width: 980px; margin: 0 auto; }
.big-line { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 300; margin-bottom: 1.6rem; }
.phil-copy { max-width: 640px; margin: 0 auto 3.4rem; font-size: 1.08rem; color: #4c4136; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(42, 33, 27, 0.16);
  padding-top: 2.4rem;
}
.stat-num { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.stat-label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }

/* Work */
.work { background: #efe7d8; }
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.4rem 2.6rem;
  margin-top: 3rem;
}
.work-card:nth-child(even) { transform: translateY(3rem); }
.work-img { overflow: hidden; aspect-ratio: 3 / 4; background: var(--beige); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s ease; }
.work-card:hover .work-img img { transform: scale(1.05); }
.work-card figcaption { display: flex; gap: 1.1rem; padding-top: 1.2rem; }
.work-num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1rem; padding-top: 0.2rem; }
.work-card h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.work-card p { font-size: 0.96rem; color: #4c4136; }
.work-place { font-size: 0.72rem !important; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe) !important; margin-top: 0.5rem; }

/* Services */
.service-list { margin-top: 2.6rem; border-top: 1px solid rgba(42, 33, 27, 0.16); }
.service-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.2fr;
  gap: 1.6rem;
  align-items: baseline;
  padding: 1.7rem 0.4rem;
  border-bottom: 1px solid rgba(42, 33, 27, 0.16);
  transition: background 0.4s ease, padding-left 0.4s ease;
}
.service-row:hover { background: rgba(233, 223, 206, 0.55); padding-left: 1.2rem; }
.service-num { font-family: var(--serif); font-style: italic; color: var(--gold); }
.service-row h3 { font-size: 1.5rem; }
.service-row p { color: #4c4136; }

/* Process */
.process { background: var(--espresso); color: var(--cream); }
.process h2 { color: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem; margin-top: 3rem; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--gold); display: block; margin-bottom: 1rem; }
.step h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.step p { color: rgba(246, 240, 230, 0.82); }

/* About */
.about { max-width: 780px; margin: 0 auto; text-align: center; }
.about-text p { margin-bottom: 1.1rem; color: #4c4136; font-size: 1.08rem; }
.about-sign { font-family: var(--serif); font-style: italic; color: var(--ink) !important; margin-top: 1.6rem; }

/* Book */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; background: #efe7d8; }
.book-text p { color: #4c4136; font-size: 1.05rem; margin-bottom: 1.1rem; }
.book-alt a { border-bottom: 1px solid var(--gold); font-weight: 400; }
.book-form { display: flex; flex-direction: column; gap: 1.4rem; }
.book-form label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bark); font-weight: 400; }
.book-form input, .book-form select, .book-form textarea {
  width: 100%;
  margin-top: 0.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(42, 33, 27, 0.4);
  padding: 0.7rem 0.1rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { border-bottom-color: var(--gold); }
.book-form textarea { resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--taupe); }

/* Voices */
.voices { text-align: center; max-width: 760px; margin: 0 auto; }
.voices p { color: #4c4136; font-size: 1.05rem; }

/* Contact */
.contact { background: var(--espresso); color: var(--cream); }
.contact-big { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.35; max-width: 720px; margin-bottom: 3rem; }
.contact-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid rgba(246, 240, 230, 0.2); padding-top: 2.2rem; }
.contact-label { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--taupe); margin-bottom: 0.5rem; }
.contact-cols a { border-bottom: 1px solid rgba(246, 240, 230, 0.4); }
.contact-cols a:hover { border-bottom-color: var(--gold); }

/* Footer */
footer { padding: 3.4rem 6vw 2.6rem; text-align: center; background: var(--cream); }
.foot-mark { font-family: var(--serif); font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; }
.foot-tag { font-family: var(--script); font-size: 1.5rem; color: var(--gold); margin: 0.4rem 0 1rem; }
.foot-small { font-size: 0.82rem; color: var(--taupe); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  section { padding: 80px 6vw; }
  .nav-links { display: none; }
  .hero-title .line:nth-child(2) { margin-left: 8%; }
  .hero-title .line:nth-child(3) { margin-left: 16%; }
  .hero-copy, .hero-ctas { margin-left: 0; }
  .hero-note { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 0; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card:nth-child(even) { transform: none; }
  .service-row { grid-template-columns: 44px 1fr; }
  .service-row p { grid-column: 2; }
  .process-grid { grid-template-columns: 1fr; }
  .about, .book { grid-template-columns: 1fr; gap: 2.4rem; }
  .contact-cols { grid-template-columns: 1fr 1fr; }
}
