:root {
  --ig-ground: #D9E5FD;
  --ig-ink: #2D271F;
  --ig-green: #2B973D;
  --ig-stone: #E8DED8;
  --ig-white: #FFFFFF;
  --ig-measure: 1280px;
  color-scheme: light;
  font-family: 'Allerta', 'Trebuchet MS', sans-serif;
  color: var(--ig-ink);
  background: var(--ig-white);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; font-size: 17px; line-height: 1.7; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: background-color .18s, text-decoration-thickness .18s; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--ig-ink); outline-offset: 6px; }
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: 'Francois One', 'Arial Narrow', sans-serif; font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 4.4vw, 64px); line-height: 1.03; }
h2 { font-size: clamp(31px, 3vw, 43px); line-height: 1.13; }
h3 { font-size: 24px; line-height: 1.23; }
::selection { color: var(--ig-white); background: var(--ig-ink); }
.ig-icon, [data-lucide], .lucide { width: 22px; height: 22px; flex: 0 0 22px; }

.ig-skipway { position: absolute; z-index: 10; top: 8px; left: 24px; padding: 8px 12px; background: var(--ig-white); clip-path: inset(100%); }
.ig-skipway:focus { clip-path: none; }
.ig-valley { position: relative; height: 156px; margin: 0; background: var(--ig-ground); }
.ig-nameplate { display: block; width: max-content; margin: 0 auto; padding-top: 9px; text-align: center; text-decoration: none; }
.ig-monogram { display: block; font-family: 'Francois One', 'Arial Narrow', sans-serif; font-size: 68px; line-height: .93; letter-spacing: -4px; padding-right: 4px; }
.ig-fullname { display: block; font-size: 16px; line-height: 24px; margin-top: 3px; }
.ig-valley-links { position: absolute; left: max(7%, calc((100% - 1160px) / 2)); right: max(7%, calc((100% - 1160px) / 2)); bottom: 7px; height: 56px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; }
.ig-valley-links::before { content: ''; position: absolute; inset: 14px 0 0; background: var(--ig-ink); clip-path: polygon(0 0, 52% 32px, 100% 9px, 100% 12px, 52% 35px, 0 3px); }
.ig-valley-links a { position: relative; display: flex; align-items: center; gap: 9px; font-family: 'Francois One', 'Arial Narrow', sans-serif; font-size: 18px; line-height: 25px; width: max-content; text-decoration: none; background: var(--ig-ground); padding: 0 12px 4px; }
.ig-valley-links a:nth-child(2) { justify-self: center; margin-top: 29px; }
.ig-valley-links a:last-child { justify-self: end; margin-top: 9px; }
.ig-valley-links a:hover, .ig-valley-links a[aria-current=page] { text-decoration: underline; text-decoration-thickness: 3px; background: var(--ig-white); }

/* Two landings cut into one full-width coastal photograph. */
.ig-homeopening { position: relative; isolation: isolate; display: grid; grid-template-columns: 38% 24% 30%; gap: 4%; align-items: start; min-height: 588px; padding: 44px max(40px, calc((100% - 1280px) / 2)) 100px; margin: 0 0 104px; }
.ig-openingwords { position: relative; z-index: 1; margin-left: calc(-1 * max(40px, (100vw - 1280px) / 2)); padding: 32px 32px 44px max(40px, calc((100vw - 1280px) / 2)); background: var(--ig-ground); border-top: 8px solid var(--ig-green); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 40px) calc(100% - 34px), calc(100% - 40px) 100%, 0 100%); }
.ig-openingwords h1 { max-width: 445px; }
.ig-lead { font-size: 18px; line-height: 1.55; margin: 24px 0 0; max-width: 510px; }
.ig-portrait { grid-column: 2; grid-row: 1; margin: 0; width: 100%; height: 410px; }
.ig-portrait-scene { position: absolute; z-index: -1; inset: 0; background-image: url('/ig-basalt-b2df8d9e8a65/sea-ascent.webp'); background-size: cover; background-position: 50% 49%; background-color: var(--ig-stone); border-radius: 18px 0 0 0; }
.ig-stone-pop { position: absolute; width: 264px; height: 88px; left: calc(50% - 132px); bottom: -24px; object-fit: cover; border: 8px solid var(--ig-stone); box-shadow: 12px 12px 0 var(--ig-ground); }
.ig-reading-note { position: relative; z-index: 1; grid-column: 3; grid-row: 1; margin: 72px 0 42px 12px; padding: 26px 26px 30px; background: var(--ig-stone); color: var(--ig-ink); cursor: auto; }
.ig-reading-note::before { content: ''; position: absolute; top: -16px; right: 0; width: 70%; height: 16px; background: var(--ig-stone); }
.ig-reading-note::after { content: ''; position: absolute; width: 125px; height: 22px; left: -12px; bottom: -36px; background: var(--ig-ink); clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%); }
.ig-reading-note p { font-size: 16px; line-height: 23px; overflow-wrap: normal; }

