:root {
  --lime: #D5FA71;
  --paper: #F7F6F1;
  --green: #1E4D2B;
  --tint: #EBF7CA;                               /* pale lime: the desk and the Contact page */
  --text: rgba(30, 77, 43, 0.88);
  --mx: max(4vw, calc((100vw - 1180px) / 2));   /* side margin of a book spread */
  --my: max(88px, 11vh);                         /* top and bottom margin of a book page */
  --gallery-bg: var(--green);                    /* change this to recolour the logo wall */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }   /* nothing may widen the page sideways (phones zoom out to fit it, which knocks everything off centre) */
body {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  color: var(--green); background: var(--tint);
  overflow-x: clip; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
main, .back, .ticker, .ribbon, .bigband { position: relative; z-index: 1; }

/* ===== LOGO CROP (script.js measures the wordmark and sets --ww, --cx, --cy, --wm-ar) ===== */
.wm { position: relative; display: block; overflow: hidden; aspect-ratio: var(--wm-ar, 6); }
.wm img { position: absolute; left: 50%; top: 50%; max-width: none; height: auto; width: calc(100% / var(--ww, .9)); transform: translate(calc(var(--cx, .5) * -100%), calc(var(--cy, .5) * -100%)); }
.wm-nav { width: clamp(150px, 14vw, 230px); transition: transform .3s ease; }
.wm-nav:hover { transform: scale(1.05) rotate(-1.5deg); }
.wm-cover { width: min(70vw, 820px); animation: logoIn 1s ease both; }
.wm-back { width: 96%; margin: 0 auto; }

/* ===== MOVING BACKGROUND ===== */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; --sy: 0; }
.bg::before {
  content: ""; position: absolute; inset: -60px 0;
  background-image: radial-gradient(rgba(30, 77, 43, 0.16) 1.5px, transparent 1.6px);
  background-size: 28px 28px; background-position: 0 calc(var(--sy) * -0.12px);
}
.bgi { position: absolute; translate: 0 calc(var(--sy) * var(--k, .1) * -1px); }
.bgblob { aspect-ratio: 1; border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; animation: blobMorph 18s ease-in-out infinite, drift 26s ease-in-out infinite; }
.bl1 { width: 46vw; left: -12vw; top: 8vh; background: rgba(213, 250, 113, .6); }
.bl2 { width: 34vw; right: -10vw; top: 40vh; background: rgba(247, 246, 241, .9); animation-delay: -6s, -9s; }
.bl3 { width: 40vw; left: 10vw; bottom: -14vh; background: rgba(213, 250, 113, .5); animation-delay: -3s, -14s; }
.bl4 { width: 22vw; right: 8vw; top: -8vh; background: rgba(213, 250, 113, .55); animation-delay: -10s, -4s; }
.bgicon { width: clamp(70px, 8vw, 140px); aspect-ratio: 1; background: var(--lime); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; animation: sway 14s ease-in-out infinite alternate; }
.ia { left: 2vw; top: 14vh; -webkit-mask-image: url('images/icons/camera.svg'); mask-image: url('images/icons/camera.svg'); }
.ib { right: 2vw; top: 24vh; -webkit-mask-image: url('images/icons/orbit.svg'); mask-image: url('images/icons/orbit.svg'); animation-delay: -4s; }
.ic { left: 3vw; top: 52vh; -webkit-mask-image: url('images/icons/puzzles.svg'); mask-image: url('images/icons/puzzles.svg'); animation-delay: -7s; }
.id { right: 3vw; top: 62vh; -webkit-mask-image: url('images/icons/pentool.svg'); mask-image: url('images/icons/pentool.svg'); animation-delay: -2s; }
.ie { left: 1vw; top: 86vh; -webkit-mask-image: url('images/icons/sparkling_ideas_on.svg'); mask-image: url('images/icons/sparkling_ideas_on.svg'); animation-delay: -9s; }
.if { right: 1vw; top: 96vh; -webkit-mask-image: url('images/icons/layers.svg'); mask-image: url('images/icons/layers.svg'); animation-delay: -5s; }
.ig { left: 5vw; top: 120vh; -webkit-mask-image: url('images/icons/collaborations.svg'); mask-image: url('images/icons/collaborations.svg'); animation-delay: -11s; }
.ih { right: 4vw; top: 132vh; -webkit-mask-image: url('images/icons/creative_process.svg'); mask-image: url('images/icons/creative_process.svg'); animation-delay: -1s; }
@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; }
  25% { border-radius: 58% 42% 35% 65% / 55% 60% 40% 45%; }
  50% { border-radius: 65% 35% 45% 55% / 40% 55% 45% 60%; }
  75% { border-radius: 35% 65% 55% 45% / 60% 40% 60% 40%; }
}
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -50px) scale(1.08); } }
@keyframes sway { from { transform: rotate(-14deg) translateY(0); } to { transform: rotate(12deg) translateY(-26px); } }

/* ===== BOOK COVER INTRO ===== */
.cover { position: fixed; inset: 0; z-index: 500; perspective: 2200px; animation: coverGone 0.01s linear 3.1s forwards; }
.cover-face {
  position: absolute; inset: 0; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transform-origin: left center; border-right: 3px solid var(--green);
  box-shadow: 18px 0 60px rgba(30, 77, 43, 0.35);
  animation: coverOpen 1.5s cubic-bezier(.7, 0, .25, 1) 1.6s forwards;
}
.cover-face::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6vw; background: var(--lime); border-right: 3px solid var(--green); }
.cover-note { font-size: 13px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; opacity: 0; animation: fadeIn .6s ease .9s forwards; }
.cover.skip { animation: coverGone 0.01s linear .75s forwards; }
.cover.skip .cover-face { animation: coverOpen .65s cubic-bezier(.7, 0, .25, 1) forwards; }
@keyframes coverOpen { to { transform: rotateY(-104deg); opacity: .2; } }
@keyframes coverGone { to { visibility: hidden; pointer-events: none; } }
@keyframes logoIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: .75; } }
html:not(.js) .cover { display: none; }

/* ===== TOP BAR ===== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 5vw; background: rgba(247, 246, 241, 0.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--green);
  transform: translateY(-100%); transition: transform .5s ease; --prog: 0;
}
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--lime); transform-origin: left; transform: scaleX(var(--prog)); }
.topbar.show, html:not(.js) .topbar { transform: none; }
.top-links { display: flex; gap: 4px; }
.top-links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 13px; border-radius: 99px; transition: background .2s ease; }
.top-links a:hover, .top-links a.active { background: var(--lime); }
.top-right { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: none; font-size: 26px; color: var(--green); cursor: pointer; }
.menu-panel { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 5vw 24px; background: var(--paper); border-bottom: 2px solid var(--green); }
.menu-panel.open { display: flex; }
.menu-panel a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 18px; }

/* ===== EDGE TABS ===== */
.tabs { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 250; display: flex; flex-direction: column; gap: 8px; }
.tab {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: var(--paper); color: var(--green);
  border: 2px solid var(--green); border-right: none; border-radius: 12px 0 0 12px;
  padding: 8px 16px 8px 14px; transform: translateX(calc(100% - 50px));
  transition: transform .3s ease, background .2s ease, color .2s ease;
}
.tab:hover, .tab.active { transform: translateX(0); }
.tab.active { background: var(--green); color: var(--lime); }
html:not(.js) .tabs { display: none; }

/* ===== BOOK SPREADS ===== */
/* every section fills the window, with its content centred under the top bar */
.sec { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 84px 4vw 18px; }
.spread { position: relative; width: 100%; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; perspective: 2000px; }
.spread.solo { grid-template-columns: 1fr; }

.page {
  position: relative; background: var(--paper); border: 2px solid var(--green);
  padding: clamp(42px, 6vh, 64px) 56px; min-height: min(660px, calc(100vh - 124px));
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  box-shadow: 0 24px 44px rgba(30, 77, 43, 0.22);
}
.page-l { border-radius: 20px 0 0 20px; border-right: none; transform-origin: right center; }
.page-r { border-radius: 0 20px 20px 0; border-left: none; transform-origin: left center; }
.page-solo { border-radius: 20px; min-height: min(560px, calc(100vh - 124px)); padding-bottom: clamp(42px, 6vh, 70px); }
.page-lime { background: var(--lime); }
.page-l::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 70px; background: linear-gradient(to right, transparent, rgba(30, 77, 43, 0.16)); pointer-events: none; }
.page-r::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 70px; background: linear-gradient(to left, transparent, rgba(30, 77, 43, 0.16)); pointer-events: none; }
.pc { position: relative; z-index: 1; }
.run { position: absolute; top: 22px; left: 56px; right: 56px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .7; z-index: 1; }
.folio { position: absolute; bottom: 20px; font-size: 12px; font-weight: 800; letter-spacing: .12em; z-index: 3; }
.page-l .folio { left: 56px; }
.page-r .folio { right: 56px; }
.folio-c { left: 50%; transform: translateX(-50%); }

html.js .spread .page-l { opacity: 0; transform: rotateY(38deg); }
html.js .spread .page-r { opacity: 0; transform: rotateY(-38deg); }
html.js .spread .page-solo { opacity: 0; transform: translateY(40px) scale(.98); }
html.js .spread.in .page { opacity: 1; transform: none; transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity .6s ease; }
html.js .spread.in .page-r { transition-delay: .12s; }

html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 0.09s + 0.35s); }
html.js .in .rv { opacity: 1; transform: none; }

