:root {
  --bg: #f4f6f2;
  --bg-elevated: #fbfcf9;
  --ink: #152019;
  --muted: #5c675f;
  --sage: #5f7d6a;
  --sage-deep: #3f5a4a;
  --sky: #c8d9e4;
  --line: rgba(21, 32, 25, 0.12);
  --focus: #3f5a4a;
  --radius: 2px;
  --max: 68rem;
  --header-h: 4.25rem;
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 12% -10%, rgba(95, 125, 106, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 55% at 92% 8%, rgba(200, 217, 228, 0.55), transparent 50%),
    radial-gradient(ellipse 60% 45% at 70% 95%, rgba(95, 125, 106, 0.14), transparent 55%),
    linear-gradient(165deg, #f7f9f5 0%, #eef2ec 45%, #e8eee9 100%);
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

@keyframes atmosphere-drift {
  from {
    filter: hue-rotate(0deg) saturate(1);
    transform: scale(1);
  }
  to {
    filter: hue-rotate(8deg) saturate(1.05);
    transform: scale(1.03);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 242, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 246, 242, 0.9);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(3rem, 10vh, 6rem) clamp(1.25rem, 4vw, 2.5rem)
    clamp(4rem, 12vh, 7rem);
  max-width: var(--max);
  margin: 0 auto;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  animation: rise 0.8s ease both 0.1s;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5.5rem, 22vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
  animation: rise 0.9s ease both 0.2s;
}

.hero-tagline {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--sage-deep);
  animation: rise 0.9s ease both 0.35s;
}

.hero-lede {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  animation: rise 0.9s ease both 0.5s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 0.9rem 1.45rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg-elevated);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  animation: rise 0.9s ease both 0.65s;
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--ink);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: clamp(3.5rem, 9vh, 6rem) clamp(1.25rem, 4vw, 2.5rem);
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 34rem;
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.venture-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.venture {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: clamp(1.6rem, 4vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.25s ease;
}

.venture.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.venture-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: -0.02em;
}

.venture-copy p {
  margin: 0.55rem 0 0;
  max-width: 36rem;
  color: var(--muted);
}

.venture-link {
  justify-self: start;
  align-self: end;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sage-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.venture-link:hover,
.venture-link:focus-visible {
  color: var(--ink);
  border-bottom-color: currentColor;
}

.about {
  border-top: 1px solid var(--line);
}

.career {
  border-top: 1px solid var(--line);
  padding-bottom: clamp(4rem, 12vh, 7rem);
}

.contact-form {
  max-width: 40rem;
  display: grid;
  gap: 1.15rem;
}

.field-row {
  display: grid;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 252, 249, 0.85);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(92, 103, 95, 0.7);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(95, 125, 106, 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-actions .btn {
  margin-top: 0.25rem;
  opacity: 1;
  animation: none;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  min-height: 1.4em;
}

.form-status.is-success {
  color: var(--sage-deep);
}

.form-status.is-error {
  color: #8a3a32;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.75rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-meta {
  margin: 0.55rem 0 0;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--ink);
  border-bottom-color: currentColor;
}

.footer-copy {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (min-width: 720px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .venture {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
  }

  .venture:hover .venture-link {
    border-bottom-color: currentColor;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .atmosphere,
  .hero-kicker,
  .hero-brand,
  .hero-tagline,
  .hero-lede,
  .btn,
  .venture {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
