
:root {
  --ink: #292724;
  --muted: #766f69;
  --paper: #f6f2ee;
  --paper-2: #eee7e1;
  --card: rgba(249, 246, 242, 0.96);
  --accent: #a7675c;
  --accent-dark: #895247;
  --line: rgba(69, 57, 50, 0.17);
  --white: #fff;
  --success: #506b58;
  --danger: #98554b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 18px;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

.mono,
.site-nav,
.hero-title,
.kicker,
.button,
input,
select,
textarea,
label,
.form-question,
.timeline-time,
.footer,
.small {
  font-family: "Roboto Mono", monospace;
}

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 26, 23, .62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.nav-inner {
  width: min(1180px, calc(100% - 34px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 27px;
}

.nav-link,
.dropdown-toggle {
  position: relative;
  padding: 24px 0 18px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .69rem;
  letter-spacing: .08em;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active,
.dropdown:hover .dropdown-toggle,
.dropdown:focus-within .dropdown-toggle {
  border-bottom-color: rgba(255,255,255,.92);
}

.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% - 5px);
  left: 50%;
  min-width: 210px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(249,246,242,.99);
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition: 160ms ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  padding: 11px 13px;
  border-radius: 8px;
  text-decoration: none;
  font-size: .72rem;
  color: var(--ink);
}

.dropdown-menu a:hover { background: rgba(167,103,92,.09); }

/* HERO */
.hero {
  min-height: min(78vh, 760px);
  display: grid;
  place-items: center;
  padding: 70px 20px 110px;
  color: white;
  text-align: center;
  background:
    linear-gradient(rgba(23,19,17,.25), rgba(23,19,17,.52)),
    url("../images/hero.png") center 30% / cover no-repeat;
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: .055em;
  line-height: 1.03;
  text-shadow: 0 3px 30px rgba(0,0,0,.30);
}

.hero-meta {
  margin-top: 24px;
  font-family: "Roboto Mono", monospace;
  font-size: .78rem;
  letter-spacing: .08em;
  line-height: 1.9;
}

.hero-heart { margin-top: 16px; font-size: .95rem; }

/* COMMON */
.page {
  width: min(900px, calc(100% - 28px));
  margin: -58px auto 64px;
  position: relative;
  z-index: 2;
}

.sheet {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 25px 90px rgba(35,24,18,.22);
  backdrop-filter: blur(9px);
}

.section {
  padding: 58px 54px;
  border-top: 1px solid var(--line);
}

.section:first-child { border-top: 0; }

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3, h4 { font-weight: 500; }
h2 {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}
h3 { margin: 0 0 14px; font-size: 1.25rem; }

.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.85;
}

.prose p { margin: 0 0 22px; }
.prose p:last-child { margin-bottom: 0; }

.center { text-align: center; }

.button {
  display: inline-block;
  padding: 11px 15px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 500;
  cursor: pointer;
}
.button:hover { background: var(--accent-dark); }

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.info-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.60);
}

.info-card-body { padding: 20px; }
.info-card p { margin: 0 0 15px; line-height: 1.65; }

.map {
  width: 100%;
  height: 245px;
  border: 0;
  display: block;
  filter: grayscale(.35) contrast(.95);
}

.notice {
  margin-top: 22px;
  padding: 17px 18px;
  border: 1px solid rgba(167,103,92,.16);
  border-radius: 11px;
  background: rgba(167,103,92,.08);
  line-height: 1.7;
}

.inventory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 26px 0;
}

.inventory-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  text-align: center;
}

.inventory-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-family: "Roboto Mono", monospace;
  font-size: 1.7rem;
}

/* TIMELINE */
.timeline {
  width: min(700px, 100%);
  margin: 30px auto 0;
  text-align: center;
}

.day-title {
  margin: 45px 0 25px;
  font-family: "Roboto Mono", monospace;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.timeline-item {
  position: relative;
  padding: 0 0 36px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46px;
  bottom: 0;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.timeline-item.last::after { display: none; }

.timeline-icon {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--card);
  color: var(--accent);
}

.timeline-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-time {
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 500;
}

.timeline-item h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.timeline-place {
  margin-bottom: 9px;
  color: var(--muted);
  font-style: italic;
}

.timeline-copy {
  width: min(580px, 100%);
  margin: 0 auto;
  line-height: 1.65;
}

.inline-map {
  width: min(620px, 100%);
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.inline-map iframe { width: 100%; height: 220px; border: 0; display: block; }

/* FORM */
.form {
  width: min(720px, 100%);
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.full { grid-column: 1 / -1; }

label,
.form-question {
  display: block;
  margin: 0 0 8px;
  font-size: .72rem;
  line-height: 1.5;
}

.required { color: var(--accent); }

input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.80);
  color: var(--ink);
  font-size: .8rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(167,103,92,.10);
}

textarea { min-height: 115px; resize: vertical; }

.hint {
  margin-top: 7px;
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
  font-size: .66rem;
  line-height: 1.55;
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.58);
  cursor: pointer;
}
.radio-card input { width: auto; margin: 0; accent-color: var(--accent); }

.form-block {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.form-block h3 {
  font-family: "Roboto Mono", monospace;
  font-size: .86rem;
  font-weight: 500;
}

.status {
  display: none;
  margin-top: 20px;
  padding: 16px;
  border-radius: 9px;
  text-align: center;
  font-family: "Roboto Mono", monospace;
  font-size: .72rem;
  line-height: 1.6;
}

.status.success { display: block; color: var(--success); background: #edf3ed; }
.status.error { display: block; color: var(--danger); background: #f7e8e5; }

.submit {
  width: 100%;
  margin-top: 30px;
  padding: 14px 18px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  font-family: "Roboto Mono", monospace;
  font-size: .82rem;
  cursor: pointer;
}
.submit:hover { background: var(--accent-dark); }
.submit:disabled { opacity: .65; cursor: wait; }

/* PHOTOS */
.photo-placeholder {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 40px;
  border: 1px dashed rgba(167,103,92,.35);
  border-radius: 16px;
  background:
    linear-gradient(rgba(246,242,238,.92), rgba(246,242,238,.92)),
    url("../images/hero.png") center / cover no-repeat;
  text-align: center;
}

.photo-placeholder strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Roboto Mono", monospace;
  font-size: 1rem;
}

.footer {
  padding: 0 20px 48px;
  text-align: center;
  color: var(--muted);
  font-size: .68rem;
}

@media (max-width: 760px) {
  .nav-inner { justify-content: center; gap: 14px; flex-wrap: wrap; }
  .nav-link, .dropdown-toggle { font-size: .60rem; }
  .dropdown-menu { position: fixed; top: 65px; left: 50%; }
  .hero { min-height: 560px; }
  .page { margin-top: -35px; }
  .section { padding: 42px 22px; }
  .card-grid, .inventory, .form-grid, .radio-grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .prose { font-size: 1rem; }
}
