:root {
  --ink: #102824;
  --muted: #435851;
  --paper: #f7f8f2;
  --line: #c6d6ce;
  --accent: #07675e;
  --wash: #e6f0e8;
  --deep: #143630;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Golos Text", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 100% / 1.55 var(--sans);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 110px), 1320px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: .5rem; left: .5rem; transform: translateY(-150%); padding: .6rem 1rem; background: var(--paper); }
.skip-link:focus { transform: none; }
.header-frame { border-bottom: 1px solid var(--line); }
.site-header { display: flex; justify-content: space-between; align-items: center; column-gap: 2rem; min-height: 84px; }
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 3rem); align-items: center; font-size: .94rem; }
.site-header nav a, .site-footer a { text-decoration: none; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.wordmark { display: block; width: clamp(9.3rem, 16vw, 13rem); }
.wordmark img { width: 100%; height: auto; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .82rem 1.18rem; border: 1px solid transparent; border-radius: .3rem; text-decoration: none; font-size: .92rem; line-height: 1.25; font-weight: 600; text-align: center; transition: background .16s ease, color .16s ease; }
.button-accent { background: var(--accent); color: #fffdfa; }
.button-accent:hover { background: #0e4c45; }
.button-outline { border-color: #94aea3; background: transparent; }
.button-outline:hover { background: var(--wash); }
.button-dark { background: var(--ink); color: #fffdfa; }
.button-dark:hover { background: #28564d; }
.hero-wrap { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(112deg, #e6f0e8 24%, #e0ede7 66%, #eef3e9); }
.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 5.2rem); align-items: center; padding: clamp(2.6rem, 5vw, 4.5rem) 0 clamp(2.65rem, 5vw, 4.6rem); }
.hero-copy { padding-bottom: 1rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.059em; }
h1 { font-size: clamp(3.35rem, 6.1vw, 6.6rem); line-height: .91; margin-bottom: 1.5rem; }
h1 em { display: block; color: var(--accent); font-weight: inherit; }
.hero-copy > p { color: var(--muted); font-size: clamp(1rem, 1.44vw, 1.2rem); max-width: 28rem; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.hero-works-link { font-size: .94rem; }
.hero-figure { margin: 0; }
.hero-photo { position: relative; overflow: hidden; isolation: isolate; border-radius: .4rem; background: #ac4e32; aspect-ratio: 1.15; }
.hero-photo img, .hero-photo video, .hero-photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.hero-photo canvas { visibility: hidden; }
.hero-photo.uses-frame-preview canvas { visibility: visible; }
.hero-photo img { transition: opacity .28s ease; }
.hero-photo.has-video-frame img { opacity: 0; }
.video-toggle { position: absolute; z-index: 1; inset: 0; width: 100%; padding: 0; border: 0; background: transparent; color: #fff; -webkit-tap-highlight-color: transparent; }
.video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
.video-toggle-icon { position: absolute; display: grid; place-items: center; right: .75rem; bottom: .75rem; width: 2.15rem; height: 2.15rem; border-radius: 50%; background: #102824c9; transition: opacity .2s ease, transform .2s ease; }
.video-toggle-icon::before { content: ''; width: 0; height: 0; border-block: .28rem solid transparent; border-left: .42rem solid currentColor; transform: translateX(1px); }
.video-toggle[data-playing="true"] .video-toggle-icon { opacity: 0; transform: translateY(3px); }
.video-toggle[data-playing="true"] .video-toggle-icon::before { width: .42rem; height: .57rem; border-block: 0; border-inline: .13rem solid currentColor; transform: none; }
.video-toggle[data-playing="true"]:focus-visible .video-toggle-icon { opacity: 1; transform: none; }
@media (hover: hover) {
  .video-toggle[data-playing="true"]:hover .video-toggle-icon { opacity: 1; transform: none; }
}
.hero-figure figcaption { display: flex; align-items: start; justify-content: space-between; gap: .55rem; margin-top: .63rem; color: var(--muted); font-size: .81rem; }
.hero-figure figcaption span:first-child { color: var(--ink); }
.section { padding-block: clamp(3.4rem, 6vw, 6rem); scroll-margin-top: 1rem; }
h2 { font-size: clamp(3.05rem, 6.4vw, 6rem); line-height: .91; margin-bottom: 1rem; }
h3 { font-size: clamp(1.95rem, 3.6vw, 3.15rem); line-height: .95; margin-bottom: .65rem; }
.result-section { background: var(--deep); color: #f3f8f2; }
.result-heading h2 { margin-bottom: .9rem; }
.result-heading p, .result-copy p { color: #d3e8e0; }
.result-heading p { margin-bottom: 0; }
.result-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: clamp(1.4rem, 5.5vw, 5rem); align-items: center; margin-top: clamp(1.4rem, 3vw, 2.65rem); }
.result-layout:not([hidden]) + .result-layout:not([hidden]) { border-top: 1px solid #d3e8e044; padding-top: 1.55rem; }
.case-picker { display: flex; gap: .55rem; margin-top: 1.45rem; padding-bottom: .18rem; overflow-x: auto; }
.case-picker button { flex: 0 0 auto; min-height: 44px; padding: .48rem .82rem; border: 1px solid #d3e8e066; border-radius: .25rem; background: transparent; color: #f3f8f2; transition: color .2s ease, background .22s ease, border-color .2s ease; }
.case-picker button[aria-selected="true"] { background: #e6f0e8; color: var(--deep); border-color: #e6f0e8; }
.case-picker button:focus-visible { outline-color: #a1e4d4; outline-offset: -3px; }
.result-copy p { max-width: 34rem; }
.result-copy .comparison-tip { font-size: .91rem; }
.result-copy .text-link:hover { color: #a1e4d4; }
.result-photo .comparison, .angle-pair { aspect-ratio: 1.65; border-radius: .4rem; }
.angle-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; overflow: hidden; background: #d3e8e0; }
.angle-pair figure { position: relative; min-width: 0; height: 100%; margin: 0; overflow: hidden; }
.angle-pair img { width: 100%; height: 100%; object-fit: cover; }
.angle-pair figure:last-child .media-label { left: auto; right: .72rem; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .86rem; }
.section-top h2 { margin: 0; }
.city-picker { display: flex; gap: clamp(1rem, 2.4vw, 2.5rem); flex: 0 0 auto; align-items: end; }
.city-picker a { padding: .47rem 0 .38rem; border-bottom: 1px solid transparent; color: var(--muted); font-weight: 500; text-decoration: none; }
.city-picker a:hover { color: var(--ink); }
.city-picker a[aria-current] { color: var(--accent); border-color: var(--accent); font-weight: 700; }
.works-note { display: flex; align-items: baseline; justify-content: space-between; gap: .85rem; margin: .95rem 0 1.7rem; color: var(--muted); }
.works-note p { margin: 0; }
.text-link { font-weight: 600; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--accent); text-decoration-thickness: 2px; }
.social-link { display: inline-flex; align-items: center; gap: .5rem; }
.social-icon { flex: 0 0 auto; width: 1.22rem; height: 1.22rem; object-fit: contain; }
.button .social-icon { width: 1.35rem; height: 1.35rem; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2.25rem clamp(1rem, 2vw, 1.8rem); }
.work-card { display: flex; flex-direction: column; min-width: 0; border-bottom: 1px solid var(--line); }
.featured-work { grid-column: span 2; }
.work-info { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: 1.05rem 0 1.1rem; }
.work-info p:not(.work-category) { color: var(--muted); margin-bottom: .8rem; }
.work-info .text-link { margin-top: auto; font-size: .9rem; }
.work-category { color: var(--accent); font-size: .87rem; font-weight: 600; margin-bottom: .5rem; }
.source-details { width: min(100%, 430px); margin-bottom: .8rem; }
.source-details summary { width: fit-content; color: var(--muted); font-weight: 600; cursor: pointer; }
.source-details .work-visual { margin-top: .6rem; overflow: hidden; }
.work-visual, .comparison { position: relative; aspect-ratio: 4/3; background: #d6e0d8; }
.featured-work .comparison { aspect-ratio: 8/5; }
.work-visual img, .comparison img { width: 100%; height: 100%; object-fit: cover; }
.work-visual video { width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.work-visual iframe { display: block; width: 100%; height: 100%; border: 0; }
.source-preview { display: grid; align-content: center; justify-items: center; gap: 1rem; padding: 1rem; text-align: center; }
.source-preview span { font: 600 clamp(1.9rem, 3vw, 2.8rem) / .95 var(--display); }
.media-label { position: absolute; top: .72rem; left: .72rem; background: var(--paper); color: var(--ink); font-size: .875rem; padding: .22rem .53rem; font-weight: 600; pointer-events: none; }
.media-label.after { left: auto; right: .72rem; }
.image-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.image-strip img { flex: 0 0 100%; scroll-snap-align: start; object-fit: contain; }
.comparison { --split: 50%; overflow: hidden; touch-action: pan-y; cursor: ew-resize; }
.comparison img { pointer-events: none; user-select: none; }
.comparison .comparison-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison::after { content: ''; position: absolute; left: var(--split); inset-block: 0; width: 2px; background: #f5f8eeda; box-shadow: 1px 0 0 #173c3538; transform: translateX(-50%); pointer-events: none; }
.comparison input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.comparison:has(input:focus-visible) { outline: 3px solid #85d8bf; outline-offset: 3px; box-shadow: 0 0 0 3px #12382f; }
.comparison-handle { position: absolute; z-index: 1; top: 50%; left: clamp(.55rem, var(--split), calc(100% - .55rem)); width: clamp(3.75rem, 6vw, 5.3rem); aspect-ratio: 80/64; transform: translate(-14.5%, -50%); pointer-events: none; }
.comparison input[hidden] + .comparison-handle { display: none; }
.comparison-handle::after { content: ''; position: absolute; inset: 0; background: url("/assets/extractor-nozzle.svg") center / contain no-repeat; filter: drop-shadow(0 2px 2px #0c292983); transform-origin: 14.5% 50%; transform: scaleX(var(--nozzle-face, 1)); transition: transform .2s ease-out; }
.comparison[data-grip="left"] { --nozzle-face: -1; }
@media (prefers-reduced-motion: no-preference) {
  .comparison-handle::before { content: ''; position: absolute; left: 14.5%; top: 19%; width: 80%; height: 62%; background: repeating-linear-gradient(0deg, #c7f2dd50 0 1px, transparent 1px 6px), linear-gradient(90deg, #d4f2df30, transparent); mask-image: linear-gradient(90deg, #000, transparent); transform-origin: left center; transform: scaleX(var(--sweep-direction, 1)); opacity: 0; transition: opacity .22s ease-out; }
  .comparison[data-sweeping] .comparison-handle::before { opacity: 1; transition-duration: .05s; }
}
.show-more { margin: 1.8rem 0 0; }
.empty-works { margin-top: 1.4rem; background: var(--wash); padding: clamp(1.65rem, 4vw, 3.1rem); }
.empty-works p { color: var(--muted); }
.services-section { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); margin-top: 2.1rem; }
.services-grid article { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.service-icon { display: block; width: 3.9rem; height: auto; margin-bottom: .7rem; stroke: var(--accent); stroke-width: 1.85; stroke-linejoin: round; stroke-linecap: round; fill: none; }
.services-grid p, .contact-section p { color: var(--muted); }
.cleaning-process { margin-top: clamp(2rem, 5vw, 4rem); padding: clamp(1.22rem, 3.5vw, 2.65rem); background: var(--wash); border-radius: .4rem; }
.cleaning-process h3 { margin-bottom: 1.2rem; }
.process-picker { --stage: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #96b5a7; }
.process-picker::after { position: absolute; content: ''; height: 3px; width: calc(100% / 3); bottom: -1px; left: 0; transform: translateX(calc(var(--stage) * 100%)); background: var(--accent); transition: transform .36s cubic-bezier(.2,.7,.3,1); pointer-events: none; }
.process-picker button { display: flex; justify-content: center; align-items: center; gap: .5rem; min-height: 48px; padding: .4rem .2rem; border: 0; color: var(--muted); background: transparent; font-weight: 600; text-align: center; }
.process-tab-icon { width: 1.22em; height: 1.22em; flex: none; }
.process-picker button[aria-selected="true"], .process-picker button:hover { color: var(--accent); }
.process-picker button:focus-visible { outline-offset: -3px; }
.process-stage { display: grid; align-items: center; grid-template-columns: minmax(12rem, .85fr) minmax(0, 1.3fr); gap: clamp(1.25rem, 4vw, 4rem); padding-top: clamp(1rem, 2.3vw, 1.8rem); }
.process-plate { display: grid; place-items: center; position: relative; overflow: hidden; border-radius: .22rem; background-color: #1c4138; background-image: radial-gradient(#a6c5a036 .65px, transparent .9px); background-size: 12px 12px; }
.process-plate svg { display: block; height: clamp(10.25rem, 15vw, 14rem); max-width: 100%; }
.process-caption h4 { font: 600 clamp(1.7rem, 2.6vw, 2.55rem) / 1.03 var(--display); letter-spacing: -.04em; margin: 0 0 .6rem; }
.process-caption p { max-width: 48ch; margin: 0; color: var(--muted); }
.process-stage:not([hidden]) .process-loupe { animation: inspect-weave 1.7s ease-in-out; }
.cleaning-process.reveal-pending .process-stage .process-loupe { animation-play-state: paused; }
.process-stage:not([hidden]) .process-extractor { animation: extract-pass 1.5s ease-in-out; }
.process-stage:not([hidden]) .process-suds { animation: lift-suds 1.5s ease-out; }
.process-stage:not([hidden]) .process-fan-wheel { transform-origin: 112px 86px; animation: dry-fibres 2.1s cubic-bezier(.4,0,.3,1); }
.process-stage:not([hidden]) .process-air { animation: show-air 1.5s ease-out; }
.cleaning-process.reveal-pending .process-plate g { animation-play-state: paused; }
@keyframes inspect-weave { 0%, 100% { transform: translate(0); } 45% { transform: translate(-8px, 3px); } }
@keyframes extract-pass { from { transform: translate(15px, -4px); } to { transform: translate(0); } }
@keyframes lift-suds { from { opacity: .1; transform: translate(3px, 6px); } to { opacity: 1; transform: translate(0); } }
@keyframes dry-fibres { to { transform: rotate(360deg); } }
@keyframes show-air { from { stroke-dasharray: 40; stroke-dashoffset: 40; } to { stroke-dasharray: 40; stroke-dashoffset: 0; } }
.process-stage.works-enter { animation: stage-in .26s ease both; }
@keyframes stage-in { from { opacity: .72; transform: translateY(.27rem); } to { opacity: 1; transform: none; } }
.process-stage-name { display: block; margin-bottom: .35rem; color: var(--accent); font-weight: 600; }
.process-picker:not([hidden]) ~ .process-stage .process-stage-name { display: none; }
.contact-section { display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; gap: clamp(1.75rem, 6vw, 6rem); }
.contact-section aside { padding: 1.2rem 0; border-block: 1px solid var(--line); }
.contact-section h2 { max-width: 12ch; }
.contact-copy > p { max-width: 28rem; }
.site-footer { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.site-footer .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: .85rem; flex-wrap: wrap; }
.site-footer p { margin: 0; color: var(--muted); }
[data-reveal] { transition: opacity .5s ease, transform .5s cubic-bezier(.18,.65,.25,1); }
.reveal-pending:not(:focus-within) { opacity: .65; transform: translateY(.85rem); }
.works-enter { animation: rise-in .32s ease both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(.45rem); } to { opacity: 1; transform: translateY(0); } }
.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress { position: fixed; z-index: 4; inset: 0 0 auto; display: block; height: 2px; background: var(--accent); pointer-events: none; transform-origin: left; animation: show-progress linear both; animation-timeline: scroll(root block); }
  @keyframes show-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 58px); }
  .hero { gap: 1.85rem; }
  h1 { font-size: clamp(3.15rem, 6.8vw, 6.5rem); }
}
@media (max-width: 790px) {
  .site-header { min-height: 70px; }
  .hero-copy { padding-bottom: 0; }
  .hero-photo { aspect-ratio: .94; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 63px; gap: .58rem; }
  .site-header nav { gap: .55rem; font-size: .8rem; }
  .wordmark { width: clamp(6.8rem, 32vw, 9.5rem); }
  .hero { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 2.25rem; }
  .hero-photo { aspect-ratio: 1.28; }
  .section-top, .works-note { align-items: start; flex-direction: column; }
  .section-top { gap: .6rem; padding-bottom: .65rem; }
  .works-grid, .services-grid, .contact-section, .process-stage, .result-layout { grid-template-columns: 1fr; }
  .process-stage { gap: 1rem; }
  .process-picker button { gap: .27rem; font-size: .88rem; }
  .featured-work { grid-column: auto; }
  .featured-work .comparison, .work-visual, .comparison, .result-photo .comparison, .angle-pair { aspect-ratio: 4/3; }
  .case-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.3rem, 1fr)); gap: .35rem; overflow: visible; }
  .case-picker button { padding: .4rem .32rem; font-size: .88rem; line-height: 1.2; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .hero { gap: 1.3rem; padding-top: 1.6rem; }
  .hero h1 { font-size: clamp(2.55rem, 8.5vw, 3.15rem); margin-bottom: 1rem; }
  .hero-copy > p { margin-bottom: 1.15rem; }
  .hero-actions { gap: .7rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}
