:root {
  --ink: #08090b;
  --ink-2: #11151a;
  --white: #ffffff;
  --paper: #f5f2ec;
  --soft: #ebe6db;
  --gold: #c79a43;
  --gold-bright: #f0cf7a;
  --steel: #87909a;
  --muted: #5e6670;
  --line: rgba(199, 154, 67, 0.34);
  --shadow: 0 24px 70px rgba(8, 9, 11, 0.22);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(8, 9, 11, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, black 28%, transparent 92%);
  z-index: -1;
}

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

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

p {
  margin: 0;
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(245, 242, 236, 0.9);
  border-bottom: 1px solid rgba(8, 9, 11, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(220px, 48vw);
}

.brand img {
  width: 100%;
  filter: drop-shadow(0 8px 18px rgba(8, 9, 11, 0.12));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  color: #20262d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: rgba(199, 154, 67, 0.16);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(8, 9, 11, 0.14);
  border-radius: 6px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.hero,
.page-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.page-hero.compact {
  min-height: 520px;
}

.contact-hero {
  min-height: 560px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.9), rgba(8, 9, 11, 0.48) 48%, rgba(8, 9, 11, 0.15)),
    linear-gradient(0deg, rgba(8, 9, 11, 0.94), transparent 42%);
}

.hero-content,
.page-title {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 12vw, 140px) 0 clamp(58px, 8vw, 90px);
  color: var(--white);
}

.hero-content {
  max-width: 820px;
  margin-left: clamp(20px, 5vw, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 920px;
  font-size: clamp(44px, 7.8vw, 92px);
  line-height: 0.94;
  font-weight: 900;
}

.page-title h1 {
  font-size: clamp(38px, 6vw, 76px);
}

h2 {
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.02;
  font-weight: 900;
}

h3 {
  font-size: 22px;
  line-height: 1.12;
  font-weight: 900;
}

.lead {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(8, 9, 11, 0.2);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.button.primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.intro-band,
.image-split,
.content-grid,
.process-section,
.values-section,
.timeline-section,
.contact-layout,
.cta-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 0;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 38px;
}

.intro-grid,
.values-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.values-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.value-card,
.process-card,
.side-card,
.contact-form {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(8, 9, 11, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(8, 9, 11, 0.06);
}

.feature-card,
.value-card,
.process-card,
.timeline-item {
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card > *,
.value-card > *,
.process-card > *,
.timeline-item > * {
  position: relative;
  z-index: 1;
}

.feature-card::before,
.value-card::before,
.process-card::before,
.timeline-item::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  z-index: 0;
}

.feature-card::after,
.value-card::after,
.process-card::after,
.timeline-item::after {
  content: "";
  position: absolute;
  inset: 5px 0 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8)),
    var(--card-image, linear-gradient(135deg, #ffffff, #f3eee4)) center/cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 220ms ease, transform 360ms ease;
  transform: scale(1.03);
}

.feature-card:hover,
.value-card:hover,
.process-card:hover,
.timeline-item:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 154, 67, 0.38);
  box-shadow: 0 28px 60px rgba(8, 9, 11, 0.11);
}

.feature-card:hover::after,
.value-card:hover::after,
.process-card:hover::after,
.timeline-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.feature-card:nth-child(1),
.process-card:nth-child(1),
.timeline-item:nth-child(1) {
  --card-image: url("https://images.unsplash.com/photo-1517524008697-84bbe3c3fd98?auto=format&fit=crop&w=900&q=70");
}

.feature-card:nth-child(2),
.process-card:nth-child(2),
.timeline-item:nth-child(2) {
  --card-image: url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=900&q=70");
}

.feature-card:nth-child(3),
.process-card:nth-child(3),
.timeline-item:nth-child(3) {
  --card-image: url("https://images.unsplash.com/photo-1503736334956-4c8f8e92946d?auto=format&fit=crop&w=900&q=70");
}

.value-card:nth-child(1) {
  --card-image: url("https://images.unsplash.com/photo-1502877338535-766e1452684a?auto=format&fit=crop&w=900&q=70");
}

.value-card:nth-child(2) {
  --card-image: url("https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?auto=format&fit=crop&w=900&q=70");
}

.value-card:nth-child(3) {
  --card-image: url("https://images.unsplash.com/photo-1542362567-b07e54358753?auto=format&fit=crop&w=900&q=70");
}

