/* Homepage v5, round 5 (30 Nov 2026): "I want it all." and the close, on the decks' moving silk (assets/js/v5-silk.js
   draws a canvas.silk-cv into each panel; until it does, or without WebGL, the same paper and washes in CSS).
   1. "I want it all." (.gn-all): the example shop's three cards in a row (Instagram post, Google and AI, website), a line
      of light running under them Social > Search & AI > website, each card playing as the light reaches it, ending on
      "New enquiry". Laid out in design pixels and scaled to the box (a column on phones).
   2. The close (.gn-close): the four phrases left; four tiles right, the picked one grows (grid tracks animate) and shows
      its caption on the picture.
   Ink type on the silk (#0B0B0C), the CTAs are black pills. Every class is gn- prefixed. */

.gn-all, .gn-close { --gn-io: cubic-bezier(.65, 0, .35, 1); --gn-out: cubic-bezier(.16, 1, .3, 1); --gn-ink: #0B0B0C;
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl, 30px); color: var(--gn-ink);
  /* the fallback under the silk: the decks' paper with the green and the violet wash */
  background: radial-gradient(42% 52% at 18% 26%, rgba(185,239,163,.75), rgba(185,239,163,0) 72%),
              radial-gradient(40% 50% at 84% 78%, rgba(190,160,240,.45), rgba(190,160,240,0) 72%), #F8F7FB; }
.silk-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; border-radius: inherit; }
.gn-all > :not(.silk-cv), .gn-close > :not(.silk-cv) { position: relative; z-index: 1; }

