@font-face {
  font-family: "DotGothic16";
  src: url("DotGothic16-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #15121b;
  --surface: #201b2a;
  --ink: #faf3e8;
  --muted: #cec0cb;
  --accent: #ffce87;
  --line: #433747;
  --section-rule-width: min(68rem, calc(100% - 3rem));
  font: 1rem/1.75 "DotGothic16", system-ui, sans-serif;
  background: var(--background);
  color: var(--ink);
}

* { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: .3rem; }
h1, h2, h3 { line-height: 1.33; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.wrap { width: min(70rem, calc(100% - clamp(2rem, 8vw, 6rem))); margin-inline: auto; }

.site-header { background: #18141e; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: .9rem; font-weight: 750; color: var(--ink); text-decoration: none; }
.brand img { border: 1px solid var(--line); border-radius: .55rem; }
.header-link { color: var(--muted); text-decoration: none; font-size: .9rem; }
.header-link:hover { color: var(--accent); text-decoration: underline; }

.hero {
  position: relative;
  padding-block: clamp(2.75rem, 7vw, 6.25rem);
  background: radial-gradient(ellipse at 78% 24%, #3d2935, transparent 64%), linear-gradient(150deg, #201928, #15121b 90%);
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  width: var(--section-rule-width);
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { container-type: inline-size; }
.eyebrow { color: var(--accent); font-size: .88rem; font-weight: 750; letter-spacing: .09em; }
.hero h1 { margin-top: .75rem; font-size: min(2.5rem, 8.5cqi); line-height: 1.2; letter-spacing: -.035em; font-weight: 850; white-space: nowrap; }
.hero-lead { margin-top: 1.35rem; font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.35rem); }
.hero-description { margin-top: .6rem; color: var(--muted); }
.store-link { display: inline-block; border-radius: .5rem; vertical-align: top; margin-top: 1.4rem; }
.store-link:hover { box-shadow: 0 0 0 2px var(--accent); }
.hero-visual {
  padding: .6rem;
  border: 1px solid #70515a;
  border-radius: .8rem;
  background: #241b29;
  box-shadow: .65rem .65rem 0 #0f0c14, 0 1.5rem 4rem #100a135e;
}
.hero-visual img { width: 100%; border-radius: .4rem; }
.hero-visual figcaption { padding: .75rem .55rem .45rem; }
.hero-visual figcaption h2 { font-size: 1.125rem; }
.hero-visual figcaption span { margin-right: .6rem; color: var(--accent); font-size: .875rem; font-weight: 500; }
.hero-visual figcaption p { margin-top: .4rem; color: var(--muted); }
.question-examples { display: grid; gap: .65rem; margin: 1rem 0 0; padding-inline: .5rem; font-size: .875rem; line-height: 1.45; }
.question-examples div {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.question-examples dt, .question-examples dd {
  position: relative;
  max-width: 75%;
  margin: 0;
  padding: .5rem;
  border-radius: .5rem;
  color: #00363d;
}
.question-examples dt { align-self: flex-end; background: #82d3e0; }
.question-examples dd { align-self: flex-start; background: #b1cbd0; }
.question-examples dt::after, .question-examples dd::after {
  content: "";
  position: absolute;
  bottom: .5rem;
  width: .5rem;
  height: .65rem;
  background: inherit;
  clip-path: polygon(0 0, 100% 85%, 0 100%);
}
.question-examples dt::after { right: calc(1px - .5rem); }
.question-examples dd::after { left: calc(1px - .5rem); transform: scaleX(-1); }

.section { padding-block: clamp(2.65rem, 6vw, 5rem); }
.gallery-section { background: #1c1723; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.65rem, 2vw, 1.25rem); margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.gallery article { overflow: hidden; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); }
.gallery-image { aspect-ratio: 7 / 4; overflow: hidden; }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; }
/* Trim the margins baked into these illustrations in the gallery only. */
.gallery-image--locked-room img { transform: scale(1.18); }
.gallery-image--crossing img { transform: scale(1.13); transform-origin: center top; }
.gallery-copy { padding: .85rem 1rem 1rem; }
.gallery-copy h3 { font-size: 1.125rem; }
.gallery-copy p { margin-top: .45rem; color: var(--muted); }

.site-footer {
  font-size: .875rem;
  line-height: 1.65;
  text-align: center;
}
.footer-content {
  width: var(--section-rule-width);
  margin-inline: auto;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; }

.privacy-page { font-family: system-ui, -apple-system, "Hiragino Sans", sans-serif; }
.policy { width: min(45rem, calc(100% - 2rem)); margin-inline: auto; padding-block: clamp(2.25rem, 6vw, 4rem); overflow-wrap: anywhere; }
.policy h1 { font-size: clamp(1.6rem, 4.5vw, 2.65rem); margin-bottom: 1rem; }
.policy h2 { font-size: clamp(1.12rem, 3vw, 1.35rem); margin-bottom: .5rem; }
.policy section { margin-top: 1.65rem; }
.policy p { color: var(--muted); }
.policy p + p { margin-top: .65rem; }
.policy strong { color: var(--ink); }
.policy-highlight { padding: .9rem 1.15rem; border: 1px solid #785950; border-radius: .5rem; background: var(--surface); }
.policy-highlight h2 { color: var(--accent); }

@media (max-width: 53rem) {
  .wide-only { display: none; }
}
@media (max-width: 42rem) {
  :root { --section-rule-width: calc(100% - 2rem); }
  .hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 32rem) {
  .gallery { grid-template-columns: 1fr; }
  .header-inner { min-height: 3.6rem; }
  .brand { gap: .45rem; }
  .brand img { width: 1.7rem; }
  .hero-visual { box-shadow: .35rem .35rem 0 #0f0c14; }
}