/* ===== TYPE ===== */
.label { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 16px; }
.label::before { content: ""; width: 34px; height: 2px; background: var(--green); }
h1 { font-size: clamp(38px, min(5.2vw, 8.4vh), 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(26px, min(3.2vw, 5.4vh), 44px); line-height: 1.08; font-weight: 700; letter-spacing: -.015em; margin-bottom: clamp(12px, 2.4vh, 22px); }
.lead { font-size: clamp(17px, 2.5vh, 20px); line-height: 1.5; color: var(--text); max-width: 30ch; margin: clamp(14px, 3vh, 24px) 0 clamp(18px, 3.6vh, 30px); }
.p { font-size: 17px; line-height: 1.62; color: var(--text); margin-bottom: 14px; max-width: 46ch; }
.quote { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.42; font-weight: 700; }
.fine { font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-top: 14px; opacity: .7; }
.from { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }

.hl { background-image: linear-gradient(transparent 58%, var(--lime) 58%); background-repeat: no-repeat; background-size: 0% 100%; padding: 0 .06em; transition: background-size .9s ease 1s; }
.page-lime .hl { background-image: linear-gradient(transparent 58%, var(--paper) 58%); }
.big .hl { background-image: linear-gradient(var(--lime), var(--lime)); border-radius: .08em; padding: 0 .1em; }
.in .hl, .xp.full .hl, html:not(.js) .hl, html.show-all .hl { background-size: 100% 100%; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 14px 26px; border-radius: 99px; border: 2px solid var(--green); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; font-family: inherit; text-align: center; translate: var(--tx, 0px) var(--ty, 0px); transition: transform .2s ease, translate .25s ease, background .2s ease, color .2s ease; }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn-solid { background: var(--green); color: var(--lime); }
.btn-solid:hover { transform: translateY(-3px) rotate(-1deg); }
.btn-line { background: transparent; color: var(--green); }
.btn-line:hover { background: var(--green); color: var(--lime); transform: translateY(-3px); }
.row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== HERO RIGHT PAGE ===== */
.swatches { display: flex; gap: 12px; height: clamp(120px, 21vh, 190px); margin-bottom: clamp(14px, 3vh, 26px); }
.swatch { flex: 1; border: 2px solid var(--green); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 12px; font-weight: 700; line-height: 1.3; transition: transform .25s ease; }
.swatch b { font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.sw-green { background: var(--green); color: var(--lime); transform: rotate(-2deg); }
.sw-lime { background: var(--lime); color: var(--green); transform: rotate(1.2deg); }
.sw-paper { background: var(--paper); color: var(--green); transform: rotate(-1deg); }
.swatch:hover { transform: translateY(-8px) rotate(0deg); }
.hero-row { display: flex; align-items: center; gap: 22px; }
.specimen { flex: 1.1; display: flex; align-items: center; gap: 16px; background: var(--paper); border: 2px solid var(--green); border-radius: 16px; padding: 18px 20px; }
.aa { font-size: 56px; font-weight: 800; line-height: 1; }
.specimen b { font-size: 16px; }

/* ===== POLAROIDS ===== */
.polaroid { position: relative; background: var(--paper); border: 2px solid var(--green); padding: 7px 7px 24px; box-shadow: 0 10px 20px rgba(30, 77, 43, .25); transform: rotate(var(--r, 0deg)); transition: transform .3s ease; }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid:hover { transform: rotate(0deg) scale(1.04); }
.hero-row .polaroid { flex: .9; max-width: clamp(120px, 21vh, 190px); }
.af-mini { position: absolute; z-index: 2; left: -12%; bottom: -7%; width: 38%; }
.care-mini { position: absolute; z-index: 2; right: 34px; bottom: 64px; width: clamp(90px, 15vh, 130px); }
.polas { display: flex; gap: 18px; margin-top: 24px; }
.polas .polaroid { width: clamp(96px, 10vw, 150px); }

/* ===== TICKER ===== */
.ticker { background: var(--paper); border-top: 2px solid var(--green); border-bottom: 2px solid var(--green); overflow: hidden; white-space: nowrap; padding: 14px 0; margin-top: 30px; }
.ticker-track { display: inline-flex; gap: 26px; animation: tick 49s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font-weight: 800; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== TORN PHOTOS ===== */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: clamp(16px, 3.4vh, 28px); }
.photos .torn img { max-height: 30vh; }
.photo-one { max-width: min(340px, 44vh); margin: 0 auto; }
.torn { position: relative; filter: drop-shadow(0 12px 16px rgba(30, 77, 43, .28)); }
.torn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0% 2%, 4% 0%, 12% 1.5%, 20% 0%, 30% 1.8%, 40% 0.2%, 50% 1.5%, 60% 0%, 70% 1.8%, 80% 0.3%, 90% 1.6%, 100% 0%, 100% 98%, 96% 100%, 88% 98.5%, 80% 100%, 70% 98.2%, 60% 100%, 50% 98.5%, 40% 100%, 30% 98.2%, 20% 100%, 10% 98.5%, 0% 100%); }
.photo-one .torn img { aspect-ratio: 4 / 5; }
.torn-a { transform: rotate(-2.5deg); }
.torn-b { transform: rotate(2.5deg); }
.tape { position: absolute; top: -9px; left: 14%; width: 62px; height: 22px; background: rgba(213, 250, 113, .85); border: 1px solid rgba(30, 77, 43, .25); transform: rotate(-8deg); }
.page-lime .tape { background: rgba(247, 246, 241, .85); }

/* ===== PHOTO RIBBON ===== */
.ribbon { overflow: hidden; padding: 80px 0 70px; }
.ribbon-track { display: flex; gap: 34px; width: max-content; padding-left: 4vw; will-change: transform; }
.rb { position: relative; flex: 0 0 auto; width: clamp(190px, 21vw, 320px); transform: translateY(var(--y, 0px)) rotate(var(--r, 0deg)); filter: drop-shadow(0 14px 18px rgba(30, 77, 43, .3)); }
.rb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: polygon(0% 2%, 4% 0%, 12% 1.5%, 20% 0%, 30% 1.8%, 40% 0.2%, 50% 1.5%, 60% 0%, 70% 1.8%, 80% 0.3%, 90% 1.6%, 100% 0%, 100% 98%, 96% 100%, 88% 98.5%, 80% 100%, 70% 98.2%, 60% 100%, 50% 98.5%, 40% 100%, 30% 98.2%, 20% 100%, 10% 98.5%, 0% 100%); }

/* ===== SERVICES BAND (script.js slides it so every word passes through) ===== */
.bigband { overflow: hidden; padding: 60px 0 44px; white-space: nowrap; }
.bigband-track { display: inline-flex; gap: 56px; will-change: transform; }
.bigband-track span { font-size: clamp(44px, 7vw, 108px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 2px var(--green); }
.bigband-track span:nth-child(even) { color: var(--lime); }

/* ===== DO AND DON'T SLIDER ===== */
.compare { position: relative; height: clamp(240px, 46vh, 420px); border: 2px solid var(--green); border-radius: 18px; overflow: hidden; cursor: ew-resize; user-select: none; touch-action: pan-y; }
.cmp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cmp img { pointer-events: none; -webkit-user-drag: none; }
/* both logos show whole and at the same size, so the slider compares like for like */
.cmp-bad { background: #FFFFFF; }
.cmp-bad img { height: 100%; width: auto; max-width: none; }
.cmp-good { background: var(--green); clip-path: inset(0 0 0 50%); }
/* after: the wide photo fills the whole box, trimmed evenly from the edges if needed */
.cmp-main { width: 100%; height: 100%; object-fit: cover; }
.cmp-tag { position: absolute; z-index: 1; bottom: 14px; left: 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); background: var(--paper); border: 2px solid var(--green); border-radius: 99px; padding: 4px 12px; }
.cmp-tag-r { left: auto; right: 14px; color: var(--green); background: var(--lime); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: var(--lime); transform: translateX(-2px); display: flex; align-items: center; justify-content: center; }
.cmp-handle span { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--lime); border: 3px solid var(--lime); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; flex-shrink: 0; }

/* =========================================================
   CASE STUDY: inside the RYJ mark. A short film that plays by itself.
   script.js adds classes to #ryjMark as the film plays:
   is-drawn (strokes trace in), is-grid (construction lines), is-up (turned upright),
   is-r / is-y / is-j (one letter lit), is-ring (the circle), is-word (wordmark),
   is-paused (stopped part way after a click on the bar), is-done (finished).
   The logo stays in RYJ's own black; the working drawing is in Markhouse green.
   ========================================================= */
.mark { --ink: #191919; position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; padding: 84px 4vw 18px; overflow: hidden; }
.mark-word { position: absolute; z-index: 0; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; white-space: nowrap; font-size: clamp(220px, 40vw, 640px); line-height: .8; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(30, 77, 43, .1); animation: markDrift 26s ease-in-out infinite alternate; }
@keyframes markDrift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
.mark-card { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; background: var(--paper); border: 2px solid var(--green); border-radius: 20px; box-shadow: 0 24px 44px rgba(30, 77, 43, .22); padding: clamp(22px, 3.6vh, 40px) clamp(24px, 4vw, 52px) clamp(18px, 2.6vh, 28px); }
.mark-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.mark-stage { position: relative; width: min(calc(100vh - 360px), 500px, 42vw); min-width: 260px; aspect-ratio: 1; background: #FFFFFF; border: 2px solid var(--green); border-radius: 18px; overflow: hidden; }
.mark-svg { position: absolute; inset: 4%; width: 92%; height: 92%; overflow: visible; }

/* the logomark: traced in as outlines, then filled in RYJ black */
.mk-p { fill: var(--ink); fill-opacity: 0; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.6, 0, .3, 1), fill-opacity .6s ease, opacity .5s ease; }
.mark .f2 { transition-delay: .12s, .12s, 0s; }
.mark .f3 { transition-delay: .24s, .24s, 0s; }
.mark .f4 { transition-delay: .36s, .36s, 0s; }
.mark.is-drawn .mk-p { stroke-dashoffset: 0; fill-opacity: 1; }
.mark.is-drawn .mk-p { transition-delay: 0s, 1s, 0s; }
.mark.is-drawn .f2 { transition-delay: .12s, 1.12s, 0s; }
.mark.is-drawn .f3 { transition-delay: .24s, 1.24s, 0s; }
.mark.is-drawn .f4 { transition-delay: .36s, 1.36s, 0s; }
/* one letter at a time: everything else steps back */
.mark.is-r .mk-p, .mark.is-y .mk-p, .mark.is-j .mk-p { opacity: .12; }
.mark.is-r .p-r, .mark.is-y .p-r, .mark.is-y .a-r, .mark.is-j .p-j { opacity: 1; }
/* turning upright to read the letters, then back to the true angle */
.mk-turn, .mk-move { transform-box: view-box; transform-origin: 250px 250px; transition: transform 1.1s cubic-bezier(.6, 0, .2, 1); }
.mark.is-up .mk-turn { transform: rotate(45deg); }
.mark.is-word .mk-move { transform: translateY(-70px) scale(.55); }

/* the working drawing */
.mk-guide circle, .mk-guide line, .mk-angle { fill: none; stroke: var(--green); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; transition: stroke-dashoffset 1.4s cubic-bezier(.6, 0, .3, 1), opacity .6s ease; }
.mk-guide circle:nth-child(2), .mk-guide line:nth-child(5) { transition-delay: .15s; }
.mk-guide circle:nth-child(3), .mk-guide line:nth-child(6) { transition-delay: .3s; }
.mk-guide line:nth-child(7), .mk-angle { transition-delay: .45s; }
.mk-angle { stroke-width: 2.4; opacity: 1; }
.mk-deg { font: 800 22px 'Bricolage Grotesque', sans-serif; fill: var(--green); opacity: 0; transition: opacity .5s ease .9s; }
.mark.is-grid .mk-guide circle, .mark.is-grid .mk-guide line, .mark.is-grid .mk-angle { stroke-dashoffset: 0; }
.mark.is-grid .mk-deg { opacity: 1; }
.mark.is-drawn:not(.is-grid) .mk-guide * { transition-delay: 0s; }
.mark.is-drawn:not(.is-grid) .mk-guide circle, .mark.is-drawn:not(.is-grid) .mk-guide line, .mark.is-drawn:not(.is-grid) .mk-angle { opacity: 0; }

/* letter tags pop in beside each letter */
.mk-tag { opacity: 0; transform-box: fill-box; transform-origin: center; scale: .4; transition: opacity .3s ease, scale .45s cubic-bezier(.3, 1.6, .5, 1); }
.mk-tag circle { fill: var(--green); }
.mk-tag text { font: 800 28px 'Bricolage Grotesque', sans-serif; fill: var(--lime); text-anchor: middle; }
.mark.is-r .tag-r, .mark.is-y .tag-r, .mark.is-y .tag-y, .mark.is-j .tag-r, .mark.is-j .tag-y, .mark.is-j .tag-j { opacity: 1; scale: 1; }

/* the circle of people, and the wordmark to finish */
.mk-ring { fill: none; stroke: var(--lime); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.6, 0, .3, 1), opacity .6s ease; }
.mark.is-ring .mk-ring { stroke-dashoffset: 0; }
.mark.is-word .mk-ring { opacity: 0; }
.mk-wordmark { position: absolute; left: 50%; bottom: 8%; width: 34%; translate: -50% 0; opacity: 0; transform: translateY(16px); transition: opacity .7s ease .35s, transform .7s cubic-bezier(.2, .8, .2, 1) .35s; }
.mark.is-word .mk-wordmark { opacity: 1; transform: none; }

