:root {
  --paper: #fbf8f2;
  --paper-dark: #f3ecdf;
  --ink: #2f3432;
  --muted: #666c68;
  --green: #56775e;
  --green-dark: #3f5d48;
  --blue: #5f91aa;
  --rose: #a96478;
  --gold: #bd8e42;
  --line: rgba(47, 52, 50, 0.12);
  --shadow: 0 18px 50px rgba(62, 61, 55, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(189, 142, 66, .09), transparent 23rem),
    radial-gradient(circle at 92% 24%, rgba(95, 145, 170, .10), transparent 25rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(15px);
  background: rgba(251, 248, 242, .86);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.35rem; text-decoration: none; color: var(--green-dark); }
nav { display: flex; gap: 26px; }
nav a { text-decoration: none; font-size: .95rem; color: var(--muted); }
nav a:hover, nav a:focus-visible { color: var(--rose); }

.hero { padding: 86px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--rose); font-weight: 750; letter-spacing: .09em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.1; margin-top: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); letter-spacing: -.045em; margin-bottom: 22px; }
h1 span { color: var(--green); }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); margin-bottom: 24px; }
h3 { font-size: 1.55rem; margin-bottom: 6px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.32rem); color: var(--muted); max-width: 660px; }
.lead.small { font-size: 1.16rem; }
.notice { display: grid; gap: 3px; margin: 30px 0; padding: 20px 22px; border-left: 4px solid var(--gold); background: rgba(255,255,255,.72); border-radius: 0 15px 15px 0; }
.notice span { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; color: white; background: var(--green-dark); box-shadow: 0 10px 22px rgba(63, 93, 72, .19); }
.button:hover, .button:focus-visible { transform: translateY(-1px); background: var(--green); }

.logo-card { position: relative; padding: 20px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.logo-card::before { content: ""; position: absolute; width: 80px; height: 80px; border-radius: 50%; background: rgba(169,100,120,.16); right: -20px; top: -24px; z-index: -1; }
.logo-card img { width: 100%; border-radius: 18px; }

.section { padding: 86px 0; }
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.person-card { background: rgba(255,255,255,.68); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: 0 12px 34px rgba(62,61,55,.07); }
.initial { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px; color: white; background: var(--rose); font-family: Georgia, serif; font-size: 1.55rem; }
.person-card:nth-child(2) .initial { background: var(--blue); }
.role { color: var(--green); font-weight: 700; margin-top: 0; }

.book-section { background: linear-gradient(135deg, rgba(95,145,170,.12), rgba(169,100,120,.08)); border-block: 1px solid var(--line); }
.book-grid { display: grid; grid-template-columns: 1fr .62fr; gap: 58px; align-items: center; }
.book-placeholder { min-height: 390px; display: grid; place-items: center; text-align: center; padding: 28px; border: 2px dashed rgba(63,93,72,.34); border-radius: 22px; background: rgba(255,255,255,.56); color: var(--muted); font-family: Georgia, serif; font-size: 1.25rem; transform: rotate(2deg); }

.contact-section { padding-bottom: 100px; }
.contact-box { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 42px; border-radius: var(--radius); background: var(--green-dark); color: white; }
.contact-box .eyebrow { color: #f0cf8b; }
.contact-box h2 { margin-bottom: 12px; }
.contact-box p:last-child { margin-bottom: 0; color: rgba(255,255,255,.78); }
.paint-dot { flex: 0 0 auto; width: 130px; height: 130px; border-radius: 48% 52% 61% 39% / 43% 37% 63% 57%; background: linear-gradient(145deg, var(--gold), var(--rose)); opacity: .86; transform: rotate(12deg); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.footer-wrap { display: flex; justify-content: space-between; gap: 24px; }
.footer-wrap p { margin: 0; }
.footer-wrap div { display: flex; gap: 20px; }
.footer-wrap a { text-decoration: none; }
.footer-wrap a:hover { color: var(--rose); }

.legal { padding: 70px 0 100px; max-width: 780px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.placeholder-note { padding: 20px; border: 1px solid rgba(189,142,66,.35); border-radius: 14px; background: rgba(189,142,66,.08); }

@media (max-width: 800px) {
  nav { display: none; }
  .hero { padding-top: 54px; }
  .hero-grid, .book-grid, .people-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  .logo-card { transform: none; }
  .section { padding: 64px 0; }
  .book-placeholder { min-height: 290px; }
  .contact-box { align-items: flex-start; padding: 30px; }
  .paint-dot { width: 80px; height: 80px; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1120px); }
  h1 { font-size: 2.65rem; }
  .contact-box, .footer-wrap { flex-direction: column; }
  .footer-wrap { align-items: flex-start; }
}

.contact-mail {
  display: inline-block;
  margin-top: 12px;
  color: white;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 750;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.contact-mail:hover,
.contact-mail:focus-visible { color: #f0cf8b; }
.legal h2 { margin-top: 40px; font-size: clamp(1.45rem, 3vw, 2rem); }
.legal a { color: var(--green-dark); text-underline-offset: 3px; }
