:root {
  --bg: #0c0b09;
  --bg-2: #13110e;
  --bg-3: #1b1814;
  --bg-4: #242019;
  --cream: #ece4d4;
  --cream-soft: #d8cebc;
  --muted: #9a9082;
  --gold: #c4a574;
  --gold-bright: #e2c48a;
  --line: rgba(236, 228, 212, 0.1);
  --line-strong: rgba(236, 228, 212, 0.18);
  --gold-line: rgba(196, 165, 116, 0.38);
  --danger: #d46a4c;
  --ok: #8aa37a;
  --serif: "Cormorant Garamond", "Iwanow", "Times New Roman", serif;
  --sans: Manrope, "Segoe UI", system-ui, sans-serif;
  --header: 4.5rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 72rem;
  --wide: 88rem;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

.hp,
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.wrap-wide {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
}

h1,
.display {
  font-size: clamp(3.1rem, 8.4vw, 7.4rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--cream-soft);
  max-width: 38rem;
  line-height: 1.7;
}

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

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Header */

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 11, 9, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

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

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
}

.nav-burger {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: var(--cream);
  position: relative;
}

.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-burger span::before {
  top: -5px;
}

.nav-burger span::after {
  top: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.site-nav a {
  color: var(--cream-soft);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

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

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

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

.btn-full {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: end stretch;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.25) 0%, rgba(12, 11, 9, 0.35) 40%, rgba(12, 11, 9, 0.92) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0.55), transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin: 0 auto 4.5rem;
}

.hero-copy h1 {
  max-width: 14ch;
  margin: 0.8rem 0 1.4rem;
}

.hero-copy .lead {
  color: var(--cream-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-meta {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 11rem));
  gap: 1.5rem;
  max-width: 40rem;
}

.hero-meta b {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1;
}

.hero-meta span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Sections */

.section {
  padding: 5.5rem 0;
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-head p {
  margin: 0;
  color: var(--cream-soft);
}

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

.split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.frame {
  position: relative;
  border: 1px solid var(--gold-line);
  padding: 0.7rem;
  background: var(--bg-2);
}

.frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.frame.portrait img {
  aspect-ratio: 3 / 4;
  object-position: 50% 18%;
}

.frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.2rem 0.15rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose p {
  color: var(--cream-soft);
  margin: 0 0 1rem;
}

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

/* Work mosaic */

.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.mosaic article {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  min-height: 14rem;
}

.mosaic article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
}

.mosaic article:first-child {
  grid-row: 1 / span 2;
}

.mosaic article:first-child img {
  min-height: 33rem;
}

.tile-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.tile-label b {
  font-weight: 600;
}

.tile-label span {
  color: var(--gold-bright);
}

/* Process */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process li {
  list-style: none;
  padding: 1.8rem 1.4rem 1.9rem 0;
  border-right: 1px solid var(--line);
}

.process li:last-child {
  border-right: 0;
}

.process {
  padding: 0;
  margin: 0;
}

.process .num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.7rem;
}

.process h3 {
  margin: 0.7rem 0 0.6rem;
}

.process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Chart */

.chart-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem 1.2rem;
}

.chart-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.chart-card h3 {
  font-size: 1.6rem;
}

.chart-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.swatch {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.35rem;
  vertical-align: -1px;
}

.swatch.gold {
  background: var(--gold);
}

.swatch.cream {
  background: var(--cream-soft);
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.bars {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 8.5rem 1fr 2.6rem;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.bar-track {
  height: 0.38rem;
  background: var(--bg-4);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8a6a3e, var(--gold-bright));
  border-radius: 99px;
}

/* Code */

.code-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.code-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

pre.code {
  margin: 0;
  height: 100%;
  background: #0a0908;
  border: 1px solid var(--line);
  padding: 1.4rem 1.3rem;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #d7ccb8;
}

pre.code .tag {
  color: #d4a574;
}

pre.code .attr {
  color: #cfc3a4;
}

pre.code .val {
  color: #8aa37a;
}

pre.code .com {
  color: #6e675c;
}

/* Prices */

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

.price {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.7rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price.featured {
  border-color: var(--gold-line);
  background:
    linear-gradient(180deg, rgba(196, 165, 116, 0.08), transparent 38%),
    var(--bg-2);
  transform: translateY(-0.4rem);
}

.price-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.price .amount {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 500;
}

.price .amount small {
  font-size: 1.15rem;
  color: var(--muted);
  margin-left: 0.15rem;
}

.badge {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.28rem 0.55rem;
  border-radius: 99px;
  font-weight: 700;
}

.price .tagline {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.3rem 0 1.2rem;
}

.price ul {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  flex: 1;
}

.price li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--cream-soft);
  font-size: 0.92rem;
}

