:root {
  color-scheme: light;
  --bg: #f4efe6;
  --bg-soft: rgba(255, 251, 245, 0.74);
  --surface: rgba(255, 255, 255, 0.64);
  --surface-strong: rgba(255, 255, 255, 0.82);
  --border: rgba(22, 32, 43, 0.1);
  --text: #16212b;
  --muted: #5f6c77;
  --accent: #0e8e76;
  --accent-deep: #0b6c59;
  --accent-warm: #b8793f;
  --shadow: 0 26px 70px rgba(86, 71, 51, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 142, 118, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(184, 121, 63, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f3eb 0%, #f4efe6 48%, #efe8dc 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(22, 33, 43, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 33, 43, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
  opacity: 0.25;
}

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

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

.site-shell {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 34px;
  background: rgba(252, 248, 242, 0.82);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(86, 71, 51, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

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

.nav a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

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

.hero,
.section {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 800ms ease forwards;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.service-card,
.about-copy,
.cta-section {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h1,
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

.lead,
.about-copy p,
.cta-section p,
.service-card p,
.hero-panel p,
.principles p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.lead-note {
  margin-bottom: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #8ee5d0 100%);
  color: #fbf8f3;
}

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

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.highlights li,
.panel-grid article,
.service-card,
.principles div {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(22, 32, 43, 0.08);
}

.highlights li {
  padding: 18px;
}

.highlights strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.highlights span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.hero-panel {
  padding: 30px;
}

.panel-label {
  margin-bottom: 20px;
  color: var(--accent-warm);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  gap: 16px;
}

.panel-grid article {
  padding: 22px;
}

.panel-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 800;
}

.panel-grid h2,
.service-card h3,
.principles h3 {
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section {
  margin-top: 28px;
  padding: 40px;
  animation-delay: 120ms;
}

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

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

.service-card {
  padding: 28px;
}

.about-section {
  animation-delay: 200ms;
}

.about-copy {
  padding: 40px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.principles div {
  padding: 22px;
}

.cta-section {
  text-align: center;
  animation-delay: 280ms;
}

.cta-section h2 {
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero,
  .section {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .services-grid,
  .principles,
  .highlights {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .section,
  .about-copy {
    padding: 30px;
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--content-width));
    padding-top: 12px;
  }

  .topbar {
    position: static;
    border-radius: 28px;
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 12px;
  }

  .hero-copy,
  .hero-panel,
  .section,
  .about-copy {
    padding: 24px;
    border-radius: 24px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}
