:root {
  --ink: #0b0a08;
  --ink-soft: #141210;
  --panel: #1b1813;
  --panel-2: #221e17;
  --gold: #c9a56a;
  --gold-bright: #e2c48a;
  --gold-dim: rgba(201, 165, 106, 0.28);
  --cream: #f3eadc;
  --text: #e8dfd1;
  --muted: #9a8f80;
  --line: rgba(201, 165, 106, 0.22);
  --danger: #c45c4a;
  --ok: #8aaa74;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --ui: "Outfit", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --measure: 42rem;
  --wide: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--text);
}

body {
  font-family: var(--ui);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 14px;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
  z-index: 80;
}

@media (max-width: 720px) {
  body::before {
    inset: 8px;
  }
}

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

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--gold-bright);
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--cream);
  letter-spacing: 0.01em;
  margin: 0 0 0.7em;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  z-index: 200;
  font-family: var(--ui);
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 1rem;
  color: var(--ink);
}

.kicker {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.lede {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-style: italic;
  color: var(--parchment, #d7cbb8);
  line-height: 1.45;
  max-width: 38rem;
}

.muted {
  color: var(--muted);
}

.inline-error {
  background: rgba(196, 92, 74, 0.12);
  border: 1px solid rgba(196, 92, 74, 0.5);
  color: #f0c7c0;
  padding: 0.85rem 1.1rem;
  margin: 0.8rem var(--space);
  font-size: 0.92rem;
}

#site-header,
#site-footer {
  position: relative;
  z-index: 40;
}

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

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
}

.wordmark:hover {
  color: var(--gold-bright);
}

.wordmark-mark {
  width: 0.72rem;
  height: 0.72rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201, 165, 106, 0.12);
  flex-shrink: 0;
}

.wordmark-text {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.2rem;
  background: transparent;
  border: 1px solid var(--gold-dim);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--gold);
  margin: 0.28rem auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.45rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

@media (max-width: 959px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1rem var(--space) 1.4rem;
    gap: 0.85rem;
  }

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

main {
  position: relative;
  z-index: 1;
}

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--space);
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.folio-hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}

.folio-grid {
  display: grid;
  grid-template-columns: auto 1fr minmax(16rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

.folio-spine {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.4rem;
}

.folio-copy h1 {
  margin-bottom: 0.45em;
}

.folio-copy .lede {
  margin-bottom: 1.6rem;
}

.folio-photo {
  position: relative;
}

.folio-photo img {
  width: 100%;
  height: min(70vh, 34rem);
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
  border: 1px solid var(--gold-dim);
}

.placard {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(11, 10, 8, 0.82);
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 16rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.2rem;
  color: var(--gold);
}

.text-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  padding: 1.4rem var(--space);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.88rem;
}

.pull-quote {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.pull-quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--cream);
}

.pull-quote cite {
  display: block;
  margin-top: 1.3rem;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.card img {
  width: 100%;
  height: 13.5rem;
  object-fit: cover;
  filter: saturate(0.75);
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.45em;
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card-meta {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-bright);
  color: var(--ink);
}

.btn-ghost {
  border-color: var(--muted);
  color: var(--cream);
}

.btn-ghost:hover {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--gold);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.2rem 0 2rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-address,
.footer-note {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a,
.footer-col a {
  color: var(--text);
}

.footer-links a:hover,
.footer-col a:hover {
  color: var(--gold);
}

.footer-copy {
  max-width: var(--wide);
  margin: 2.2rem auto 0;
  padding: 1.2rem var(--space) 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 2rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.prose {
  max-width: var(--measure);
}

.prose h2 {
  margin-top: 1.8em;
}

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  filter: saturate(0.78);
  border: 1px solid var(--gold-dim);
}

.figure figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.price-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.6rem 1.4rem 1.7rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card.is-featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 165, 106, 0.08), var(--panel) 42%);
}

.price-card h3 {
  margin-bottom: 0.2em;
}

.price {
  font-family: var(--display);
  font-size: 2.3rem;
  color: var(--gold);
  margin: 0.4rem 0 1rem;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.price-card ul {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}

.price-card li {
  margin-bottom: 0.45rem;
}

.review-list {
  display: grid;
  gap: 1.2rem;
}

.review {
  border: 1px solid var(--line);
  padding: 1.5rem 1.6rem;
  background: var(--panel);
}

.review p {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.45;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.attr {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.case {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.modules {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: module;
}

.modules li {
  counter-increment: module;
  border-top: 1px solid var(--line);
  padding: 1.15rem 0;
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
}

.modules li::before {
  content: counter(module, decimal-leading-zero);
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.3rem;
}

details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--cream);
}

details p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.person {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.3rem;
  align-items: center;
}

.person img {
  width: 8.5rem;
  height: 8.5rem;
  object-fit: cover;
  border: 1px solid var(--gold-dim);
  filter: saturate(0.7);
}

form {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--ui);
  font-size: 1rem;
  padding: 0.75rem 0.85rem;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.field-error {
  min-height: 1.2em;
  color: #e7a79d;
  font-size: 0.82rem;
  margin-top: 0.3rem;
}

.form-status {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
}

.form-status.is-success {
  border-color: var(--ok);
  color: var(--ok);
}

.form-status.is-error,
.form-status.is-pending {
  border-color: var(--gold-dim);
  color: var(--cream);
}

.form-status.is-error {
  border-color: var(--danger);
  color: #e7a79d;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 2rem;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lost {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem var(--space);
}

.lost h1 {
  font-size: clamp(4rem, 12vw, 8rem);
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 90;
  background: var(--panel-2);
  border: 1px solid var(--gold);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.cookie-banner-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
}

.cookie-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.cookie-banner p {
  color: var(--text);
  max-width: 46rem;
  font-size: 0.92rem;
}

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

.blog-list {
  display: grid;
  gap: 1.4rem;
}

.blog-row {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.4rem;
  color: inherit;
}

.blog-row:hover h3 {
  color: var(--gold);
}

.blog-row img {
  width: 100%;
  height: 9.5rem;
  object-fit: cover;
  filter: saturate(0.72);
  border: 1px solid var(--gold-dim);
}

.blog-row time {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-hero img {
  width: 100%;
  height: min(48vh, 26rem);
  object-fit: cover;
  filter: saturate(0.7);
  border: 1px solid var(--gold-dim);
  margin: 1.4rem 0 2rem;
}

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

@media (max-width: 980px) {
  .folio-grid,
  .split,
  .cards,
  .price-grid,
  .case,
  .contact-grid,
  .footer-inner,
  .two-col {
    grid-template-columns: 1fr;
  }

  .folio-spine {
    writing-mode: horizontal-tb;
    transform: none;
  }

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

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 720px) {
  .blog-row,
  .person {
    grid-template-columns: 1fr;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: flex-end;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }
}

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

  .card,
  .btn {
    transition: none;
  }
}
