:root {
  --bg: #0f1411;
  --ink: #f3efe7;
  --accent: #b4f7d4;
  --muted: #7f877f;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Instrument Serif", serif;
  font-size: 26px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover { color: var(--accent); }

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg) !important;
  border: none;
  border-radius: 999px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover { background: var(--accent); color: var(--bg) !important; }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 70px;
  text-align: center;
}

.hero h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.08;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  max-width: 560px;
  margin: 32px auto 40px;
  font-size: 18px;
  color: #c8c3b8;
}

/* ---------- Trusted by ---------- */
.trusted {
  padding: 20px 0 90px;
  text-align: center;
  color: #cfcabf;
  font-size: 14px;
}

.trusted .redacted {
  display: inline-block;
  width: 96px;
  height: 14px;
  background: var(--accent);
  border-radius: 3px;
  vertical-align: middle;
  margin: 0 2px;
}

.trusted .redacted.short { width: 68px; }

/* ---------- Editorial sections ---------- */
section.editorial {
  padding: 90px 0;
}

section.editorial .inner {
  max-width: 720px;
  margin: 0 auto;
}

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

section.editorial h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 28px;
}

section.editorial p + p { margin-top: 20px; }

section.editorial p { color: #cfcabf; }

section.editorial strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Closing CTA ---------- */
.closing {
  padding: 100px 0 120px;
  text-align: center;
}

.closing .card {
  background: #171e1a;
  border-radius: 28px;
  padding: 90px 32px;
}

.closing h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  max-width: 760px;
  margin: 0 auto 28px;
}

.closing h2 em {
  font-style: italic;
  color: var(--accent);
}

.closing p {
  max-width: 560px;
  margin: 0 auto 40px;
  color: #c8c3b8;
}

/* ---------- Contact page ---------- */
.contact-page {
  padding: 90px 0 120px;
}

.contact-page .inner {
  max-width: 820px;
  margin: 0 auto;
}

.contact-page h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.contact-page .sub {
  color: #c8c3b8;
  margin-bottom: 56px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #171e1a;
  border: 1px solid #2b362f;
  border-radius: 8px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form .actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 90px 0 120px;
}

.legal .inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal section {
  margin-bottom: 40px;
}

.legal h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.legal p,
.legal ul {
  color: #cfcabf;
}

.legal p + p,
.legal p + ul,
.legal ul + p {
  margin-top: 14px;
}

.legal ul {
  padding-left: 24px;
}

.legal li + li {
  margin-top: 6px;
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal a {
  color: var(--accent);
  text-decoration: none;
}

.legal a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
footer {
  padding: 48px 0 36px;
}

footer .foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid #263029;
}

footer .foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 26px;
}

footer nav.foot-links {
  display: flex;
  gap: 28px;
  padding: 0;
}

footer a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

footer a:hover { color: var(--accent); }

footer .copy {
  color: var(--muted);
  font-size: 13px;
}

footer .social {
  display: flex;
  align-items: center;
  color: var(--ink);
}

footer .social:hover { color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