/* the story beside it */
.mark-copy h2 { font-size: clamp(30px, min(4vw, 6vh), 56px); }
.mk-cap { font-size: clamp(20px, min(2.2vw, 3.8vh), 31px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; min-height: 1.2em; transition: opacity .3s ease, transform .3s ease; }
.mk-cap.swap { opacity: 0; transform: translateY(8px); }
.mk-bar { display: flex; gap: 6px; margin: 10px 0 clamp(14px, 2.6vh, 22px); max-width: 360px; }
/* each part of the bar is a button with a tall, easy to hit area around a thin line */
.mk-seg { flex: 1; position: relative; height: 22px; padding: 0; border: none; background: none; cursor: pointer; }
.mk-seg::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 4px; background: rgba(30, 77, 43, .15); transition: background .3s ease, height .2s ease, margin .2s ease; }
.mk-seg.on::before { background: var(--green); }
.mk-seg:hover::before, .mk-seg:focus-visible::before { height: 9px; margin-top: -4.5px; }
.mk-seg:not(.on):hover::before { background: rgba(30, 77, 43, .4); }
.mk-seg.cur::before { box-shadow: 0 0 0 3px var(--lime); }
.mk-seg:focus-visible { outline: none; }
.mk-note { max-width: 44ch; font-size: clamp(14.5px, 2vh, 17px); }
.mk-replay { margin-top: 6px; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
/* fast forwarding past skipped parts: every move runs quicker */
.mark.is-fast *, .mark.is-fast .mk-cap { transition-duration: .3s !important; transition-delay: 0s !important; }
.mark.is-done .mk-replay, .mark.is-paused .mk-replay { opacity: 1; pointer-events: auto; }

/* the real logo layouts */
.mk-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(16px, 3vh, 28px); padding-top: clamp(14px, 2.4vh, 22px); border-top: 2px dotted rgba(30, 77, 43, .35); }
.mk-strip figure { margin: 0; }
.mk-tile { height: clamp(70px, 11vh, 110px); display: flex; align-items: center; justify-content: center; background: #FFFFFF; border: 2px solid var(--green); border-radius: 12px; padding: 10px; }
.mk-tile img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.mk-tile-dark { background: var(--ink); }
.mk-tile-paper { background: var(--tint); }
.mk-strip figcaption { margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

/* =========================================================
   EXPANDER: the book page bursts out to fill the screen as you scroll.
   script.js drives --p (the page) and --rp1..3 (the shockwave outlines), each 0 to 1.
   ========================================================= */
.xp { position: relative; height: 195vh; --p: 0; --rp1: 0; --rp2: 0; --rp3: 0; }
.xp-contact { height: 205vh; }
.xp-stick { position: sticky; top: 0; height: 100vh; perspective: 1600px; overflow: hidden; }

.xp-box {
  position: absolute;
  left: calc(var(--mx) * (1 - var(--p))); right: calc(var(--mx) * (1 - var(--p)));
  top: calc(var(--my) * (1 - var(--p))); bottom: calc(var(--my) * (1 - var(--p)));
  background: var(--paper);
  border: 2px solid rgba(30, 77, 43, calc(1 - var(--p)));
  border-radius: calc(20px * (1 - var(--p)));
  box-shadow: 0 24px 44px rgba(30, 77, 43, calc(0.22 * (1 - var(--p))));
  transform-origin: 50% 100%;
  transform: rotateX(calc(9deg * (1 - var(--p))));
  overflow: hidden;
}
.xp-bg { position: absolute; inset: 0; background: var(--lime); clip-path: circle(calc(var(--p) * 78%) at 50% 50%); }
.xp-contact .xp-bg { background: var(--tint); }
.xp-run { position: absolute; top: 22px; left: 56px; right: 56px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: calc(1 - var(--p) * 1.6); z-index: 2; }
.xp-content {
  /* the content keeps one fixed layout and simply zooms with the page, so line breaks never change mid animation */
  position: absolute; left: 50%; top: 50%; z-index: 2; width: var(--iw, 80vw);
  transform: translate(-50%, -50%) scale(calc(var(--s0, .6) + (1 - var(--s0, .6)) * var(--p)));
  transform-origin: 50% 50%; text-align: center;
}
.xp-spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 80px; transform: translateX(-50%); background: linear-gradient(to right, transparent, rgba(30, 77, 43, .14), transparent); opacity: calc(1 - var(--p)); z-index: 1; }
.xp .hl { background-image: linear-gradient(transparent 58%, var(--lime) 58%); }
.xp.full .hl { background-image: linear-gradient(transparent 58%, var(--paper) 58%); }
.xp-contact.full .hl { background-image: linear-gradient(transparent 58%, var(--lime) 58%); }

.ring {
  position: absolute; z-index: 0; pointer-events: none;
  border: 2px solid var(--green);
  border-radius: calc(22px * (1 - var(--rp)));
  left: calc(var(--mx) * (1 - var(--rp))); right: calc(var(--mx) * (1 - var(--rp)));
  top: calc(var(--my) * (1 - var(--rp))); bottom: calc(var(--my) * (1 - var(--rp)));
  opacity: calc((1 - var(--rp)) * .55);
}
.ring.r1 { --rp: var(--rp1, 0); }
.ring.r2 { --rp: var(--rp2, 0); }
.ring.r3 { --rp: var(--rp3, 0); }

/* statement: a longer headline, so the type is smaller and wraps over several lines */
.xp-statement { --iw: min(1150px, 74vw); --s0: .58; }
.big { font-size: clamp(46px, min(8.2vw, 13.5vh), 148px); line-height: .98; letter-spacing: -.035em; font-weight: 800; margin: 0 auto; max-width: 10.5em; text-wrap: balance; }
/* key words: "sh*t logo" stamped in a green block, "competitors" in outline, "look good" underlined */
.kw-box { display: inline-block; background: var(--green); color: var(--lime); padding: .02em .16em .08em; border-radius: .14em; transform: rotate(-2.5deg); box-shadow: .06em .08em 0 rgba(30, 77, 43, .25); }
.kw-out { color: transparent; -webkit-text-stroke: .035em var(--green); }
.kw-line { background: linear-gradient(var(--green), var(--green)) no-repeat 0 94% / 100% .1em; padding-bottom: .04em; }
.deco { position: absolute; z-index: 1; width: clamp(70px, 9vw, 150px); height: clamp(70px, 9vw, 150px); background: var(--paper); opacity: var(--p); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; animation: bob 9s ease-in-out infinite; }
.di-1 { top: 10%; left: 7%; -webkit-mask-image: url('images/icons/sparkling_ideas_on.svg'); mask-image: url('images/icons/sparkling_ideas_on.svg'); }
.di-2 { bottom: 10%; right: 7%; -webkit-mask-image: url('images/icons/orbit.svg'); mask-image: url('images/icons/orbit.svg'); animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(7deg); } }
.xp-photo { position: absolute; z-index: 1; width: clamp(110px, 13vw, 210px); padding: 6px 6px 22px; background: var(--paper); border: 2px solid var(--green); box-shadow: 0 12px 24px rgba(30, 77, 43, .3); opacity: var(--p); transform: rotate(var(--r)) scale(calc(.7 + var(--p) * .3)); }
.xp-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.xph-1 { top: 9%; right: 7%; }
.xph-2 { bottom: 9%; left: 7%; }

/* contact */
.xp-contact { --iw: min(1180px, 90vw); --s0: .8; }
.xp-contact .xp-content { top: calc(50% + 28px * var(--p)); }
.xp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; text-align: left; padding: 0 2vw; }
.xp-contact h2 { font-size: clamp(28px, 3.2vw, 46px); margin-bottom: 18px; }
.sent { font-size: clamp(17px, 1.8vw, 23px); line-height: 1.45; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 16px; }
.sent input, .sent select {
  background: rgba(247, 246, 241, .85);
  border: none; border-bottom: 3px solid var(--green); border-radius: 6px 6px 0 0;
  font: inherit; font-weight: 700; color: var(--green); padding: 3px 8px; min-width: 150px; outline: none;
}
.sent input.wide { min-width: 230px; }
.sent input::placeholder { color: rgba(30, 77, 43, .5); font-weight: 500; }
.sent select.flash { animation: flash 1.2s ease 2; }
@keyframes flash { 50% { background: var(--lime); } }
.notes { width: 100%; border: 2px solid var(--green); border-radius: 14px; background: var(--paper); padding: 14px 16px; font: inherit; font-size: 15px; color: var(--green); resize: none; margin-bottom: 16px; outline: none; }

