:root {
  --bg:         #fffdfa;
  --surface:    #f4efe4;
  --text:       #1c1a17;
  --muted:      #5a5248;
  --border:     #ddd6c8;
  --accent:     #2a6b5e;
  --accent-dk:  #1f5248;
  --nav-h:      60px;
  --max-w:      1080px;
  --sp:         96px 24px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Scroll offset for sticky nav ── */
section[id], footer[id] { scroll-margin-top: var(--nav-h); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  height: var(--nav-h);
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.nav nav { display: flex; gap: 28px; }
.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.nav nav a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 80px 24px;
}
.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 760px;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
}
.cta-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.18s;
}
.cta-link:hover { opacity: 0.65; }

/* ── Shared section ── */
.section-inner { max-width: var(--max-w); margin: 0 auto; width: 100%; }

.label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 44px;
  font-size: 1rem;
}

/* ── Animation section ── */
.section-animation {
  padding: var(--sp);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.section-animation .section-sub {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.canvas-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
#harmony-canvas {
  display: block;
  width: 100%;
  height: 480px;
}

/* ── Mission ── */
.section-mission { padding: var(--sp); background: var(--bg); }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.mission-text h2 { margin-top: 10px; }
.mission-text p { color: var(--muted); font-size: 0.97rem; margin-bottom: 14px; }

.mission-cards { display: flex; flex-direction: column; gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 22px;
}
.card-mark { display: block; color: var(--accent); margin-bottom: 6px; font-size: 0.9rem; }
.card strong { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 5px; }
.card p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* ── USP ── */
.section-usp {
  padding: var(--sp);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.usp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
}
.usp-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.usp-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  line-height: 1.35;
}
.usp-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.usp-quote {
  font-style: italic;
  color: var(--accent) !important;
  font-size: 0.85rem !important;
  margin-top: 18px !important;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

/* ── Hiring ── */
.section-hiring { padding: var(--sp); background: var(--bg); }
.hiring-inner { text-align: center; }
.hiring-sub { color: var(--muted); max-width: 500px; margin: 16px auto 32px; font-size: 0.97rem; }

.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.chip {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text);
  font-weight: 500;
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.18s;
}
.cta-btn:hover { background: var(--accent-dk); }

/* ── Footer / Imprint ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 44px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links { font-size: 0.8rem; color: var(--muted); }
.footer-links a { color: var(--accent); text-decoration: none; transition: opacity 0.15s; }
.footer-links a:hover { opacity: 0.7; }
.footer-sep { margin: 0 8px; color: var(--border); }
.copyright { font-size: 0.73rem; color: var(--muted); }

/* ── Imprint page ── */
.page-hero {
  padding: 64px 24px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.page-hero .back-link {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 24px;
  transition: opacity 0.15s;
}
.page-hero .back-link:hover { opacity: 0.7; }
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.page-body {
  padding: 56px 24px 80px;
  background: var(--bg);
}
.page-body .section-inner { max-width: 720px; }
.legal-section { margin-bottom: 52px; }
.legal-section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legal-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 6px;
}
.legal-section p,
.legal-section address {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  font-style: normal;
  margin-bottom: 10px;
}
.legal-section a { color: var(--accent); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 768px) {
  :root { --sp: 64px 20px; }

  .mission-grid,
  .usp-grid { grid-template-columns: 1fr; gap: 36px; }

  #harmony-canvas { height: 360px; }

  .nav nav { gap: 18px; }
  .nav nav a { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .nav nav { display: none; }
  #harmony-canvas { height: 300px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
