:root {
  --bg: #f6f4f2;
  --surface: #ffffff;
  --surface-2: #f0ece8;
  --text: #1f1d1c;
  --muted: #6d6762;
  --line: rgba(31, 29, 28, 0.1);
  --brand: #c4412d;
  --brand-dark: #982f20;
  --ink: #111111;
  --gold: #c9a35f;
  --gold-soft: rgba(201, 163, 95, 0.24);
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(201, 163, 95, 0.45);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 0.55rem 0.9rem;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.04);
}
.brand img {
  width: 210px;
  mix-blend-mode: multiply;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.main-nav a {
  font-size: 0.96rem;
  color: var(--muted);
}
.main-nav a:hover { color: var(--ink); }
.nav-button {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white !important;
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(17,17,17,0.12);
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media {
  background:
    linear-gradient(100deg, rgba(17,17,17,0.76) 12%, rgba(17,17,17,0.46) 42%, rgba(17,17,17,0.12) 72%),
    url('../img/wp.jpg') center/cover no-repeat;
  transform: scale(1.04);
}
.hero-overlay {
  background: linear-gradient(180deg, rgba(17,17,17,0.05), rgba(17,17,17,0.24));
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  padding: 5rem 0;
}
.hero-copy {
  padding: 2rem 0;
  color: white;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1rem;
}
.hero h1,
.section h2 {
  font-family: 'Playfair Display', serif;
  line-height: 1.02;
  margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  max-width: 11ch;
}
.hero-text {
  max-width: 52rem;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.86);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.4rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 14px 30px rgba(196, 65, 45, 0.28);
}
.button-primary:hover { background: var(--brand-dark); }
.button-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 54rem;
}
.hero-stats div {
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
}
.hero-stats strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.45rem;
}
.hero-stats span {
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
  line-height: 1.5;
}
.hero-panel {
  display: flex;
  align-items: end;
}
.panel-card {
  width: 100%;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.glass {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(14px);
}
.panel-card h2 { font-size: 2rem; margin-bottom: 1rem; }
.panel-card ul {
  margin: 0 0 1.6rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}
.panel-actions {
  display: grid;
  gap: 0.75rem;
}
.panel-actions a {
  font-weight: 700;
  color: var(--brand-dark);
}

.section {
  position: relative;
  padding: 6rem 0;
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, 1180px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.75;
}
.hero + .section::before {
  opacity: 0.9;
}
.section-light { background: var(--bg); }
.section-dark {
  background: linear-gradient(180deg, #171515, #211f1e);
  color: white;
}
.section-neutral { background: #ebe6e0; }
.section-heading {
  max-width: 58rem;
  margin-bottom: 2.2rem;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}
.section-intro,
.section-copy p,
.feature-card p,
.service-card p,
.resource-header p,
.callout p,
.contact-copy p,
.footer p,
.modal p {
  color: var(--muted);
  line-height: 1.8;
}
.section-dark .section-intro,
.section-dark .service-card p { color: rgba(255,255,255,0.72); }

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.feature-stack {
  display: grid;
  gap: 1rem;
}
.feature-card,
.service-card,
.resource-column,
.team-card,
.map-card,
.callout,
.contact-list,
.modal-panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
}
.feature-card h3,
.resource-column h3,
.callout h3,
.footer h3,
.modal h2 { margin-top: 0; }
.accent-card {
  background: linear-gradient(135deg, var(--brand), #d36b58);
  color: white;
}
.accent-card p { color: rgba(255,255,255,0.86); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.service-card {
  padding: 1.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
}
.icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: rgba(196,65,45,0.18);
  color: #ffb7ab;
  font-weight: 800;
}

.resource-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.resource-column {
  padding: 1.8rem;
  border: 1px solid var(--line);
}
.resource-column a {
  display: block;
  padding: 1rem 1.05rem;
  margin-top: 0.75rem;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 600;
}
.resource-column a:hover {
  background: #e8ded7;
}
.callout {
  margin-top: 1.4rem;
  padding: 1.6rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
}

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.team-card {
  padding: 1.4rem;
  text-align: center;
  border: 1px solid rgba(17,17,17,0.08);
}
.team-card img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 6px solid white;
  box-shadow: 0 16px 30px rgba(17,17,17,0.12);
}
.team-card .role {
  color: var(--brand-dark);
  font-weight: 700;
}
.team-card a {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--brand-dark);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}
.contact-list {
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
}
.contact-list div {
  display: grid;
  gap: 0.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.contact-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list span {
  color: var(--muted);
  font-size: 0.9rem;
}
.contact-list strong { line-height: 1.5; }
.map-card {
  overflow: hidden;
  min-height: 420px;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.footer {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
  color: var(--text);
  padding: 4.5rem 0 2.2rem;
  border-top: 1px solid rgba(201, 163, 95, 0.45);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1180px);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.95;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr;
  gap: 2rem;
  padding: 2rem 0 1.8rem;
  border-bottom: 1px solid rgba(31, 29, 28, 0.08);
  align-items: start;
}
.footer-logo {
  width: 240px;
  margin-bottom: 1rem;
  background: #ffffff;
  padding: 0.7rem 1rem;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.06);
  mix-blend-mode: multiply;
}
.footer h3 {
  color: var(--ink);
  margin-bottom: 1rem;
}

.footer a {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer a:hover {
  color: var(--brand-dark);
  transform: translateX(2px);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
}
.link-button {
  background: transparent;
  border: 0;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 100;
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 2rem;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #ece7e2;
  cursor: pointer;
  font-size: 1.4rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .services-grid,
  .resource-layout,
  .team-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid,
  .footer-grid,
  .contact-grid,
  .split-grid,
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,0.98);
    padding: 1rem;
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .hero { min-height: auto; }
  .hero-grid { padding: 4rem 0; }
  .hero h1 { max-width: none; }
  .hero-stats,
  .services-grid,
  .resource-layout,
  .team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .callout,
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 560px) {
  .brand img { width: 178px; }
  .hero h1 { font-size: 2.55rem; }
  .panel-card,
  .resource-column,
  .feature-card,
  .service-card,
  .team-card,
  .callout,
  .contact-list,
  .modal-panel { padding: 1.25rem; }
}

header img, footer img { background-color: #ffffff; padding: 5px; }

.footer p { color: var(--muted); }
