:root {
  --ink: #10231c;
  --muted: #4f6359;
  --paper: #f2f6f4;
  --paper-2: #e7efeb;
  --leaf: #0a3d31;
  --leaf-2: #12705a;
  --water: #1c6b8a;
  --line: rgba(16, 35, 28, 0.12);
  --display: "Fraunces", Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: var(--leaf-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 48px);
  color: #f4faf7;
}
.site-nav a { color: #f4faf7; text-decoration: none; font-weight: 600; }
.site-nav a.btn-light { color: var(--leaf); }
.site-nav a.btn-light:hover { color: #0e5c4a; background: #fff; }
.site-nav a.btn-ghost { color: #f4faf7; }
.site-nav .links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-nav .brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo-nav {
  height: 42px;
  width: auto;
  display: block;
  /* Logo has white bg — soft plate on dark hero nav */
  background: #fff;
  border-radius: 10px;
  padding: 4px 10px;
}
.hero-logo {
  height: clamp(72px, 14vw, 110px);
  width: auto;
  display: block;
  margin: 0 0 18px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.nav-toggle {
  display: none;
  border: 1px solid rgba(244, 250, 247, 0.4);
  background: transparent;
  color: #f4faf7;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
}
.btn-light { background: #f4faf7; color: var(--leaf); }
.btn-leaf { background: linear-gradient(180deg, var(--leaf-2), var(--leaf)); color: #f4faf7; }
.btn-ghost {
  background: transparent;
  color: #f4faf7;
  border: 1px solid rgba(244, 250, 247, 0.45);
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 110px clamp(16px, 4vw, 48px) 56px;
  color: #f4faf7;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7, 28, 24, 0.28) 0%, rgba(7, 28, 24, 0.72) 55%, rgba(7, 28, 24, 0.92) 100%),
    url("hero.jpg") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 320px at 80% 20%, rgba(28, 107, 138, 0.35), transparent 60%),
    radial-gradient(600px 280px at 10% 80%, rgba(18, 112, 90, 0.28), transparent 55%);
}
.hero-inner { max-width: 720px; }
.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(244, 250, 247, 0.75);
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 11vw, 5.8rem);
  line-height: 0.92;
  font-weight: 700;
}
.hero .tag {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  max-width: 28ch;
  color: rgba(244, 250, 247, 0.92);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section {
  padding: clamp(52px, 8vw, 96px) clamp(16px, 4vw, 48px);
}
.section-alt { background: var(--paper-2); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  color: var(--leaf);
}
.section .lead {
  margin: 0 0 28px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
}
.section p { color: var(--ink); }
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.panel-soft {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.quote-sm {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--leaf);
}

.band {
  background:
    linear-gradient(135deg, rgba(10, 61, 49, 0.96), rgba(28, 107, 138, 0.88)),
    url("hero.jpg") center/cover;
  color: #f4faf7;
}
.band h2 { color: #f4faf7; }
.band .lead { color: rgba(244, 250, 247, 0.85); }
.quote {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.35;
  margin: 0;
}

.work-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work-grid li {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.work-grid h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  color: var(--leaf);
  font-family: var(--display);
}
.work-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}
.address { color: var(--muted); line-height: 1.7; }
.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.alert-ok { background: rgba(18, 112, 90, 0.12); color: var(--leaf); }
.alert-bad { background: rgba(163, 59, 45, 0.1); color: #a33b2d; }

.site-footer {
  margin-top: 24px;
  padding: 48px clamp(16px, 4vw, 48px) 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  background:
    linear-gradient(180deg, rgba(18, 112, 90, 0.06), transparent 42%),
    #f7f4ee;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px 36px;
}
.footer-brand .footer-logo-link { display: inline-block; }
.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}
.footer-tag {
  margin: 0 0 16px;
  max-width: 280px;
  line-height: 1.5;
  color: var(--ink);
}
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--leaf);
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.social-btn:hover {
  transform: translateY(-2px);
  background: #0e5c4a;
  color: #fff;
}
.footer-col h3 {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin: 0 0 8px; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
}
.footer-col a:hover { color: var(--leaf); }
.footer-col p {
  margin: 0;
  line-height: 1.6;
}
.footer-col p a { color: var(--leaf); }
.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 0.88rem;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

.fade-up { animation: rise 0.7s ease both; }
.fade-up-delay { animation-delay: 0.12s; }
.fade-up-delay2 { animation-delay: 0.24s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .split,
  .work-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav .links {
    display: none;
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 28, 24, 0.96);
    border: 1px solid rgba(244, 250, 247, 0.15);
    border-radius: 16px;
    padding: 14px;
  }
  .site-nav .links.is-open { display: flex; }
  .site-nav .links .btn { width: 100%; justify-content: center; }
}
