/* Hoovipatrull. One motif: the trapezoid profile of a well-cut hedge (narrow top, wide base). */
:root {
  --bg: #ffffff;
  --surface: #edf1ea;
  --ink: #0c1a11;
  --muted: #44524a;
  --accent: #2c7a34;
  --accent-ink: #ffffff;
  --field: #0f2416;
  --field-ink: #ffffff;
  --g1: #1c3a24; --g2: #295133; --g3: #3a6a44; --g4: #4b7a41;
  --m: clamp(16px, 3vw, 40px);
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --trap: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.45 'General Sans', system-ui, sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2 { font-weight: 700; letter-spacing: -0.02em; line-height: 0.95; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 500;
  padding: 18px 40px; clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
  transition: transform .2s var(--ease), background-color .2s; }
.btn:hover { background: var(--g1); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }

/* Hero: dark field, centred name, five service folders */
.hero { position: relative; min-height: 100svh; background: var(--field); color: var(--field-ink); overflow: hidden; text-align: center; padding: 0 var(--m); }
.top { position: relative; display: flex; justify-content: center; align-items: center; height: 72px; }
.mark { font-weight: 700; font-size: 1.125rem; text-decoration: none; letter-spacing: -0.01em; }
.top-link { position: absolute; right: 0; font-size: 1rem; text-decoration: none; transition: opacity .2s; }
.top-link:hover { opacity: .75; }
.hero h1 { font-size: clamp(64px, 11vw, 176px); margin-top: clamp(24px, 4vh, 56px); }
.hero-sub { max-width: 52ch; margin: 32px auto 0; font-size: var(--step-lead); line-height: 1.35; }
.stack { position: absolute; inset: 0; top: max(51%, 420px); pointer-events: none; }
.folder { position: absolute; left: 7%; width: 86%; height: 100%; display: block; text-decoration: none; color: var(--field-ink); pointer-events: auto;
  transition: transform .35s var(--ease); }
.folder .tab { position: absolute; top: -44px; height: 44px; padding: 0 34px; display: flex; align-items: center; font-weight: 500; font-size: 1.125rem;
  background: inherit; clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 100%, 0 100%); white-space: nowrap; }
.folder .tab a { text-decoration: none; }
a.folder:hover, a.folder:focus-visible { transform: translateY(-10px); }
.f1 { top: 0; background: var(--g1); } .f1 .tab { left: 4%; }
.f2 { top: 64px; background: var(--g2); } .f2 .tab { left: 24%; }
.f3 { top: 128px; background: var(--g3); } .f3 .tab { left: 46%; }
.f4 { top: 192px; background: var(--g4); } .f4 .tab { right: 22%; }
.f5 { top: 256px; background: var(--surface); color: var(--ink); text-align: left; padding: 32px; } .f5 .tab { right: 3%; }
.f5 .btn { position: relative; }

/* Before / after, on the front folder's ground */
.show { background: var(--surface); padding: clamp(48px, 8vw, 120px) var(--m) clamp(120px, 14vw, 200px);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.show h2 { font-size: var(--step-head); }
.show-text p { margin-top: 24px; max-width: 38ch; }
.show-text .show-note { color: var(--muted); font-size: 0.875rem; }
.compare { position: relative; aspect-ratio: 4 / 3; clip-path: var(--trap); background: var(--g1); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--p)); }
.cut { position: absolute; top: 0; bottom: 0; left: var(--p); width: 4px; margin-left: -2px; background: var(--bg); pointer-events: none; }
.cut::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; background: var(--bg);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.lab { position: absolute; bottom: 20px; background: var(--ink); color: var(--bg); font-weight: 500; padding: 6px 16px; pointer-events: none; }
.lab-l { left: 9%; } .lab-r { right: 9%; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:has(input:focus-visible) .cut::after { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Services: picture frame left, points right */
.work { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); padding: 0 var(--m) clamp(120px, 14vw, 200px); align-items: start; }
.frame { position: sticky; top: 24px; height: min(78svh, 760px); margin-left: calc(-1 * var(--m) - 4vw); clip-path: var(--trap); background: var(--g2); overflow: hidden; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .24s linear; }
.frame img.on { opacity: 1; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-2%); } }
.work h2 { font-size: var(--step-head); padding-top: clamp(16px, 3vw, 40px); }
.points { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; }
.points article { outline-offset: 6px; cursor: default; transition: opacity .24s; }
.points:hover article:not(:hover) { opacity: .55; }
.points h3 { font-size: 1.125rem; font-weight: 500; display: flex; align-items: baseline; gap: 10px; }
.points h3 i { flex: none; width: 0.95em; height: 0.7em; background: var(--accent); clip-path: var(--trap); transform: translateY(0.05em); }
.points article:nth-child(4n+2) i { background: var(--g3); }
.points article:nth-child(4n+3) i { background: var(--g4); }
.points article:nth-child(4n) i { background: var(--g1); }
.points p { margin-top: 8px; font-size: 1rem; }

