:root {
  --ivory: #faf7f2;
  --linen: #f3eee6;
  --sand: #e8e0d3;
  --clay: #b06b4a;
  --clay-deep: #96532f;
  --ink: #2b2723;
  --ink-soft: #57504a;
  --hairline: rgba(43, 39, 35, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --measure: 62ch;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--clay); color: var(--ivory); }

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  background: var(--ink); color: var(--ivory);
  padding: 0.6rem 1rem;
  text-decoration: none;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
  gap: 1rem;
}
.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand span { color: var(--clay-deep); }
.brand img { height: 42px; width: auto; display: block; }
footer .brand img { height: 38px; filter: invert(1); }
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
nav a:hover, nav a[aria-current="page"] { color: var(--clay-deep); }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.4rem;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  line-height: 0;
}
.nav-toggle-label svg { width: 22px; height: 22px; stroke: var(--ink); }

@media (max-width: 720px) {
  .nav-toggle-label { display: inline-block; }
  nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--hairline);
    display: none;
  }
  .nav-toggle:checked ~ nav { display: block; }
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
  }
  nav li { border-top: 1px solid var(--hairline); }
  nav li:first-child { border-top: 0; }
  nav a { display: block; padding: 0.85rem 0; font-size: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(4rem, 10vh, 8rem) clamp(3rem, 8vh, 6rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 1.2rem;
}
h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}
h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--clay-deep);
}
.hero p {
  max-width: 46ch;
  color: var(--ink-soft);
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Photography ---------- */
.plate {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(155deg, #d8c9b4 0%, #c4a98b 55%, #a67c58 100%);
}
.plate .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plate .plate-tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: rgba(43,39,35,0.45);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.plate.tall { aspect-ratio: 4 / 5; }
.plate .monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.plate .monogram img { width: 42%; height: auto; }
.founder-plate { background: var(--linen); border: 1px solid var(--hairline); }
.plate.wide { aspect-ratio: 16 / 10; }
.plate.square { aspect-ratio: 1; }

/* ---------- Sections ---------- */
section { padding-block: clamp(3.5rem, 9vh, 7rem); }
.section-head { max-width: var(--measure); margin-bottom: clamp(2rem, 5vh, 3.5rem); }
h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.section-head p { color: var(--ink-soft); }

.tinted { background: var(--linen); }

/* Philosophy */
.philosophy blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  max-width: 30ch;
  margin-inline: auto;
  text-align: center;
}
.philosophy blockquote em { color: var(--clay-deep); }

/* Services / value cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.card .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay-deep);
  font-size: 1.1rem;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.25;
}
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem 1.5rem;
  counter-reset: step;
}
.step { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay-deep);
  display: block;
  margin-bottom: 0.5rem;
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }

/* Portfolio */
.folio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.folio-grid figure { margin: 0; }
.folio-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.folio-grid figcaption strong { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .folio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .folio-grid { grid-template-columns: 1fr; } }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-grid p + p { margin-top: 1rem; }
.about-grid p { color: var(--ink-soft); max-width: var(--measure); }
.about-grid .sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
  margin-top: 1.6rem;
}
.about-grid .btn { margin-top: 1.6rem; }

/* Prose blocks (about page) */
.prose { max-width: var(--measure); }
.prose p { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }

/* Photo band (about page) */
.photo-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.photo-band figure { margin: 0; }
.photo-band figcaption {
  padding-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
@media (max-width: 640px) { .photo-band { grid-template-columns: 1fr; } }

/* Testimonial */
.testimonial figure { max-width: 52rem; margin-inline: auto; text-align: center; }
.testimonial blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.4;
}
.testimonial figcaption {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Contact + fact lists */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.contact-list { list-style: none; margin-top: 1.5rem; }
.contact-list li {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.97rem;
}
.contact-list .label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  align-self: center;
}
form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
input, textarea, select {
  font: inherit;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--clay-deep);
  outline-offset: 1px;
  border-color: transparent;
}
textarea { resize: vertical; min-height: 7.5rem; }
form .btn { justify-self: start; cursor: pointer; }

/* CTA banner (about page) */
.cta-banner { text-align: center; }
.cta-banner p {
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto 2rem;
}

@media (max-width: 820px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid .plate { order: -1; }
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--sand);
  padding-block: 3rem 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(250,247,242,0.15);
}
footer .brand { color: var(--ivory); }
footer .brand span { color: var(--clay); }
.footer-nav { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-nav a, .social a {
  color: var(--sand);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav a:hover, .social a:hover { color: var(--ivory); }
.social { display: flex; gap: 1.25rem; list-style: none; }
.social a svg { width: 22px; height: 22px; fill: currentColor; display: block; transition: opacity 0.2s ease; }
.social a:hover svg { opacity: 0.7; }
.legal {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(232,224,211,0.65);
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
