:root {
  --ink: #120910;
  --plum: #1b1018;
  --navy: #101826;
  --velvet: #3c1a28;
  --burgundy: #7c2c40;
  --copper: #c4894a;
  --copper-deep: #8a5528;
  --brass: #e4b86a;
  --ivory: #f4ecdc;
  --ivory-dim: #cfc4b0;
  --line: rgba(196, 137, 74, 0.45);
  --glass: rgba(18, 10, 16, 0.78);
  --danger: #e7b4b0;
  --ok: #d7e2c4;
  --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --measure: 68ch;
  --space: clamp(1rem, 2vw, 1.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 1.02rem;
  line-height: 1.65;
  background-color: var(--ink);
  background-image:
    radial-gradient(1px 1px at 8% 14%, rgba(228, 184, 106, 0.7) 50%, transparent 52%),
    radial-gradient(1px 1px at 22% 72%, rgba(244, 236, 220, 0.45) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 78% 18%, rgba(228, 184, 106, 0.55) 50%, transparent 52%),
    radial-gradient(1px 1px at 88% 64%, rgba(244, 236, 220, 0.35) 50%, transparent 52%),
    radial-gradient(1px 1px at 48% 38%, rgba(196, 137, 74, 0.4) 50%, transparent 52%),
    radial-gradient(1px 1px at 64% 86%, rgba(244, 236, 220, 0.28) 50%, transparent 52%),
    linear-gradient(165deg, #1a1020 0%, #0e1524 46%, #140c12 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ivory);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ivory);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 0.6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(16, 10, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem var(--space) 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ivory);
  text-decoration: none;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
  position: relative;
  flex: none;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--brass);
}

.brand-mark::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}

.brand-mark::after {
  height: 1px;
  width: 100%;
  top: 50%;
  left: 0;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}

.brand-coord,
.footer-label,
.mark,
.kicker {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}

.nav-toggle {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  font: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(14, 9, 14, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--space) 1rem;
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  color: var(--ivory);
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(196, 137, 74, 0.15);
  font-size: 0.92rem;
}

.site-nav a[aria-current="page"] {
  color: var(--brass);
}

.ruler {
  height: 12px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 22px,
      rgba(196, 137, 74, 0.85) 22px 23px
    );
  box-shadow: inset 0 -1px 0 var(--line);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem var(--space) 4rem;
}

.site-footer {
  background: #100910;
  border-top: 1px solid rgba(196, 137, 74, 0.2);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem var(--space) 1rem;
  display: grid;
  gap: 1.5rem;
}

.footer-grid a,
.footer-grid address {
  display: block;
  color: var(--ivory-dim);
  font-style: normal;
  text-decoration: none;
  margin: 0.2rem 0;
}

.footer-note,
.footer-end {
  color: var(--ivory-dim);
  font-size: 0.92rem;
}

.footer-end {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space) 2rem;
}

.rail-btn {
  --ring: 40deg;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #6d4a22;
  background: linear-gradient(#e0b56a, #a56a32);
  color: #1a0e12;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 1.3rem 0.95rem 1.1rem;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(80, 42, 16, 0.45);
}

.rail-btn::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid #3a2412;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(244, 236, 220, 0.35);
  transition: transform 0.55s ease;
  flex: none;
}

.rail-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff6e4, transparent);
  transform: translateX(-120%);
}

.rail-btn:hover,
.rail-btn:focus-visible {
  color: #1a0e12;
}

.rail-btn:hover::before,
.rail-btn:focus-visible::before {
  transform: rotate(var(--ring));
}

.rail-btn:hover::after,
.rail-btn:focus-visible::after {
  transform: translateX(120%);
  transition: transform 0.55s ease;
}

.rail-btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line);
  box-shadow: none;
}

.rail-btn--ghost::before {
  border-color: var(--brass);
}

.rail-btn--ghost:hover,
.rail-btn--ghost:focus-visible {
  color: var(--ivory);
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.hero {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  padding-top: 0.5rem;
}

.hero-copy h1,
.page-head h1,
.article h1,
.detail h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 1rem;
}

.lede,
.standfirst {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--ivory);
  max-width: 36rem;
}

.hero-figure,
.frame {
  background:
    linear-gradient(160deg, rgba(124, 44, 64, 0.35), rgba(16, 24, 38, 0.2)),
    #24141c;
  border: 1px solid var(--line);
  position: relative;
}

.hero-figure img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-figure {
  min-height: 320px;
  aspect-ratio: 4 / 5;
}

.hero-figure figcaption,
.frame figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.7rem;
  margin: 0;
  padding: 0.25rem 0.45rem;
  background: rgba(16, 8, 12, 0.72);
  color: var(--ivory-dim);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.4rem;
}

.sheets {
  display: grid;
  gap: 1px;
  margin: 3rem 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.sheet {
  background: rgba(16, 12, 18, 0.88);
  padding: 1.3rem 1.2rem 1.4rem;
}

.sheet h2,
.band h2,
.split h2,
.story-block h2,
.section-title,
.people h2,
.ledger h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  margin: 0.3rem 0 0.8rem;
}

.sheet-index {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brass);
  font-size: 1.3rem;
}

.band {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 3rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(124, 44, 64, 0.28), rgba(16, 10, 16, 0.4));
  border: 1px solid rgba(196, 137, 74, 0.28);
}

