:root {
  --bg: #e4e8e1;
  --sheet: #f4f1ea;
  --ink: #2a2226;
  --muted: #5e5550;
  --line: rgba(42, 34, 38, 0.12);
  --plum: #6e3d58;
  --sage: #3f5848;
  --clay: #c9897a;
  --pride: linear-gradient(
    180deg,
    #e40303,
    #ff8c00,
    #ffed00,
    #008026,
    #24408e,
    #732982
  );
  --pride-h: linear-gradient(
    90deg,
    #e40303,
    #ff8c00,
    #ffed00,
    #008026,
    #24408e,
    #732982
  );
  --font: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a {
  color: var(--plum);
}

a:hover {
  color: var(--ink);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  background: var(--sage);
  color: #fff;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.preview-banner {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #2a4a3c;
  color: #faf8f3;
  text-align: center;
  font: 600 13px/1.45 system-ui, sans-serif;
  padding: 0.55rem 1rem;
}

.studio {
  min-height: 100vh;
}

body:has(.preview-banner) .studio {
  min-height: calc(100vh - 2.5rem);
}

.rail {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 0.15rem 1rem;
  padding: 1.15rem 1.35rem 1.2rem 1.6rem;
  background: var(--bg);
}

.rail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: var(--pride);
}

.sign {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 0.95;
}

.sign strong {
  font-family: var(--display);
  font-size: 2.15rem;
  font-weight: 500;
  font-style: italic;
}

.sign span {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum);
}

.rail-place {
  grid-column: 1 / -1;
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.rail nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-top: 0.85rem;
}

.rail nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

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

.rail nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.rail-phone {
  justify-self: end;
  align-self: center;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.rail-note,
.rail-foot {
  display: none;
}

.sheet {
  background: var(--sheet);
  padding: 2rem 1.25rem 3rem;
  min-height: 70vh;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.sheet-inner {
  width: min(38rem, 100%);
}

.sheet-inner.wide {
  width: min(46rem, 100%);
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2.4rem, 9vw, 4.1rem);
  font-style: italic;
}

h2 {
  margin: 0;
  font-size: 1.7rem;
  font-style: italic;
}

.lead {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.lede {
  margin: 0.7rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  font-style: italic;
  line-height: 1.25;
}

.pride-word {
  background-image: var(--pride-h);
  background-size: 100% 0.14em;
  background-repeat: no-repeat;
  background-position: 0 92%;
  padding-bottom: 0.05em;
}

.room {
  position: relative;
  margin: 2rem 0 0;
  overflow: hidden;
  background: #3a3330;
}

.room img {
  display: block;
  width: 100%;
  height: 14.5rem;
  object-fit: cover;
  object-position: 50% 55%;
}

.room::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(42, 34, 38, 0.58));
  pointer-events: none;
}

.room figcaption {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.05rem;
  z-index: 1;
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  color: #f4f1ea;
}

.facts {
  display: grid;
  gap: 0.65rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

.facts li:last-child {
  border-bottom: 1px solid var(--line);
}

.pledge {
  position: relative;
  margin: 2.1rem 0 0;
  padding: 0 0 0 1.2rem;
}

.pledge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 5px;
  border-radius: 99px;
  background: var(--pride-h);
}

.pledge p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.block {
  margin-top: 2.4rem;
}

.block p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.notes,
.prices {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.notes li,
.prices li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.prices {
  font-family: var(--display);
  font-size: 1.45rem;
  font-style: italic;
}

.prices strong {
  font-family: var(--font);
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}

.fine {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.book-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin-top: 1.1rem;
}

.book-links a {
  text-underline-offset: 3px;
}

.phone-line {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.phone-line:hover {
  color: var(--plum);
}

.sheet-foot {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.sheet-foot p {
  margin: 0;
}

@media (min-width: 880px) {
  .studio {
    display: grid;
    grid-template-columns: 16.5rem minmax(0, 1fr);
  }

  .rail {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 2.2rem 1.5rem 1.6rem 1.85rem;
  }

  body:has(.preview-banner) .rail {
    top: 2.5rem;
    height: calc(100vh - 2.5rem);
  }

  .rail-phone {
    justify-self: stretch;
    align-self: auto;
    margin-top: auto;
    padding-top: 1.5rem;
  }

  .rail-note {
    display: block;
    margin: 1.4rem 0 0;
    max-width: 12rem;
    font-family: var(--display);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.3;
    color: var(--ink);
  }

  .rail-foot {
    display: block;
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    color: var(--muted);
  }

  .rail nav {
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 2rem;
  }

  .sheet {
    padding: 4.5rem 3.5rem 4rem;
  }

  .room {
    margin-top: 2.4rem;
  }

  .room img {
    height: 20rem;
  }

  .room figcaption {
    font-size: 1.55rem;
    left: 1.4rem;
    bottom: 1.25rem;
  }

  h1 {
    max-width: 11ch;
  }
}
