:root {
  color-scheme: light;
  --canvas: #fff;
  --panel: #f5f2ed;
  --panel-strong: #ece7df;
  --text: #1a211e;
  --muted: #515953;
  --line: #c9c9c1;
  --accent: #41574d;
  --action: #354c42;
  --on-action: #fff;
  --header: var(--canvas);
  --footer: var(--panel);
  --focus: #16874e;
  --heading: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", system-ui, sans-serif;
  --radius: 3px;
  --media-radius: var(--radius);
  --width: 1248px;
  --edge: clamp(17px, 4.2vw, 66px);
  --section-space: clamp(50px, 7vw, 107px);
  --shadow: 0 18px 50px #0002;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 0; scroll-padding-top: 98px; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 400 1rem/1.62 var(--body); }
h1, h2, h3, h4 { margin: 0 0 .42em; font-family: var(--heading); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 6.15rem); font-weight: 500; letter-spacing: -.051em; }
h2 { font-size: clamp(2rem, 4vw, 4rem); font-weight: 500; letter-spacing: -.04em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -.024em; }
h4 { font-size: 1.1rem; }
p, ul, ol { margin: 0 0 1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a, button { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:enabled, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
figure { min-width: 0; margin: 0; }
svg { flex: none; }
.wrap { width: min(calc(100% - 2 * var(--edge)), var(--width)); margin-inline: auto; min-width: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 15px; background: var(--action); color: var(--on-action); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.eyebrow, .kicker { margin: 0 0 13px; color: var(--accent); font: 700 .76rem/1.45 var(--body); letter-spacing: .1em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 27px; }
.button { display: inline-flex; min-height: 46px; max-width: 100%; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--radius); background: var(--action); color: var(--on-action); text-decoration: none; text-align: center; font: 700 .875rem/1.3 var(--body); transition: background-color .2s, box-shadow .2s, color .2s, border-color .2s, transform .2s; }
.button-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.button svg, .floating-wa svg { width: 21px; height: 21px; }
@media (hover: hover) {
  .button:hover { transform: translateY(-2px); box-shadow: 0 8px 16px #0002; }
  .button-secondary:hover { background: var(--panel-strong); }
}
.button:active { transform: translateY(1px); }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header); color: var(--text); border-bottom: 1px solid var(--line); }
.header-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 9px; color: inherit; text-decoration: none; line-height: 1.1; }
.brand img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.brand strong, .brand small, .brand-name, .brand span span { display: block; }
.brand strong, .brand-name { font-family: var(--heading); font-size: 1.27rem; font-weight: 700; letter-spacing: -.035em; }
.brand small, .brand span span { margin-top: 3px; color: var(--muted); font: 650 .68rem/1.15 var(--body); letter-spacing: .015em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); margin-inline: auto; }
.desktop-nav a, .desktop-nav button { color: var(--text); text-decoration: none; white-space: nowrap; font: 650 .83rem/1.25 var(--body); }
.desktop-nav > a, .desktop-nav > button, .desktop-nav .services-menu > button, .desktop-nav .services-menu > summary { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.desktop-nav a:is(:hover,[aria-current="page"]), .desktop-nav button:is(:hover,[aria-expanded="true"]) { color: var(--accent); }
.desktop-nav button, .menu-toggle { border: 0; background: transparent; padding: 0; }
.services-menu { position: relative; }
.mega-menu { position: absolute; z-index: 10; top: calc(100% + 12px); left: 50%; translate: -45% 0; display: grid; gap: 15px; grid-template-columns: repeat(3, minmax(0,1fr)); width: min(680px, 72vw); padding: 18px; background: var(--header); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.mega-menu :is(a, strong) { display: block; white-space: normal; }
.mega-menu a { padding: 7px 8px; border-radius: var(--radius); }
.mega-menu a:hover { background: var(--panel); }
.mega-menu > div > a:first-child, .mega-menu strong { color: var(--accent); font-weight: 760; }
.menu-toggle, .mobile-drawer { display: none; }
.header-cta { flex: none; white-space: nowrap; }
.hero { position: relative; isolation: isolate; }
.hero-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(26px, 4vw, 70px); min-height: clamp(480px, 48vw, 735px); padding-block: clamp(30px, 5vw, 78px); }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-copy > p:not(.eyebrow) { max-width: 54ch; font-size: clamp(1rem, 1.45vw, 1.14rem); color: var(--muted); }
.hero-media, .feature-media { position: relative; overflow: hidden; border-radius: var(--media-radius); min-width: 0; }
.hero-media img, .feature-media img, .inner-hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-media picture, .feature-media picture, .inner-hero picture { display: block; width: 100%; height: 100%; }
.hero-media { aspect-ratio: 1.1; }
.hero-caption, .hero-media figcaption { position: absolute; z-index: 2; bottom: 13px; left: 13px; max-width: calc(100% - 26px); padding: 7px 11px; color: #fff; background: #151e1cf0; border-radius: var(--radius); font-size: .76rem; }
[data-stone-motion], .hero-canvas { position: absolute; pointer-events: none; inset: 0; width: 100%; height: 100%; z-index: -1; }
.headline { position: relative; overflow: hidden; background: var(--panel-strong); border-block: 1px solid var(--line); }
.headline-inner { min-height: 50px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.headline-inner > :first-child:not(:only-child) { flex: none; font-size: .8rem; font-weight: 700; }
.headline p { margin: 0; }
.headline button { flex: none; min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; background: transparent; font-size: .8rem; font-weight: 700; }
.headline [data-headline-text] { flex: 1; }
.section { padding-block: var(--section-space); }
.section + .section { padding-top: calc(var(--section-space) * .72); }
.section-head { margin-bottom: clamp(25px, 4.2vw, 51px); }
.section-head h2 { margin-bottom: .28em; }
.section-head p:not(.eyebrow), .section-lead { max-width: 62ch; color: var(--muted); }
.service-grid, .related-grid, .work-grid, .video-grid { display: grid; gap: clamp(12px, 2vw, 26px); grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-card, .work-card, .video-grid > * { position: relative; min-width: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--media-radius); }
.service-card > a, .work-card > a { display: block; color: inherit; text-decoration: none; }
.service-card img, .work-card img, .video-grid video { width: 100%; aspect-ratio: 1.52; height: auto; object-fit: cover; }
.service-card picture, .work-card picture { display: block; overflow: hidden; }
.card-copy, .work-card figcaption, .video-grid figcaption { padding: clamp(14px, 2.1vw, 27px); }
.card-copy h3 { margin-bottom: .43em; }
.card-copy p, .work-card p, .video-grid p { margin-bottom: 0; color: var(--muted); }
.card-copy a, .service-card [class*="link"], .text-link { color: var(--accent); font-weight: 700; }
.service-card img, .work-card img, .feature-media img { transition: transform .45s cubic-bezier(.2,.75,.3,1); }
@media (hover: hover) {
  .service-card:hover img, .work-card:hover img { transform: scale(1.035); }
  .service-card:hover h3, .work-card a:hover h3 { color: var(--accent); }
}
.feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(26px, 6vw, 85px); }
.feature-copy { min-width: 0; }
.feature-copy p:not(.eyebrow) { color: var(--muted); max-width: 62ch; }
.feature-media { aspect-ratio: 1.22; }
.carousel { position: relative; min-width: 0; }
.carousel .slide { min-width: 0; }
.carousel-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 13px; }
.carousel-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 7px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-size: .79rem; font-weight: 650; }
.carousel-controls button:hover { background: var(--panel-strong); }
.carousel-controls svg { width: 19px; height: 19px; }
.cta-band { background: var(--panel-strong); border-block: 1px solid var(--line); padding-block: clamp(32px, 5vw, 69px); }
.cta-band > .wrap { display: flex; justify-content: space-between; gap: 22px; align-items: center; }
.cta-band h2 { font-size: clamp(1.9rem,4vw,3.65rem); }
.cta-band p { color: var(--muted); }
.cta-band .actions { flex: none; margin-top: 0; }
.site-footer { background: var(--footer); padding-block: clamp(36px, 6vw, 76px) 22px; }
.footer-grid { display: grid; gap: clamp(16px,4vw,49px); grid-template-columns: 1.35fr 1fr 1fr; }
.footer-grid > * { min-width: 0; }
.footer-grid h2, .footer-grid h3 { margin-bottom: 12px; font: 750 .9rem/1.3 var(--body); letter-spacing: 0; }
.footer-grid p, .footer-grid ul, .footer-grid a:not(.brand), .footer-bottom, .site-footer address { color: var(--muted); font: 400 .86rem/1.6 var(--body); }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 5px; }
.footer-grid a:not(.brand) { text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.footer-grid .brand + p { margin-top: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
.floating-wa { position: fixed; z-index: 20; right: max(15px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 14px; border: 1px solid #3f8765; border-radius: 36px; background: #08623e; color: #fff; box-shadow: 0 5px 18px #0003; text-decoration: none; font: 700 .78rem/1.25 var(--body); }
.floating-wa:hover { background: #0b5137; }
.inner-hero { padding-block: clamp(32px, 6.7vw, 95px); background: var(--panel); border-bottom: 1px solid var(--line); }
.inner-hero h1 { font-size: clamp(2.45rem,6vw,5rem); }
.inner-hero p:last-child { color: var(--muted); max-width: 70ch; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 11px; margin-bottom: 19px; color: var(--muted); font-size: .8rem; }
.breadcrumbs a { color: var(--text); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px 12px; margin: 0; padding: 0; list-style: none; }
.detail-layout, .contact-grid { display: grid; gap: clamp(25px,5vw,75px); grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); align-items: start; }
.detail-aside, .contact-card { padding: clamp(17px, 3vw, 33px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow-wrap: anywhere; }
.detail-aside img, .detail-layout > picture img, .body-copy > picture img, .body-copy > img { width: 100%; border-radius: var(--media-radius); }
.detail-aside img { aspect-ratio: 1.18; object-fit: cover; }
.detail-aside img + *, .body-copy > picture + *, .body-copy > img + * { margin-top: 20px; }
.body-copy { min-width: 0; }
.body-copy p { max-width: 68ch; color: var(--muted); }
.body-copy h2 { margin-top: 1.15em; font-size: clamp(1.65rem,3.3vw,2.9rem); }
.body-copy h2:first-child { margin-top: 0; }
.body-copy :is(ul, ol) { padding-inline-start: 1.3em; }
.body-copy li + li { margin-top: 7px; }
.steps { display: grid; gap: 11px; }
.steps > * { padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.steps h3 { margin-bottom: 6px; font-size: 1.22rem; }
.related-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,225px),1fr)); }
.related-grid > a, .service-links > a { display: flex; align-items: center; min-height: 49px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: var(--panel); text-decoration: none; font-weight: 700; }
.related-grid > a:hover, .service-links > a:hover { border-color: var(--accent); color: var(--accent); }
.quote-form { display: grid; gap: 14px; min-width: 0; }
.quote-form label { display: grid; gap: 5px; color: var(--text); font: 650 .9rem/1.45 var(--body); }
.quote-form :is(input,textarea,select) { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--text); font-weight: 400; }
.quote-form textarea { min-height: 124px; resize: vertical; }
.quote-form :is(input,textarea)::placeholder { color: var(--muted); }
.quote-form .button { justify-self: start; }
.quote-form :is(fieldset,.field-grid,.form-row) { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0; border: 0; }
.contact-card a { color: var(--accent); }
.faq-list { display: grid; gap: 9px; max-width: 900px; }
.faq-list details { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); }
.faq-list summary { min-height: 44px; padding: 11px 14px; font-weight: 700; }
.faq-list details > :not(summary) { margin: 0 14px 14px; color: var(--muted); }
.video-grid video { aspect-ratio: 1.32; object-fit: contain; background: #121919; }
@media (max-width: 1090px) {
  .header-row { gap: 15px; }
  .desktop-nav { gap: 15px; }
  .footer-bottom { padding-right: 120px; }
}
@media (max-width: 850px) {
  html { scroll-padding-top: 76px; }
  .header-row { display: grid; grid-template-columns: minmax(0,1fr) 44px auto; gap: 7px; min-height: 65px; }
  .desktop-nav { display: none; }
  .brand { min-width: 0; }
  .brand img { width: 39px; height: 39px; }
  .brand strong, .brand-name { font-size: 1.11rem; }
  .brand small, .brand span span { font-size: .63rem; }
  .header-cta { grid-column: 3; grid-row: 1; min-height: 44px; padding: 7px 9px; font-size: .76rem; }
  .header-cta svg { width: 17px; height: 17px; }
  .menu-toggle { grid-column: 2; grid-row: 1; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
  .menu-toggle svg { width: 21px; height: 21px; }
  .mobile-drawer { display: grid; position: absolute; z-index: 10; top: 100%; left: var(--edge); right: var(--edge); max-height: min(550px, calc(100dvh - 80px)); overflow: auto; overscroll-behavior: contain; padding: 9px 12px 12px; background: var(--header); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
  .mobile-drawer :is(a,summary,button) { display: flex; justify-content: space-between; min-height: 44px; align-items: center; padding: 8px 10px; font: 650 .9rem/1.25 var(--body); text-decoration: none; color: var(--text); }
  .mobile-drawer :is(a,summary,button):hover { background: var(--panel); }
  .mobile-drawer details > :not(summary) { margin: 0 0 0 10px; padding-left: 7px; border-left: 1px solid var(--line); }
  .mobile-drawer details > summary::after { content: "+"; font-size: 1.2rem; }
  .mobile-drawer details[open] > summary::after { content: "−"; }
  .mobile-drawer button { width: 100%; background: transparent; border: 0; text-align: left; }
  .hero-layout { min-height: 0; }
}
@media (max-width: 650px) {
  .hero-layout, .feature, .detail-layout, .contact-grid { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .hero-layout { padding-block: 31px 21px; }
  h1 { font-size: clamp(2.38rem, 10.7vw, 4rem); }
  .hero-copy > p:not(.eyebrow) { font-size: .96rem; }
  .hero-copy .actions { margin-top: 18px; }
  .hero-media { aspect-ratio: 1.45; }
  .work-grid, .video-grid, .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card img, .work-card img { aspect-ratio: 1.24; }
  .card-copy, .work-card figcaption, .video-grid figcaption { padding: 12px; }
  .card-copy h3 { font-size: 1.17rem; }
  .card-copy p, .work-card figcaption, .video-grid figcaption { font-size: .85rem; }
  .headline-inner { gap: 8px; min-height: 50px; font-size: .83rem; }
  .headline-inner > :first-child:not(:only-child) { font-size: .7rem; }
  .cta-band > .wrap { display: block; }
  .cta-band .actions { margin-top: 15px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 68px; }
  .footer-bottom { padding-right: 0; }
  .floating-wa { width: 48px; padding: 0; min-height: 48px; }
  .floating-wa > span { display: none; }
  .floating-wa svg { width: 24px; height: 24px; }
}
@media (max-width: 385px) {
  .brand { gap: 5px; }
  .brand img { width: 34px; height: 34px; }
  .brand strong, .brand-name { font-size: 1.02rem; }
  .header-cta { gap: 4px; padding-inline: 7px; }
  .actions { gap: 7px; }
  .hero-copy .button { padding-inline: 11px; }
  .quote-form :is(.field-grid,.form-row) { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.service-card:focus-within, .work-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (min-width: 651px) {
  .footer-bottom { padding-inline-end: 136px; }
}
.desktop-nav .services-menu > summary { color: var(--text); font: 650 .83rem/1.25 var(--body); list-style: none; }
.desktop-nav .services-menu > summary::-webkit-details-marker, .mobile-drawer summary::-webkit-details-marker { display: none; }
.services-menu[open] > summary svg { transform: rotate(180deg); }
.mega-overview { grid-column: 1 / -1; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.mega-menu ul { margin: 3px 0 0; padding: 0; list-style: none; }
.mega-menu strong a { color: var(--accent); font-weight: 750; }
.headline-inner { justify-content: start; }
.headline-items { flex: 1; min-width: 0; padding-block: 6px; }
.headline-items a { display: inline-block; padding: 3px 0; font-weight: 650; text-decoration-color: var(--line); }
.headline-items a:hover { text-decoration-color: currentColor; }
.headline-label { color: var(--muted); white-space: nowrap; }
.headline [data-headline-pause] { border-inline-start: 1px solid var(--line); }
.service-links { padding: 0; margin: 16px 0 0; list-style: none; }
.service-links li { border-top: 1px solid var(--line); }
.service-links a { display: inline-flex; align-items: center; min-height: 40px; padding-block: 5px; font-size: .87rem; font-weight: 600; text-decoration-thickness: 1px; }
.card-copy h3 > a { color: inherit; text-decoration-thickness: 1px; text-decoration-color: var(--line); }
.card-copy h3 > a:hover { color: var(--accent); text-decoration-color: currentColor; }
.card-link { display: block; margin-top: 12px; font-size: .84rem; }
.feature-media:has(.carousel) { aspect-ratio: auto; }
.carousel .slide { position: relative; overflow: hidden; border-radius: var(--media-radius); }
.carousel .slide img { width: 100%; height: auto; aspect-ratio: 1.62; object-fit: cover; }
.carousel .slide figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 19px 14px 9px; color: #fff; background: linear-gradient(0deg,#111b1be8,#15221c6b 76%,transparent); font-size: .8rem; }
.feature-media .carousel-controls { margin: 0; padding: 8px; }
.carousel-controls [data-slide-status] { color: var(--muted); font-size: .8rem; }
.carousel + .work-grid { margin-top: 30px; }
.feature-copy p + .button { margin-top: 17px; }
.cta-section .cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: clamp(15px,4vw,56px); border: 1px solid var(--line); border-radius: var(--media-radius); }
.cta-section .cta-band .actions { flex: 0 0 auto; }
.footer-grid > div > a:not(.brand), .footer-grid > div > span { display: block; margin-bottom: 7px; }
.footer-grid > div > span { color: var(--muted); font-size: .86rem; }
.contact-card p { color: var(--muted); }
.contact-card h2 { font-size: clamp(1.65rem,3.15vw,2.7rem); }
@media (max-width: 850px) {
  .menu-toggle { align-content: center; gap: 4px; align-items: center; }
  .menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: opacity .2s, transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .mobile-drawer details > summary::after { content: none; }
  .mobile-drawer .mega-menu { position: static; display: block; width: auto; max-width: none; translate: none; box-shadow: none; border: 0; border-inline-start: 1px solid var(--line); padding: 0 0 0 8px; background: transparent; }
  .mobile-drawer .mega-menu ul { margin: 0 0 9px 8px; }
  .mobile-drawer .mega-menu ul a { font-size: .83rem; }
}
@media (max-width: 650px) {
  .cta-section .cta-band { display: block; }
  .cta-section .cta-band .actions { margin-top: 16px; }
  .category-card .service-links, .category-card .card-copy p { font-size: .81rem; }
}

/* Motion and controls shared by the three designs. */
.page-loader {
  position: fixed; z-index: 80; inset: 0; display: grid; place-content: center;
  justify-items: center; gap: 13px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 43%, var(--panel-strong), var(--canvas) 58%);
  color: var(--text); opacity: 1; transition: opacity .16s ease-out;
}
.page-loader > strong { font: 700 1.45rem/1.18 var(--heading); letter-spacing: -.03em; }
.loader-stone {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 96px; aspect-ratio: 1; border-radius: var(--media-radius);
  border: 1px solid var(--line); background: var(--loader-tile, var(--panel));
  box-shadow: 0 10px 28px #0002;
}
.loader-stone::after {
  content: ""; position: absolute; inset: -15% -45%;
  background: linear-gradient(115deg,transparent 32%,#fff3,transparent 64%);
  animation: loader-reflection .95s ease-in-out infinite;
}
.page-loader img { width: 62px; height: auto; }
.loader-line { width: 72px; height: 2px; overflow: hidden; background: var(--line); }
.loader-line::before {
  content: ""; display: block; height: 100%; width: 50%; background: var(--accent);
  animation: loader-reflection .75s ease-in-out infinite;
}
.page-loader.is-finished { opacity: 0; }
@starting-style { .page-loader:not([hidden]) { opacity: 0; } }
@keyframes loader-reflection { from { transform: translateX(-100%); } to { transform: translateX(210%); } }
.reading-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; z-index: 2;
  background: var(--accent); pointer-events: none;
  transform: scaleX(0); transform-origin: left center;
}
.editorial-note, .scope-grid > article {
  padding: clamp(19px,4vw,38px); background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--media-radius);
}
.editorial-note { border-inline-start: 3px solid var(--accent); }
.editorial-note p, .scope-grid p { max-width: 69ch; color: var(--muted); }
.editorial-note .button { margin-top: 10px; }
.scope-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px,2vw,24px); }
.scope-grid h3 a { text-decoration-color: var(--line); }
.scope-grid h3 a:hover { color: var(--accent); text-decoration-color: currentColor; }
.scope-detail { border-block-start-color: var(--line); border-inline-start: 2px solid var(--accent); }
@media (max-width: 650px) { .scope-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .faq-list details[open] > p { animation: hero-copy-in .25s ease-out; }
  .scope-grid > article, .guide-grid > article { transition: border-color .25s, background .25s; }
}
.scope-grid > article:is(:hover,:focus-within), .guide-grid > article:hover { border-color: var(--accent); }

.back-top {
  position: fixed; z-index: 19; right: max(15px, env(safe-area-inset-right));
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + 56px);
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; color: var(--text);
  background: var(--panel); box-shadow: 0 5px 18px #0002;
  transition: background .2s, color .2s, transform .25s;
}
.back-top:hover { background: var(--action); color: var(--on-action); transform: translateY(-3px); }
.hero-caption { text-decoration-color: transparent; transition: background .22s, text-decoration-color .22s; }
.hero-caption:hover { text-decoration-color: currentColor; }
.hero-media img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.headline-items { overflow: hidden; }
[data-headline-item] { display: block; padding-inline: 4px; }
.headline-items a:focus-visible { outline-offset: 1px; }
.carousel-stage { overflow: hidden; border-radius: var(--media-radius); touch-action: pan-y; }
.carousel-dots { display: flex; flex-wrap: wrap; gap: 0; padding-inline: 7px; }
.carousel-dots button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; color: var(--accent);
}
.carousel-dots span {
  width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 10px;
  transition: width .25s ease, background .25s ease;
}
.carousel-dots button:is(:hover,[aria-current="true"]) span { width: 21px; background: currentColor; }
.service-card, .work-card { transition: border-color .25s ease, box-shadow .3s ease, background-color .25s ease; }
.card-link, .service-links a { transition: translate .22s ease, color .22s ease; }
.footer-intro {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; padding: clamp(20px, 4vw, 36px); margin-bottom: 28px;
  border: 1px solid var(--line); border-radius: var(--media-radius); background: var(--panel);
}
.footer-intro .brand img { width: 57px; height: 57px; }
.footer-intro .brand strong { font-size: 1.54rem; }
.footer-intro p { margin: 7px 0 0; color: var(--muted); }
.footer-grid a:not(.brand) { width: fit-content; text-decoration-color: transparent; transition: color .2s, text-decoration-color .2s; }
.footer-grid a:not(.brand):is(:hover,:focus-visible) { color: var(--text); text-decoration-color: currentColor; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 25px); }
.guide-grid > article, .service-guidance {
  background: var(--panel); padding: clamp(17px, 4vw, 30px);
  border-block-start: 2px solid var(--accent); border-radius: var(--media-radius);
}
.guide-grid p, .service-guidance p { color: var(--muted); }
.body-copy .service-guidance { margin-top: 32px; }
.body-copy .service-guidance h2 { margin-top: 0; }
.service-guidance h3 { margin-top: 1.2em; }
@media (hover: hover) {
  .hero-media:has(.hero-caption:hover) img { transform: scale(1.035); }
  .service-card:is(:hover,:focus-within), .work-card:hover {
    border-color: var(--accent); background-color: var(--panel-strong); box-shadow: var(--shadow);
  }
  .service-card:is(:hover,:focus-visible) .card-link, .service-links a:hover { translate: 4px 0; }
}
@media (max-width: 650px) {
  .guide-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { padding-inline-end: 48px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: hero-copy-in .6s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > h1 { animation-delay: .06s; }
  .hero-copy > p:not(.eyebrow) { animation-delay: .12s; }
  .hero-copy > .actions { animation-delay: .18s; }
  .hero-media img { animation: hero-image-in .85s cubic-bezier(.2,.7,.2,1) both; }
  .hero-media:hover img { animation-fill-mode: backwards; }
  .back-top:not([hidden]) { animation: hero-copy-in .2s ease-out; }
  .inner-hero h1, .inner-hero .wrap > p { animation: hero-copy-in .42s ease-out both; }
}
@keyframes hero-copy-in { from { opacity: .7; transform: translateY(12px); } }
@keyframes hero-image-in { from { opacity: .7; scale: 1.055; } }

.hero-emphasis { color: var(--accent); }
.hero-quicklinks { display: flex; flex-wrap: wrap; gap: 5px clamp(10px,1.2vw,20px); margin-top: 22px; }
.hero-quicklinks a {
  display: inline-flex; align-items: center; min-height: 40px; padding-block: 3px;
  color: inherit; font-size: .83rem; font-weight: 650;
  text-decoration-color: var(--line); transition: color .2s, text-decoration-color .2s;
}
.hero-quicklinks a:is(:hover,:focus-visible) { color: var(--accent); text-decoration-color: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .hero-quicklinks { animation-delay: .24s; }
}
@media (max-width: 650px) {
  .hero-quicklinks { margin-top: 12px; gap: 2px 12px; }
  .hero-quicklinks a { min-height: 44px; }
}

/* Room for longer headlines without pushing the page as they rotate. */
.headline .headline-inner { min-height: 77px; padding-block: 10px; }
.headline .headline-label { text-transform: uppercase; letter-spacing: .075em; }
.headline .headline-items { display: grid; align-items: center; min-height: 48px; padding: 4px; }
.headline .headline-items a { font-size: clamp(1.05rem,2vw,1.26rem); line-height: 1.3; }
.headline .headline-controls { flex: none; display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.headline .headline-controls button { margin: 0; border: 0; padding: 0 8px; }
.headline .headline-controls button + button { border-inline-start: 1px solid var(--line); }
.headline .headline-controls button:is(:hover,:focus-visible) { background: var(--panel); }
.headline .headline-controls :is([data-headline-prev],[data-headline-next]) { font-size: 1.4rem; line-height: 1; }
.headline .headline-status { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

.reading-band { background: var(--panel); border-block: 1px solid var(--line); }
.reading-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(19px,4vw,49px); }
.reading-grid > article { min-width: 0; padding-block-start: 16px; border-block-start: 1px solid var(--line); }
.reading-grid h3 { text-wrap: wrap; }
.reading-grid p { color: var(--muted); max-width: 65ch; line-height: 1.66; }
@media (max-width: 650px) {
  .headline .headline-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 10px; }
  .headline .headline-items { grid-area: 2 / 1 / auto / -1; min-height: 60px; }
  .headline .headline-controls { grid-area: 1 / 2; margin-inline-end: 54px; }
  .reading-grid { grid-template-columns: minmax(0,1fr); }
}
