:root {
  --gold: #c9a86c;
  --gold-soft: rgba(201,168,108,.18);
  --cream: #ecdfc8;
  --cream-soft: rgba(236,223,200,.72);
  --dark: #080604;
  --ink: rgba(8,6,4,.78);
}

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

html {
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--dark);
  color: var(--cream);
  font-family: 'DM Mono', monospace;
}

body {
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  background: var(--dark);
  color: var(--cream);
}

a { color: inherit; }
img, video, svg { max-width: 100%; }
button, input, select, textarea { max-width: 100%; }

.bg-video,
.bg-image {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .24;
  filter: saturate(.28) sepia(.45) contrast(1.05);
  z-index: 0;
}

.bg-video { object-fit: cover; }

.bg-image {
  background-position: center;
  background-size: cover;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 25%, rgba(8,6,4,.22), rgba(8,6,4,.94) 78%),
    linear-gradient(180deg, rgba(8,6,4,.58), rgba(8,6,4,.96));
}

.site {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.3rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(8,6,4,.76);
  border-bottom: 1px solid rgba(201,168,108,.12);
  backdrop-filter: blur(16px);
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201,168,108,.5);
  color: var(--gold);
}

.brand-main {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .06em;
}

.brand-sub {
  display: block;
  color: rgba(201,168,108,.5);
  font-size: .48rem;
  letter-spacing: .34em;
  line-height: 1.4;
  text-transform: uppercase;
}

.social-top {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.social-top a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,108,.42);
  background: rgba(201,168,108,.08);
  color: var(--gold);
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .25s;
}

.social-top a:hover {
  background: rgba(201,168,108,.18);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.social-top svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  min-width: 0;
}

.nav-links a {
  color: rgba(236,223,200,.48);
  font-size: .58rem;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s;
}

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

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: calc(100vh - 84px);
}

.hero-copy { max-width: 710px; min-width: 0; }

.eyebrow {
  color: rgba(201,168,108,.68);
  font-size: .56rem;
  letter-spacing: .35em;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  margin: 0;
}

h1 {
  color: var(--cream);
  font-size: clamp(3.4rem, 8vw, 7.3rem);
  line-height: .9;
}

h1 em, h2 em { color: var(--gold); font-style: italic; font-weight: 300; }

.lead {
  color: var(--cream-soft);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.85;
  margin: 1.4rem 0 0;
}

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

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: .85rem 1.35rem;
  font-size: .58rem;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.45;
  white-space: normal;
}

.btn-primary {
  color: var(--dark);
  background: var(--gold);
  border: 1px solid var(--gold);
}

.btn-ghost {
  color: var(--gold);
  border: 1px solid rgba(201,168,108,.42);
  background: rgba(8,6,4,.18);
}

.hero-image,
.panel-image {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(201,168,108,.16);
  filter: sepia(.18) saturate(.82) contrast(1.04);
}

.section {
  padding: clamp(2.6rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(201,168,108,.11);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

h2 {
  color: var(--cream);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: .98;
}

h3 {
  color: var(--cream);
  font-size: 1.45rem;
  line-height: 1.15;
}

p {
  color: rgba(236,223,200,.78);
  line-height: 1.75;
}

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

.card,
.quote-panel {
  border: 1px solid rgba(201,168,108,.13);
  background: rgba(8,6,4,.58);
  padding: 1.2rem;
  min-width: 0;
}

.card p { margin-bottom: 0; }

.price-note {
  color: rgba(236,223,200,.58);
  font-size: .85rem;
  line-height: 1.7;
}

.steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.steps li {
  counter-increment: steps;
  min-height: 120px;
  border: 1px solid rgba(201,168,108,.14);
  background: rgba(8,6,4,.52);
  padding: 1rem;
  color: rgba(236,223,200,.74);
  line-height: 1.55;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: .7rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.portfolio-grid figure {
  margin: 0;
  border: 1px solid rgba(201,168,108,.12);
  background: rgba(8,6,4,.56);
}

.portfolio-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  filter: sepia(.16) saturate(.82) contrast(1.03);
}

.portfolio-grid figcaption {
  padding: .75rem .85rem .9rem;
  color: rgba(236,223,200,.72);
  font-size: .72rem;
  letter-spacing: .08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.quote-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: .9rem;
}

.field.full { grid-column: 1 / -1; }

label {
  color: rgba(201,168,108,.72);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(201,168,108,.18);
  background: rgba(255,255,255,.035);
  color: var(--cream);
  font: inherit;
  font-size: .96rem;
  padding: .95rem 1rem;
  outline: none;
}

select option {
  color: var(--dark);
  background: var(--cream);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder { color: rgba(236,223,200,.34); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(201,168,108,.11);
}

.site-footer a {
  color: rgba(236,223,200,.5);
  font-size: .56rem;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.simple-center {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
  text-align: center;
}

.simple-center .lead { max-width: 620px; margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .site-nav { align-items: flex-start; }
  .brand-cluster { gap: .65rem; }
  .social-top { gap: .35rem; }
  .social-top a { width: 34px; height: 34px; flex: 0 0 34px; }
  .nav-links { gap: .8rem 1rem; }
  .hero,
  .quote-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .grid,
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
    padding: .85rem .95rem;
  }
  .brand-cluster {
    width: 100%;
    justify-content: space-between;
  }
  .brand-main { font-size: 1.06rem; }
  .brand-sub { font-size: .4rem; letter-spacing: .22em; }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: .45rem;
  }
  .nav-links a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    font-size: .5rem;
    letter-spacing: .09em;
  }
  .page-shell { width: min(100% - 1.5rem, 1120px); padding-top: 2.2rem; }
  h1 { font-size: clamp(2.75rem, 16vw, 4.6rem); }
  h2 { font-size: clamp(2.25rem, 12vw, 3.6rem); }
  h3 { font-size: 1.25rem; }
  .eyebrow { font-size: .5rem; letter-spacing: .22em; line-height: 1.7; }
  .lead { font-size: .96rem; line-height: 1.75; }
  .actions,
  .section-head { align-items: stretch; flex-direction: column; }
  .btn-primary,
  .btn-ghost { width: 100%; padding: .9rem 1rem; letter-spacing: .15em; }
  .grid,
  .portfolio-grid,
  .steps,
  .form-grid { grid-template-columns: 1fr; }
  .steps li { min-height: auto; }
  .quote-panel { padding: 1rem; }
  input, select, textarea {
    min-height: 52px;
    font-size: 1rem;
    padding: .9rem 1rem;
  }
  .site-footer { gap: .65rem 1rem; }
  .site-footer a { overflow-wrap: anywhere; }
}

@media (max-width: 380px) {
  .site-nav { padding: .75rem .8rem; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-main { font-size: .96rem; }
  .brand-sub { font-size: .34rem; letter-spacing: .16em; }
  .social-top { gap: .25rem; }
  .social-top a { width: 30px; height: 30px; flex-basis: 30px; }
  .nav-links a { font-size: .46rem; letter-spacing: .06em; }
  .page-shell { width: min(100% - 1.25rem, 1120px); padding-top: 1.8rem; }
  h1 { font-size: clamp(2.45rem, 15vw, 3.7rem); }
  .btn-primary,
  .btn-ghost { font-size: .52rem; letter-spacing: .12em; padding-left: .85rem; padding-right: .85rem; }
  .card,
  .quote-panel { padding: .95rem; }
  .portfolio-grid figcaption { font-size: .65rem; letter-spacing: .06em; }
}
