/* ── 1 · faces ─────────────────────────────────────────── */
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ── 2 · reset and running text ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cg2-paper);
  color: var(--cg2-ink);
  font-family: var(--cg2-text);
  font-size: 1.0625rem;
  line-height: 1.72;
  letter-spacing: 0.006em;
  overflow-wrap: break-word;
}
h1, h2, h3, .cg2-display {
  font-family: var(--cg2-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.012em;
  margin: 0;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.25rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--cg2-accent); outline-offset: 3px; }

/* ── 3 · shell ─────────────────────────────────────────── */
.cg2-shell {
  width: 100%;
  max-width: var(--cg2-wide);
  margin: 0 auto;
  padding-left: var(--cg2-edge);
  padding-right: var(--cg2-edge);
}
.cg2-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cg2-ink);
  color: var(--cg2-paper);
  padding: 14px 20px;
  font-family: var(--cg2-display);
  z-index: 40;
}
.cg2-skip:focus { left: 12px; top: 12px; }
.cg2-kicker {
  font-family: var(--cg2-display);
  font-size: 0.775rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cg2-quiet);
  margin: 0 0 14px;
}
.cg2-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.16s ease;
}
.cg2-cta--fill {
  background: var(--cg2-accent);
  color: #ffffff;
  border-radius: 4px;
  padding: 12px 26px;
}
.cg2-cta--fill:hover { transform: translate(3px, -3px); }
.cg2-cta--fill:active { transform: translate(0, 1px); }
.cg2-cta--fill:focus-visible { outline-color: var(--cg2-ink); }
.cg2-cta--rule {
  color: var(--cg2-ink);
  border-bottom: 4px solid var(--cg2-accent);
  padding: 12px 2px 8px;
}
.cg2-cta--rule:hover { transform: translateY(-3px); }
.cg2-cta--rule:active { transform: translateY(1px); }

/* ── 4 · topbar ────────────────────────────────────────── */
.cg2-topbar {
  padding-top: 22px;
  padding-bottom: 22px;
}
.cg2-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cg2-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: 0.015em;
  text-decoration: none;
  color: var(--cg2-ink);
  min-height: 48px;
}
.cg2-mark span { color: var(--cg2-accent); }
.cg2-mark svg { color: var(--cg2-accent); flex: none; }
.cg2-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cg2-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.cg2-nav a:hover { border-bottom-color: var(--cg2-accent); }
.cg2-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 2px solid var(--cg2-ink);
  border-radius: 4px;
  color: var(--cg2-ink);
  cursor: pointer;
}
.cg2-burger:hover { color: var(--cg2-accent); border-color: var(--cg2-accent); }

/* ── 5 · footer ────────────────────────────────────────── */
.cg2-foot { padding: 72px 0 104px; }
.cg2-foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px 64px;
  align-items: start;
}
.cg2-reach h2 { margin-bottom: 16px; }
.cg2-reach address {
  font-style: normal;
  margin: 0 0 18px;
}
.cg2-reach a { color: var(--cg2-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cg2-reach a:hover { color: var(--cg2-accent); }
.cg2-aside h3 { margin-bottom: 12px; }
.cg2-aside p { font-size: 1rem; color: var(--cg2-quiet); }
.cg2-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.cg2-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 3px solid var(--cg2-accent);
}
.cg2-legal a:hover { transform: translateY(-3px); }
.cg2-stamp {
  margin-top: 40px;
  font-size: 0.92rem;
  color: var(--cg2-quiet);
}

/* ── 6 · notice bar ────────────────────────────────────── */
.cg2-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: var(--cg2-ink);
  color: var(--cg2-paper);
  padding: 16px 0;
}
.cg2-notice-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
}
.cg2-notice p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 62em;
}
.cg2-notice a { color: var(--cg2-paper); text-underline-offset: 3px; }
.cg2-notice-keys { display: flex; gap: 12px; flex: none; }
.cg2-notice button {
  min-height: 48px;
  padding: 10px 22px;
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 0.97rem;
  border-radius: 4px;
  border: 2px solid var(--cg2-paper);
  background: none;
  color: var(--cg2-paper);
  cursor: pointer;
  transition: transform 0.16s ease;
}
.cg2-notice button[data-cg2-mark="accepted"] {
  background: var(--cg2-paper);
  color: var(--cg2-ink);
}
.cg2-notice button:hover { transform: translate(3px, -3px); }
.cg2-notice button:focus-visible { outline-color: var(--cg2-paper); }

/* ── 7 · opening ───────────────────────────────────────── */
.cg2-open { padding: 46px 0 92px; }
.cg2-open-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px 64px;
  align-items: center;
}
.cg2-open h1 { margin-bottom: 22px; max-width: 15em; }
.cg2-lede {
  font-size: 1.18rem;
  line-height: 1.62;
  max-width: 34em;
}
.cg2-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 30px 0 0;
  align-items: center;
}
.cg2-sheet {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 20px;
  margin: 36px 0 0;
  font-size: 0.98rem;
}
.cg2-sheet dt {
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cg2-quiet);
  align-self: center;
}
.cg2-sheet dd { margin: 0; align-self: center; }
.cg2-open figure { margin: 0; }
.cg2-open figure img {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  margin-left: auto;
}
.cg2-open figcaption {
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--cg2-quiet);
  max-width: 330px;
  margin-left: auto;
  text-align: right;
}

