:root {
  --ink: #1c1f1a;
  --ink-soft: #3d4438;
  --muted: #6a7264;
  --paper: #f4f6f1;
  --paper-deep: #e8ede3;
  --leaf: #5f7a4f;
  --leaf-deep: #3f5634;
  --mist-green: rgba(120, 150, 100, 0.22);
  --mist-warm: rgba(210, 200, 170, 0.26);
  --line: rgba(28, 31, 26, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Soft botanical atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -5%, #d4e2c8 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 100% 28%, var(--mist-green), transparent 62%),
    radial-gradient(ellipse 50% 40% at 0% 72%, var(--mist-warm), transparent 58%),
    linear-gradient(180deg, #f7f8f4 0%, #eef2ea 42%, #e4ebdc 100%);
}

.mist {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  animation: drift 18s var(--ease) infinite alternate;
}

.mist-1 {
  width: min(75vw, 560px);
  height: min(75vw, 560px);
  top: 6%;
  left: -10%;
  background: rgba(140, 168, 120, 0.42);
}

.mist-2 {
  width: min(65vw, 480px);
  height: min(65vw, 480px);
  bottom: 10%;
  right: -8%;
  background: rgba(190, 175, 140, 0.32);
  animation-delay: -6s;
  animation-duration: 22s;
}

.mist-3 {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  top: 42%;
  left: 55%;
  background: rgba(100, 140, 90, 0.2);
  animation-delay: -11s;
  animation-duration: 26s;
}

.leaf-wash {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235f7a4f' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.85;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 75% 70% at 50% 40%,
    transparent 40%,
    rgba(28, 31, 26, 0.06) 100%
  );
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(28px, -22px, 0) scale(1.08);
  }
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  max-width: 1120px;
  margin: 0 auto;
  animation: rise 0.9s var(--ease) both;
}

.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.header-link {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}

.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 100%;
  height: 1px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.header-link:hover::after,
.header-link:focus-visible::after {
  transform: scaleX(1);
}

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

.header-link.is-active {
  color: var(--ink-soft);
}

.header-link.is-active::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem clamp(1.25rem, 5vw, 3.5rem) 4rem;
  gap: 1.75rem;
}

.hero-brand {
  width: min(100%, 720px);
  animation: rise 1.1s var(--ease) 0.1s both;
}

.logo {
  width: 100%;
  filter: drop-shadow(0 14px 36px rgba(63, 86, 52, 0.12));
  animation: float 7s ease-in-out infinite;
}

.hero-line {
  max-width: 36rem;
  margin: 0;
  animation: rise 1.1s var(--ease) 0.25s both;
}

.hero-line-text {
  display: inline-block;
  position: relative;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  padding-bottom: 0.55rem;
}

.hero-line-text::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(12rem, 70%);
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--leaf) 20%,
    var(--leaf) 80%,
    transparent
  );
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  animation: draw-line 1s var(--ease) 0.7s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
  animation: rise 1.1s var(--ease) 0.4s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  background: var(--leaf-deep);
  color: #f7f8f4;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.cta:hover,
.cta:focus-visible {
  background: var(--leaf);
  transform: translateY(-1px);
}

.cta-secondary {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  color: var(--leaf-deep);
  border-bottom-color: var(--leaf);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes draw-line {
  from {
    transform: translateX(-50%) scaleX(0);
  }
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem clamp(1.25rem, 5vw, 3.5rem) 5rem;
  border-top: 1px solid var(--line);
}

.about-portrait {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  z-index: 0;
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  background: linear-gradient(
    145deg,
    rgba(95, 122, 79, 0.22),
    rgba(232, 237, 227, 0.7)
  );
  z-index: -1;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.96);
}

.about-copy .section-title {
  margin-bottom: 1.1rem;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 28rem;
  font-size: 1.05rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy strong {
  font-weight: 500;
  color: var(--ink);
}

/* Feature strip */
.feature {
  padding: 3.5rem 0 4.5rem;
  border-top: 1px solid var(--line);
}

.feature-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
}

.feature-intro .section-copy {
  margin-bottom: 0;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(0.65rem, 2vw, 1.25rem);
}

.feature-shot {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.feature-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.94);
}

.feature-shot:hover img,
.feature-shot:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.feature-link {
  text-align: center;
  margin: 1.75rem 0 0;
}

.feature-link a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  border-bottom: 1px solid var(--leaf);
  padding-bottom: 0.15rem;
  transition: color 0.3s var(--ease);
}

.feature-link a:hover,
.feature-link a:focus-visible {
  color: var(--leaf);
}

/* Contact */
.contact {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem clamp(1.25rem, 5vw, 3.5rem) 4rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.section-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.section-copy {
  margin: 0 auto 2.75rem;
  max-width: 26rem;
  color: var(--muted);
  font-size: 1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.contact-list li {
  border-top: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-list a {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  text-align: left;
  padding: 1.35rem 0.25rem;
  transition: background 0.25s var(--ease);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  background: rgba(255, 255, 255, 0.35);
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

/* Footer */
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  align-items: baseline;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  letter-spacing: 0.04em;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-credit img {
  height: 1.35rem;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.25s var(--ease);
}

.footer-credit a:hover img,
.footer-credit a:focus-visible img {
  opacity: 1;
}

/* References gallery */
.references-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 4rem;
}

.references-intro {
  text-align: center;
  margin-bottom: 2.5rem;
  animation: rise 0.9s var(--ease) both;
}

.references-intro .section-copy {
  margin-bottom: 0;
}

.gallery {
  columns: 3;
  column-gap: 1rem;
  animation: rise 1s var(--ease) 0.15s both;
}

.gallery-item {
  break-inside: avoid;
  margin: 0 0 1rem;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.95);
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.02);
  filter: saturate(1.05);
}

.references-cta {
  text-align: center;
  margin: 3rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink-soft);
  animation: rise 1s var(--ease) 0.3s both;
}

.references-cta a {
  color: var(--leaf-deep);
  border-bottom: 1px solid var(--leaf);
  margin-left: 0.35rem;
  font-style: normal;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.references-cta a:hover,
.references-cta a:focus-visible {
  color: var(--leaf);
}

@media (max-width: 900px) {
  .gallery {
    columns: 2;
  }

  .about {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .about-portrait {
    max-width: 240px;
  }

  .about-portrait::before {
    inset: 0.85rem -0.85rem -0.85rem 0.85rem;
  }

  .about-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    gap: 1.35rem;
  }

  .hero-line-text {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  .contact-list a {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .gallery {
    columns: 1;
  }

  .site-nav {
    gap: 1rem;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 0.4rem;
  }

  .feature-shot:nth-child(n + 3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-line-text::after {
    transform: translateX(-50%) scaleX(1);
  }
}
