:root {
  --ink: #171512;
  --muted: #665b4d;
  --paper: #efe3cf;
  --paper-light: #f8f0e3;
  --gold: #9b753c;
  --line: rgba(31, 25, 18, 0.72);
  --shadow: rgba(37, 25, 14, 0.2);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.4), transparent 34%),
    repeating-linear-gradient(90deg, rgba(67,49,30,.025) 0 1px, transparent 1px 5px),
    var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.45;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  z-index: 10;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 50;
  padding: .75rem 1rem;
  color: var(--paper-light);
  background: var(--ink);
}

.skip-link:focus { top: 1rem; }

.page-frame {
  width: min(1500px, calc(100% - 20px));
  margin: 10px auto;
  border: 3px double var(--line);
  box-shadow: 0 12px 40px var(--shadow);
  background: rgba(248, 239, 224, .72);
}

.site-header {
  min-height: 145px;
  padding: 24px clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 3rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 82px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50% 45% 50% 40%;
  font-size: 1.65rem;
  letter-spacing: -.08em;
  transform: rotate(-4deg);
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--ink);
}

.brand-copy strong {
  display: block;
  text-transform: uppercase;
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  line-height: .93;
  letter-spacing: .16em;
  text-align: center;
}

.brand-copy small {
  display: block;
  margin-top: 10px;
  letter-spacing: .35em;
  font-style: italic;
  text-align: center;
}

.main-nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 68px); }

.main-nav a {
  text-decoration: none;
  font-size: 1.12rem;
  letter-spacing: .05em;
  position: relative;
}

.main-nav a:not(.nav-button)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .25s ease, left .25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { width: 100%; left: 0; }

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 30px;
  border: 1px solid var(--ink);
  outline: 1px solid transparent;
  outline-offset: -6px;
  background: rgba(248, 240, 228, .75);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.nav-button:hover,
.button:hover { background: var(--ink); color: var(--paper-light); transform: translateY(-2px); }

.menu-toggle { display: none; }

.motto {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 12px clamp(24px, 4vw, 64px);
  text-transform: uppercase;
  letter-spacing: clamp(.2em, .8vw, .6em);
  font-size: clamp(.88rem, 1.8vw, 1.4rem);
}

.motto span { height: 1px; background: var(--line); }

.hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(300px, 35%) 1fr;
  align-items: stretch;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(50px, 7vw, 105px) clamp(26px, 4.5vw, 75px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(90deg, var(--paper-light) 0%, rgba(248,240,227,.98) 72%, rgba(248,240,227,.1) 100%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: 0 -100px 0 auto;
  width: 180px;
  background: radial-gradient(ellipse at left, rgba(248,240,227,.98), transparent 70%);
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2.5rem, 4.3vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.025em;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
  font-weight: 700;
}

.ornament { margin: 22px 0 16px; font-size: .72rem; letter-spacing: 1em; }

.ornament::before,
.ornament::after { content: "────────"; letter-spacing: -.05em; margin-right: 10px; }
.ornament::after { margin-left: 10px; margin-right: 0; }

.intro { max-width: 35rem; margin: 0 0 27px; font-size: 1.08rem; font-style: italic; }

.hero-window { position: relative; min-height: 500px; overflow: hidden; background: #24424a; }

.hero-window img {
  position: absolute;
  height: 227%;
  width: auto;
  max-width: none;
  left: -76%;
  top: -43%;
  filter: saturate(.9) contrast(1.03);
}

.window-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 45px 0 60px rgba(248,240,227,.55), inset 0 0 70px rgba(16,18,16,.35);
  background: linear-gradient(180deg, rgba(12, 19, 22, .08), transparent 50%, rgba(18, 17, 13, .2));
}

.heart-divider {
  min-height: 90px;
  padding: 0 clamp(24px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 18px;
}

.heart-divider .line { height: 1px; background: var(--line); }
.heart-divider .heart { font-size: 2.5rem; }
.heart-divider .rose { font-size: 2.3rem; }
.heart-divider .mirror { transform: scaleX(-1); }

.portals {
  padding: 20px clamp(24px, 5vw, 72px) 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.portal-card {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 22px;
  padding: 20px 35px;
  border-right: 1px solid var(--line);
}

.portal-card:first-child { padding-left: 0; }
.portal-card:last-child { padding-right: 0; border-right: 0; }

.portal-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(155,117,60,.12);
  font-size: 2.5rem;
}

.portal-card .number { margin: 0 0 2px; color: var(--gold); font-size: .8rem; letter-spacing: .25em; }
.portal-card h2 { margin: 0 0 12px; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .15em; }
.portal-card p { margin: 0 0 16px; }
.portal-card a { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; text-underline-offset: 5px; }

.closing-motto {
  margin: 0 clamp(24px, 4vw, 60px);
  display: flex;
  align-items: center;
  gap: 22px;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: clamp(.14em, .7vw, .55em);
  font-size: clamp(.8rem, 1.6vw, 1.25rem);
}

.closing-motto::before,
.closing-motto::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.access-panel {
  margin-top: 30px;
  padding: 28px clamp(28px, 8vw, 130px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(35px, 8vw, 120px);
  color: var(--paper-light);
  background:
    linear-gradient(rgba(18,17,15,.94), rgba(18,17,15,.94)),
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 5px);
}

.access-panel h2 { margin: 0; font-weight: 400; font-size: clamp(1.2rem, 2.2vw, 1.8rem); }
.access-panel .eyebrow { margin-bottom: 4px; color: #d9c5a3; }
.button-dark { border-color: var(--paper-light); color: var(--paper-light); background: transparent; white-space: nowrap; }
.button-dark:hover { background: var(--paper-light); color: var(--ink); }

.site-footer {
  padding: 22px clamp(24px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: .9rem;
  border-top: 1px solid rgba(255,255,255,.18);
  color: #d8cbb8;
  background: var(--ink);
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 25px; }
.site-footer a { text-underline-offset: 4px; }

.legal-page { min-height: 100vh; }
.legal-main { width: min(800px, calc(100% - 48px)); margin: 65px auto 100px; }
.legal-main h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); font-weight: 400; margin-bottom: 15px; }
.legal-main .notice { border: 1px solid var(--line); padding: 24px; background: rgba(255,255,255,.22); }
.legal-main .back-link { display: inline-block; margin-top: 30px; text-underline-offset: 5px; }
.legal-main address { font-style: normal; }
.legal-main a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-main h2 { margin: 0 0 12px; font-size: 1.25rem; letter-spacing: .08em; }
.legal-section { margin-top: 38px; }
.legal-section p { margin: 10px 0; }
.legal-section ul { padding-left: 1.3rem; }
.legal-section li + li { margin-top: 7px; }
.legal-updated { margin-top: -10px; color: var(--muted); font-style: italic; }
.legal-privacy { width: min(900px, calc(100% - 48px)); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 980px) {
  .site-header { min-height: 110px; padding-block: 18px; }
  .brand-mark { width: 64px; }
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 46px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--ink);
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; background: var(--ink); }
  .main-nav {
    display: none;
    position: absolute;
    z-index: 20;
    left: 16px;
    right: 16px;
    top: 112px;
    padding: 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    border: 1px solid var(--ink);
    background: var(--paper-light);
    box-shadow: 0 20px 30px var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { text-align: center; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 390px; background: linear-gradient(180deg, var(--paper-light), rgba(248,240,227,.92)); }
  .hero-copy::after { display: none; }
  .hero-window { min-height: 440px; }
  .hero-window img { height: 190%; left: -90%; top: -37%; }
  .portals { grid-template-columns: 1fr; padding-block: 10px 45px; }
  .portal-card,
  .portal-card:first-child,
  .portal-card:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .portal-card:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  .page-frame { width: calc(100% - 10px); margin: 5px auto; }
  .site-header { padding-inline: 17px; gap: 1rem; }
  .brand-mark { width: 52px; font-size: 1.15rem; }
  .brand-copy strong { font-size: 1.2rem; }
  .brand-copy small { font-size: .68rem; letter-spacing: .2em; }
  .motto { gap: 8px; padding-inline: 15px; letter-spacing: .14em; text-align: center; }
  .hero-copy { min-height: 420px; padding: 45px 25px; }
  .hero h1 { font-size: 2.65rem; }
  .ornament::before,
  .ornament::after { content: "────"; }
  .hero-window { min-height: 300px; }
  .hero-window img { height: 210%; left: -145%; top: -42%; }
  .heart-divider { min-height: 65px; gap: 8px; padding-inline: 15px; }
  .heart-divider .rose { font-size: 1.5rem; }
  .heart-divider .heart { font-size: 2rem; }
  .portals { padding-inline: 24px; }
  .portal-card { grid-template-columns: 65px 1fr; gap: 16px; }
  .portal-icon { width: 60px; height: 60px; font-size: 1.8rem; }
  .portal-card h2 { font-size: 1.05rem; }
  .closing-motto { margin-inline: 14px; gap: 8px; text-align: center; line-height: 1.8; }
  .access-panel { flex-direction: column; align-items: flex-start; padding: 32px 25px; }
  .button-dark { width: 100%; }
  .site-footer { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
