/* =================================================================
   KITCHRIX — Landing page styles
   Palette: cream, ink, saffron, turmeric, chili, leaf
   Type: Fraunces (display) + Source Serif 4 (body)
   ================================================================= */

:root {
  /* Brand */
  --cream: #f7f2e8;
  --cream-deep: #efe7d4;
  --cream-warm: #fbf6ec;
  --ink: #1f1a14;
  --ink-soft: #3a322a;
  --ink-mute: #6b5e51;
  --saffron: #a44e10;
  --saffron-deep: #883e08;
  --turmeric: #d49620;
  --chili: #9a2618;
  --leaf: #4a6741;

  /* Type scale */
  --display: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --body: "Source Serif 4", "Source Serif Pro", "Georgia", serif;

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Reused tiny eyebrow */
.section__eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin: 0 0 1.25rem 0;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 232, 0.96);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(31, 26, 20, 0.08);
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav__mark {
  display: flex;
  align-items: center;
  width: 32px;
  height: 32px;
}
.nav__mark img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  display: block;
}
.nav__wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-feature-settings: "ss01" on;
}
.nav__links {
  display: flex;
  gap: 2rem;
  font-size: 0.94rem;
}
.nav__links a {
  color: var(--ink-soft);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--saffron); }
.nav__links a[aria-current="page"] {
  color: var(--saffron);
}
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--saffron);
}

@media (max-width: 640px) {
  .nav__links { display: none; }
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  padding: clamp(4rem, 14vh, 11rem) var(--gutter) clamp(4rem, 10vh, 8rem);
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__welcome {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--saffron);
  margin: 0 0 2.5rem 0;
  position: relative;
  padding: 0 2.5rem;
}
.hero__welcome::before,
.hero__welcome::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.5rem;
  height: 1px;
  background: var(--saffron);
  opacity: 0.5;
}
.hero__welcome::before { left: 0; }
.hero__welcome::after { right: 0; }

.hero__logo {
  margin: 0 0 3rem 0;
  display: flex;
  justify-content: center;
}
.hero__logo svg {
  width: clamp(96px, 11vw, 140px);
  height: auto;
}

.hero__headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 2rem 0;
  font-feature-settings: "ss01" on, "ss02" on;
  text-wrap: balance;
}
.hero__headline em {
  font-style: italic;
  color: var(--saffron);
  font-weight: 400;
}

.hero__sub {
  font-family: var(--body);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Signup form */
.signup {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  max-width: 540px;
  align-items: stretch;
  margin: 0 auto;
}
.signup input[type="email"] {
  flex: 1;
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1.5px solid rgba(31, 26, 20, 0.18);
  background: var(--cream-warm);
  color: var(--ink);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.signup input[type="email"]:focus {
  border-color: var(--saffron);
  background: #fff;
}
.signup input[type="email"]::placeholder {
  color: var(--ink-mute);
  opacity: 0.7;
}
.signup button {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--ink);
  color: var(--cream);
  border: 1.5px solid var(--ink);
  padding: 0.95rem 1.5rem;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.signup button:hover {
  background: var(--saffron);
  border-color: var(--saffron);
}
.signup button:active { transform: translateY(1px); }

.signup__note {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin: 0.9rem auto 0;
  font-style: italic;
  text-align: center;
}

@media (max-width: 540px) {
  .signup { flex-direction: column; }
  .signup button { padding: 0.95rem 1.2rem; }
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-mute);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--ink-mute);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--saffron);
  transform: translateY(-100%);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

@media (max-width: 768px) {
  .hero__scroll-cue { display: none; }
}

/* =================================================================
   FOOD STRIP — auto-scrolling marquee + scroll-driven progressive blur
   ================================================================= */
.strip {
  position: relative;
  width: 100%;
  margin: clamp(2rem, 6vh, 5rem) 0;
}