/* Broad upper storeys, open lower rooms, conversation notes off the floor. */
.ig-houses { max-width: 1200px; margin: 0 auto; counter-reset: ig-house; }
.ig-answer-house { position: relative; counter-increment: ig-house; }
.ig-upper-storey { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 8%; padding: 42px 48px 82px 150px; background: var(--ig-ground); align-items: start; }
.ig-upper-storey::before { content: counter(ig-house, decimal-leading-zero); position: absolute; top: 20px; left: 25px; font-family: 'Francois One', 'Arial Narrow', sans-serif; font-size: 88px; line-height: 1; color: var(--ig-ink); }
.ig-upper-storey::after { content: ''; position: absolute; bottom: 0; left: 0; width: 88px; height: 24px; background: var(--ig-white); }
.ig-owner-position { font-size: 20px; line-height: 1.6; max-width: 540px; }
.ig-lower-storey { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 8%; padding: 34px 28px 18px 48px; align-items: start; }
.ig-long-room { max-width: 670px; }
.ig-long-room a:hover, .ig-source-register a:hover { background: var(--ig-ground); }
.ig-bring-room { position: sticky; top: 28px; margin-top: -66px; padding: 26px 26px 30px; border-top: 9px solid var(--ig-green); background: var(--ig-stone); box-shadow: 12px 12px 0 var(--ig-ground); }
.ig-bring-room h3 { display: flex; gap: 11px; align-items: start; margin-bottom: 18px; }
.ig-bring-room h3 svg { margin-top: 3px; }
.ig-bring-room p { font-size: 16px; line-height: 1.65; }
.ig-between-mark { width: 118px; height: 41px; margin: 56px auto; position: relative; }
.ig-between-mark::before { content: ''; position: absolute; top: 0; left: 19px; width: 80px; height: 13px; background: var(--ig-ink); }
.ig-between-mark::after { content: ''; position: absolute; top: 25px; left: 0; width: 118px; height: 16px; background: var(--ig-green); }
.ig-answer-house:nth-of-type(even) { margin-left: 32px; margin-right: -32px; }
.ig-answer-house:nth-of-type(even) .ig-upper-storey { background: var(--ig-stone); }
.ig-answer-house:nth-of-type(even) .ig-bring-room { background: var(--ig-ground); box-shadow: 12px 12px 0 var(--ig-stone); }

.ig-guideopening { display: grid; grid-template-columns: 62% 38%; max-width: var(--ig-measure); margin: 28px auto 72px; }
.ig-breadcrumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; font-size: 16px; margin-bottom: 24px; }
.ig-guidewords { position: relative; z-index: 1; grid-column: 1; grid-row: 2; align-self: center; margin: 28px 0; padding: 32px 48px 48px 32px; background: var(--ig-ground); border-left: 8px solid var(--ig-green); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 40px) calc(100% - 28px), calc(100% - 40px) 100%, 0 100%); }
.ig-guidewords h1 { font-size: clamp(40px, 3.8vw, 56px); }
.ig-guidewords .ig-lead { max-width: 640px; }
.ig-photo-band { grid-column: 1 / -1; grid-row: 2; min-height: 340px; height: 100%; width: 100%; background-size: cover; background-position: center; background-color: var(--ig-stone); }
.ig-band-wide-steps { background-image: url('/ig-basalt-b2df8d9e8a65/wide-steps.webp'); }
.ig-band-stone-length { background-image: url('/ig-basalt-b2df8d9e8a65/stone-length.webp'); }
.ig-band-morning-landing { background-image: url('/ig-basalt-b2df8d9e8a65/morning-landing.webp'); background-position: 60% center; }
.ig-band-seaward-pause { background-image: url('/ig-basalt-b2df8d9e8a65/seaward-pause.webp'); }
.ig-bare-opening { grid-template-columns: minmax(0, 1fr); }
.ig-bare-opening .ig-guidewords { max-width: 1060px; width: 100%; margin: 0; }

