:root {
  --meadow: #F7FAED;
  --writing: #282233;
  --iris: #51308C;
  --mauve: #E1C6D8;
  --white: #FFFFFF;
  --page-width: 1280px;
  --edge: max(40px, calc((100vw - var(--page-width)) / 2));
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: var(--meadow); color: var(--writing); font-family: 'Yrsa', Georgia, serif; font-size: 23px; line-height: 1.43; }
a { color: var(--iris); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--writing); }
a:focus-visible { outline: 3px solid var(--iris); outline-offset: 5px; background-color: var(--meadow); }
::selection { color: var(--white); background: var(--iris); }
img { display: block; max-width: 100%; }
p, ul, ol { margin: 0 0 1em; }
p:last-child, ul:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: 'Delius', 'Trebuchet MS', sans-serif; font-weight: 400; }
h1 { margin: 0; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.16; }
h2 { margin: 0 0 22px; font-size: 32px; line-height: 1.2; }
h3 { margin: 0; font-size: 27px; line-height: 1.2; }
i[data-lucide], .lucide { display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; stroke-width: 1.65; vertical-align: middle; }
.per-skip { position: absolute; left: 24px; top: -100px; padding: 8px 18px; background: var(--white); z-index: 20; }
.per-skip:focus { top: 12px; }
/* The three contents strips hang above the entire wordmark, never carry it. */
.per-mast { padding: 0 24px 20px; text-align: center; background: var(--meadow); }
.per-strips { display: flex; justify-content: center; align-items: flex-start; gap: 16px; height: 112px; }
.per-strip { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7px; width: 61px; height: 96px; padding: 8px 5px 10px; background: var(--iris); font-family: 'Delius', 'Trebuchet MS', sans-serif; font-size: 15px; color: var(--white); text-decoration: none; transition: background-color 150ms ease; }
.per-strip:nth-child(2) { height: 108px; color: var(--writing); background: var(--white); }
.per-strip::before, .per-strip::after { content: ''; position: absolute; top: 2px; bottom: 2px; width: 6px; background: radial-gradient(circle, var(--meadow) 2px, transparent 2.5px) center top / 6px 9px repeat-y; }
.per-strip::before { left: -3px; }
.per-strip::after { right: -3px; }
.per-strip:hover, .per-strip:focus-visible { background: var(--writing); color: var(--white); text-decoration: none; }
.per-wordmark { display: inline-flex; align-items: baseline; gap: 12px; font-family: 'Delius', 'Trebuchet MS', sans-serif; font-size: 35px; line-height: 1.3; color: var(--writing); text-decoration: none; }
.per-wordmark:hover { text-decoration: none; color: var(--iris); }
.per-wordmark span:last-child { color: var(--iris); }
/* One real photograph fills the opening; the reader's canvas cuts into it. */
.per-opening { position: relative; isolation: isolate; min-height: 530px; padding: 30px var(--edge) 42px; background: var(--meadow) url('/emporium-rooms-21151ff819db/canopy-reading.webp') center 48% / cover; }
.per-canopy { position: relative; width: min(820px, 68%); padding: 26px 53px 30px 34px; border-top: 8px solid var(--iris); background: var(--meadow); clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 38px, calc(100% - 18px) 100%, 0 100%); }
.per-canopy::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 7px; background: var(--iris); }
.per-invitation { margin-bottom: 18px; }
.per-invitation h1 { font-size: clamp(32px, 2.65vw, 38px); line-height: 1.14; }
.per-opening-copy { display: block; }
.per-welcome { max-width: 740px; font-size: 23px; line-height: 1.25; margin: 0 0 19px; }
.per-promise { font-size: 18px; line-height: 1.31; color: var(--writing); }
.per-promise p { margin-bottom: 8px; }
.per-promise strong { font-weight: 700; }
.per-promise ul { padding-left: 22px; list-style: disc outside; }
.per-promise li { padding-left: 3px; margin-bottom: 8px; }
.per-promise li:last-child { margin-bottom: 0; }
.per-promise li::marker { color: var(--writing); font-size: 1.08em; }
/* Unequal crops project over the lower edge, with a cord only in the gutter. */
.per-frieze { position: absolute; right: var(--edge); bottom: -20px; z-index: 2; display: grid; grid-template-columns: 6fr 24px 2.5fr 24px 1.2fr; width: 440px; height: 124px; align-items: end; overflow: hidden; background: var(--meadow); box-shadow: 12px 12px 0 var(--iris); }
.per-crop { height: 110px; overflow: hidden; background: var(--meadow); }
.per-crop img { width: 100%; height: 100%; object-fit: cover; }
.per-overview img { object-position: 29% 56%; }
.per-detail { height: 76px; align-self: start; }
.per-detail img { object-position: 62% 80%; transform: scale(1.6); }
.per-tall { height: 124px; }
.per-tall img { object-position: 91% 52%; transform: scale(1.22); }
.per-gutter { position: relative; height: 100%; background: var(--meadow); }
.per-cord::before { content: ''; position: absolute; top: 0; left: calc(50% - 1px); width: 2px; height: 32px; background: var(--iris); }
/* Six occupied rooms, with a broad filled orientation running through them. */
.per-roomplan { max-width: var(--page-width); margin: 0 auto; padding: 66px 0 84px; }
.per-plan-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-bottom: 34px; }
.per-plan-heading h2 { max-width: 720px; margin: 0; font-size: 37px; }
.per-plan-heading p { max-width: 250px; font-size: 20px; margin: 0 0 4px; color: var(--iris); }
.per-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; row-gap: 0; }
.per-room { position: relative; min-width: 0; padding: 0 27px 30px; background: var(--white); }
.per-room::after { content: ''; position: absolute; right: 0; bottom: 0; height: 38px; width: 35px; border-right: 7px solid var(--iris); border-bottom: 7px solid var(--iris); pointer-events: none; }
.per-room-02, .per-room-05 { transform: translateY(22px); }
.per-door { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 -27px 16px; color: var(--iris); font-family: 'Delius', 'Trebuchet MS', sans-serif; font-size: 17px; line-height: 1.4; }
.per-door > span { display: inline-flex; align-items: center; gap: 8px; }
.per-door .lucide, .per-door [data-lucide] { width: 18px; height: 18px; }
.per-door::before, .per-door::after { content: ''; display: block; height: 8px; flex: 1; background: var(--iris); }
.per-room-title { position: relative; min-height: 72px; display: flex; align-items: center; padding-right: 56px; margin-bottom: 8px; }
.per-room-number { position: absolute; top: -3px; right: -17px; font-family: 'Yrsa', Georgia, serif; font-size: 88px; line-height: 1; color: var(--iris); }
.per-room h3 { font-size: 26px; }
.per-room p { font-size: 22px; line-height: 1.4; }
.per-room-link { display: inline; font-family: 'Delius', 'Trebuchet MS', sans-serif; font-size: 16px; line-height: 1.6; text-decoration-thickness: 2px; }
.per-room-link:hover { color: var(--writing); background: var(--meadow); }
.per-centre { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: 0.8fr 1.7fr; align-items: center; gap: 42px; margin: 66px -20px 48px; padding: 34px 42px; background: var(--iris); color: var(--white); box-shadow: 12px 12px 0 var(--white), 20px 20px 0 var(--writing); }
.per-centre h3 { font-size: 30px; }
.per-centre p { font-size: 26px; line-height: 1.3; }
.per-centre::before { content: ''; position: absolute; top: -16px; left: 36px; width: 86px; height: 8px; background: var(--iris); }
.per-foot { max-width: var(--page-width); margin: 0 auto; padding: 30px 0; border-top: 8px solid var(--iris); }
.per-foot-navigation { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 22px; font-family: 'Delius', 'Trebuchet MS', sans-serif; font-size: 16px; }
.per-foot p { max-width: 750px; font-size: 20px; line-height: 1.4; }
.per-foot small { font-size: 16px; }
/* Photo headers share a cut edge; the compact plan stays beside the essay. */
.per-breadcrumb { max-width: var(--page-width); margin: 10px auto 26px; font-size: 17px; }
.per-breadcrumb a { margin-right: 10px; }
.per-essay-front { position: relative; isolation: isolate; padding: 18px var(--edge) 38px; }
.per-essay-title { max-width: 1050px; }
.per-essay-front h1 { max-width: 1000px; }
.per-lead { max-width: 750px; font-size: 26px; line-height: 1.32; margin: 20px 0 0; }
.per-illustrated { min-height: 300px; padding: 0; }
.per-illustrated .per-essay-title { position: relative; z-index: 1; width: 62%; max-width: 1050px; min-height: 300px; padding: 28px 70px 34px var(--edge); background: var(--meadow); border-top: 8px solid var(--iris); clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, calc(100% - 26px) 100%, 0 100%); }
.per-illustrated h1 { font-size: clamp(32px, 3vw, 43px); }
.per-illustrated .per-lead { font-size: 24px; }
.per-band { position: absolute; inset: 0; overflow: hidden; background: var(--meadow); }
.per-band img { width: 100%; height: 100%; object-fit: cover; object-position: right 48%; }
.per-reading-layout { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 110px; max-width: var(--page-width); margin: 52px auto 80px; align-items: start; }
.per-pocketplan { position: sticky; top: 24px; padding: 22px 18px 20px; border-top: 8px solid var(--iris); background: var(--white); box-shadow: -12px 12px 0 var(--mauve); }
.per-pocketplan > h2 { font-size: 22px; margin-bottom: 24px; }
.per-pocketrooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.per-pocket { min-width: 0; }
.per-pocket .per-door { margin: 0 0 9px; gap: 7px; font-size: 14px; }
.per-pocket .per-door::before, .per-pocket .per-door::after { height: 4px; min-width: 7px; }
.per-pocket .per-door > span { gap: 5px; }
.per-pocket .per-door .lucide, .per-pocket .per-door [data-lucide] { width: 14px; height: 14px; }
.per-pocket h3 { font-size: 17px; line-height: 1.3; }
.per-pocket p { margin: 7px 0 0; font-size: 17px; line-height: 1.25; }
.per-pocket-number { display: inline-block; color: var(--iris); margin-right: 4px; }
.per-essay { min-width: 0; padding-right: 60px; }
.per-essay-section { margin-bottom: 44px; }
.per-essay-section h2 { position: relative; font-size: 31px; }
.per-essay-section h2::before { content: ''; position: absolute; width: 42px; height: 7px; background: var(--iris); top: 16px; left: -66px; }
.per-essay-section:first-child > p:first-of-type::first-letter { float: left; padding: 5px 9px 0 0; font-size: 76px; line-height: 0.76; color: var(--iris); }
.per-essay p { overflow-wrap: anywhere; }
.per-essay p a { overflow-wrap: normal; }
.per-essay table { width: 100%; border-collapse: collapse; font-size: 19px; margin: 24px 0; line-height: 1.3; }
.per-essay th, .per-essay td { text-align: left; vertical-align: top; padding: 13px 10px; border-bottom: 3px solid var(--mauve); }
.per-essay th { color: var(--white); background: var(--iris); font-weight: 600; }
.per-reference-list { padding: 0; margin: 0; list-style: none; }
.per-reference-list li { padding: 22px 0; border-bottom: 3px solid var(--mauve); }
.per-reference-list h3 { font-family: 'Yrsa', Georgia, serif; font-size: 25px; line-height: 1.3; margin-bottom: 8px; }
.per-reference-list p { font-size: 21px; line-height: 1.4; }
.per-lost { max-width: 860px; margin: 70px auto 100px; }
.per-lost p { margin-top: 22px; }
@media (max-width: 1380px) {
  .per-roomplan, .per-foot, .per-breadcrumb, .per-reading-layout { margin-left: 40px; margin-right: 40px; }
  .per-reading-layout { gap: 80px; grid-template-columns: 310px minmax(0, 1fr); }
  .per-essay { padding-right: 0; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .per-opening { padding: 28px 32px 150px; background-position: 70% center; }
  .per-canopy { width: 78%; padding-right: 45px; }
  .per-invitation h1 { font-size: 34px; }
  .per-frieze { right: 40px; bottom: -18px; width: 400px; }
  .per-plan-heading h2 { font-size: 30px; }
  .per-rooms { gap: 0 22px; }
  .per-room { padding-left: 18px; padding-right: 18px; }
  .per-room .per-door { margin-left: -18px; margin-right: -18px; gap: 9px; }
  .per-room-title { padding-right: 35px; }
  .per-room-number { font-size: 65px; right: -8px; }
  .per-room h3 { font-size: 22px; }
  .per-room p { font-size: 20px; }
  .per-centre { gap: 25px; padding: 30px; margin-left: -8px; margin-right: -8px; }
  .per-centre h3 { font-size: 25px; }
  .per-centre p { font-size: 23px; }
  .per-illustrated .per-essay-title { width: 72%; padding-right: 50px; }
  .per-reading-layout { grid-template-columns: 1fr; gap: 48px; }
  .per-pocketplan { position: static; }
  .per-pocketrooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .per-essay { max-width: 750px; margin-left: 40px; }
  .per-essay-section h2::before { left: -40px; width: 22px; }
}
@media (max-width: 600px) {
  :root { --edge: 20px; }
  body { font-size: 21px; line-height: 1.43; }
  .per-mast { height: 83px; padding: 0 20px 5px; }
  .per-strips { height: 34px; gap: 13px; }
  .per-strip, .per-strip:nth-child(2) { height: 30px; width: 83px; padding: 3px 5px; justify-content: center; flex-direction: row; gap: 5px; font-size: 12px; }
  .per-strip [data-lucide], .per-strip .lucide { width: 14px; height: 14px; }
  .per-strip::before, .per-strip::after { background-size: 6px 7px; }
  .per-wordmark { flex-direction: column; align-items: center; gap: 0; font-size: 21px; line-height: 22px; }
  .per-wordmark span:last-child { font-size: 18px; }
  .per-opening { display: flex; flex-direction: column; min-height: 0; padding: 0 0 16px; background-position: center bottom; }
  .per-canopy { width: 100%; padding: 19px 20px 22px; border-top-width: 5px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 28px) 100%, 0 100%); }
  .per-canopy::before { width: 4px; }
  .per-invitation { margin-bottom: 15px; }
  .per-invitation h1 { font-size: 26px; line-height: 1.14; max-width: 370px; }
  .per-welcome { font-size: 20px; line-height: 1.24; margin-bottom: 17px; }
  .per-promise { font-size: 17px; line-height: 1.25; }
  .per-promise p { margin-bottom: 9px; }
  .per-promise ul { padding-left: 20px; }
  .per-promise li { padding-left: 2px; margin-bottom: 10px; }
  .per-frieze { position: relative; inset: auto; width: 100%; height: 80px; grid-template-columns: 6fr 20px 2.5fr 20px 1.2fr; margin: 0; padding: 0 20px; box-shadow: none; }
  .per-crop { height: 72px; }
  .per-detail { height: 45px; }
  .per-tall { height: 80px; }
  .per-cord::before { height: 19px; }
  .per-roomplan { margin: 0 20px; padding: 32px 0 44px; }
  .per-plan-heading { display: block; padding-bottom: 26px; }
  .per-plan-heading h2 { font-size: 27px; margin-bottom: 10px; }
  .per-plan-heading p { font-size: 18px; max-width: none; }
  .per-rooms { display: flex; flex-direction: column; gap: 32px; }
  .per-room { padding: 0 22px 28px; }
  .per-room-02, .per-room-05 { transform: none; }
  .per-room .per-door { margin: 0 -22px 15px; }
  .per-room-title { min-height: 62px; padding-right: 56px; }
  .per-room h3 { font-size: 26px; }
  .per-room p { font-size: 21px; }
  .per-room-number { right: -7px; font-size: 78px; }
  .per-room-link { font-size: 16px; }
  .per-centre { display: block; margin: 3px 10px 9px 0; padding: 26px 24px; box-shadow: 6px 6px 0 var(--white), 10px 10px 0 var(--writing); }
  .per-centre h3 { font-size: 25px; margin-bottom: 17px; }
  .per-centre p { font-size: 22px; }
  .per-foot { margin: 0 20px; padding-top: 24px; }
  .per-foot-navigation { gap: 12px 22px; }
  .per-foot p { font-size: 18px; }
  .per-breadcrumb { margin: 14px 20px 20px; font-size: 16px; }
  .per-essay-front { padding: 0 20px 28px; }
  .per-essay-front h1, .per-illustrated h1 { font-size: 30px; line-height: 1.19; }
  .per-lead, .per-illustrated .per-lead { font-size: 23px; line-height: 1.3; margin: 19px 0 0; }
  .per-illustrated { display: flex; flex-direction: column; padding: 0; min-height: 0; }
  .per-illustrated .per-essay-title { width: 100%; max-width: none; min-height: 0; padding: 22px 20px 26px; border-top-width: 5px; clip-path: none; }
  .per-band { position: static; height: 140px; margin: 0; }
  .per-band img { object-position: center 48%; }
  .per-reading-layout { display: block; margin: 28px 20px 50px; }
  .per-pocketplan { position: static; margin: 0 0 43px 6px; padding: 20px 14px; box-shadow: -6px 6px 0 var(--mauve); }
  .per-pocketplan > h2 { font-size: 21px; margin-bottom: 23px; }
  .per-pocketrooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 20px; }
  .per-pocket .per-door { font-size: 12px; gap: 5px; }
  .per-pocket .per-door > span { gap: 4px; }
  .per-pocket .per-door .lucide, .per-pocket .per-door [data-lucide] { width: 12px; height: 12px; }
  .per-pocket h3 { font-size: 16px; }
  .per-pocket p { font-size: 16px; line-height: 1.25; }
  .per-essay { margin: 0; padding: 0; }
  .per-essay-section { margin-bottom: 34px; }
  .per-essay-section h2 { font-size: 26px; padding-top: 17px; margin-bottom: 18px; }
  .per-essay-section h2::before { left: 0; top: 0; height: 5px; width: 42px; }
  .per-essay-section:first-child > p:first-of-type::first-letter { font-size: 65px; }
  .per-essay table { font-size: 16px; }
  .per-essay th, .per-essay td { padding: 10px 6px; overflow-wrap: anywhere; }
  .per-reference-list h3 { font-size: 23px; }
  .per-reference-list p { font-size: 19px; }
  .per-lost { margin: 45px 20px 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  body { background: white; color: black; font-size: 13pt; }
  .per-strips, .per-skip, .per-pocketplan, .per-frieze, .per-band { display: none; }
  .per-mast { height: auto; }
  .per-wordmark { font-size: 20pt; }
  .per-opening { background: white; min-height: 0; padding: 20px; }
  .per-canopy, .per-illustrated .per-essay-title { width: 100%; clip-path: none; border: 0; }
  .per-reading-layout, .per-rooms { display: block; }
  .per-room, .per-centre { transform: none; margin-bottom: 25px; break-inside: avoid; }
  .per-centre { color: black; background: white; box-shadow: none; }
}
