:root {
  --ivo-ground: #F8F5D8;
  --ivo-ink: #242424;
  --ivo-accent: #ECD718;
  --ivo-support: #DEDDD3;
  --ivo-surface: #FFFFFF;
  --ivo-display: 'Federant', Georgia, serif;
  --ivo-reading: 'Recursive', 'Trebuchet MS', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ivo-ink); background: var(--ivo-ground); font-family: var(--ivo-reading); font-variation-settings: 'MONO' 0, 'CASL' 0, 'CRSV' 0; font-weight: 400; font-size: 18px; line-height: 1.75; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 3px; background-color: var(--ivo-accent); }
a:focus-visible { outline: 3px solid var(--ivo-ink); outline-offset: 5px; background-color: var(--ivo-accent); }
img { display: block; max-width: 100%; }
svg, [data-lucide] { display: inline-block; width: 22px; height: 22px; flex: 0 0 22px; stroke-width: 1.7; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--ivo-display); font-weight: 400; line-height: 1.1; overflow-wrap: break-word; }
h1 { font-size: clamp(44px, 4.4vw, 66px); letter-spacing: -.035em; margin: 0; }
h2 { font-size: clamp(32px, 3vw, 44px); letter-spacing: -.025em; margin: 0 0 28px; }
h3 { font-size: 26px; }
::selection { color: var(--ivo-ink); background: var(--ivo-accent); }
.ivo-skip { position: absolute; z-index: 5; top: -120px; left: 20px; padding: 12px 20px; background: var(--ivo-surface); }
.ivo-skip:focus { top: 12px; }

/* The brand sits on a landing; the three links descend beneath its left half. */
.ivo-masthead { width: min(1240px, calc(100% - 112px)); margin: 22px auto 26px; padding-left: 8%; }
.ivo-name-tread { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; border-bottom: 8px solid var(--ivo-accent); }
.ivo-brand { display: block; text-decoration: none; font-family: var(--ivo-display); font-size: clamp(32px, 3.35vw, 50px); line-height: 1.06; letter-spacing: -.025em; padding: 9px 0 14px; }
.ivo-brand:hover { background: transparent; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.ivo-outline-mark { width: 126px; height: 80px; object-fit: contain; margin-right: 16px; }
.ivo-risers { display: flex; align-items: flex-start; flex-direction: column; padding: 0; margin: 0; list-style: none; width: 45%; }
.ivo-riser { display: block; border-left: 6px solid var(--ivo-support); border-bottom: 6px solid var(--ivo-support); min-width: 168px; }
.ivo-riser:nth-child(2) { margin-left: 32px; }
.ivo-riser:nth-child(3) { margin-left: 82px; }
.ivo-riser a { display: flex; align-items: center; gap: 10px; padding: 5px 16px 5px 12px; font-size: 15px; line-height: 1.5; font-weight: 500; text-decoration: none; min-height: 40px; transition: background-color 150ms ease; }
.ivo-riser a:hover { background: var(--ivo-accent); }
.ivo-riser a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; }
.ivo-frame { max-width: 1240px; width: calc(100% - 112px); margin: 0 auto; }

/* A photograph fills the opening. An opaque gold stair edge holds every word. */
.ivo-opening { position: relative; display: flex; min-height: 610px; margin-bottom: 134px; isolation: isolate; }
.ivo-opening-photo { position: absolute; inset: 0; margin: 0; }
.ivo-photo-column { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.ivo-heading-tread { position: relative; z-index: 1; isolation: isolate; width: 58%; padding: 48px 136px 54px max(56px, calc((100vw - 1240px) / 2)); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.ivo-heading-tread::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--ivo-accent); clip-path: polygon(0 0, calc(100% - 96px) 0, calc(100% - 96px) 33%, calc(100% - 48px) 33%, calc(100% - 48px) 66%, 100% 66%, 100% 100%, 0 100%); }
.ivo-opening h1 { max-width: 12ch; }
.ivo-lead { font-size: 20px; line-height: 1.65; }
.ivo-opening .ivo-lead { max-width: 44ch; margin: 0; font-size: 18px; line-height: 1.65; }
.ivo-opening-photo figcaption { position: absolute; z-index: 2; right: max(56px, calc((100vw - 1240px) / 2)); bottom: -26px; width: min(340px, 30%); padding: 20px 24px; background: var(--ivo-ground); border-left: 12px solid var(--ivo-accent); box-shadow: 8px 8px 0 var(--ivo-support); font-size: 16px; line-height: 1.55; }

