:root {
  --bg: #e8e8e4;
  --paper: rgba(255, 255, 255, 0.95);
  --paper-soft: #faf9f6;
  --paper-warm: #f3f0ea;
  --text: #111111;
  --muted: #5f5f5b;
  --line: #d2d0c8;
  --line-strong: #9c9b96;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.045);
}

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.62), transparent 34%),
    linear-gradient(180deg, #ecece8 0%, #e5e4df 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

.page-shell { padding: 38px 16px 70px; }
.page { width: min(1100px, 100%); margin: 0 auto; }
.content-stack { display: grid; gap: 42px; margin-top: 42px; }
.grid-two, .entry-grid { display: grid; gap: 26px; }
.grid-two { grid-template-columns: 1.08fr 0.92fr; }
.entry-grid { grid-template-columns: 1.15fr 0.85fr; }

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.soft-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), transparent 28%);
  pointer-events: none;
}

.site-header, .site-footer { padding: 30px 36px; }
.site-header { display: grid; gap: 18px; }
.brand-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.brand-block { max-width: 600px; }
.site-name { margin: 0; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: 0.01em; }
.site-tagline { margin: 5px 0 0; font-size: 1rem; color: var(--muted); }
.status-pill {
  flex-shrink: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #f7f6f2;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topline { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.96rem; color: var(--muted); }
.topline span:not(:last-child)::after { content: "|"; margin-left: 18px; color: #b5b5b1; }

.hero { padding: 50px 44px 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr); gap: 34px; align-items: stretch; }
.kicker, .section-title, .entry-label, .overlay-kicker, .date-label {
  margin: 0 0 16px;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.035em; margin-bottom: 30px; max-width: 8.6ch; }
h2 { font-size: clamp(1.72rem, 3vw, 2.45rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.28rem, 2vw, 1.75rem); margin-bottom: 10px; }
.lead { max-width: 760px; font-size: 1.18rem; margin: 0 0 22px; }
.hero-note {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-note p { margin: 0; }
.note-dot {
  width: 14px;
  height: 14px;
  margin-top: 0.35em;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d1d1d, #4a4a4a);
}

.date-panel {
  min-height: 100%;
  padding: 26px 24px 28px;
  border: 1px solid rgba(255,255,255,0.1);
}
.film-card {
  background:
    linear-gradient(180deg, rgba(18,18,18,0.97), rgba(32,32,32,0.97)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 16px, transparent 16px 34px);
  color: #fff;
}
.date-value { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.05rem); line-height: 0.95; letter-spacing: -0.03em; }
.date-note { margin: 0; color: rgba(255,255,255,0.82); }

.intro-grid { align-items: stretch; }
.contact-card, .quiet-card, .recommendations-card { padding: 34px 36px; }
.accent-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,246,242,0.98)),
    linear-gradient(90deg, rgba(0,0,0,0.04), transparent 24%);
}
.contact-mail { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.08; word-break: break-word; }
.small-note, .section-subtitle, .overlay-muted { margin: 0; color: var(--muted); }
.quiet-card { background: linear-gradient(180deg, #fbfaf8 0%, #f4f2ed 100%); }
.quiet-card p:last-child { margin: 0; max-width: 42ch; font-size: 1.08rem; }
.section-head { margin-bottom: 34px; }

.entry-card {
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
}
.plain-card { background: var(--paper-soft); }
.entry-block + .entry-block { margin-top: 26px; }
.divider-top { padding-top: 24px; border-top: 1px solid var(--line); }
.entry-block p { margin: 0 0 8px; font-size: 1.05rem; }
.entry-block p:last-child { margin-bottom: 0; }

.site-footer {
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.legal-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: #f7f7f5;
  text-decoration: none;
}

.perforated-card::before,
.perforated-card::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  width: 12px;
  background-image: radial-gradient(circle, var(--bg) 0 4px, transparent 4.5px);
  background-size: 12px 22px;
  background-repeat: repeat-y;
  z-index: 2;
  pointer-events: none;
}
.perforated-card::before { left: -6px; }
.perforated-card::after { right: -6px; }
.mini-perf::before, .mini-perf::after { top: 14px; bottom: 14px; width: 10px; background-size: 10px 18px; }

.overlay { position: fixed; inset: 0; display: none; z-index: 50; }
.overlay:target { display: block; }
.overlay-backdrop {
  position: absolute;
  inset: 0;
  display: block;
  background: rgba(10, 10, 10, 0.58);
  backdrop-filter: blur(3px);
}
.overlay-panel {
  position: relative;
  width: min(760px, calc(100% - 28px));
  margin: 7vh auto 0;
  padding: 32px 30px 34px;
  z-index: 1;
}
.overlay-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
}
.overlay-copy p { margin: 0 0 16px; }
.overlay-copy p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }
a { color: var(--text); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

@media (max-width: 860px) {
  .grid-two, .entry-grid, .hero-grid { grid-template-columns: 1fr; }
  h1 { max-width: none; }
  .brand-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .page-shell { padding: 12px 10px 30px; }
  .site-header, .hero, .contact-card, .quiet-card, .recommendations-card, .site-footer, .overlay-panel {
    padding-left: 18px;
    padding-right: 18px;
  }
  .content-stack { gap: 24px; margin-top: 24px; }
  .grid-two, .entry-grid { gap: 16px; }
  .topline span:not(:last-child)::after { content: ""; margin: 0; }
  .topline { display: block; }
  .topline span { display: block; margin-bottom: 4px; }
  .lead, .entry-block p, .quiet-card p:last-child { font-size: 1rem; }
  .overlay-panel { margin-top: 3vh; }
  .perforated-card::before, .perforated-card::after { display: none; }
  .status-pill { font-size: 0.78rem; }
}
