:root {
  --background: #f7f4ee;
  --foreground: #1f1b16;
  --muted: #ece7dd;
  --muted-foreground: #6b6258;
  --border: #e2dccf;
  --accent: #a86b3f;
  --primary: #1f1b16;
  --primary-foreground: #f7f4ee;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}
@media (min-width: 768px) { .header-inner { padding: 2rem 2.5rem; } }
.brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; }
.brand-mark {
  width: 2.5rem; height: 2.5rem;
  background: var(--primary);
  border-radius: 9999px;
  display: grid; place-items: center;
}
.brand-mark img { width: 1.25rem; height: 1.25rem; filter: invert(1); }
.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
@media (min-width: 768px) { .brand-name { font-size: 1.5rem; } }
.amp { opacity: 0.6; }
.header-tag {
  display: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.8);
}
@media (min-width: 768px) { .header-tag { display: block; } }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.3) 50%, rgba(0,0,0,.8));
}
.hero-content {
  padding: 8rem 1.5rem 5rem;
  color: #fff;
}
@media (min-width: 768px) {
  .hero-content { padding: 10rem 2.5rem 7rem; }
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--accent);
}
.eyebrow-light { color: rgba(255,255,255,0.8); }

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-top: 1.5rem;
  max-width: 56rem;
  color: #fff;
}
.hero-title em { font-style: normal; color: rgba(255,255,255,0.8); }

.hero-lede {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
}
@media (min-width: 768px) { .hero-lede { font-size: 1.25rem; } }

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--primary);
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background .2s ease, transform .2s ease;
}
.btn-pill:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); }

.link-quiet {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.8);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.link-quiet:hover { color: #fff; border-color: rgba(255,255,255,0.6); }

/* Story section */
.story { background: var(--background); }
.story-grid {
  display: grid;
  gap: 4rem;
  padding: 6rem 1.5rem;
}
@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding: 8rem 2.5rem;
  }
}
.story-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-text { display: flex; flex-direction: column; justify-content: center; }
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.15;
  margin-top: 1.5rem;
}
.prose { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; color: var(--muted-foreground); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .prose { font-size: 1.125rem; } }
.prose .emphasized { color: var(--foreground); }

/* Info section */
.info { background: var(--muted); }
.info-grid {
  display: grid;
  gap: 4rem;
  padding: 6rem 1.5rem;
}
@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 8rem 2.5rem;
  }
}
.card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin-top: 1.25rem;
}
@media (min-width: 768px) { .card-title { font-size: 1.875rem; } }
.muted { color: var(--muted-foreground); margin-top: 1rem; font-style: normal; }
.link-underline {
  display: inline-block;
  margin-top: 1.5rem;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--foreground);
  font-weight: 500;
  transition: color .2s ease, border-color .2s ease;
}
.link-underline:hover { color: var(--accent); border-color: var(--accent); }

/* Contact section */
.contact { background: var(--background); border-top: 1px solid var(--border); }
.contact-grid {
  display: grid;
  gap: 2.5rem;
  padding: 6rem 1.5rem;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 4rem;
    padding: 8rem 2.5rem;
  }
}
.contact-intro .muted { max-width: 34ch; }
.contact-form {
  display: grid;
  gap: 1.1rem;
}
.field-group {
  display: grid;
  gap: 0.45rem;
}
.field-group label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--foreground);
  font: inherit;
  padding: 0.85rem 0.95rem;
}
.field-group textarea {
  resize: vertical;
  min-height: 9rem;
}
.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 107, 63, 0.14);
}
.contact-submit {
  justify-self: start;
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--background);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
  }
}
.brand-small { display: flex; align-items: center; gap: 0.75rem; }
.brand-small img { width: 1.25rem; height: 1.25rem; }
.brand-small span { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1rem; color: var(--foreground); }
.site-footer a:hover { color: var(--foreground); }

/* Reveal animation (JS-driven) */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s cubic-bezier(.22,1,.36,1) var(--d, 0s),
              transform 1s cubic-bezier(.22,1,.36,1) var(--d, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
}