.price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.45rem;
  height: 1px;
  background: var(--gold);
}

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

/* Form */

.form-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.form {
  display: grid;
  gap: 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.6rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span,
.field-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  background: var(--bg);
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  font-family: var(--sans);
  font-size: 1rem;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--cream-soft);
}

.check input {
  margin-top: 0.25rem;
  accent-color: var(--gold);
}

.form-error {
  color: var(--danger);
  font-size: 0.9rem;
}

.chosen {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--gold-line);
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Thanks */

.thanks {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: 6rem var(--gutter);
}

.thanks-bg {
  position: absolute;
  inset: 0;
}

.thanks-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.9);
}

.thanks-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(12, 11, 9, 0.15), rgba(12, 11, 9, 0.78));
}

.thanks-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.thanks-inner h1 {
  font-size: clamp(3rem, 8vw, 6.2rem);
  margin: 0.8rem 0 1.2rem;
}

.order-panel { display: none; }
.order-panel:target { display: block; }
.order-choose { display: block; }
.order-panel:target ~ .order-choose { display: none; }

body.thanks-page .site-header,
body.thanks-page .site-footer {
  display: none;
}

body.thanks-page {
  min-height: 100vh;
}

/* Legal */

.legal {
  max-width: 46rem;
}

.legal h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0.6rem 0 1.4rem;
}

.legal h2 {
  font-size: 1.8rem;
  margin: 2.2rem 0 0.8rem;
}

.legal p,
.legal li {
  color: var(--cream-soft);
}

.legal ul {
  padding-left: 1.15rem;
}

.updated {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.2rem 0 1.4rem;
  background: #090807;
}

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

.footer-brand {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

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

.site-footer li {
  margin: 0.35rem 0;
}

.site-footer a {
  color: var(--cream-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.cookie-note {
  margin-top: 1rem;
  padding: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Contact facts */

.facts {
  display: grid;
  gap: 1.1rem;
}

.facts div {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0.25rem 0 0;
  font-size: 1.15rem;
}

.facts a {
  color: var(--cream);
  text-decoration: none;
}

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

/* Page intro */

.page-intro {
  padding: 4.2rem 0 2.4rem;
}

.page-intro h1 {
  max-width: 16ch;
  margin: 0.7rem 0 1.1rem;
}

/* Notice / empty / error */

.banner {
  border: 1px solid var(--gold-line);
  background: rgba(196, 165, 116, 0.08);
  padding: 1rem 1.1rem;
  color: var(--cream-soft);
  font-size: 0.92rem;
}

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

.service {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem;
}

.service .num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.service h3 {
  margin: 0.5rem 0 0.7rem;
}

.service p {
  margin: 0;
  color: var(--muted);
}

/* Mobile nav */

@media (max-width: 860px) {
  .nav-burger {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem var(--gutter) 1.2rem;
    background: #100e0c;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a,
  .site-nav .btn {
    width: 100%;
    min-height: 2.8rem;
    justify-content: flex-start;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .nav-toggle:checked + .nav-burger span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-burger span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-burger span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .header-inner {
    position: relative;
  }

  .section-head,
  .split,
  .split.reverse,
  .code-grid,
  .form-shell,
  .prices,
  .process,
  .footer-grid,
  .services,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic article:first-child {
    grid-row: auto;
  }

  .mosaic article:first-child img,
  .mosaic article img {
    min-height: 16rem;
    aspect-ratio: 16 / 10;
  }

  .price.featured {
    transform: none;
  }

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

  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 92vh;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 3.6rem 0;
  }

  .page-intro {
    padding-top: 2.6rem;
  }
}

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

  * {
    transition: none !important;
    animation: none !important;
  }
}
