:root {
  --navy: #0c1424;
  --plum: #140c14;
  --velvet: #241018;
  --burgundy: #722838;
  --burgundy-deep: #4a1822;
  --copper: #c4895a;
  --copper-deep: #8c5a38;
  --brass: #e0b07a;
  --ivory: #f4ead8;
  --ivory-dim: #d4c4ae;
  --ink: #1a1014;
  --line: rgba(196, 137, 90, 0.45);
  --glass: rgba(16, 10, 16, 0.78);
  --danger: #e7b4a8;
  --ok: #d7e2c8;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  background-color: var(--plum);
  background-image:
    radial-gradient(1px 1px at 8% 14%, rgba(244, 234, 216, 0.7) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 18% 62%, rgba(196, 137, 90, 0.85) 50%, transparent 52%),
    radial-gradient(1px 1px at 32% 28%, rgba(244, 234, 216, 0.45) 50%, transparent 52%),
    radial-gradient(1px 1px at 47% 78%, rgba(244, 234, 216, 0.55) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 63% 18%, rgba(196, 137, 90, 0.6) 50%, transparent 52%),
    radial-gradient(1px 1px at 74% 46%, rgba(244, 234, 216, 0.4) 50%, transparent 52%),
    radial-gradient(1px 1px at 86% 24%, rgba(244, 234, 216, 0.65) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 92% 70%, rgba(196, 137, 90, 0.55) 50%, transparent 52%),
    linear-gradient(180deg, #120810 0%, #0c1424 48%, #160e14 100%);
  background-attachment: fixed;
  font-family: Spectral, Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

::selection {
  background: var(--burgundy);
  color: var(--ivory);
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.7rem;
}

p {
  margin: 0 0 1rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ivory);
  color: var(--ink);
  padding: 0.5rem 0.9rem;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.measure {
  max-width: 68ch;
}

.coords {
  font-family: "Cutive Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 8, 14, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ivory);
  text-decoration: none;
}

.brand__mark {
  width: 1.7rem;
  height: 1.7rem;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 4px rgba(20, 12, 16, 0.8);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  background: var(--ivory);
  border-radius: 50%;
}

.brand__name,
.brand__sub {
  display: block;
}

.brand__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.brand__sub {
  font-family: "Cutive Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line);
  padding: 0.45rem 0.75rem;
  font-family: "Cutive Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-nav a {
  color: var(--ivory-dim);
  text-decoration: none;
  font-size: 0.98rem;
}

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

main {
  display: block;
  padding-bottom: 4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(10, 6, 10, 0.9);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem 2rem;
}

.site-footer a {
  color: var(--ivory-dim);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ivory);
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(196, 137, 90, 0.25);
  color: var(--ivory-dim);
  font-size: 0.92rem;
}

.telescope {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  min-width: 15.5rem;
  text-decoration: none;
  color: var(--ivory);
  background: linear-gradient(180deg, #3a1c24 0%, #241018 100%);
  border: 1px solid var(--copper);
  padding: 0.7rem 0.85rem 0.65rem;
  box-shadow: inset 0 0 0 1px rgba(196, 137, 90, 0.22);
  cursor: pointer;
  font: inherit;
}

.telescope__rail {
  position: relative;
  height: 16px;
  border-radius: 99px;
  background: linear-gradient(90deg, #5a3824, #e0b07a 42%, #8c5a38 78%, #5a3824);
  box-shadow: inset 0 1px 0 rgba(255, 236, 210, 0.45);
}

.telescope__ring {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border: 2px solid var(--ivory);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #6b3a22;
  transition: left 0.55s ease, transform 0.7s ease;
}

.telescope:hover .telescope__ring,
.telescope:focus-visible .telescope__ring {
  left: calc(100% - 14px);
  transform: rotate(210deg);
}

.telescope__label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--ivory);
}

.telescope:disabled {
  opacity: 0.6;
  cursor: wait;
}

.hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 1.75rem 2rem;
  align-items: end;
  padding: 2.8rem 0 1rem;
}

