@charset "UTF-8";

:root {
  --court-ground: #E7E7FB;
  --court-ink: #241C2C;
  --court-violet: #57317D;
  --court-rose: #E2C1C6;
  --court-white: #FFFFFF;
  --court-stone: #F3F0E8;
  --court-width: 1264px;
  font-family: "Yaldevi", "Segoe UI", sans-serif;
  color: var(--court-ink);
  background: var(--court-stone);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; font-size: 18px; line-height: 1.65; }
a { color: var(--court-violet); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: background-color .18s, text-decoration-color .18s; }
a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--court-ink); }
a:focus-visible { outline: 3px solid var(--court-violet); outline-offset: 5px; background: var(--court-white); }
::selection { background: var(--court-rose); color: var(--court-ink); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: "Donegal One", Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(42px, 4vw, 58px); line-height: 1.13; letter-spacing: -1.9px; margin: 0; }
h2 { font-size: 32px; line-height: 1.27; letter-spacing: -.7px; margin: 12px 0 24px; }
h3 { font-size: 23px; line-height: 1.35; margin: 0 0 10px; }
strong { font-weight: 600; }
[data-lucide], .lucide { width: 21px; height: 21px; display: inline-block; flex: 0 0 21px; vertical-align: middle; }

/* A single open lintel: the third link sits on its floor. */
.cgp-skip { position: absolute; left: 18px; top: -120px; z-index: 9; padding: 12px 18px; background: var(--court-white); }
.cgp-skip:focus { top: 12px; }
.cgp-lintel { width: min(var(--court-width), calc(100% - 96px)); height: 114px; margin: 22px auto 0; border: solid var(--court-violet); border-width: 0 14px 14px; position: relative; }
.cgp-name { position: absolute; left: 24%; top: 11px; color: var(--court-ink); text-decoration: none; font-family: "Donegal One", Georgia, serif; font-size: clamp(27px, 2.8vw, 40px); line-height: 1.22; }
.cgp-name:hover { color: var(--court-violet); }
.cgp-wall-nav { display: contents; }
.cgp-wall-nav a { position: absolute; left: 24px; display: inline-flex; align-items: center; gap: 10px; font-size: 17px; line-height: 1.3; min-height: 32px; text-decoration: none; }
.cgp-wall-nav a:hover { background: var(--court-rose); box-shadow: -6px 0 0 var(--court-rose), 6px 0 0 var(--court-rose); }
.cgp-wall-nav a:nth-child(1) { top: 2px; }
.cgp-wall-nav a:nth-child(2) { top: 40px; }
.cgp-wall-nav a:nth-child(3) { bottom: -1px; left: 24%; padding: 0 15px; background: var(--court-stone); }
.cgp-wall-nav a:nth-child(3):hover { background: var(--court-rose); }
.cgp-wall-nav [aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.cgp-wall-nav i, .cgp-wall-nav svg { width: 19px; height: 19px; flex-basis: 19px; }
.cgp-reading { width: min(var(--court-width), calc(100% - 96px)); margin: auto; }
.cgp-home { width: 100%; }

/* The north wall is a stepped paving slab laid across a full-bleed photograph. */
.cgp-arrival { position: relative; isolation: isolate; margin-top: 22px; min-height: 634px; padding: 28px 0 40px; display: grid; align-items: start; }
.cgp-north-stone { position: relative; z-index: 2; width: 53%; padding: 30px 46px 40px max(48px, calc((100vw - var(--court-width)) / 2)); background: var(--court-stone); border-top: 12px solid var(--court-violet); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 42px) calc(100% - 34px), calc(100% - 42px) 100%, 0 100%); }
.cgp-north-stone h1 { max-width: 600px; }
.cgp-welcome { max-width: 550px; font-size: 19px; line-height: 1.5; margin: 22px 0; }
.cgp-paving { position: relative; padding: 0 34px 24px 0; }
.cgp-paving p { font-size: 17px; line-height: 1.52; margin: 0; }
.cgp-paving::before { content: ""; position: absolute; width: 16px; height: 70px; right: 0; bottom: 0; background: var(--court-violet); }
.cgp-paving::after { content: ""; position: absolute; width: 61%; height: 13px; right: 0; bottom: 0; background: var(--court-rose); }
.cgp-photo { margin: 0; position: relative; }
.cgp-photo-scene { position: relative; height: 100%; }
.cgp-imageplane { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 42%; }
.cgp-arrival > .cgp-photo { position: absolute; z-index: -1; inset: 0; }
.cgp-arrival .cgp-imageplane { object-position: 66% 40%; }
.cgp-photo figcaption { position: absolute; z-index: 1; right: 0; bottom: -20px; width: 355px; padding: 19px 27px 23px 33px; background: var(--court-rose); color: var(--court-ink); font-family: "Donegal One", Georgia, serif; font-size: 19px; line-height: 1.4; clip-path: polygon(0 0, 100% 0, 100% 100%, 23px 100%, 23px calc(100% - 15px), 0 calc(100% - 15px)); }
.cgp-newsprint { position: absolute; z-index: 1; left: 55%; bottom: -18px; width: 122px; height: 83px; background: var(--court-white); border: 1px solid #BCAABD; transform: rotate(-9deg); box-shadow: 5px 7px 0 var(--court-violet); }
.cgp-newsprint::before { content: ""; position: absolute; inset: 11px 9px; background: repeating-linear-gradient(0deg, transparent 0 5px, #9B8F9D 5px 6px); clip-path: polygon(0 0, 43% 0, 43% 100%, 0 100%, 0 0, 56% 0, 100% 0, 100% 100%, 56% 100%, 56% 0); }
.cgp-newsprint::after { content: ""; position: absolute; inset: 0 auto 0 49%; width: 1px; background: #D9D2DB; }

/* The west concern, open middle and east explanation enclose real negative space. */
.cgp-court { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(155px, .65fr) minmax(400px, 1.85fr); grid-template-areas: "west empty east" "south south south"; gap: 72px 38px; margin-top: 86px; align-items: start; }
.cgp-home .cgp-court { width: min(var(--court-width), calc(100% - 96px)); margin-inline: auto; }
.cgp-west { grid-area: west; position: sticky; top: 30px; margin-left: -18px; margin-top: 28px; padding: 24px 25px 30px 18px; background: var(--court-rose); box-shadow: 9px 12px 0 var(--court-ground); font-size: 17px; line-height: 1.7; }
.cgp-west h2 { font-size: 27px; }
.cgp-open-ground { grid-area: empty; min-height: 490px; align-self: stretch; position: relative; }
.cgp-open-ground::after { content: ""; position: absolute; left: 10%; right: 7%; top: 115px; height: 220px; border: solid var(--court-ground); border-width: 0 16px 21px 0; }
.cgp-east { grid-area: east; border-top: 12px solid var(--court-violet); padding-top: 25px; }
.cgp-east > section + section { margin-top: 52px; padding-top: 29px; border-top: 5px solid var(--court-rose); }
.cgp-position { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--court-violet); margin: 0 0 15px; line-height: 1.4; }
.cgp-ordinal { font-family: "Donegal One", Georgia, serif; font-size: 68px; line-height: 1; letter-spacing: -4px; }
.cgp-position:has(.cgp-ordinal) > i, .cgp-position:has(.cgp-ordinal) > svg { align-self: flex-end; margin-bottom: 7px; }
.cgp-south { grid-area: south; position: relative; background: var(--court-ground); padding: 38px 45px 42px; display: grid; grid-template-columns: .85fr 1.7fr; gap: 60px; border-left: 13px solid var(--court-violet); box-shadow: 15px 16px 0 var(--court-rose); }
.cgp-south > div:first-child { margin-left: -73px; padding: 24px 25px; background: var(--court-stone); align-self: start; margin-top: -13px; }
.cgp-south h2 { margin-bottom: 0; font-size: 30px; }
.cgp-south::after { content: ""; position: absolute; right: -15px; bottom: -16px; width: 175px; height: 68px; border: solid var(--court-violet); border-width: 0 15px 15px 0; pointer-events: none; }
.cgp-south-body { padding-top: 10px; }

/* Photo pages use a smaller north wall; the same square cut stays visible. */
.cgp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 18px; font-size: 16px; line-height: 1.5; margin: 23px 0 22px; }
.cgp-breadcrumb span { padding-left: 20px; border-left: 4px solid var(--court-rose); }
.cgp-page-north { position: relative; isolation: isolate; min-height: 355px; padding: 23px 0 38px; }
.cgp-page-heading { position: relative; z-index: 2; width: 64%; padding: 22px 38px 28px 0; background: var(--court-stone); border-top: 10px solid var(--court-violet); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 30px) calc(100% - 24px), calc(100% - 30px) 100%, 0 100%); }
.cgp-page-heading h1 { font-size: clamp(36px, 3.3vw, 47px); max-width: 670px; }
.cgp-page-heading > .cgp-intro { font-size: 20px; line-height: 1.55; max-width: 660px; margin: 22px 0 0; }
.cgp-page-north > .cgp-photo { position: absolute; z-index: -1; inset: 0; }
.cgp-page-north .cgp-imageplane { object-position: 80% 45%; }
.cgp-photo-newspaper-on-paving .cgp-imageplane { object-position: 70% 58%; }
.cgp-page-north .cgp-newsprint { left: 66%; width: 87px; height: 60px; }
.cgp-page-north .cgp-photo figcaption { width: 320px; font-size: 17px; bottom: -14px; }
.cgp-north-without-photo { min-height: 0; padding-bottom: 0; }
.cgp-north-without-photo .cgp-page-heading { width: 88%; max-width: 1000px; padding-bottom: 16px; }
.cgp-inner-court { margin-top: 73px; }
.cgp-source-entry { margin-top: 30px; padding-top: 24px; border-top: 5px solid var(--court-rose); }
.cgp-source-entry h3 { font-size: 23px; }
.cgp-source-title { line-height: 1.5; margin-bottom: 12px; }
.cgp-source-note { font-size: 17px; line-height: 1.6; }

