/* Open compositions, a shared rhythm and a single clear next step. */
.homepage .heading-accent { color: #ff9c52; }
.homepage .hero-copy .eyebrow, .homepage .eyebrow { font-size: .875rem; letter-spacing: .08em; }
.homepage .eyebrow:not(:has(.signal-dot))::before {
  content: ''; width: 26px; height: 2px; flex: none;
  background: linear-gradient(90deg, #aab2b4 0 25%, transparent 25% 34%, #ff6a00 34% 75%, transparent 75% 84%, #ff9c52 84%);
}
.homepage .hero-grid { padding-block: clamp(44px, 6vh, 80px); }
.homepage .hero-intro { max-width: 500px; font-size: 1.0625rem; line-height: 1.75; }
.homepage .hero-actions { flex-wrap: wrap; gap: 12px 24px; }
.homepage .hero-actions .button, .homepage .hero-actions .text-link { min-height: 50px; font-size: .875rem; }
.homepage .hero-actions .button { padding: 14px 20px; }
.homepage .hero-price-inline { flex-wrap: wrap; row-gap: 6px; font-size: .875rem; letter-spacing: .015em; text-transform: none; }
.homepage .hero-reassurance { max-width: 440px; margin-top: 14px; font-size: .875rem; line-height: 1.6; color: #abb2b4; }
.homepage .hero-copy::before { opacity: .75; }
.homepage .hero-laptop { max-width: 760px; }
.homepage .hero-laptop-device { filter: drop-shadow(0 26px 35px rgba(0,0,0,.38)); }
.homepage .hero-laptop::before { inset: 57% 9% 3%; filter: blur(36px); background: radial-gradient(ellipse, rgba(255,106,0,.14), transparent 70%); }
.homepage .hero-laptop figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin: -8px 8% 0; color: #abb2b4; font: 400 .875rem/1.5 var(--body); }
.homepage .hero-laptop figcaption span:first-child { color: #e0e5e3; }
.homepage .header-contact { border: 0; padding-inline: 0; color: #ff9c52; font-size: .875rem; }
.homepage .main-nav { gap: clamp(20px, 2.3vw, 35px); margin-right: clamp(24px, 3vw, 48px); }
.homepage main > #work, .homepage main > #services,
.homepage main > #pricing, .homepage main > #process, .homepage main > #faq,
.homepage main > #contact { display: block; min-height: 0; padding-block: clamp(64px, 7vw, 112px); }
.homepage main > #work { padding-top: 42px; border-top: 0; }
.homepage #work .work-introduction { margin-bottom: 28px; }
.homepage #work .work-introduction h2 { font-size: clamp(2.5rem, 4.4vw, 4rem); }
.homepage #work .work-selectors { gap: 0 clamp(20px, 3vw, 42px); }
.homepage #work .work-selector { font-size: .9375rem; }
.selector-note { color: #a9b1b3; font-size: .875rem; margin-left: 5px; font-weight: 400; }
.homepage #work .work-desktop { box-shadow: 0 20px 55px #0005; }
.homepage #work .work-desktop img { aspect-ratio: 1.94; }
.homepage #work .work-caption { align-items: start; margin-top: 26px; }
.homepage #work .work-visit { border-bottom: 1px solid #798386; text-decoration: none; }
.work-brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 25px 0 0; padding-top: 24px; border-top: 1px solid rgba(207,216,219,.18); }
.work-brief div { min-width: 0; }
.work-brief dt { margin-bottom: 9px; color: #ff9c52; font: 600 .875rem/1.5 var(--body); }
.work-brief dd { margin: 0; max-width: 38ch; color: #bec5c6; font-size: 1rem; line-height: 1.7; }
.homepage #included .included-feature { grid-template-columns: 28px minmax(0, 1fr) 70px; gap: 18px; }
.homepage #included .feature-number { font-size: .875rem; }
.homepage #included .feature-demo { width: 70px; }
.homepage #included .feature-copy h3 { text-transform: none; font-size: clamp(1.3rem, 1.8vw, 1.625rem); }
.homepage #included .included-cta { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: .9375rem; }

.automation-flow-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.automation-flow-copy h2 { max-width: 650px; margin-top: 20px; font-size: clamp(2.5rem, 4.3vw, 4rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.automation-flow-copy h2 span { color: #ff9c52; }
.automation-flow-copy > p:not(.eyebrow) { max-width: 490px; margin-top: 25px; font-size: 1rem; line-height: 1.8; color: #c0c7c8; }
.automation-flow-copy > p.automation-scope { margin-top: 18px; color: #a9b1b3; font-size: .875rem; line-height: 1.7; }
.automation-flow-copy .text-link { margin-top: 25px; font-size: .9375rem; }
.flow-example { min-width: 0; }
.flow-example-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-bottom: 18px; border-bottom: 1px solid #ffffff25; }
.flow-example-heading > p { color: #e0e5e3; font-size: .875rem; }
.flow-stages { position: relative; display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; }
.flow-stages::before { display: none; }
.flow-stages li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 20px; min-height: 94px; padding: 15px 0; }
.flow-stage-marker { position: relative; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #78828577; color: #b5bfc1; background: #090b0d; font: 600 .875rem/1 var(--display); transition: color .55s, border-color .55s, box-shadow .55s; }
.flow-stages h3 { font: 600 1.375rem/1.25 var(--display); color: #cbd1d2; letter-spacing: -.02em; transition: color .55s; }
.flow-stages p { margin-top: 7px; color: #b2bbbd; font-size: 1rem; line-height: 1.65; }
.flow-stage-note { display: block; margin-top: 5px; color: #a9b1b3; font-size: .875rem; line-height: 1.5; }
.flow-stages li.is-current h3 { color: #fff; }
.flow-stages li.is-current .flow-stage-marker { color: #ffb477; border-color: #ff8b3d; box-shadow: 0 0 22px #ff6a001c; }
.flow-stages li.is-complete .flow-stage-marker { color: #ff9c52; border-color: #ff8b3d66; }
.flow-example-note { margin-top: 10px; max-width: 52ch; font-size: .875rem; line-height: 1.65; color: #a9b1b3; }

.homepage main > #pricing { padding-block: clamp(46px, 5vw, 72px); }
.homepage #pricing .pricing-panel {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(48px, 7vw, 108px);
  padding-block: clamp(30px, 3.5vw, 46px);
  border-top: 1px solid #ffffff2b;
  border-bottom: 1px solid #ffffff1f;
}
.homepage #pricing .pricing-intro h2 { max-width: 580px; font-size: clamp(2.7rem, 4.25vw, 4.1rem); line-height: 1.04; }
.homepage #pricing .pricing-intro > p:last-child { margin-top: 20px; }
.homepage #pricing .pricing-details { margin-top: clamp(30px, 4vw, 48px); }
.homepage #pricing .pricing-amount { font-size: clamp(5.5rem, 8.5vw, 8rem); }
.homepage #pricing .pricing-details .button { margin-top: 25px; }
.homepage #pricing .pricing-process { min-width: 0; padding-left: clamp(34px, 4vw, 62px); border-left: 1px solid #ffffff25; }
.homepage #pricing .pricing-process > h3 { max-width: 520px; margin: 18px 0 26px; color: var(--light); font: 600 clamp(1.8rem, 2.4vw, 2.4rem)/1.15 var(--display); letter-spacing: -.025em; }
.homepage #pricing .process-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.homepage #pricing .process-list li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid #ffffff25;
  border-image: none;
  background: none;
}
.homepage #pricing .process-list li:last-child { border-bottom: 1px solid #ffffff18; }
.homepage #pricing .process-list li > span { padding-top: 3px; color: #ff9c52; font: 600 .875rem/1.45 var(--body); letter-spacing: .025em; }
.homepage #pricing .process-list h3 { margin: 0; color: var(--light); font: 600 1.25rem/1.25 var(--display); text-transform: none; }
.homepage #pricing .process-list p { margin-top: 6px; color: #b7bfc1; font-size: .9375rem; line-height: 1.6; }
.homepage #process .section-heading { margin-bottom: 38px; }
.homepage #process .section-heading h2 { font-size: clamp(2.5rem, 4.1vw, 3.75rem); line-height: 1.1; margin-top: 18px; }
.homepage #process .section-heading > p { font-size: 1rem; line-height: 1.75; max-width: 420px; }
.homepage #process .process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; list-style: none; padding: 0; margin: 0; }
.homepage #process .process-list li { border: 0; border-top: 1px solid #ffffff25; border-image: none; padding: 22px 0 0; background: none; }
.homepage #process .process-list li > span { font: 600 .875rem/1.5 var(--body); color: #ff9c52; letter-spacing: .025em; }
.homepage #process .process-list h3 { margin: 17px 0 12px; font: 600 1.5rem/1.2 var(--display); text-transform: none; }
.homepage #process .process-list p { font-size: 1rem; line-height: 1.7; }
.homepage #faq .faq details p { font-size: 1rem; }
.homepage #faq .faq-layout > div:first-child > p:last-child { margin-top: 22px; font-size: 1rem; line-height: 1.7; }
.homepage #contact .contact-copy h2 { margin-top: 20px; font-size: clamp(2.75rem, 4.7vw, 4.5rem); line-height: 1.05; letter-spacing: -.035em; }
.homepage #contact .contact-copy h2 > span { color: #ff9c52; background: none; }
.homepage #contact .contact-copy > p:not(.eyebrow) { max-width: 490px; }
.homepage #contact .enquiry-form { min-width: 0; padding: 0; border: 0; background: none; box-shadow: none; clip-path: none; }
.homepage #contact .enquiry-form h3 { margin-bottom: 10px; font-size: 1.75rem; }
.homepage #contact .enquiry-form .form-intro { margin-bottom: 25px; font-size: 1rem; line-height: 1.6; }
.homepage #contact .enquiry-form .consent-row > span { font-size: .875rem !important; line-height: 1.6; }
.homepage #contact .enquiry-form input, .homepage #contact .enquiry-form select,
.homepage #contact .enquiry-form textarea, .contact-page-section .enquiry-form input,
.contact-page-section .enquiry-form select, .contact-page-section .enquiry-form textarea { font-size: 1rem; }
.contact-page-section .contact-page-title { font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1.08; text-wrap: balance; }
.contact-page-section .enquiry-form { padding: 0; border: 0; background: none; box-shadow: none; }
.contact-page-section .enquiry-form label { font-size: 1rem; }
.contact-page-section .enquiry-form .consent-row span { font-size: .875rem !important; }
.contact-page-section .contact-note { font-size: .9375rem !important; }
.contact-page-section .contact-option span { font-size: .75rem; }
.contact-page-section .form-fallback { font-size: .875rem; line-height: 1.6; }
.form-fallback a[href^="mailto:"] { overflow-wrap: anywhere; }
.homepage .direct-contact .email-link { max-width: 100%; font-size: .875rem; overflow-wrap: anywhere; }
.homepage h1, .homepage h2, .page-hero h1, .contact-page-title, .case-study h2, .next-page h2 { overflow-wrap: anywhere; }
.deliverables-list p { font-size: 1rem; line-height: 1.7; }
.case-display-prototype > span { font-size: .875rem; letter-spacing: .1em; }
.case-display-prototype > b { right: 28px; color: #d0d6d7; font-size: .875rem; line-height: 1.4; letter-spacing: .04em; }
@media (max-width: 800px) {
  .case-display-prototype { aspect-ratio: auto; min-height: 300px; padding: 32px 18px; }
  .case-display-prototype > strong { font-size: clamp(3rem, 9vw, 5rem); margin: 14px 0 10px; }
  .case-display-prototype > b { position: static; display: block; margin-top: 18px; }
}
.site-footer .footer-bottom { flex-wrap: wrap; gap: 10px 26px; }
.homepage .footer-bottom { flex-wrap: wrap; gap: 10px 26px; font-size: .875rem; }
.homepage .mobile-contact > a:first-child { font-size: .875rem; }
.case-page .case-notes p { font-size: 1rem; }
.case-page .page-index { flex-wrap: wrap; gap: 12px 26px; font-size: .875rem; }
.page-hero .page-index { flex-wrap: wrap; gap: 12px 26px; font-size: .875rem; line-height: 1.5; }
.faq-page .faq details p { font-size: 1rem; line-height: 1.7; }
@media (max-width: 360px) {
  .page-hero h1 { font-size: clamp(2.5rem, 12vw, 2.75rem); }
}
.case-page .case-header > span, .case-page .case-notes article > span { font-size: .875rem; }

@media (max-width: 1150px) {
  .header-contact { display: none; }
  .homepage .main-nav { margin-right: 0; }
  .homepage #included .included-feature { grid-template-columns: 28px minmax(0, 1fr); }
  .homepage #included .feature-demo { display: none; }
}
@media (max-width: 900px) {
  .homepage .hero-grid { padding-block: 36px 46px; }
  .homepage .hero-laptop { width: min(650px, 100%); margin-top: 30px; }
  .homepage .hero-laptop figcaption { margin-top: -12px; }
  .automation-flow-layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .automation-flow-copy > p:not(.eyebrow) { max-width: 630px; }
  .homepage #pricing .pricing-panel { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .homepage #pricing .pricing-process { padding: 40px 0 0; border-top: 1px solid #ffffff25; border-left: 0; }
  .homepage #process .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .work-brief { gap: 24px; }
}
@media (max-width: 650px) {
  .homepage .hero { min-height: 0; }
  .homepage .hero h1 { font-size: clamp(2.8rem, 11.6vw, 3.75rem); line-height: 1; }
  .homepage .hero-intro { font-size: 1rem; line-height: 1.7; }
  .homepage .hero-actions { gap: 10px 22px; }
  .homepage .hero-copy .eyebrow { font-size: .875rem; letter-spacing: .025em; }
  .homepage .hero-laptop { margin-top: 27px; }
  .homepage .hero-laptop figcaption { margin-inline: 4%; }
  .homepage main > #work { padding-top: 20px; }
  .homepage main > #services, .homepage main > #pricing,
  .homepage main > #process, .homepage main > #faq, .homepage main > #contact { padding-block: 52px; }
  .homepage main > #pricing { padding-block: 36px 46px; }
  .homepage #work .work-introduction h2, .automation-flow-copy h2 { font-size: clamp(2.125rem, 8.5vw, 3rem); }
  .homepage #work .work-selectors { gap: 0 24px; }
  .homepage #work .work-selector { font-size: .875rem; }
  .homepage #work .work-desktop img { aspect-ratio: 1.48; }
  .work-brief { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 22px; padding-top: 22px; }
  .work-brief dd { max-width: none; }
  .homepage #pricing .pricing-intro h2 { font-size: clamp(2.4rem, 9vw, 3.3rem); }
  .homepage #pricing .pricing-process > h3 { margin-bottom: 20px; }
  .homepage #pricing .process-list li { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding-block: 17px; }
  .homepage #pricing .pricing-details .button { width: 100%; justify-content: center; }
  .homepage #process .process-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .flow-stages li { gap: 15px; }
  .flow-stages h3 { font-size: 1.25rem; }
  .homepage #contact .contact-copy h2 { font-size: clamp(2.375rem, 9vw, 3.25rem); }
}
@media (prefers-reduced-motion: reduce) {
  .flow-stage-marker, .flow-stages h3 { transition: none; }
}

/* Refinement: wider client work, quiet benefits and one final brief. */
.homepage #work .work-desktop { width: 96%; border-radius: 0; }
.homepage #work .work-desktop img { aspect-ratio: 1.65; }
.homepage #work .work-mobile { width: 16%; right: 0; }
.homepage #included .included-feature { grid-template-columns: 24px minmax(0, 1fr); gap: 22px; min-height: 0; padding-block: 25px; background: none; box-shadow: none; }
.homepage #included .feature-number { color: #879193; }
.homepage #included .feature-copy p { max-width: 46ch; font-size: .9375rem; line-height: 1.7; }
.homepage #included .included-intro .eyebrow { font-size: .75rem; letter-spacing: .04em; }
.homepage #contact .contact-grid { gap: clamp(32px, 6vw, 88px); }
.homepage .planner-shell { min-height: 0; border: 0; border-top: 1px solid #ffffff30; padding: 28px 0 0; clip-path: none; background: none; box-shadow: none; }
.homepage .planner-shell::before { display: none; }
.homepage .planner-route { margin-block: 22px 28px; }
.homepage .planner-intro h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); }
.homepage .planner-intro > p { max-width: 40ch; }
.floating-contact { position: fixed; z-index: 80; right: max(22px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
body.menu-open .floating-contact { display: none; }
.floating-contact a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid #ffffff35; background: #101416ee; color: #f4efe8; box-shadow: 0 5px 20px #0005; transition: border-color .2s, background .2s; }
.floating-contact a:first-child { width: 56px; height: 56px; margin-left: -3px; background: #ff6a00; color: #fff; border: 0; box-shadow: 0 8px 22px rgba(0,0,0,.34), 0 0 0 1px rgba(255,154,82,.35); }
.floating-contact a:first-child:hover { background: #ef6200; border-color: transparent; }
.floating-contact .whatsapp-mark { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.floating-contact a:hover { border-color: #ff9c52; background: #252321; }
.floating-contact a:focus-visible { outline: 3px solid #ff9c52; outline-offset: 4px; }
.form-status a { color: #ff9c52; text-decoration: underline; text-underline-offset: 4px; }
.floating-contact svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mobile-contact { display: none !important; }
@media (max-width: 700px) {
  .homepage #work .work-desktop img { aspect-ratio: 1.3; }
  .homepage #work .work-mobile { width: 24%; }
  .homepage #included .included-feature { gap: 15px; padding-block: 22px; }
  .homepage .hero-actions .button { max-width: 100%; white-space: normal; text-align: center; }
  .floating-contact { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .floating-contact a { width: 48px; height: 48px; }
  .floating-contact a:first-child { width: 54px; height: 54px; }
  .site-footer { padding-bottom: calc(126px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .floating-contact a { transition: none; } }

/* A slim, persistent next step that gives long pages a clear route to contact. */
.sticky-cta {
  position: fixed;
  z-index: 79;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  width: min(650px, calc(100vw - 190px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 9px 9px 20px;
  border: 1px solid rgba(255, 156, 82, .38);
  border-radius: 14px;
  background: rgba(12, 15, 16, .92);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 255, 255, .04);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 28px));
  transition: opacity .3s ease, transform .42s cubic-bezier(.22, .8, .25, 1);
}
.sticky-cta.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.sticky-cta-copy { max-width: 31ch; color: #e6eae8; font-size: .8125rem; line-height: 1.35; }
.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 11px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 9px;
  background: #ff6a00;
  color: #111314;
  font: 600 .75rem/1.1 var(--display);
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
.sticky-cta a span { font-size: 1.25rem; line-height: .8; transition: transform .2s ease; }
.sticky-cta a:hover { background: #ff8a38; transform: translateY(-1px); }
.sticky-cta a:hover span { transform: translateX(3px); }
.sticky-cta a:focus-visible { outline: 3px solid #ffb477; outline-offset: 3px; }
body.contact-in-view .sticky-cta,
body.menu-open .sticky-cta,
body.planner-active .sticky-cta { opacity: 0; pointer-events: none; transform: translate(-50%, calc(100% + 28px)); }
@media (max-width: 700px) {
  .sticky-cta {
    left: 12px;
    right: 128px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    padding: 7px;
    gap: 0;
    border-radius: 12px;
    transform: translateY(calc(100% + 24px));
  }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta-copy { display: none; }
  .sticky-cta a { width: 100%; min-height: 48px; padding: 10px 8px; gap: 6px; font-size: .6875rem; }
  .sticky-cta a span { font-size: 1.1rem; }
  .floating-contact { flex-direction: row; gap: 8px; right: max(12px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); }
  .floating-contact a, .floating-contact a:first-child { width: 48px; height: 48px; margin-left: 0; }
  .floating-contact .whatsapp-mark { width: 25px; height: 25px; }
  body.contact-in-view .sticky-cta,
  body.menu-open .sticky-cta,
  body.planner-active .sticky-cta { transform: translateY(calc(100% + 24px)); }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta, .sticky-cta a, .sticky-cta a span { transition: none; }
}

/* The footer has three destinations; contact shortcuts step aside here. */
.site-footer .footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.site-footer .footer-top > p { margin: 0; }
.site-footer .footer-top > [role="navigation"] { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.site-footer [role="navigation"] a, .site-footer .footer-bottom :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; }
body.contact-in-view .floating-contact, body.contact-controls-hidden .floating-contact { display: none; }
@media (max-width: 700px) {
  .site-footer .footer-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .site-footer .footer-top > p { grid-column: 1; text-align: left; font-size: .875rem; line-height: 1.6; }
  .site-footer .footer-top > [role="navigation"] { grid-column: 1; justify-content: flex-start; gap: 8px 28px; margin: 0; font-size: .875rem; }
  .site-footer .brand { width: fit-content; max-width: 100%; }
  .site-footer .brand > span { font-size: clamp(22px, 7vw, 29px); }
  .site-footer .brand img { width: 42px; height: 48px; }
  .site-footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* Selected client work is visible in the normal scroll flow. */
.homepage #work .work-introduction { margin-bottom: clamp(25px, 4vw, 44px); }
.homepage #work .work-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(44px, 6vw, 84px) clamp(26px, 4vw, 56px); touch-action: auto; }
.homepage #work .project { min-width: 0; padding: 0; margin: 0; border: 0; scroll-margin-top: 30px; }
.homepage #work .project + .project { border: 0; }
.homepage #work .project-lrm { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr); column-gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: clamp(34px, 5vw, 70px); border-bottom: 1px solid rgba(207,216,219,.19); }
.homepage #work .project-lrm .work-previews { grid-column: 1; grid-row: 1 / span 2; }
.homepage #work .project-lrm .work-caption { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.homepage #work .work-previews { padding-bottom: 4%; }
.homepage #work .work-desktop { width: 94%; }
.homepage #work .work-desktop img { aspect-ratio: 1.65; }
.homepage #work .project-lrm .work-desktop { width: 96%; }
.homepage #work .project-lrm .work-mobile { width: 20%; }
.homepage #work .project:not(.project-lrm) .work-mobile { width: 23%; }
.homepage #work .work-caption { display: flex; align-items: flex-start; flex-direction: column; gap: 15px; margin-top: 18px; }
.homepage #work .project-lrm .work-caption { margin-top: 0; }
.homepage #work .work-caption h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); }
.homepage #work .work-visit { min-height: 44px; margin-top: 2px; color: #f2f0ed; }
.homepage #work .project-summary { max-width: 44ch; margin-top: 10px; color: #bec5c6; line-height: 1.6; }
.homepage #work .project-lrm .project-summary { max-width: 32ch; }
@media (max-width: 900px) {
  .homepage #work .project-lrm { display: block; }
  .homepage #work .project-lrm .work-caption { margin-top: 18px; }
  .homepage #work .project-lrm .work-mobile { width: 20%; }
}
@media (max-width: 650px) {
  .homepage #work .work-projects { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .homepage #work .project-lrm { grid-column: auto; padding-bottom: 38px; }
  .homepage #work .project:not(.project-lrm) { padding-bottom: 35px; border-bottom: 1px solid rgba(207,216,219,.16); }
  .homepage #work .work-previews { padding-bottom: 8%; }
  .homepage #work .work-desktop img { aspect-ratio: 1.48; }
  .homepage #work .project-lrm .work-mobile, .homepage #work .project:not(.project-lrm) .work-mobile { width: 23%; }
  .homepage #work .work-caption { gap: 9px; }
  .homepage #work .project-summary { margin-top: 8px; }
}

/* Major sections share one quiet steel divider; orange stays reserved for emphasis. */
.homepage main > section {
  border-top: 1px solid rgba(199, 203, 206, .14);
  border-image: none;
}
.homepage main > .hero { border-top: 0; }
.homepage main > #work { border-top: 1px solid rgba(199, 203, 206, .14); }
.homepage main > #automation::before { display: none; }
.site-loader:not(.is-active) { display: none; }
