:root {
  --cream: #faf1e8;
  --wine: #9a4352;
  --ink: #3a3d42;
  --gold: #a8926a;
  --blush: #f1d3cc;
  --line: rgba(168, 146, 106, .45);
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 1rem/1.7 Poppins, system-ui, sans-serif;
}

.art {
  position: fixed;
  inset: 0 auto 0 0;
  height: 100%;
  aspect-ratio: 1414/2000;
  background: url(art.jpg) left top/cover no-repeat;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent);
  mask-image: linear-gradient(90deg, #000 80%, transparent);
}

main, footer {
  position: relative;
  z-index: 1;
  margin-left: 46vh;
  padding: 0 clamp(20px, 5vw, 72px);
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  margin: 0;
  line-height: 1.12;
}

h1 {
  color: var(--wine);
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
}

h1 em {
  display: block;
}

h2 {
  color: var(--wine);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: .6em;
}

h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: .3em;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.6rem 0;
}

.sub {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.3;
}

.when {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.lede {
  max-width: 119ch;
}

.org {
  font-size: .9rem;
  max-width: 58ch;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.6rem;
}

.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border: 1px solid var(--wine);
  color: var(--wine);
  text-decoration: none;
  font-weight: 500;
  border-radius: 2px;
  transition: background .2s, color .2s;
}

.btn.solid {
  background: var(--wine);
  color: #fff;
}

.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

section {
  padding: 56px 0;
  background: rgba(250, 241, 232, .82);
  backdrop-filter: blur(2px);
}

.edge {
  margin: 0 calc(-1 * clamp(20px, 5vw, 72px));
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.edge + .edge {
  border-top: 1px solid var(--line);
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 109ch;
}

.points li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.points li:last-child {
  border-bottom: 1px solid var(--line);
}

.points p {
  margin: 0;
}

.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem 3rem;
  max-width: 118ch;
}

.two ul {
  margin: .4rem 0 0;
  padding-left: 1.1em;
}

.two li {
  margin: .3rem 0;
}

footer {
  padding-top: 40px;
  padding-bottom: 48px;
  background: rgba(250, 241, 232, .9);
  font-size: .85rem;
}

.tag {
  letter-spacing: .22em;
  color: var(--gold);
  font-weight: 400;
  margin: 0 0 .6rem;
}

@media (max-width: 899px) {
  .art {
    width: 100%;
    aspect-ratio: auto;
    opacity: .32;
    background-position: left top;
    -webkit-mask-image: none;
    mask-image: none;
  }
  main, footer {
    margin-left: 0;
  }
  .hero {
    min-height: 92vh;
  }
  section {
    background: rgba(250, 241, 232, .88);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

[hidden] {
  display: none !important;
}

.pagehead {
  padding: 64px 0 8px;
  background: rgba(250, 241, 232, .82);
}

.pagehead h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.pagehead p {
  max-width: 119ch;
}

.edge.first {
  border-top: 0;
}

form {
  max-width: 1000px;
}

fieldset {
  border: 0;
  margin: 0 0 1.4rem;
  padding: 0;
}

legend {
  font-family: "Playfair Display", serif;
  color: var(--wine);
  font-size: 1.15rem;
  padding: 0;
  margin-bottom: .6rem;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

label {
  display: block;
  font-size: .88rem;
  font-weight: 400;
}

input[type=text], input[type=email], input[type=tel], input[type=url], select {
  width: 100%;
  margin-top: 4px;
  padding: .7em .8em;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: #fffaf5;
  font: inherit;
  color: var(--ink);
}

input:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 18px;
}

.checks label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 300;
  font-size: .95rem;
}

.checks input {
  accent-color: var(--wine);
  width: 1.1rem;
  height: 1.1rem;
}

.thanks {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--wine);
  background: rgba(241, 211, 204, .5);
  max-width: 620px;
}

dl.facts {
  margin: 0;
}

dl.facts div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 12px;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

dl.facts div:last-child {
  border-bottom: 1px solid var(--line);
}

dl.facts dt {
  font-family: "Playfair Display", serif;
  color: var(--wine);
}

dl.facts dd {
  margin: 0;
}

.mail {
  color: var(--wine);
  font-weight: 500;
}

@media(max-width: 560px) {
  dl.facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* --- Responsive Navigation & Hamburger Menu Styling --- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1000;
}

.logo img {
  max-height: 88px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--wine);
  border-bottom: 1px solid var(--wine);
}

/* --- Mobile Hamburger Button --- */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  position: relative;
  width: 25px;
  height: 2px;
  background: var(--wine);
  transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background: var(--wine);
  transition: all 0.3s ease-in-out;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Hamburger Animation (Cross Icon State) */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* --- Responsive Media Query (Mobile View) --- */
@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.2rem;
    box-shadow: 0 10px 20px rgba(58, 61, 66, 0.08);
    display: none;
  }

  .nav-links.show {
    display: flex !important;
  }
}