.cgp-bottom { width: min(var(--court-width), calc(100% - 96px)); margin: 105px auto 0; padding: 33px 0 28px; border-top: 12px solid var(--court-violet); }
.cgp-bottom-heading { font-family: "Donegal One", Georgia, serif; font-size: 29px; line-height: 1.3; margin-bottom: 25px; }
.cgp-stroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px 35px; font-size: 17px; margin-bottom: 38px; }
.cgp-stroll a { display: block; padding: 8px 0; border-bottom: 3px solid var(--court-rose); text-decoration: none; }
.cgp-stroll a:hover { padding-left: 9px; background: var(--court-rose); }
.cgp-stroll [aria-current="page"] { border-color: var(--court-violet); }
.cgp-bottom-note { max-width: 765px; font-size: 16px; line-height: 1.6; }
.cgp-copyright { font-size: 16px; margin-top: 18px; }
.cgp-missing { max-width: 780px; padding: 60px 0 40px; }
.cgp-missing .cgp-intro { margin: 25px 0; font-size: 21px; }
.cgp-missing h1 { font-size: 48px; }

@media (min-width: 1700px) {
  .cgp-north-stone { width: calc(50% + 20px); padding-right: 60px; }
  .cgp-arrival { min-height: 680px; }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .cgp-lintel, .cgp-reading, .cgp-bottom, .cgp-home .cgp-court { width: calc(100% - 64px); }
  .cgp-home { width: 100%; }
  .cgp-name { font-size: 29px; left: 27%; top: 19px; }
  .cgp-north-stone { width: 62%; padding-left: 32px; padding-right: 30px; }
  .cgp-arrival h1 { font-size: 45px; }
  .cgp-welcome { font-size: 18px; }
  .cgp-court { grid-template-columns: minmax(170px, .8fr) minmax(55px, .3fr) minmax(330px, 1.7fr); column-gap: 26px; }
  .cgp-west { margin-left: 0; padding-left: 19px; padding-right: 19px; }
  .cgp-position { gap: 6px; }
  .cgp-ordinal { font-size: 54px; }
  .cgp-south { padding-left: 30px; padding-right: 30px; column-gap: 30px; }
  .cgp-south > div:first-child { margin-left: -46px; padding-left: 16px; padding-right: 16px; }
  .cgp-page-heading { width: 64%; padding-right: 24px; }
  .cgp-page-heading h1 { font-size: 38px; }
  .cgp-page-north .cgp-photo figcaption { width: 275px; }
}

