:root {
  --ink: #23201c;
  --muted: #6e675e;
  --line: #e3dbcf;
  --bg: #f8f4ec;
  --paper: #fffdf8;
  --accent: #b5562f;
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 17px; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 700px; }

/* header */
header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
nav a:hover, nav a.active { color: var(--ink); }
nav .lang { border: 1px solid var(--line); padding: 2px 9px; border-radius: 3px; font-size: .8rem; letter-spacing: .05em; }

/* type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 18px; }
h3 { font-size: 1.22rem; margin-bottom: 8px; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; margin-top: 24px; }
p + p { margin-top: 16px; }

/* hero */
.hero { padding: 96px 0 80px; }
.hero blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); border-left: 3px solid var(--accent); padding-left: 22px; margin-top: 36px; max-width: 640px; }
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; padding: 13px 24px; border-radius: 3px; font-weight: 500; font-size: .95rem; margin-top: 36px; transition: background .2s; }
.btn:hover { background: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); margin-left: 10px; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

section { padding: 80px 0; border-top: 1px solid var(--line); }
section.paper { background: var(--paper); }

/* numbers */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px; }
.facts strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; display: block; line-height: 1.1; }
.facts span { color: var(--muted); font-size: .93rem; }

/* services */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 36px; margin-top: 40px; }
.grid > div { border-top: 2px solid var(--accent); padding-top: 18px; }
.grid p { color: var(--muted); font-size: .97rem; }

/* essays */
.essays { margin-top: 32px; }
.essay { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.essay:first-child { border-top: 1px solid var(--line); }
.essay time { color: var(--muted); font-size: .85rem; padding-top: 4px; }
.essay h3 { margin-bottom: 6px; }
.essay h3 a { color: var(--ink); text-decoration: none; }
.essay h3 a:hover { color: var(--accent); }
.essay q { font-family: var(--serif); font-style: italic; color: var(--muted); quotes: "“" "”"; }
.more { display: inline-block; margin-top: 28px; font-weight: 500; text-decoration: none; }

/* kit */
.kit-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; margin-top: 44px; }
.edition { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.edition img { aspect-ratio: 3/4; object-fit: cover; background: #ece4d6; }
.edition .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.edition .lang-tag { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.edition h3 { margin-top: 6px; }
.price { font-family: var(--serif); font-size: 1.7rem; margin-top: auto; padding-top: 18px; }
.price small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.edition .btn { margin-top: 14px; text-align: center; }
.note { color: var(--muted); font-size: .9rem; margin-top: 28px; }
ul.plain { list-style: none; margin-top: 16px; }
ul.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.about-grid aside { font-size: .92rem; color: var(--muted); }
.about-grid aside h3 { font-size: 1rem; color: var(--ink); margin: 26px 0 6px; font-family: var(--sans); font-weight: 600; }
.about-grid aside h3:first-child { margin-top: 0; }

/* contact */
.contact p { font-size: 1.1rem; }
.contact .mail { font-family: var(--serif); font-size: clamp(1.15rem, 2.6vw, 1.6rem); word-break: break-all; }

/* legal */
.legal { padding: 72px 0 88px; }
.legal h1 { font-size: 2.4rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 8px; }
.legal li { margin: 8px 0 0 20px; }
.updated { color: var(--muted); font-size: .9rem; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: .88rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer a { color: var(--muted); margin-right: 18px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 56px; }
  section { padding: 60px 0; }
  .essay, .kit-intro, .about-grid { grid-template-columns: 1fr; gap: 14px; }
  .btn.ghost { margin-left: 0; }
  nav { gap: 14px; }
  header { position: static; }
}
