:root {
  --bg: #f3f3f3;
  --bg-white: #ffffff;
  --text: #222222;
  --text-muted: #5c5c5c;
  --heading: #141414;
  --gold: #c5a35a;
  --gold-dark: #a8893f;
  --gold-soft: #f3ead4;
  --ink: #1a1a1a;
  --border: #e2e2e2;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 2px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --shell: 72rem;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
blockquote {
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
}

p {
  margin: 0;
}

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

/* Top utility bar */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 500;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.1rem;
  gap: 1rem;
}

.topbar-links a {
  color: rgba(255, 255, 255, 0.9);
}

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

/* Header */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--heading);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--heading);
  font-size: 0.92rem;
  font-weight: 600;
}

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

/* Full-bleed hero (Goldbelt-style) */
.hero-full {
  position: relative;
  min-height: clamp(34rem, 72vh, 46rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 0 7.5rem;
  overflow: hidden;
}

.hero-full__media {
  position: absolute;
  inset: 0;
  background:
    url("assets/hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-full__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-full__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.25rem;
  max-width: 56rem;
  margin: 0 auto 2.5rem;
}

.hero-banner {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.55rem 1rem;
  background: var(--gold);
  color: #1a1408;
  font-size: clamp(0.68rem, 1.4vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-full__content h1 {
  color: #fff;
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

/* Overlapping hero cards */
.hero-cards {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: auto;
  margin-bottom: -3.5rem;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow);
  padding: 2rem 1.35rem 1.5rem;
  min-height: 11.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.hero-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.hero-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 18rem;
  flex: 1;
}

.chev {
  margin-top: 1.15rem;
  color: var(--heading);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 6rem) 0;
}

.section-story {
  padding-top: clamp(5.5rem, 11vw, 7.5rem);
  background: var(--bg-white);
}

.section-light {
  background: var(--bg);
}

.section-cta {
  padding-top: 0;
  background: var(--bg);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.story-grid h2,
.vision-block h2,
.cta-panel h2,
.contact-intro h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
}

.section-lead,
.prose {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 40rem;
}

.section-head.center .section-lead {
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.checklist {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  color: var(--text-muted);
}

.checklist li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

.vision-block {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.vision-block blockquote {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 auto;
}

.vision-block .prose {
  margin-inline: auto;
}

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

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  min-height: 100%;
}

.card-num {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.cta-panel h2 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.72);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-gold {
  background: var(--gold);
  color: #1a1408;
}

.btn-gold:hover {
  background: #d4b56c;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: #2a2a2a;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Contact */
.page-inner {
  background: var(--bg);
}

.contact-section {
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
  background: var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.req {
  color: var(--gold-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 163, 90, 0.2);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c5c5c' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

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

.form-status {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
}

.form-status--success {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #027a48;
}

.form-status--error {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

.form-note {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Footer */
.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

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

.logo-footer .logo-mark {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.85rem;
}

.logo-footer .logo-text {
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-cards,
  .cards,
  .story-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-full {
    padding-bottom: 2rem;
  }

  .hero-cards {
    margin-bottom: 0;
  }

  .section-story {
    padding-top: clamp(3rem, 8vw, 4rem);
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav a {
    display: none;
  }

  .nav a[href="/contact.html"],
  .nav a[href$="contact.html"] {
    display: inline;
  }

  .shell {
    width: min(100% - 1.5rem, var(--shell));
  }

  .topbar-inner span {
    display: none;
  }
}

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

  .hero-card,
  .btn {
    transition: none;
  }
}