.hero__coords {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-bottom: 0.4rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__plate img,
.frame img,
.portrait img,
.cover img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.frame {
  border: 1px solid rgba(196, 137, 90, 0.7);
  padding: 0.55rem;
  background: linear-gradient(160deg, rgba(114, 40, 56, 0.4), rgba(12, 8, 14, 0.15));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.frame img {
  aspect-ratio: 4 / 3;
}

.frame figcaption,
.caption {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: var(--ivory-dim);
  padding: 0.45rem 0.2rem 0.1rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--ivory);
}

.section {
  padding: 2.6rem 0;
}

.section + .section {
  border-top: 1px solid rgba(196, 137, 90, 0.22);
}

.panel {
  background: var(--glass);
  border: 1px solid rgba(196, 137, 90, 0.28);
  box-shadow: inset 0 1px 0 rgba(244, 234, 216, 0.05);
  padding: 1.4rem 1.4rem 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  align-items: center;
}

.split--top {
  align-items: start;
}

.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.4rem;
  border-bottom: 1px solid rgba(196, 137, 90, 0.25);
}

.rail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
}

.offer-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(196, 137, 90, 0.25);
  text-decoration: none;
  color: inherit;
}

.offer-row img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.offer-row strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.offer-row span {
  color: var(--copper);
  font-family: "Cutive Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.quote {
  margin: 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 2px solid var(--copper);
}

.quote p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.3;
}

.quote footer {
  color: var(--ivory-dim);
}

.card-grid,
.portrait-grid,
.guide-grid {
  display: grid;
  gap: 1.2rem;
}

.guide-grid {
  grid-template-columns: 1fr 1fr;
}

.portrait-grid {
  grid-template-columns: 1fr 1fr;
}

.guide-card {
  display: grid;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  background: var(--glass);
  border: 1px solid rgba(196, 137, 90, 0.28);
  padding: 0.7rem;
}

.guide-card img,
.cover img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.guide-card h3 {
  margin-bottom: 0.2rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin: 0.8rem 0 1.2rem;
}

.meta-row div {
  min-width: 8rem;
}

.meta-row strong {
  display: block;
  font-family: "Cutive Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--copper);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(196, 137, 90, 0.25);
}

.step span {
  font-family: "Cutive Mono", ui-monospace, monospace;
  color: var(--copper);
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.story + .story,
.testimonial + .testimonial {
  margin-top: 1.4rem;
}

.testimonial {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(196, 137, 90, 0.22);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.7rem;
  border-bottom: 1px solid rgba(196, 137, 90, 0.28);
  vertical-align: top;
}

th {
  font-family: "Cutive Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--copper);
}

.page-hero {
  padding: 2.4rem 0 0.4rem;
}

.article-body {
  max-width: 68ch;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-family: "Cutive Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

input,
select,
textarea {
  width: 100%;
  background: rgba(8, 6, 10, 0.62);
  border: 1px solid rgba(196, 137, 90, 0.45);
  color: var(--ivory);
  padding: 0.75rem 0.8rem;
  font-family: Spectral, Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-error {
  min-height: 1.1rem;
  color: var(--danger);
  letter-spacing: 0;
  text-transform: none;
  font-family: Spectral, Georgia, serif;
  font-size: 0.92rem;
}

.form-failure {
  color: var(--danger);
  border: 1px solid rgba(231, 180, 168, 0.5);
  padding: 0.8rem 1rem;
}

.form-success {
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  background: rgba(20, 28, 18, 0.45);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.address-block {
  font-style: normal;
}

.cookie-banner {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(20, 10, 14, 0.96);
  border-top: 1px solid var(--copper);
}

html.consent-known .cookie-banner {
  display: none !important;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-actions button {
  min-width: 8.5rem;
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--copper);
  padding: 0.7rem 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  cursor: pointer;
}

.cookie-actions button:first-child {
  background: transparent;
}

.cookie-actions button:last-child {
  background: var(--burgundy);
}

.island-errors {
  position: sticky;
  bottom: 0;
  z-index: 45;
  margin: 0;
  padding: 0.8rem 1.25rem;
  background: #4a1822;
  color: var(--ivory);
  display: grid;
  gap: 0.3rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .footer-grid,
  .two-col,
  .guide-grid,
  .portrait-grid,
  .contact-layout,
  .cookie-banner,
  .offer-row,
  .step {
    grid-template-columns: 1fr;
  }

  .hero__coords {
    writing-mode: horizontal-tb;
    transform: none;
    flex-direction: row;
  }

  .offer-row img {
    width: 100%;
    height: 180px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    padding: 0.8rem 1.25rem 1rem;
    background: rgba(12, 8, 14, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-bar {
    position: relative;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions button {
    flex: 1;
  }
}

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

  .telescope__ring {
    transition: none;
  }
}
