:root {
  --stone-50: #fbfaf7;
  --stone-100: #f2eee6;
  --stone-200: #ddd3c2;
  --graphite: #202020;
  --charcoal: #30302e;
  --muted: #6f675d;
  --brass: #a98245;
  --white: #ffffff;
  --line: rgba(32, 32, 32, 0.14);
  --shadow: 0 20px 50px rgba(25, 22, 18, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--graphite);
  background: var(--stone-50);
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: rgba(169, 130, 69, 0.55); text-underline-offset: 0.2em; }
a:hover { color: var(--brass); }

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.12;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 5vw, 4.7rem); letter-spacing: 0; }
h2 { font-size: clamp(1.7rem, 3vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--graphite);
  color: var(--white);
  padding: 0.7rem 1rem;
  z-index: 20;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 82px;
}

.brand {
  text-decoration: none;
  display: grid;
  gap: 0.1rem;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 700;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.94rem;
}

.site-nav a {
  text-decoration: none;
  padding: 0.65rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a.is-active { border-color: var(--brass); color: var(--brass); }

.nav-toggle { display: none; }

.hero {
  min-height: calc(100vh - 82px);
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: var(--white);
  background: var(--graphite);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,18,16,0.82), rgba(20,18,16,0.46) 46%, rgba(20,18,16,0.16));
  z-index: -1;
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-content {
  padding: 8rem 0;
  max-width: 1120px;
}
.hero-content p { max-width: 720px; font-size: 1.18rem; }

.page-hero {
  background: linear-gradient(135deg, var(--graphite), #514a42);
  color: var(--white);
  padding: 7rem 0 5rem;
}
.page-hero.compact { padding: 5.5rem 0 4rem; }
.page-hero p { max-width: 760px; font-size: 1.08rem; }
.page-hero.image-hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(20, 18, 16, 0.84), rgba(20, 18, 16, 0.55) 48%, rgba(20, 18, 16, 0.26)),
    var(--hero-image) center / cover no-repeat,
    linear-gradient(135deg, var(--graphite), #514a42);
}
.page-hero.image-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255,255,255,0.24);
  z-index: -1;
}

.eyebrow {
  color: var(--brass);
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--brass);
  border-radius: 6px;
  background: var(--brass);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.button:hover { background: #8d6b35; color: var(--white); }
.button.secondary { background: var(--white); color: var(--graphite); border-color: var(--white); }
.button.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.button.light { background: var(--white); color: var(--graphite); border-color: var(--white); }
.button.secondary.dark-text { border-color: var(--line); color: var(--graphite); }

.section { padding: 5rem 0; }
.section.warm { background: var(--stone-100); }
.section.dark { background: var(--graphite); color: var(--white); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 4rem;
  align-items: start;
}

.text-block p { font-size: 1.05rem; }

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

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

.card,
.material-card,
.offer-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(22, 20, 17, 0.06);
}

.card h3,
.material-card h2,
.offer-card h2 { font-size: 1.35rem; }
.card p,
.material-card p { color: var(--muted); }

.image-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.image-text img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}
.cta-band p { max-width: 720px; }

.prose {
  max-width: 820px;
  font-size: 1.1rem;
}
blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--brass);
  background: var(--stone-100);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.gallery-grid {
  columns: 3 260px;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin: 0 0 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.gallery-item img { width: 100%; }
.gallery-item figcaption {
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.offer-tools {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.offers-focus {
  max-width: 900px;
}
.offer-feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.offer-feature h2 {
  max-width: 720px;
}
.offer-feature p {
  max-width: 760px;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.offer-category {
  color: var(--brass);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}
dl { margin: 0; }
dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
dt { color: var(--muted); }
dd { margin: 0; font-weight: 650; }
.small { color: var(--muted); font-size: 0.88rem; margin-top: 1rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;
  gap: 2rem;
  align-items: start;
}
.contact-card { position: sticky; top: 110px; }
.contact-card h3 { margin-top: 1.3rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.78rem 0.85rem;
  font: inherit;
  background: var(--stone-50);
  color: var(--graphite);
}
textarea { resize: vertical; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1rem 0;
}
.checkbox input { width: auto; margin-top: 0.35rem; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  padding: 0.9rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: 700;
}
.notice.success { background: #e6f4ea; color: #185c2b; }
.notice.error { background: #fff0ed; color: #8c2b1b; }

.legal-text {
  max-width: 900px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
}
.legal-text h2 {
  font-family: var(--sans);
  font-size: 1.2rem;
  margin-top: 2rem;
}
.legal-text p { overflow-wrap: anywhere; }

.site-footer {
  background: #171717;
  color: var(--white);
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 0.8fr;
  gap: 2rem;
}
.footer-grid p { margin: 0.35rem 0; color: rgba(255,255,255,0.72); }
.footer-links {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.mobile-cta { display: none; }

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

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    font-weight: 800;
  }
  .site-nav {
    position: absolute;
    inset: 82px 0 auto 0;
    display: none;
    background: var(--stone-50);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
  }
  .site-nav.is-open {
    display: grid;
    gap: 0.2rem;
  }
  .site-nav a { padding: 0.85rem 1rem; }
  .split,
  .image-text,
  .contact-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid.three,
  .card-grid.four,
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1120px); }
  .header-inner { min-height: 72px; }
  .brand-subline { display: none; }
  .site-nav { inset: 72px 0 auto 0; }
  .hero { min-height: 720px; }
  .hero-content { padding: 5rem 0 4rem; }
  .section { padding: 3.5rem 0; }
  .actions,
  .cta-band,
  .offer-tools { display: grid; }
  .card-grid.three,
  .card-grid.four,
  .offer-grid,
  .form-grid { grid-template-columns: 1fr; }
  dl div { grid-template-columns: 1fr; gap: 0.1rem; }
  .legal-text { padding: 1.2rem; }
  .mobile-cta {
    display: inline-flex;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 15;
    background: var(--brass);
    color: var(--white);
    text-decoration: none;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-weight: 800;
  }
}