/* How it works: dark band, overgrown → cut → hedge */
.how { background: var(--field); color: var(--field-ink); padding: clamp(80px, 10vw, 160px) var(--m); }
.how-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.how h2 { font-size: clamp(36px, 4vw, 60px); }
.how-head p { max-width: 40ch; }
.how-head { align-items: end; }
.diagram { margin-top: 64px; }
.diagram svg { width: 100%; height: auto; display: block; }
.d-tall { display: none !important; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.steps b { display: block; font-size: 1.125rem; font-weight: 700; }
.steps span { display: block; margin-top: 6px; max-width: 30ch; }

/* Coupon form */
.coupon-wrap { padding: clamp(120px, 12vw, 160px) var(--m) 72px; }
.coupon { position: relative; display: grid; grid-template-columns: 46fr 54fr; background: var(--accent); color: var(--accent-ink); max-width: 1200px; margin: 0 auto; }
.coupon::before, .coupon::after { content: ""; position: absolute; left: 46%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--bg); }
.coupon::before { top: -14px; } .coupon::after { bottom: -14px; }
.c-left { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border-right: 5px dotted var(--bg); }
.c-left h2 { font-size: clamp(32px, 3.4vw, 52px); }
.c-left p { max-width: 36ch; }
.c-left a { color: var(--accent-ink); font-weight: 500; }
.c-right { padding: 48px; display: flex; flex-direction: column; gap: 10px; }
.c-right input, .c-right textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #e3eee1; border: 0; padding: 14px 16px; min-height: 52px; }
.c-right textarea { resize: vertical; }
.c-right input::placeholder, .c-right textarea::placeholder { color: var(--muted); }
.send { font: inherit; font-weight: 500; min-height: 56px; background: var(--ink); color: var(--bg); border: 0; cursor: pointer; margin-top: 6px;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%); transition: transform .2s var(--ease), background-color .2s; }
.send:hover { background: #000; transform: translateY(-2px); }
.send:active { transform: translateY(1px); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#status { min-height: 1.4em; font-weight: 500; }

/* Footer: the name built from hedge blocks */
.foot { background: var(--surface); padding: 48px var(--m) 32px; }
.blocks { display: flex; gap: 4px; align-items: flex-end; height: 26svh; min-height: 180px; }
.blocks span { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0.08em; color: var(--surface); font-weight: 700;
  font-size: clamp(28px, 6.4vw, 104px); line-height: 1; height: calc(var(--h) * 1%); clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); transform-origin: bottom; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 32px; margin-top: 56px; font-size: 1rem; }
.foot-cols ul { list-style: none; display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; } .foot-cols a:hover { text-decoration: underline; }
address { font-style: normal; text-align: right; line-height: 1.7; }
.credits { margin-top: 40px; font-size: 0.875rem; max-width: 75ch; }
.foot-last { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; font-size: 0.875rem; }
.btn-small { padding: 10px 26px; }

/* Entrances (only with JS, so content never stays hidden) */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .folder { animation: up .9s var(--ease) both; }
.f1 { animation-delay: .05s !important; } .f2 { animation-delay: .13s !important; } .f3 { animation-delay: .21s !important; } .f4 { animation-delay: .29s !important; } .f5 { animation-delay: .37s !important; }
@keyframes up { from { transform: translateY(40vh); } }
.blocks.in span { animation: grow .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes grow { from { transform: scaleY(0); } }

@media (max-width: 860px) {
  .hero h1 { font-size: 14.5vw; margin-top: 40px; }
  .hero-sub { font-size: 1.125rem; margin-top: 20px; }
  .stack { top: max(42svh, 330px); }
  .folder { left: 0; width: 100%; }
  .folder .tab { height: 34px; top: -34px; font-size: 1rem; padding: 0 22px; }
  .f2 { top: 52px; } .f3 { top: 104px; } .f4 { top: 156px; } .f5 { top: 208px; padding: 24px 16px; }
  .f1 .tab { left: 2%; } .f2 .tab { left: 30%; } .f3 .tab { left: 4%; } .f4 .tab { right: 4%; } .f5 .tab { right: 30%; }
  .f5 .btn { display: block; text-align: center; }
  .top-link { display: none; }
  .show, .work, .how-head { grid-template-columns: 1fr; }
  .how-head p { max-width: none; }
  .show { padding-top: 40px; }
  .frame { position: relative; top: 0; height: 60svh; width: 82vw; margin-left: calc(-1 * var(--m)); }
  .work h2 { font-size: 30px; }
  .points { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .d-wide { display: none !important; } .d-tall { display: block !important; max-width: 420px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .coupon { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .c-left { border-right: 0; border-bottom: 5px dotted var(--bg); padding: 32px 20px; }
  .c-right { padding: 32px 20px; }
  .c-right input, .c-right textarea { min-height: 54px; }
  .blocks { height: auto; min-height: 0; flex-wrap: wrap; row-gap: 4px; }
  .blocks span { flex: 0 0 calc((100% - 20px) / 6); height: calc(var(--h) * 1.1px); font-size: 9vw; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  address { grid-column: 1 / -1; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .folder, .blocks.in span { opacity: 1; transform: none; animation: none; transition: none; }
  .frame img.on { animation: none; }
}
