:root {
  --primary: #586d3f;
  --secondary: #9aa884;
  --accent: #c76b29;
  --bg: #f7f8f3;
  --bg-alt: #ecefe3;
  --text: #252525;
  --muted: rgba(37, 37, 37, 0.68);
  --card: #ffffff;
  --line: rgba(88, 109, 63, 0.16);
  --header: rgba(247, 248, 243, 0.88);
  --dark: #1c1c1a;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(37, 37, 37, 0.08);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.7em;
}

h1 {
  font-size: clamp(2.4rem, 8vw, 5.2rem);
}

h2 {
  font-size: clamp(1.8rem, 4.4vw, 3rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1240px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 44rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #b35d22;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(37, 37, 37, 0.04);
}

.header-inner {
  width: min(1180px, calc(100% - 1.6rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: min-height 0.3s var(--ease);
}

.site-header.is-scrolled .header-inner {
  min-height: 64px;
}

.brand {
  text-decoration: none;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.site-nav.is-open {
  max-height: 420px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1.2rem 1.2rem;
}

.site-nav a {
  display: block;
  padding: 0.7rem 0;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
}

.hero {
  display: grid;
}

.hero-copy {
  padding: 2.2rem 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-frame {
  position: relative;
  width: 100%;
}

.hero-photo {
  width: 100%;
  height: min(64vh, 560px);
  object-fit: cover;
  object-position: center 18%;
}

.btn-hero {
  align-self: flex-start;
  width: fit-content;
  padding: 0.65rem 1.2rem;
  background: var(--primary);
  color: #fff;
}

.btn-hero:hover {
  background: #4a5c35;
}

.hero-stamp {
  position: absolute;
  left: 5%;
  bottom: 5%;
  width: clamp(110px, 36%, 210px);
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-alt);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(37, 37, 37, 0.22);
  transform: rotate(-5deg);
}

.hero-stamp img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.hero:not(.has-stamp) .hero-stamp {
  display: none;
}

.section {
  padding: 4.5rem 0;
}

.section-intro {
  max-width: 58rem;
  margin-bottom: 2.4rem;
}

.section-gains,
.section-talents,
.section-contact {
  background: var(--bg-alt);
}

.gains-lead,
.gains-close {
  max-width: 58rem;
}

.gains-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.gains-list li {
  position: relative;
  padding: 1rem 1.1rem 1rem 2.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.gains-list li::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.about-photo img,
.contact-photo img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.about-photo img {
  height: min(72vh, 680px);
  object-position: center 15%;
}

.talent-grid,
.work-grid {
  display: grid;
  gap: 1rem;
}

.talent-card,
.work-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.talent-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--primary);
}

.talent-icon svg {
  width: 40px;
  height: 40px;
}

.work-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.contact-photo {
  margin: 0;
}

.contact-photo img {
  height: auto;
  object-fit: contain;
}

.mail-link {
  color: var(--primary);
  text-decoration-color: var(--secondary);
  text-underline-offset: 3px;
}

.mail-link:hover {
  color: var(--accent);
}

.contact-links {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.6rem 1.1rem 0.6rem 0.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-links a:hover {
  transform: translateY(-1px);
  border-color: var(--secondary);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(88, 109, 63, 0.09);
  color: var(--primary);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.site-footer {
  background: var(--dark);
  color: #f4f5ef;
  padding: 1.1rem 0;
  text-align: center;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 1rem;
}

.footer-inner p {
  margin: 0;
}

.copyright {
  color: rgba(244, 245, 239, 0.6);
  font-size: 0.82rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) forwards;
  animation-play-state: paused;
}

.js .reveal.is-visible {
  animation-play-state: running;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
  }

  .site-nav ul {
    display: flex;
    gap: 0.2rem 1.15rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.2rem 0;
    font-size: 0.88rem;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .hero-copy {
    padding: 2.6rem 3rem 2.6rem max(5vw, 1.2rem);
  }

  .hero-media {
    padding: 2.6rem max(5vw, 1.2rem) 2.6rem 0;
  }

  .hero-photo {
    height: min(62vh, 540px);
    border-radius: var(--radius);
  }

  .hero-stamp {
    left: -18%;
    bottom: 7%;
    width: clamp(130px, 40%, 230px);
  }

  .talent-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .talent-card:nth-child(1),
  .talent-card:nth-child(2),
  .talent-card:nth-child(3) {
    grid-column: span 2;
  }

  .talent-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .talent-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 3.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}

@media (min-width: 1100px) {
  .gains-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
