:root {
  --bone: #f4efe6;
  --sand: #e9e0d1;
  --clay: #b5633b;
  --clay-deep: #8f4a29;
  --ink: #1c1a17;
  --ink-soft: #4a453e;
  --line: rgba(28, 26, 23, 0.16);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: italic; color: var(--clay); }
.hidden { position: absolute; left: -9999px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); }
h3 { font-size: 1.75rem; }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow::after { content: ''; width: 3rem; height: 1px; background: currentColor; opacity: 0.6; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font: 400 0.8rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.btn--solid { background: var(--ink); color: var(--bone); }
.btn--solid:hover { background: var(--clay); border-color: var(--clay); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bone); }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem var(--pad);
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}
.nav--scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__logo { display: inline-flex; }
.nav__logo img { height: 84px; width: auto; }

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10.5rem var(--pad) 4rem;
  display: flex;
  align-items: center;
}
.hero__text { max-width: 56rem; }
.hero h1 { font-size: clamp(3.25rem, 8vw, 7.25rem); margin-bottom: 2rem; }
.hero__lede { max-width: 30rem; font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }


/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 12vw, 9rem) var(--pad); }
.section__head { margin-bottom: clamp(3rem, 6vw, 5rem); }

/* Services */
.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.service {
  padding: 2.75rem 2.5rem 3rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  column-gap: 1rem;
  transition: background 0.4s;
}
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 2.5rem; }
.service__num { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 1.25rem; grid-row: span 2; padding-top: 0.25rem; }
.service h3 { margin-bottom: 0.9rem; }
.service p { margin: 0; color: var(--ink-soft); max-width: 28rem; }

/* Approach */
.approach {
  max-width: none;
  background: var(--ink);
  color: var(--bone);
}
.approach > * { max-width: calc(var(--max) - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.section__head--light .eyebrow { color: rgba(244, 239, 230, 0.7); }
.approach em { color: #d98b5f; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.step { border-top: 1px solid rgba(244, 239, 230, 0.25); padding-top: 2rem; }
.step h3 { font-size: 2rem; margin-bottom: 0.75rem; }
.step p { margin: 0; color: rgba(244, 239, 230, 0.72); font-size: 1rem; }

/* Studio */
.studio { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.studio__mark {
  aspect-ratio: 1;
  background: var(--sand);
  border-radius: 50% 50% 0 50%;
  display: grid;
  place-items: center;
}
.studio__mark img { width: 58%; height: auto; }
.studio__text h2 { margin-bottom: 2rem; }
.studio__text p { color: var(--ink-soft); max-width: 36rem; }
.values { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.values li { border-top: 1px solid var(--ink); padding-top: 1rem; display: flex; flex-direction: column; }
.values strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.values span { font-size: 0.9rem; color: var(--ink-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.contact__intro h2 { margin-bottom: 1.75rem; }
.contact__intro p { color: var(--ink-soft); max-width: 26rem; }
.contact__mail {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-style: italic;
  text-decoration: none;
  border-bottom: 1px solid var(--clay);
  color: var(--clay);
  word-break: break-all;
}
.form { display: grid; gap: 1.75rem; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.field { display: grid; gap: 0.5rem; }
.field > span { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; }
.field small { text-transform: none; letter-spacing: 0; color: var(--ink-soft); font-size: 0.8rem; }
.field input, .field select, .field textarea {
  font: 300 1.05rem/1.5 var(--sans);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 26, 23, 0.35);
  padding: 0.6rem 0;
  border-radius: 0;
  transition: border-color 0.3s;
  width: 100%;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c1a17'/%3E%3C/svg%3E") no-repeat right 0.25rem center;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--clay); }
.form__status { margin: 0; min-height: 1.5rem; font-size: 0.95rem; }
.form__status.is-success { color: #3f6b45; }
.form__status.is-error { color: #a3361d; }

/* Footer */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 4rem var(--pad) 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.footer__logo { width: min(320px, 70vw); height: auto; }
.footer__meta {
  width: 100%;
  max-width: calc(var(--max) - 2 * var(--pad));
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(244, 239, 230, 0.2);
  padding-top: 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(244, 239, 230, 0.7);
}
.footer__meta a { text-decoration: none; }
.footer__meta a:hover { color: var(--bone); }

/* Thank-you page */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.thanks__inner { display: grid; justify-items: center; gap: 1.5rem; }
.thanks__logo { width: 220px; height: auto; margin-bottom: 1.5rem; }
.thanks h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
.thanks p { color: var(--ink-soft); max-width: 28rem; margin: 0 0 1rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: 0.1s; }
.hero .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero .reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 10rem; min-height: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .studio, .contact { grid-template-columns: 1fr; }
  .studio__mark { max-width: 320px; }
}

@media (max-width: 760px) {
  .nav__logo img { height: 64px; }
  .hero { padding-top: 8.5rem; }

  .services__list { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 2.25rem 0; border-right: 0; }
  .service:nth-child(odd) { border-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__meta { justify-content: center; text-align: center; }
}
