/* Layout concept: one long editorial page. A hairline "capped dowel" (line ending in a circle) is the only recurring graphic.
   Arch-topped photographs mix with square-cornered ones, the style's clean-lines-and-soft-curves paradox.
   Colour comes from the materials: limestone ground, black steel ink, brushed brass, saddle brick, equestrian navy. */
:root {
  --paper: #E8E2D6;      /* limewash plaster */
  --paper-2: #DDD5C5;    /* honed limestone */
  --ink: #18181B;        /* black steel */
  --muted: #5B554B;
  --label: #6E5320;
  --pair-ink: #2A2724;
  --brass: #9A7637;
  --brass-line: #A98A4F;
  --navy: #1B2638;       /* equestrian navy, same in both themes */
  --on-navy: #E8E2D6;
  --navy-muted: #AEB4BF;
  --sw-oak: #C9AE88; --sw-brass: #B28A4B; --sw-lime: #D9CFBD; --sw-brick: #8B4A33;
  --sw-plaster: #EFE8DA; --sw-steel: #1B1B1E; --sw-leather: #8A5133; --sw-linen: #D8CDB8;
  --display: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', sans-serif;
  --text: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --wrap: 1280px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131315; --paper-2: #1C1C1F; --ink: #E8E2D6; --muted: #A59E90; --label: #C9A662; --pair-ink: var(--ink);
    --brass: #C9A662; --brass-line: #8F7547; --sw-steel: #34343A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #131315; --paper-2: #1C1C1F; --ink: #E8E2D6; --muted: #A59E90; --label: #C9A662; --pair-ink: var(--ink);
  --brass: #C9A662; --brass-line: #8F7547; --sw-steel: #34343A; color-scheme: dark; --glow: rgba(214,158,82,.07);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 50; font-family: var(--display); }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* plaster grain sits in the wall colour itself, never over the photographs */
body, .grain { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body { background-image: none; } }
:root[data-theme="dark"] body { background-image: none; }
/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--display); font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.012em; line-height: 1.08; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); line-height: 1.04; letter-spacing: -.022em; }
h2 em { font-size: 1.04em; }
h3 { font-size: 1.55rem; font-weight: 400; letter-spacing: 0; line-height: 1.2; }
p { margin: 0 0 1.1em; max-width: 62ch; text-wrap: pretty; }
:root { --lede-size: clamp(1.12rem, 1.25vw, 1.2rem); }
.lede { font-size: var(--lede-size); line-height: 1.62; max-width: 40rem; }
.cap { font-family: var(--display); font-size: .9rem; line-height: 1.5; color: var(--muted); letter-spacing: .01em; }
figcaption.cap, figcaption .cap, .terrace figcaption { font-family: var(--text); font-style: italic; font-size: 1.02rem; letter-spacing: 0; }
.muted { color: var(--muted); }

