@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  --ink: #1d1b19;
  --charcoal: #2b2a27;
  --sand: #f7f1e6;
  --stone: #efe7db;
  --copper: #c26a3a;
  --forest: #2f4a3e;
  --oat: #fffaf2;
  --mist: #f1f3f4;
  --shadow: 0 12px 30px rgba(29, 27, 25, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  background: var(--oat);
  line-height: 1.6;
}

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

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 250, 242, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(43, 42, 39, 0.08);
  z-index: 20;
}

.site-header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand span {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.brand small {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.62rem;
  color: var(--charcoal);
}

.site-nav {
  display: flex;
  gap: 22px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(43, 42, 39, 0.2);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--forest);
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-nav a {
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--copper);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--forest);
  color: var(--oat);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow);
}

.cta-button.secondary {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
  box-shadow: none;
}

.hero {
  position: relative;
  padding: 90px 0 80px;
  background: linear-gradient(120deg, rgba(47, 74, 62, 0.08), rgba(194, 106, 58, 0.08));
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: rgba(194, 106, 58, 0.16);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero p {
  margin: 0 0 26px;
  color: var(--charcoal);
  font-size: 1.05rem;
}

.hero-card {
  background: var(--sand);
  padding: 26px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--stone);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--charcoal);
}

.section {
  padding: 70px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
}

.section-heading p {
  margin: 0;
  max-width: 520px;
  color: var(--charcoal);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--charcoal);
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.link-list a {
  color: var(--forest);
  font-weight: 600;
}

.service-visual {
  border-radius: 16px;
  overflow: hidden;
  height: 180px;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.stat {
  background: var(--mist);
  border-radius: 16px;
  padding: 18px;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-family: "Fraunces", serif;
}

.callout {
  background: var(--forest);
  color: var(--oat);
  border-radius: 22px;
  padding: 40px;
  display: grid;
  gap: 18px;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.category-link {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--forest);
  color: var(--forest);
  font-weight: 600;
  font-size: 0.9rem;
  background: #fff;
}

.category-link:hover {
  background: var(--forest);
  color: var(--oat);
}

.callout a {
  align-self: flex-start;
}

.tiled-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.tiled-gallery img {
  border-radius: 18px;
  height: 220px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.tiled-gallery img[data-lightbox] {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.tiled-gallery img[data-lightbox]:hover {
  transform: translateY(-2px);
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(29, 27, 25, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}

.lightbox-modal.is-open {
  display: flex;
}

.lightbox-content {
  max-width: 1000px;
  width: 100%;
  display: grid;
  gap: 16px;
  color: var(--oat);
}

.lightbox-image {
  width: 100%;
  border-radius: 16px;
  max-height: 75vh;
  object-fit: contain;
  background: #0f0f0f;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-caption {
  margin: 0;
}

.lightbox-controls {
  display: flex;
  gap: 8px;
}

.lightbox-controls .cta-button.secondary {
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 10px 14px;
  box-shadow: none;
}

.lightbox-controls .cta-button.secondary:hover {
  background: #f4d06f;
  color: #1d1b19;
  border-color: #f4d06f;
}

.lightbox-controls .cta-button.secondary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d5d0c6;
  font-family: "Work Sans", sans-serif;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.helper-text {
  font-size: 0.85rem;
  color: #5d5b57;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(29, 27, 25, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 40;
}

.modal.is-open {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow);
}

.modal-content h3 {
  margin-top: 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(29, 27, 25, 0.6);
  z-index: 60;
}

.loading-overlay.is-open {
  display: flex;
}

.loading-card {
  background: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--charcoal);
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(43, 42, 39, 0.2);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site-footer {
  padding: 40px 0 60px;
  background: var(--charcoal);
  color: var(--oat);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.footer-grid a {
  color: var(--oat);
}

.footer-nav {
  display: grid;
  gap: 8px;
}

@media (max-width: 860px) {
  .site-header .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .site-header .nav-wrap {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .brand {
    order: 1;
  }

  .nav-toggle {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    display: none;
    padding: 12px 0;
    border-top: 1px solid rgba(43, 42, 39, 0.1);
    order: 3;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding: 70px 0 60px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}
