:root {
  --ivory: #fff9f1;
  --sand: #f6e3d3;
  --ink: #22120b;
  --ink-soft: #5a4338;
  --gold: #e27a52;
  --gold-deep: #b4421e;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h1 em, h2 em { font-style: italic; color: var(--gold-deep); }
p { margin: 0; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.4rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2.1rem;
  border: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--ivory); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; letter-spacing: 0.12em; text-transform: none; font-size: clamp(1rem, 2.4vw, 1.25rem); font-family: var(--serif); padding: 1rem 2.2rem; }
.btn-light:hover, .btn-light:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(255,249,241,0);
  transition: background .35s, box-shadow .35s;
}
.site-header.scrolled { background: rgba(255,249,241,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(34,18,11,.08); }

.wordmark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--serif); font-size: 1.4rem; letter-spacing: .14em; text-transform: uppercase; }
.wordmark em { font-style: normal; color: var(--gold-deep); }
.mono { width: 38px; height: 38px; flex: none; }

.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); }
.site-header nav a { text-decoration: none; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.site-header nav a:not(.nav-cta) { position: relative; }
.site-header nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.site-header nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { padding: .6rem 1.2rem; border: 1px solid var(--ink); transition: background .3s, color .3s; }
.nav-cta:hover { background: var(--ink); color: var(--ivory); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem; }
.hero-copy h1 { margin-bottom: 2.4rem; }
.hero-photo { position: relative; overflow: hidden; background: var(--sand); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* ---------- Offerings ---------- */
.offerings { background: var(--ink); color: var(--ivory); padding: clamp(4rem, 9vw, 7rem) var(--gutter); }
.offerings .wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.offerings article { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(200,77,39,.5); }
.offerings .num { display: block; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; margin-bottom: .8rem; }
.offerings h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .9rem; }
.offerings p { color: rgba(255,249,241,.72); max-width: 24ch; margin: 0 auto; }

/* ---------- Craft ---------- */
.craft { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); max-width: 1300px; margin: 0 auto; padding: clamp(4.5rem, 10vw, 9rem) var(--gutter); }
.craft-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.craft-copy h2 { margin-bottom: 3rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid rgba(34,18,11,.14); }
.steps li:last-child { border-bottom: 1px solid rgba(34,18,11,.14); }
.steps span { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 1.3rem; line-height: 1.5; }
.steps h3 { font-size: 1.6rem; margin-bottom: .25rem; }
.steps p { color: var(--ink-soft); }

/* ---------- Heirlooms ---------- */
.key { height: 14px; background: url("/images/key.svg") repeat-x center / 28px 14px; opacity: .85; }
.heirloom { background: #feefe2; }
.heirloom-inner { max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(4rem, 9vw, 7.5rem) var(--gutter); }
.heirloom h2 { margin-bottom: 1.8rem; }
.heirloom .lede { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; color: var(--ink-soft); max-width: 34em; margin: 0 auto; }

/* ---------- Gallery ---------- */
.gallery { margin: clamp(4.5rem, 10vw, 9rem) auto 0; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: clamp(.6rem, 1.5vw, 1.2rem); padding: 0 var(--gutter) clamp(4.5rem, 10vw, 9rem); max-width: 1500px; align-items: stretch; }
.gallery figure { margin: 0; overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.gallery figure:hover img { transform: scale(1.04); }
.g1, .g3 { aspect-ratio: 3 / 4.4; }
.g2 { align-self: center; aspect-ratio: 1 / 1; }
.g1 img { object-position: 50% 30%; }
.g3 img { object-position: 50% 45%; }

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; color: #fff; text-align: center; padding: clamp(6rem, 16vw, 12rem) var(--gutter); overflow: hidden; }
.contact-bg, .contact-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(34,18,11,.55), rgba(34,18,11,.7)); }
.contact .eyebrow { color: #f6c8af; }
.place { margin-top: 1.8rem; font-size: .78rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.contact h2 { margin-bottom: 2.6rem; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.contact h2 em { color: #f6c8af; }

/* ---------- Footer ---------- */
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem 2rem; padding: 2.2rem var(--gutter); background: var(--ink); color: rgba(255,249,241,.62); font-size: .74rem; line-height: 1.9; letter-spacing: .18em; text-transform: uppercase; }
.site-footer img { width: min(300px, 70vw); height: auto; }
.site-footer p { text-align: right; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.6,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .site-header { background: rgba(255,249,241,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(34,18,11,.08); }
  .site-header nav a:not(.nav-cta) { display: none; }
  .wordmark { font-size: 1.15rem; letter-spacing: .1em; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 68svh; min-height: 420px; margin-top: var(--header-h); }
  .hero-photo img { object-position: 50% 55%; }
  .hero-copy { padding: 3rem var(--gutter) 4rem; align-items: center; text-align: center; }
  .hero-copy h1 { margin-bottom: 2rem; }

  .offerings .wrap { grid-template-columns: 1fr; gap: 2.5rem; }

  .craft { grid-template-columns: 1fr; }
  .craft-photo img { aspect-ratio: 4 / 4.6; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .site-footer { flex-direction: column; text-align: center; }
  .site-footer p { text-align: center; }
  .g2 { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 3; }
  .g1, .g3 { aspect-ratio: 3 / 4; }
}

@media (max-width: 420px) {
  .wordmark .mono { width: 32px; height: 32px; }
  .nav-cta { padding: .55rem 1rem; }
}

/* ---------- Header refinements ---------- */
.wordmark span { white-space: nowrap; }
@media (min-width: 900px) {
  /* nav sits over the hero photo until the page scrolls */
  .site-header:not(.scrolled) nav a { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
  .site-header:not(.scrolled) .nav-cta { border-color: rgba(255,255,255,.85); }
  .site-header:not(.scrolled) .nav-cta:hover { background: #fff; color: var(--ink); text-shadow: none; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 1rem; letter-spacing: .06em; gap: .5rem; }
}
