:root {
  --ink: #1f3d37;
  --evergreen: #2f5a50;
  --sage: #d8e4d2;
  --ivory: #f7f3ea;
  --warm-white: #fffaf0;
  --mist: #e6e1d8;
  --steel: #9ea7a6;
  --lime: #d8ff68;
  --cyan: #36d6c9;
  --line: rgba(31, 61, 55, 0.16);
  --panel: rgba(255, 250, 240, 0.74);
  --shadow: 0 24px 80px rgba(47, 90, 80, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 6%, rgba(216, 255, 104, 0.34), transparent 30rem),
    linear-gradient(135deg, var(--warm-white), var(--ivory) 52%, var(--sage));
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 240, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: clamp(158px, 18vw, 248px);
  height: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(31, 61, 55, 0.74);
  font-size: 0.94rem;
  font-weight: 600;
}

nav a,
.header-action {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

nav a:hover {
  color: var(--evergreen);
}

.header-action {
  padding: 10px 16px;
  border: 1px solid rgba(47, 90, 80, 0.24);
  border-radius: 999px;
  color: var(--evergreen);
  font-size: 0.9rem;
  font-weight: 700;
}

.header-action:hover {
  background: rgba(216, 255, 104, 0.35);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, calc(100vh - 16px));
  overflow: hidden;
  padding: clamp(116px, 14vh, 176px) clamp(20px, 6vw, 84px) clamp(48px, 8vh, 86px);
  border-bottom: 1px solid var(--line);
}

.hero-content {
  position: relative;
  max-width: 980px;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--evergreen);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 7.6em;
  font-size: clamp(4.2rem, 13vw, 10.8rem);
  line-height: 0.86;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
}

p {
  color: rgba(31, 61, 55, 0.72);
}

.hero-subtitle {
  max-width: 740px;
  margin: 28px 0 0;
  color: rgba(31, 61, 55, 0.76);
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  background: var(--lime);
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(31, 61, 55, 0.24);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.84) 42%, rgba(255, 250, 240, 0.18) 76%),
    linear-gradient(0deg, rgba(247, 243, 234, 0.9) 0%, rgba(247, 243, 234, 0.05) 45%),
    url("assets/leonetia-hero-stand.png") center / cover no-repeat;
  opacity: 0.86;
}

.stage-grid {
  position: absolute;
  inset: 16% -8% -22%;
  background-image:
    linear-gradient(rgba(47, 90, 80, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 90, 80, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(58deg);
  transform-origin: center bottom;
  opacity: 0.4;
}

.light-panel {
  position: absolute;
  border: 1px solid rgba(247, 243, 234, 0.2);
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.72), rgba(216, 228, 210, 0.16));
  box-shadow: var(--shadow);
}

.panel-a {
  right: 8vw;
  top: 18vh;
  width: min(34vw, 460px);
  aspect-ratio: 1.42;
  opacity: 0.24;
}

.panel-b {
  right: 30vw;
  bottom: 10vh;
  width: min(22vw, 300px);
  aspect-ratio: 0.82;
  opacity: 0.22;
}

.panel-c {
  right: 5vw;
  bottom: 12vh;
  width: min(18vw, 240px);
  aspect-ratio: 1;
  border-color: rgba(216, 255, 104, 0.34);
  opacity: 0.2;
}

.mark-outline {
  position: absolute;
  right: clamp(20px, 8vw, 110px);
  top: 22vh;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border: 2px solid rgba(216, 255, 104, 0.22);
  transform: rotate(45deg);
}

.intro-section,
.work-section,
.method-section,
.contact-section {
  padding: clamp(58px, 9vw, 116px) clamp(20px, 6vw, 84px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  background: var(--ivory);
  color: var(--ink);
}

.intro-section p {
  color: rgba(17, 19, 21, 0.72);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.intro-section .section-kicker,
.contact-section .section-kicker {
  color: #168e86;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.work-item p,
.contact-section p {
  color: rgba(17, 19, 21, 0.66);
}

.work-section {
  display: grid;
  gap: 1px;
  padding-left: 0;
  padding-right: 0;
  background: rgba(31, 61, 55, 0.12);
}

.work-item {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(34px, 6vw, 78px) clamp(20px, 6vw, 84px);
  background: var(--warm-white);
}

.work-visual {
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

.work-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.method-section {
  background: var(--evergreen);
  color: var(--warm-white);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.method-list li {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 250, 240, 0.08);
}

.method-list strong {
  display: block;
  margin-bottom: 18px;
  color: var(--lime);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.35rem;
}

.method-list span {
  color: rgba(255, 250, 240, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  background: var(--ivory);
  color: var(--ink);
}

.contact-section h2 {
  max-width: 820px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px clamp(20px, 6vw, 84px);
  background: var(--evergreen);
  border-top: 1px solid var(--line);
}

footer img {
  width: min(340px, 58vw);
  height: auto;
}

footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .intro-section,
  .work-item,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .method-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-a {
    width: 52vw;
  }

  .panel-b,
  .panel-c {
    opacity: 0.55;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
  }

  .brand img {
    width: 150px;
  }

  .header-action {
    padding: 9px 12px;
  }

  .hero {
    min-height: 720px;
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 5.6rem);
  }

  .method-list {
    grid-template-columns: 1fr;
  }

  .method-list li {
    min-height: 0;
  }

  .work-visual {
    min-height: 240px;
  }

  .hero-actions,
  .contact-actions,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  footer p {
    text-align: left;
  }
}