/* =========================================================
   ABOUT: full page editorial
   ========================================================= */
.about-full { position: relative; z-index: 1; overflow-x: clip; background: var(--paper); min-height: 100vh; display: flex; align-items: center; padding: 96px 6vw 50px; }
.wave-top { position: absolute; left: 0; right: 0; top: -79px; width: 100%; height: 80px; color: var(--paper); }
.wave-lime { color: var(--lime); }
.wave-paper { color: var(--paper); }
.af-grid { width: 100%; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; gap: 6vw; align-items: center; }
.af-photo { position: relative; transform: translate3d(0, calc(var(--py, 0) * 1px), 0); }
.af-photo .torn img { aspect-ratio: 4 / 5; max-height: calc(100vh - 230px); }
.af-blob { position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; right: -18%; bottom: -12%; background: var(--lime); border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; animation: blobMorph 16s ease-in-out infinite; }
.about-full h2 { font-size: clamp(30px, min(4vw, 6.4vh), 58px); }
.about-full .p { font-size: 18px; }

/* =========================================================
   WORK: green panel bursts open, then horizontal logo wall
   ========================================================= */
.gal { position: relative; z-index: 2; --ge: 0; --rp1: 0; --rp2: 0; --rp3: 0; }
.gal-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.gal-bg {
  position: absolute; background: var(--gallery-bg);
  left: calc(var(--mx) * (1 - var(--ge))); right: calc(var(--mx) * (1 - var(--ge)));
  top: calc(var(--my) * (1 - var(--ge))); bottom: calc(var(--my) * (1 - var(--ge)));
  border-radius: calc(24px * (1 - var(--ge)));
}
.gal-view { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; opacity: calc(var(--ge) * 1.4); }
.gal-track { display: flex; align-items: center; gap: 30px; padding: 0 max(8vw, 60px); width: max-content; will-change: transform; }
.gal-intro { flex: 0 0 min(460px, 40vw); color: var(--paper); }
.gal-intro .label { color: var(--lime); }
.gal-intro .label::before { background: var(--lime); }
.gal-intro h2 { color: var(--paper); font-size: clamp(32px, 4vw, 56px); }
.gal-note { font-size: 15px; color: rgba(247, 246, 241, .8); max-width: 34ch; margin-bottom: 22px; }
.gal-hint { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.logo-card { flex: 0 0 auto; width: min(42vh, 420px); transform: translateY(-3vh) rotate(-1.2deg); transition: transform .3s ease; }
.logo-card.alt { transform: translateY(4vh) rotate(1.2deg); }
.logo-card:hover { transform: translateY(0) rotate(0deg) scale(1.03); }
.lc-img { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 2px solid var(--lime); background: var(--paper); }
.lc-img img { width: 100%; height: 100%; object-fit: cover; }
.lc-miss { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 13px; font-weight: 700; color: var(--green); }
.lc-img.missing img { display: none; }
.lc-img.missing .lc-miss { display: flex; }
.logo-card figcaption { margin-top: 14px; color: var(--paper); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.logo-card figcaption b { font-size: 18px; }
.logo-card figcaption em { font-style: normal; font-size: 14px; opacity: .8; flex-basis: 100%; }
.lc-tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; }
.lc-tag.client { background: var(--lime); color: var(--green); }
.lc-tag.concept { border: 2px solid rgba(247, 246, 241, .6); color: var(--paper); }
.gal-end { flex: 0 0 min(34vh, 360px); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; background: var(--lime); color: var(--green); border-radius: 18px; font-weight: 800; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; text-decoration: none; translate: var(--tx, 0px) var(--ty, 0px); transition: transform .25s ease, translate .25s ease; }
.gal-end:hover { transform: rotate(-2deg) scale(1.03); }
.gal-bar { position: absolute; left: max(8vw, 60px); right: max(8vw, 60px); bottom: calc(var(--my) * .55); height: 4px; background: rgba(247, 246, 241, .25); border-radius: 4px; overflow: hidden; opacity: var(--ge); }
.gal-bar span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
.wave-bottom { position: absolute; left: 0; right: 0; top: calc(100% - 1px); width: 100%; height: 80px; color: var(--gallery-bg); }

/* =========================================================
   PACKAGES: Logo vs Brand Identity, side by side
   ========================================================= */
.swtab { position: absolute; top: -16px; left: -2px; background: var(--green); color: var(--lime); font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 6px 12px 0 0; }
.swprice { display: block; font-size: clamp(26px, 4.2vh, 34px); font-weight: 800; line-height: 1.1; }
.pk { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(8px, 2vh, 18px); align-items: start; }
.pkc { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--green); border-radius: 6px 18px 18px 18px; padding: clamp(22px, 3.4vh, 38px) 28px clamp(12px, 2vh, 26px); box-shadow: 6px 8px 0 rgba(30, 77, 43, .18); transition: transform .25s ease, box-shadow .25s ease; }
.pkc:hover { transform: translateY(-4px); box-shadow: 8px 12px 0 rgba(30, 77, 43, .22); }
.pkc h3 { font-size: clamp(22px, min(2.4vw, 3.8vh), 32px); line-height: 1.1; margin-bottom: 6px; }
.pk-desc { font-size: clamp(13.5px, 1.9vh, 15px); line-height: 1.5; color: var(--text); max-width: 38ch; }
.pk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: clamp(10px, 2vh, 18px); }
.pk-side { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.inc { list-style: none; }
.inc li { position: relative; padding: clamp(3px, .5vh, 11px) 0 clamp(3px, .5vh, 11px) 34px; border-top: 2px dotted rgba(30, 77, 43, .35); font-size: clamp(13px, 1.8vh, 15px); font-weight: 600; line-height: 1.35; }
.inc li::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; line-height: 1; }
.inc li.y::before { content: "✓"; background: var(--lime); color: var(--green); border: 2px solid var(--green); }
.pkc-hi .inc li.y::before { background: var(--green); color: var(--lime); }
/* the extras Brand Identity adds over Logo: a lime highlight, a lime tick and a small spark so the extra value stands out */
.inc li.plus { background: linear-gradient(90deg, rgba(213, 250, 113, .7), rgba(213, 250, 113, .15) 70%, rgba(213, 250, 113, 0)); border-radius: 0 8px 8px 0; }
.pkc-hi .inc li.plus::before { background: var(--lime); color: var(--green); border: 2px solid var(--green); }
.inc li.plus::after { content: "✦"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--green); }
.inc li.n { color: rgba(30, 77, 43, .4); }
.inc li.n::before { border: 2px dashed rgba(30, 77, 43, .35); }
html.js .inc li::before { transform: scale(0); }
html.js .in .inc li::before { transform: scale(1); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--n, 0) * .06s + .8s); }
/* "Not sure which one fits?" sits in the page's bottom margin, beside the page number */
.pk-help { position: absolute; left: 0; bottom: calc(-1 * clamp(42px, 6vh, 70px) + 14px); font-size: 14px; font-weight: 600; }
#pricing .pc { position: relative; }
#pricing { z-index: 2; }   /* keeps the packages page above the wavy edge of the next section */
.pk-help a { font-weight: 800; }

/* =========================================================
   BUBBLE MAPS (design + video). script.js builds the bubbles from the SERVICES list.
   ========================================================= */
.orb-sec { position: relative; z-index: 1; background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 92px 6vw 26px; }
.orb-wrap { width: 100%; max-width: 1240px; margin: 0 auto; }
.orb-head .label { margin-bottom: 10px; }
.orb-head { max-width: 640px; }
.orb-head h2 { font-size: clamp(28px, min(4vw, 5.6vh), 56px); margin-bottom: 8px; }
.orb-note { font-size: clamp(14px, 2vh, 16px); line-height: 1.5; color: var(--text); max-width: 56ch; }
.orb { position: relative; margin-top: clamp(4px, 1.6vh, 26px); }
.orb-map { transition: opacity .35s ease, transform .45s ease; }
.orb-stage { position: relative; width: min(100%, 1040px, max(560px, calc((100vh - 290px) * 1.6))); margin: 0 auto; aspect-ratio: 16 / 10; }
.orb-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb-lines path { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 1 8; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .5; transition: opacity .3s ease, stroke-width .3s ease; }
.orb-lines path.on { opacity: 1; stroke-width: 3; stroke-dasharray: none; }


/* centre: a lime blob that tells people what to do */
.orb-centre {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: clamp(160px, min(19vw, 26vh), 250px); aspect-ratio: 1; padding: 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  background: var(--lime); color: var(--green); border: 3px solid var(--green);
  border-radius: 58% 42% 55% 45% / 47% 56% 44% 53%;
  box-shadow: 8px 10px 0 rgba(30, 77, 43, .2);
  animation: blobMorph 16s ease-in-out infinite;
}
.orb-centre::before { content: ""; position: absolute; inset: -14px; border-radius: inherit; border: 2px solid var(--green); opacity: 0; animation: pulse 2.8s ease-out infinite; pointer-events: none; }
.orb-centre b { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; }
.orb-tip { font-size: 13px; line-height: 1.35; font-weight: 600; max-width: 15ch; }
.orb-tip::after { content: " ↗"; font-weight: 800; }
.orb-count { font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding: 3px 10px; border: 2px solid var(--green); border-radius: 99px; background: var(--paper); }
@keyframes pulse { 0% { transform: scale(.94); opacity: .55; } 100% { transform: scale(1.18); opacity: 0; } }

