:root {
  --forest-900: #1f352a;
  --forest-700: #2f4f3e;
  --gold-500: #c8a46a;
  --ivory-100: #f4f1ec;
  --ink-900: #1a1a1a;
  --white: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 20px 50px rgba(14, 26, 21, 0.12);
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink-900);
  background: radial-gradient(1800px 900px at 20% -10%, rgba(47, 79, 62, 0.18), transparent 50%),
    linear-gradient(180deg, #fcfbf8 0%, #f8f6f1 100%);
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(#000 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  z-index: -1;
}

.bg-orb {
  position: fixed;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(10px);
  z-index: -2;
  animation: float 14s ease-in-out infinite;
}

.orb-1 {
  background: rgba(200, 164, 106, 0.32);
  top: 8%;
  right: -120px;
}

.orb-2 {
  background: rgba(31, 53, 42, 0.22);
  bottom: -120px;
  left: -120px;
  animation-delay: 2s;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 2.4rem), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(31, 53, 42, 0.09);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-wordmark {
  width: 120px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--forest-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a.btn,
.nav a.btn:visited,
.nav a.btn:hover,
.nav a.btn:focus {
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  background: linear-gradient(90deg, var(--forest-900), var(--forest-700));
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.text-link {
  color: var(--forest-900);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gold-500);
}

.hero {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 2rem;
}

.eyebrow {
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--forest-700);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--forest-900);
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.07;
  margin-bottom: 1.05rem;
}

h2 {
  font-size: clamp(1.5rem, 3.3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.lead {
  max-width: 58ch;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.logo-card,
.slogan-card,
.service-card,
.work-card,
.cta,
.split {
  border: 1px solid rgba(31, 53, 42, 0.1);
  background: rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.logo-card {
  padding: 1.4rem;
}

.logo-card img {
  width: 100%;
  height: auto;
  display: block;
}

.slogan-card {
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--gold-500);
}

.slogan-card p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}

.section {
  padding: 2.8rem 0;
}

.section-head {
  margin-bottom: 1.2rem;
}

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

.service-card,
.work-card {
  padding: 1.2rem;
}

.service-card p,
.work-card p {
  line-height: 1.65;
}

.split {
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.timeline {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.timeline li {
  background: var(--ivory-100);
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  font-weight: 500;
}

.timeline span {
  color: var(--forest-900);
  font-weight: 700;
  margin-right: 0.5rem;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  background: linear-gradient(130deg, rgba(200, 164, 106, 0.2), rgba(47, 79, 62, 0.2));
}

.cta {
  text-align: center;
  padding: 2.2rem 1.3rem;
}

.cta img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.site-footer {
  margin-top: 1rem;
  padding: 1.3rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.site-footer img {
  width: 96px;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
  color: #4b4b4b;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@media (max-width: 960px) {
  .hero,
  .split,
  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .menu-toggle {
    display: grid;
    gap: 4px;
    border: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    width: 40px;
    height: 40px;
    place-content: center;
    cursor: pointer;
    transition: background-color 220ms ease;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--forest-900);
    border-radius: 999px;
    transform-origin: center;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .menu-toggle[aria-expanded="true"] {
    background: rgba(31, 53, 42, 0.08);
  }

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

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

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

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, -10px) scale(0.98);
    width: min(340px, calc(100vw - 2rem));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(31, 53, 42, 0.12);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    transition: background-color 220ms ease;
  }

  .nav a:hover {
    background: rgba(31, 53, 42, 0.06);
  }

  .nav.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
