:root {
  --bg: #ece9e2;
  --surface: #f8f5ef;
  --primary: #233b2e;
  --primary-light: #8ea484;
  --primary-dark: #172a20;
  --text: #1f2e27;
  --muted: #627068;
  --soft: #e6e2da;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(15, 28, 21, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  overflow: hidden;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.h-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  height: 100vh;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.h-scroll::-webkit-scrollbar {
  display: none;
}

.panel {
  min-width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: stretch;
}

.panel-inner {
  width: min(1320px, 95vw);
  margin: 0 auto;
  padding: 2.1rem 0 2rem;
  display: grid;
  gap: 0.9rem;
  align-content: center;
  max-height: 100vh;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.micro {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.panel h1,
.panel h2 {
  font-size: clamp(2.35rem, 5.5vw, 4.9rem);
  font-weight: 400;
  line-height: 1.02;
  max-width: 17ch;
}

.panel em {
  color: var(--primary-light);
  font-style: italic;
}

.panel .lead {
  max-width: 40ch;
  font-size: clamp(1.22rem, 2vw, 1.75rem);
  font-weight: 400;
  color: inherit;
  opacity: 0.9;
}

.panel-statement h2 {
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  max-width: 19ch;
}

.panel-dark {
  background: linear-gradient(150deg, #1d3428 0%, #243f31 100%);
  color: #edf2ef;
}

.panel-light {
  background: #ece9e2;
  color: var(--text);
}

.feature-row {
  margin-top: 1rem;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
}

.feature-row span::before {
  content: "◦ ";
  color: var(--primary-light);
}

.button {
  display: inline-block;
  margin-top: 1.2rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 500;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s ease;
}

.button:hover {
  background: var(--primary-dark);
}

.button-secondary {
  background: transparent;
  border: 1px solid #9cb199;
  color: #dce8df;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

.timeline article {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  border-left: 1px solid #d0cec7;
  padding: 0.9rem 1rem;
}

.timeline h3 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.timeline p {
  font-size: 1.16rem;
}

.contact-form {
  max-width: 480px;
  margin-top: 0.2rem;
  background: #2a4033;
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: left;
  display: grid;
  gap: 0.45rem;
  border: 1px solid #3b5447;
}

.contact-form label {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #d6e3db;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #53695d;
  border-radius: 10px;
  padding: 0.66rem 0.75rem;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #f5f8f6;
  background: #31483a;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #90a991;
  outline-offset: 1px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.split {
  grid-template-columns: minmax(260px, 340px) 1fr;
  align-items: center;
}

.split-contact {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.portrait {
  width: min(260px, 100%);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.founder-detail-layout {
  grid-template-columns: minmax(260px, 430px) 1fr;
  align-items: center;
  gap: 2.2rem;
}

.founder-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.founder-detail h2 {
  max-width: none;
  font-size: clamp(2.35rem, 4.6vw, 4.4rem);
  margin-bottom: 0.8rem;
  line-height: 1;
}

.founder-role {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  color: #95aa8d;
  margin-bottom: 0.48rem;
}

.founder-rows {
  border-top: 1px solid #d8d4ca;
}

.founder-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid #d8d4ca;
}

.founder-row span {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: #8da38a;
}

.founder-row p {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.06rem, 1.3vw, 1.3rem);
  line-height: 1.45;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.2rem 0 0.6rem;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
}

.form-status.ok {
  color: #a8deba;
}

.form-status.error {
  color: #ffb5b5;
}

.footer {
  background: #e6e2db;
  color: #44534c;
  text-align: center;
  padding: 0.8rem 0;
  border-top: 1px solid #d3d0c8;
  font-family: "Inter", Arial, sans-serif;
}

.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(22, 40, 30, 0.28);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 20;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.nav-btn:hover {
  background: rgba(22, 40, 30, 0.52);
}

.nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.nav-btn-prev {
  left: 1rem;
}

.nav-btn-next {
  right: 1rem;
}

@media (max-width: 980px) {
  body {
    overflow: auto;
  }

  .h-scroll {
    height: auto;
    overflow-x: visible;
    overflow-y: visible;
    display: block;
  }

  .panel {
    min-width: 100%;
    height: auto;
  }

  .panel-inner {
    padding: 3rem 0;
  }

  .panel h1,
  .panel h2 {
    font-size: clamp(2.2rem, 10vw, 3.8rem);
  }

  .timeline,
  .split,
  .split-contact,
  .founder-detail-layout,
  .founder-row {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    max-width: 300px;
  }

  .nav-btn {
    display: none;
  }
}