/* ================================================================ 1. I want it all. */
.gn-all { grid-column: 1 / -1; box-shadow: inset 0 0 0 1px rgba(11,11,12,.05), 0 30px 70px -56px rgba(14,22,40,.45); }
.gn-all-in { display: grid; gap: clamp(26px, 3vw, 40px); padding: clamp(36px, 4.4vw, 60px) clamp(22px, 4.4vw, 60px) clamp(28px, 3.2vw, 44px); }
.gn-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; }
.gn-hl { display: grid; gap: 14px; max-width: 640px; }
.gn-h { margin: 0; font: 700 clamp(42px, 4.8vw, 72px)/.98 var(--sans); letter-spacing: -.045em; color: var(--gn-ink); }
.gn-d { margin: 0; max-width: 30em; font: 400 clamp(16.5px, 1.25vw, 18.5px)/1.55 var(--sans); color: rgba(11,11,12,.62); }
.gn-cta { flex: none; background: var(--gn-ink); color: #fff; transition: transform .3s var(--gn-out), box-shadow .6s; }
.gn-cta:hover { box-shadow: 0 16px 34px -14px rgba(11,11,12,.55); }
.gn-all.gn-done .gn-cta { box-shadow: 0 0 0 6px rgba(185,239,163,.6), 0 18px 36px -16px rgba(46,158,80,.5); }

/* the stage, in design pixels, scaled to the box (assets/js/v5-green.js sets its size and --s) */
.gn-flow { position: relative; }
.gn-fs { position: absolute; left: 50%; top: 0; translate: -50% 0; scale: var(--s, 1); transform-origin: 50% 0; }
.gn-slot { position: absolute; left: 0; top: 0; translate: var(--x, 0) var(--y, 0); rotate: var(--r, 0deg);
  transition: translate .7s cubic-bezier(.3, 1.2, .42, 1), rotate .7s var(--gn-out), opacity .5s, scale .6s var(--gn-out); }
.gn-slot.gn-act { translate: var(--x, 0) calc(var(--y, 0) - 8px); }
.gn-slot.gn-up { translate: var(--x, 0) calc(var(--y, 0) - 14px); scale: 1.025; z-index: 5; }
.gn-all.gn-hov .gn-slot:not(.gn-up) { opacity: .45; }
.gn-all.gn-reset .gn-card { opacity: .55; }

/* the line of light */
.gn-trk { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.gn-t0 { fill: none; stroke: rgba(11,11,12,.1); stroke-width: 2; stroke-linecap: round; }
.gn-t1 { fill: none; stroke-width: 2.6; stroke-linecap: round; opacity: .9; }
.gn-t2 { fill: none; stroke-width: 4.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(185,239,163,.95)); }
.gn-hd { pointer-events: none; }
.gn-hc2 { fill: #fff; filter: drop-shadow(0 0 4px rgba(133,17,217,.7)); }
.gn-st { fill: none; stroke: rgba(11,11,12,.1); stroke-width: 2; stroke-linecap: round; transition: stroke .6s; }
.gn-st.on { stroke: url(#gn-tg); }
.gn-nd { opacity: 0; transition: opacity .6s; }
.gn-nd.on { opacity: 1; }
.gn-lab { position: absolute; margin: 0; translate: -50% 0; white-space: nowrap; font: 500 15px/1.2 var(--sans); letter-spacing: -.01em; color: rgba(11,11,12,.4); transition: color .5s; }
.gn-lab b { font-weight: 700; }
.gn-lab.on { color: var(--gn-ink); }
.gn-all.gn-col .gn-lab { translate: 0 0; font-size: 17px; }

/* the cards (the hero deck's, sized for a row) */
.gn-card { position: relative; overflow: hidden; border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 1px rgba(11,11,12,.06), 0 30px 56px -30px rgba(14,22,40,.4), 0 10px 22px -16px rgba(14,22,40,.18); transition: box-shadow .6s, opacity .5s; }
.gn-slot.gn-act .gn-card { box-shadow: 0 0 0 1.5px rgba(84,184,106,.55), 0 0 36px rgba(185,239,163,.55), 0 34px 60px -30px rgba(14,22,40,.45); }

/* Social: the Instagram post */
.gn-so { width: 230px; height: 316px; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif; color: #000; }
.gn-igh { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; }
.gn-av { flex: none; width: 24px; height: 24px; padding: 1.5px; border-radius: 50%; background: linear-gradient(45deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5); }
.gn-av img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #fff; }
.gn-ign { display: grid; gap: 1px; }
.gn-ign b { font: 600 10.5px/1.15 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
.gn-ign i { font-style: normal; font: 400 9px/1.2 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: #262626; }
.gn-more { margin-left: auto; width: 14px; height: 14px; color: #262626; }
.gn-igi { position: relative; height: 158px; overflow: hidden; }
.gn-igi img { width: 100%; height: 100%; object-fit: cover; }
.gn-big { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; translate: -50% -50%; color: #fff; opacity: 0; scale: .3; filter: drop-shadow(0 4px 14px rgba(0,0,0,.28)); }
.gn-big.pop { animation: gnPop 1.05s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes gnPop { 0% { opacity: 0; scale: .3; } 25% { opacity: 1; scale: 1.12; } 42% { scale: 1; } 78% { opacity: 1; } 100% { opacity: 0; scale: .92; } }
.gn-iga { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 10px; color: #262626; }
.gn-iga svg { width: 17px; height: 17px; }
.gn-iga .gn-sv { margin-left: auto; }
.gn-heart path { fill: none; stroke: currentColor; stroke-width: 1.9; transition: fill .25s, stroke .25s; }
.gn-heart.on path { fill: #ED4956; stroke: #ED4956; }
.gn-likes { margin: 0; padding: 0 10px; font: 600 10.5px/1.35 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.gn-cap { margin: 2px 0 0; padding: 0 10px; font: 400 9.8px/1.4 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: #262626; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-cap b, .gn-cm b { font-weight: 600; color: #000; margin-right: 3px; }
.gn-cm { display: grid; gap: 3px; padding: 5px 10px 0; }
.gn-cm p { margin: 0; font: 400 9.6px/1.3 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: #262626; opacity: 0; translate: 0 6px;
  transition: opacity .4s, translate .5s cubic-bezier(.3, 1.3, .5, 1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-cm p.on { opacity: 1; translate: 0 0; }

/* Search & AI: Google results, then the AI answer */
.gn-se { width: 350px; height: 262px; font-family: Arial, Helvetica, sans-serif; color: #202124; }
.gn-gq { position: absolute; left: 12px; right: 12px; top: 12px; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 11px; border-radius: 999px; background: #fff;
  box-shadow: 0 1px 6px rgba(32,33,36,.2); font: 400 12px/1 Arial, Helvetica, sans-serif; color: #202124; }
.gn-gl { flex: none; width: 15px; height: 15px; }
.gn-q { flex: 1; }
.gn-gs { flex: none; width: 14px; height: 14px; color: #4285F4; }
.gn-res { position: absolute; left: 12px; right: 12px; top: 54px; height: 148px; }
.gn-row { position: absolute; left: 0; right: 0; top: 0; height: 34px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 9px; row-gap: 1px;
  align-content: center; padding: 0 9px; border-radius: 9px; translate: 0 calc(var(--i, 0) * 37px); transition: translate .65s cubic-bezier(.3, 1.18, .42, 1), background .4s, box-shadow .4s; }
.gn-fav { grid-row: 1 / 3; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--fc); color: #fff; font: 700 10px/1 Arial, Helvetica, sans-serif; font-style: normal; }
.gn-rn { font: 400 9px/1.2 Arial, Helvetica, sans-serif; color: #4d5156; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-rl { grid-column: 2; font: 400 11.5px/1.2 Arial, Helvetica, sans-serif; color: #1a0dab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-rank { grid-column: 3; grid-row: 1 / 3; padding: 4px 7px; border-radius: 999px; background: #E7F4E1; color: #2E9E50; font: 700 9.5px/1 var(--sans); opacity: 0; scale: .6;
  transition: opacity .3s, scale .45s cubic-bezier(.3, 1.5, .5, 1); }
.gn-row.me { background: #F3FAEF; box-shadow: 0 0 0 1px rgba(84,184,106,.38); }
.gn-rank.on { opacity: 1; scale: 1; }
.gn-ai { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 46px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border-radius: 11px;
  background: linear-gradient(96deg, rgba(84,184,106,.1), rgba(133,17,217,.08)); }
.gn-aim { flex: none; display: flex; }
.gn-aim img { width: 21px; height: 21px; padding: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(11,11,12,.08); }
.gn-aim img + img { margin-left: -6px; }
.gn-ait { font: 400 10.8px/1.35 Arial, Helvetica, sans-serif; color: #202124; }
.gn-ait b { font-weight: 700; }
.gn-caret { display: inline-block; width: 1.5px; height: 11px; margin-left: 1px; vertical-align: -2px; background: #202124; }

/* the website: Your Brand in a browser, a visitor books */
.gn-we { width: 350px; height: 252px; font-family: var(--sans); color: #1d1b18; background: #FBF8F3; transition: box-shadow .6s, opacity .5s; }
.gn-we.gn-won { box-shadow: 0 0 0 2px rgba(84,184,106,.6), 0 0 46px rgba(185,239,163,.75), 0 34px 60px -30px rgba(14,22,40,.45); }
.gn-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; background: #F1EEE8; border-bottom: 1px solid rgba(29,27,24,.06); }
.gn-bar > i { width: 7px; height: 7px; border-radius: 50%; background: rgba(29,27,24,.16); }
.gn-url { flex: 1; height: 18px; margin-left: 8px; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 5px; font: 500 9.5px/1 var(--sans); color: rgba(29,27,24,.6); }
.gn-url svg { width: 8px; height: 8px; }
.gn-site { position: absolute; left: 0; right: 0; top: 28px; bottom: 0; padding: 11px 14px 14px; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 11px; }
.gn-nav { display: flex; align-items: center; gap: 12px; font: 500 9.5px/1 var(--sans); color: rgba(29,27,24,.68); }
.gn-nav b { margin-right: auto; font: 700 11px/1 var(--sans); letter-spacing: .16em; color: #1d1b18; }
.gn-nav b em { font-style: normal; color: #A0673B; }
.gn-book { font-style: normal; padding: 6px 9px; border-radius: 999px; background: #1d1b18; color: #fff; font: 600 9px/1 var(--sans); }
.gn-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; min-height: 0; }
.gn-hc { display: grid; align-content: center; justify-items: start; gap: 8px; }
.gn-hc h4 { margin: 0; font: 700 17px/1.04 var(--sans); letter-spacing: -.03em; color: #1d1b18; }
.gn-hc p { margin: 0; font: 400 10px/1.45 var(--sans); color: rgba(29,27,24,.64); }
.gn-ccta { position: relative; padding: 8px 12px; border-radius: 999px; background: #A0673B; color: #fff; font: 600 9.5px/1 var(--sans); transition: scale .18s; }
.gn-ccta.gn-press { scale: .93; }
.gn-hi { position: relative; min-height: 0; border-radius: 11px; overflow: hidden; }
.gn-hi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gn-speed { position: absolute; right: 7px; top: 7px; display: flex; align-items: center; gap: 5px; padding: 3px 9px 3px 3px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); }
.gn-speed svg { width: 22px; height: 22px; rotate: -90deg; }
.gn-speed .tr { fill: none; stroke: rgba(29,27,24,.1); stroke-width: 3.4; }
.gn-speed .pr { fill: none; stroke: #2E9E50; stroke-width: 3.4; stroke-linecap: round; }
.gn-speed span { display: grid; gap: 1px; }
.gn-speed b { font: 700 11px/1 var(--sans); color: #2E9E50; }
.gn-speed i { font-style: normal; font: 500 7.5px/1 var(--sans); color: rgba(29,27,24,.55); }
.gn-toast { position: absolute; z-index: 6; right: 12px; bottom: 12px; translate: 0 16px; display: flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border-radius: 12px; background: #fff; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(11,11,12,.05), 0 18px 34px -14px rgba(14,22,40,.5); opacity: 0; transition: opacity .45s, translate .7s cubic-bezier(.3, 1.35, .5, 1); }
.gn-toast.on { opacity: 1; translate: 0 0; }
.gn-tk { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #E7F4E1; color: #2E9E50; }
.gn-tk svg { width: 13px; height: 13px; }
.gn-toast b { display: block; font: 700 12px/1.15 var(--sans); color: #1d1b18; }
.gn-toast i { font-style: normal; font: 500 10px/1.25 var(--sans); color: rgba(29,27,24,.6); }
.gn-cur { position: absolute; z-index: 7; left: 0; top: 0; width: 16px; height: 16px; opacity: 0; translate: var(--cx, 330px) var(--cy, 230px);
  transition: translate 1s cubic-bezier(.45, 0, .2, 1), opacity .3s, scale .15s; pointer-events: none; }
.gn-cur.on { opacity: 1; }
.gn-cur.click { scale: .8; }
.gn-cur svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.28)); }

/* ================================================================ 2. The close */
.gn-close { margin-top: clamp(72px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(28px, 4vw, 56px);
  padding: clamp(36px, 4.4vw, 64px); min-height: clamp(560px, 46vw, 660px); text-align: left; }
.gn-cl-copy { align-self: center; display: grid; justify-items: start; padding: 0 0 0 clamp(0px, 1.4vw, 20px); }
.gn-ph-wrap { margin: 0; font: 700 clamp(40px, 4.9vw, 82px)/.97 var(--sans); letter-spacing: -.05em; color: var(--gn-ink); }
.gn-ph { display: block; width: max-content; max-width: 100%; color: var(--gn-ink); cursor: default; transition: color .45s, translate .5s var(--gn-out); }
.gn-close.gn-act .gn-ph:not(.gn-on) { color: rgba(11,11,12,.22); }
.gn-close.gn-act .gn-ph.gn-on { translate: none; }   /* the active phrase stays on the left edge (pixel-perfect alignment) */
.gn-cl-s { margin: 28px 0 24px; font: 500 clamp(18px, 1.5vw, 22px)/1.3 var(--sans); color: rgba(11,11,12,.66); }
.gn-cl-btn { background: var(--gn-ink); color: #fff; }
.gn-cl-btn:hover { box-shadow: 0 16px 34px -14px rgba(11,11,12,.55); }
/* the four tiles: the picked one's row and column grow */
.gn-tiles { display: grid; grid-template-columns: 2.1fr 1fr; grid-template-rows: 2.1fr 1fr; gap: 10px; min-width: 0; min-height: 0;
  transition: grid-template-columns .95s var(--gn-io), grid-template-rows .95s var(--gn-io); }
.gn-tile { position: relative; margin: 0; min-width: 0; min-height: 0; overflow: hidden; border-radius: 20px; background: #fff; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(11,11,12,.05), 0 24px 48px -32px rgba(14,22,40,.45); }
.gn-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--gn-out); }
.gn-tile.gn-on img { scale: 1.035; }
.gn-tile.gn-light { background: radial-gradient(75% 75% at 50% 42%, #fff, #F2F5F1); }
.gn-brain { position: absolute; left: 50%; top: 46%; width: 360px; height: 360px; translate: -50% -50%; }
.gn-gw { position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; translate: -50% -42%; }
.gn-gw .globe { width: 100%; max-width: none; margin: 0; }
/* the caption: on the photo, its lower part darkened (no box); on the light tiles in ink over a soft white fade */
.gn-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: linear-gradient(180deg, rgba(11,11,12,0) 50%, rgba(11,11,12,.18) 70%, rgba(11,11,12,.66) 100%); }
.gn-tile.gn-light::after { background: linear-gradient(180deg, rgba(248,250,247,0) 54%, rgba(248,250,247,.85) 84%, rgba(248,250,247,.95) 100%); }
.gn-tile.gn-on::after { opacity: 1; }
.gn-tile figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 3px; color: #fff; opacity: 0; translate: 0 10px;
  transition: opacity .35s, translate .5s var(--gn-out); white-space: nowrap; }
.gn-tile.gn-on figcaption { opacity: 1; translate: 0 0; transition-delay: .45s; }
.gn-tile figcaption b { font: 700 19px/1.15 var(--sans); letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; }
.gn-tile figcaption span { font: 500 13.5px/1.25 var(--sans); color: rgba(255,255,255,.86); overflow: hidden; text-overflow: ellipsis; }
.gn-tile.gn-light figcaption { color: var(--gn-ink); }
.gn-tile.gn-light figcaption span { color: rgba(11,11,12,.6); }

/* ================================================================ narrower screens */
@media (max-width: 900px) {
  .gn-close { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .gn-tiles { height: 440px; }
  .gn-cl-copy { padding: 0; }
}
@media (max-width: 640px) {
  .gn-head { align-items: flex-start; }
  .gn-all-in { padding: 34px 20px 28px; }
  .gn-ph-wrap { font-size: clamp(34px, 10vw, 48px); }
  .gn-ph { width: auto; }
  .gn-close.gn-act .gn-ph.gn-on { translate: none; }
  .gn-close { padding: 40px 20px 20px; }
  .gn-tiles { height: 380px; gap: 8px; }
  .gn-brain { width: 280px; height: 280px; }
  .gn-gw { width: 340px; height: 340px; }
  .gn-tile figcaption { left: 14px; right: 14px; bottom: 12px; }
  .gn-tile figcaption b { font-size: 16px; }
  .gn-tile figcaption span { font-size: 12px; }
}