/* Three upright rooms descend on generous landings, rather than a card grid. */
.ivo-story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.ivo-room { position: relative; min-width: 0; padding: 46px 46px 49px 54px; background: var(--ivo-surface); border-left: 8px solid var(--ivo-support); box-shadow: 12px 12px 0 var(--ivo-support); }
.ivo-room::before { content: ''; position: absolute; top: -14px; left: -8px; height: 14px; width: 155px; background: var(--ivo-accent); }
.ivo-room::after { position: absolute; top: -31px; left: -45px; font-family: var(--ivo-display); font-size: 90px; line-height: 1; color: var(--ivo-ink); background: var(--ivo-ground); padding-right: 8px; }
.ivo-room--concern { grid-column: 1 / span 7; }
.ivo-room--concern::after { content: '01'; }
.ivo-room--context { grid-column: 3 / span 7; background: var(--ivo-accent); border-left-color: var(--ivo-ink); box-shadow: 12px 12px 0 var(--ivo-support), 20px 20px 0 var(--ivo-surface); }
.ivo-room--context::before { background: var(--ivo-ink); }
.ivo-room--context::after { content: '02'; }
.ivo-room--visit { grid-column: 6 / span 7; }
.ivo-room--visit::after { content: '03'; }
.ivo-room p { max-width: 62ch; }
.ivo-room-sign { display: flex; align-items: center; gap: 11px; margin: 0 0 28px 28px; font-size: 16px; font-weight: 500; }
.ivo-room-sign svg, .ivo-room-sign [data-lucide] { width: 25px; height: 25px; }
.ivo-landing { grid-column: 1 / -1; position: relative; padding: 69px 8% 75px; margin: 0 0 83px; border-bottom: 8px solid var(--ivo-support); }
.ivo-landing::before { content: ''; position: absolute; bottom: -8px; left: 0; width: 72px; height: 39px; border-left: 8px solid var(--ivo-support); border-bottom: 8px solid var(--ivo-support); }
.ivo-landing::after { content: ''; position: absolute; bottom: -8px; right: 0; width: 30%; border-bottom: 8px solid var(--ivo-accent); }
.ivo-landing p { max-width: 66ch; font-size: 22px; line-height: 1.7; }
.ivo-landing--second p { margin-left: auto; }
.ivo-base { grid-column: 1 / -1; margin-top: 95px; padding: 46px 0 0; border-top: 16px solid var(--ivo-accent); display: grid; grid-template-columns: 1fr 1.45fr; column-gap: 64px; }
.ivo-base h2 { max-width: 15ch; }
.ivo-base p { max-width: 68ch; padding-top: 4px; }

