:root {
  --bg: #f7f6f3;
  --bg-alt: #ffffff;
  --ink: #1a1f1e;
  --muted: #5b6663;
  --line: #e3e0d8;
  --brand: #0f766e;
  --brand-dark: #0b5a54;
  --brand-soft: #d8f3ef;
  --accent: #c9783c;
  --shadow: 0 18px 50px rgba(26, 31, 30, 0.08);
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 246, 243, 0.85);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.02em;
}
.logo-mark {
  width: 1.55rem; height: 1.55rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #14b8a6 60%, var(--accent));
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.nav { display: flex; gap: 1.25rem; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.nav a:hover { color: var(--ink); }

.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(15, 118, 110, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(201, 120, 60, 0.08), transparent 55%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.5rem; align-items: center;
}
.eyebrow {
  display: inline-block; margin: 0 0 .75rem;
  color: var(--brand); font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 1rem; font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  line-height: 1.12; letter-spacing: -0.03em;
}
.lede { margin: 0 0 1.75rem; color: var(--muted); font-size: 1.125rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.25rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }

.hero-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}
.hero-card-inner {
  background: linear-gradient(160deg, var(--brand-soft), #fff 55%);
  border-radius: var(--radius);
  padding: 1.75rem;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.pill {
  display: inline-block; align-self: flex-start;
  background: #fff; color: var(--brand-dark);
  border: 1px solid rgba(15,118,110,.2);
  padding: .35rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600;
}
.hero-card-title {
  margin: 1.5rem 0; font-size: 1.55rem; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.25;
}
.hero-card-note { margin: 0; color: var(--muted); font-size: .9rem; }

.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2, .about-copy h2, .section-legal h2 {
  margin: 0 0 .75rem; font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.025em; line-height: 1.2;
}
.section-sub { margin: 0; color: var(--muted); font-size: 1.05rem; }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.pillar {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 8px 24px rgba(26,31,30,.03);
}
.section-alt .pillar { background: var(--bg); }
.pillar-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 1rem;
}
.pillar-icon svg { width: 1.25rem; height: 1.25rem; }
.pillar h3 { margin: 0 0 .5rem; font-size: 1.15rem; letter-spacing: -0.01em; }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }

.about-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.75rem; align-items: center;
}
.about-photo {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #ddd;
}
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 18%; }
.about-copy p { color: var(--muted); }
.about-copy p strong { color: var(--ink); }
.about-facts {
  list-style: none; padding: 0; margin: 1.75rem 0 0;
  display: grid; gap: .75rem;
}
.about-facts li {
  display: grid; grid-template-columns: 7rem 1fr; gap: 1rem;
  padding: .9rem 1rem; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--ink); font-size: .95rem;
}
.about-facts span { color: var(--brand); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; align-self: center; }

.contact-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.contact-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.5rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
a.contact-card:hover {
  border-color: rgba(15,118,110,.35);
  box-shadow: 0 10px 28px rgba(15,118,110,.08);
}
.contact-label {
  display: block; margin-bottom: .35rem;
  color: var(--brand); font-size: .75rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
}
.contact-value { color: var(--ink); font-weight: 600; font-size: 1.05rem; line-height: 1.45; }

.section-legal { padding-top: 2.5rem; padding-bottom: 3rem; background: #efece6; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.section-legal h2 { font-size: 1.15rem; }
.section-legal p { margin: 0; color: var(--muted); font-size: .92rem; }

.site-footer {
  background: #15201e; color: rgba(255,255,255,.78); padding: 2.5rem 0;
}
.footer-inner {
  display: grid; gap: 1.25rem;
}
.site-footer strong { color: #fff; display: block; margin-bottom: .25rem; }
.site-footer p { margin: 0; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: #9fe7dc; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-copy { opacity: .7; font-size: .85rem !important; }

@media (max-width: 860px) {
  .hero-grid, .about-grid, .pillars, .contact-grid, .legal-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .nav { gap: .9rem; font-size: .9rem; }
  .about-facts li { grid-template-columns: 1fr; gap: .2rem; }
  .hero-card { order: -1; }
}

@media (max-width: 520px) {
  .wrap { width: min(1100px, calc(100% - 1.5rem)); }
  .nav a:nth-child(1) { display: none; }
}