/* ---------- capped dowel ---------- */
.dowel { display: inline-flex; align-items: center; color: var(--brass-line); }
.dowel::before, .dowel::after { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; flex: none; }
.dowel > i { display: block; height: 1px; background: currentColor; flex: 1; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; transition: background-color 1.4s, color 1.4s, border-color 1.4s; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .85rem; }
.mark { display: inline-grid; justify-self: start; gap: .1rem; text-decoration: none; font-family: var(--display); font-weight: 300; font-size: .86rem; letter-spacing: .34em; line-height: 1.2; text-transform: uppercase; }
.mark > span:first-child { margin-right: -.34em; }
.mark .fus { display: flex; align-items: center; gap: .45rem; margin-right: -.34em; }
.mark .fus { letter-spacing: .3em; }
.mark .fus i { height: 1px; background: var(--brass-line); flex: 1; min-width: .9rem; position: relative; }
.mark .fus i:first-child::before, .mark .fus i:last-child::after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--brass-line); }
.mark .fus i:first-child::before { left: 0; } .mark .fus i:last-child::after { right: 0; }
.nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); font-family: var(--display); font-size: .95rem; }
.nav a { text-decoration: none; padding-block: .3rem; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--brass-line); }
.menu-btn { display: none; align-items: center; gap: .6rem; background: none; border: 0; padding: .5rem 0 .5rem .5rem; margin: 0; color: var(--ink); font-family: var(--display); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-btn .bars { position: relative; width: 22px; height: 9px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .35s cubic-bezier(.2,.7,.1,1), top .35s; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .top { -webkit-backdrop-filter: blur(10px); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.6rem; background: var(--paper); border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); box-shadow: 0 24px 40px -28px rgba(0,0,0,.35); max-height: calc(100vh - 100%); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .35s cubic-bezier(.2,.7,.1,1), visibility 0s .35s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .35s cubic-bezier(.2,.7,.1,1); }
  .nav a { display: flex; align-items: center; justify-content: space-between; font-weight: 300; font-size: 1.6rem; letter-spacing: -.01em; padding: .85rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
  .nav a::after { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--brass-line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover { border-color: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--brass); }
}
@media (prefers-reduced-motion: reduce) { .nav, .nav.open, .menu-btn .bars::before, .menu-btn .bars::after { transition: none; } }

.top.night { background: rgba(18,22,32,.92); color: #EEE7D9; border-bottom-color: rgba(238,231,217,.1); }
.top.night .menu-btn { color: #EEE7D9; }
@media (max-width: 860px) { .top.night .nav { background: #121620; } }
/* ---------- hero: the front door ---------- */
.hero { --h-bg: var(--paper); --h-ink: var(--ink); --h-muted: var(--muted); --h-brass: var(--brass); --h-line: var(--brass-line);
  background-color: var(--h-bg); color: var(--h-ink); padding-block: 0 clamp(2.5rem, 5vw, 4.5rem); position: relative; overflow: clip;
  transition: background-color 1.4s cubic-bezier(.4,.1,.2,1), color 1.4s cubic-bezier(.4,.1,.2,1); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 78% 38%, var(--glow, rgba(255,238,206,.55)), transparent 70%); transition: opacity 1.4s; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(45% 60% at 76% 46%, rgba(214,158,82,.16), transparent 70%); transition: opacity 1.4s; }
.hero[data-mood="night"]::before { opacity: 0; } .hero[data-mood="night"]::after { opacity: 1; }
.hero > .wrap { position: relative; z-index: 1; }
.hero[data-mood="night"] { --h-bg: #121620; --h-ink: #EEE7D9; --h-muted: #ABA89F; --h-brass: #D2AE68; --h-line: #9C7F4C; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6.5rem); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: .9rem; margin: 0 0 .75rem; font-family: var(--display); font-weight: 400; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--label); max-width: none; }
.eyebrow .dowel { width: 2.6rem; font-size: .7rem; }
.hero .eyebrow { color: var(--h-brass); }
.hero-name { margin: 0 0 clamp(1.8rem, 3.4vw, 2.8rem); max-width: none; }
.hero-name .nm { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(1.3rem, 2.15vw, 2.05rem); line-height: 1.1; letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; color: var(--h-ink); transition: color 1.4s; }
.hero-name .eyebrow { margin: .85rem 0 0; }
.hero .eyebrow .dowel { color: var(--h-line); }
.hero h1 { font-size: clamp(3rem, 5.6vw, 5.2rem); line-height: .98; letter-spacing: -.028em; font-weight: 300; text-wrap: initial; }
.hero h1 span { display: block; }
.hero h1 em, h2 em, .sign em { font-family: var(--text); font-style: italic; font-weight: 300; letter-spacing: -.02em; color: var(--brass); }
.hero h1 em { display: block; font-size: 1.04em; margin-top: .06em; color: var(--h-brass); transition: color 1.4s; }
.hero .lede { margin: clamp(1.4rem, 2.6vw, 2.2rem) 0 0; max-width: 31rem; font-size: clamp(1.2rem, 1.55vw, 1.42rem); }
.hero-sig { margin: clamp(2.2rem, 4vw, 3.4rem) 0 0; font-family: var(--text); font-style: italic; font-size: 1.02rem; color: var(--h-muted); transition: color 1.4s; }

.door-wrap { justify-self: end; margin-right: 1.6rem; width: min(100%, calc((100svh - 13.5rem) * .8), 600px); margin: 0; }
.casing { position: relative; padding: clamp(9px, 1vw, 14px) clamp(9px, 1vw, 14px) 0; border: 1px solid var(--h-line); border-bottom: 0; border-radius: 999px 999px 0 0; transition: border-color 1.4s; }
.casing::after { content: ""; position: absolute; left: -1.6rem; right: -1.6rem; bottom: 0; height: 1px; background: var(--h-line); transition: background-color 1.4s; }
.casing::before { content: ""; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--h-line); transition: background-color 1.4s; }
.door { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; isolation: isolate; background: #CBB89A; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 30% 50%; animation: settle 2.6s cubic-bezier(.2,.7,.1,1) both; transition: opacity 1.4s cubic-bezier(.4,.1,.2,1); }
.door .day { animation: settle 2.6s cubic-bezier(.2,.7,.1,1) both, fadein 1s ease-out both; }
.door .night { opacity: 0; }
.door-wrap[data-night="off"] .mood, .door-wrap[data-night="off"] .night { display: none; }
.door-wrap[data-night="off"] .door-foot { justify-content: flex-end; }
.hero[data-mood="night"] .door .night { opacity: 1; }
.door::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 30px 60px -30px rgba(0,0,0,.25), inset 0 -40px 50px -40px rgba(0,0,0,.35); border-radius: inherit; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.door-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem; padding-top: 1rem; }
.mood { display: inline-flex; padding: 3px; border: 1px solid var(--h-line); border-radius: 999px; transition: border-color 1.4s; flex: none; }
.mood button { display: inline-flex; align-items: center; gap: .5rem; border: 0; margin: 0; padding: .5rem .95rem; border-radius: 999px; background: transparent; color: var(--h-ink); font-family: var(--display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background-color .5s, color .5s; -webkit-tap-highlight-color: transparent; }
.mood button[aria-pressed="true"] { background: var(--h-ink); color: var(--h-bg); }
.mood .ico { width: .62rem; height: .62rem; border-radius: 50%; background: var(--h-brass); flex: none; }
.mood .moon { background: transparent; box-shadow: inset -.2rem -.05rem 0 0 var(--h-brass); transform: rotate(-20deg); }
.hero-cap { display: grid; flex: 1 1 13rem; margin: 0; padding: 0; text-align: right; }
.hero-cap span { grid-area: 1 / 1; align-self: center; font-family: var(--text); font-style: italic; font-size: .98rem; line-height: 1.35; color: var(--h-muted); transition: opacity .9s, color 1.4s; }
.hero-cap .c-night, .hero[data-mood="night"] .hero-cap .c-day { opacity: 0; }
.hero[data-mood="night"] .hero-cap .c-night { opacity: 1; }

/* hero: a slim limewash panel for the words, the room beside it */
.hero { padding-block: 0; --edge: calc((100% - min(100% - 2 * var(--gutter), var(--wrap))) / 2); }
.hero .split { position: relative; z-index: 1; display: grid; grid-template-columns: calc(var(--edge) + clamp(18.5rem, 24vw, 26rem)) minmax(0, 1fr); }
.hero .panel { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.6rem, 4vh, 3rem) clamp(1.4rem, 2.4vw, 2.6rem) clamp(1.4rem, 3vh, 2.2rem) calc(100% - clamp(18.5rem, 24vw, 26rem)); }
.hero .panel .hero-name { margin-bottom: clamp(1.1rem, 2.6vh, 1.8rem); }
.hero .panel .nm { font-size: clamp(1.05rem, 1.25vw, 1.3rem); letter-spacing: .28em; line-height: 1.45; margin-right: 0; }
.hero .panel .hero-name .eyebrow { display: block; margin-top: 0; font-size: .68rem; letter-spacing: .24em; line-height: 1.7; }
.hero .panel .eyebrow .dowel { display: none; }
.hero .panel h1 { font-size: clamp(2.4rem, 3vw, 3.4rem); }
.hero .panel h1 em { white-space: nowrap; font-size: 1em; }
.hero .panel .lede { margin-top: clamp(1rem, 2.2vh, 1.5rem); font-size: var(--lede-size); line-height: 1.6; max-width: 26rem; text-wrap: pretty; }
.hero .panel .hero-cap { text-align: left; flex: none; }
.stage { margin: 0; position: relative; overflow: hidden; background: #CBB89A; width: 100%; min-width: 0; align-self: stretch; aspect-ratio: 1536 / 794; max-height: calc(100svh - 4.6rem); }
.stage picture { display: block; height: 100%; }
.stage img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 72% 100%; animation: settle 2.6s cubic-bezier(.2,.7,.1,1) both; }
.stage .night { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s cubic-bezier(.4,.1,.2,1); }
.hero[data-mood="night"] .stage .night { opacity: 1; }
.stage .mood { position: absolute; z-index: 2; left: max(16px, 2vw); bottom: max(14px, 1.8vw); border-color: rgba(242,236,224,.55); background: rgba(20,16,12,.34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stage .mood button { color: #F2ECE0; }
.stage .mood button[aria-pressed="true"] { background: #F2ECE0; color: #18181B; }
.stage .mood .ico { background: #D2AE68; }
.stage .mood .moon { background: transparent; box-shadow: inset -.2rem -.05rem 0 0 #D2AE68; }

/* open plan */
.open-plan .wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 55%; }
.open-plan .duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.6rem, 5vw, 5rem); margin-top: clamp(2.6rem, 5vw, 4.5rem); align-items: start; }
.open-plan .duo .dlist { max-width: 30rem; }
.open-plan .duo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 50%; }
.open-plan .duo-p { margin: 0; font-size: 1.1rem; line-height: 1.65; max-width: 30rem; }
.open-plan .duo h3 em { font-family: var(--text); font-style: italic; color: var(--brass); }
.open-plan .mini { margin: 1.6rem 0 0; font-family: var(--display); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.open-plan .mini + .dlist { margin-top: .7rem; }
.open-plan .duo h3 { margin-bottom: .6rem; font-size: 1.55rem; font-weight: 400; }
.open-plan .dlist li { padding-block: .2rem; }

/* ---------- sections ---------- */
section { padding-block: clamp(2.75rem, 5vw, 4rem); }
#rooms { padding-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.split.flip { grid-template-columns: 7fr 5fr; }
.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: start; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.sec-head p { margin: 0; }
.sec-head { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
.sec-head > .lede { margin-top: 1.2rem; }
/* two-part section headings: second phrase always on its own line */
.sign em { display: block; }
.hero[data-mood="day"] .hero-name .eyebrow { color: var(--label); }
main section h2 em { display: block; }
/* one body size for every caption and card paragraph */
.sources p, .trio p, .duo-p, .twoup figcaption p, .cap-row p, .notes p { font-size: 1.1rem; line-height: 1.65; }
/* kitchen caption: heading over text, like the bedroom and bath */
.cap-row h3 { margin-bottom: .5rem; }
.cap-row p { max-width: 46rem; }

.sec-head .eyebrow { margin-bottom: .75rem; }

/* contrast pairs */
#style { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); } /* influences continues this band: sub-section gap, not a section break */
.pairs { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 4rem); border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }
.pairs li { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(.7rem, 1.2vw, 1rem); padding: clamp(1.4rem, 2.4vw, 2rem) 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); font-family: var(--display); font-weight: 300; font-size: clamp(1.25rem, 1.9vw, 1.85rem); letter-spacing: -.015em; line-height: 1.1; white-space: nowrap; color: var(--pair-ink); }
.pairs li > span:first-child { text-align: right; }
.pairs .dowel { width: clamp(1.6rem, 2.6vw, 2.6rem); flex: none; font-size: .7rem; color: var(--brass); }
.pairs li em { font-family: var(--text); font-style: italic; font-weight: 400; font-size: .95em; letter-spacing: -.01em; color: var(--pair-ink); }
.apply li, .dlist li, .sched .use, figcaption p, .cap { text-wrap: pretty; }
/* sources */
.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.sources { grid-template-rows: auto auto 1fr; row-gap: 0; }
.sources > div { padding-top: 0; display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
.vig { aspect-ratio: 1 / 1; margin-bottom: 1.4rem; background: var(--paper-2); }
.vig img { height: 100%; }
.sources h3 { margin-bottom: .8rem; }
.sources p { margin: 0; font-size: 1.1rem; line-height: 1.65; }

/* figures */
figure { margin: 0; }
figcaption { padding-top: .8rem; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; }
.sq { overflow: hidden; }
.steel { outline: 1px solid var(--ink); outline-offset: clamp(8px, 1.2vw, 14px); margin: clamp(8px, 1.2vw, 14px); }
.arch img, .sq img { width: 100%; object-fit: cover; }

.dlist { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .55rem; }
.dlist li { display: grid; grid-template-columns: 1.4rem 1fr; align-items: baseline; font-size: 1.1rem; line-height: 1.55; }
.dlist li::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: var(--brass-line); transform: translateY(-.1rem); }

/* finish schedule */
.sched { list-style: none; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: clamp(1.6rem, 3vw, 2.4rem) 0 0; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.2rem, 2.4vw, 2.4rem); }
.sched li { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: 1rem; row-gap: .1rem; align-content: start; }
.sched li > :not(.sw) { grid-column: 2; }
.sw { grid-row: 1 / span 3; display: block; width: 3.4rem; aspect-ratio: 1; border-radius: 2px; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(40,30,20,.12), 0 2px 0 -1px rgba(40,30,20,.18), 0 10px 14px -10px rgba(40,30,20,.5); }
img.sw { width: 3.4rem; height: 3.4rem; object-fit: cover; max-width: none; }
.sw::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 38%, rgba(0,0,0,.08)); pointer-events: none; }
.sw-oak { background: repeating-linear-gradient(91deg, rgba(110,74,34,.16) 0 1px, transparent 1px 6px), repeating-linear-gradient(89deg, rgba(255,240,215,.16) 0 2px, transparent 2px 17px), linear-gradient(180deg, #D6BC94, #BC9A6C); }
.sw-brass { background: radial-gradient(130% 70% at 28% 18%, #F6E2AC 0%, #CFA65E 30%, #9C7535 64%, #6F5022 100%); }
.sw-lime { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .26 0 0 0 -9 5.2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23s)' opacity='.5'/%3E%3C/svg%3E"), radial-gradient(60% 45% at 30% 25%, rgba(255,255,255,.35), transparent 70%), linear-gradient(165deg, #E6DDCC, #CFC2AB); }
.sw-brick { background: radial-gradient(120% 80% at 30% 20%, rgba(255,210,170,.18), transparent 60%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22'%3E%3Crect width='44' height='22' fill='%23934e35'/%3E%3Crect x='1' y='1' width='20' height='9' fill='%23a3593c'/%3E%3Crect x='23' y='12' width='20' height='9' fill='%23874630'/%3E%3Cpath d='M0 10.5h44M0 21.5h44M11 0v10.5M33 0v10.5M22 11v11M0 11v11' stroke='%23d6c4a6' stroke-width='1.6'/%3E%3C/svg%3E") 0 0 / 44px 22px; }
.sw-plaster { background: radial-gradient(55% 40% at 28% 26%, rgba(255,255,255,.75), transparent 70%), radial-gradient(45% 35% at 72% 64%, rgba(170,152,122,.28), transparent 70%), radial-gradient(35% 30% at 40% 85%, rgba(200,186,160,.3), transparent 70%), #EDE5D5; }
.sw-steel { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .06' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .8 0 0 0 0 .8 0 0 0 0 .82 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23f)'/%3E%3C/svg%3E"), linear-gradient(180deg, #2E2E32, #222225); }
.sw-leather { background: radial-gradient(90% 65% at 34% 22%, #B8743F 0%, #8B4F2C 52%, #5A2F18 100%); }
.sw-leather::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: 18%; border-top: 1.5px dashed rgba(236,214,180,.55); }
.sw-linen { background: repeating-linear-gradient(0deg, rgba(110,92,62,.13) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(110,92,62,.11) 0 1px, transparent 1px 3px), linear-gradient(180deg, #E1D7C3, #D2C5AD); }
.sched b { font-family: var(--display); font-weight: 400; font-size: 1.05rem; line-height: 1.25; }
.sched .cap { font-size: .9rem; line-height: 1.35; color: var(--muted); }
.sched span.use { font-size: 1.02rem; line-height: 1.45; margin-top: .25rem; color: var(--ink); opacity: .82; }
.mat-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); max-width: 1100px; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; margin-top: clamp(4rem, 8vw, 7rem); }
.mat-split > figure { width: 100%; max-width: 420px; }
.mat-split .notes { display: grid; max-width: 600px; gap: clamp(2rem, 4vw, 3rem); }
.mat-split h3 { margin-bottom: .7rem; }
.mat-split p { margin: 0; }

/* rooms */
.bones-copy { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: end; }
.bones-copy .dlist { margin: 0; }
.bones-layout > figure { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.bones-layout > figure img { display: block; width: 100%; height: auto; }
.room-main .sq img { aspect-ratio: 16 / 9; }
.cap-row { display: block; padding-top: 1.1rem; }
.cap-row p { margin: 0; }
.twoup { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3rem); align-items: start; }

.twoup .arch img { aspect-ratio: 1 / 1; }
.twoup .sq img { aspect-ratio: 1 / 1; }
.twoup h3 { margin-bottom: .4rem; }
.twoup figcaption p { margin: 0; font-size: 1.1rem; }

/* equestrian */
.navy { background: var(--navy); color: var(--on-navy); }
.navy .cap, .navy .muted { color: var(--navy-muted); }
.navy .dowel { color: #C8A867; }
.bleed img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 55%; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2rem, 5vw, 4rem); }
.trio { grid-template-rows: auto 1fr; row-gap: 0; }
.trio > div { border-top: 1px solid #C8A867; padding-top: 1.1rem; display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.trio h3 { align-self: end; }
.trio h3 { margin-bottom: .6rem; }
.trio p { margin: 0; color: var(--on-navy); opacity: .92; font-size: 1.1rem; line-height: 1.65; }

.harlequin { height: 52px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='52'%3E%3Cpath d='M18 .8L35.2 26L18 51.2L.8 26Z' fill='none' stroke='%23C8A867' stroke-width='1'/%3E%3C/svg%3E") center top / 36px 52px repeat-x; border-bottom: 1px solid rgba(200,168,103,.35); margin-bottom: clamp(2rem, 4vw, 3rem); }
/* terrace */
.terrace img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.terrace figcaption { padding-top: .8rem; }

/* evenings: the page goes after dark */
.dusk { background: var(--navy); color: #EEE7D9; padding-bottom: 0; }
.dusk > .wrap:first-child { border-top: 1px solid rgba(200,168,103,.35); padding-top: clamp(3rem, 6vw, 5rem); }
.navy + .dusk { padding-top: 0; }
.dusk .lede { color: #E4DCCC; }
.dusk h2 em { color: #D2AE68; }
.dusk .eyebrow { color: #D2AE68; }
.dusk .eyebrow .dowel { color: #9C7F4C; }
.dusk .terrace figcaption { color: #A9A090; padding-bottom: clamp(3rem, 6vw, 5rem); }
.navy h2 em, .navy .eyebrow { color: #D4B26F; }
.navy .eyebrow .dowel { color: #A98A4F; }

/* apply */
.apply { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(5, auto); column-gap: clamp(1.5rem, 4vw, 4rem); }
.apply > div { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
.apply ul { display: contents; }
.apply > div { border-top: 1px solid var(--brass-line); padding-top: 1.2rem; }
.apply h3 { margin-bottom: .8rem; }
.apply ul { list-style: none; margin: 0; padding: 0; }
.apply li { display: grid; margin-bottom: .65rem; grid-template-columns: 1.6rem 1fr; align-items: baseline; font-size: 1.1rem; line-height: 1.55; padding-bottom: .75rem; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.apply li:last-child { border-bottom: 0; }
.apply h3 { font-size: 1.55rem; font-weight: 400; }
.apply li::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: var(--brass-line); }


.sign { font-family: var(--display); font-weight: 200; font-size: clamp(2.2rem, 5.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 clamp(2.5rem, 6vw, 5rem); max-width: none; text-wrap: balance; }

footer { padding-block: clamp(3rem, 5vw, 4rem) 2.5rem; background: #121620; color: #EEE7D9; }
footer .sign { color: #EEE7D9; } footer .sign em { color: #D2AE68; }
footer .cap { color: #9A9890; } footer .mark .fus i, footer .mark .fus i::before, footer .mark .fus i::after { background: #A98A4F; }
.foot { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.foot p { margin: 0 0 .6rem; font-size: 1rem; }
footer .sign { margin-bottom: clamp(1.4rem, 2.4vw, 2rem); }
footer .contact { margin: 0 0 clamp(3.5rem, 7vw, 6rem); font-family: var(--text); font-size: var(--lede-size); line-height: 1.5; color: #CFC8BA; }
footer .contact a { white-space: nowrap; color: #D2AE68; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: color-mix(in srgb, #D2AE68 55%, transparent); transition: text-decoration-color .2s; }
footer .contact a:hover, footer .contact a:focus-visible { text-decoration-color: #D2AE68; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) and (min-width: 641px) { .sched { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .bones-copy { grid-template-columns: 1fr; }
  .split, .split.flip, .sec-head, .cap-row, .foot { grid-template-columns: 1fr; }
  .mat-split { grid-template-columns: 1fr; }
  .terrace img { aspect-ratio: 16 / 9; }
  .cap-row, .sec-head, .split, .foot { row-gap: 1rem; }
  .sec-head { row-gap: 0; }
  .sec-head > .lede { padding-top: 0; max-width: 40rem; }
  .split .arch { max-width: 480px; }
  .bleed img { aspect-ratio: 4 / 3; }
  .room-main .sq img { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) and (min-width: 641px) {
  /* tablet: keep the desktop pairings side by side instead of stacking giant images */
  #architecture .split { grid-template-columns: 7fr 5fr; align-items: center; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; row-gap: clamp(2rem, 6vw, 3rem); }
  .hero h1 { font-size: clamp(2.9rem, 11vw, 5rem); }
  .door-wrap { justify-self: center; width: min(100%, 560px); }
  .casing::after { left: -.75rem; right: -.75rem; }
  .door-wrap { margin-right: auto; }
  .hero .split { grid-template-columns: 1fr; }
  .hero .panel { display: contents; }
  .hero .hero-copy { padding: clamp(1.6rem, 6vw, 2.6rem) var(--edge) clamp(1.6rem, 6vw, 2.4rem); }
  .hero .panel h1 { font-size: clamp(2rem, 10vw, 3.6rem); white-space: nowrap; }
  .hero .panel h1 span { display: inline; }
  .hero .panel .lede { max-width: 34rem; font-size: var(--lede-size); }
  .stage { display: grid; grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; max-height: none; min-height: 0; order: 2; background: var(--h-bg); }
  .stage picture { grid-area: 2 / 1; height: auto; }
  .stage .night { position: relative; inset: auto; }
  .stage img { height: auto; object-fit: contain; object-position: center; animation: none; }
  .stage .mood { grid-area: 1 / 1; position: relative; inset: auto; justify-self: center; margin: 0 0 .75rem; background: transparent; border-color: var(--h-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .stage .mood button { color: var(--h-ink); }
  .stage .mood button[aria-pressed="true"] { background: var(--h-ink); color: var(--h-bg); }
  .hero .panel .hero-cap { order: 3; padding: .9rem var(--edge) 0; }
  .open-plan .duo { grid-template-columns: 1fr; }
  .sources { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 2.5rem; max-width: 35rem; margin-inline: auto; }
  .sources > div { display: block; grid-row: auto; min-width: 0; }
}
@media (max-width: 900px) and (min-width: 641px) {
  .trio { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 1.6rem; }
  .trio > div { grid-row: auto; grid-template-rows: none; }
  .trio p, .trio h3 { max-width: 40rem; }
  .apply { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 2.4rem; }
  .apply > div { grid-row: auto; grid-template-rows: none; }
  .apply ul { display: block; max-width: 40rem; }
}
@media (max-width: 700px) {
  .open-plan .wide img { aspect-ratio: 4 / 3; object-position: 58% 55%; }
}
@media (max-width: 640px) {
  .twoup { grid-template-columns: 1fr; }
  .hero-sig { display: none; }
  .eyebrow { letter-spacing: .2em; gap: .7rem; }
  .hero .lede { margin-top: 1.2rem; }
    .door-foot { flex-direction: column; align-items: stretch; gap: .8rem; }
  .apply, .trio { grid-template-columns: 1fr; }
  .apply { grid-template-rows: none; }
  .apply > div { grid-row: auto; grid-template-rows: none; margin-bottom: 2rem; }
  .sched { grid-template-columns: 1fr; }
  .mat-split { grid-template-columns: 1fr; }
  .terrace img { aspect-ratio: 4 / 3; }
  .pairs { grid-template-columns: 1fr; }
  .pairs li { font-size: clamp(1.3rem, 6vw, 1.5rem); padding-block: .95rem; }
  .pairs .dowel { width: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .door img, .door .day, .stage img { animation: none; } .hero, .hero *, .door img { transition-duration: .01s !important; } html { scroll-behavior: auto; } }


/* Adopted photo-study compositions, October 30. */
.gallery-row { grid-column: 1 / -1; min-width: 0; }
.gallery-hall { margin-top: 0; }
.gallery-hall img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.chars { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: clamp(1rem,2.5vw,2rem); align-items: end; margin-top: 0; }
.chars img { width: 100%; display: block; object-fit: cover; }
.chars .l img { aspect-ratio: 3 / 2; }
.chars .r img { aspect-ratio: 4 / 5; }
.chars-wrap { margin-top: clamp(2rem,4vw,3rem); padding: 0; }
.chars-wrap h3 { font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 300; letter-spacing: -.02em; }
.chars-wrap h3 em { display: block; font-family: var(--text); font-style: italic; color: var(--brass); }
.chars-left { min-width: 0; }
.chars-left p.lede { margin: 1rem 0 1.5rem; max-width: 38rem; }
#rooms .room-main .sq img, #rooms .twoup .sq img { aspect-ratio: 3 / 2; height: auto; }
#equestrian .bar-photo img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: 50% 50%; }
.closing-photo { width: calc(100% - 2 * var(--gutter)); max-width: 1080px; margin: 0 auto; }
.closing-photo img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 42%; }
.closing-photo figcaption { padding: .8rem 0 0; color: #A9A090; }
@media (max-width: 700px) { .gallery-hall img { aspect-ratio: 4 / 3; } }
@media (max-width: 640px) { .chars { grid-template-columns: 1fr; } .closing-photo img { aspect-ratio: 3 / 2; } }

/* One visual focus per section, with a restrained evening band. */
#equestrian .wrap, .bar-photo { width: min(100% - 2 * var(--gutter), 1080px); margin-inline: auto; }
.open-principles { margin-top: 1.5rem; }
.open-principles h3 { font-size: 1.2rem; }
.open-principles .dlist { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; margin-bottom: 0; }
.open-principles .dlist li { margin: 0; }
#open .wide img { aspect-ratio: 3 / 2; }
@media (max-width: 700px) { .open-principles .dlist { grid-template-columns: 1fr; gap: .75rem; } }

/* Philosophy: two related columns, with a modest kitchen image beside the argument. */
#philosophy { padding-top:0; }
.philosophy-grid { max-width:1280px; border-top:1px solid var(--brass-line); padding-top:clamp(1.5rem,3vw,2.25rem); }
.philosophy-intro { margin-bottom:clamp(1.5rem,2.5vw,2rem); }
.philosophy-intro h2 em { display:inline; }
.philosophy-spread { display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(2rem,4vw,3.5rem); align-items:start; }
.philosophy-opening p, .philosophy-copy p { font-size:clamp(1.05rem,1.3vw,1.2rem); line-height:1.6; margin:0 0 1.2rem; }
.philosophy-opening { margin-bottom:1.25rem; }
.philosophy-opening p { margin-bottom:.8rem; }
.philosophy-opening p:last-child { margin-bottom:0; }
.philosophy-photo { margin:0; max-width:480px; }
.philosophy-photo img { display:block; width:100%; height:auto; }
.bones-layout > .bones-copy { margin-top:clamp(1.5rem,3vw,2.25rem); align-items:start; }
#rooms .office-photo .sq img { aspect-ratio:auto; }
.philosophy-copy .philosophy-closing { margin:1.5rem 0 0; padding-top:1.1rem; border-top:1px solid var(--brass-line); color:var(--label); font-size:clamp(1.25rem,1.8vw,1.55rem); line-height:1.35; }
@media (max-width:800px) {
 .philosophy-spread { grid-template-columns:1fr; gap:1.5rem; }
 .philosophy-intro h2 em { display:block; }
 .philosophy-photo { max-width:480px; }
}

/* Compact Heritage detail notes on phones; retain desktop typography. */
@media (max-width: 640px) {
  #equestrian .trio { grid-template-rows: none; gap: .75rem; margin-top: 1rem; }
  #equestrian .trio > div { display: block; grid-row: auto; padding-top: .55rem; }
  #equestrian .trio h3 { font-size: .74rem; font-weight: 400; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: #D4B26F; margin-bottom: .35rem; }
  #equestrian .trio p { font-size: 1rem; line-height: 1.5; }
}
