:root {
  --ink: #1a211c;
  --muted: #3e5147;
  --paper: #e7efe4;
  --sheet: #f6faf4;
  --line: #c5d3c6;
  --moss: #1e5c45;
  --moss-deep: #143d2e;
  --header: 5.4rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Karla, "Trebuchet MS", sans-serif;
  font-size: 1.08rem;
  line-height: 1.6;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(26, 33, 28, 0.09) 0.7px, transparent 0.75px);
  background-size: 15px 15px;
}

body.modal-open { overflow: hidden; }

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

a { color: var(--moss-deep); }

h1, h2, .brand, .hero__brand {
  font-family: Fraunces, "Iowan Old Style", Palatino, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus { top: 0.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem 1.5rem;
  min-height: var(--header);
  padding: 0.7rem 6vw;
  background: rgba(246, 250, 244, 0.95);
  border-bottom: 8px solid var(--moss);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.7rem;
  font-style: italic;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0.4rem 0.7rem;
  border-radius: 0;
  font: 650 0.95rem Karla, sans-serif;
}

.nav { display: flex; gap: 1.5rem; }

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--moss); }

.hero {
  height: calc(100svh - var(--header));
  display: flex;
  flex-direction: column;
  background: var(--moss-deep);
  overflow: hidden;
}

.hero__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: settle 1.15s ease both;
}

.hero__sheet {
  flex: 0 0 auto;
  padding: 1.5rem 6vw 1.8rem;
  color: #f3f7f2;
  background: var(--moss-deep);
}

.hero__sheet > * { animation: rise 0.75s ease both; }
.hero__sheet > *:nth-child(2) { animation-delay: 0.1s; }
.hero__sheet > *:nth-child(3) { animation-delay: 0.2s; }
.hero__sheet > *:nth-child(4) { animation-delay: 0.3s; }

.hero__brand {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-style: italic;
}

.hero h1 {
  margin: 0 0 0.55rem;
  max-width: 16ch;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}

.hero__sheet p { max-width: 38rem; margin-bottom: 0.8rem; }

.rule {
  width: 4.5rem;
  height: 0.55rem;
  margin: 0.2rem 0 0.85rem;
  background: var(--moss);
  border: 0;
}

.hero__sheet .rule { background: #d7e6da; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  background: var(--moss);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  font: 700 1rem Karla, sans-serif;
  cursor: pointer;
}

.btn:hover { background: var(--moss-deep); }

.hero__sheet .btn { background: #f3f7f2; color: var(--moss-deep); }

.hero__sheet .btn:hover { background: #d7e6da; }

.page {
  width: min(46rem, calc(100% - 12vw));
  margin: 0 auto;
  padding: 3.2rem 0 1rem;
}

.page h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}

.lede { font-size: 1.2rem; }

.block {
  width: min(46rem, calc(100% - 12vw));
  margin: 0 auto;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
}

.block h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.num {
  margin: 0 0 0.35rem;
  font-family: Fraunces, serif;
  font-size: 1.4rem;
  color: var(--moss);
}

.block p:last-child { margin-bottom: 0; }

.steps { list-style: none; margin: 0; padding: 0; }

.steps li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.steps span {
  font-family: Fraunces, serif;
  color: var(--moss);
  font-size: 1.25rem;
}

.frame { margin: 1.3rem 0 0; }

.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.frame figcaption { margin-top: 0.5rem; color: var(--muted); }

.address {
  margin: 0;
  font-style: normal;
  font-family: Fraunces, serif;
  font-size: 1.55rem;
  line-height: 1.35;
}

.mail {
  font-family: Fraunces, serif;
  font-size: 1.6rem;
  color: var(--ink);
  font-style: italic;
}

.form {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--ink);
}

label { font-weight: 700; }

input, textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.7rem 0.65rem;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

textarea { min-height: 8.5rem; resize: vertical; }

.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 500;
}

.check input { width: auto; margin-top: 0.3rem; }

.site-footer {
  margin-top: 1rem;
  padding: 2.2rem 6vw 2.6rem;
  background: var(--moss-deep);
  color: #d5e4db;
  border-top: 8px solid var(--moss);
}

.site-footer strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #fff;
  font-family: Fraunces, serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 560;
}

.site-footer a { color: #f3f7f2; }

.site-footer p { margin: 0 0 0.45rem; }

.copy { margin-top: 0.6rem; font-size: 0.95rem; }

.modal[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: end center;
  padding: 1rem;
}

.modal__back { position: absolute; inset: 0; background: rgba(20, 40, 32, 0.55); }

.modal__box {
  position: relative;
  width: min(32rem, 100%);
  padding: 1.4rem 1.3rem 1.2rem;
  background: var(--sheet);
  border-top: 8px solid var(--moss);
}

.modal__box h2 {
  margin: 0 0 0.6rem;
  font-size: 2.2rem;
}

.modal__box button {
  border: 0;
  border-radius: 0;
  background: var(--moss);
  color: #fff;
  padding: 0.7rem 1rem;
  font: 700 1rem Karla, sans-serif;
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
  animation-play-state: paused;
}

[data-reveal].is-in { animation-play-state: running; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

@media (max-width: 800px) {
  :root { --header: 4.2rem; }

  .nav-toggle { display: inline-block; }

  .site-header { min-height: var(--header); }

  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    order: 3;
  }

  .nav.is-open { display: flex; }

  .nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }

  .hero h1 { font-size: 2.15rem; }

  .page, .block { width: min(46rem, calc(100% - 10vw)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img,
  .hero__sheet > *,
  [data-reveal] { animation: none; opacity: 1; transform: none; }
}