.band .frame {
  min-height: 240px;
  aspect-ratio: 5 / 4;
}

.meta-row,
.fact-list {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.meta-row li,
.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(196, 137, 74, 0.25);
  padding-top: 0.4rem;
  font-size: 0.95rem;
}

.meta-row span,
.fact-list span {
  color: var(--copper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  padding-top: 0.3rem;
}

.pull {
  margin: 2.5rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 2px solid var(--copper);
}

.pull blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  font-weight: 500;
}

.pull cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  color: var(--ivory-dim);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.split {
  display: grid;
  gap: 1rem;
}

.split article,
.journal-card,
.service-row,
.person,
.legal,
.form-card,
.story-block,
.rate,
.review {
  background: var(--glass);
  border: 1px solid rgba(196, 137, 74, 0.26);
  padding: 1.1rem;
}

.split .frame,
.journal-card .frame,
.service-row .frame {
  aspect-ratio: 16 / 10;
  margin-bottom: 0.8rem;
}

.visit {
  margin-top: 3rem;
  display: grid;
  gap: 0.4rem;
  padding-top: 1rem;
}

.visit address {
  font-style: normal;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.25;
}

.page-head {
  max-width: 44rem;
  margin-bottom: 1.8rem;
}

.page-head p,
.prose p,
.detail p,
.article p,
.person p,
.review p,
.story-block p,
.rate p,
.legal p,
.journal-card p,
.service-row p,
.split p,
.band p,
.sheet p {
  max-width: var(--measure);
}

.stack {
  display: grid;
  gap: 1rem;
}

.service-row {
  display: grid;
  gap: 1rem;
}

.service-row h2,
.journal-card h2,
.review h2,
.rate h3,
.person h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
  margin: 0.2rem 0 0.6rem;
}

.service-row h2 a,
.journal-card h2 a,
.article-list a {
  color: var(--ivory);
  text-decoration: none;
}

.detail {
  display: grid;
  gap: 1.2rem;
}

.detail .frame.wide {
  aspect-ratio: 16 / 9;
  max-height: 520px;
}

.prose h2,
.legal h2,
.detail h2,
.article h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  margin: 1.6rem 0 0.4rem;
}

.plain-list {
  margin: 0.4rem 0 1rem;
  padding-left: 1.1rem;
}

.plain-list li {
  margin: 0.35rem 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  margin: 0.7rem 0;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--brass);
  font-size: 1.3rem;
}

.people {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.person .frame {
  aspect-ratio: 3 / 4;
  max-width: 280px;
}

.rate-ledger {
  display: grid;
  gap: 0.8rem;
}

.rate strong {
  color: var(--brass);
  font-weight: 500;
}

.review blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.25;
}

.review header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--copper);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.article-list li {
  border-top: 1px solid rgba(196, 137, 74, 0.25);
  padding: 0.7rem 0;
}

.article .frame {
  aspect-ratio: 16 / 8;
  margin: 1rem 0;
}

.byline {
  color: var(--ivory-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.form-card {
  display: grid;
  gap: 0.35rem;
}

label {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

input,
select,
textarea {
  width: 100%;
  background: rgba(8, 6, 10, 0.65);
  color: var(--ivory);
  border: 1px solid rgba(196, 137, 74, 0.4);
  padding: 0.75rem 0.7rem;
  font: inherit;
  border-radius: 0;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #e7b4b0;
}

.field-error {
  min-height: 1.1rem;
  margin: 0;
  color: var(--danger);
  font-size: 0.88rem;
}

.form-status {
  margin-top: 0.8rem;
  padding: 0.8rem;
}

.form-status.is-success {
  background: rgba(80, 96, 64, 0.35);
  color: var(--ok);
}

.form-status.is-error,
.inline-error {
  color: var(--danger);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-aside address {
  font-style: normal;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.2;
}

.desk-layout {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 1.5rem;
}

.desk-sheet {
  border: 1px solid var(--line);
  padding: 1rem;
  background: rgba(16, 18, 28, 0.55);
}

.desk-sheet:nth-child(2) {
  background: rgba(60, 26, 40, 0.45);
}

.desk-sheet h2 {
  margin-top: 0;
}

.wide-hero {
  aspect-ratio: 16 / 8;
  margin-bottom: 1.2rem;
}

.cookie-banner {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 30;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(22, 12, 18, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.missing {
  padding: 4rem 0 2rem;
}

.missing h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  margin: 0 0 1rem;
  font-weight: 500;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.92rem;
  display: block;
  overflow-x: auto;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid rgba(196, 137, 74, 0.3);
  min-width: 8rem;
}

.legal th {
  color: var(--copper);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.legal code {
  color: var(--brass);
  font-family: var(--sans);
  font-size: 0.92em;
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 0.9rem;
    align-items: center;
  }

  .site-nav a {
    border: 0;
    padding: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    min-height: 72vh;
  }

  .sheets,
  .split,
  .footer-grid,
  .people,
  .contact-grid,
  .desk-layout {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  }

  .band,
  .service-row {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem;
  }

  .service-row.reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .service-row.reverse .frame {
    order: -1;
  }

  .people {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .cookie-banner {
    left: auto;
    max-width: 640px;
    grid-template-columns: 1fr auto;
    align-items: center;
    right: 1.2rem;
    bottom: 1.2rem;
  }

  .journal-feature {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rail-btn::before,
  .rail-btn::after {
    transition: none;
  }
}
