:root {
  --bg: #f5efe5;
  --surface: rgba(255, 252, 247, 0.9);
  --surface-strong: #fffaf2;
  --ink: #1b2430;
  --muted: #57606a;
  --line: rgba(27, 36, 48, 0.1);
  --brand: #a14f1c;
  --accent: #175f70;
  --shadow: 0 24px 45px rgba(27, 36, 48, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(161, 79, 28, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(23, 95, 112, 0.14), transparent 26%),
    linear-gradient(180deg, #f7f2e9 0%, #eee4d3 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, serif;
  line-height: 1.04;
}

p {
  margin: 0;
  line-height: 1.7;
}

.presentation-shell {
  --shell-width: min(1520px, calc(100vw - 28px));
  width: var(--shell-width);
  margin: 0 auto;
  padding: 24px 278px 120px 0;
  position: relative;
  z-index: 1;
}

.brand-watermark {
  width: min(1520px, calc(100vw - 28px));
  margin: 18px auto 0;
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid rgba(27, 36, 48, 0.12);
  background: rgba(255, 250, 242, 0.58);
  box-shadow: none;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-watermark__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.brand-watermark__name {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.1;
}

.brand-watermark__line {
  font-size: 14px;
  color: var(--muted);
  text-align: right;
}

.content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.hero,
.summary,
.visual-section,
.closing,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero,
.summary,
.visual-section,
.closing,
.contact-panel {
  padding: 28px;
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero h1 {
  font-size: clamp(38px, 5vw, 72px);
}

.hero .lead {
  margin-top: 16px;
  max-width: 66ch;
  font-size: 19px;
  color: var(--muted);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-tags span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(23, 95, 112, 0.09);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.summary-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.summary-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.summary-card p {
  color: var(--muted);
}

.closing {
  scroll-margin-top: 24px;
}

.closing h2 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.closing-lead {
  max-width: 72ch;
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}

.closing-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.closing-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.closing-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.closing-card p {
  color: var(--muted);
}

.contact-panel h2 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.contact-lead {
  max-width: 72ch;
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.contact-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--muted);
}

.visual-section {
  scroll-margin-top: 24px;
}

.visual-copy {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  max-width: 820px;
}

.visual-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.visual-copy p {
  font-size: 18px;
  color: var(--muted);
}

.visual-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(27, 36, 48, 0.08);
  background: #f3efe8;
}

.visual-frame img {
  width: 100%;
  height: auto;
}

.visual-caption {
  margin-top: 12px;
  max-width: 860px;
  font-size: 17px;
  color: var(--muted);
}

.side-nav {
  position: fixed;
  top: 20px;
  right: max(14px, calc((100vw - var(--shell-width)) / 2));
  width: 230px;
  z-index: 30;
}

.side-nav__inner {
  padding: 20px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 244, 0.92);
  box-shadow: var(--shadow);
  max-height: calc(100vh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
}

.side-nav__label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.side-nav__list {
  display: grid;
  gap: 8px;
}

.side-nav__list a {
  display: block;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--muted);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.side-nav__list a:hover {
  transform: translateX(-2px);
  background: rgba(23, 95, 112, 0.06);
  border-color: rgba(23, 95, 112, 0.1);
  color: var(--ink);
}

@media (max-width: 1120px) {
  .presentation-shell {
    width: min(100% - 18px, 1520px);
    padding: 24px 0 32px;
  }

  .side-nav {
    position: static;
    width: auto;
  }

  .side-nav__inner {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .side-nav__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .summary-grid,
  .closing-grid,
  .contact-grid,
  .side-nav__list {
    grid-template-columns: 1fr;
  }

  .presentation-shell {
    width: min(100% - 18px, 1520px);
    padding: 18px 0 42px;
  }

  .hero,
  .summary,
  .visual-section,
  .closing,
  .contact-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .visual-copy p,
  .visual-caption,
  .hero .lead,
  .closing-lead,
  .contact-lead {
    font-size: 16px;
  }

  .brand-watermark {
    width: min(100% - 18px, 1520px);
    margin: 12px auto 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-watermark__line {
    text-align: left;
  }
}
