:root {
  --page-soft: #f3f6ff;
  --page-deep: #062779;
  --page-gutter: clamp(22px, 4.5vw, 64px);
}

.site-page { color: var(--rm-blue); background: white; }
.site-page main { overflow: clip; }
.site-page h1, .site-page h2, .site-page h3, .site-page p, .site-page figure { margin: 0; }
.site-page img { display: block; width: 100%; height: auto; background: var(--page-soft); }
.site-page a, .site-page button { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 220ms cubic-bezier(.16, 1, .3, 1); }
.page-eyebrow { display: block; margin-bottom: 18px; font-size: 13px; font-weight: 750; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; }
.page-index { font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }

.page-breadcrumb { min-height: 58px; display: flex; align-items: center; border-bottom: 1px solid var(--rm-rule); }
.page-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; color: var(--rm-muted); font-size: 13px; }
.page-breadcrumb li { display: inline-flex; gap: 7px; align-items: center; }
.page-breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }

.page-hero { min-height: min(780px, calc(100dvh - 146px)); background: var(--rm-blue); color: white; }
.page-hero-split { display: grid; }
.page-hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(64px, 8vw, 116px) var(--page-gutter) 46px; }
.page-hero h1, .work-index-hero h1, .process-hero h1 { max-width: 11ch; font-size: clamp(50px, 12.7vw, 112px); font-weight: 800; line-height: .92; letter-spacing: -.07em; text-wrap: balance; }
.page-hero-copy p { max-width: 36ch; margin-top: 28px; color: #e6ecff; font-size: clamp(17px, 2vw, 23px); line-height: 1.5; letter-spacing: -.025em; }
.page-hero-media { position: relative; min-height: 52svh; overflow: hidden; background: var(--page-soft); }
.page-hero-media img { height: 100%; min-height: 52svh; object-fit: cover; }
.page-hero-media figcaption { position: absolute; right: 14px; bottom: 12px; padding: 6px 9px; background: #fff; color: var(--rm-muted); font-size: 11px; }

.page-intro { display: grid; gap: 28px; border-bottom: 1px solid var(--rm-rule); }
.page-intro h2 { max-width: 11ch; font-size: clamp(40px, 8vw, 76px); }
.page-intro > div { align-self: end; }
.page-intro p { max-width: 50ch; color: var(--rm-muted); font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.page-intro .rm-text-link { margin-top: 24px; }

.page-section-heading { display: grid; gap: 18px; margin-bottom: clamp(32px, 6vw, 72px); }
.page-section-heading h2 { max-width: 13ch; }
.page-section-heading p { max-width: 35ch; color: var(--rm-muted); font-size: 17px; }
.page-gallery-grid { display: grid; gap: 42px 14px; }
.page-gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; }
.page-gallery-item:nth-child(3n + 2) img { aspect-ratio: 3 / 4; }
.page-gallery-item figcaption { padding-top: 12px; color: var(--rm-muted); font-size: 13px; }

.page-planning { padding-block: clamp(64px, 9vw, 128px); color: white; background: var(--rm-blue); }
.page-planning-inner { display: grid; gap: 44px; }
.page-planning h2 { max-width: 8ch; color: white; }
.page-planning ul { margin: 0; padding: 0; list-style: none; counter-reset: planning; }
.page-planning li { position: relative; min-height: 74px; padding: 22px 0 22px 46px; border-top: 1px solid #ffffff59; font-size: clamp(17px, 2vw, 22px); font-weight: 650; counter-increment: planning; }
.page-planning li:last-child { border-bottom: 1px solid #ffffff59; }
.page-planning li::before { content: '0' counter(planning); position: absolute; left: 0; top: 24px; font-size: 12px; font-variant-numeric: tabular-nums; }
.page-planning-inner > p { max-width: 47ch; align-self: end; color: #e6ecff; font-size: clamp(18px, 2.2vw, 25px); line-height: 1.55; }

.page-faq { display: grid; gap: 42px; }
.page-faq h2 { max-width: 8ch; }
.page-faq details { border-top: 1px solid var(--rm-rule); }
.page-faq details:last-child { border-bottom: 1px solid var(--rm-rule); }
.page-faq summary { display: grid; grid-template-columns: 34px 1fr 28px; gap: 8px; align-items: center; min-height: 78px; padding: 18px 0; cursor: pointer; font-size: clamp(17px, 2vw, 21px); font-weight: 750; list-style: none; }
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq summary > span { align-self: start; padding-top: 5px; font-size: 12px; font-weight: 650; }
.page-faq summary i { position: relative; width: 28px; height: 28px; }
.page-faq summary i::before, .page-faq summary i::after { content: ''; position: absolute; inset: 50% 4px auto; height: 1px; background: currentColor; }
.page-faq summary i::after { transform: rotate(90deg); }
.page-faq details[open] summary i::after { transform: rotate(0); }
.page-faq details p { max-width: 61ch; padding: 0 30px 26px 42px; color: var(--rm-muted); font-size: 16px; line-height: 1.65; }

.page-related h2 { margin-bottom: 30px; }
.page-related nav { border-bottom: 1px solid var(--rm-rule); }
.page-related a { display: grid; grid-template-columns: 38px 1fr 34px; gap: 12px; align-items: center; min-height: 84px; border-top: 1px solid var(--rm-rule); text-decoration: none; }
.page-related a > span { font-size: 12px; font-weight: 650; }
.page-related a > strong { font-size: clamp(19px, 2.2vw, 25px); letter-spacing: -.03em; }
.page-related a > i { font-size: 27px; font-style: normal; }
.page-related a:hover i { transform: translateX(4px); }

.page-cta { padding-block: clamp(72px, 9vw, 130px); color: white; background: var(--rm-blue); }
.page-cta-inner { display: grid; gap: 36px; }
.page-cta h2 { max-width: 8ch; color: white; }
.page-cta p { max-width: 42ch; margin-bottom: 28px; color: #e6ecff; font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.page-cta .rm-button { min-width: min(100%, 270px); }

.work-index-hero, .process-hero { min-height: min(680px, calc(100dvh - 146px)); display: flex; flex-direction: column; justify-content: flex-end; padding-block: clamp(80px, 12vw, 160px) 56px; }
.site-page-how-we-work .process-hero { min-height: 0; justify-content: flex-start; padding-block: clamp(32px, 5vw, 72px) clamp(32px, 4vw, 56px); }
.work-index-hero h1, .process-hero h1 { max-width: 12ch; }
.work-index-hero p, .process-hero p { max-width: 41ch; margin-top: 30px; color: var(--rm-muted); font-size: clamp(18px, 2.2vw, 25px); line-height: 1.5; }
.work-index { border-top: 1px solid var(--rm-rule); }
.work-toolbar { display: grid; gap: 24px; margin-bottom: 44px; }
.work-toolbar h2 { font-size: clamp(26px, 3.2vw, 40px); }
.work-toolbar h2 span { font-variant-numeric: tabular-nums; }
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.work-filters button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--rm-rule); border-radius: 999px; color: var(--rm-blue); background: white; font-size: 14px; font-weight: 700; }
.work-filters button[aria-pressed='true'], .work-filters button:hover { color: white; border-color: var(--rm-blue); background: var(--rm-blue); }
.work-grid { display: grid; gap: 54px 16px; }
.work-card[hidden] { display: none; }
.work-card a { display: block; text-decoration: none; }
.work-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.work-card:nth-child(3n + 2) img { aspect-ratio: 3 / 4; }
.work-card-meta { display: grid; grid-template-columns: 1fr 34px; gap: 7px 16px; padding-top: 14px; }
.work-card-meta > span { grid-column: 1 / -1; color: var(--rm-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.work-card-meta strong { font-size: clamp(19px, 2.3vw, 27px); letter-spacing: -.04em; }
.work-card-meta i { font-size: 25px; font-style: normal; }
.work-card a:hover img { transform: scale(1.015); }
.work-card a:hover i { transform: translateX(4px); }
.work-card a { overflow: hidden; }

.project-observations { display: grid; gap: clamp(70px, 10vw, 140px); }
.project-observations article { display: grid; gap: 18px; }
.project-observations article > span { font-size: 13px; font-weight: 750; }
.project-observations h2 { max-width: 9ch; font-size: clamp(42px, 7vw, 74px); }
.project-observations p { max-width: 39ch; color: var(--rm-muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.project-observations img { margin-top: 12px; max-height: 810px; object-fit: cover; }

.about-photo-story { display: grid; gap: 56px 18px; }
.about-photo-story figure img { aspect-ratio: 4 / 3; object-fit: cover; }
.about-photo-story figure:nth-child(2) img { aspect-ratio: 3 / 4; }
.about-photo-story figcaption { display: grid; gap: 4px; padding-top: 14px; }
.about-photo-story figcaption strong { font-size: clamp(20px, 2.3vw, 28px); letter-spacing: -.03em; }
.about-photo-story figcaption span { max-width: 42ch; color: var(--rm-muted); }

.process-steps { display: grid; gap: 1px; padding-top: 0; }
.process-steps article { display: grid; grid-template-columns: 34px 1fr; gap: 24px 10px; padding-block: clamp(50px, 7vw, 92px); border-top: 1px solid var(--rm-rule); }
.process-number { padding-top: 8px; font-size: 13px; font-weight: 750; }
.process-steps h2 { max-width: 10ch; font-size: clamp(38px, 7vw, 70px); }
.process-steps p { max-width: 32ch; margin-top: 16px; color: var(--rm-muted); font-size: clamp(17px, 2vw, 21px); }
.process-steps figure { grid-column: 1 / -1; }
.process-steps img { aspect-ratio: 4 / 3; object-fit: cover; }

@media (min-width: 700px) {
  .page-gallery-grid, .work-grid { grid-template-columns: 1fr 1fr; }
  .page-gallery-item:nth-child(4n + 1), .work-card:nth-child(4n + 1) { margin-top: 90px; }
  .work-card:nth-child(3n + 2) { padding-inline: 7%; }
  .about-photo-story { grid-template-columns: 1.25fr .75fr; align-items: start; }
  .about-photo-story figure:nth-child(2) { margin-top: 150px; }
}

@media (min-width: 900px) {
  .page-hero-split { grid-template-columns: .82fr 1.18fr; min-height: min(790px, calc(100dvh - 146px)); }
  .page-hero-copy { min-width: 0; padding-left: max(var(--page-gutter), calc((100vw - 1280px) / 2 + var(--page-gutter))); }
  .page-hero h1 { font-size: clamp(62px, 6.5vw, 100px); }
  .page-hero-media, .page-hero-media img { min-height: min(790px, calc(100dvh - 146px)); }
  .page-intro { grid-template-columns: 80px 1.15fr .85fr; gap: 44px; }
  .page-section-heading { grid-template-columns: 1.2fr .8fr; }
  .page-section-heading .page-eyebrow { grid-column: 1 / -1; }
  .page-section-heading p { align-self: end; }
  .page-gallery-grid { grid-template-columns: 1.08fr .92fr; gap: 90px 28px; }
  .page-gallery-item:nth-child(4n + 1) { margin-top: 120px; }
  .page-gallery-item:nth-child(4n + 3) { width: 78%; justify-self: end; }
  .page-gallery-item:nth-child(4n + 4) { width: 88%; }
  .page-planning-inner, .page-cta-inner { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .page-planning ul { align-self: end; }
  .page-faq { grid-template-columns: .7fr 1.3fr; gap: 80px; }
  .page-faq header { position: sticky; top: 130px; align-self: start; }
  .page-related a { grid-template-columns: 50px 1fr 48px; min-height: 104px; }
  .work-index-hero, .process-hero { min-height: min(720px, calc(100dvh - 146px)); }
  .work-toolbar { grid-template-columns: .6fr 1.4fr; align-items: end; }
  .work-filters { justify-content: flex-end; }
  .work-grid { grid-template-columns: 1.15fr .85fr; gap: 110px 34px; }
  .work-card:nth-child(4n + 1) { margin-top: 130px; }
  .work-card:nth-child(4n + 2) { padding-inline: 9%; }
  .project-observations article { grid-template-columns: 50px .62fr 1.38fr; gap: 24px 32px; align-items: start; }
  .project-observations article > span { padding-top: 12px; }
  .project-observations article > p { grid-column: 2; }
  .project-observations article > img { grid-column: 3; grid-row: 1 / 4; margin: 0; }
  .project-observations article:nth-child(even) { grid-template-columns: 1.38fr 50px .62fr; }
  .project-observations article:nth-child(even) > img { grid-column: 1; }
  .project-observations article:nth-child(even) > span { grid-column: 2; }
  .project-observations article:nth-child(even) > h2, .project-observations article:nth-child(even) > p { grid-column: 3; }
  .process-steps article { grid-template-columns: 50px .75fr 1.25fr; gap: 40px; align-items: start; }
  .process-steps figure { grid-column: 3; grid-row: 1; }
}

@media (max-width: 480px) {
  .page-hero-copy { padding-top: 54px; }
  .page-hero h1, .work-index-hero h1, .process-hero h1 { font-size: clamp(43px, 12vw, 52px); text-wrap: pretty; }
  .page-hero h1 { max-width: 9ch; }
  .work-index-hero h1, .process-hero h1 { max-width: 100%; }
  .page-intro h2, .page-section-heading h2, .page-planning h2, .page-faq h2, .page-related h2, .page-cta h2 { font-size: 40px; }
  .work-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .work-filters button:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .site-page a, .site-page button, .site-page img { transition: none; }
}

/* Selected How we work pair: plan decisions, then real workshop and installation. */
.process-filter { position: absolute; pointer-events: none; }
.process-plan { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 36px; }
.process-plan-heading h1 { font-size: clamp(46px, 5vw, 72px); line-height: 1.02; letter-spacing: -.06em; font-weight: 800; text-wrap: balance; }
.process-plan-heading > p { max-width: 40ch; margin-top: 18px; font-size: clamp(18px, 1.85vw, 25px); line-height: 1.4; }
.process-drawing { position: relative; min-width: 0; }
.site-page .process-drawing img { aspect-ratio: 1.1; object-fit: cover; background: transparent; filter: url(#process-blue-linework); }
.process-drawing figcaption { text-align: right; font-size: 11px; margin-top: 6px; }
.process-decisions { display: grid; margin: 0; }
.process-decisions > div { padding-block: 16px; border-bottom: 1px solid var(--rm-rule); }
.process-decisions > div:first-child { padding-top: 0; }
.process-decisions dt { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.045em; font-weight: 800; }
.process-decisions dd { margin: 5px 0 0; font-size: 15px; line-height: 1.45; }
.process-scope-note { font-size: 13px; line-height: 1.5; }
.process-making { color: white; background: var(--rm-blue); }
.process-making-inner { padding-top: 36px; padding-bottom: 40px; }
.process-making h2 { font-size: clamp(32px, 9.2vw, 42px); line-height: 1.02; letter-spacing: -.06em; font-weight: 800; }
.process-making-heading > p { font-size: clamp(18px, 2vw, 25px); line-height: 1.4; margin-top: 16px; }
.process-making-photos { display: grid; gap: 28px; margin-top: 28px; }
.site-page .process-making-photos img { aspect-ratio: 4 / 3; object-fit: cover; }
.process-making-photos figcaption { display: grid; gap: 4px; padding-top: 12px; }
.process-making-photos strong { font-size: clamp(21px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -.04em; font-weight: 800; }
.process-making-photos span { font-size: 15px; line-height: 1.4; }
.process-making-action { margin-top: 28px; }
.process-making-action .rm-button { gap: 20px; width: 100%; }
.process-making-action > p { font-size: 13px; line-height: 1.5; margin-top: 14px; color: #e6ecff; }
@media (min-width: 900px) {
  .process-plan { grid-template-columns: 1.2fr 1fr; grid-template-areas: 'heading drawing' 'decisions drawing' 'note drawing'; gap: 32px 24px; padding-top: 64px; padding-bottom: 64px; }
  .process-plan-heading { grid-area: heading; }
  .process-plan-heading h1 { white-space: nowrap; font-size: clamp(46px, 6vw, 72px); }
  .process-plan-heading > p { font-size: clamp(20px, 2.25vw, 25px); }
  .process-drawing { grid-area: drawing; align-self: center; }
  .process-decisions { grid-area: decisions; grid-template-columns: 1fr 1fr; }
  .process-decisions dt { font-size: clamp(22px, 2.6vw, 30px); }
  .process-decisions > div { padding: 20px 18px 20px 0; border-bottom: 0; }
  .process-decisions > div:first-child { padding-top: 20px; }
  .process-decisions > div:nth-child(even) { border-left: 1px solid var(--rm-rule); padding-left: 22px; padding-right: 0; }
  .process-decisions > div:nth-child(-n+2) { border-bottom: 1px solid var(--rm-rule); }
  .process-scope-note { grid-area: note; }
  .process-making-inner { padding-top: 52px; padding-bottom: 52px; }
  .process-making h2 { font-size: clamp(52px, 6.5vw, 78px); }
  .process-making-photos { grid-template-columns: .86fr 1fr; gap: 24px; }
  .site-page .process-making-photos img { height: clamp(240px, 26vw, 380px); aspect-ratio: auto; }
  .process-making-action .rm-button { width: auto; }
}