/* ── 8 · shelf ─────────────────────────────────────────── */
.cg2-shelf { padding: 0 0 96px; }
.cg2-shelf-head { max-width: 40em; margin-bottom: 26px; }
.cg2-shelf-head h2 { margin-bottom: 16px; }
.cg2-entry {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 212px;
  gap: 26px 40px;
  align-items: start;
  padding: 44px 0 0;
}
.cg2-ordinal {
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 5.4vw, 4rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--cg2-accent);
}
.cg2-entry h3 { margin-bottom: 6px; }
.cg2-byline {
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 0.83rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cg2-quiet);
  margin-bottom: 16px;
}
.cg2-entry p { max-width: 42em; }
.cg2-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 16px 26px;
  margin: 22px 0 0;
}
.cg2-facts div > dt {
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cg2-quiet);
  margin-bottom: 2px;
}
.cg2-facts div > dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.cg2-facts .cg2-price { font-family: var(--cg2-display); font-weight: 600; font-size: 1.16rem; }
.cg2-facts .cg2-pkg { grid-column: 1 / -1; }
.cg2-facts .cg2-pkg dd { overflow-wrap: anywhere; font-size: 0.94rem; }
.cg2-entry figure { margin: 0; }
.cg2-entry figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}
.cg2-entry figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--cg2-quiet);
}
.cg2-till {
  margin-top: 62px;
  max-width: 46em;
}
.cg2-till h3 { margin-bottom: 12px; }

/* ── 9 · matrix ────────────────────────────────────────── */
.cg2-grid { padding: 0 0 30px; }
.cg2-grid-head { max-width: 38em; margin-bottom: 24px; }
.cg2-grid-head h2 { margin-bottom: 16px; }
.cg2-scroll { overflow-x: auto; }
.cg2-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  text-align: left;
}
.cg2-matrix caption {
  caption-side: top;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cg2-quiet);
  padding-bottom: 16px;
}
.cg2-matrix th,
.cg2-matrix td {
  padding: 15px 16px 15px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--cg2-rule);
}
.cg2-matrix thead th {
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cg2-quiet);
  border-bottom-color: var(--cg2-ink);
  line-height: 1.35;
}
.cg2-matrix tbody th {
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 1.02rem;
  min-width: 152px;
}
.cg2-matrix td { min-width: 108px; }
.cg2-tick { color: var(--cg2-accent); vertical-align: -3px; margin-right: 7px; }
.cg2-note {
  margin-top: 26px;
  max-width: 44em;
  color: var(--cg2-quiet);
  font-size: 1rem;
}

/* ── 10 · palette and measurements ─────────────────────── */
:root {
  --cg2-paper: #ffffff;
  --cg2-ink: #101010;
  --cg2-quiet: #575757;
  --cg2-accent: #db2777;
  --cg2-rule: #e4e4e4;
  --cg2-display: "Outfit", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --cg2-text: "Newsreader", Georgia, "Times New Roman", serif;
  --cg2-wide: 1120px;
  --cg2-edge: clamp(20px, 5vw, 52px);
}

/* ── 11 · narrow viewports ─────────────────────────────── */
@media (max-width: 940px) {
  .cg2-open-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cg2-open figure img { margin-left: 0; max-width: 300px; }
  .cg2-open figcaption { margin-left: 0; text-align: left; max-width: 300px; }
  .cg2-entry { grid-template-columns: 74px minmax(0, 1fr); }
  .cg2-entry figure { grid-column: 1 / -1; max-width: 300px; }
  .cg2-foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .cg2-burger { display: inline-flex; }
  .cg2-nav {
    display: none;
    width: 100%;
    padding-top: 10px;
  }
  .cg2-nav[data-cg2-open="yes"] { display: block; }
  .cg2-nav ul { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cg2-nav a { width: 100%; padding-left: 0; }
  .cg2-topbar-row { flex-wrap: wrap; }
  .cg2-open { padding-bottom: 68px; }
  .cg2-shelf { padding-bottom: 72px; }
  .cg2-entry { gap: 18px 22px; padding-top: 38px; }
  .cg2-notice-row { justify-content: flex-start; }
  .cg2-foot { padding: 56px 0 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .cg2-cta, .cg2-notice button, .cg2-legal a { transition: none; }
}

/* ── 12 · document pages ───────────────────────────────── */
.cg2-doc { padding: 24px 0 92px; }
.cg2-doc-head { max-width: 44em; margin-bottom: 12px; }
.cg2-doc-head h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 18px; }
.cg2-doc-when {
  font-family: var(--cg2-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cg2-quiet);
  margin: 0;
}
.cg2-clause { max-width: 44em; margin-top: 42px; }
.cg2-clause h2 { font-size: clamp(1.3rem, 2.3vw, 1.62rem); margin-bottom: 14px; }
.cg2-clause h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.cg2-clause ul, .cg2-clause ol { margin: 0 0 1.05em; padding-left: 1.25em; }
.cg2-clause li { margin-bottom: 9px; }
.cg2-doc a { color: var(--cg2-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cg2-doc a:hover { color: var(--cg2-accent); }
.cg2-doc .cg2-scroll { margin-top: 18px; }
.cg2-doc .cg2-matrix td, .cg2-doc .cg2-matrix th { padding-right: 24px; }
.cg2-doc .cg2-matrix tbody th { min-width: 150px; font-size: 0.98rem; }
.cg2-gone { padding: 78px 0 120px; max-width: 40em; }
.cg2-gone h1 { margin-bottom: 20px; }
.cg2-gone .cg2-keys { margin-top: 32px; }
