*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --forest: #1B4332;
  --forest-light: #2D6A4F;
  --forest-dark: #0F291F;
  --off-white: #F5F0E8;
  --off-white-pure: #FAFAF7;
  --cream: #EDE8DC;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #7A7A7A;
  --line: rgba(27, 67, 50, 0.12);
  --line-strong: rgba(27, 67, 50, 0.25);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--off-white-pure);
  overflow-x: hidden;
}

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--forest);
  color: var(--off-white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Grain overlay ── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: -0.01em;
}

.logo--light {
  color: var(--off-white);
}

.logo-mark {
  color: var(--forest);
}

.logo--light .logo-mark {
  color: var(--off-white);
}

/* ── Nav ── */
.primary-nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.primary-nav a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  position: relative;
  transition: color 0.2s ease;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--forest);
  transition: width 0.3s ease;
}

.primary-nav a:hover {
  color: var(--forest);
}

.primary-nav a:hover::after {
  width: 100%;
}

/* ── Nav toggle ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--forest);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: var(--off-white-pure);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--forest-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--forest-light);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--forest);
  color: var(--off-white);
  border-color: var(--forest);
}

.btn-primary:hover {
  background: var(--forest-light);
  border-color: var(--forest-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--forest);
  background: rgba(27, 67, 50, 0.04);
}

.btn-white {
  background: var(--off-white);
  color: var(--forest);
  border-color: var(--off-white);
}

.btn-white:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(245, 240, 232, 0.4);
}

.btn-outline-white:hover {
  background: rgba(245, 240, 232, 0.1);
  border-color: var(--off-white);
}

.btn-full {
  width: 100%;
}

/* ── Hero visual ── */
.hero-visual {
  position: relative;
}

.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Stat cards ── */
.stat-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  z-index: 2;
}

.stat-card--1 {
  bottom: -20px;
  left: -30px;
  max-width: 180px;
}

.stat-card--2 {
  top: 40px;
  right: -20px;
  max-width: 160px;
}

.stat-card--3 {
  bottom: 60px;
  right: -40px;
  max-width: 170px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

/* ── Section shared ── */
.section-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--forest-dark);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
}

/* ── Services ── */
.services {
  padding: 100px 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--off-white-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(27, 67, 50, 0.07);
  color: var(--forest);
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
}

/* ── About ── */
.about {
  padding: 100px 0;
  background: var(--off-white-pure);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-group {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--off-white-pure);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content .section-title {
  margin-bottom: 20px;
}

.about-content > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.about-values {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 400;
}

.value-line {
  flex-shrink: 0;
  width: 24px;
  height: 1px;
  background: var(--forest);
}

/* ── Gallery ── */
.gallery {
  padding: 100px 0;
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ── CTA Strip ── */
.cta-strip {
  padding: 100px 0;
  background: var(--forest);
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 16px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--off-white);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.cta-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--off-white-pure);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
}

.contact-detail-value a {
  color: var(--forest);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.contact-detail-value a:hover {
  border-color: var(--forest);
}

/* ── Form ── */
.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group--textarea {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mid);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--off-white-pure);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7A7A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  color: var(--forest);
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Footer ── */
.site-footer {
  background: var(--forest-dark);
  color: var(--off-white);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(245, 240, 232, 0.5);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(245, 240, 232, 0.6);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--off-white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.6;
}

.footer-contact a {
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--off-white);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.3);
}

/* ── Fade-up animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-layout {
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card--1 {
    left: -10px;
  }

  .stat-card--2 {
    right: -10px;
  }

  .stat-card--3 {
    right: -20px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--off-white-pure);
    border-left: 1px solid var(--line);
    padding: 90px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 105;
    box-shadow: var(--shadow-lg);
  }

  .primary-nav.open {
    transform: translateX(0);
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .primary-nav a {
    font-size: 16px;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 104;
  }

  .nav-overlay.active {
    display: block;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .stat-card {
    display: none;
  }

  .services {
    padding: 70px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about {
    padding: 70px 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-group {
    max-width: 480px;
  }

  .about-img-accent {
    right: -16px;
    bottom: -20px;
  }

  .gallery {
    padding: 70px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .cta-strip {
    padding: 70px 0;
  }

  .contact {
    padding: 70px 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }
}
