/* Project-led architecture portfolio. Shared neutral tokens keep every route coherent. */
:root {
  --page: #f8f7f3;
  --surface: #fffefa;
  --soft: #eeece5;
  --ink: #272925;
  --muted: #72756c;
  --line: #deded5;
  --line-strong: #c3c5bb;
  --accent: #303a32;
  --accent-hover: #434e45;
  --accent-soft: #e7ebe3;
  --accent-deep: #272f29;
  --max: 1376px;
}
::selection { background: #dce3d5; }
:focus-visible { outline: 2px solid #7c8c78; outline-offset: 4px; }
.site-header { background: rgb(248 247 243 / 94%); border-bottom-color: #e5e4dc; }
.site-header .brand-symbol { height: 35px; }
.site-header .brand-wordmark { width: 148px; height: auto; }
.site-header .nav-shell { width: min(var(--max), calc(100% - 80px)); }
.main-nav { gap: 23px; }
.main-nav > a { color: #52554c; font-size: 13px; }
.main-nav .nav-phone { font-weight: 400 !important; font-size: 12px; }
.nav-action, .button { box-shadow: none; font-weight: 500; }
.nav-action { gap: 18px; }
.button, .nav-action, .preference-trigger { border-radius: 999px; }
.button svg, .portfolio-text-link svg { width: 21px; height: 21px; flex: none; }
.button:hover svg, .portfolio-text-link:hover svg { transform: translateX(3px); }
.button svg, .portfolio-text-link svg { transition: transform .2s ease; }
.preference-option[aria-current="page"], .preference-option[aria-checked="true"] { background: var(--soft); }
.preference-popover { box-shadow: 0 16px 48px #282a261a; }
.footer-invite { background: #2d352e; padding: clamp(60px, 8vw, 118px) 40px; }
.footer-invite .section-kicker { color: #bbc5b5; }
.footer-invite h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; }
.footer-invite-shell > div > p:last-child, .footer-call { color: #bfc7ba; }
.footer-invite-actions .button { min-height: 50px; box-shadow: none; }
.site-footer { background: #eeeee7; }
.onboarding-backdrop { background: #1b221bcc; }
.onboarding-assurance { background: linear-gradient(145deg, #3b483c, #252d27); }
.onboarding-assurance .section-kicker, .onboarding-assurance li span { color: #c9d2c1; }
.onboarding-assurance li, .onboarding-assurance-foot span { color: #c3cdbb; }
.onboarding-assurance-foot a { color: #e2e6dc; }
.guided-contact .section-kicker, .guided-contact-points li::before { color: #c3cfba; }
.guided-contact-copy > p:not(.section-kicker), .guided-contact-points li { color: #d4dccd; }

/* A short service enquiry, shared by every entry point. */
.onboarding-card { width: min(760px, 100%); grid-template-columns: minmax(0, 1fr); border-color: var(--line); }
.onboarding-assurance { display: none; }
.onboarding-flow { min-height: 0; padding: 32px 38px 22px; }
.onboarding-meta > span { white-space: nowrap; }
.onboarding-heading h2 { font-size: clamp(27px, 3vw, 35px); }
.onboarding-meta .section-kicker { font-size: 11px; letter-spacing: .06em; }
.onboarding-sub { font-size: 14px; line-height: 1.5; }
.ob-progress { margin-top: 20px; }
.ob-progress > div, .ob-progress > div strong { font-size: 12px; }
.ob-steps { min-height: 0; }
.ob-step { padding-top: 20px; }
.ob-fieldset legend, .ob-label { font-size: 14px; font-weight: 500; }
.ob-fieldset legend small, .ob-label small { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 7px; }
.ob-service-options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.ob-service-option { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; transition: background .15s, border-color .15s; }
.ob-service-option > span { width: 12px; opacity: 0; }
.ob-service-option:hover { background: var(--soft); }
.ob-service-option[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: white; }
.ob-service-option[aria-pressed="true"] > span { opacity: 1; }
.ob-input { min-height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--page); }
.ob-input:focus { outline: none; border-color: #879281; box-shadow: 0 0 0 2px #68735f18; }
.ob-location-later { font-size: 13px; font-weight: 400; }
.ob-extra { margin-top: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ob-extra > summary { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 0; font-size: 13px; cursor: pointer; list-style: none; }
.ob-extra > summary::before { content: "+"; font-size: 17px; font-weight: 400; color: var(--muted); }
.ob-extra[open] > summary::before { content: "−"; }
.ob-extra > summary > span { margin-left: auto; font-size: 12px; color: var(--muted); }
.ob-extra[open] { padding-bottom: 18px; }
.ob-extra > .ob-fieldset { margin-top: 12px; }
.ob-hint, .ob-contact-hint { font-size: 13px; line-height: 1.55; }
.ob-file-hint { margin: 12px 0 0; }
.ob-actions[data-ob-nav-actions] { position: sticky; bottom: -22px; margin-top: 16px; padding: 14px 0 5px; background: var(--surface); }
.ob-summary span { font-size: 12px; letter-spacing: 0; text-transform: none; }
.ob-summary strong { font-size: 14px; }
.ob-summary button { font-size: 13px; min-height: 40px; }
.ob-submit-row p { font-size: 13px; }
.ob-status { margin-bottom: 0; font-size: 13px; }
.case-enquiry { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-enquiry h2 { margin: 0; font: 500 clamp(32px, 4vw, 52px)/1.08 "Gambetta", Georgia, serif; letter-spacing: -.03em; }
.case-enquiry p:not(.portfolio-kicker) { max-width: 460px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.case-enquiry > div:last-child { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.case-enquiry small { font-size: 12px; color: var(--muted); }
.price-action { width: 140px; text-align: right; }
.price-action .button { font-size: 13px; min-height: 40px; padding: 8px 13px; gap: 12px; white-space: nowrap; }

.portfolio-main { overflow: clip; }
.portfolio-shell { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.portfolio-section { padding-block: clamp(76px, 8.5vw, 130px); scroll-margin-top: 100px; }
#case-explore-title, #tour-title { scroll-margin-top: 100px; }
.portfolio-kicker { margin: 0 0 22px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.portfolio-hero { padding-top: 38px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: 28px 44px; align-items: center; }
.portfolio-hero-heading { display: block; margin: 0; }
.portfolio-hero h1, .case-heading h1 { margin: 0; font: 500 clamp(70px, 7.7vw, 112px)/.94 "Gambetta", Georgia, serif; letter-spacing: -.062em; text-wrap: initial; }
.portfolio-hero h1 { font-size: clamp(52px, 6.1vw, 86px); }
.portfolio-hero h1 em, .case-heading h1 em { font-style: normal; color: #68735f; }
.portfolio-hero-intro { max-width: 380px; margin-top: 25px; padding-left: 0; }
.portfolio-hero-intro > p { margin: 0 0 26px; color: #676b61; font-size: 16px; line-height: 1.7; }
.portfolio-hero-intro > .hero-quote-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; }
.portfolio-cta { min-height: 50px; gap: 24px; padding: 13px 21px; font-size: 13px; }
.portfolio-text-link { width: fit-content; display: inline-flex; align-items: center; gap: 18px; font-size: 13px; line-height: 1.3; }
.portfolio-text-link:hover { color: #637759; }
.portfolio-hero-intro > .portfolio-text-link { display: flex; margin: 20px 0 0 1px; color: var(--muted); font-size: 12px; }
.portfolio-hero-media { position: relative; display: block; isolation: isolate; aspect-ratio: 1.16; overflow: hidden; background: #d4d3cb; border-radius: 8px; }
.portfolio-hero-media::after { content: ""; position: absolute; inset: 46% 0 0; background: linear-gradient(transparent, #1a25197d); z-index: 1; pointer-events: none; }
.portfolio-hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 53%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.portfolio-hero-media:hover > img { transform: scale(1.025); }
.hero-project-label { position: absolute; inset: auto 38px 38px; z-index: 2; display: flex; justify-content: space-between; align-items: end; color: #fff; }
.hero-project-label > span:first-child { display: flex; flex-direction: column; gap: 8px; }
.hero-project-label small { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.hero-project-label strong { font: 500 clamp(25px, 2.4vw, 36px)/1.1 "Gambetta", Georgia, serif; letter-spacing: -.025em; }
.portfolio-round-arrow { width: 46px; height: 46px; border: 1px solid #ffffff69; border-radius: 999px; display: grid; place-items: center; background: #ffffff0f; backdrop-filter: blur(6px); }
.portfolio-round-arrow svg { width: 23px; height: 23px; transform: rotate(-35deg); transition: transform .25s ease; }
.portfolio-hero-media:hover .portfolio-round-arrow svg { transform: rotate(0); }
.hero-image-note { position: absolute; top: 22px; left: 26px; z-index: 2; color: #fff; background: #25322561; backdrop-filter: blur(8px); padding: 7px 10px; border: 1px solid #ffffff30; border-radius: 999px; font-size: 9px; }
.portfolio-credentials { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .01em; }
.portfolio-credentials { grid-column: 1 / -1; padding-top: 0; font-size: 12px; }
.portfolio-section-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(36px, 7vw, 115px); align-items: end; margin-bottom: 46px; }
.portfolio-section-heading h2, .case-perspective h2 { margin: 0; font: 500 clamp(38px, 4.55vw, 66px)/1.01 "Gambetta", Georgia, serif; letter-spacing: -.045em; }
.portfolio-section-heading > p, .portfolio-section-heading > div > p:not(.portfolio-kicker) { max-width: 415px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.portfolio-section-heading .portfolio-text-link { margin-top: 24px; }
.portfolio-section-heading .portfolio-kicker { margin-bottom: 20px; }
.project-explorer { background: #efeee8; border: 1px solid #e1e1d9; border-radius: 5px; padding: 17px 22px 0; }
.explorer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 17px; }
.explorer-tabs { display: flex; flex-wrap: wrap; gap: 3px; padding: 4px; background: #e4e5dd; border-radius: 999px; }
.explorer-tabs button, .explorer-floors button { border: 0; background: transparent; border-radius: 999px; min-height: 37px; padding: 9px 15px; font-size: 11px; font-weight: 500; line-height: 1.3; color: #6d7367; cursor: pointer; transition: background .18s, color .18s, box-shadow .18s; }
.explorer-tabs button { display: inline-flex; align-items: center; gap: 9px; }
.explorer-tabs button span { color: #929888; font-size: 9px; }
.explorer-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px #28302512; }
.explorer-tabs button:hover:not([aria-selected="true"]), .explorer-floors button:hover { color: var(--ink); background: #dcded4; }
.explorer-floors { display: flex; align-items: center; gap: 3px; }
.explorer-floors button { padding: 8px 14px; }
.explorer-floors button[aria-pressed="true"] { background: #dfe3d7; color: #384533; }
.explorer-stage { position: relative; overflow: hidden; background: #faf9f6; aspect-ratio: 1.8; border-radius: 3px; }
.explorer-image, .case-cover button, .case-perspective figure button { appearance: none; position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; color: var(--ink); }
.explorer-image > img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.explorer-image.is-changing { animation: portfolio-image-in .35s both; }
.image-expand { position: absolute; bottom: 18px; right: 18px; display: inline-flex; align-items: center; gap: 7px; min-width: 38px; height: 38px; padding: 9px; background: #fffef9db; border: 1px solid #dfdfd3; border-radius: 999px; color: #424b3c; font-size: 10px; backdrop-filter: blur(8px); }
.image-expand svg { width: 18px; height: 18px; }
.explorer-image .image-expand { padding-inline: 12px; }
.explorer-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; }
.explorer-caption p { margin: 0; color: #656d5d; font-size: 10px; }
.explorer-caption > span { color: #7f8677; font-size: 9px; }
.project-feature-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; }
.project-feature-footer .portfolio-kicker { display: block; font-size: 9px; margin-bottom: 9px; }
.project-feature-footer h3 { font: 500 30px/1.1 "Gambetta", Georgia, serif; letter-spacing: -.025em; margin: 0; }
.project-feature-footer .button { min-height: 43px; font-size: 12px; gap: 20px; }
.portfolio-services { background: #eeeee6; }
.portfolio-service-list { border-top: 1px solid #d5d8cc; }
.portfolio-service-row { display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 22px; padding: 26px 0; border-bottom: 1px solid #d5d8cc; transition: padding .25s, background .25s; }
.portfolio-service-row:hover { padding-inline: 16px; background: #e5e8dc; }
.service-number { font-size: 11px; color: #8b9282; align-self: start; padding-top: 5px; }
.service-row-copy { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.service-row-copy strong { font-size: clamp(18px, 2.1vw, 26px); font-weight: 400; letter-spacing: -.03em; hyphens: auto; overflow-wrap: anywhere; }
.service-row-copy > span { font-size: 12px; color: #838a7c; }
.service-row-copy > span { font-size: 14px; color: var(--muted); }
.service-row-copy:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.service-row-quote { min-height: 42px; padding: 9px 15px; gap: 14px; font-size: 13px; white-space: nowrap; }
.service-row-price { color: #666f5d; font-size: 12px; white-space: nowrap; }
.service-row-arrow { width: 39px; height: 39px; border: 1px solid #cdd2c4; border-radius: 999px; display: grid; place-items: center; justify-self: end; }
.service-row-arrow svg { width: 21px; height: 21px; transform: rotate(-35deg); transition: transform .25s; }
.portfolio-service-row:hover .service-row-arrow svg { transform: rotate(0); }
.portfolio-service-foot { display: flex; justify-content: space-between; gap: 20px; padding-top: 21px; color: #818979; font-size: 10px; }
.portfolio-service-foot a { color: #526348; }
.portfolio-process-list { list-style: none; margin: 58px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; }
.portfolio-process-list li { border-top: 1px solid var(--line); padding-top: 22px; }
.portfolio-process-list li > span { font-size: 11px; color: #8f9784; }
.portfolio-process-list h3 { margin: 30px 0 13px; font: 500 25px/1.2 "Gambetta", Georgia, serif; letter-spacing: -.025em; }
.portfolio-process-list p { max-width: 315px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.portfolio-expert { display: grid; grid-template-columns: 170px 1fr 230px; gap: 38px; align-items: center; padding: 45px; border: 1px solid #dfe2d7; background: #f0f2ea; margin-bottom: 112px; border-radius: 3px; }
.expert-mark { display: grid; place-items: center; aspect-ratio: 1; background: #e0e5d8; border-radius: 50%; }
.expert-mark img { width: 62px; height: auto; opacity: .7; }
.portfolio-expert .portfolio-kicker { font-size: 9px; margin-bottom: 12px; }
.portfolio-expert h2 { font: 500 35px/1.1 "Gambetta", Georgia, serif; margin: 0; letter-spacing: -.025em; }
.portfolio-expert p:not(.portfolio-kicker) { max-width: 500px; margin: 14px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.portfolio-expert .portfolio-text-link { font-size: 11px; }
.expert-contact { border-left: 1px solid #d8decc; padding-left: 30px; display: flex; flex-direction: column; align-items: start; gap: 12px; }
.expert-contact > span { font-size: 10px; color: #838d76; }
.expert-contact strong { font-size: 20px; font-weight: 400; letter-spacing: -.025em; }
.expert-contact svg { width: 23px; height: 23px; }

.case-intro { padding-top: 34px; }
.portfolio-back { display: inline-flex; gap: 12px; align-items: center; color: var(--muted); font-size: 11px; }
.case-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; padding: 55px 0 53px; }
.case-heading > div:last-child { max-width: 425px; padding-bottom: 5px; }
.case-heading > div > p:not(.portfolio-kicker) { color: var(--muted); margin: 0 0 25px; font-size: 15px; line-height: 1.8; }
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.case-tags span { border: 1px solid var(--line); padding: 7px 11px; border-radius: 999px; font-size: 9px; color: #818974; }
.case-cover { margin: 0; }
.case-cover > button { height: auto; aspect-ratio: 1.6; overflow: hidden; border-radius: 3px; background: #d4d3cb; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-cover figcaption { margin-top: 13px; color: #828977; font-size: 10px; }
.case-carousel { position: relative; height: auto; aspect-ratio: 1.6; overflow: hidden; border-radius: 8px; background: var(--surface); }
.case-carousel .hero-slide[data-fit="contain"] img { padding: 20px 58px; }
.case-cover-gallery figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.case-explore .explorer-stage { aspect-ratio: 1.6; }
.explorer-model { height: 100%; position: relative; background: #eeefe8; }
.model-poster { width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.model-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; background: #f7f9f347; padding: 20px; }
.model-start .button { font-size: 12px; gap: 20px; }
.model-start p { max-width: 360px; margin: 0; padding: 6px 11px; border-radius: 3px; background: #f8faf1d9; color: #55624a; font-size: 10px; text-align: center; }
.explorer-model model-viewer { width: 100%; height: 100%; }
.model-reset { position: absolute; bottom: 16px; left: 16px; z-index: 2; font-size: 10px; min-height: 36px; border: 1px solid var(--line); padding: 8px 13px; border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.model-room-nav { position: absolute; z-index: 2; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 3px; max-width: calc(100% - 20px); padding: 4px; border: 1px solid #d7ddcd; border-radius: 999px; background: #fffef8ed; box-shadow: 0 4px 16px #2e3b2420; backdrop-filter: blur(8px); }
.model-room-nav button { min-height: 36px; padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; color: #6b755e; font-size: 10px; cursor: pointer; white-space: nowrap; }
.model-room-nav button[aria-pressed="true"] { background: #e4e9dc; color: #35422e; }
.model-room-nav button:hover { background: #edf0e7; }
.model-loading { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); padding: 7px 12px; border-radius: 999px; background: #ffffffe0; color: var(--muted); font-size: 11px; }
.case-perspective { display: grid; grid-template-columns: .78fr 1.4fr; gap: 72px; align-items: center; }
.case-perspective-copy { max-width: 380px; }
.case-perspective h2 { font-size: clamp(35px, 3.7vw, 51px); }
.case-perspective-copy > p:not(.portfolio-kicker) { margin: 25px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.case-perspective figure { margin: 0; }
.case-perspective figure button { height: auto; aspect-ratio: 1.6; background: #d4d3cb; overflow: hidden; border-radius: 3px; }
.case-perspective figure img { height: 100%; width: 100%; object-fit: cover; }
.case-perspective figcaption { margin-top: 13px; color: #828977; font-size: 10px; }
.case-note { display: flex; align-items: center; justify-content: space-between; gap: 60px; margin-block: 96px; padding-top: 30px; border-top: 1px solid var(--line); }
.case-note > div { max-width: 800px; }
.case-note .portfolio-kicker { font-size: 9px; margin-bottom: 12px; }
.case-note p:not(.portfolio-kicker) { margin: 0; color: #848b7b; font-size: 11px; line-height: 1.85; }
.case-note > a { white-space: nowrap; font-size: 11px; }
.portfolio-gallery { position: fixed; inset: 0; width: calc(100vw - 36px); height: calc(100dvh - 36px); max-width: none; max-height: none; margin: auto; border: 1px solid #4b5149; border-radius: 9px; padding: 56px 20px 36px; background: #f5f5ee; color: var(--ink); overflow: hidden; box-shadow: 0 40px 100px #0004; }
.portfolio-gallery::backdrop { background: #161e16cc; backdrop-filter: blur(10px); }
.portfolio-gallery img { width: 100%; height: calc(100% - 30px); object-fit: contain; }
.portfolio-gallery figcaption { padding-top: 14px; color: var(--muted); text-align: center; font-size: 11px; }
.portfolio-gallery button { position: absolute; right: 14px; top: 13px; width: 36px; height: 36px; border: 1px solid #d4d9cb; border-radius: 999px; background: #fffef9; color: #4f5c44; font-size: 23px; cursor: pointer; }
@keyframes portfolio-image-in { from { opacity: .3; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .portfolio-reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .portfolio-reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (max-width: 1150px) {
  .site-header .nav-shell, .portfolio-shell { width: calc(100% - 48px); }
  .main-nav { gap: 17px; }
  .main-nav .nav-phone { display: none; }
  .portfolio-hero { padding-top: 54px; }
  .portfolio-hero-heading { gap: 35px; }
  .portfolio-hero h1, .case-heading h1 { font-size: clamp(65px, 8.5vw, 96px); }
  .portfolio-hero-intro { padding-left: 0; }
  .portfolio-hero-intro > p { font-size: 14px; }
  .portfolio-expert { grid-template-columns: 110px 1fr 190px; padding: 32px; gap: 28px; }
  .expert-mark img { width: 48px; }
  .expert-contact { padding-left: 20px; }
  .expert-contact strong { font-size: 17px; }
  .case-perspective { gap: 38px; }
}
@media (max-width: 860px) {
  .site-header .nav-shell, .portfolio-shell { width: calc(100% - 40px); }
  .main-nav { background: #f8f7f3; }
  .main-nav > a { font-size: 17px; }
  .main-nav .nav-phone { display: flex; font-size: 17px; }
  .main-nav > a.nav-action { gap: 25px; }
  .portfolio-hero-heading { grid-template-columns: 1.15fr 1fr; gap: 35px; margin-bottom: 36px; }
  .portfolio-hero h1, .case-heading h1 { font-size: 72px; }
  .portfolio-kicker { font-size: 8px; }
  .portfolio-hero-intro .portfolio-cta { font-size: 11px; gap: 12px; }
  .portfolio-hero-media { aspect-ratio: 1.6; }
  .hero-project-label { inset: auto 25px 25px; }
  .portfolio-credentials { flex-wrap: wrap; gap: 12px 24px; font-size: 9px; }
  .portfolio-section-heading { gap: 40px; }
  .portfolio-section-heading > p, .portfolio-section-heading > div > p:not(.portfolio-kicker) { font-size: 13px; }
  .explorer-toolbar { align-items: start; }
  .explorer-tabs button, .explorer-floors button { font-size: 10px; padding-inline: 11px; }
  .explorer-stage { aspect-ratio: 1.5; }
  .portfolio-service-row { grid-template-columns: 28px 1fr auto 34px; gap: 18px; }
  .service-row-copy strong { font-size: 20px; }
  .service-row-copy > span { font-size: 11px; }
  .service-row-price { font-size: 10px; }
  .portfolio-process-list { gap: 25px; }
  .portfolio-process-list h3 { font-size: 23px; }
  .portfolio-expert { grid-template-columns: 90px 1fr; gap: 28px; }
  .expert-contact { grid-column: 2; border: 0; padding: 0; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .expert-contact > span { width: 100%; }
  .portfolio-expert { margin-bottom: 78px; }
  .case-heading { gap: 40px; }
  .case-heading > div > p:not(.portfolio-kicker) { font-size: 13px; }
  .case-explore .explorer-toolbar { flex-wrap: wrap; }
  .case-perspective { grid-template-columns: 1fr; }
  .case-perspective-copy { max-width: 600px; }
  .case-perspective figure button { aspect-ratio: 1.6; }
  .case-note { display: block; margin-block: 70px; }
  .case-note > a { margin-top: 20px; }
}
@media (max-width: 600px) {
  .site-header .nav-shell, .portfolio-shell { width: calc(100% - 32px); }
  .site-header .brand-symbol { height: 31px; }
  .site-header .brand-wordmark { width: 133px; }
  .portfolio-section { padding-block: 65px; }
  .portfolio-hero { padding-top: 38px; }
  .portfolio-hero-heading { display: block; margin-bottom: 29px; }
  .portfolio-hero h1, .case-heading h1 { font-size: clamp(62px, 16vw, 86px); letter-spacing: -.06em; }
  html[lang="en"] .portfolio-hero h1 { font-size: clamp(53px, 13.6vw, 76px); }
  .portfolio-hero .portfolio-kicker { margin-bottom: 20px; font-size: 8px; }
  .portfolio-hero-intro { max-width: none; margin-top: 26px; }
  .portfolio-hero-intro > p { max-width: 400px; margin-bottom: 21px; font-size: 13px; line-height: 1.75; }
  .portfolio-hero-intro .portfolio-cta { font-size: 12px; gap: 27px; min-height: 47px; }
  .portfolio-hero-intro > .portfolio-text-link { display: inline-flex; margin: 0 0 0 17px; font-size: 10px; gap: 8px; }
  .portfolio-hero-media { aspect-ratio: 1.25; }
  .portfolio-hero-media > img { object-fit: contain; object-position: 50% 20%; }
  .hero-project-label { inset: auto 20px 24px; }
  .hero-project-label strong { font-size: 26px; }
  .hero-project-label small { font-size: 8px; }
  .hero-image-note { top: 14px; left: 14px; max-width: calc(100% - 28px); font-size: 7px; padding: 6px 8px; }
  .portfolio-round-arrow { height: 37px; width: 37px; }
  .portfolio-round-arrow svg { width: 19px; height: 19px; }
  .portfolio-credentials { padding-block: 19px; display: grid; gap: 7px; font-size: 9px; }
  .portfolio-section-heading { display: block; margin-bottom: 29px; }
  .portfolio-section-heading h2, .case-perspective h2 { font-size: 43px; }
  .portfolio-section-heading > p, .portfolio-section-heading > div + div { margin-top: 22px; }
  .portfolio-section-heading .portfolio-kicker { font-size: 8px; margin-bottom: 16px; }
  .portfolio-section-heading > div > p:not(.portfolio-kicker), .portfolio-section-heading > p { max-width: 425px; font-size: 13px; }
  .portfolio-section-heading .portfolio-text-link { margin-top: 16px; font-size: 11px; }
  .project-explorer { padding: 10px 10px 0; }
  .explorer-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding-bottom: 10px; }
  .explorer-tabs { width: fit-content; max-width: 100%; padding: 3px; gap: 0; flex-wrap: nowrap; }
  .explorer-tabs button { padding: 8px 11px; font-size: 10px; gap: 7px; min-height: 34px; }
  .explorer-tabs button span { font-size: 8px; }
  .explorer-floors { justify-content: end; }
  .explorer-floors button { min-height: 31px; font-size: 9px; padding: 7px 12px; }
  .explorer-stage, .case-explore .explorer-stage { aspect-ratio: 1.03; }
  .explorer-image > img { padding: 4px; }
  .explorer-caption { padding-block: 12px; gap: 7px; align-items: start; }
  .explorer-caption p { font-size: 8px; white-space: nowrap; }
  .explorer-caption > span { font-size: 7px; max-width: 153px; text-align: right; }
  .image-expand { bottom: 10px; right: 10px; height: 31px; min-width: 31px; padding: 7px; }
  .explorer-image .image-expand { padding: 7px; }
  .image-expand > span { display: none; }
  .image-expand svg { height: 16px; width: 16px; }
  .project-feature-footer { align-items: start; gap: 13px; padding-top: 18px; }
  .project-feature-footer h3 { font-size: 24px; }
  .project-feature-footer .portfolio-kicker { font-size: 7px; margin-bottom: 6px; }
  .project-feature-footer .button { min-height: 37px; padding: 9px 12px; font-size: 9px; gap: 8px; }
  .project-feature-footer .button svg { width: 16px; height: 16px; }
  .portfolio-service-row { grid-template-columns: 20px 1fr 30px; gap: 12px; padding-block: 21px; }
  .portfolio-service-row:hover { padding-inline: 8px; }
  .service-number { font-size: 9px; padding-top: 4px; }
  .service-row-copy { gap: 6px; }
  .service-row-copy strong { font-size: 18px; }
  .service-row-copy > span { font-size: 10px; line-height: 1.6; }
  .service-row-price { grid-column: 2; grid-row: auto; font-size: 10px; }
  .service-row-arrow { grid-column: 3; grid-row: 1 / span 2; height: 30px; width: 30px; }
  .service-row-arrow svg { width: 17px; height: 17px; }
  .portfolio-service-foot { flex-direction: column; gap: 10px; font-size: 9px; }
  .portfolio-process-list { grid-template-columns: 1fr; margin-top: 34px; gap: 28px; }
  .portfolio-process-list li { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; padding-top: 24px; }
  .portfolio-process-list h3 { margin: 0 0 10px; font-size: 24px; }
  .portfolio-process-list p { grid-column: 2; max-width: none; font-size: 12px; }
  .portfolio-process-list li > span { font-size: 9px; padding-top: 5px; }
  .portfolio-expert { grid-template-columns: 1fr; padding: 26px; gap: 25px; margin-bottom: 65px; }
  .expert-mark { width: 74px; }
  .expert-mark img { width: 31px; }
  .portfolio-expert h2 { font-size: 32px; }
  .expert-contact { grid-column: 1; border-top: 1px solid #d8decc; padding-top: 22px; }
  .portfolio-expert .portfolio-kicker { font-size: 8px; }
  .footer-invite { padding: 58px 22px; }
  .footer-invite h2 { font-size: 38px; }
  .footer-invite-shell > div > p:last-child { font-size: 13px; }
  .footer-invite-actions { max-width: 330px; }
  .footer-invite-actions .button { font-size: 12px; }
  .case-intro { padding-top: 26px; }
  .case-heading { display: block; padding: 40px 0 30px; }
  .case-heading > div:last-child { margin-top: 28px; max-width: none; padding: 0; }
  .case-heading > div > p:not(.portfolio-kicker) { margin-bottom: 18px; }
  .case-cover > button { aspect-ratio: 1.6; }
  .case-cover figcaption { font-size: 8px; line-height: 1.7; }
  .case-tags span { font-size: 8px; }
  .case-perspective { gap: 26px; }
  .case-perspective figure button { aspect-ratio: 1.6; }
  .case-perspective-copy > p:not(.portfolio-kicker) { margin-top: 23px; font-size: 12px; }
  .case-perspective figcaption { font-size: 8px; }
  .case-note { margin-block: 58px; }
  .case-note p:not(.portfolio-kicker) { font-size: 10px; }
  .model-start .button { font-size: 10px; gap: 12px; min-height: 44px; }
  .model-start p { font-size: 9px; }
  .portfolio-gallery { width: calc(100vw - 16px); height: calc(100dvh - 16px); padding: 58px 5px 28px; }
  .portfolio-gallery figcaption { padding-inline: 14px; font-size: 9px; }
}
@media (max-width: 360px) {
  .portfolio-hero-intro > .portfolio-text-link { display: flex; margin: 16px 0 0; }
  .explorer-tabs button { padding-inline: 7px; gap: 4px; }
  .project-feature-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portfolio-main *, .portfolio-gallery *, .portfolio-main *::before, .portfolio-main *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Comfortable type and touch targets at every viewport. */
.tour-stage { position: relative; aspect-ratio: 16 / 9; min-height: 360px; overflow: hidden; border-radius: 18px; background: #20231e; }
.tour-poster, .tour-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-canvas[hidden], .tour-poster[hidden], .tour-tools[hidden], .tour-start[hidden] { display: none; }
.tour-canvas.pnlm-container { background: #20231e; font-family: inherit; }
.tour-canvas.pnlm-container:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
.tour-canvas .pnlm-load-box, .tour-canvas .pnlm-error-msg { display: none !important; }
.tour-start { position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; box-shadow: 0 4px 30px #0003; }
.tour-start:hover { transform: translate(-50%, -50%); }
.tour-tools { position: absolute; z-index: 3; top: 16px; right: 16px; display: flex; gap: 8px; }
.tour-tools button, .tour-rooms button { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; color: #253321; background: #fffffff0; font: inherit; font-size: 14px; cursor: pointer; }
.tour-tools button:last-child { width: 44px; padding: 0; font-size: 25px; }
.tour-rooms { position: absolute; z-index: 3; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; max-width: calc(100% - 28px); padding: 4px; border-radius: 999px; background: #ffffffe8; box-shadow: 0 4px 20px #0002; }
.tour-rooms button { background: transparent; white-space: nowrap; }
.tour-rooms button[aria-pressed="true"] { color: white; background: #34472c; }
.tour-rooms button:hover:not([aria-pressed="true"]) { background: #e4e9dc; }
.tour-rooms button:disabled { cursor: wait; }
.tour-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.tour-caption strong { color: var(--ink); font-weight: 500; }
.tour-caption > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.tour-caption .portfolio-text-link { min-height: 44px; padding: 0; border: 0; font-size: 13px; background: transparent; cursor: pointer; }
.tour-stage:fullscreen { width: 100%; height: 100%; border-radius: 0; }
.tour-stage:fullscreen .tour-rooms { bottom: max(20px, env(safe-area-inset-bottom)); }
@media (max-width: 600px) {
  .tour-stage { aspect-ratio: 4 / 5; min-height: 360px; border-radius: 12px; }
  .tour-rooms { width: max-content; max-width: calc(100% - 20px); flex-wrap: wrap; justify-content: center; border-radius: 24px; bottom: 10px; }
  .tour-rooms button { padding-inline: 13px; font-size: 13px; }
  .tour-tools { top: 10px; right: 10px; }
}
.legal-copy .clean-list li { display: block; position: relative; padding-right: 23px; overflow-wrap: anywhere; }
.legal-copy .clean-list li::before { position: absolute; right: 0; top: 13px; }
.service-project-proof { display: block; margin: 24px 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--soft); }
.service-preview-images { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: clamp(170px, 17vw, 235px); }
.service-preview-images img { width: 100%; height: 100%; min-width: 0; min-height: 0; border-radius: 0; object-fit: contain; background: #faf9f6; }
.service-preview-images img + img { background: #d3d2ca; }
.service-preview-caption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 16px; background: var(--surface); color: var(--ink); font-size: 14px; }
.service-project-proof:hover .service-preview-caption { background: var(--soft); }
.service-project-proof + .fit-list { margin-top: 18px; }
.service-hero-actions { margin-top: 22px; }
.service-hero-actions > span { font-size: 13px; }
.quote-benefits { padding-block: 12px; }
.service-hero .cert-line { font-size: 13px; }
.portfolio-kicker, .hero-project-label small, .hero-image-note,
.project-feature-footer .portfolio-kicker, .portfolio-expert .portfolio-kicker,
.portfolio-section-heading .portfolio-kicker, .case-tags span,
.explorer-caption p, .explorer-caption > span, .case-cover figcaption,
.case-perspective figcaption, .portfolio-service-foot { font-size: 12px; }
.main-nav > a, .portfolio-text-link, .portfolio-hero-intro > .portfolio-text-link,
.explorer-tabs button, .explorer-floors button, .model-presets button,
.model-room-nav button, .model-start .button, .project-feature-footer .button,
.footer-invite-actions .button, .portfolio-cta { font-size: 14px; }
.explorer-tabs button, .explorer-floors button, .model-presets button,
.model-room-nav button, .image-expand, .service-row-quote { min-height: 44px; }
.help-enquiry { position: static; width: min(100%, 680px); margin: 28px 0 60px; padding: clamp(24px, 4vw, 40px); }
.help-enquiry .quote-price { font-size: clamp(28px, 5vw, 40px); }
.help-enquiry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 25px; }
.help-enquiry-actions .button { width: auto; }
.help-enquiry-actions .text-link { min-height: 44px; display: inline-flex; align-items: center; }
.explorer-tabs button span { font-size: 11px; }
.portfolio-section-heading > p, .portfolio-section-heading > div > p:not(.portfolio-kicker),
.portfolio-process-list p, .portfolio-expert p:not(.portfolio-kicker),
.case-perspective-copy > p:not(.portfolio-kicker), .footer-invite-shell > div > p:last-child { font-size: 16px; line-height: 1.65; }
.service-row-price, .portfolio-expert .portfolio-text-link, .case-note p:not(.portfolio-kicker), .model-start p { font-size: 14px; }
.model-presets { flex-wrap: wrap; }
.explorer-stage, .case-explore .explorer-stage { width: 100%; min-width: 0; max-height: min(760px, calc(100svh - 190px)); min-height: 240px; }
.portfolio-gallery figcaption { font-size: 13px; line-height: 1.5; }
.case-jump-links { display: flex; flex-wrap: wrap; gap: 10px; }
.case-jump-links .button { min-height: 44px; font-size: 14px; }
.project-tour-preview { position: relative; display: block; margin-top: 22px; overflow: hidden; border-radius: 14px; aspect-ratio: 2.5; background: #20231e; color: white; }
.project-tour-preview > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.project-tour-preview > span { position: absolute; inset: 0; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 30px; background: linear-gradient(transparent 35%, #111a15a8); }
.project-tour-preview small, .project-tour-preview strong { display: block; color: white; }
.project-tour-preview small { margin-bottom: 7px; font-size: 12px; }
.project-tour-preview strong { font-size: clamp(26px, 3vw, 42px); font-weight: 500; }
.project-tour-preview .portfolio-round-arrow { flex-shrink: 0; }
.expert-portrait { display: block; width: 160px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.hero-carousel-track { display: flex; width: 100%; height: 100%; overflow: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y pinch-zoom; }
.hero-carousel.is-ready .hero-carousel-track { overflow-x: auto; }
.hero-carousel-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; scroll-snap-align: start; scroll-snap-stop: always; cursor: zoom-in; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 53%; user-select: none; }
.hero-slide img:not([src]) { opacity: 0; }
.hero-slide[data-fit="contain"] { background: #f7f6f1; }
.hero-slide[data-fit="contain"] img { object-fit: contain; padding: 54px 20px 105px; }
.hero-carousel[data-fit="contain"]::after { background: linear-gradient(transparent, #f7f6f1 72%); }
.hero-carousel[data-fit="contain"] .hero-project-label { color: var(--ink); }
.hero-carousel[data-fit="contain"] .portfolio-round-arrow { border-color: var(--line-strong); background: var(--surface); }
.hero-carousel .hero-project-label { gap: 16px; min-height: 46px; }
.hero-carousel .hero-project-label > span:first-child { min-width: 0; }
.hero-carousel .hero-project-label small { text-transform: none; letter-spacing: .02em; font-size: 13px; }
.hero-carousel .hero-image-note { pointer-events: none; max-width: calc(100% - 100px); background: #253225bc; }
.hero-carousel-count { position: absolute; top: 22px; right: 22px; z-index: 2; padding: 7px 10px; border: 1px solid #ffffff30; border-radius: 999px; background: #253225bc; color: white; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; pointer-events: none; }
.hero-carousel-controls { position: absolute; inset: 50% 12px auto; z-index: 3; transform: translateY(-50%); display: flex; justify-content: space-between; pointer-events: none; }
.hero-carousel-controls[hidden] { display: none; }
.hero-carousel-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #2729251a; border-radius: 999px; background: #fffefae8; color: #272925; font: 22px/1 sans-serif; box-shadow: 0 2px 12px #00000012; cursor: pointer; pointer-events: auto; }
.hero-carousel-controls button:hover { background: #fffefa; }
.hero-carousel .hero-slide:focus-visible { outline-offset: -5px; }
@media (max-width: 360px) {
  .hero-carousel-controls { top: 40%; }
}
@media (min-width: 1001px) and (max-width: 1150px) {
  .portfolio-hero { gap: 26px; grid-template-columns: 1fr 1.1fr; }
  .portfolio-hero h1 { font-size: 62px; }
}
@media (max-width: 600px) {
  .project-tour-preview { aspect-ratio: 1.3; }
  .project-tour-preview > span { padding: 20px; }
  .expert-portrait { width: 120px; border-radius: 12px; }
  .hero-slide[data-fit="contain"] img { padding: 42px 14px 77px; }
  .hero-carousel-count { top: 14px; right: 14px; padding: 6px 9px; font-size: 11px; }
  .hero-carousel-controls { inset-inline: 8px; }
  .hero-carousel .hero-project-label { inset-inline: 18px; gap: 10px; }
  .hero-carousel .hero-project-label strong { font-size: 24px; }
  .hero-carousel .hero-project-label small { font-size: 11px; }
  .hero-carousel .hero-image-note { padding: 6px 9px; }
  .hero-carousel .portfolio-round-arrow { width: 40px; height: 40px; flex-shrink: 0; }
}
.model-reset { font-size: 13px; min-height: 44px; }
.model-start p { border-radius: 999px; }
.ob-service-option[hidden] { display: none; }

@media (max-width: 1000px) {
  .portfolio-hero { gap: 26px; grid-template-columns: 1fr 1.1fr; }
  .portfolio-hero h1 { font-size: clamp(44px, 6vw, 62px); }
  .portfolio-hero-intro > p { font-size: 16px; }
  .portfolio-hero-heading { margin: 0; }
  .portfolio-hero-media { aspect-ratio: .85; }
  .hero-project-label { inset: auto 22px 26px; }
  .portfolio-service-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; }
  .service-number { display: none; }
  .service-row-copy { grid-column: 1; }
  .service-row-price { grid-column: 1; grid-row: 2; }
  .service-row-quote { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 600px) {
  .service-preview-images { height: 160px; }
  .service-preview-caption { font-size: 13px; padding: 10px 12px; }
  .service-project-proof { margin-block: 20px; }
  .portfolio-hero { display: grid; grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .portfolio-hero-heading { display: contents; }
  .portfolio-hero-heading > div:first-child { grid-row: 1; }
  .portfolio-hero h1 { font-size: clamp(44px, 12vw, 66px); }
  .portfolio-hero .portfolio-kicker { margin-bottom: 15px; max-width: 300px; }
  .portfolio-hero-media { grid-row: 2; aspect-ratio: 1.35; }
  .portfolio-hero-media > img { object-fit: cover; object-position: center; }
  .portfolio-hero-intro { grid-row: 3; margin: 0; }
  .portfolio-hero-intro > p { margin-bottom: 16px; font-size: 16px; line-height: 1.6; }
  .portfolio-hero-intro > .hero-quote-note { font-size: 12px; margin-top: 10px; }
  .portfolio-hero-intro > .portfolio-text-link { display: inline-flex; margin: 16px 0 0; }
  .hero-image-note { max-width: calc(100% - 28px); font-size: 11px; }
  .hero-project-label { inset: auto 18px 19px; }
  .portfolio-credentials { grid-row: 4; font-size: 12px; margin-top: 0; padding-block: 5px 20px; }
  .portfolio-section { padding-block: 55px; }
  .service-row-copy > span { font-size: 14px; }
  .service-row-quote { font-size: 13px; gap: 8px; padding: 9px 12px; }
  .service-row-quote svg { width: 16px; }
  .portfolio-service-foot { font-size: 12px; }
  .explorer-tabs { width: 100%; border-radius: 18px; }
  .explorer-tabs button { flex: 1; font-size: 12px; padding: 8px 6px; gap: 4px; }
  .explorer-tabs button span { font-size: 10px; }
  .explorer-floors button { font-size: 13px; min-height: 44px; }
  .model-room-nav button { padding-inline: 8px; font-size: 12px; }
  .explorer-caption { flex-wrap: wrap; }
  .explorer-caption > span { max-width: none; text-align: left; }
  .project-feature-footer { flex-wrap: wrap; }
  .case-enquiry { flex-direction: column; align-items: start; gap: 24px; padding-block: 38px; }
  .case-enquiry > div:last-child { align-items: start; }
  .onboarding-flow { padding: 25px 20px calc(22px + env(safe-area-inset-bottom)); min-height: 100svh; }
  .onboarding-heading { padding-right: 32px; }
  .onboarding-meta { display: block; }
  .onboarding-meta > span { display: none; }
  .onboarding-heading h2 { font-size: 28px; }
  .ob-service-option { font-size: 13px; min-height: 44px; padding: 10px 12px; }
  .ob-services legend small { display: block; margin-left: 0; margin-top: 4px; }
  .ob-summary > div { grid-template-columns: 65px minmax(0, 1fr) auto; }
  .ob-actions[data-ob-nav-actions] { padding-bottom: env(safe-area-inset-bottom); }
  .price-table thead th:last-child { display: none; }
  .price-table tbody tr { display: grid; grid-template-columns: 1fr auto; }
  .price-table tbody td:first-child { grid-column: 1 / -1; }
  .price-table tbody td { width: auto; padding-block: 8px; border: 0; }
  .price-table tbody td:nth-child(2) { text-align: left; align-self: center; }
  .price-table .price-action { justify-self: end; }
}

/* Append after legacy .portfolio-gallery rules, scoped to the enhanced dialog. */
.portfolio-gallery.portfolio-gallery--carousel {
  display: none;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 64px 64px 20px;
  border-color: var(--line, #d8d9d1);
  border-radius: 16px;
  background: var(--surface, #faf9f5);
}
.portfolio-gallery.portfolio-gallery--carousel[open] { display: grid; }
.portfolio-gallery--carousel .gallery-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; touch-action: none; cursor: zoom-in; }
.portfolio-gallery--carousel .gallery-stage.is-zoomed { cursor: grab; }
.portfolio-gallery--carousel .gallery-stage.is-dragging { cursor: grabbing; }
.portfolio-gallery--carousel .gallery-stage.has-error { cursor: default; }
.portfolio-gallery--carousel .gallery-stage img { display: block; width: 100%; height: 100%; padding: 0; object-fit: contain; user-select: none; transform-origin: center; }
.portfolio-gallery--carousel .gallery-stage.is-zoomed img { will-change: transform; }
.portfolio-gallery--carousel .gallery-stage img[hidden] { display: none; }
.portfolio-gallery--carousel .gallery-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.portfolio-gallery--carousel .gallery-stage.has-error .gallery-status { inset: 50% 16px auto; width: auto; height: auto; margin: 0; padding: 12px; overflow: visible; clip-path: none; white-space: normal; transform: translateY(-50%); text-align: center; font-size: 14px; color: var(--muted, #696e65); }
.portfolio-gallery--carousel .gallery-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-width: 0; }
.portfolio-gallery--carousel .gallery-meta figcaption { margin: 0; padding: 0; text-align: left; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; color: var(--ink, #292e27); }
.portfolio-gallery--carousel .gallery-counter { flex: none; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; color: var(--muted, #696e65); }
.portfolio-gallery.portfolio-gallery--carousel > button { display: grid; place-items: center; position: absolute; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line, #d8d9d1); border-radius: 999px; background: var(--surface, #faf9f5); color: var(--ink, #292e27); font: 22px/1 sans-serif; box-shadow: 0 2px 12px #0000000a; }
.portfolio-gallery.portfolio-gallery--carousel > button:hover { background: var(--soft, #eeeee7); }
.portfolio-gallery.portfolio-gallery--carousel > button[hidden], .portfolio-gallery--carousel .gallery-counter[hidden] { display: none; }
.portfolio-gallery--carousel > .gallery-close { top: 12px; right: 12px; }
.portfolio-gallery--carousel > .gallery-previous { top: 50%; left: 10px; right: auto; transform: translateY(-50%); }
.portfolio-gallery--carousel > .gallery-next { top: 50%; right: 10px; transform: translateY(-50%); }
.portfolio-gallery--carousel .gallery-zoom { position: absolute; top: 10px; left: 50%; display: flex; align-items: center; padding: 2px; transform: translateX(-50%); border: 1px solid var(--line, #d8d9d1); border-radius: 999px; background: var(--surface, #faf9f5); }
.portfolio-gallery--carousel .gallery-zoom button { position: static; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--ink, #292e27); font: 22px/1 sans-serif; }
.portfolio-gallery--carousel .gallery-zoom .gallery-zoom-reset { width: 62px; font: 500 13px/1 var(--font-sans, sans-serif); font-variant-numeric: tabular-nums; }
.portfolio-gallery--carousel .gallery-zoom button:hover:not(:disabled) { background: var(--soft, #eeeee7); }
.portfolio-gallery--carousel .gallery-zoom button:disabled { opacity: .35; cursor: default; }
.portfolio-gallery--carousel button:focus-visible { outline: 2px solid var(--ink, #292e27); outline-offset: 3px; }
@media (max-width: 600px) {
  .portfolio-gallery.portfolio-gallery--carousel { width: calc(100vw - 16px); height: calc(100dvh - 16px); padding: 64px 12px 76px; border-radius: 14px; }
  .portfolio-gallery--carousel .gallery-meta { gap: 10px; }
  .portfolio-gallery--carousel .gallery-meta figcaption { font-size: 13px; }
  .portfolio-gallery--carousel > .gallery-previous { top: auto; bottom: 14px; left: calc(50% - 50px); transform: none; }
  .portfolio-gallery--carousel > .gallery-next { top: auto; bottom: 14px; right: calc(50% - 50px); transform: none; }
}
