:root {
  --bg: #f6f4ef;
  --surface: #fffdf9;
  --surface-strong: #16120f;
  --text: #221c17;
  --text-muted: #5e544b;
  --border: #d8cdc1;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-alt: #b45309;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 253, 249, 0.18);
  background: rgba(17, 14, 12, 0.74);
  backdrop-filter: blur(14px);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-row {
  min-height: 72px;
}

.brand,
.nav a,
.site-footer a {
  color: #fffdf9;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.nav a {
  font-size: 0.96rem;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(18, 14, 11, 0.38) 0%, rgba(18, 14, 11, 0.74) 58%),
    linear-gradient(90deg, rgba(15, 118, 110, 0.28) 0%, rgba(180, 83, 9, 0.18) 100%);
}

.hero-content {
  position: relative;
  padding-top: 120px;
  padding-bottom: 96px;
  color: #fffdf9;
}

.eyebrow,
.section-label,
.contact-label {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
}

.eyebrow,
.section-label {
  color: var(--accent-alt);
}

.section-dark .section-label,
.site-footer {
  color: #f3e8d8;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: 1.15rem;
  color: rgba(255, 253, 249, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: #fffdf9;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: rgba(255, 253, 249, 0.54);
  background: rgba(255, 253, 249, 0.08);
  color: #fffdf9;
}

.section {
  padding: 88px 0;
}

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

.two-column,
.feature-layout,
.contact-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-heading {
  max-width: 640px;
  margin-bottom: 32px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

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

.panel,
.contact-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.panel h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.panel p,
.two-column p,
.feature-copy p,
.contact-layout p {
  color: var(--text-muted);
}

.section-feature {
  background: #efe6dc;
}

.feature-layout {
  align-items: center;
}

.feature-list {
  padding-left: 20px;
  color: var(--text);
}

.feature-list li + li {
  margin-top: 8px;
}

.feature-media img {
  width: 100%;
  min-height: 360px;
  border-radius: 8px;
  object-fit: cover;
}

.section-dark {
  background: var(--surface-strong);
  color: #fffdf9;
}

.section-dark h2,
.section-dark a {
  color: #fffdf9;
}

.section-dark p {
  color: rgba(255, 253, 249, 0.8);
}

.contact-card {
  align-self: start;
  background: rgba(255, 253, 249, 0.06);
  border-color: rgba(255, 253, 249, 0.18);
}

.contact-card a {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 700;
}

.site-footer {
  background: #110e0c;
  padding: 24px 0 40px;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .two-column,
  .feature-layout,
  .contact-layout,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 72vh;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .header-row,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .hero-content {
    padding-top: 112px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section {
    padding: 72px 0;
  }
}
