:root {
  color-scheme: light;
  --bg: #faf6f0;
  --bg-alt: #f3ece1;
  --surface: #ffffff;
  --surface-soft: #fbf8f4;
  --border: rgba(30, 25, 20, 0.1);
  --border-strong: rgba(30, 25, 20, 0.16);
  --text: #241d16;
  --muted: #6b6055;
  --primary: #b5602c;
  --primary-strong: #94491d;
  --accent: #2f6f5e;
  --shadow: 0 20px 48px rgba(60, 44, 24, 0.08);
  --shadow-lg: 0 28px 64px rgba(60, 44, 24, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(calc(100% - 28px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 40px;
  position: relative;
  z-index: 1;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 14px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--primary), #d98a4f);
  color: #fff;
  box-shadow: 0 10px 24px rgba(181, 96, 44, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 0.98rem;
  line-height: 1.2;
  color: var(--text);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary-strong);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--text);
}

.menu-toggle span + span {
  margin-top: 4px;
}

.section {
  margin-top: 88px;
}

/* Hero */
.hero {
  display: flex;
  justify-content: center;
  padding: 64px 0 8px;
}

.hero-copy-wrap {
  max-width: 760px;
  text-align: center;
}

.hero-copy-wrap h1 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  justify-content: center;
}

.hero-metrics {
  max-width: 620px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 13ch;
  font-weight: 800;
}

.hero-copy {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 32px rgba(181, 96, 44, 0.24);
}

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

.button-secondary {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--primary);
}

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

.hero-metrics div {
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
}

.hero-metrics strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Trust band */
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.trust-band div {
  padding: 24px 20px;
  background: var(--surface);
}

.trust-band strong {
  display: block;
  margin-bottom: 6px;
}

.trust-band span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Section heading */
.section-heading {
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-heading p {
  color: var(--muted);
  max-width: 64ch;
  font-size: 1.05rem;
}

/* Cards */
.cards {
  display: grid;
  gap: 18px;
}

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

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

.card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-strong {
  background: linear-gradient(150deg, #2f2018, #3a281c);
  color: #f6ede2;
  border: none;
}

.card-strong p {
  color: rgba(246, 237, 226, 0.72);
}

.card h3,
.value-grid h3,
.engagement-card h3,
.timeline-item h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p,
.value-grid p,
.engagement-card p,
.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.accent-card {
  background: linear-gradient(150deg, var(--accent), #24544a);
  color: #fff;
  border: none;
}

.accent-card p {
  color: rgba(255, 255, 255, 0.78);
}

/* Why us */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-grid article {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

/* Process / timeline */
.timeline {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.timeline-item span {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(181, 96, 44, 0.1);
  color: var(--primary);
  font-weight: 800;
}

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

.engagement-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

/* Experience */
.project-card {
  border-top: 3px solid var(--primary);
}

/* Contact */
.contact-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  padding: 40px;
  border-radius: var(--radius-xl);
  align-items: center;
  background: linear-gradient(150deg, #2f2018, #241a13);
  color: #f6ede2;
}

.contact-panel h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  margin-bottom: 14px;
  color: #fff;
  font-weight: 800;
}

.contact-panel p {
  color: rgba(246, 237, 226, 0.72);
  max-width: 60ch;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a {
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  transform: translateY(-1px);
  background: rgba(230, 168, 116, 0.14);
}

.footer {
  padding: 36px 4px 8px;
  color: var(--muted);
  font-size: 0.94rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero,
  .contact-panel,
  .grid-2x4,
  .engagement-grid,
  .trust-band {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .section {
    margin-top: 64px;
  }

  .topbar {
    border-radius: 24px;
    padding: 12px 16px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--surface-soft);
  }

  .hero,
  .contact-panel,
  .grid-2x4,
  .grid-3,
  .value-grid,
  .engagement-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 26px;
  }

  h1 {
    max-width: 14ch;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 16px;
  }

  .topbar {
    gap: 12px;
  }

  .brand-text small {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item span {
    width: 40px;
    height: 40px;
  }
}
