:root {
  --bg: #0c0a09;
  --bg-elevated: #161210;
  --bg-soft: #1c1712;
  --ink: #f5efe6;
  --ink-muted: #b8a99a;
  --gold: #d4af77;
  --gold-soft: #c4a06a;
  --line: rgba(212, 175, 119, 0.22);
  --danger: #e8a0a0;
  --ok: #a8c9a0;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(212, 175, 119, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(90, 60, 40, 0.35), transparent 50%),
    linear-gradient(180deg, #100e0c 0%, var(--bg) 40%, #0a0908 100%);
  min-height: 100vh;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.25s var(--ease);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin: 0 0 0.55em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 0.45em; }

p { margin: 0 0 1em; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(12, 10, 9, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
}

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

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.55rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Hero cinematic */
.hero-cinematic {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-cinematic__media {
  position: absolute;
  inset: 0;
}

.hero-cinematic__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-zoom 18s var(--ease) infinite alternate;
}

.hero-cinematic__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 9, 0.35) 0%, rgba(12, 10, 9, 0.55) 45%, rgba(12, 10, 9, 0.92) 100%),
    linear-gradient(90deg, rgba(12, 10, 9, 0.75) 0%, transparent 55%);
}

.hero-cinematic__content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 4.5rem;
  max-width: 38rem;
  animation: rise 1s var(--ease) both;
}

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

.lede {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero--compact {
  padding: 5rem 0 4rem;
}

.page-hero--media {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 0;
}

.page-hero--media .hero-cinematic__media,
.page-hero--media .hero-cinematic__veil {
  position: absolute;
  inset: 0;
}

.page-hero--media .shell {
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-muted {
  background: rgba(22, 18, 16, 0.65);
  border-block: 1px solid var(--line);
}

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

.split--reverse > :first-child { order: 2; }

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.stack-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.stack-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
}

.stack-list strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Offer previews — not cards in hero; interaction containers for browsing */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.offer-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  transition: border-color 0.3s var(--ease);
}

.offer-item:hover {
  border-color: var(--gold);
}

.offer-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 1.1rem;
  filter: saturate(0.85) contrast(1.05);
}

.offer-item h3 {
  color: var(--ink);
}

.offer-item p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.meta-line {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
}

/* Quote / evidence */
.quote-block {
  border-left: 2px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.review-list {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.review-item {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

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

.story-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 1.1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
}

.rate-note {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.post-teaser {
  text-decoration: none;
  color: inherit;
}

.post-teaser img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.post-teaser h2 {
  font-size: 1.65rem;
  color: var(--ink);
}

.post-teaser:hover h2 {
  color: var(--gold);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose ul,
.prose ol {
  color: var(--ink-muted);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.article-cover {
  margin: 2rem 0 2.5rem;
  border: 1px solid var(--line);
}

.article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Forms */
.form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: 0.85rem 1rem;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

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

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.2em;
}

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

.form-status.is-visible { display: block; }
.form-status.is-success {
  border-color: var(--ok);
  color: var(--ok);
}
.form-status.is-error {
  border-color: var(--danger);
  color: var(--danger);
}

.contact-aside {
  color: var(--ink-muted);
}

.contact-aside strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

/* Legal */
.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2.4rem;
  font-size: 1.6rem;
}

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

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

/* Process / engagements */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.steps li {
  position: relative;
  padding: 1.5rem 0 1.5rem 4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}

.steps strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(22, 18, 16, 0.96);
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  animation: rise 0.5s var(--ease);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 20rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

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

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #090807;
  padding: 3.5rem 0 1.5rem;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}

.footer-tag,
.footer-address {
  color: var(--ink-muted);
}

.footer-heading {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
}

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

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.footer-base p { margin: 0; }

.cta-band {
  padding: 4rem 0;
  text-align: center;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse at center, rgba(212, 175, 119, 0.08), transparent 60%);
}

.cta-band .lede {
  margin-inline: auto;
}

/* Animations */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .split,
  .offer-grid,
  .post-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child { order: 0; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: rgba(12, 10, 9, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-cinematic {
    min-height: 78vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
