.ad-hero { background: radial-gradient(ellipse at 81% 18%, #eadac0, var(--paper) 68%); border-bottom: 1px solid var(--line); }
.ad-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(2rem, 5vw, 4.75rem); }
.ad-hero-copy h1 { font-size: clamp(3rem, 5.1vw, 5.2rem); margin-bottom: 1.15rem; }
.ad-hero-copy > p:not(.eyebrow) { max-width: 45ch; font-size: clamp(1rem, 1.7vw, 1.19rem); color: var(--muted); }
.ad-hero-copy .actions { margin-top: 1.55rem; }
.ad-workbook { position: relative; isolation: isolate; display: grid; align-items: end; min-height: 345px; padding: clamp(1rem, 2.3vw, 1.8rem); overflow: hidden; border: 1px solid #b69873; border-radius: 16px; background: #e9d8bc; }
.ad-workbook figure { position: absolute; inset: 0; z-index: -1; }
.ad-workbook figure img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.ad-workbook-card { width: min(100%, 290px); padding: 1rem 1.1rem; background: var(--surface); border-radius: 9px; border: 1px solid var(--line); box-shadow: 0 5px 18px #2a211735; }
.ad-workbook-card h2 { font-size: 1.36rem; }
.ad-checks, .ad-event-grid, .ad-timeline, .ad-more ul { margin: 0; padding: 0; list-style: none; }
.ad-checks { display: grid; gap: .65rem; margin-top: .9rem; }
.ad-checks label { display: grid; grid-template-columns: 1.1em minmax(0, 1fr); gap: .65rem; align-items: start; cursor: pointer; }
.ad-checks input { inline-size: 1rem; block-size: 1rem; margin: .23em 0 0; accent-color: var(--jade); }
.ad-checks label:has(:checked) { color: var(--jade); }
.ad-workbook-card .ad-checks { font-size: .86rem; }
.ad-arrow { display: inline-block; padding-inline-start: .2em; font: 1em system-ui, sans-serif; }
.ad-event-grid, .ad-two-col, .ad-timeline { display: grid; gap: 1rem; }
.ad-event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ad-event { display: flex; align-items: flex-start; gap: .85rem; min-height: 100%; padding: 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; }
.ad-event:hover { border-color: var(--copper); box-shadow: 0 7px 18px #27201616; }
.ad-event:hover h3 { text-decoration: underline; text-underline-offset: .19em; }
.ad-event svg { flex: 0 0 clamp(56px, 6vw, 86px); height: auto; }
.ad-event h3, .ad-panel h3, .ad-example h3, .ad-timeline h3 { font-size: clamp(1.32rem, 2.1vw, 1.85rem); letter-spacing: -.022em; }
.ad-event h3 .ad-arrow, .ad-timeline h3 .ad-arrow { color: var(--red-dark); font-size: .7em; }
.ad-event p { margin-top: .4rem; color: var(--muted); font-size: .92rem; }
.ad-calendar { background: #e9e9db; }
.ad-timeline, .ad-two-col, .ad-film { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ad-timeline { gap: 0; }
.ad-timeline li { padding: 1.55rem clamp(1rem, 2.2vw, 2.25rem); border-top: 2px solid var(--copper); position: relative; }
.ad-timeline li::before { content: ""; position: absolute; top: -7px; left: clamp(1rem, 2.2vw, 2.25rem); width: 11px; height: 11px; border: 2px solid var(--paper); border-radius: 50%; background: var(--jade); }
.ad-date { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .75rem; color: var(--jade); margin-bottom: .65rem; }
.ad-date time { font-family: Georgia, serif; font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.1; }
.ad-date span { font-size: .85rem; font-weight: 650; }
.ad-timeline p, .ad-panel p { margin-block: .65rem; }
.ad-source { display: inline-block; color: var(--jade); font-size: .85rem; text-underline-offset: .2em; }
.ad-panel, .ad-example { padding: clamp(1.2rem, 2.7vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ad-panel .ad-checks { margin-bottom: 1.2rem; }
.ad-example { background: #ebe0cc; border-color: #d4bda0; }
.ad-example ol { margin-bottom: 0; padding-inline-start: 1.25rem; }
.ad-example li + li { margin-top: .25rem; }
.ad-method { background: #eee8db; }
.ad-method .ad-source { display: block; width: fit-content; margin-top: .8rem; }
.ad-film { display: grid; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.ad-film video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--ink); }
.ad-film summary { margin-top: 1rem; cursor: pointer; color: var(--red-dark); font-weight: 650; }
.ad-film details p { margin-top: .6rem; }
.ad-more { padding-block: 1.4rem 2.5rem; border-top: 1px solid var(--line); }
.ad-more h2 { font-size: 1.55rem; }
.ad-more ul { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; margin-top: .8rem; }
@media (max-width: 920px) {
  .ad-hero-grid { gap: 2rem; }
  .ad-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .ad-hero-grid, .ad-two-col, .ad-timeline, .ad-film, .ad-event-grid { grid-template-columns: minmax(0, 1fr); }
  .ad-hero-copy h1 { font-size: clamp(2.65rem, 10vw, 4rem); }
  .ad-workbook { min-height: 0; padding: 0; }
  .ad-workbook-card { width: 100%; padding: 1.12rem; border: 0; border-radius: 0; box-shadow: none; }
  .ad-workbook figure { position: static; }
  .ad-workbook figure img { aspect-ratio: 16 / 7; }
  .ad-timeline li { border-block-start: 0; border-inline-start: 2px solid var(--copper); margin-inline-start: .35rem; padding-block: .65rem 1.4rem; }
  .ad-timeline li::before { top: .85rem; left: -7px; }
}
@media print {
  .ad-hero-grid, .ad-two-col, .ad-timeline { display: block; }
  .ad-workbook { display: block; min-height: 0; margin-top: 1rem; }
  .ad-workbook figure { display: none; }
  .ad-panel, .ad-example, .ad-timeline li { break-inside: avoid; }
  .ad-film video { display: none; }
}