.ig-source-register { margin-top: 64px; padding: 38px 48px; background: var(--ig-ground); border-top: 9px solid var(--ig-green); }
.ig-source-register h2 { margin-bottom: 30px; }
.ig-source-register ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; row-gap: 28px; }
.ig-source-register li { font-size: 16px; }
.ig-source-register small { display: block; font-size: 16px; line-height: 1.55; margin-top: 10px; }
.ig-quick-questions { padding: 38px 48px; margin: 50px 0 0 48px; background: var(--ig-stone); box-shadow: -16px 16px 0 var(--ig-ground); }
.ig-quick-questions h2 { margin-bottom: 24px; }
.ig-quick-questions h3 { margin: 22px 0 12px; }
.ig-next-reading { display: flex; flex-wrap: wrap; gap: 24px; padding: 64px 0 12px; }
.ig-next-reading a { flex: 1 1 240px; font-family: 'Francois One', 'Arial Narrow', sans-serif; font-size: 24px; line-height: 1.3; display: flex; align-items: center; gap: 14px; padding: 24px; background: var(--ig-ground); border-bottom: 5px solid var(--ig-green); text-decoration: none; }
.ig-next-reading a:hover { background: var(--ig-stone); text-decoration: underline; text-decoration-thickness: 2px; }
.ig-colophon { max-width: var(--ig-measure); margin: 70px auto 0; padding: 36px 0 28px; border-top: 12px solid var(--ig-ink); }
.ig-footlinks { display: flex; flex-wrap: wrap; gap: 14px 32px; font-size: 16px; margin-bottom: 28px; }
.ig-colophon p { font-size: 16px; line-height: 1.6; max-width: 760px; }
.ig-copyright { margin-top: 18px; }
.ig-missing-room { max-width: 850px; margin: 70px auto 120px; }
.ig-missing-room p { font-size: 20px; margin-top: 28px; }

@media (max-width: 1380px) {
  .ig-houses { margin-left: 48px; margin-right: 64px; }
  .ig-guideopening, .ig-colophon { margin-left: 40px; margin-right: 40px; }
  .ig-answer-house:nth-of-type(even) { margin-left: 16px; margin-right: -16px; }
  .ig-openingwords { padding-right: 26px; }
  .ig-reading-note { padding: 22px 20px 26px; }
}

