:root {
  --background: #1A1612;
  --ivory: #F0E7D8;
  --brass: #8C6A32;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
  --content-width: 82rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--background);
  color: var(--ivory);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border: 1px solid var(--brass);
  opacity: 0.18;
}

::selection {
  color: var(--background);
  background: var(--brass);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ivory);
  font-family: "Marcellus", serif;
  font-weight: 400;
  line-height: 1.12;
}

h1,
h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0;
  left: var(--page-gutter);
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--background);
  background: var(--ivory);
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--content-width));
  min-height: 6rem;
  margin: 0 auto;
  padding: 1rem var(--page-gutter);
  border-bottom: 1px solid var(--brass);
}

.brand {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  font-family: "Marcellus", serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
}

.primary-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}

.primary-nav a,
.social-row a,
.site-footer a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding: 0.5rem 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

section {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--page-gutter);
}

.ruled-section {
  border-bottom: 1px solid var(--brass);
}

.section-heading {
  max-width: 43rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.compact-heading {
  max-width: 50rem;
}

.eyebrow,
.field label,
.step-label,
.contact-label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--brass);
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

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

.field-wide,
.form-action {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--brass);
  border-radius: 0;
  padding: 0.75rem 0;
  color: var(--ivory);
  background: var(--background);
  font: inherit;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ivory);
}

.field-note {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.form-action {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

button,
.ghost-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border: 1px solid var(--brass);
  border-radius: 0;
  padding: 0.8rem 1.4rem;
  color: var(--ivory);
  background: var(--background);
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

button:hover,
.ghost-cta:hover {
  color: var(--background);
  background: var(--brass);
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
}

.price-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

.price-line h3 {
  font-size: clamp(1.3rem, 3vw, 2.3rem);
}

.price-line p {
  margin-bottom: 0;
  opacity: 0.72;
}

.price-line strong {
  color: var(--brass);
  font-family: "Marcellus", serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
  white-space: nowrap;
}

.service-list {
  border-top: 1px solid var(--brass);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 7vw, 8rem);
  align-items: baseline;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--brass);
}

.service-row h3,
.service-row p {
  margin: 0;
}

.service-row p {
  opacity: 0.74;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--brass);
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 70rem;
}

.hero h2 {
  margin-bottom: 2rem;
  font-size: clamp(3.2rem, 9vw, 8.5rem);
  line-height: 0.96;
}

.hero-copy {
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 48rem);
  height: min(78vw, 48rem);
  fill: none;
  stroke: var(--brass);
  stroke-width: 1;
  opacity: 0.12;
  transform: translate(-50%, -50%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

.step {
  min-height: 15rem;
  padding: 2rem;
  border-right: 1px solid var(--brass);
}

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

.step h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.contact-section {
  padding-bottom: 2rem;
}

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  padding-bottom: 4rem;
}

address {
  font-style: normal;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.contact-label {
  margin-top: 2rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

.privacy-panel {
  max-width: 54rem;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.privacy-panel h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--brass);
  font-size: 0.78rem;
}

@media (max-width: 52rem) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .primary-nav {
    width: 100%;
    gap: 0.8rem 1.35rem;
    flex-wrap: wrap;
  }

  .request-section,
  .contact-main {
    grid-template-columns: 1fr;
  }

  .request-section {
    gap: 0;
  }

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

  .step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--brass);
  }

  .step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 36rem) {
  .request-form {
    grid-template-columns: 1fr;
  }

  .field-wide,
  .form-action {
    grid-column: auto;
  }

  .form-action,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-line,
  .service-row {
    grid-template-columns: 1fr;
  }

  .price-line {
    align-items: start;
  }

  .service-row {
    gap: 0.5rem;
  }

  .hero {
    min-height: 85svh;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