/* Inner pages keep the same offset rhythm, with a smaller photographic band. */
.ivo-inner-opening { display: grid; grid-template-columns: 1.4fr 1fr; gap: 27px 64px; padding-top: 40px; margin-bottom: 115px; }
.ivo-breadcrumb { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; font-size: 15px; }
.ivo-breadcrumb span[aria-hidden] { width: 28px; height: 6px; background: var(--ivo-accent); }
.ivo-inner-opening h1 { grid-column: 1; font-size: clamp(40px, 4.2vw, 60px); }
.ivo-inner-opening .ivo-lead { grid-column: 2; margin: 0; align-self: end; }
.ivo-inner-photo { position: relative; grid-column: 1 / -1; margin: 18px 0 0; }
.ivo-inner-photo img { width: 100%; height: 300px; object-fit: cover; border-radius: 12px; }
.ivo-inner-photo figcaption { position: absolute; right: 28px; bottom: -26px; max-width: 340px; padding: 17px 22px; color: var(--ivo-ink); background: var(--ivo-accent); border-left: 8px solid var(--ivo-ground); box-shadow: 7px 7px 0 var(--ivo-support); font-size: 16px; line-height: 1.55; }
.ivo-sitefoot { width: min(1240px, calc(100% - 112px)); margin: 112px auto 35px; border-top: 8px solid var(--ivo-support); padding: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 64px; }
.ivo-footnote { font-size: 16px; max-width: 50ch; }
.ivo-footlinks { display: flex; flex-wrap: wrap; align-content: start; gap: 10px 24px; font-size: 16px; }
.ivo-copyright { grid-column: 1 / -1; padding-top: 16px; font-size: 14px; }
.ivo-error { padding: 65px 0 100px; max-width: 780px; }
.ivo-error h1 { margin-bottom: 30px; }
.ivo-error p { max-width: 56ch; font-size: 19px; }

@media (min-width: 1500px) {
  .ivo-masthead { padding-left: 118px; }
  .ivo-heading-tread { width: calc(50% + 120px); }
}

@media (max-width: 1000px) {
  .ivo-masthead, .ivo-frame, .ivo-sitefoot { width: calc(100% - 64px); }
  .ivo-masthead { padding-left: 0; }
  .ivo-outline-mark { width: 80px; }
  .ivo-heading-tread { width: 64%; padding: 38px 100px 44px 32px; }
  .ivo-opening h1 { font-size: 48px; }
  .ivo-opening-photo figcaption { right: 32px; width: 30%; padding: 16px; }
  .ivo-inner-opening { column-gap: 36px; }
  .ivo-room { padding: 34px 30px 38px 38px; }
  .ivo-room::after { left: -20px; font-size: 72px; }
  .ivo-room--concern { grid-column: 1 / span 9; }
  .ivo-room--context { grid-column: 2 / span 10; }
  .ivo-room--visit { grid-column: 4 / span 9; }
  .ivo-base { column-gap: 36px; }
}