@media (max-width: 980px) and (min-width: 601px) {
  .ig-homeopening { grid-template-columns: 52% 40%; gap: 8%; padding: 36px 32px 80px; min-height: 560px; }
  .ig-openingwords { margin-left: -32px; padding-left: 32px; }
  .ig-openingwords h1 { font-size: 46px; }
  .ig-reading-note { grid-column: 2; margin: 80px 0 40px; }
  .ig-portrait { position: absolute; inset: 0; width: 100%; height: 100%; }
  .ig-stone-pop { width: 210px; height: 70px; left: calc(52% - 105px); }
  .ig-houses { margin-left: 32px; margin-right: 48px; }
  .ig-upper-storey { padding: 32px 28px 76px 102px; gap: 6%; }
  .ig-upper-storey::before { left: 18px; font-size: 65px; }
  .ig-owner-position { font-size: 18px; }
  .ig-lower-storey { grid-template-columns: 1.5fr 1fr; gap: 6%; padding-left: 28px; padding-right: 12px; }
  .ig-bring-room { padding: 20px; }
  .ig-guideopening { grid-template-columns: 70% 30%; }
  .ig-guidewords { padding-left: 24px; padding-right: 28px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; line-height: 1.7; }
  h1 { font-size: 34px; line-height: 1.08; }
  h2 { font-size: 30px; line-height: 1.16; }
  h3 { font-size: 23px; }
  .ig-valley { height: 84px; }
  .ig-nameplate { padding-top: 3px; }
  .ig-monogram { font-size: 31px; line-height: 30px; letter-spacing: -1px; padding-right: 1px; }
  .ig-fullname { font-size: 12px; line-height: 16px; margin-top: 0; }
  .ig-valley-links { left: 16px; right: 16px; bottom: 0; height: 31px; }
  .ig-valley-links::before { inset: 14px 0 0; clip-path: polygon(0 0, 52% 10px, 100% 3px, 100% 5px, 52% 12px, 0 2px); }
  .ig-valley-links a { font-size: 14px; line-height: 19px; padding: 0 4px 2px; gap: 5px; }
  .ig-valley-links a .ig-icon, .ig-valley-links a .lucide { width: 15px; height: 15px; flex-basis: 15px; }
  .ig-valley-links a:nth-child(2) { margin-top: 10px; }
  .ig-valley-links a:last-child { margin-top: 3px; }
  .ig-homeopening { display: flex; flex-direction: column; gap: 0; min-height: 0; padding: 0 24px 30px; margin: 0 0 24px; background: var(--ig-ground); }
  .ig-openingwords { order: 0; width: calc(100% + 0px); margin: 0; padding: 20px 0 0; border: 0; clip-path: none; }
  .ig-openingwords h1 { max-width: 338px; }
  .ig-lead { font-size: 16px; line-height: 23px; margin-top: 12px; }
  .ig-reading-note { order: 1; margin: 18px 0 38px 12px; padding: 14px 14px 16px; width: calc(100% - 12px); }
  .ig-reading-note::before { top: -8px; height: 8px; width: 30%; }
  .ig-reading-note p { font-size: 16px; line-height: 21px; }
  .ig-reading-note::after { width: 104px; height: 18px; bottom: -28px; left: -12px; }
  .ig-portrait { position: relative; order: 2; width: 310px; max-width: 100%; height: 100px; margin: 0 auto; }
  .ig-portrait-scene { position: absolute; z-index: 0; background-position: 50% 46%; border-radius: 18px 0 0 0; }
  .ig-stone-pop { display: none; }
  .ig-houses { margin: 0 16px; }
  .ig-upper-storey { display: block; padding: 28px 24px 48px; border-top: 6px solid var(--ig-green); }
  .ig-upper-storey::before { position: static; display: block; font-size: 48px; line-height: 1; margin-bottom: 18px; }
  .ig-upper-storey::after { width: 38px; height: 16px; }
  .ig-owner-position { font-size: 18px; line-height: 1.6; margin-top: 20px; }
  .ig-lower-storey { display: block; padding: 28px 8px 8px; }
  .ig-bring-room { position: static; margin: 28px 8px 8px 0; padding: 22px 20px; border-top-width: 7px; box-shadow: 8px 8px 0 var(--ig-ground); }
  .ig-bring-room p { line-height: 1.65; }
  .ig-answer-house:nth-of-type(even) { margin-left: 0; margin-right: 0; }
  .ig-answer-house:nth-of-type(even) .ig-bring-room { box-shadow: 8px 8px 0 var(--ig-stone); }
  .ig-between-mark { margin: 36px auto; }
  .ig-guideopening { display: block; margin: 24px 24px 36px; }
  .ig-breadcrumbs { gap: 8px; margin-bottom: 22px; font-size: 16px; }
  .ig-guidewords { margin: 0; padding: 24px 20px 36px; border-left-width: 6px; }
  .ig-guidewords h1 { font-size: 34px; line-height: 1.08; }
  .ig-guidewords .ig-lead { font-size: 17px; line-height: 1.6; }
  .ig-photo-band { height: 150px; min-height: 150px; margin-top: 18px; }
  .ig-source-register { padding: 28px 24px; margin-top: 38px; }
  .ig-source-register ul { display: block; }
  .ig-source-register li { margin-bottom: 24px; }
  .ig-quick-questions { padding: 27px 24px; margin: 38px 8px 0; box-shadow: -8px 8px 0 var(--ig-ground); }
  .ig-next-reading { display: block; padding: 38px 8px 8px; }
  .ig-next-reading a { margin-bottom: 18px; font-size: 23px; padding: 22px 18px; }
  .ig-colophon { margin: 38px 24px 0; padding-top: 28px; }
  .ig-footlinks { gap: 14px 24px; }
  .ig-missing-room { margin: 46px 24px 90px; }
}

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