/* Montvero Consult — a user-pinned romantic wedding-boutique world: warm ivory,
   deep wine and antique gold, a script logotype, editorial serif headlines,
   full-bleed photography, curved section dividers. Held to the craft level of
   a luxury wedding-planning studio, not the flat template it was referenced
   from — see PRODUCT.md Brand Commitments. */

@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/frank-ruhl-400.woff2") format("woff2");
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/frank-ruhl-500.woff2") format("woff2");
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/frank-ruhl-600.woff2") format("woff2");
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/frank-ruhl-700.woff2") format("woff2");
}
@font-face {
  font-family: "Italiana";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/italiana-400.woff2") format("woff2");
}
@font-face {
  font-family: "Pinyon Script";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/pinyon-script-400.woff2") format("woff2");
}

:root {
  --cream: #F7F2EA;
  --cream-deep: #EFE6D6;
  --ink: #2A211C;
  --ink-2: #5C5147;
  --wine: #6B2737;
  --wine-deep: #551E2B;
  --gold: #B08D57;
  --gold-light: #C9A876; /* text on wine only — the deeper gold falls under 4.5:1 there */

  --font-script: "Pinyon Script", cursive;
  --font-display: "Italiana", "Times New Roman", serif;
  --font-body: "Frank Ruhl Libre", Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
  accent-color: var(--wine);
  caret-color: var(--wine);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

::selection { background: var(--wine); color: var(--cream); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 1px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 0.75rem 1.25rem;
  font: 600 0.9375rem var(--font-body);
}
.skip-link:focus { left: 1rem; top: 1rem; }

img { max-width: 100%; display: block; }

/* ---- nav ---- */

.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}
.nav__mark {
  font: 400 2rem var(--font-script);
  color: var(--cream);
  text-decoration: none;
  line-height: 1;
}
.nav__links { display: none; gap: 1.75rem; }
.nav__links a {
  color: var(--cream);
  text-decoration: none;
  font: 500 0.8125rem var(--font-body);
  letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out);
}
.nav__links a:hover { border-color: var(--gold); }
@media (min-width: 40rem) { .nav__links { display: flex; } }

.nav__mark--footer { color: var(--wine); font-size: 2.25rem; margin: 0 0 0.5rem; }

/* ---- hero ---- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  overflow: hidden;
}
.hero__photo {
  grid-area: 1 / 1; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  min-height: 100dvh;
  animation: hero-settle 1.6s var(--ease-out) both;
}
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__scrim {
  grid-area: 1 / 1;
  background: linear-gradient(0deg, rgb(20 14 11 / 0.86) 0%, rgb(20 14 11 / 0.35) 48%, rgb(20 14 11 / 0.15) 75%);
}
.hero__content {
  grid-area: 1 / 1;
  align-self: end;
  padding: 0 clamp(1.25rem, 6vw, 5rem) clamp(4.5rem, 10vw, 7rem);
  max-width: 42rem;
  color: var(--cream);
}
.kicker {
  margin: 0 0 0.5rem;
  font: 400 1.5rem var(--font-script);
  color: var(--gold);
}
.kicker--dark { color: var(--wine); text-align: center; }
.kicker--light { color: var(--gold-light); text-align: center; }

.hero__headline {
  /* sentence case, not caps: this headline is a full sentence, not a short
     label — full caps at this length works against reading it, not for it */
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  line-height: 1.12;
  letter-spacing: 0.005em;
}
.hero__sub {
  margin: 0 0 2rem;
  max-width: 36ch;
  font-size: 1.0625rem;
  color: rgb(247 242 234 / 0.88);
}

.button {
  display: inline-block;
  padding: 1rem 2.25rem;
  background: var(--wine);
  color: var(--cream);
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 1px;
  font: 500 0.8125rem var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.button:hover { background: var(--wine-deep); transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.divider {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(2.5rem, 6vw, 5.5rem);
}
.divider path { fill: var(--cream); }

/* ---- sections ---- */

.section { padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 5vw, 3rem); }
.section__inner { max-width: 56rem; margin: 0 auto; text-align: center; }
.section__inner--narrow { max-width: 42rem; }

.display {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.display--light { color: var(--cream); }

.lede {
  margin: 0 auto;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 1.125rem;
}

/* ---- the two-layer split ---- */

.split {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
  text-align: left;
}
.split__title {
  margin: 0 0 0.5rem;
  font: 600 1.25rem var(--font-body);
  color: var(--wine);
}
.split__text { margin: 0; color: var(--ink-2); max-width: 34ch; }
.split__rule { display: none; }

@media (min-width: 40rem) {
  .split { grid-template-columns: 1fr auto 1fr; align-items: start; gap: 3rem; }
  .split__rule { display: block; width: 1px; align-self: stretch; background: var(--gold); opacity: 0.5; }
}

/* ---- mood photo: a quiet beat between sections ---- */

.mood { margin: 0; }
.mood img { width: 100%; height: clamp(18rem, 40vw, 30rem); object-fit: cover; object-position: 50% 35%; }

/* ---- founders / wine block ---- */

.section--wine { background: var(--wine); }

.steps {
  list-style: none; margin: 3rem 0 0; padding: 0;
  display: grid; gap: 2.5rem;
  text-align: center;
}
.steps__item { display: grid; justify-items: center; gap: 0.75rem; }
.steps__num {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font: 400 1.125rem var(--font-display);
  color: var(--gold-light);
}
.steps__title { margin: 0; font: 600 1.0625rem var(--font-body); color: var(--cream); }
.steps__text { margin: 0; color: rgb(247 242 234 / 0.78); font-size: 0.9375rem; max-width: 28ch; }

@media (min-width: 40rem) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---- contact form ---- */

.form { display: grid; gap: 1.5rem; margin: 2.25rem 0 0; text-align: left; }
.form__row { display: grid; gap: 0.375rem; }
.form__label {
  font: 500 0.8125rem var(--font-body);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
}
.form__input {
  width: 100%;
  padding: 0.75rem 0.125rem;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--ink-2);
  border-radius: 0;
  font: 400 1.0625rem var(--font-body);
  color: var(--ink);
}
.form__input:focus-visible { outline: none; border-color: var(--wine); }
.form__input--area { resize: vertical; min-height: 5.5rem; border: 1.5px solid var(--ink-2); padding: 0.75rem; }
.form .button { justify-self: start; margin-top: 0.5rem; }

/* ---- reveal on scroll: one authored, unhurried moment ---- */

.section, .mood, .hero__content { opacity: 0; transform: translateY(22px); }
.section.is-visible, .mood.is-visible, .hero__content.is-visible {
  animation: reveal 0.8s var(--ease-out) forwards;
}
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .section, .mood, .hero__content, .hero__photo { opacity: 1; transform: none; animation: none; }
}

/* ---- footer ---- */

.site-footer {
  padding: 3rem clamp(1.25rem, 5vw, 3rem) 3.5rem;
  text-align: center;
  color: var(--ink-2);
  font-size: 0.8125rem;
}
.site-footer p { margin: 0.25rem 0; }
