:root {
  --ink: #121816;
  --ink-soft: #3a4640;
  --muted: #6b7871;
  --line: #e4e8e5;
  --paper: #f4f5f3;
  --white: #ffffff;
  --forest: #1f6b4a;
  --forest-deep: #154a34;
  --accent: #e85d04;
  --accent-hover: #d04f00;
  --accent-soft: #fff1e8;
  --max: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 24, 22, 0.06);
  --shadow-lg: 0 18px 50px rgba(18, 24, 22, 0.1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(228, 232, 229, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  text-decoration: none;
  color: var(--ink);
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand__tag {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--forest);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.86rem;
}

.nav-cta:hover {
  background: var(--forest);
  color: var(--white) !important;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  color: var(--white);
  padding: 5.5rem 0 4rem;
  background:
    linear-gradient(105deg, rgba(12, 18, 15, 0.88) 0%, rgba(12, 18, 15, 0.45) 55%, rgba(12, 18, 15, 0.25) 100%),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 12ch;
}

.hero p {
  margin: 0 0 1.75rem;
  max-width: 40ch;
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #ffd7b8;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin: 0 0 1.1rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--forest);
  color: var(--white);
}

/* Sections */
section {
  padding: 4.25rem 0;
}

.section-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 600;
  margin: 0 0 0.65rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-lead {
  margin: 0 0 2.25rem;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-card,
.project-card,
.post-card {
  overflow: hidden;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover,
.project-card:hover,
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-card img,
.project-card img,
.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: 0;
  background: #dfe5e1;
}

.service-card > *:not(img),
.project-card > *:not(img),
.post-card > *:not(img) {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

.service-card h3,
.project-card h3,
.post-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 1rem 0 0.4rem;
}

.service-card p,
.project-card p,
.post-card p {
  padding-bottom: 1.2rem;
}

.post-card .meta {
  padding-top: 1rem;
  margin-bottom: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.6rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  gap: 0.55rem;
}

/* Trust */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-item {
  padding: 0.35rem 0.75rem;
  border-left: 2px solid var(--forest);
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.trust-bar a {
  text-decoration: none;
  font-weight: 700;
}

/* Quotes */
.section-soft {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.quote {
  border: 0;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, #ffffff, #fbfbfa);
}

.quote p {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.quote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.google-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.google-box__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.google-box .quote {
  background: transparent;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.google-box .quote:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Inner pages */
.page-hero {
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(31, 107, 74, 0.08), transparent 55%),
    var(--white);
  border-bottom: 1px solid var(--line);
  padding: 3.25rem 0 2.75rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.05rem;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-family: var(--font-display);
  margin-top: 2rem;
  letter-spacing: -0.02em;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-details {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.contact-details dt {
  font-weight: 700;
  margin-top: 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.hcp-embed {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.hcp-embed__note {
  background: var(--accent-soft);
  border: 1px solid #f0d2bf;
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  font-size: 0.88rem;
  margin-bottom: 1.1rem;
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(31, 107, 74, 0.25);
  border-color: var(--forest);
  background: var(--white);
}

.form-grid textarea {
  min-height: 130px;
  resize: vertical;
}

.cta-band {
  background:
    linear-gradient(120deg, var(--forest-deep), #1a5a3d 55%, #246b48);
  color: #e7f3ec;
  border-radius: 0;
}

.cta-band .section-title {
  color: #fff;
  margin: 0 0 0.4rem;
}

.cta-band p {
  margin: 0;
  color: #c8ddcf;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.75rem 0;
  margin-top: 0;
}

.site-footer a {
  color: #b7d8c6;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2,
  .contact-layout,
  .trust-bar__inner {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 4rem 0 3rem;
    align-items: center;
  }

  .trust-item {
    border-left: 0;
    border-top: 2px solid var(--forest);
    padding-left: 0;
    padding-top: 0.75rem;
  }
}
