:root {
  --forest: #314333;
  --forest-dark: #223126;
  --ivory: #e9e4d5;
  --paper: #f3efe4;
  --olive: #929274;
  --khaki: #d9cbb6;
  --charcoal: #30312f;
  --ink: #222622;
  --line: rgba(34, 38, 34, 0.17);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 48px);
}

.home-header img {
  height: 34px;
  width: auto;
}

.home-header span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(34, 38, 34, 0.55);
}

.home-main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px clamp(20px, 6vw, 80px) 80px;
}

.home-panel {
  width: min(920px, 100%);
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

.home-intro {
  text-align: center;
}

.home-eyebrow {
  margin: 0 0 18px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}

.home-title {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.home-title em {
  display: block;
  margin-top: 0.15em;
  color: var(--forest);
  font-style: normal;
}

.home-lead {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: rgba(34, 38, 34, 0.72);
}

.home-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(49, 67, 51, 0.2);
  border-radius: 999px;
  background: rgba(233, 228, 213, 0.55);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}

.home-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  animation: statusPulse 2.4s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.home-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ivory);
  box-shadow: 0 24px 60px rgba(34, 38, 34, 0.08);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px rgba(34, 38, 34, 0.12);
}

.home-card__copy {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.home-card__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
}

.home-card__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--forest-dark);
}

.home-card__text {
  margin: 0;
  max-width: 380px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(34, 38, 34, 0.7);
}

.home-card__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-top: 8px;
  padding: 14px 22px;
  border: 1px solid var(--forest);
  border-radius: 4px;
  background: var(--forest);
  color: var(--ivory);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.home-card__link:hover {
  background: var(--forest-dark);
  transform: translateY(-2px);
}

.home-card__visual {
  position: relative;
  min-height: 280px;
  background: var(--forest-dark);
  overflow: hidden;
}

.home-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-card:hover .home-card__visual img {
  transform: scale(1.04);
}

.home-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(34, 49, 38, 0.35),
    transparent 55%
  );
}

.home-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(34, 38, 34, 0.5);
}

.home-footer a:hover {
  color: var(--forest);
}

@keyframes homeIn {
  0% {
    opacity: 0;
    transform: translateY(42px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.intro {
  opacity: 0;
  animation: homeIn 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro--1 { animation-delay: 0.4s; }
.intro--2 { animation-delay: 0.9s; }
.intro--3 { animation-delay: 1.4s; }
.intro--4 { animation-delay: 1.9s; }
.intro--5 { animation-delay: 2.3s; }
.intro--6 { animation-delay: 2.7s; }

@media (max-width: 760px) {
  .home-card {
    grid-template-columns: 1fr;
  }

  .home-card__visual {
    min-height: 220px;
    order: -1;
  }

  .home-card__visual::after {
    background: linear-gradient(
      to top,
      rgba(34, 49, 38, 0.4),
      transparent 60%
    );
  }

  .home-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro {
    opacity: 1;
    animation: none;
    filter: none;
    transform: none;
  }

  .home-status::before {
    animation: none;
  }
}