/* LM Decor canvas: palette tokens, floating controls, glass surfaces and responsive card geometry.
   Keep rule order: a CMS block may combine these classes. Typography is owned by typography.css.
   Motion remains in handwriting.css, logo-entrance.css and theme-transition.css. */
:root {
  --paper: #f6f0e6;
  --warm: #e5d5c1;
  --ink: #49362d;
  --muted: #6d5547;
  --olive: #66503c;
  --line: #cbbca9;
  --champagne: #d9c5a5;
  --surface: #faf5ec;
  --surface-alt: #eee3d4;
  --surface-soft: #e8dac6;
  --field: #fbf7f0;
  --field-border: #b7a58b;
  --accent-text: #775b3e;
  --action-ink: #fff8eb;
  --action-hover: #4e3b2d;
  --focus: #916224;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --script: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Cormorant Garamond', Georgia, serif;
  --section-width: 1180px;
  --canvas-light: #e3c8a645;
  --glass: #fffaf0ae;
  --glass-edge: #fffdf5bd;
  --glass-shadow: #5a39251c;
  --card-shadow: #51362830;
  --menu-surface: #fbf4e6c9;
}
:root[data-theme='dark'] {
  --paper: #251f1c;
  --warm: #403129;
  --ink: #f5e9d7;
  --muted: #d1bda5;
  --olive: #d9c29d;
  --line: #705d4c;
  --champagne: #dec49e;
  --surface: #322821;
  --surface-alt: #2b221d;
  --surface-soft: #403127;
  --field: #30271f;
  --field-border: #887159;
  --accent-text: #e0c6a1;
  --action-ink: #2e241b;
  --action-hover: #f0dac0;
  --focus: #e9c18b;
  --canvas-light: #b8834730;
  --glass: #47382d85;
  --glass-edge: #ddc4a72e;
  --glass-shadow: #00000055;
  --card-shadow: #00000062;
  --menu-surface: #352a22cf;
}
html { scroll-padding-top: 72px; }
body { background: radial-gradient(ellipse at 25% 3%, var(--canvas-light), transparent 40%),
    radial-gradient(ellipse at 95% 35%, var(--canvas-light), transparent 46%), var(--paper); }