.value-card:nth-child(4) {
  --card-image: url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=900&q=70");
}

.feature-card span,
.process-card span,
.timeline-item span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card p,
.value-card p,
.process-card p,
.text-block p,
.copy-panel p,
.contact-details p,
.timeline-item p {
  margin-top: 14px;
  color: var(--muted);
}

.image-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: stretch;
}

.image-split.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.media-panel {
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.media-panel:hover img {
  transform: scale(1.035);
}

.copy-panel,
.text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
  border-left: 5px solid var(--gold);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(8, 9, 11, 0.08);
}

.check-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 11px 0 11px 28px;
  color: #2d333b;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 2px;
  background: var(--gold);
}

.stats-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(8, 9, 11, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.stats-strip div {
  padding: 30px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.stats-strip div:last-child {
  border-right: 0;
}

.stats-strip strong {
  display: block;
  color: var(--gold-bright);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.stats-strip span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.cta-section {
  padding-bottom: clamp(70px, 9vw, 120px);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(8, 9, 11, 0.94), rgba(8, 9, 11, 0.76)),
    url("https://images.unsplash.com/photo-1549927681-0b673b8243ab?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  max-width: 760px;
  margin-bottom: 28px;
}

.content-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.side-card {
  background:
    linear-gradient(145deg, rgba(8, 9, 11, 0.94), rgba(8, 9, 11, 0.86)),
    url("https://images.unsplash.com/photo-1549927681-0b673b8243ab?auto=format&fit=crop&w=1000&q=70") center/cover;
  color: var(--white);
}

.side-card h3 {
  color: var(--gold-bright);
}

.side-card dl {
  margin: 24px 0 0;
}

.side-card div {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.side-card dt {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.side-card dd {
  margin: 0;
  font-weight: 800;
}

.side-card .plain-list li {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.process-section {
  padding-bottom: 20px;
}

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

.timeline-item {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(8, 9, 11, 0.07);
}

.contact-details {
  padding: clamp(28px, 4vw, 50px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(8, 9, 11, 0.07);
}

.detail-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.detail-list a,
.detail-list p {
  display: block;
  padding: 18px;
  border: 1px solid rgba(8, 9, 11, 0.1);
  border-radius: 8px;
  background: #faf8f3;
  color: var(--ink);
  font-weight: 850;
}

.detail-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #29313a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(8, 9, 11, 0.16);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdfa;
  font: inherit;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(199, 154, 67, 0.22);
  border-color: var(--gold);
}

.form-note {
  min-height: 24px;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
}

.site-footer img {
  width: 150px;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.site-footer p {
  max-width: 660px;
  margin: 0;
  font-size: 14px;
  text-align: right;
}

.footer-address {
  display: grid;
  gap: 3px;
  justify-items: end;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.footer-address strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.25;
}

.footer-address a {
  color: var(--gold-bright);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(8, 9, 11, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .intro-band,
  .image-split,
  .image-split.reverse,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .values-grid,
  .process-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-panel {
    min-height: 390px;
  }

  .side-card {
    order: -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
  }

  .brand {
    width: min(176px, 54vw);
  }

  .hero,
  .page-hero,
  .page-hero.compact,
  .contact-hero {
    min-height: 540px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 9, 11, 0.9), rgba(8, 9, 11, 0.68)),
      linear-gradient(0deg, rgba(8, 9, 11, 0.95), transparent 52%);
  }

  .hero-content,
  .page-title {
    width: min(100% - 32px, var(--max));
    padding-bottom: 48px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro-band,
  .image-split,
  .content-grid,
  .process-section,
  .values-section,
  .timeline-section,
  .contact-layout,
  .cta-section,
  .stats-strip {
    width: calc(100% - 32px);
  }

  .intro-grid,
  .values-grid,
  .process-grid,
  .timeline,
  .stats-strip,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .stats-strip div:last-child {
    border-bottom: 0;
  }

  .copy-panel,
  .text-block,
  .contact-details,
  .contact-form {
    padding: 24px;
  }

  .media-panel {
    min-height: 300px;
  }

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

  .site-footer p {
    text-align: left;
  }

  .footer-address {
    justify-items: start;
    text-align: left;
  }
}