/* outer bubbles: organic shapes that slowly morph and hover, each with an icon and its starting price */
.orb-node { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); z-index: 3; background: none; border: none; padding: 0; font: inherit; color: var(--green); cursor: pointer; }
.orb-b {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center;
  width: calc(clamp(104px, min(11.6vw, 15.5vh), 160px) * var(--sz, 1)); aspect-ratio: 1; padding: 12px;
  background: var(--paper); border: 2px solid var(--green);
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  box-shadow: 5px 7px 0 rgba(30, 77, 43, .16);
  font-size: clamp(11.5px, min(1.05vw, 1.65vh), 14.5px); font-weight: 800; line-height: 1.12;
  animation: hover 5.5s ease-in-out infinite, blobMorph 14s ease-in-out infinite;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) * 2.3);
  transition: scale .35s cubic-bezier(.3, 1.5, .5, 1), rotate .35s ease, background .2s ease, box-shadow .3s ease;
}
.orb-node:nth-of-type(3n+2) .orb-b { background: var(--tint); }
.orb-ico { width: clamp(24px, 3.4vh, 30px); height: clamp(24px, 3.4vh, 30px); border-radius: 50%; background: var(--lime); border: 2px solid var(--green); display: grid; place-items: center; flex-shrink: 0; }
.orb-ico i { width: 16px; height: 16px; background: var(--green); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transform: translateZ(0); will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }   /* own layer: stops phones dropping the icon while scrolling */
.orb-price { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.orb-node:hover .orb-b, .orb-node:focus-visible .orb-b { scale: 1.09; rotate: -3deg; background: var(--lime); box-shadow: 8px 11px 0 rgba(30, 77, 43, .22); }
.orb-node:hover .orb-ico, .orb-node:focus-visible .orb-ico { background: var(--paper); }
.orb-node.on .orb-b { background: var(--lime); border-width: 3px; scale: 1.06; }
.orb-node:focus-visible { outline: none; }
.orb-node:focus-visible .orb-b { outline: 3px solid var(--green); outline-offset: 5px; }
@keyframes hover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -11px; } }
html.js .orb-node { opacity: 0; }
html.js .in .orb-node { opacity: 1; transition: opacity .5s ease calc(var(--i, 0) * .07s + .45s); }
html.js .orb-lines { opacity: 0; transition: opacity .8s ease .4s; }
html.js .in .orb-lines { opacity: 1; }

/* first tap: the bubble grows into a small card with the price */
.orb-pop { position: absolute; z-index: 6; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 270px; transform: translate(-50%, -50%); background: var(--paper); border: 3px solid var(--green); border-radius: 26px 26px 26px 8px; padding: 20px 20px 18px; box-shadow: 0 22px 44px rgba(30, 77, 43, .3); text-align: left; animation: popIn .38s cubic-bezier(.3, 1.4, .5, 1) both; }
.orb-pop[hidden] { display: none; }
.orb-pop h4 { font-size: 20px; line-height: 1.15; margin-bottom: 10px; padding-right: 26px; }
.orb-pop .op-price { font-size: 30px; font-weight: 800; line-height: 1.05; margin-bottom: 8px; }
.orb-pop p { font-size: 14px; line-height: 1.45; color: var(--text); margin-bottom: 14px; }
.orb-pop .op-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--green); background: var(--paper); color: var(--green); font-size: 14px; font-weight: 800; cursor: pointer; }
.orb-pop .op-x:hover { background: var(--lime); }
@keyframes popIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.45); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* second tap: a full panel opens inside the section */
.orb-detail { display: none; }
.orb.open .orb-map { display: none; }
.orb.open .orb-detail { display: block; animation: panelIn .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes panelIn { from { opacity: 0; clip-path: circle(8% at 50% 40%); transform: scale(.96); } to { opacity: 1; clip-path: circle(150% at 50% 40%); transform: none; } }
.od { background: var(--paper); border: 2px solid var(--green); border-radius: 24px; padding: 30px clamp(22px, 4vw, 48px) 40px; box-shadow: 0 24px 44px rgba(30, 77, 43, .22); }
.orb-video .od { background: var(--paper); }
.od-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.od-back { display: inline-flex; align-items: center; gap: 10px; background: none; border: 2px solid var(--green); border-radius: 99px; padding: 10px 18px 10px 14px; font: inherit; font-weight: 800; font-size: 14px; color: var(--green); cursor: pointer; transition: background .2s ease; }
.od-back:hover { background: var(--lime); }
.od-crumb { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.od-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.od-grid.solo { grid-template-columns: 1fr 1fr; }
.od-grid.solo .od-info-b > .od-sub:first-child { margin-top: 6px; }

/* example work gallery: every image shown whole on a soft backing */
.od-gallery { min-width: 0; }
.og-stage { position: relative; border: 2px solid var(--green); border-radius: 18px; overflow: hidden; background: linear-gradient(rgba(30, 77, 43, .06), rgba(30, 77, 43, .06)), var(--paper); outline: none; }
.og-stage:focus-visible { box-shadow: 0 0 0 4px var(--lime); }
.og-track { display: flex; height: clamp(280px, 54vh, 580px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; overflow-anchor: none; scrollbar-width: none; }
.og-track::-webkit-scrollbar { display: none; }
.og-slide { flex: 0 0 100%; height: 100%; margin: 0; padding: clamp(14px, 2.4vh, 24px); scroll-snap-align: center; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; }
.og-slide img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; box-shadow: 0 12px 28px rgba(30, 77, 43, .2); user-select: none; }
.og-arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 2px solid var(--green); background: var(--paper); color: var(--green); font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; transition: background .2s ease, opacity .2s ease; }
.og-arrow:hover { background: var(--lime); }
.og-arrow:disabled { opacity: 0; pointer-events: none; }
.og-prev { left: 12px; }
.og-next { right: 12px; }
.og-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 12px 2px 10px; }
.og-cap { font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--text); }
.og-cap b { font-weight: 800; color: var(--green); margin-right: 8px; }
.og-count { font-size: 12px; font-weight: 800; letter-spacing: .16em; white-space: nowrap; }
.og-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.og-thumbs::-webkit-scrollbar { display: none; }
.og-thumb { flex: 0 0 auto; width: 58px; height: 58px; padding: 0; border: 2px solid rgba(30, 77, 43, .3); border-radius: 10px; overflow: hidden; background: var(--paper); cursor: pointer; opacity: .6; transition: opacity .2s ease, box-shadow .2s ease; }
.og-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.og-thumb:hover { opacity: 1; }
.og-thumb.on { opacity: 1; border-color: var(--green); box-shadow: 0 0 0 3px var(--lime); }
@media (hover: none) { .og-arrow { display: none; } }   /* phones and tablets: swipe instead */
.od-gallery.single .og-arrow, .od-gallery.single .og-thumbs, .od-gallery.single .og-count { display: none; }
.od-info h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.05; margin: 4px 0 16px; }
.od-price { display: inline-block; background: var(--lime); border: 2px solid var(--green); border-radius: 16px; padding: 12px 18px; margin-bottom: 18px; }
.od-price .op-price { display: block; font-size: 36px; font-weight: 800; line-height: 1.05; }
.od-long { font-size: 16px; line-height: 1.6; color: var(--text); margin-bottom: 20px; }
.od-sub { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin: 18px 0 8px; }
.od-opts { list-style: none; border-top: 2px dotted rgba(30, 77, 43, .4); margin-bottom: 6px; }
.od-opts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 2px dotted rgba(30, 77, 43, .4); font-size: 15px; font-weight: 600; }
.od-opts li b { font-weight: 800; white-space: nowrap; }
.od-inc { list-style: none; margin-bottom: 24px; }
.od-inc li { position: relative; padding: 7px 0 7px 32px; font-size: 15px; font-weight: 600; }
.od-inc li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: var(--lime); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.od-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   BANNER: "Let's turn static into motion".
   "motion." draws itself in, then as you scroll each word stretches vertically and fades.
   script.js sets --sw (stretch) and --fw (fade) on each word, and --s and --f on the banner, each 0 to 1.
   ========================================================= */
.morph { position: relative; z-index: 1; height: 280vh; --s: 0; --f: 0; }
.morph-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; background: var(--paper); }
.morph-bg { position: absolute; inset: 0; background: var(--lime); clip-path: inset(calc(50% - 50% * var(--f)) 0); }
.morph-wrap { position: relative; z-index: 1; text-align: center; padding: 0 5vw; }
.morph-label, .morph-hint { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; opacity: calc(1 - var(--s)); }
.morph-label { margin-bottom: 22px; }
.morph-hint { margin-top: 28px; }
.morph-text { font-size: clamp(44px, min(8.4vw, 13vh), 140px); line-height: 1; font-weight: 800; letter-spacing: -.035em; max-width: 11em; margin: 0 auto; }
.mw {
  display: inline-block; will-change: transform, opacity;
  transform-origin: var(--og, 50% 50%);
  transform: scaleY(calc(1 + var(--sw, 0) * 3.4)) scaleX(calc(1 - var(--sw, 0) * .08));
  opacity: calc(1 - var(--fw, 0));
}
.morph-text .st { color: transparent; -webkit-text-stroke: 2px var(--green); animation: jitter .32s steps(2) infinite; }
@keyframes jitter { 0% { translate: 0 0; } 50% { translate: 1.5px -1px; } 100% { translate: -1px 1px; } }

/* "motion." is redrawn as outlines that trace themselves in, letter by letter, then fill */
.mo-svg { display: inline-block; overflow: visible; }
.mo-svg text { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif; font-weight: 800; font-size: 100px; }
.ml { fill: var(--green); fill-opacity: 0; stroke: var(--green); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; }
.mo-sw { fill: none; stroke: var(--lime); stroke-width: 16; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.morph.draw-old .ml { animation: strokeIn 1.3s cubic-bezier(.6, 0, .3, 1) forwards, fillIn .6s ease forwards; animation-delay: calc(var(--j) * .12s + .1s), calc(var(--j) * .12s + 1.05s); }
.morph.draw-old .mo-sw { animation: strokeIn .8s cubic-bezier(.6, 0, .3, 1) 1.5s forwards; }
@keyframes strokeIn { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill: rgba(30, 77, 43, 1); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   BRANDS IN THE WILD: a photo grid of concept brands in use
   ========================================================= */
.brands { position: relative; z-index: 1; background: var(--paper); padding: 150px 4vw 60px; }
.br-wrap { max-width: 1240px; margin: 0 auto; }
.br-head { max-width: 720px; margin-left: 0; margin-bottom: clamp(26px, 4vh, 44px); }
.br-head h2 { font-size: clamp(30px, min(4vw, 6vh), 56px); }
.br-note { font-size: 16px; line-height: 1.55; color: var(--text); max-width: 52ch; }
/* masonry: every photo shown whole at its own shape, no boxes or labels */
.br-grid { columns: 3; column-gap: 18px; }
.br-img { display: block; width: 100%; height: auto; margin: 0 0 18px; break-inside: avoid; border-radius: 16px; box-shadow: 0 18px 36px -20px rgba(30, 77, 43, .45); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease; }
.br-img:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 26px 44px -20px rgba(30, 77, 43, .5); }

/* a full width photo with no frame, gently zooming as it passes */
.bleed { position: relative; z-index: 1; overflow: hidden; line-height: 0; background: var(--paper); }
.bleed-img { width: 100%; height: auto; display: block; transform: scale(calc(1.12 - var(--bz, 0) * .12)); transform-origin: 50% 50%; will-change: transform; }

/* keep the people in frame when a wide photo is cropped */
.polaroid img[src*="markhouse-car"] { object-position: 50% 35%; }
.torn img[src*="lifestyle-sofa"] { object-position: 70% 50%; }
.af-photo .torn img { object-position: 50% 40%; }

/* =========================================================
   LANDING: the first screen after the cover. No page transition; the words animate in.
   script.js adds .in to #hero as the cover opens.
   ========================================================= */
.land { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 100px 5vw 70px; background: var(--lime); overflow: hidden; text-align: center; }
.land-blob { position: absolute; z-index: 0; aspect-ratio: 1; border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; animation: blobMorph 18s ease-in-out infinite, drift 24s ease-in-out infinite; pointer-events: none; }
.lb1 { width: 46vw; left: -14vw; top: -14vh; background: rgba(247, 246, 241, .45); }
.lb2 { width: 38vw; right: -12vw; bottom: -16vh; background: rgba(235, 247, 202, .8); animation-delay: -7s, -11s; }
.land-inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; }
.land-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 3vh, 30px); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.land-kicker span { background: var(--green); color: var(--lime); padding: 5px 12px; border-radius: 99px; letter-spacing: .16em; }
.land-h { margin: 0 auto; }
.land-h .lw { display: inline-block; }
.land-sub { max-width: 44ch; margin: clamp(18px, 3.4vh, 32px) auto clamp(20px, 3.6vh, 32px); font-size: clamp(16px, 2.3vh, 20px); line-height: 1.5; color: var(--text); }
.land-cta { justify-content: center; }
.land-hint { position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; animation: hintBob 1.8s ease-in-out infinite; }
@keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.land-photo { position: absolute; z-index: 1; width: clamp(110px, 12vw, 200px); padding: 6px 6px 22px; background: var(--paper); border: 2px solid var(--green); box-shadow: 0 14px 28px rgba(30, 77, 43, .3); transform: rotate(var(--r)); }
.land-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.land-photo .tape { left: 30%; }
.lp-1 { top: 15%; right: 6%; animation: photoFloat 7s ease-in-out infinite; }
.lp-2 { bottom: 12%; left: 6%; animation: photoFloat 8s ease-in-out -3s infinite; }
@keyframes photoFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.land .deco { opacity: .95; }
.land .di-1 { top: 13%; left: 8%; }
.land .di-2 { bottom: 12%; right: 9%; }

