/* Secondary pages extend the approved Materials & Living visual language. */
html:has(.reading-dialog[open]) { scrollbar-gutter: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.reading-dialog { width: 1360px; height: calc(100dvh - 40px); max-width: calc(100% - 48px); max-height: none; margin: auto; padding: 0; border: 0; border-radius: 3px; background: var(--paper); color: var(--ink); overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scroll-padding-top: 98px; }
.reading-dialog::backdrop { background: #171611b8; }
.reading-toolbar { position: sticky; top: 0; z-index: 5; min-height: 76px; display: flex; align-items: center; gap: 24px; padding: 12px 26px; background: var(--paper); border-bottom: 1px solid var(--line); }
.return-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 12px; white-space: nowrap; }
.return-link .arrow { width: 15px; height: 15px; transform: rotate(180deg); }
.return-link:hover .arrow { transform: translateX(-3px) rotate(180deg); }
.reading-brand { margin-left: 18px; padding-left: 28px; border-left: 1px solid var(--line); font: 18px/1.4 var(--serif); letter-spacing: .2em; }
.reading-consult, .toolbar-caption { margin-left: auto; }
.reading-consult { min-height: 44px; font-size: 12px; padding: 9px 18px; }
.toolbar-caption { font-size: 12px; color: var(--muted); }
.reading-toolbar .close-button { color: var(--muted); }
.reading-consult[hidden] + .close-button { margin-left: auto; }
.page-shell { padding: 34px clamp(28px, 4.2vw, 66px) 64px; }
.reading-dialog h1 { font: 400 clamp(36px, 4vw, 56px)/1.25 var(--serif); letter-spacing: .02em; }
.reading-dialog h1:focus { outline: none; }
.reading-dialog h2 { font: 27px/1.4 var(--serif); }
.reading-dialog h3 { font-weight: 400; }
.page-category { font-size: 12px; line-height: 1.8; color: var(--accent); margin-bottom: 16px; }
.page-intro { margin-top: 22px; max-width: 42em; font-size: 14px; line-height: 1.9; color: var(--muted); }
.page-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; margin-bottom: 34px; }
.page-breadcrumb .text-link { min-height: 28px; font-size: inherit; gap: 8px; }
.page-breadcrumb .arrow { display: none; }
.page-breadcrumb a:hover { color: var(--accent); }
.secondary-section-heading { display: flex; align-items: center; gap: 24px; justify-content: space-between; margin-bottom: 25px; }
.secondary-section-heading .text-link { color: var(--muted); }
.media-frame { position: relative; background: #e4ded5; overflow: hidden; aspect-ratio: 3 / 2; }
.media-frame img, .image-open { width: 100%; height: 100%; }
.media-frame img { display: block; object-fit: cover; transition: opacity 240ms ease; }
.image-open { display: block; padding: 0; cursor: zoom-in; }
.image-open img { transition: transform 700ms var(--ease), opacity 240ms ease; }
.image-open:hover img { transform: scale(1.025); }
.image-open:focus-visible { outline-offset: -5px; outline-color: white; }
.media-frame.is-failed img { opacity: 0; }
.media-failure { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 24px; color: var(--muted); font-size: 14px; text-align: center; }
.media-failure .text-link { color: var(--ink); }
.case-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.case-heading > p { color: var(--muted); font-size: 13px; padding-bottom: 8px; }
.case-overview { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(250px, 1fr); gap: clamp(28px, 4vw, 60px); }
.case-gallery { min-width: 0; }
.case-brief { padding-top: 6px; }
.case-brief h2 { font-size: 22px; }
.case-brief > p { font-size: 14px; color: var(--muted); line-height: 1.95; margin-top: 18px; }
.case-facts { display: grid; gap: 14px; margin: 28px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.case-facts > div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px; font-size: 13px; }
.case-facts dt { color: var(--muted); }
.case-facts dd { margin: 0; }
.case-material-links h3 { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.case-material-links a { display: flex; min-height: 36px; font-size: 13px; }
.case-material-links .arrow { width: 14px; height: 14px; }
.gallery-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.photo-tabs { display: flex; gap: 24px; margin-top: 15px; border-bottom: 1px solid var(--line); }
.photo-tabs button { position: relative; min-height: 48px; white-space: nowrap; font-size: 13px; color: var(--muted); padding: 12px 0; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.photo-tabs button[aria-selected="true"] { color: var(--accent); border-color: var(--accent); }
.gallery-caption { margin-top: 15px; font-size: 12px; color: var(--muted); line-height: 1.8; min-height: 22px; }
.single-photo { grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr); }
.single-photo .media-frame { aspect-ratio: 1.1; }
.single-photo .media-frame img { object-position: center 55%; }
.design-notes { display: grid; grid-template-columns: .8fr 2fr; gap: 40px; margin-top: 52px; padding: 34px 0; border-block: 1px solid var(--line); }
.design-notes > div { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.design-notes h3 { font-size: 16px; margin-bottom: 12px; }
.design-notes p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.case-records { margin-top: 48px; }
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.record-grid figcaption { padding-top: 18px; }
.record-grid h3 { font: 21px/1.4 var(--serif); margin-bottom: 8px; }
.record-grid p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.related-section { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 32px; }
.related-works { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.work-card { min-width: 0; }
.work-card a { display: block; }
.work-photo { aspect-ratio: 1.6; overflow: hidden; background: #e4ded5; }
.work-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms var(--ease); }
.work-card a:hover img, .work-card a:focus-visible img { transform: scale(1.035); }
.work-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 17px; }
.work-title h3 { font: 24px/1.4 var(--serif); }
.work-title .arrow { width: 17px; height: 17px; color: var(--accent); }
.work-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; color: var(--muted); font-size: 12px; }
.work-meta span { border-left: 1px solid #cfc7bc; padding-left: 10px; }
.work-summary { font-size: 12px; color: var(--muted); margin-top: 10px; }
.related-works .work-card:only-child { grid-column: 1 / -1; }
.related-works .work-card:only-child a { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr auto auto 1fr; column-gap: 40px; }
.related-works .work-card:only-child .work-photo { grid-row: 1 / 5; }
.related-works .work-card:only-child .work-title { align-self: end; }
.directory-heading { padding-top: 20px; margin-bottom: 40px; }
.case-filter-bar { display: flex; justify-content: space-between; gap: 28px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.scope-options { display: flex; gap: 22px; }
.scope-options button { padding-block: 10px; min-height: 44px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 13px; white-space: nowrap; }
.scope-options button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.case-filter-inputs { display: flex; align-items: center; gap: 16px; }
.search-field input { width: 225px; min-height: 44px; padding: 10px 14px; background: #efebe4; color: var(--ink); border: 1px solid #d8d1c7; border-radius: 3px; font: 12px var(--sans); }
.search-field input::placeholder { color: #79736b; }
.area-field { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.area-field select { min-height: 44px; padding: 8px 26px 8px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); font: 12px var(--sans); }
.case-result-heading { min-height: 62px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.case-result-heading .text-link { font-size: 12px; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.directory-grid .work-photo { aspect-ratio: 1.16; }
.directory-grid .work-title h3 { font-size: 23px; }
.page-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 340px; padding-block: 54px; }
.empty-mark { font: 38px/1 var(--serif); color: var(--accent); margin-bottom: 24px; }
.page-empty h1, .page-empty h2 { font: 28px/1.45 var(--serif); }
.page-empty p { font-size: 13px; color: var(--muted); margin-top: 12px; }
.page-empty .button { margin-top: 24px; }
.missing-page { min-height: calc(100dvh - 180px); }
.material-switcher { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin-bottom: 40px; overflow-x: auto; }
.material-switcher a { min-height: 48px; padding-block: 12px; white-space: nowrap; font-size: 13px; color: var(--muted); border-bottom: 2px solid transparent; }
.material-switcher a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
.material-spread { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.material-main-photo .media-frame { aspect-ratio: 1; }
.material-article { padding-top: 4px; }
.material-article .page-intro { margin-bottom: 32px; }
.material-note + .material-note { margin-top: 26px; }
.material-note h2 { font-size: 21px; margin-bottom: 10px; }
.material-note p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.material-checks { display: grid; grid-template-columns: .8fr 2fr; gap: 40px; padding-block: 34px; margin-top: 48px; border-block: 1px solid var(--line); }
.material-checks ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.material-checks li > span { display: block; color: var(--accent); font-size: 11px; margin-bottom: 12px; }
.material-checks h3 { font-size: 15px; margin-bottom: 10px; }
.material-checks p { font-size: 12px; color: var(--muted); line-height: 1.85; }
.material-case { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 50px; margin-top: 50px; }
.material-case p { color: var(--muted); font-size: 13px; margin-top: 16px; max-width: 24em; }
.material-case .text-link { margin-top: 20px; color: var(--accent); }
.material-case img { width: 100%; aspect-ratio: 1.9; object-fit: cover; }
.service-hero { display: grid; grid-template-columns: 1fr 1.04fr; gap: 60px; align-items: center; }
.service-hero header { padding-block: 20px; }
.service-lead { font: 25px/1.6 var(--serif); margin-top: 28px; max-width: 14em; text-wrap: balance; }
.service-description { font-size: 14px; color: var(--muted); line-height: 1.95; max-width: 30em; margin-top: 22px; }
.service-hero header .text-link { margin-top: 30px; color: var(--accent); }
.service-hero .media-frame { aspect-ratio: 1.03; }
.service-focus { padding: 42px 0; border-bottom: 1px solid var(--line); margin-top: 30px; scroll-margin-top: 100px; }
.service-focus > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 24px; }
.service-focus h3 { font-size: 17px; margin-bottom: 12px; }
.service-focus p { font-size: 13px; color: var(--muted); line-height: 1.85; max-width: 22em; }
.service-arrangement { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; margin-top: 44px; }
.service-arrangement > div:first-child > p { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 18px; }
.service-arrangement .text-link { margin-top: 14px; color: var(--accent); }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
.service-steps details, .common-questions details { border-bottom: 1px solid var(--line); }
.service-steps summary { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.step-number { font-size: 11px; color: var(--accent); }
.service-steps h3 { font: 22px/1.5 var(--serif); }
.disclosure-sign { position: relative; display: block; width: 16px; height: 16px; flex: none; margin-left: auto; color: var(--muted); }
.disclosure-sign::before, .disclosure-sign::after { position: absolute; content: ''; width: 12px; height: 1px; background: currentColor; left: 2px; top: 7px; }
.disclosure-sign::after { transform: rotate(90deg); transition: transform 220ms var(--ease); }
details[open] > summary .disclosure-sign::after { transform: rotate(0); }
.service-steps details > p { margin: 0 30px 24px 35px; font-size: 13px; line-height: 1.85; color: var(--muted); }
.common-questions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; margin-top: 54px; }
.common-questions summary { display: flex; gap: 24px; align-items: center; min-height: 62px; font-size: 14px; }
.common-questions details p { font-size: 13px; color: var(--muted); line-height: 1.85; padding: 0 24px 24px 0; }
.process-heading { padding: 20px 0 38px; }
.process-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 65px; border-top: 1px solid var(--line); padding-top: 36px; }
.process-aside { align-self: start; position: sticky; top: 105px; }
.process-aside .media-frame { aspect-ratio: 1.55; }
.process-aside > p { margin-top: 22px; font-size: 13px; color: var(--muted); line-height: 1.9; }
.process-aside nav { margin-top: 24px; display: grid; gap: 2px; }
.process-aside nav button { display: flex; align-items: center; gap: 14px; min-height: 44px; text-align: left; font-size: 12px; }
.process-aside nav button > span { color: var(--accent); font-size: 10px; }
.process-aside nav button:hover { color: var(--accent); }
.process-stages details { border-bottom: 1px solid var(--line); scroll-margin-top: 104px; }
.process-stages summary { display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; gap: 22px; padding: 30px 0; align-items: start; }
.process-stages details:first-child summary { padding-top: 0; }
.process-number { font: 29px/1.4 var(--serif); color: var(--accent); }
.process-stages summary h2 { font-size: 25px; }
.process-stages summary p { margin-top: 14px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.process-stages .disclosure-sign { margin-top: 9px; }
.process-stage-content { margin: 0 25px 30px 68px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 25px; background: #ede7dd; }
.process-stage-content h3 { font-size: 13px; margin-bottom: 10px; }
.process-stage-content p { font-size: 12px; color: #686057; line-height: 1.9; }
.process-service-note { grid-column: 1 / -1; border-top: 1px solid #d9d0c4; padding-top: 18px; }
.process-end { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.process-end > p { margin-top: 14px; color: var(--muted); font-size: 13px; }
.process-end > div { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 16px; }
.about-heading { padding: 20px 0 34px; }
.about-photo .media-frame { aspect-ratio: 2.8; }
.about-photo img { object-position: 50% 62%; }
.about-introduction { display: grid; grid-template-columns: 1fr 1.35fr; gap: 70px; padding: 44px 0; }
.about-introduction h2 { max-width: 12em; font-size: 29px; }
.about-introduction p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.about-introduction p + p { margin-top: 18px; }
.about-introduction .text-link { margin-top: 20px; color: var(--accent); }
.about-services { border-top: 1px solid var(--line); padding-top: 28px; }
.about-services > h2 { margin-bottom: 14px; }
.about-services > a { display: grid; grid-template-columns: 1fr 1.35fr 22px; align-items: center; gap: 28px; min-height: 90px; border-bottom: 1px solid var(--line); }
.about-service-name { font: 26px/1.4 var(--serif); }
.about-services a > span:nth-child(2) { font-size: 13px; color: var(--muted); }
.about-services a:hover .arrow { transform: translateX(4px); }
.about-address { margin-top: 48px; display: flex; gap: 28px; align-items: center; }
.about-address > img { width: 60px; height: 60px; object-fit: contain; }
.about-address h2 { font-size: 20px; margin-bottom: 9px; }
.about-address p { color: var(--muted); font-size: 12px; line-height: 1.9; }
.about-phones { display: flex; gap: 12px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.about-phones > div { display: grid; gap: 2px; }
.about-address > a { margin-left: auto; font-size: 12px; }
.consultation-layout { display: grid; grid-template-columns: 1fr 1.07fr; gap: clamp(38px, 6vw, 90px); padding-top: 58px; }
.consultation-copy h1 { font-size: clamp(32px, 3.3vw, 45px); white-space: nowrap; }
.consultation-source { font-size: 12px; color: var(--accent); margin-top: 20px; }
.consultation-phones { margin-top: 30px; border-top: 1px solid var(--line); }
.consultation-phones > div { border-bottom: 1px solid var(--line); display: flex; gap: 22px; min-height: 76px; align-items: center; }
.phone-link { display: flex; align-items: center; gap: 24px; justify-content: space-between; flex: 1; min-height: 60px; }
.phone-link > span:first-child { font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone-link > span:last-child { font-size: 11px; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.phone-link .arrow { width: 12px; height: 12px; }
.copy-button { color: var(--muted); font-size: 11px; min-height: 44px; min-width: 48px; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.copy-button:hover { color: var(--accent); }
.copy-button:disabled { opacity: .55; cursor: wait; }
.copy-feedback { min-height: 22px; margin-top: 12px; font-size: 12px; color: var(--accent); }
.consultation-prepare { margin-top: 30px; }
.consultation-prepare h2 { font-size: 22px; }
.consultation-prepare ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; color: #5d584f; font-size: 13px; }
.consultation-prepare li { display: flex; gap: 14px; }
.consultation-prepare li::before { content: '·'; color: var(--accent); }
.consultation-prepare > p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.consultation-location { padding-top: 5px; }
.visit-heading h2 { font-size: 25px; margin-bottom: 11px; }
.visit-heading > span { font-size: 12px; color: var(--muted); }
.visit-address { margin: 20px 0 24px; font-size: 17px; line-height: 1.8; }
.consultation-location .location-map { height: 360px; }
.visit-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.visit-actions .map-link { margin-top: 0; }
.visit-note { font-size: 12px; color: var(--muted); margin-top: 16px; }
.photo-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; color: #f1ece3; background: #242421; }
.photo-dialog::backdrop { background: #242421; }
.photo-dialog[open] { display: grid; grid-template-rows: 66px minmax(0, 1fr) auto; }
.viewer-toolbar { display: flex; align-items: center; gap: 22px; padding: 10px 24px; border-bottom: 1px solid #49453d; font-size: 12px; }
.viewer-toolbar [data-viewer-count] { margin-left: auto; color: #c2baae; font-variant-numeric: tabular-nums; }
.viewer-toolbar .close-button:hover { background: #454138; }
.viewer-stage { min-height: 0; display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.viewer-image { flex: 1; min-width: 0; height: 100%; }
.viewer-image .media-frame { height: 100%; aspect-ratio: auto; background: transparent; }
.viewer-image .media-frame img { object-fit: contain; }
.viewer-image .media-failure, .viewer-image .media-failure .text-link { color: #e0d8ca; }
.viewer-prev, .viewer-next { width: 44px; height: 56px; flex: none; font-size: 25px; color: #d8cbb9; }
.viewer-prev:hover, .viewer-next:hover { background: #454138; }
.viewer-caption { padding: 4px 28px 22px; font-size: 12px; text-align: center; color: #c6beb1; line-height: 1.8; }

@media (prefers-reduced-motion: no-preference) {
  .reading-dialog details[open] > :not(summary) { animation: detail-unfold 240ms ease-out both; }
}
@keyframes detail-unfold { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .case-filter-bar { align-items: stretch; flex-direction: column; gap: 14px; }
  .case-filter-inputs { justify-content: space-between; }
  .search-field { flex: 1; }
  .search-field input { width: 100%; }
  .case-overview { gap: 32px; grid-template-columns: minmax(0, 1.45fr) minmax(240px, 1fr); }
  .case-heading > p { max-width: 15em; }
  .material-spread, .service-hero { gap: 36px; }
  .service-lead { font-size: 22px; }
  .service-arrangement, .common-questions { gap: 40px; }
  .process-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 36px; }
  .process-stage-content { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; }
  .consultation-layout { gap: 36px; }
  .phone-link { gap: 10px; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 14px; }
  .phone-link > span:last-child { font-size: 11px; }
  .consultation-copy h1 { font-size: 33px; }
  .about-address { flex-wrap: wrap; }
  .about-address > a { margin-left: 88px; }
}

@media (max-width: 760px) {
  .reading-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border-radius: 0; scrollbar-gutter: auto; scroll-padding-top: 84px; }
  .reading-toolbar { min-height: 64px; padding: 10px 12px 10px 20px; gap: 12px; }
  .reading-brand { display: none; }
  .reading-toolbar .return-link { font-size: 12px; gap: 8px; }
  .reading-consult { font-size: 12px; padding: 9px 12px; }
  .reading-toolbar .close-button { width: 44px; height: 44px; }
  .reading-toolbar .close-button span::before, .reading-toolbar .close-button span::after { left: 12px; top: 21px; width: 20px; }
  .page-shell { padding: 26px 22px 40px; }
  .reading-dialog h1 { font-size: 36px; }
  .reading-dialog h2 { font-size: 24px; }
  .page-breadcrumb { margin-bottom: 26px; font-size: 11px; }
  .page-category { font-size: 11px; margin-bottom: 12px; }
  .page-intro { font-size: 13px; margin-top: 18px; }
  .case-heading { display: block; margin-bottom: 26px; }
  .case-heading > p { font-size: 12px; margin-top: 15px; padding: 0; max-width: none; }
  .case-overview, .single-photo { display: block; }
  .case-gallery .media-frame { aspect-ratio: 1.25; }
  .single-photo .media-frame { aspect-ratio: 1.05; }
  .photo-tabs { justify-content: space-between; gap: 10px; margin-top: 10px; }
  .photo-tabs button { font-size: 12px; }
  .gallery-caption { font-size: 12px; margin-top: 12px; }
  .case-brief { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
  .case-brief h2 { font-size: 22px; }
  .case-brief > p { font-size: 13px; margin-top: 15px; }
  .case-facts { margin: 22px 0; padding: 20px 0; gap: 12px; }
  .case-material-links { display: flex; gap: 12px 22px; flex-wrap: wrap; align-items: center; }
  .case-material-links h3 { flex-basis: 100%; margin: 0; }
  .case-material-links a { gap: 18px; }
  .design-notes { display: block; margin-top: 30px; padding-block: 28px; }
  .design-notes > div { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .design-notes h3 { font-size: 16px; margin-bottom: 10px; }
  .record-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-records { margin-top: 30px; }
  .related-section { margin-top: 36px; padding-top: 26px; }
  .secondary-section-heading { margin-bottom: 20px; gap: 14px; }
  .secondary-section-heading .text-link { font-size: 11px; gap: 10px; }
  .related-works, .directory-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .work-photo, .directory-grid .work-photo { aspect-ratio: 1.03; }
  .work-title { gap: 10px; margin-top: 12px; }
  .work-title h3, .directory-grid .work-title h3 { font-size: 21px; }
  .work-title .arrow { width: 14px; height: 14px; }
  .work-meta { font-size: 10px; gap: 5px 8px; }
  .work-meta span { padding-left: 8px; }
  .work-summary { font-size: 11px; line-height: 1.8; margin-top: 8px; }
  .related-works .work-card:only-child a { display: block; }
  .related-works .work-card:only-child .work-photo { aspect-ratio: 1.6; }
  .directory-heading { padding-top: 8px; margin-bottom: 24px; }
  .case-filter-bar { padding-bottom: 16px; gap: 16px; }
  .scope-options { gap: 26px; }
  .scope-options button { font-size: 13px; }
  .case-filter-inputs { align-items: stretch; flex-direction: column; gap: 12px; }
  .search-field input { font-size: 16px; padding: 11px 12px; }
  .area-field { gap: 16px; }
  .area-field select { flex: 1; font-size: 13px; }
  .case-result-heading { min-height: 54px; }
  .material-switcher { gap: 24px; margin-right: -22px; padding-right: 22px; margin-bottom: 26px; }
  .material-switcher a { font-size: 12px; }
  .material-spread { display: flex; flex-direction: column-reverse; gap: 28px; }
  .material-main-photo { width: 100%; }
  .material-article .page-intro { margin-bottom: 25px; }
  .material-note h2 { font-size: 21px; }
  .material-note + .material-note { margin-top: 24px; }
  .material-checks { display: block; margin-top: 28px; padding-block: 28px; }
  .material-checks ol { grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
  .material-checks li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; }
  .material-checks li > span { padding-top: 3px; margin: 0; }
  .material-checks h3 { font-size: 16px; margin-bottom: 8px; }
  .material-checks p { font-size: 13px; }
  .material-case { display: flex; flex-direction: column; align-items: stretch; gap: 22px; margin-top: 28px; }
  .material-case .text-link { margin-top: 12px; }
  .material-case img { aspect-ratio: 1.5; }
  .service-hero { display: block; }
  .service-hero header { padding: 0 0 28px; }
  .service-lead { font-size: 24px; margin-top: 22px; max-width: 14em; }
  .service-description { margin-top: 18px; font-size: 13px; }
  .service-hero header .text-link { margin-top: 16px; }
  .service-hero .media-frame { aspect-ratio: 1.25; }
  .service-focus { margin-top: 0; padding-block: 30px; }
  .service-focus > div { grid-template-columns: 1fr; gap: 22px; }
  .service-focus h3 { margin-bottom: 8px; }
  .service-focus p { max-width: none; }
  .service-arrangement, .common-questions { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .service-steps h3 { font-size: 21px; }
  .service-steps summary { min-height: 64px; }
  .service-steps details > p { margin-left: 34px; margin-right: 14px; }
  .common-questions { gap: 14px; }
  .common-questions summary { font-size: 13px; }
  .process-heading { padding-top: 8px; padding-bottom: 28px; }
  .process-layout { display: block; padding-top: 0; }
  .process-aside { position: static; margin-bottom: 12px; }
  .process-aside figure, .process-aside > p { display: none; }
  .process-aside nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 8px 0; margin: 0; border-bottom: 1px solid var(--line); }
  .process-aside nav button { flex: none; gap: 8px; font-size: 11px; }
  .process-stages summary { grid-template-columns: 30px 1fr 16px; gap: 14px; padding: 26px 0; }
  .process-stages details:first-child summary { padding-top: 24px; }
  .process-number { font-size: 24px; }
  .process-stages summary h2 { font-size: 22px; }
  .process-stages summary p { font-size: 12px; margin-top: 12px; }
  .process-stage-content { margin-bottom: 26px; padding: 22px; gap: 20px; }
  .process-end { margin-top: 30px; padding-top: 28px; }
  .process-end > div { gap: 6px 24px; }
  .process-end .text-link { font-size: 12px; }
  .about-heading { padding-top: 8px; padding-bottom: 28px; }
  .about-photo .media-frame { aspect-ratio: 1.25; }
  .about-introduction { grid-template-columns: 1fr; gap: 22px; padding-block: 30px; }
  .about-introduction h2 { font-size: 25px; }
  .about-introduction p { font-size: 13px; }
  .about-services > a { grid-template-columns: 1fr 20px; gap: 7px 20px; padding-block: 22px; }
  .about-service-name { font-size: 25px; }
  .about-services a > span:nth-child(2) { grid-column: 1; font-size: 12px; }
  .about-services .arrow { grid-column: 2; grid-row: 1 / 3; }
  .about-address { margin-top: 30px; gap: 20px; }
  .about-address > img { width: 45px; height: 50px; }
  .about-address > div { flex: 1; min-width: 0; }
  .about-address h2 { font-size: 17px; }
  .about-address p { font-size: 11px; }
  .about-address > a { margin-left: 65px; }
  .consultation-layout { display: block; padding-top: 34px; }
  .consultation-copy h1 { font-size: 34px; }
  .consultation-layout .page-intro { margin-top: 20px; }
  .consultation-phones { margin-top: 26px; }
  .consultation-phones > div { gap: 18px; }
  .phone-link { flex-direction: row; gap: 12px; align-items: center; justify-content: space-between; padding-block: 12px; }
  .phone-link > span:first-child { font-size: 19px; }
  .phone-link > span:last-child { font-size: 10px; gap: 4px; }
  .phone-link .arrow { display: none; }
  .copy-button { font-size: 11px; }
  .consultation-prepare { margin-top: 22px; }
  .consultation-prepare h2 { font-size: 22px; }
  .consultation-location { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 28px; }
  .visit-heading h2 { font-size: 24px; }
  .visit-address { margin: 16px 0 22px; font-size: 16px; }
  .consultation-location .location-map { height: 300px; }
  .visit-actions { gap: 16px; }
  .visit-actions .map-link { font-size: 11px; gap: 10px; }
  .viewer-toolbar { min-height: 60px; padding-inline: 16px; }
  .photo-dialog[open] { grid-template-rows: 60px minmax(0, 1fr) auto; }
  .viewer-stage { position: relative; gap: 0; padding: 14px 12px 74px; }
  .viewer-prev, .viewer-next { position: absolute; bottom: 12px; z-index: 1; border: 1px solid #686155; width: 48px; height: 44px; }
  .viewer-prev { left: calc(50% - 60px); }
  .viewer-next { right: calc(50% - 60px); }
  .viewer-caption { padding: 0 24px 24px; font-size: 11px; }
}

@media (max-width: 370px) {
  .reading-toolbar { padding-left: 16px; gap: 8px; }
  .page-shell { padding-inline: 18px; }
  .reading-consult { padding-inline: 10px; }
  .reading-dialog h1, .consultation-copy h1 { font-size: 31px; }
  .work-title h3, .directory-grid .work-title h3 { font-size: 19px; }
  .phone-link > span:first-child { font-size: 17px; }
  .consultation-phones > div { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .image-open:hover img, .work-card a:hover img, .work-card a:focus-visible img { transform: none; }
}