@media (max-width: 700px) {
  body { font-size: 17px; line-height: 1.65; }
  h1 { font-size: 30px; line-height: 1.2; letter-spacing: -.65px; }
  h2 { font-size: 28px; line-height: 1.25; }
  h3 { font-size: 22px; }
  .cgp-lintel, .cgp-reading, .cgp-bottom, .cgp-home .cgp-court { width: calc(100% - 32px); }
  .cgp-home { width: 100%; }
  .cgp-lintel { height: 80px; margin-top: 14px; border-width: 0 8px 8px; }
  .cgp-name { font-size: 19px; line-height: 1.25; left: 12px; top: 0; }
  .cgp-wall-nav a { font-size: 16px; gap: 6px; min-height: 36px; }
  .cgp-wall-nav a:nth-child(1) { top: 33px; left: 12px; }
  .cgp-wall-nav a:nth-child(2) { top: 33px; left: 39%; }
  .cgp-wall-nav a:nth-child(3) { top: 33px; bottom: auto; left: auto; right: 9px; padding: 0; background: transparent; }
  .cgp-wall-nav i, .cgp-wall-nav svg { width: 16px; height: 16px; flex-basis: 16px; }
  .cgp-arrival { display: flex; flex-direction: column; margin-top: 17px; padding: 0; min-height: 0; }
  .cgp-north-stone { width: 100%; padding: 17px 23px 29px; border-top-width: 8px; clip-path: none; }
  .cgp-north-stone h1 { font-size: 30px; }
  .cgp-welcome { font-size: 17px; line-height: 1.45; margin: 16px 0; }
  .cgp-paving { width: 100%; padding: 0 23px 22px 0; }
  .cgp-paving p { font-size: 16px; line-height: 1.48; }
  .cgp-paving::before { width: 12px; height: 59px; }
  .cgp-paving::after { height: 11px; width: 59%; }
  .cgp-arrival > .cgp-photo { position: relative; inset: auto; z-index: 0; width: 100%; height: 150px; }
  .cgp-arrival .cgp-imageplane { object-position: 70% 42%; clip-path: polygon(0 0, 100% 0, 100% 100%, 24% 100%, 24% 75%, 0 75%); }
  .cgp-arrival .cgp-newsprint { width: 66px; height: 40px; left: 11px; bottom: -2px; box-shadow: 3px 4px 0 var(--court-violet); }
  .cgp-newsprint::before { inset: 6px; }
  .cgp-photo figcaption { width: 245px; right: 0; bottom: -28px; font-size: 16px; line-height: 1.35; padding: 13px 17px 18px; }
  .cgp-court { display: flex; flex-direction: column; gap: 38px; margin-top: 71px; }
  .cgp-west, .cgp-east, .cgp-south { width: 100%; }
  .cgp-west { position: relative; top: auto; margin: 0; font-size: 17px; padding: 23px 25px 27px; width: calc(100% - 9px); }
  .cgp-west h2 { font-size: 28px; }
  .cgp-open-ground { display: none; }
  .cgp-east { padding-top: 21px; border-top-width: 10px; }
  .cgp-east > section + section { margin-top: 35px; padding-top: 25px; }
  .cgp-position { font-size: 16px; gap: 9px; }
  .cgp-ordinal { font-size: 56px; letter-spacing: -3px; }
  .cgp-south { display: block; width: calc(100% - 9px); padding: 23px 20px 29px; border-left-width: 8px; box-shadow: 9px 11px 0 var(--court-rose); }
  .cgp-south > div:first-child { margin: -6px 0 20px -32px; padding: 14px 18px; }
  .cgp-south h2 { font-size: 27px; }
  .cgp-south::after { right: -9px; bottom: -11px; width: 125px; height: 48px; border-width: 0 10px 10px 0; }
  .cgp-south-body { padding-top: 0; }
  .cgp-breadcrumb { font-size: 16px; margin-top: 21px; column-gap: 12px; }
  .cgp-breadcrumb span { padding-left: 12px; }
  .cgp-page-north { padding: 0; min-height: 0; }
  .cgp-page-heading, .cgp-north-without-photo .cgp-page-heading { width: 100%; max-width: none; padding: 19px 0 25px; border-top-width: 8px; clip-path: none; }
  .cgp-page-heading h1 { font-size: 32px; line-height: 1.21; letter-spacing: -.75px; }
  .cgp-page-heading > .cgp-intro { font-size: 18px; line-height: 1.55; margin-top: 19px; }
  .cgp-page-north > .cgp-photo { position: relative; inset: auto; z-index: 0; width: 100%; height: 165px; }
  .cgp-page-north .cgp-imageplane { object-position: 75% 48%; clip-path: polygon(0 0, 100% 0, 100% 100%, 24% 100%, 24% 75%, 0 75%); }
  .cgp-page-north .cgp-newsprint { width: 64px; height: 40px; left: -2px; bottom: -5px; box-shadow: 3px 4px 0 var(--court-violet); }
  .cgp-page-north .cgp-photo figcaption { width: 245px; font-size: 16px; bottom: -26px; }
  .cgp-inner-court { margin-top: 68px; }
  .cgp-north-without-photo + .cgp-inner-court { margin-top: 14px; }
  .cgp-source-note { font-size: 17px; }
  .cgp-bottom { margin-top: 72px; padding-top: 25px; border-top-width: 10px; }
  .cgp-bottom-heading { font-size: 25px; }
  .cgp-stroll { grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 30px; }
  .cgp-missing { padding-top: 35px; }
  .cgp-missing h1 { font-size: 34px; }
  .cgp-missing .cgp-intro { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .cgp-lintel, .cgp-bottom, .cgp-photo, .cgp-open-ground, .cgp-skip { display: none; }
  .cgp-reading, .cgp-home .cgp-court { width: 100%; }
  .cgp-court, .cgp-south, .cgp-page-north, .cgp-arrival { display: block; }
  .cgp-arrival { min-height: 0; }
  .cgp-north-stone, .cgp-page-heading { width: 100%; padding: 0; clip-path: none; border: 0; }
  .cgp-west, .cgp-east, .cgp-south { margin: 24px 0 0; padding: 0; border: 0; box-shadow: none; position: static; }
  .cgp-south > div:first-child { margin: 0; padding: 0; }
  a { color: var(--court-ink); }
}