body::before { content: ''; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: url('/assets/branding/lm-logo-light-v3.png') center 7% / min(830px, 88vw) auto no-repeat; opacity: .055; filter: sepia(.16); }
:root[data-theme='dark'] body::before { opacity: .035; }
button,
input,
select,
textarea,
strong,
b,
label,
.eyebrow { font-weight: 300; font-synthesis: none; }
h1,
h2,
h3 { letter-spacing: 0; }
h1 em,
h2 em { font-size: 1em; line-height: inherit; }
p { color: var(--muted); }
.eyebrow { text-transform: none; font: 300 20px/1.6 var(--sans); }
.section { width: min(var(--section-width), calc(100% - 72px)); padding: 45px 0; }
.section-heading { gap: 30px; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading > p,
.section-bottom p { max-width: 400px; }
.section-bottom { margin-top: 22px; }
.site-header,
.site-header.over-hero,
.site-header.header-scrolled { position: absolute; top: 14px; inset-inline: 0; height: 46px; border: 0 !important; background: transparent !important; color: var(--ink); box-shadow: none; z-index: 25; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.header-inner { width: min(var(--section-width), calc(100% - 48px)); height: 46px; display: flex; justify-content: flex-end; align-items: center; }
.desktop-nav,
.header-phone,
.header-cta,
.header-inner > .brand { display: none; }
.nav-right { display: flex; gap: 12px; margin: 0; align-items: center; }
.header-inner .nav-right { min-height: 44px; }
.theme-toggle { padding: 8px; width: 44px; height: 44px; min-height: 44px; font: 300 20px/1.4 var(--sans); }
.theme-toggle [data-theme-label] { display: none; }
.menu-toggle { padding: 7px 12px; width: auto; min-height: 44px; color: inherit; font: 300 21px/1.5 var(--sans); }
.menu-toggle .menu-label,
.menu-toggle .menu-label span { display: inline; flex: 0 0 auto; white-space: nowrap; width: auto; height: auto; background: none; transform: none; }
.menu-toggle .menu-strokes { display: grid; flex: 0 0 20px; gap: 5px; height: auto; background: none; }
.menu-toggle[aria-expanded='true'] > .menu-label,
.menu-toggle[aria-expanded='true'] > .menu-strokes { transform: none; }
.menu-toggle .menu-strokes span { height: 1px; background: currentColor; margin: 0; transition: transform .22s; }
.menu-toggle[aria-expanded='true'] .menu-strokes span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-strokes span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav,
.mobile-nav[hidden] { display: flex; position: absolute; inset: 54px max(24px, calc((100vw - var(--section-width)) / 2)) auto auto; flex-direction: column; gap: 2px; width: 250px; padding: 16px 24px; background: var(--glass); border: 1px solid color-mix(in srgb, var(--line) 65%, transparent); border-radius: 26px; box-shadow: 0 16px 45px var(--card-shadow); transform-origin: top right; opacity: 1; transform: translateY(0) scale(1); visibility: visible; transition: opacity .2s, transform .2s, visibility .2s; }
.mobile-nav[hidden] { opacity: 0; transform: translateY(-8px) scale(.96); visibility: hidden; pointer-events: none; }
.mobile-nav a { padding: 6px 0; font: 300 21px/1.65 var(--sans); border: 0; }
.opening { flex-direction: column; align-items: center; justify-content: center; }
.opening-brand { position: relative; flex: 0 0 auto; }
.opening-brand img { width: 100%; height: 100%; object-fit: contain; animation: lily-breathe 9s ease-in-out infinite; }
.opening-brand::before { content: ''; position: absolute; inset: -15px -35px; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, var(--canvas-light), transparent 72%); }
.opening h1 { text-align: center; margin: 0; }
.opening .opening-location { text-align: center; }
.opening .services-grid { display: grid; }
.opening .service-card { position: relative; border-radius: 25px; overflow: hidden; opacity: 1; transform: none; isolation: isolate; }
.opening .service-image::after { content: ''; position: absolute; }
.opening .service-copy { margin: 0; }
.opening .service-copy .eyebrow,
.opening .service-copy p,
.opening .service-number { display: none; }
.opening .service-copy h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.opening .service-copy h3 svg { color: #fff9ef; flex: 0 0 22px; }
.opening-actions { display: flex; justify-content: center; width: 100%; margin-top: 4px; }
.button,
.button-light,
.button-dark,
.hero-actions .button,
.service-hero .button,
.form-submit { font: 300 21px/1.55 var(--sans); min-height: 48px; padding: 10px 22px; gap: 14px; }
.button svg { width: 21px; height: 21px; }
.text-link,
.wedding-link,
.review-card .text-link,
.section-bottom .text-link { font-size: 21px; line-height: 1.65; border-color: color-mix(in srgb, currentColor 35%, transparent); gap: 12px; }
.project-card > .eyebrow,
.service-copy .eyebrow { font-size: 19px; }
.service-copy h3,
.project-card h3 { font: 300 26px/1.65 var(--script); }
.service-copy p,
.process-grid p,
.team-story p,
.faq-list details p,
.inquiry-intro > p,
.service-hero p,
.price-panel > p,
.price-panel ul,
.policy-page p,
.gallery-description { font: 300 21px/1.8 var(--sans); }
.portfolio-grid { gap: 24px; }
.project-image { border-radius: 26px; }
.project-card { background: transparent; border: 0; border-radius: 0; }
.project-card h3 { display: block; overflow-wrap: anywhere; }
.project-card h3 svg { display: none; }
.portfolio-more { display: flex; margin: 24px auto 0; }
.portfolio-more[hidden] { display: none; }
.project-open { font: 300 21px/1.5 var(--sans); }
.portfolio-filters { gap: 10px; margin-bottom: 24px; }
.filter { font: 300 21px/1.55 var(--sans); }
.signature-section { width: min(var(--section-width), calc(100% - 72px)); margin: 30px auto; background: transparent; color: var(--ink); border-radius: 28px; overflow: hidden; gap: 30px; }
.signature-image { border-radius: 28px; overflow: hidden; }
.signature-image::after { display: none; }
.signature-copy { padding: 25px 0; }
.signature-copy p,
.signature-copy > .eyebrow { color: var(--muted); }
.signature-copy .button-light { background: var(--olive); color: var(--action-ink); }
.process-grid { gap: 26px; }
.process-grid li > span { font: 300 24px/1.6 var(--script); }
.team-triptych { gap: 24px; align-items: center; }
.team-triptych figure { border-radius: 25px; overflow: hidden; transform: none; }
.team-triptych .team-center img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 55%; }
.team-triptych figcaption { font: 300 18px/1.8 var(--sans); padding-top: 10px; }
.team-story { margin-top: 24px; }
.review-card blockquote { font: 300 24px/1.8 var(--sans); letter-spacing: 0; margin: 0 0 15px; }
.review-mark { display: none; }
.review-author,
.review-date { font: 300 20px/1.6 var(--sans); }
.faq-list summary { font: 300 22px/1.7 var(--sans); min-height: 44px; }
.inquiry-section::before { content: none; }
.inquiry-section { gap: 42px; }
.form-grid { gap: 16px; }
.form-grid label,
.form-grid label > span,
.consent,
.form-status { font: 300 20px/1.75 var(--sans); }
.form-grid input,
.form-grid select,
.form-grid textarea { min-height: 48px; border-radius: 14px; }
.consent input { width: 20px; height: 20px; flex: 0 0 20px; }
.site-footer { background: transparent; padding-top: 30px; border: 0; }
.footer-main,
.footer-bottom { width: min(var(--section-width), calc(100% - 72px)); margin-inline: auto; }
.footer-main nav,
.footer-brand span,
.footer-bottom { font: 300 19px/1.8 var(--sans); }
.footer-phone,
.contact-phone { font-family: var(--sans); }
.footer-brand { font: 300 30px/1.6 var(--script); }
.service-hero { padding-top: 92px; gap: 36px; }
body main .section.service-hero { padding-top: 92px; }
.service-hero h1 em { font-family: inherit; font-size: 1em; line-height: inherit; }
.service-hero-image { border-radius: 28px; }
.breadcrumbs { font: 300 20px/1.6 var(--sans); }
.price-panel { padding: 25px; }
.service-details { gap: 35px; }
.related-services .service-copy { padding: 14px 0; }
.policy-page { padding-top: 100px; max-width: 920px; }
.gallery-dialog { border-radius: 28px; background: var(--surface); color: var(--ink); }
.gallery-caption { padding: 26px 32px; }
.gallery-meta { font: 300 19px/1.8 var(--sans); }
.gallery-actions { gap: 24px; }
@keyframes lily-breathe { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-3px) rotate(.6deg); } }
@media (max-width: 760px) {
  .section { width: calc(100% - 32px); padding: 32px 0; }
  .site-header,
  .site-header.over-hero { top: 7px; }
  .header-inner { width: calc(100% - 24px); }
  .mobile-nav,
  .mobile-nav[hidden] { right: 12px; width: min(260px, calc(100vw - 24px)); }
  .opening .service-copy h3 { gap: 4px; }
  .opening .gift-label { top: 8px; left: 8px; right: 8px; font-size: 17px; padding: 5px 7px; text-align: center; }
  .opening-actions { flex-wrap: nowrap; }
  .opening-actions .button svg { width: 16px; height: 16px; }
  .section-heading { display: block; margin-bottom: 18px; }
  .section-heading > p { margin-top: 12px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 12px; }
  .project-image { border-radius: 18px; aspect-ratio: 4 / 5; }
  .project-card > .eyebrow { margin-top: 10px; }
  .project-open { display: none; }
  .portfolio-filters { flex-wrap: wrap; }
  .section-bottom { display: block; }
  .section-bottom .text-link { margin-top: 12px; }
  .signature-section { width: calc(100% - 32px); margin: 12px auto; gap: 12px; display: grid; grid-template-columns: 1fr; }
  .signature-image { height: 280px; }
  .signature-copy { padding: 10px 0; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 17px; }
  .team-triptych { gap: 10px; grid-template-columns: 1fr 1.4fr 1fr; }
  .team-triptych figure { border-radius: 16px; }
  .team-triptych .team-side img { height: 190px; object-fit: cover; }
  .team-story { margin-top: 18px; }
  .reviews-grid { gap: 16px; }
  .inquiry-section { gap: 22px; }
  .form-grid { gap: 13px; }
  .footer-main,
  .footer-bottom { width: calc(100% - 32px); }
  .footer-main { gap: 22px; }
  .footer-bottom { gap: 12px; padding-top: 15px; margin-top: 20px; }
  .service-hero { padding-top: 82px; gap: 22px; }
  body main .section.service-hero { padding-top: 82px; }
  .service-hero-image { margin-top: 0; }
  .service-details { gap: 22px; }
  .gallery-caption { padding: 20px; }
  .gallery-actions { gap: 15px; }
  .gallery-dialog { border-radius: 22px; }
}
@media (max-height: 650px) and (max-width: 760px) {
  .opening { justify-content: flex-start; }
  .opening .service-card { border-radius: 16px; }
  .opening .gift-label { font-size: 15px; padding: 4px 5px; }
}
@media (max-width: 350px) {
  .opening-actions .button { padding-inline: 9px; }
  .opening-actions .button svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .opening-brand img,
  .opening .service-image img { animation: none; transition: none; }
  .mobile-nav,
  .menu-toggle .menu-strokes span { transition: none; }
}
@media(max-width:760px) {
  .opening h1 { height: 2.1em; display: grid; place-items: center; overflow: clip; }
}
.project-date { color: var(--muted); margin: 5px 0 0; }
.frame-caption { color: var(--muted); margin: 10px 0 0; }
.section:not(.opening) .eyebrow,
.signature-section .signature-copy > .eyebrow { font: 300 19px/1.7 var(--sans); letter-spacing: .015em; }
.service-details .detail-list li { font: 300 19px/1.8 var(--sans); padding: 11px 0; }
.service-hero-copy > .eyebrow { margin: 20px 0 16px; }
.js .service-hero .reveal { opacity: 1; transform: none; }
.unavailable-copy { min-height: 70svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 850px; }
.unavailable-copy h1 { font-size: clamp(42px,5vw,70px); }
.unavailable-copy p { max-width: 650px; }
.unavailable-copy .opening-actions { flex-wrap: wrap; }
body .selection-count,
body .selection-dialog .dialog-close,
body .gallery-counter,
body .dialog-close { font-family: var(--sans); font-weight: 300; font-synthesis: none; }
body :is(strong, b) { font-weight: 300; }
body :is(input, select, textarea)::placeholder { font-family: var(--sans); font-weight: 300; }
body .selection-count { font-size: 16px; line-height: 1.5; }
body .selection-intro,
body .selection-empty { font-size: 21px; line-height: 1.8; }
body .selection-work h3 { font-size: 26px; line-height: 1.7; }
body .selection-photo figcaption,
body .selection-status,
body .selection-note,
body .selection-remove,
body .selection-unavailable { font-size: 19px; line-height: 1.75; }
body .selection-form-summary { font-size: 20px; line-height: 1.75; }
body .catalogue-controls { font-size: 20px; line-height: 1.7; }
body .catalogue-controls :is(input, select) { font-size: 21px; line-height: 1.6; }
body .catalogue-control-error,
body .catalogue-period-note,
body .catalogue-restore-note,
body .project-disclosure,
body .inquiry-recovery-action { font-size: 19px; line-height: 1.8; }
body .frame-caption { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.8; }
.menu-toggle,
.theme-toggle,
body .selection-trigger { border: 1px solid var(--glass-edge); border-radius: 30px; background: linear-gradient(130deg, var(--glass), color-mix(in srgb, var(--glass) 65%, transparent)); box-shadow: 0 7px 23px var(--glass-shadow), inset 0 1px 0 var(--glass-edge); backdrop-filter: blur(12px) saturate(115%); -webkit-backdrop-filter: blur(12px) saturate(115%); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
body .selection-trigger { padding-inline: 12px; min-height: 44px; }
.menu-toggle:hover,
.theme-toggle:hover,
body .selection-trigger:hover { background: var(--glass); box-shadow: 0 10px 29px var(--glass-shadow), inset 0 1px 0 var(--glass-edge); }
.mobile-nav { background: var(--menu-surface); border-color: var(--glass-edge); box-shadow: 0 18px 55px var(--glass-shadow), inset 0 1px 0 var(--glass-edge); backdrop-filter: blur(18px) saturate(110%); -webkit-backdrop-filter: blur(18px) saturate(110%); }
.opening-actions .button,
.filter,
.price-panel,
.review-card,
body .case-favorite,
body .gallery-favorite { background: linear-gradient(135deg, var(--glass), color-mix(in srgb, var(--glass) 65%, transparent)); border: 1px solid var(--glass-edge); box-shadow: 0 10px 30px var(--glass-shadow), inset 0 1px 0 var(--glass-edge); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.filter.active { background: var(--olive); color: var(--action-ink); border-color: var(--olive); }
.review-card { padding: 22px 26px; border-radius: 24px; }
.price-panel { border-radius: 25px; }
.form-grid :is(input, select, textarea) { background: color-mix(in srgb, var(--field) 76%, transparent); border-color: color-mix(in srgb, var(--field-border) 72%, transparent); box-shadow: inset 0 1px 3px var(--glass-shadow), 0 3px 13px color-mix(in srgb, var(--glass-shadow) 40%, transparent); }
.project-image,
.team-triptych img,
.signature-image,
.service-hero-image { box-shadow: 0 12px 34px var(--card-shadow), 0 2px 6px var(--glass-shadow); }
.opening .service-card { box-shadow: 0 11px 27px var(--card-shadow), 0 2px 7px var(--glass-shadow); border: 0; transition: box-shadow .25s ease, transform .25s ease; }
.opening .service-image::after { inset: 0; background: linear-gradient(180deg, #241b1100 34%, #291e1436 65%, #241911d4 100%); }
.opening .service-card::after { content: ''; position: absolute; z-index: 0; inset: auto 0 0; height: 34%; pointer-events: none; background: linear-gradient(180deg, #fcf4e100, #e8d6b616); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); mask-image: linear-gradient(180deg, transparent, #000 66%); }
.opening .service-card:hover { box-shadow: 0 16px 35px var(--card-shadow), 0 3px 9px var(--glass-shadow); transform: translateY(-2px); }
.opening .service-card:active { transform: translateY(0) scale(.989); }
.opening .service-copy { z-index: 1; }
.opening .service-copy h3 { font: 300 24px/1.4 var(--script); overflow: visible; overflow-wrap: normal; letter-spacing: 0; }
.opening .service-copy h3 svg { width: 19px; height: 19px; flex-basis: 19px; opacity: .9; }
.opening .service-copy :is(.eyebrow, p),
.opening .service-number,
.opening .gift-label { display: none; }
.opening-brand { width: 195px; height: 112px; }
.opening-actions { gap: 12px; }
.opening-actions .button { padding: 8px 24px; color: var(--ink); border-color: var(--glass-edge); }
.opening-actions .button:hover { background: var(--glass); box-shadow: 0 14px 35px var(--glass-shadow); }
:root:not([data-theme=dark]) .opening-brand img { filter: sepia(.13) brightness(.78); }
@media (min-width: 761px) and (max-height: 720px) {
  .opening-brand { width: 132px; height: 73px; }
}
@media (max-width: 760px) {
  .nav-right { gap: 6px; }
  .header-inner .nav-right { min-height: 44px; }
  .menu-toggle { padding: 7px 10px; }
  .opening-brand { width: 142px; height: 78px; }
  .opening .service-card { border-radius: 19px; }
  .opening-actions { gap: 9px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opening-actions .button { gap: 5px; text-align: center; }
  .opening-actions .button svg { display: none; }
  .project-card > .eyebrow { font-size: 18px; line-height: 1.65; }
  .review-card { padding: 20px; }
  body .project-link > .eyebrow { font-size: 18px; line-height: 1.65; }
  body .catalogue-controls { font-size: 19px; }
  body .catalogue-controls :is(input, select) { font-size: 20px; }
}
@media (max-width: 760px) and (max-height: 690px) {
  .opening { justify-content: center; }
  .opening-brand { height: 56px; width: 110px; }
  .opening h1 { min-height: 2.9em; }
  .opening-actions .button { padding: 6px 9px; }
}
@media (max-width: 360px) {
  body .header-inner .selection-trigger { font-size: 16px; gap: 4px; padding-inline: 7px; }
}
@media (max-width: 760px) and (max-height: 590px) {
  .opening-brand { width: 92px; height: 41px; }
  .opening h1 { min-height: 2.9em; }
  .opening-actions .button { padding: 5px 8px; }
}
@media (min-width: 761px) and (max-height: 520px) {
  .opening-brand { height: 38px; width: 85px; }
  .opening .opening-location { display: none; }
  .opening-actions .button { padding: 5px 20px; }
}
@supports not (backdrop-filter: blur(1px)) {
  .mobile-nav { background: var(--surface); }
  .menu-toggle,
  .theme-toggle,
  body .selection-trigger,
  .opening-actions .button,
  .review-card,
  .price-panel { background: color-mix(in srgb, var(--surface) 93%, transparent); }
}
body .opening .service-card { display: flex; align-items: center; justify-content: center; container-type: size; background: var(--glass); }
body .opening .service-photo { position: relative; display: grid; flex: 1 1 auto; width: 100%; height: 100%; max-width: 100%; max-height: 100%; border-radius: 19px; overflow: hidden; isolation: isolate; }
body .opening .service-image { position: relative; inset: auto; min-width: 0; min-height: 0; display: block; width: 100%; height: 100%; aspect-ratio: auto; border-radius: inherit; background: transparent; overflow: hidden; }
body .opening .service-image img { position: absolute; inset: 0; display: block; min-width: 0; min-height: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; border-radius: 0; transform: none; transition: none; }
body .opening .service-image::after,
body .opening .service-card::after { display: none; }
body .opening .service-copy { position: absolute; inset: auto 0 0; min-width: 0; padding: 22px 6px 7px; color: #fff9ef; background: linear-gradient(180deg, transparent, #271c159e 55%, #211710e6); }
body .opening .service-copy h3 { justify-content: center; text-align: center; color: inherit; text-shadow: 0 1px 4px #150c09cc; min-width: 0; }
body .opening .service-image .sb-template-caption { position: absolute; inset: 6px 6px auto; margin: 0; padding: 4px; color: #fff9ef; background: #211710a6; border-radius: 8px; }
body .opening .service-copy h3 > span { min-width: 0; overflow-wrap: anywhere; }
body .opening .service-copy h3 svg { display: none; }
body .opening .service-card:hover .service-image img { transform: none; }
body .project-image > img { object-fit: contain; object-position: center; }
body .project-card:hover .project-image > img { transform: none; }
body .service-image > img { object-fit: contain; object-position: center; }
body .service-card:hover .service-image > img { transform: none; }
body .section:not(.opening) .service-image { padding: 6px; background: var(--glass); }
body .section:not(.opening) .service-image:has(.gift-label) { padding-bottom: 42px; }
body .service-number { display: none; }
body .service-copy p { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
body .opening { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 4px; padding: 12px 0; }
body .opening .opening-brand { grid-row: 1; width: 110px; height: 38px; }
body .opening h1 { grid-row: 2; }
body .opening .opening-location { grid-row: 3; }
body .opening .services-grid { grid-row: 4; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
body .opening .service-card { min-height: 0; padding: 0; }
body .opening .opening-actions { grid-row: 5; margin: 4px 0 0; }
@media (min-width: 1001px) and (max-width: 1259px) {
  body .opening { padding-top: 26px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  body .opening { padding-top: 67px; }
}
body .header-inner { gap: 12px; }
body .header-inner .nav-right { gap: 12px; min-width: 0; flex: 0 0 auto; }
body .header-inner :is(.selection-trigger, .theme-toggle, .menu-toggle) { flex: 0 0 auto; }
body .header-inner .theme-toggle { width: 44px; min-width: 44px; height: 44px; }
body .mobile-nav { gap: 8px; max-height: calc(100svh - 86px); overflow-y: auto; padding: 12px 20px; overscroll-behavior: contain; }
body .mobile-nav a { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
@media (max-width: 760px) {
  body .header-inner { gap: 10px; }
  body .header-inner .nav-right { gap: 8px; }
  body .opening { width: calc(100% - 24px); padding: 60px 0 12px; gap: 4px; }
  body .opening .opening-brand { width: 118px; height: 45px; }
  body .opening .service-card { padding: 0; }
  body .opening .service-copy { padding: 16px 4px 5px; }
  body .opening .service-photo { border-radius: 13px; }
}
@media (max-width: 760px) and (max-height: 690px) {
  body .opening .opening-brand { width: 92px; height: 30px; }
  body .opening { gap: 3px; padding-bottom: 8px; }
}
@media (max-width: 760px) and (max-height: 590px) {
  body .opening { flex-direction: column; gap: 2px; align-items: center; justify-content: flex-start; }
  body .opening .opening-brand { width: 82px; height: 24px; }
  body .opening .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; flex: 0 0 auto; }
  body .opening .service-card { padding: 0; }
  body .opening .service-copy { padding: 8px 3px 4px; }
}
@media (min-width: 761px) and (max-height: 520px) {
  body .opening { padding: 52px 0 8px; gap: 2px; }
  body .opening .opening-brand { width: 78px; height: 18px; }
  body .opening .services-grid { gap: 8px; }
  body .opening .service-card { padding: 0; }
  body .opening .service-copy { padding: 8px 3px 4px; }
  body .opening .service-photo .service-copy h3 { font-size: 20px; line-height: 1.12; }
}
@media (prefers-reduced-motion: reduce) {
  .opening .service-card,
  .menu-toggle,
  .theme-toggle,
  body .selection-trigger { transition: none; }
  .opening .service-card:hover,
  .opening .service-card:active { transform: none; }
}
.team-triptych figcaption { overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
}
body .portfolio-status { font-size: 19px; line-height: 1.7; }
.signature-copy .button { min-height: 49px; }
@media (max-width: 520px) {
  .portfolio-case .portfolio-grid > .project-card:has(.project-disclosure) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: inherit; }
  .portfolio-case .project-card:has(.project-disclosure) > .project-link { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: inherit; row-gap: 12px; align-items: start; }
  .portfolio-case .project-card:has(.project-disclosure) > .project-link > .project-image { grid-column: 1; grid-row: 1; }
  .portfolio-case .project-card:has(.project-disclosure) > .project-link > .frame-caption:not(.project-disclosure) { grid-column: 2; grid-row: 1; min-width: 0; margin-top: 0; }
  .portfolio-case .project-card:has(.project-disclosure) > .project-link > .project-disclosure { grid-column: 1 / -1; margin-top: 0; }
  .portfolio-case .project-card:has(.project-disclosure) > .project-favorite { position: relative; top: auto; right: auto; grid-column: 1; grid-row: 1; align-self: start; justify-self: end; margin: 8px; }
}
body .opening { --opening-grid-width: min(1160px, calc(100vw - 72px)); --opening-grid-height: calc((var(--opening-grid-width) - 24px) * .4166667 + 12px); --opening-reserve: 218px; display: grid; height: 100svh; min-height: 100svh; grid-template-rows: auto auto auto minmax(0, auto) auto; align-content: center; }
body .opening .services-grid { width: var(--opening-grid-width); height: min(var(--opening-grid-height), calc(100svh - var(--opening-reserve))); min-height: 0; align-self: center; }
body .opening .service-card { height: 100%; }
@media (min-width: 1001px) and (max-width: 1259px) {
  body .opening { --opening-reserve: 236px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  body .opening { --opening-reserve: 266px; }
}
@media (max-width: 760px) {
  body .opening { --opening-grid-width: calc(100vw - 24px); --opening-grid-height: calc((var(--opening-grid-width) - 8px) * 1.0714286 + 16px); --opening-reserve: 288px; height: auto; min-height: 0; align-content: start; }
  body .opening .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 760px) and (max-height: 690px) {
  body .opening { --opening-reserve: 262px; }
}
@media (max-width: 760px) and (max-height: 590px) {
  body .opening { --opening-reserve: 244px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  body .opening { --opening-grid-width: min(1160px, calc(100vw - 48px)); --opening-grid-height: calc((var(--opening-grid-width) - 16px) * .4166667 + 8px); --opening-reserve: 164px; height: 100svh; min-height: 100svh; align-content: center; padding: 52px 0 8px; gap: 2px; }
  body .opening .opening-brand { width: 78px; height: 18px; }
  body .opening .opening-location { display: none; }
  body .opening .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body .opening .service-card { padding: 0; }
  body .opening .service-copy { padding: 8px 5px 4px; }
  body .opening .service-photo .service-copy h3 { font-size: 20px; line-height: 1.12; }
}
body .opening .service-card--brand .service-image { background: linear-gradient(135deg, #493226, #241c18); }
body .opening .service-card--brand .service-image img { opacity: .16; }
body .opening .service-card--brand .service-image::before { content: "360°"; z-index: 1; position: absolute; inset: 7% 0 auto; color: #e9d7b9; font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 34cqh, 62px); line-height: 1; text-align: center; pointer-events: none; }
