:root {
  --bg: #f6f1ea;
  --bg-accent: #efe7da;
  --ink: #2f2a24;
  --muted: #6f6557;
  --line: #e0d6c6;
  --accent: #9c7a54;
  --accent-ink: #ffffff;
  --max-width: 640px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, var(--bg-accent), transparent 60%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(0.7rem, 3.5vw, 2rem) 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__mark {
  font-size: clamp(2.75rem, 9vw, 3.75rem);
  line-height: 1;
  margin-bottom: 1rem;
  filter: saturate(0.85);
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(3.5rem, 16vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.hero__tagline {
  margin: 1rem 0 2rem;
  max-width: 28ch;
  font-size: clamp(1.05rem, 3.4vw, 1.2rem);
  color: var(--muted);
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.ig-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px -12px rgba(156, 122, 84, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ig-button:hover,
.ig-button:focus-visible {
  transform: translateY(-2px);
  background: #876746;
  box-shadow: 0 16px 36px -12px rgba(156, 122, 84, 0.8);
}

.ig-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.ig-button__icon {
  flex: none;
}

.hero__handle {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- Feed ---------- */
.feed {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feed__title {
  margin: 0 0 0.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  text-align: center;
  position: relative;
}

.feed__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
}

.feed__embed {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Tame Instagram's injected iframe so it sits nicely in the layout. */
.feed__embed .instagram-media {
  margin: 0 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 420px !important;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  box-shadow: 10px 10px 50px -24px rgba(47, 42, 36, 0.55) !important;
}

/* Fallback shown only if embed.js never upgrades the blockquote. */
.feed__embed .instagram-media--fallback {
  padding: 2rem 1.5rem !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  text-align: center;
}

.feed__embed .instagram-media--fallback a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.feed__embed .instagram-media--fallback a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ig-button {
    transition: none;
  }
}