@media (max-width: 600px) {
  body { font-size: 17px; line-height: 1.75; }
  .ivo-masthead, .ivo-frame, .ivo-sitefoot { width: calc(100% - 40px); }
  .ivo-masthead { margin-top: 16px; margin-bottom: 26px; position: relative; padding-top: 45px; }
  .ivo-name-tread { min-height: 0; border-bottom-width: 6px; }
  .ivo-brand { font-size: 32px; line-height: 1.08; max-width: 100%; padding: 8px 0 12px; }
  .ivo-outline-mark { display: none; }
  .ivo-risers { width: 70%; }
  .ivo-riser { border-width: 6px; min-width: 150px; }
  .ivo-riser:first-child { position: absolute; right: 0; top: 0; border-left: 0; border-right: 6px solid var(--ivo-support); border-bottom: 6px solid var(--ivo-support); min-width: 147px; }
  .ivo-riser:nth-child(2) { margin-left: 0; }
  .ivo-riser:nth-child(3) { margin-left: 39px; }
  .ivo-riser a { font-size: 14px; padding: 4px 8px 4px 9px; min-height: 38px; gap: 8px; }
  .ivo-riser svg, .ivo-riser [data-lucide] { width: 18px; height: 18px; flex-basis: 18px; }
  .ivo-opening { display: flex; flex-direction: column; min-height: 0; margin-bottom: 88px; }
  .ivo-heading-tread { order: 0; width: calc(100% - 40px); margin: 0 auto; padding: 30px 28px 43px 22px; gap: 22px; }
  .ivo-heading-tread::before { clip-path: polygon(0 0, calc(100% - 20px) 0, calc(100% - 20px) calc(100% - 40px), 100% calc(100% - 40px), 100% 100%, 0 100%); }
  .ivo-opening h1 { font-size: 38px; max-width: 100%; letter-spacing: -.03em; }
  .ivo-opening .ivo-lead { font-size: 18px; line-height: 1.58; }
  .ivo-opening-photo { position: relative; inset: auto; order: 1; width: calc(100% - 40px); margin: 0 auto; }
  .ivo-photo-column { height: 180px; object-position: center 58%; clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 54px, 20px 54px); }
  .ivo-opening-photo figcaption { position: relative; right: auto; bottom: auto; width: 100%; margin: 0; padding: 16px 0 0 20px; border: 0; box-shadow: none; font-size: 15px; }
  .ivo-room { padding: 70px 24px 30px; border-left-width: 6px; box-shadow: 7px 7px 0 var(--ivo-support); }
  .ivo-room--concern { grid-column: 1 / 13; }
  .ivo-room--context { grid-column: 1 / 13; margin-left: 10px; }
  .ivo-room--visit { grid-column: 1 / 13; margin-left: 20px; }
  .ivo-room::before { left: -6px; width: 90px; height: 12px; top: -12px; }
  .ivo-room::after { left: 18px; top: 8px; font-size: 62px; background: transparent; padding: 0; }
  .ivo-room-sign { position: relative; justify-content: flex-end; margin: -43px 0 40px 68px; font-size: 14px; gap: 7px; }
  .ivo-room-sign svg, .ivo-room-sign [data-lucide] { width: 20px; height: 20px; flex-basis: 20px; }
  .ivo-room h2 { font-size: 32px; }
  .ivo-landing { padding: 36px 8px 46px; margin-bottom: 55px; border-bottom-width: 6px; }
  .ivo-landing::before { bottom: -6px; height: 26px; width: 40px; border-width: 6px; }
  .ivo-landing::after { bottom: -6px; border-bottom-width: 6px; width: 36%; }
  .ivo-landing p { font-size: 18px; line-height: 1.75; }
  .ivo-base { margin-top: 58px; padding-top: 31px; display: block; border-top-width: 12px; }
  .ivo-base h2 { max-width: 100%; font-size: 34px; }
  .ivo-inner-opening { display: flex; flex-direction: column; gap: 23px; padding-top: 22px; margin-bottom: 72px; }
  .ivo-breadcrumb { font-size: 14px; gap: 10px; }
  .ivo-inner-opening h1 { font-size: 40px; }
  .ivo-inner-opening .ivo-lead { font-size: 18px; }
  .ivo-inner-photo { margin: 5px 0 0; }
  .ivo-inner-photo img { height: 180px; }
  .ivo-inner-photo figcaption { position: relative; right: auto; bottom: auto; margin: -10px 12px 0; max-width: 100%; padding: 13px 15px; font-size: 15px; box-shadow: 5px 5px 0 var(--ivo-support); }
  .ivo-sitefoot { margin-top: 76px; display: block; }
  .ivo-footnote { margin-bottom: 24px; }
  .ivo-footlinks { font-size: 16px; gap: 14px 23px; }
  .ivo-copyright { margin-top: 24px; }
  .ivo-error { padding: 40px 0; }
  .ivo-error h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ivo-riser a { transition: none; }
}

@media print {
  body { background: white; font-size: 12pt; }
  .ivo-risers, .ivo-opening-photo, .ivo-inner-photo, .ivo-footlinks, .ivo-skip { display: none; }
  .ivo-masthead, .ivo-frame, .ivo-sitefoot { width: 100%; }
  .ivo-opening, .ivo-heading-tread, .ivo-inner-opening, .ivo-story, .ivo-base { display: block; width: 100%; min-height: 0; }
  .ivo-heading-tread, .ivo-room, .ivo-landing, .ivo-base { padding: 20px 0; margin: 0; break-inside: avoid; box-shadow: none; }
  .ivo-heading-tread::before, .ivo-room::before, .ivo-room::after, .ivo-landing::before, .ivo-landing::after { display: none; }
  .ivo-room { border: 0; background: white; }
  .ivo-room-sign { position: static; justify-content: flex-start; margin: 0 0 15px; }
  .ivo-brand { font-size: 28pt; }
  h1, .ivo-opening h1, .ivo-inner-opening h1 { font-size: 30pt; }
}