/* the entrance: words rise, "sh*t logo" stamps down, "competitors" draws across, "look good" gets underlined */
html.js .land:not(.in) .lw { opacity: 0; transform: translateY(.5em) rotate(5deg); }
html.js .land .lw { transition: opacity .45s ease var(--d), transform .7s cubic-bezier(.2, 1.4, .4, 1) var(--d); }
html.js .land:not(.in) .kw-box { opacity: 0; transform: scale(2.4) rotate(-14deg); }
html.js .land .kw-box { transition: opacity .15s ease .38s, transform .5s cubic-bezier(.3, 1.7, .5, 1) .38s; }
.land.in .kw-box { animation: kwWiggle 5s ease-in-out 3.2s infinite; }
@keyframes kwWiggle { 0%, 82%, 100% { rotate: 0deg; } 86% { rotate: -4deg; } 90% { rotate: 3deg; } 94% { rotate: -1.5deg; } }
html.js .land:not(.in) .kw-out { clip-path: inset(-.2em 100% -.3em -.1em); }
html.js .land .kw-out { clip-path: inset(-.2em -.1em -.3em -.1em); transition: clip-path 1s cubic-bezier(.6, 0, .3, 1) 1s; }
html.js .land:not(.in) .kw-line { background-size: 0% .1em; }
html.js .land .kw-line { transition: background-size .7s cubic-bezier(.6, 0, .3, 1) 1.5s; }
html.js .land:not(.in) .land-kicker, html.js .land:not(.in) .land-sub, html.js .land:not(.in) .land-cta, html.js .land:not(.in) .land-hint { opacity: 0; transform: translateY(16px); }
html.js .land .land-kicker { transition: opacity .5s ease, transform .6s ease; }
html.js .land .land-sub { transition: opacity .6s ease 1.9s, transform .7s ease 1.9s; }
html.js .land .land-cta { transition: opacity .6s ease 2.05s, transform .7s ease 2.05s; }
html.js .land .land-hint { transition: opacity .6s ease 2.6s; }
html.js .land:not(.in) .land-photo { opacity: 0; transform: rotate(calc(var(--r) * 3)) scale(.5); }
html.js .land .land-photo { transition: opacity .4s ease 1.2s, transform .8s cubic-bezier(.2, 1.4, .4, 1) 1.2s; }
html.js .land .lp-2 { transition-delay: 1.45s; }
html.js .land:not(.in) .deco { opacity: 0; }
html.js .land .deco { transition: opacity .8s ease 2.2s; }
html.calm .land *, html.show-all .land * { transition: none !important; }
html.calm .land *, html.calm .land { animation: none !important; }
html.show-all .land .lw, html.show-all .land .kw-box, html.show-all .land-photo, html.show-all .land-sub, html.show-all .land-cta, html.show-all .land-kicker { opacity: 1; }

/* about: the closing line of the merged Why section */
.af-quote { margin-top: 8px; padding-left: 18px; border-left: 4px solid var(--lime); max-width: 40ch; }