/* JS sets --p (0 → 1) on this element based on scroll position */
.strip__viewport {
  position: relative;
  width: 100%;
  height: clamp(320px, 48vh, 460px);
  overflow: hidden;
  --p: 0;
}

/* The track holds 14 tiles (7 dishes × 2 copies) and slides left forever */
.strip__track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: marquee 60s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  from { transform: translateX(0); }
  /* -50% because the track contains 2 copies; sliding 50% loops seamlessly */
  to   { transform: translateX(-50%); }
}

.strip__tile {
  flex: 0 0 auto;
  width: clamp(280px, 32vw, 440px);
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--saffron);
  position: relative;
  /* Progressive blur driven by --p (0 = sharp, 1 = blurred) */
  filter:
    blur(calc(var(--p) * 10px))
    saturate(calc(110% - var(--p) * 25%))
    brightness(calc(1 + var(--p) * 0.05));
}

/* Subtle separators between tiles */
.strip__tile + .strip__tile {
  margin-left: 2px;
}

/* Placeholder labels for missing images */
.strip__tile::before {
  content: attr(data-dish);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.4vw, 1.15rem);
  color: rgba(247, 242, 232, 0.6);
  text-align: center;
  padding: 1rem;
  pointer-events: none;
}
.strip__tile[style*="url("]::before {
  display: none;
}

/* Cream tint overlay — opacity tracks scroll progress */
.strip__overlay {
  position: absolute;
  inset: 0;
  background: rgba(247, 242, 232, 0.6);
  opacity: var(--p);
  pointer-events: none;
}

/* Tagline — opacity & lift track scroll progress
   Squaring --p makes the text fade in later than the blur starts,
   so the moment unfolds in two stages: blur first, then text. */
.strip__tagline {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.25rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--saffron);
  text-align: center;
  text-transform: uppercase;
  opacity: calc(var(--p) * var(--p));
  transform: translateY(calc((1 - var(--p)) * 16px));
  pointer-events: none;
  font-feature-settings: "ss01" on;
  padding: 0 1rem;
}
.strip__tagline em {
  font-style: italic;
  color: var(--saffron-deep);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.015em;
}
.strip__tagline span:first-child {
  text-transform: lowercase;
  font-style: normal;
}
.strip__tagline span {
  display: block;
}

@media (max-width: 640px) {
  .strip__viewport { height: clamp(260px, 40vh, 360px); }
  .strip__tile { width: clamp(220px, 60vw, 320px); }
}

@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
  .strip__tile { filter: blur(4px) saturate(85%); }
  .strip__overlay { opacity: 1; }
  .strip__tagline { opacity: 1; transform: none; }
}

/* =================================================================
   WHAT IT IS — Steps
   ================================================================= */
.what {
  padding: clamp(4rem, 10vh, 8rem) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.what__headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1.75rem 0;
  max-width: 880px;
  text-wrap: balance;
}
.what__lede {
  font-family: var(--body);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 660px;
  margin: 0 0 4rem 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  border-top: 1px solid rgba(31, 26, 20, 0.12);
  padding-top: 3rem;
}
.step {
  position: relative;
}
.step__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--saffron);
  display: block;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}
.step h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.65rem 0;
  letter-spacing: -0.01em;
}
.step p {
  font-family: var(--body);
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* =================================================================
   APP PREVIEW
   ================================================================= */
.preview {
  background: var(--cream-deep);
  padding: clamp(4rem, 10vh, 8rem) var(--gutter);
}
.preview__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.preview__headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 3rem 0;
  max-width: 800px;
}
.preview__headline em {
  font-style: italic;
  color: var(--saffron);
}

.preview__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  align-items: end;
}
@media (max-width: 900px) {
  .preview__grid {
    grid-template-columns: 1fr 1fr;
  }
  .preview__phone--feature { grid-column: 1 / -1; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .preview__grid { grid-template-columns: 1fr; gap: 3rem; }
  .preview__phone--feature { grid-column: auto; }
}

.preview__phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.preview__phone figcaption {
  font-family: var(--body);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-mute);
  text-align: center;
  max-width: 240px;
}

