:root {
  --ink: #14231c;
  --ink-soft: #3d5348;
  --paper: #f3f6f1;
  --paper-2: #e7eee6;
  --leaf: #2f6b45;
  --leaf-deep: #1d4a30;
  --mist: #dce8df;
  --line: rgba(20, 35, 28, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font: "IBM Plex Sans Thai", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Top bar over hero ── */
.site-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3.5rem);
  color: #f7faf6;
}
.site-top__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(100%, 28rem);
}
.site-top__logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.site-top__name {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}
.site-top__name strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.site-top__name small {
  font-size: 0.72rem;
  opacity: 0.82;
  font-weight: 400;
}
.site-top__mark {
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.site-top__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
}
.site-top__nav a { opacity: 0.88; }
.site-top__nav a:hover { opacity: 1; }
.site-top__go {
  background: #f7faf6;
  color: var(--ink) !important;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  opacity: 1 !important;
}

/* ── Hero: full-bleed photo plane ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7faf6;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: drift 18s var(--ease) infinite alternate;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 22, 16, 0.35) 0%, rgba(10, 22, 16, 0.15) 35%, rgba(10, 22, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 22, 16, 0.45) 0%, transparent 55%);
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding: clamp(5.5rem, 12vw, 8rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 7vw, 4.5rem);
  max-width: 42rem;
  animation: rise 0.9s var(--ease) both;
}
.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  max-width: 22ch;
}
.hero__lede {
  margin: 0;
  color: rgba(247, 250, 246, 0.82);
  font-size: 1.02rem;
  max-width: 34ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: #f7faf6; color: var(--ink); }
.btn--line { border-color: rgba(247, 250, 246, 0.45); color: #f7faf6; }
.btn--dark { background: var(--leaf-deep); color: #f7faf6; }
.btn--ghost-dark { border-color: var(--line); color: var(--ink); }

/* ── Content bands ── */
.band {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3.5rem);
}
.band__inner {
  max-width: 38rem;
  margin: 0 auto;
}
.band__inner--wide { max-width: 68rem; }
.band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.band p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.band--problem {
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(47, 107, 69, 0.08), transparent 60%),
    var(--paper);
}
.band--how {
  background: var(--paper-2);
}
.band--who {
  background:
    linear-gradient(180deg, var(--mist), var(--paper));
}
.band--close {
  background: #fff;
  border-top: 1px solid var(--line);
}
.band--close .band__inner { max-width: 40rem; }
.band--close p { margin-bottom: 0.25rem; }

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2rem;
}
.flow__item h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.flow__item p {
  font-size: 0.98rem;
}
.flow__shot {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: #c5d4c8;
}
.flow__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.flow__item:hover .flow__shot img {
  transform: scale(1.04);
}
.flow__shot--hero-crop img {
  object-position: center 55%;
}

.site-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
  background: var(--paper);
}
.site-foot a:hover { color: var(--ink); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; max-width: 28rem; }
  .site-top__nav a:not(.site-top__go) { display: none; }
  .site-top__name small { display: none; }
}
@media (max-width: 640px) {
  .hero__cta .btn { width: 100%; }
  .hero { min-height: 92vh; }
  .site-top__name strong { font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
