:root {
  --ink: #18243a;
  --paper: #fff;
  --muted: #47566a;
  --line: #cbd2df;
  --blue: #214cbd;
  --blue-hover: #173893;
  --navy: #152641;
  --wash: #f3f5f9;
  --wide: clamp(20px, 4.7vw, 86px);
  --mast-height: 70px;
}
html { scroll-padding-top: calc(var(--mast-height) + 12px); }
.imast {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line);
}
.imast .mast-in { height: var(--mast-height); max-width: 1920px; }
.imast .wordmark { gap: 9px; }
.studio-mark { display: block; width: 31px; height: 31px; position: relative; }
.studio-mark::before, .studio-mark::after { content: ''; position: absolute; inset: 0; }
.studio-mark::before { background: var(--navy); clip-path: polygon(0 21%,17% 0,100% 0,78% 21%,62% 21%,62% 100%,39% 100%,39% 21%); }
.studio-mark::after { background: var(--blue); clip-path: polygon(62% 21%,78% 21%,100% 0,100% 21%,62% 54%); }
.studio-name {
  font: 600 clamp(1.3rem, 1.85vw, 2rem)/1 var(--sans); letter-spacing: -.06em; white-space: nowrap;
}
.studio-name strong { font-weight: 400; }
.imast .mainnav { gap: clamp(16px, 2vw, 38px); }
.imast .mainnav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .9rem; border: 0; font-weight: 600;
}
.imast .mainnav a:is(:hover, [aria-current]) { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.imast .contact-top {
  justify-content: center; min-height: 44px; border: 0; background: var(--blue); color: #fff;
  padding: 9px 18px; gap: 15px; font-size: .88rem; font-weight: 600;
}
.imast .contact-top:hover { background: var(--blue-hover); }
.edition-wrap { width: 100%; max-width: 1800px; margin-inline: auto; padding-inline: var(--wide); }
.cover-story { background: var(--paper); }
.cover-image {
  position: relative; width: 100%; max-width: 2400px; margin-inline: auto;
  height: clamp(320px, min(44vw, 60svh), 820px); background: var(--wash);
}
.cover-image figure, .drawing-stage figure { position: absolute; inset: 0; overflow: hidden; }
.cover-image a, .cover-image img { display: block; width: 100%; height: 100%; }
.cover-image img { object-fit: cover; object-position: var(--cover-position, 50% 50%); }
.cover-image figure[hidden], .drawing-stage figure[hidden] { display: none; }
.cover-note {
  display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0,.85fr) auto;
  align-items: center; gap: clamp(22px,3vw,65px);
  padding-block: clamp(25px,3.2vw,55px);
}
.project-locale { color: var(--blue); font-size: .68rem; font-weight: 600; line-height: 1.4; text-transform: uppercase; letter-spacing: .12em; }
.cover-title h1, .drawing-intro h2, .collections-head h2, .studio-feature h2 {
  font-family: var(--sans); font-weight: 400; line-height: 1; letter-spacing: -.075em;
}
.cover-title h1 { font-size: clamp(3.2rem, 5.4vw, 6.8rem); margin: 8px 0 0 -.045em; }
.architecture-note { max-width: 32ch; font: 400 clamp(1.27rem,1.7vw,2.05rem)/1.15 var(--serif); }
.project-jump, .ink-link {
  display: inline-flex; align-items: center; gap: 13px; width: fit-content;
  padding: 5px 0; border-bottom: 1px solid currentColor; color: var(--blue);
  font-size: .86rem; font-weight: 600; line-height: 1.42;
}
.project-jump { margin-top: 9px; }
.project-jump:hover, .ink-link:hover { color: var(--blue-hover); }
.view-options { display: flex; gap: 7px; }
.view-options button { background: none; border: 0; }
.photo-options button {
  display: flex; flex-direction: column; align-items: start; gap: 4px;
  width: clamp(50px, 5.2vw, 80px); min-height: 44px; padding: 2px 0;
  color: var(--muted);
}
.photo-options button img { width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; }
.photo-options button span { font-size: .72rem; line-height: 1.3; }
.photo-options button[aria-pressed=true] img { outline: 2px solid var(--blue); outline-offset: -2px; }
.photo-options button[aria-pressed=true] span { color: var(--blue); font-weight: 600; }
.photo-options button:hover span { text-decoration: underline; }
.drawing-feature {
  padding-block: clamp(40px,5vw,88px) clamp(26px,3.7vw,66px);
  background: var(--wash); border-block: 1px solid #e1e5ee;
}
.drawing-intro { display: grid; align-items: end; grid-template-columns: 1.6fr 1fr; gap: 4vw; }
.drawing-feature .project-locale { margin-bottom: 15px; }
.drawing-intro h2 { font-size: clamp(2.85rem,5.45vw,6.8rem); }
.drawing-description { max-width: 34ch; justify-self: end; font-size: clamp(.97rem,1.17vw,1.32rem); color: var(--muted); }
.drawing-stage { margin-top: clamp(20px,2.4vw,43px); aspect-ratio: 3.25; position: relative; }
.drawing-stage a { position: absolute; inset: 0; }
.drawing-stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.drawing-actions {
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
  padding-top: 16px; border-top: 1px solid var(--line); margin-top: clamp(12px,1.5vw,22px);
}
.drawing-options { gap: 5px; flex-wrap: wrap; }
.drawing-options button {
  padding: 9px 14px; min-height: 40px; border: 1px solid #a4aec0; border-radius: 0;
  color: var(--ink); font-size: .8rem;
}
.drawing-options button[aria-pressed=true] { background: var(--blue); border-color: var(--blue); color: #fff; }
.drawing-options button:hover:not([aria-pressed=true]) { background: #e3e9f5; }
.collections { padding-block: clamp(44px,5.7vw,98px); }
.collections-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(22px,2.4vw,42px); }
.collections-head h2 { font-size: clamp(2.55rem,4.8vw,5.8rem); }
.collection-pair { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(18px,2.4vw,42px); }
.collection-photo { height: clamp(230px,29vw,500px); overflow: hidden; background: var(--wash); }
.collection-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform .55s; }
.collection-entry:hover img { transform: scale(1.025); }
.collection-caption { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.collection-caption h3 { font: 400 clamp(1.8rem,3vw,3.7rem)/1.08 var(--sans); letter-spacing: -.065em; }
.collection-caption .arrow { color: var(--blue); }
.collection-entry p { margin-top: 4px; font-size: .86rem; color: var(--muted); }
.selected-work { padding-block: clamp(36px,4vw,72px) clamp(44px,6.5vw,112px); border-top: 1px solid var(--line); }
.estate-feature { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); background: var(--wash); }
.estate-photo { display: block; align-self: center; }
.estate-photo img { width: 100%; height: auto; }
.estate-copy { align-self: center; padding: clamp(24px,3.2vw,64px); }
.estate-copy h3, .hillside-intro h3 { font: 400 clamp(2.3rem,3.9vw,5.2rem)/1.03 var(--sans); letter-spacing: -.065em; margin: 9px 0 13px; }
.estate-copy > p:not(.project-locale), .hillside-intro > p { max-width: 37ch; color: var(--muted); }
.estate-copy .ink-link { margin-top: 19px; }
.hillside-feature { margin-block: clamp(36px,4.8vw,80px); padding-block: clamp(26px,3.4vw,60px); border-block: 1px solid var(--line); }
.hillside-intro { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: clamp(20px,4.5vw,80px); }
.hillside-intro h3 { margin-bottom: 0; }
.hillside-intro > p { justify-self: end; }
.study-series { margin-top: clamp(22px,2.5vw,42px); }
.study-series h4 { margin: 0 0 10px; font: 600 .83rem/1.45 var(--sans); color: var(--ink); }
.study-plates { display: grid; gap: clamp(14px,1.7vw,30px); }
.study-plates.renderings { grid-template-columns: repeat(2,minmax(0,1fr)); }
.study-plates.aerials { grid-template-columns: repeat(3,minmax(0,1fr)); }
.study-plates a { display: block; cursor: zoom-in; }
.study-plates img { width: 100%; object-fit: cover; }
.study-plates.renderings img { aspect-ratio: 2.43; }
.study-plates.aerials img { aspect-ratio: 1.67; }
.study-plates figcaption { color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 8px; }
.hillside-feature > .ink-link { margin-top: 23px; }
@media (max-width: 700px) {
  .estate-feature, .hillside-intro, .study-plates.renderings, .study-plates.aerials { grid-template-columns: 1fr; }
  .estate-copy { padding: 21px; }
  .hillside-intro { gap: 10px; }
  .hillside-intro > p { justify-self: start; }
  .study-plates.aerials img { aspect-ratio: auto; }
}
.selected-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); align-items: start; gap: clamp(32px,4.8vw,86px) clamp(20px,2.5vw,46px); margin-bottom: clamp(30px,3.7vw,68px); }
.selected-project { grid-column: span 5; }
.selected-project:nth-child(4n+1), .selected-project:nth-child(4n) { grid-column: span 7; }
.selected-project a { display: block; }
.selected-project .collection-photo { height: auto; aspect-ratio: 1.54; }
.selected-project:nth-child(4n+2) .collection-photo, .selected-project:nth-child(4n+3) .collection-photo { aspect-ratio: 1.36; }
.selected-project a:hover img { transform: scale(1.025); }
.selected-meta { margin-top: 16px; }
.selected-meta h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 4px 0 8px; font: 400 clamp(1.8rem,3vw,3.8rem)/1.04 var(--sans); letter-spacing: -.065em; }
.selected-meta h3 .arrow { align-self: center; color: var(--blue); }
.selected-caption { max-width: 51ch; color: var(--muted); font-size: clamp(.94rem,1.15vw,1.1rem); }
.contact-intro .paragraph { max-width: 49ch; }
.contact-intro figcaption .ink-link { margin-top: 6px; }
@media (max-width: 680px) {
  .selected-grid { grid-template-columns: 1fr; }
  .selected-project:nth-child(n) { grid-column: auto; }
  .selected-project:nth-child(n) .collection-photo { aspect-ratio: 1.52; }
}
.studio-feature { background: #eaf0fa; padding-block: clamp(36px,4.2vw,78px); }
.studio-feature-inner { display: grid; grid-template-columns: minmax(240px,.78fr) 1.3fr; align-items: center; gap: clamp(30px,7vw,125px); }
.studio-feature figure { width: 100%; }
.studio-feature figure img { aspect-ratio: 1.53; object-fit: cover; object-position: 60% 38%; }
.studio-feature h2 { font-size: clamp(2.4rem,4.5vw,5.9rem); margin: 12px 0 18px; }
.studio-feature-copy > p:not(.project-locale) { max-width: 51ch; color: var(--ink); }
.studio-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 17px; }
.footer { background: var(--navy); }
.foot-main h2 { font-family: var(--sans); letter-spacing: -.065em; line-height: 1.02; }
.page-title, .info-split .page-title, .project-heading .page-title, .card-meta h3 { font-family: var(--sans); letter-spacing: -.063em; }
.project-heading .page-title { font-size: clamp(3.2rem,6.2vw,7rem); text-wrap: balance; }
.card-meta h3 { font-size: clamp(1.55rem,2.4vw,3rem); }
.line-link, .contact-direct a, .filter-nav a[aria-current=page] { color: var(--blue); }
.solid-link { background: var(--blue); color: #fff; }
.footer :focus-visible, .lightbox :focus-visible { outline-color: white; }
@media (max-width: 990px) {
  .cover-note { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px 5vw; }
  .photo-options { grid-column: 2; }
  .photo-options button { width: auto; display: inline-flex; align-items: center; justify-content: center; flex-direction: row; padding: 2px 9px; border: 1px solid var(--line); min-height: 34px; }
  .photo-options button img { display: none; }
  .photo-options button[aria-pressed=true] { border-color: var(--blue); background: #eff4ff; }
}
@media (max-width: 750px) {
  :root { --mast-height: 89px; }
  .imast .mast-in { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 47px 42px; gap: 0 10px; }
  .imast .wordmark { gap: 6px; justify-self: start; }
  .studio-name { font-size: 1.35rem; }
  .studio-mark { width: 25px; height: 25px; }
  .imast .contact-top { grid-column: 2; grid-row: 1; min-height: 36px; padding: 6px 11px; gap: 8px; font-size: .81rem; }
  .imast .mainnav {
    display: flex; position: static; grid-row: 2; grid-column: 1 / -1; justify-content: space-between;
    width: 100%; gap: 10px; margin: 0; padding: 0; border: 0; border-top: 1px solid #e6e9f0;
  }
  .imast .mainnav a { min-height: 41px; padding: 0; font-size: .84rem; white-space: nowrap; }
  .cover-image { height: auto; aspect-ratio: 1.83; }
  .cover-note { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 12px 20px; padding-block: 21px 23px; }
  .cover-title h1 { font-size: clamp(2.85rem, 7.7vw, 3.6rem); }
  .photo-options { grid-column: 1; grid-row: 2; }
  .cover-details { grid-row: span 2; }
  .drawing-intro { display: block; }
  .drawing-description { max-width: 46ch; margin-top: 13px; }
  .drawing-actions { flex-wrap: wrap; }
  .drawing-stage { aspect-ratio: 2.55; }
  .studio-feature-inner { gap: 28px; grid-template-columns: .85fr 1.1fr; }
}
@media (max-width: 550px) {
  .cover-note { grid-template-columns: 1fr; gap: 10px; }
  .cover-title h1 { font-size: clamp(3.15rem,12vw,4.05rem); margin-top: 6px; }
  .cover-details, .photo-options { grid-row: auto; grid-column: 1; }
  .cover-title .project-locale { font-size: .62rem; }
  .architecture-note { font-size: 1.29rem; }
  .project-jump { margin-top: 5px; }
  .drawing-intro h2 { font-size: clamp(2.3rem,9.9vw,3.5rem); }
  .drawing-options button { font-size: .75rem; padding: 7px 10px; }
  .collections-head { align-items: baseline; }
  .collections-head .ink-link { flex: none; font-size: .75rem; gap: 5px; }
  .collections-head h2 { font-size: clamp(2.1rem,7.5vw,2.7rem); }
  .collection-pair { grid-template-columns: 1fr; gap: 28px; }
  .collection-photo { height: auto; aspect-ratio: 1.52; }
  .collection-caption h3 { font-size: 2.05rem; }
  .studio-feature-inner { grid-template-columns: 1fr; gap: 23px; }
  .studio-feature figure img { aspect-ratio: 1.65; }
}
@media (max-width: 360px) {
  .imast .mast-in { padding-inline: 13px; grid-template-columns: minmax(0,1fr) auto; gap: 0 7px; }
  .studio-name { font-size: 1.12rem; }
  .studio-mark { width: 21px; height: 21px; }
  .imast .contact-top { padding: 6px 9px; gap: 6px; }
  .imast .mainnav a { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .collection-photo img { transition: none; } }

.about-intro { align-items: start; }
.press-feature { background: #eff3f8; color: var(--ink); }
.press-layout { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(30px,7vw,110px); padding-block: clamp(45px,7vw,110px); }
.press-copy h2 { font: 550 clamp(2.65rem,5vw,5.6rem)/.98 var(--sans); letter-spacing: -.065em; margin: 0 0 32px; }
.press-copy h3 { font: 450 clamp(1.8rem,2.8vw,3.1rem)/1.06 var(--serif); margin: 11px 0 15px; }
.press-copy > p:not(.eyebrow) { max-width: 44ch; margin: 12px 0; }
.press-copy .ink-link { margin: 6px 0 14px; }
.press-copy .press-credit { font-size: .87rem; color: var(--muted); }
.press-layout figure { margin: 0; }
.press-layout figure img { width: 100%; height: auto; display: block; }
.press-layout figcaption { margin-top: .6rem; }
.project-cover.paloma-cover { height: auto; min-height: 0; max-height: none; object-fit: contain; }
@media(max-width:680px) { .press-layout { grid-template-columns: 1fr; } .press-copy h2 { margin-bottom: 24px; } }

.paloma-lead { margin: 0; }
.paloma-lead figcaption, .paloma-plates figcaption { margin-top: 8px; color: var(--muted); font-size: .83rem; }
.paloma-plates { padding-bottom: clamp(38px,5vw,80px); }
.paloma-plates h2 { font: 500 clamp(2rem,4vw,4.1rem)/1.05 var(--sans); letter-spacing: -.055em; margin: 0 0 16px; }
.paloma-plates > p { max-width: 58ch; margin-bottom: 24px; }
.paloma-elevations, .paloma-originals { display: grid; gap: 20px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.paloma-plates figure { margin: 0; }
.paloma-plates figure img { display: block; width: 100%; height: auto; }
.paloma-elevations figure { display: flex; flex-direction: column; justify-content: end; }
.paloma-cutaway { max-width: 920px; margin: clamp(24px,4vw,54px) auto 0; }
.paloma-originals { grid-template-columns: repeat(4,minmax(0,1fr)); }
.paloma-originals img { aspect-ratio: 1.7; object-fit: contain; }
@media(max-width:680px) { .paloma-elevations { grid-template-columns: 1fr; } .paloma-originals { grid-template-columns: 1fr 1fr; } }

.footer .local-cell { display: block; margin-top: 16px; font-size: .8rem; color: #d9e3f5; }
.footer .cell-number { margin-top: 3px; }
.drawing-description h3 { margin: 0 0 7px; color: var(--ink); font: 520 clamp(1.35rem,2.2vw,2.4rem)/1.15 var(--sans); letter-spacing: -.045em; }
.drawing-intro a:hover, .boards-cover a:hover h2 { text-decoration: underline; text-underline-offset: .12em; }
.boards-cover { margin-bottom: clamp(30px,5vw,82px); }
.boards-cover a { display: block; }
.boards-cover img { display: block; width: 100%; max-height: 42vw; object-fit: contain; background: var(--wash); }
.boards-cover .project-locale { margin: 16px 0 5px; }
.boards-cover h2, .background-section h2 { font: 480 clamp(1.95rem,3.3vw,4rem)/1.04 var(--sans); letter-spacing: -.055em; margin: 0; }
.background-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px,6vw,85px); padding-block: clamp(38px,5vw,80px); border-top: 1px solid var(--line); }
.background-section p { max-width: 60ch; }
.background-section p + p { margin-top: 14px; }
@media(max-width:680px) { .background-section { grid-template-columns: 1fr; } }

.portfolio-group > h2 { font: 480 clamp(2rem,3.6vw,4rem)/1.08 var(--sans); letter-spacing: -.055em; margin: 0 0 1.4rem; }
.sketch-contact { margin: .8rem 0; }
.faq details .line-link { margin: 0 0 1rem; }
@media(max-width:880px) and (min-width:751px) { .imast .mainnav { gap: 11px; } .imast .mast-in { gap:12px; } }
@media(max-width:550px) { .imast .mainnav { gap: 6px; } .imast .mainnav a { font-size: .76rem; } }

/* The complete primary navigation stays reachable at intermediate and phone widths. */
@media (min-width:751px) and (max-width:1150px){
  :root{--mast-height:91px}
  .imast .mast-in{display:grid;grid-template-columns:1fr auto;grid-template-rows:48px 42px;gap:0 10px}
  .imast .mainnav{grid-row:2;grid-column:1/-1;display:flex;position:static;justify-content:space-between;width:100%;margin:0}
  .imast .contact-top{grid-row:1;grid-column:2;min-height:35px}
}
@media (max-width:750px){
  .imast .mainnav{display:flex;justify-content:flex-start;gap:16px;overflow-x:auto;max-width:100%;scrollbar-width:thin}
  .imast .mainnav a{flex:none}
}
.pricing-intro .pricing-rate{font:500 clamp(1.7rem,3vw,3.6rem)/1.15 var(--sans);color:var(--blue);letter-spacing:-.055em}
.pricing-intro .paragraph{margin-bottom:18px}
.pricing-scope .service-row p+p{margin-top:12px}
@media (max-width:550px){
  :root{--mast-height:116px}
  .imast .mast-in{grid-template-rows:47px 69px}
  .imast .mainnav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 4px;overflow:visible;align-content:center}
  .imast .mainnav a{font-size:.76rem;min-height:32px;justify-content:center}
}