/* Phone mockup */
.phone {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 32px;
  padding: 8px;
  box-shadow:
    0 20px 40px -10px rgba(31, 26, 20, 0.25),
    0 0 0 1.5px rgba(31, 26, 20, 0.08);
  position: relative;
}
.preview__phone--feature .phone { max-width: 320px; }

.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: #000;
  border-radius: 4px;
  z-index: 2;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: var(--cream);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.screen {
  padding: 2.2rem 1rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  color: var(--ink);
}
.screen__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}
.screen__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.screen__count {
  font-size: 0.7rem;
  color: var(--saffron);
  font-weight: 500;
}

/* Pantry screen */
.screen__search {
  background: var(--cream-deep);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  color: var(--ink-mute);
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
}
.screen__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  overflow: hidden;
}
.chip {
  font-size: 0.7rem;
  padding: 0.32rem 0.6rem;
  border-radius: 20px;
  background: var(--cream-deep);
  color: var(--ink-mute);
  border: 1px solid rgba(31, 26, 20, 0.08);
  white-space: nowrap;
}
.chip--on {
  background: var(--saffron);
  color: var(--cream);
  border-color: var(--saffron);
}

/* List screen */
.screen--list { gap: 0.6rem; }
.recipe-card {
  background: #fff;
  border-radius: 8px;
  padding: 0.6rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 1px 3px rgba(31, 26, 20, 0.06);
}
.recipe-card__img {
  width: 100%;
  height: 60px;
  background-size: cover;
  background-position: center;
  background-color: var(--saffron);
  border-radius: 5px;
  margin-bottom: 0.5rem;
}
.recipe-card h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.92rem;
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.005em;
}
.recipe-card__status {
  font-size: 0.7rem;
  margin: 0 0 0.2rem 0;
  color: var(--ink-mute);
}
.recipe-card__status.status--ok { color: var(--leaf); font-weight: 500; }
.recipe-card__meta {
  font-size: 0.68rem;
  color: var(--ink-mute);
  margin: 0;
}

/* Recipe detail screen */
.screen--recipe { padding-top: 0; }
.screen__hero {
  height: 110px;
  background-size: cover;
  background-position: center;
  background-color: var(--saffron);
  margin: 0 -1rem 1rem;
}
.screen__recipe-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 0.15rem 0;
  letter-spacing: -0.01em;
}
.screen__recipe-region {
  font-family: var(--body);
  font-style: italic;
  font-size: 0.72rem;
  color: var(--ink-mute);
  margin: 0 0 1rem 0;
}
.screen__steps {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.step-row {
  display: flex;
  gap: 0.6rem;
  font-size: 0.78rem;
  margin: 0;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(31, 26, 20, 0.08);
}
.step-row span {
  font-family: var(--display);
  font-style: italic;
  color: var(--saffron);
  font-size: 0.75rem;
  min-width: 1.5rem;
}
.screen__tip {
  font-size: 0.72rem;
  color: var(--ink-soft);
  background: var(--cream-warm);
  padding: 0.55rem 0.7rem;
  border-radius: 5px;
  border-left: 2px solid var(--turmeric);
  margin: 0;
  font-style: italic;
}

/* =================================================================
   RECIPES SECTION
   ================================================================= */
.recipes {
  padding: clamp(4rem, 10vh, 8rem) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.recipes__headline {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 1.25rem 0;
}
.recipes__lede {
  font-family: var(--body);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 0 3.5rem 0;
  line-height: 1.55;
}

.recipes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.recipe-feature {
  background: #fff;
  border: 1px solid rgba(31, 26, 20, 0.08);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.recipe-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(31, 26, 20, 0.18);
}
.recipe-feature__img {
  height: 280px;
  background-size: cover;
  background-position: center;
  background-color: var(--saffron);
  position: relative;
}
.recipe-feature__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--cream);
  color: var(--ink);
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
}
.recipe-feature__body { padding: 1.75rem 1.75rem 2rem; }
.recipe-feature h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0 0 0.6rem 0;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.recipe-feature p {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0 0 1.25rem 0;
  line-height: 1.55;
}
.recipe-feature__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
  border-top: 1px solid rgba(31, 26, 20, 0.08);
  padding-top: 1rem;
}

