@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Outfit:wght@400;500;600&display=swap");

:root {
  --bg: #f6f1e8;
  --surface: #fbf7f0;
  --fg: #1b1630;
  --muted: #4e4864;
  --subtle: #7a748c;
  --gold: #c4a35a;
  --primary: #1b1630;
  --primary-fg: #f6f1e8;
  --shadow: 0 0 0 1px rgba(27, 22, 48, 0.08), 0 10px 28px -16px rgba(27, 22, 48, 0.18);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1b1630;
  --surface: #2a2344;
  --fg: #f6f1e8;
  --muted: #d4cbb8;
  --subtle: #a89eb8;
  --gold: #c4a35a;
  --primary: #f6f1e8;
  --primary-fg: #1b1630;
  --shadow: 0 0 0 1px rgba(246, 241, 232, 0.12);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.field {
  position: fixed;
  inset: -12% auto auto 50%;
  width: min(92vw, 420px);
  transform: translateX(-50%);
  color: color-mix(in srgb, var(--gold) 22%, transparent);
  pointer-events: none;
  z-index: 0;
}
.toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.page {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}
header { display: grid; justify-items: center; }
.seal {
  width: 8.25rem;
  height: 8.25rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px #c4a35a, 0 0 0 6px var(--bg), 0 12px 28px -16px rgba(27, 22, 48, 0.35);
}
.seal img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.kicker, .section-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
header .kicker { margin-top: 2rem; }
h1 {
  margin: 0.7rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 8vw, 2.55rem);
  font-weight: 500;
  line-height: 1.08;
}
h2 {
  margin: 0.4rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
}
.italic { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; }
.sub { margin: 0.7rem 0 0; font-size: 1.25rem; color: var(--muted); }
.sentence { margin: 1.1rem 0 0; max-width: 22rem; color: var(--muted); font-size: 0.95rem; }
.place { margin: 0.85rem 0 0; color: var(--gold); font-size: 1.05rem; }
.doors { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 0.65rem; }
.door {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  text-decoration: none;
  color: var(--fg);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 150ms ease;
}
.door:hover { transform: translateY(-1px); }
.door.primary { background: var(--primary); color: var(--primary-fg); }
.door strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
}
.door span span { display: block; margin-top: 0.15rem; font-size: 0.86rem; opacity: 0.78; }
.break { display: flex; justify-content: center; gap: 0.45rem; margin: 3.2rem 0; color: var(--gold); }
.spark { width: 0.7rem; height: 0.7rem; }
section { scroll-margin-top: 1.5rem; }
.lede { margin: 0.9rem 0 0; color: var(--muted); font-size: 1.12rem; }
.bio { margin: 0.85rem auto 0; max-width: 22rem; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.card {
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 1rem;
  padding: 1.35rem 1.15rem;
}
form.card { text-align: left; margin-top: 1.5rem; }
label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 500;
}
input, textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
  border-radius: 0.7rem;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  padding: 0.75rem 0.8rem;
}
textarea { min-height: 6.5rem; resize: vertical; }
.actions { display: grid; gap: 0.55rem; margin-top: 1rem; }
button, .actions a {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.8rem;
  text-decoration: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
}
button { background: var(--primary); color: var(--primary-fg); }
.actions a {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid color-mix(in srgb, var(--fg) 15%, transparent);
}
.fine { margin: 0.8rem 0 0; text-align: center; color: var(--muted); font-size: 0.86rem; }
.streets { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.2rem; }
.streets a {
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  text-decoration: none;
}
.streets a:hover { color: var(--fg); text-decoration: underline; }
.panel { background: #1b1630; color: #f6f1e8; border-radius: 1rem; padding: 2rem 1.25rem; }
:root[data-theme="dark"] .panel { background: #f6f1e8; color: #1b1630; }
.panel .gold, .panel .section-kicker { color: #c4a35a; }
.panel a { color: inherit; text-decoration: none; }
.panel a:hover { text-decoration: underline; }
.contacts { margin: 1.25rem 0 0; display: grid; gap: 0.45rem; }
.web {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #c4a35a;
}
footer { margin-top: 2.4rem; }
footer .kicker { color: var(--subtle); }
