:root {
  --bg: #e1dfdb;
  --surface: #ffffff;
  --ink: #212121;
  --ink-soft: #55524c;
  --ink-faint: #8a857b;
  --line: #bbb7af;
  --line-soft: #d3cfc7;
  --muted: #c0bdb8;
  --sage: #7c8b6f;
  --rose: #c98a98;
  --on-sage: #f8f7f2;
  --on-rose: #3a2226;
  --shadow: 0 1px 2px rgba(33,33,33,0.05), 0 18px 40px -24px rgba(33,33,33,0.28);

  --font-display: 'Playfair Display', Cambria, Georgia, serif;
  --font-body: 'Open Sans', Calibri, 'Segoe UI', sans-serif;
}

:root[data-theme="dark"] {
  --bg: #1c1a17;
  --surface: #262420;
  --ink: #f1eee7;
  --ink-soft: #cbc4b8;
  --ink-faint: #8d887d;
  --line: #4a463e;
  --line-soft: #38352f;
  --muted: #6f6a60;
  --sage: #9fb08c;
  --rose: #dba3ae;
  --on-sage: #201d16;
  --on-rose: #2c1418;
  --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 18px 40px -24px rgba(0,0,0,0.6);
}
:root[data-theme="light"] {
  --bg: #e1dfdb;
  --surface: #ffffff;
  --ink: #212121;
  --ink-soft: #55524c;
  --ink-faint: #8a857b;
  --line: #bbb7af;
  --line-soft: #d3cfc7;
  --muted: #c0bdb8;
  --sage: #7c8b6f;
  --rose: #c98a98;
  --on-sage: #f8f7f2;
  --on-rose: #3a2226;
  --shadow: 0 1px 2px rgba(33,33,33,0.05), 0 18px 40px -24px rgba(33,33,33,0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4rem); line-height: 1.08; font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.16; font-weight: 400; }
h3 { font-size: 1.35rem; font-weight: 500; }
em { font-style: italic; }
p { margin: 0; }
a { color: inherit; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95em 1.9em;
  border-radius: 2px;
  border: 1px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--sage); color: var(--on-sage); border-color: var(--sage); }
.btn-primary:hover { background: transparent; color: var(--sage); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.logo .dot { color: var(--rose); }
.logo img { height: 84px; width: auto; display: block; }
.logo-tag { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-faint); }
.nav-links { display: flex; gap: 2.4rem; list-style: none; margin: 0; padding: 0; font-size: 0.86rem; letter-spacing: 0.04em; }
.nav-links a { text-decoration: none; color: var(--ink-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 1px; background: var(--ink); display: block; }

.lang-switch { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.05em; }
.lang-btn { background: none; border: none; cursor: pointer; padding: 4px 2px; color: var(--ink-faint); font-family: inherit; font-size: inherit; letter-spacing: inherit; border-bottom: 1px solid transparent; }
.lang-btn.active { color: var(--rose); border-bottom-color: var(--rose); }
.lang-sep { color: var(--line); }
.mobile-panel .lang-switch { margin-top: 6px; }

section { padding: clamp(64px, 9vw, 116px) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); margin-top: 1rem; }

footer { border-top: 1px solid var(--line-soft); padding: 44px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.82rem; color: var(--ink-faint); }
.footer-links { display: flex; gap: 1.8rem; list-style: none; padding: 0; margin: 0; align-items: center; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-links .icon-link { display: flex; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 880px) {
  .nav-links, .nav-right .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
}

body.nav-open .mobile-panel { display: flex; }
.mobile-panel {
  display: none; position: fixed; inset: 0 0 auto 0; top: 67px;
  background: var(--bg); border-bottom: 1px solid var(--line-soft);
  flex-direction: column; padding: 20px clamp(20px,5vw,56px) 30px; gap: 18px; z-index: 49;
}
.mobile-panel a { text-decoration: none; color: var(--ink); font-size: 1.05rem; }