/* =================================================================
   ABOUT
   ================================================================= */
.about {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
}
.about__inner {
  max-width: 820px;
  margin: 0 auto;
}
.about .section__eyebrow { color: var(--turmeric); }
.about__headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem 0;
  color: var(--cream);
}
.about__body p {
  font-family: var(--body);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: rgba(247, 242, 232, 0.85);
  margin: 0 0 1.25rem 0;
}
.about__body strong {
  color: var(--turmeric);
  font-weight: 500;
}

/* =================================================================
   CTA
   ================================================================= */
.cta {
  background: var(--saffron);
  color: var(--cream);
  padding: clamp(4rem, 10vh, 7rem) var(--gutter);
  text-align: center;
}
.cta__inner {
  max-width: 680px;
  margin: 0 auto;
}
.cta__headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1rem 0;
}
.cta__headline em {
  font-style: italic;
  color: var(--cream-deep);
}
.cta__sub {
  font-family: var(--body);
  font-size: 1.1rem;
  margin: 0 0 2.5rem 0;
  color: rgba(247, 242, 232, 0.92);
}

.signup--dark { margin: 0 auto; }
.signup--dark input[type="email"] {
  background: var(--cream);
  border-color: var(--cream);
}
.signup--dark input[type="email"]:focus {
  border-color: var(--ink);
  background: #fff;
}
.signup--dark button {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.signup--dark button:hover {
  background: var(--cream);
  color: var(--ink);
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: var(--cream-deep);
  padding: 3rem var(--gutter) 2rem;
  border-top: 1px solid rgba(31, 26, 20, 0.08);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer__brand p {
  font-family: var(--body);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-mute);
  margin: 0.25rem 0 0 0;
}
.footer__links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.92rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer__links a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--saffron); }
.footer__copy {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin: 2rem 0 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(31, 26, 20, 0.08);
  font-style: italic;
}

@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

/* =================================================================
   CONTACT PAGE
   ================================================================= */
.page--contact { background: var(--cream); }
.contact {
  padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(4rem, 10vh, 7rem);
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 70vh;
}
.contact__headline {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 1rem 0;
}
.contact__lede {
  font-family: var(--body);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 0 4rem 0;
  line-height: 1.55;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 800px) {
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
}

.contact__form { display: flex; flex-direction: column; gap: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 500;
}
.field input, .field textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(31, 26, 20, 0.18);
  background: var(--cream-warm);
  color: var(--ink);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-color: var(--saffron);
  background: #fff;
}
.contact__form button {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--ink);
  color: var(--cream);
  border: 1.5px solid var(--ink);
  padding: 1rem 1.5rem;
  border-radius: 2px;
  align-self: flex-start;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}
.contact__form button:hover { background: var(--saffron); border-color: var(--saffron); }

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding: 2rem;
  background: var(--cream-deep);
  border-left: 3px solid var(--saffron);
}
.contact__block-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 500;
  margin: 0 0 0.6rem 0;
}
.contact__email {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  border-bottom: 1.5px solid var(--saffron);
  display: inline-block;
  transition: color 0.2s ease;
}
.contact__email:hover { color: var(--saffron); }

.contact__socials { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.contact__socials a {
  font-size: 1rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.contact__socials a:hover { color: var(--saffron); }

.contact__block--note p {
  font-family: var(--body);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0;
}

/* =================================================================
   MOTION PREFERENCES
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
