:root {
  --bg: #f4efe7;
  --bg-deep: #ebe3d6;
  --paper: #fffdf8;
  --ink: #2b261f;
  --muted: #6d655b;
  --line: #d8cfc2;
  --accent: #7d5a3a;
  --accent-soft: #c4a484;
  --max: 1120px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

a:hover { color: var(--ink); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 239, 231, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.logo {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo-role {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a { text-decoration: none; color: var(--ink); font-size: 15px; }

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 11px;
}

.nav-toggle-bar { top: 20px; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.btn:hover,
.button:hover { background: var(--accent); }

.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }

.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}

.btn-ghost:hover { background: var(--ink); color: #fff !important; }

.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 12% 20%, rgba(196, 164, 132, 0.22), transparent 36%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3, .hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(40px, 6vw, 68px); margin: 0 0 20px; }

h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 16px; }

h3 { font-size: 28px; margin: 0 0 10px; }

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-photo-wrap {
  position: relative;
}

.hero-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 50% 20%;
  border: 1px solid var(--line);
  background: var(--paper);
}

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
}

.hero-card-over {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.94);
}

.portrait {
  width: 100%;
  margin: 0 0 24px;
  border: 1px solid var(--line);
}

.portrait-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.portrait-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.hero-card p { margin: 0 0 12px; color: var(--muted); }

.hero-card strong { color: var(--ink); display: block; font-size: 20px; font-weight: 600; }

.section { padding: 84px 0; }

.section-muted { background: var(--bg-deep); }

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 20px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
}

.card h3 { font-size: 26px; }

.card p:last-child { margin-bottom: 0; }

.num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.list-plain {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-plain li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding: 64px 0 24px;
}

.page-hero p { max-width: 40rem; color: var(--muted); }

.prose { max-width: 760px; }

.prose p,
.prose li { color: #3d3730; }

.prose ul { padding-left: 1.2em; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.article-card a { color: inherit; text-decoration: none; }

.article-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.article-card time { color: var(--muted); font-size: 13px; }

.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.form label { display: grid; gap: 6px; font-size: 14px; }

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  font: inherit;
  color: inherit;
}

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

.hp { position: absolute; left: -9999px; }

.notice {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  margin-bottom: 20px;
}

.notice-ok { border-color: #8aa27a; }

.notice-error { border-color: #b46a5a; }

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: #2b261f;
  color: #efe8de;
}

.site-footer a { color: #efe8de; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 10px;
}

.footer-lead,
.footer-contacts,
.site-footer .menu { color: #cfc4b6; }

.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  margin: 0 0 12px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
  color: #cfc4b6;
}

.single-article { padding: 40px 0 80px; }

.single-article .entry-header { margin-bottom: 28px; }

.entry-meta { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .grid-3,
  .grid-2,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open { display: flex; }

  .site-nav ul { flex-direction: column; }

  .hero { padding: 48px 0 40px; }

  .hero-photo { height: 380px; }

  .hero-card-over { position: static; margin-top: -1px; }

  .portrait-grid { grid-template-columns: 1fr; }

  .section { padding: 56px 0; }

  .footer-bottom { flex-direction: column; }
}