/* case study: the before and after slider sits under the film's controls */
.mk-before { margin-top: clamp(14px, 2.4vh, 24px); padding-top: clamp(12px, 2vh, 20px); border-top: 2px dotted rgba(30, 77, 43, .35); }
.mk-sub { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.mk-before .compare { height: clamp(140px, 21vh, 220px); }
.mk-before .fine { margin-top: 8px; }

/* =========================================================
   SERVICES AND PRICING: two packages, then Design and Video lists side by side
   ========================================================= */
.svc { position: relative; z-index: 1; background: var(--paper); padding: 110px 4vw 100px; }
.svc-wrap { max-width: 1240px; margin: 0 auto; }
.svc-head { max-width: 780px; margin-bottom: clamp(30px, 4.5vh, 46px); }
.svc-head h2 { font-size: clamp(30px, min(4vw, 6vh), 56px); }
.svc-note { font-size: 16px; line-height: 1.55; color: var(--text); }
.svc-note a { font-weight: 800; }
.svc .pk { margin-top: 0; }
.svc-sub { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: clamp(50px, 8vh, 84px) 0 22px; padding-top: 24px; border-top: 2px solid var(--green); }
.svc-sub h3 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.02em; }
.svc-sub p { font-size: 15px; color: var(--text); }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.6vw, 34px); align-items: start; }
.svc-col { background: #FFFFFF; border: 2px solid var(--green); border-radius: 22px; padding: 22px 18px 12px; box-shadow: 6px 8px 0 rgba(30, 77, 43, .14); }
.svc-col-video { background: var(--green); color: var(--paper); }
.svc-col-head { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 14px; border-bottom: 2px solid currentColor; }
.svc-col-head h4 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.svc-count { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border: 2px solid currentColor; border-radius: 99px; }
.svc-col-video .svc-count { color: var(--lime); }
.svc-item { display: grid; grid-template-columns: 38px 1fr auto 16px; align-items: center; gap: 14px; width: 100%; padding: 14px 10px; background: none; border: none; border-bottom: 1.5px dashed rgba(30, 77, 43, .22); border-radius: 12px; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease, transform .25s ease; }
.svc-item:last-child { border-bottom-color: transparent; }
.svc-col-video .svc-item { border-bottom-color: rgba(247, 246, 241, .2); }
.svc-item:hover, .svc-item:focus-visible { background: var(--lime); color: var(--green); transform: translateX(4px); outline: none; }
.svc-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--lime); border: 2px solid var(--green); display: grid; place-items: center; }
.svc-col-video .svc-ico { border-color: var(--lime); }
.svc-ico i { width: 18px; height: 18px; background: var(--green); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transform: translateZ(0); }
.svc-txt { min-width: 0; }
.svc-txt b { display: block; font-size: 16px; line-height: 1.25; }
.svc-txt span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; opacity: .72; }
.svc-price { text-align: right; white-space: nowrap; }
.svc-price small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.svc-price b { font-size: 18px; font-weight: 800; }
.svc-arrow { font-weight: 800; transition: transform .2s ease; }
.svc-item:hover .svc-arrow { transform: translateX(4px); }
html.js .svc-item { opacity: 0; }
html.js .in .svc-item, html.show-all .svc-item, html.calm .svc-item { opacity: 1; animation: svcIn .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--n) * .05s + .35s); }
html.calm .svc-item { animation: none; }
@keyframes svcIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* core service tags and the two column lists */
.pk-label { margin-bottom: 26px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.swtab { letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.swtab-hi { background: var(--lime); color: var(--green); border: 2px solid var(--green); border-bottom: none; }
.svc-list-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
.svc-list-2 .svc-item:nth-last-child(2):nth-child(odd) { border-bottom-color: transparent; }
.svc-col-video .svc-list-2 .svc-item:last-child, .svc-col-video .svc-list-2 .svc-item:nth-last-child(2):nth-child(odd) { border-bottom-color: transparent; }
.vid-prices { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 0 110px; }
.vid-sub { margin-top: 0; }

/* the details pop-up */
.svc-modal { position: fixed; inset: 0; z-index: 880; display: grid; place-items: center; padding: 20px; }
.svc-modal[hidden] { display: none; }
.svc-backdrop { position: absolute; inset: 0; background: rgba(30, 77, 43, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.svc-card { position: relative; width: min(1140px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; overscroll-behavior: contain; border-radius: 26px; opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .3s ease, transform .45s cubic-bezier(.2, .9, .2, 1); }
.svc-card .od { box-shadow: none; }
.svc-modal.open .svc-backdrop { opacity: 1; }
.svc-modal.open .svc-card { opacity: 1; transform: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot { position: relative; z-index: 1; background: var(--paper); border-top: 2px solid var(--green); padding: clamp(50px, 8vh, 90px) 5vw 26px; overflow: hidden; }
.foot-grid { max-width: 1240px; margin: 0 auto clamp(30px, 6vh, 60px); display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 40px; }
.foot .label { margin-bottom: 14px; }
.foot-big { display: inline; font-size: clamp(24px, 3vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; text-decoration: none; background-image: linear-gradient(transparent 60%, var(--lime) 60%); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size .4s ease; }
.foot-big:hover { background-size: 100% 100%; }
.foot-ig { display: flex; align-items: center; gap: 10px; width: max-content; margin-top: 18px; font-size: 18px; font-weight: 700; text-decoration: none; }
.foot-ig:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ig-ico { flex: 0 0 auto; width: 26px; height: 26px; }
.foot-place { display: block; margin-top: 12px; font-size: 14px; opacity: .7; }
.foot-p { max-width: 30ch; margin-bottom: 16px; font-size: 15px; line-height: 1.5; color: var(--text); }
.foot-links a { display: block; width: max-content; padding: 4px 0; font-weight: 700; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.foot-base { max-width: 1240px; margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

/* ===== VIDEO EDITING ===== */
.vid { position: relative; z-index: 2; margin-top: -60vh; background: var(--lime); padding: 0 6vw; overflow: hidden; --vx: 0; }
.vid-word { position: absolute; left: 0; top: 40px; z-index: 0; white-space: nowrap; pointer-events: none; font-size: clamp(140px, 24vw, 380px); line-height: .85; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(30, 77, 43, .14); transform: translateX(calc(var(--vx) * 1px)); }
.vid-grid { position: relative; z-index: 1; min-height: 100vh; padding: 110px 0 80px; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 5vw; align-items: center; }
.vid .hl { background-image: linear-gradient(transparent 58%, var(--paper) 58%); }

/* editing timeline with a moving playhead */
.tl { margin: 4px 0 28px; max-width: 470px; }
.tl-track { position: relative; height: 58px; border: 2px solid var(--green); border-radius: 14px; background: var(--paper); overflow: hidden; }
.tl-clip { position: absolute; top: 9px; bottom: 9px; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; border: 2px solid var(--green); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tl-clip.c1 { left: 2%; width: 18%; background: var(--green); color: var(--lime); }
.tl-clip.c2 { left: 22%; width: 30%; background: var(--lime); }
.tl-clip.c3 { left: 54%; width: 22%; background: var(--tint); border-style: dashed; }
.tl-clip.c4 { left: 78%; width: 20%; background: var(--lime); }
.tl-head { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--green); animation: playhead 7s linear infinite; }
.tl-head::before { content: ""; position: absolute; top: -1px; left: -6px; border: 7px solid transparent; border-top: 9px solid var(--green); }
@keyframes playhead { from { left: 0; } to { left: 100%; } }
.tl-time { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; opacity: .7; }

/* reel stack: two stills fanned out behind the playing reel, plus stickers */
.reel-wrap { position: relative; }
.reel-back { position: absolute; z-index: 0; width: 46%; aspect-ratio: 4 / 5; padding: 8px 8px 28px; background: var(--paper); border: 2px solid var(--green); box-shadow: 0 16px 30px rgba(30, 77, 43, .22); }
.reel-back img { width: 100%; height: 100%; object-fit: cover; }
.rbk1 { left: -6%; top: -16%; transform: rotate(-9deg); }
.rbk2 { right: -4%; bottom: -18%; transform: rotate(8deg); }
.reel-wrap .reel { z-index: 1; }
.rec { position: absolute; z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: .16em; padding: 6px 12px; border-radius: 99px; border: 2px solid var(--green); background: var(--paper); }
.rec { top: -14px; right: 8%; display: inline-flex; align-items: center; gap: 7px; }
.rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vid h2 { font-size: clamp(30px, min(4vw, 6.6vh), 56px); }
.vid .p { margin-bottom: 26px; }
.orb-video { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 92px 0 26px; }
.orb-video .orb-centre { background: var(--paper); }
.orb-video .orb-b { background: var(--paper); }
.orb-video .orb-node:nth-of-type(3n+2) .orb-b { background: var(--tint); }
.orb-video .orb-node:hover .orb-b, .orb-video .orb-node.on .orb-b { background: var(--green); color: var(--lime); }
.orb-video .orb-node:hover .orb-ico, .orb-video .orb-node.on .orb-ico { background: var(--lime); }
.vid .orb-note { color: var(--green); }
.reel { position: relative; background: var(--paper); border: 2px solid var(--green); border-radius: 20px; padding: 38px 22px 22px; transform: rotate(-1.5deg); box-shadow: 0 24px 44px rgba(30, 77, 43, .28); transition: transform .4s ease; }
.reel:hover { transform: rotate(0deg); }
.reel::before { content: ""; position: absolute; left: 20px; right: 20px; top: 13px; height: 12px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--green) 0 14px, transparent 14px 28px); opacity: .85; }
.reel-screen { position: relative; aspect-ratio: 16 / 9; border: 2px solid var(--green); border-radius: 10px; overflow: hidden; background: var(--green); }
.reel-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-tag { position: absolute; left: 12px; top: 12px; background: var(--lime); color: var(--green); border: 2px solid var(--green); border-radius: 99px; padding: 4px 12px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.reel-sound { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--green); background: var(--paper); font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.reel-sound:hover { transform: scale(1.1); }
.reel figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.reel figcaption b { font-size: 20px; }
.reel figcaption span { font-size: 14px; opacity: .8; }
.reel-miss { display: none; margin-top: 10px; font-size: 13px; font-weight: 700; }
.reel.missing .reel-miss { display: block; }

/* ===== CONFETTI: one full screen canvas, drawn by script.js ===== */
.confetti-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9998; pointer-events: none; display: none; }

/* ===== FORMS: status line and spam trap ===== */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; margin-top: 12px; font-size: 14px; font-weight: 700; }
.form-msg.bad { color: #B23A3A; }

/* ===== CAREERS: application overlay ===== */
.apply { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px; }
.apply[hidden] { display: none; }
.apply-backdrop { position: absolute; inset: 0; background: rgba(30, 77, 43, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease; }
.apply-card { position: relative; width: min(640px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border: 2px solid var(--green); border-radius: 24px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 70px rgba(30, 77, 43, .35); opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .2, 1); }
.apply.open .apply-backdrop { opacity: 1; }
.apply.open .apply-card { opacity: 1; transform: none; }
.apply-card h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; }
.apply-card .hl { background-size: 100% 100%; }
.apply-intro { font-size: 15px; line-height: 1.5; color: var(--text); margin-bottom: 22px; }
.apply-x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--green); background: var(--paper); color: var(--green); font: inherit; font-weight: 800; cursor: pointer; }
.apply-x:hover { background: var(--lime); }
.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.af-field { display: block; margin-bottom: 14px; }
.af-field span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.af-field input, .af-field select, .af-field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--green); background: #FFFFFF; border: 2px solid rgba(30, 77, 43, .25); border-radius: 12px; padding: 11px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.af-field textarea { resize: vertical; }
.af-field input:focus, .af-field select:focus, .af-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(213, 250, 113, .6); }
.af-file { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin: 4px 0 20px; border: 2px dashed rgba(30, 77, 43, .4); border-radius: 14px; background: var(--tint); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.af-file:hover, .af-file.over { background: var(--lime); border-color: var(--green); }
.af-file.has { border-style: solid; border-color: var(--green); }
.af-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.af-file-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.af-file-txt { display: flex; flex-direction: column; min-width: 0; }
.af-file-txt b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-file-txt em { font-style: normal; font-size: 13px; opacity: .7; }
@media (max-width: 600px) { .af-row { grid-template-columns: 1fr; gap: 0; } }

/* ===== BACK COVER ===== */
.back { padding: 50px 2vw 56px; text-align: center; overflow: hidden; }
.back-tag { margin-top: 20px; font-weight: 700; font-size: 18px; letter-spacing: .06em; }

/* ===== SAFETY NET ===== */
html.show-all .page, html.show-all .rv, html.show-all .orb-node, html.show-all .orb-lines { opacity: 1 !important; transform: none !important; }
html.show-all .orb-node { transform: translate(-50%, -50%) !important; }
html.show-all .inc li::before { transform: scale(1) !important; }

/* ===== CALM MODE: only when the computer asks for reduced motion ===== */
html.calm .cover { display: none; }
html.calm .ticker-track, html.calm .deco, html.calm .af-blob, html.calm .bgblob, html.calm .bgicon, html.calm .orb-b, html.calm .orb-centre, html.calm .orb-centre::before, html.calm .tl-head, html.calm .rec::before, html.calm .st, html.calm .ml, html.calm .mo-sw { animation: none; }
html.calm .spread .page, html.calm .rv { opacity: 1; transform: none; transition: none; }
html.calm .orb-node, html.calm .orb-lines { opacity: 1; transition: none; }
html.calm .inc li::before { transform: scale(1); transition: none; }
html.calm .orb-pop, html.calm .orb.open .orb-detail { animation: none; }
html.calm .morph-text .mo { background: linear-gradient(transparent 58%, var(--lime) 58%); }
html.calm .hl { background-size: 100% 100%; transition: none; }

/* ===== FLAT LAYOUT (phones, small windows, calm mode): no pinning, plain stacked blocks ===== */
html.flat .sec, html.flat .about-full, html.flat .orb-sec, html.flat .vid-grid, html.flat .orb-video { min-height: 0; }
html.flat .sec { display: block; }
html.flat .vid-grid { padding: 40px 0 30px; }
html.flat .orb-video { padding: 60px 0 70px; }
html.flat .xp { height: auto; --p: 1; }
html.flat .xp-stick { position: relative; height: auto; padding: 24px 18px; overflow: visible; perspective: none; }
html.flat .xp-box { position: relative; left: auto; right: auto; top: auto; bottom: auto; border: 2px solid var(--green); border-radius: 20px; box-shadow: none; transform: none; }
html.flat .xp-content { position: relative; left: auto; top: auto; width: auto; transform: none; padding: 70px 24px 60px; }
html.flat .xp-grid { grid-template-columns: 1fr; gap: 28px; }
html.flat .xp-spine { display: none; }
html.flat .xp-run { opacity: .7; left: 24px; right: 24px; }
html.flat .xp-photo { display: none; }
html.flat .big { font-size: clamp(38px, 12vw, 72px); max-width: none; }
html.flat .xp-statement .xp-content { padding: 78px 16px 70px; }
html.flat .ring { display: none; }
/* the banner, logo wall and services band animate on phones too; only Reduce Motion (calm) lays them out flat */
html.calm .morph { height: auto; --s: 0; --f: 1; }
html.calm .vid { margin-top: 0; }
html.calm .mw { transform: none; opacity: 1; }
html.calm .morph-text .mo { background: linear-gradient(transparent 58%, var(--lime) 58%); }
html.calm .morph-stick { position: relative; height: auto; padding: 90px 0 30px; }
html.calm .morph-bg { clip-path: none; }
html.calm .morph-label, html.calm .morph-hint { opacity: 1; }
html.flat .morph-text { font-size: clamp(40px, 11vw, 80px); }
html.flat .about-full { padding: 110px 20px 70px; }
html.flat .af-grid { grid-template-columns: 1fr; gap: 36px; }
html.flat .bigband { padding: 34px 0 26px; }
html.calm .bigband { white-space: normal; padding: 40px 6vw; }
html.calm .bigband-track { display: flex; flex-wrap: wrap; gap: 6px 28px; transform: none !important; }
html.calm .bigband-track span { font-size: clamp(34px, 9vw, 64px); }
html.calm .gal { height: auto !important; --ge: 1; }
html.calm .gal-stick { position: relative; height: auto; padding: 80px 0 60px; }
html.calm .gal-bg { left: 0; right: 0; top: 0; bottom: 0; border-radius: 0; }
html.calm .gal-view { position: relative; inset: auto; opacity: 1; overflow-x: auto; -webkit-overflow-scrolling: touch; }
html.calm .gal-track { transform: none !important; padding: 0 6vw; }
html.calm .gal-bar { display: none; }
html.flat .logo-card { width: min(70vw, 52vh); max-width: 340px; }
html.flat .gal-intro { flex-basis: 78vw; }
html.flat .gal-end { flex-basis: 60vw; }
html.flat .gal-track { gap: 22px; padding: 0 7vw; }
/* phones: pinned sections use the visible screen height, so the browser bar never hides the bottom */
html.flat .gal-stick, html.flat .morph-stick { height: 100vh; height: 100svh; }

/* phones: small fixes so nothing sits on top of the text */
html.flat .run { gap: 14px; }
html.flat .run span:last-child { text-align: right; }
html.flat .af-mini { left: auto; right: -2%; bottom: -5%; width: 30%; }
html.flat .deco { width: 46px; height: 46px; opacity: .9; }
html.flat .di-1 { top: 16px; left: auto; right: 16px; }
html.flat .di-2 { display: none; }
/* packages: taller rows on phones so the tick circles never touch the dotted lines */
html.flat .inc li { padding: 10px 26px 10px 36px; font-size: 14.5px; line-height: 1.4; }
html.flat .inc li::before { width: 24px; height: 24px; margin-top: -12px; }
/* phones: leave room under each card so the wavy top of the next section never covers it */
html.flat .xp-stick { padding-bottom: 76px; }
html.flat .wave-top { height: 56px; top: -55px; }

html.flat .mark { min-height: 0; padding: 90px 18px 40px; }
html.flat .mark-grid { grid-template-columns: 1fr; gap: 24px; }
html.flat .mark-stage { width: 100%; max-width: 420px; min-width: 0; margin: 0 auto; }
html.flat .mk-strip { grid-template-columns: repeat(2, 1fr); }
html.flat .mark-word { display: none; }
html.calm .mark-word { animation: none; }
html.calm .mark *, html.calm .mark { transition: none !important; animation: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1250px) { .top-links a { padding: 6px 10px; font-size: 14px; } }
@media (max-width: 1100px) { .tabs { display: none; } }
@media (max-width: 900px) {
  .top-links, .cta { display: none; }
  .burger { display: block; }
  .wm-nav { width: clamp(130px, 38vw, 190px); }
  .bgicon { display: none; }
  .sec { padding: 100px 18px 30px; }
  .spread { grid-template-columns: 1fr; gap: 16px; }
  .page, .page-l, .page-r, .page-solo { border: 2px solid var(--green); border-radius: 20px; padding: 60px 24px 56px; min-height: 0; }
  .page-l::after, .page-r::before { display: none; }
  .run { left: 24px; right: 24px; }
  .page-l .folio { left: 24px; }
  .page-r .folio { right: 24px; }
  html.js .spread .page-l, html.js .spread .page-r { transform: translateY(30px); }
  .swatches { height: 150px; }
  .hero-row { flex-wrap: wrap; }
  .af-mini { left: -4%; }
  .care-mini { position: relative; right: auto; bottom: auto; margin-top: 24px; margin-left: auto; }
  .cover-face::before { width: 10vw; }
  .orb-sec { padding: 110px 20px 70px; }
  .vid { padding: 0 20px; }
  .vid-grid { grid-template-columns: 1fr; gap: 60px; }
  .reel-back { width: 40%; }
  .pk { grid-template-columns: 1fr; gap: 34px; }
  .pkc { padding: 36px 22px 22px; }
  .pk-head { flex-direction: column; }
  .pk-side { align-items: flex-start; text-align: left; }
  .pk-help { position: static; margin: 0 0 22px; }

  /* bubbles keep the same orbit as on a computer, stretched into a tall oval that fits a phone */
  .orb-stage { width: 100%; aspect-ratio: 3 / 4.9; }
  .orb-video .orb-stage { aspect-ratio: 3 / 4.3; }   /* 7 video services need less room than 9 design ones */
  .orb-node { left: calc((50 + (var(--x) - 50) * .9) * 1%); }
  .orb-lines { transform: scaleX(.9); }
  .orb-centre { width: clamp(118px, 34vw, 170px); padding: 14px; gap: 5px; }
  .orb-centre b { font-size: clamp(18px, 5.4vw, 24px); }
  .orb-tip { font-size: 11px; }
  .orb-count { font-size: 9px; padding: 2px 8px; }
  .orb-b { width: calc(clamp(80px, 22.5vw, 116px) * var(--sz, 1)); padding: 8px; gap: 3px; font-size: clamp(9.5px, 2.7vw, 12px); }
  .orb-ico { width: 22px; height: 22px; }
  .orb-ico i { width: 12px; height: 12px; }
  .orb-price { font-size: 8.5px; letter-spacing: .04em; }
  .orb-pop { position: fixed; left: 50%; top: 50%; width: min(88vw, 340px); z-index: 400; }
  .od { padding: 22px 18px 30px; }
  .od-grid, .od-grid.solo { grid-template-columns: 1fr; }
  .og-track { height: clamp(260px, 62vw, 460px); }
  .od-top { flex-wrap: wrap; }
  .land { padding: 150px 18px 64px; }
  .land-photo { width: 78px; padding: 4px 4px 12px; }
  .land-photo .tape { width: 34px; height: 14px; top: -6px; }
  .lp-1 { top: 64px; right: 14px; }
  .lp-2 { top: 72px; bottom: auto; left: 14px; }
  .land .deco { display: none; }
  .land-kicker { flex-direction: column; gap: 8px; }
  .svc { padding: 100px 18px 70px; }
  .svc-cols { grid-template-columns: 1fr; }
  .svc-list-2 { grid-template-columns: 1fr; }
  .svc-list-2 .svc-item:nth-last-child(2):nth-child(odd) { border-bottom-color: rgba(30, 77, 43, .22); }
  .vid-prices { padding-bottom: 70px; }
  .svc-col { padding: 18px 12px 8px; }
  .svc-item { grid-template-columns: 34px 1fr auto; gap: 10px; padding: 12px 6px; }
  .svc-ico { width: 34px; height: 34px; }
  .svc-arrow { display: none; }
  .svc-modal { padding: 10px; }
  .svc-card { max-height: calc(100vh - 20px); border-radius: 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .brands { padding: 110px 18px 50px; }
  .br-grid { columns: 2; column-gap: 10px; }
  .br-img { margin-bottom: 10px; border-radius: 12px; }
}
@media (max-height: 800px) { .polas { display: none; } }
@media (max-height: 760px) {
  .xp-contact h2 { font-size: clamp(22px, 2.5vw, 34px); margin-bottom: 12px; }
  .xp-contact .p { font-size: 15px; }
  .sent { margin-bottom: 10px; }
}

/* =========================================================
   SERVICE CARDS: each service is its own card flap, tucked under the one above
   ========================================================= */
.svc-list { padding-top: 14px; }
.svc-list-2 { column-gap: 22px; row-gap: 0; }
.svc-list .svc-item,
.svc-list-2 .svc-item:nth-last-child(2):nth-child(odd),
.svc-col-video .svc-list-2 .svc-item:last-child,
.svc-col-video .svc-list-2 .svc-item:nth-last-child(2):nth-child(odd) {
  position: relative; z-index: calc(40 - var(--n, 0));
  margin-bottom: -14px; padding: 28px 16px 16px;           /* the top 14px sits under the card above, so the text is never covered */
  background: #FFFFFF; border: 2px solid var(--green); border-radius: 16px;
  box-shadow: 0 5px 0 rgba(30, 77, 43, .16);
}
.svc-list .svc-item:last-child { margin-bottom: 0; }
.svc-list-2 .svc-item:nth-last-child(2):nth-child(odd) { margin-bottom: 0; }
.svc-list .svc-item:hover, .svc-list .svc-item:focus-visible { background: var(--lime); box-shadow: 0 7px 0 rgba(30, 77, 43, .22); }
.svc-col-video .svc-list .svc-item,
.svc-col-video .svc-list-2 .svc-item:last-child,
.svc-col-video .svc-list-2 .svc-item:nth-last-child(2):nth-child(odd) { background: #245A33; border-color: rgba(213, 250, 113, .55); box-shadow: 0 5px 0 rgba(0, 0, 0, .18); }
.svc-col-video .svc-list .svc-item:hover, .svc-col-video .svc-list .svc-item:focus-visible { background: var(--lime); color: var(--green); border-color: var(--green); }
@media (max-width: 900px) {
  .svc-list-2 .svc-item:nth-last-child(2):nth-child(odd) { margin-bottom: -14px; }
  .svc-list .svc-item { padding: 26px 12px 14px; }
}

/* card flaps: only the bottom of each card is rounded, as if a longer card is tucked behind the one above */
.svc-list .svc-item, .svc-list .svc-item:hover, .svc-list .svc-item:focus-visible { border-radius: 0 0 16px 16px !important; }
.svc-list-2 .svc-item:nth-child(-n+2), .svc-list-2 .svc-item:nth-child(-n+2):hover { border-radius: 16px !important; }
/* the last card in each column sits fully inside the box */
.svc-list .svc-item:last-child,
.svc-col-video .svc-list .svc-item:last-child,
.svc-list-2 .svc-item:nth-last-child(2):nth-child(odd) { margin-bottom: 0 !important; }
.svc-col { padding-bottom: 22px; }
@media (max-width: 900px) {
  .svc-list-2 .svc-item:nth-child(2), .svc-list-2 .svc-item:nth-child(2):hover { border-radius: 0 0 16px 16px !important; }
  .svc-list-2 .svc-item:nth-last-child(2):nth-child(odd) { margin-bottom: -14px !important; }
  .svc-list .svc-item:last-child { margin-bottom: 0 !important; }
}
