/* Podikka brand page: South Indian, and of the brand. A rice-flour kolam drawn on a curry-leaf green doorstep, a
   saree border of signatures, the café in a temple arch, the signatures served on a banana leaf in steel plates,
   filter coffee poured from a height, the packs and murals sliding past, the café in arches, the four colours as
   podis in steel katoris, credits. Headings in a heritage menu-board serif, the rest in Lexend like the logo. */
:root {
  --green: #2D4C15;
  --green-hi: #3E6A1E;
  --orange: #D3891C;
  --cream: #FAF3ED;
  --ink: #231F20;
  --deep: #1F2A12;
  --serif: 'DM Serif Display', Georgia, serif;
  --font: 'Lexend', system-ui, sans-serif;
  --kn: 'Noto Sans Kannada', var(--font);
  --gut: max(clamp(16px, 4vw, 56px), (100vw - 1840px) / 2); /* content stops at 1840px on 27" and ultrawide screens */
  /* the zari teeth of a saree border: a gold triangle with a rice-flour dot in it */
  --teeth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M0 14L12 0l12 14z' fill='%23D3891C'/%3E%3Ccircle cx='12' cy='9.6' r='1.8' fill='%23FAF3ED'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--deep); font: 300 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { padding-inline: var(--gut); }
.sec, .serif { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.01em; }
.sec { font-size: clamp(44px, 6.4vw, 108px); color: var(--green); }

/* Bar: rice-flour letters over the green doorstep, a cream bar after it */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--gut); color: var(--cream); transition: background-color .3s, color .3s; }
.bar.solid { background: rgba(250, 243, 237, .95); color: var(--green); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(45, 76, 21, .12); }
.bar-mark img { width: 30px; transform: rotate(var(--bar-r, 0deg)); }
.bar-nav { justify-self: end; display: flex; gap: 22px; font-size: 14px; font-weight: 400; }
.bar-nav a { text-decoration: none; }
.bar-nav a:hover { color: var(--orange); }
@media (max-width: 760px) { .bar-nav { display: none; } .bar { grid-template-columns: 1fr auto; } .bar-mark { justify-self: end; } }

/* Kolam: main.js draws it, line by line (stroke-dashoffset), dots as it goes */
.kolam { overflow: visible; }
.kolam .line { fill: none; stroke: var(--cream); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.kolam .dot { fill: var(--cream); opacity: 0; }

/* 1. The doorstep: sticky; main.js sets --e (the swirl winding into the "o"), --sr (its turn), --ks/--ko (the
   kolam stepping back), --lo (the name) and --ho (the hello) as you scroll, and --sx/--sy/--ss to the "o". */
.door { position: relative; height: 270vh; background: radial-gradient(ellipse 70% 60% at 50% 46%, #3D6721 0%, var(--green) 55%, #203810 100%); color: var(--cream); }
.door-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.door .kolam { position: absolute; left: 50%; top: 50%; width: min(86vmin, 880px); translate: -50% -50%; scale: var(--ks, 1); opacity: var(--ko, 1); }
.door-swirl {
  position: absolute; left: 50%; top: 50%; width: calc(min(86vmin, 880px) * .24); max-width: none; will-change: transform;
  transform: translate(-50%, -50%) translate(calc(var(--sx, 0px) * var(--e, 0)), calc(var(--sy, 0px) * var(--e, 0)))
    scale(calc(1 - (1 - var(--ss, .3)) * var(--e, 0))) rotate(var(--sr, 0deg));
  filter: drop-shadow(0 10px 24px rgba(10, 20, 5, .35));
}
.door-logo { position: relative; width: min(76vw, 800px); opacity: var(--lo, 0); }
.door-hello { position: absolute; bottom: clamp(64px, 11vh, 120px); display: grid; justify-items: center; gap: 2px; opacity: var(--ho, 1); }
.door-hello span { font-family: var(--kn); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); color: var(--orange); letter-spacing: .04em; }
.door-hello small { font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--cream); opacity: .8; }
.door-cue { position: absolute; bottom: 22px; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; opacity: calc(var(--ho, 1) * .7); }

/* A saree border: green with gold zari teeth along both edges, the signatures running through it */
.zari { position: relative; overflow: hidden; background: var(--green); color: var(--cream); padding: 30px 0; border-block: 3px solid var(--orange); }
.zari::before, .zari::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--teeth) repeat-x 0 0 / 24px 14px; }
.zari::before { top: 0; scale: 1 -1; }
.zari::after { bottom: 0; }
.zari-run { display: flex; align-items: center; gap: 28px; width: max-content; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.2vw, 48px); white-space: nowrap; will-change: transform; }
.zari-run img { width: clamp(26px, 2.6vw, 40px); animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }

/* Arches: a temple arch, round on top, with a thin gold line inside it */
.arch { position: relative; overflow: hidden; border-radius: 50vw 50vw 14px 14px; background: #e9dfd3; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(250, 243, 237, .75); border-radius: inherit; pointer-events: none; }

/* 2. Come in */
.hello { position: relative; overflow: clip; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: center; padding: clamp(80px, 11vw, 170px) var(--gut); }
.hello-arch { aspect-ratio: 4 / 5; max-height: 82vh; }
.hello-arch img { scale: var(--z, 1.25); }
.hello-text { display: grid; gap: 22px; max-width: 640px; }
.kn { font-family: var(--kn); font-weight: 600; font-size: clamp(30px, 3.2vw, 48px); line-height: 1; color: var(--orange); }
.kn small { font-family: var(--font); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--green); margin-left: 10px; vertical-align: middle; }
.hello h1 { font-size: clamp(40px, 5vw, 86px); color: var(--green); }
.hello-text p:last-child { max-width: 44ch; }
.hello .kolam.mini { position: absolute; right: -9vw; top: -6vw; width: min(34vw, 520px); }
.kolam.mini .line { stroke: var(--orange); stroke-opacity: .5; stroke-width: 3; }
.kolam.mini .dot { fill: var(--orange); }
@media (max-width: 860px) { .hello { grid-template-columns: minmax(0, 1fr); } .hello-arch { max-height: 70vh; width: min(100%, 460px); justify-self: center; } }

/* 3. Served on a leaf: sticky; main.js sets --u (the leaf laid out) and, for each plate, --k and --kb (served) */
.leafed { position: relative; height: 300vh; background: radial-gradient(ellipse at 50% 60%, #fff9f2, #f1e6d8); }
.leaf-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.leafed .sec { position: absolute; left: var(--gut); top: calc(64px + 4vh); }
.leaf {
  position: absolute; left: 3vw; right: 3vw; top: 34vh; height: 46vh; rotate: -2.5deg;
  border-radius: 46% 54% 50% 50% / 58% 62% 38% 42%;
  background: linear-gradient(180deg, #78ad3e 0%, #4f8a27 46%, #3b6c1b 100%);
  box-shadow: inset 0 -16px 34px rgba(20, 40, 10, .35), inset 0 10px 24px rgba(220, 240, 170, .25), 0 30px 50px -26px rgba(30, 40, 10, .55);
  clip-path: inset(0 calc((1 - var(--u, 0)) * 100%) 0 0 round 40px);
}
/* veins run out from the midrib on both halves */
.leaf::before, .leaf::after { content: ""; position: absolute; left: 0; right: 0; height: 50%; }
.leaf::before { top: 0; background: repeating-linear-gradient(64deg, rgba(235, 250, 200, .13) 0 2px, transparent 2px 24px); }
.leaf::after { bottom: 0; background: repeating-linear-gradient(-64deg, rgba(235, 250, 200, .13) 0 2px, transparent 2px 24px); }
.leaf .rib { position: absolute; z-index: 1; left: 1.5%; right: 0; top: 50%; height: 7px; translate: 0 -50%; border-radius: 4px; background: linear-gradient(90deg, #b7d77a, #e4efb5 55%, #a9cd6a); }
.plates { position: absolute; left: 0; right: 0; top: 34vh; height: 46vh; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; justify-items: center; rotate: -2.5deg; }
.plate { --d: min(30vh, 22vw); position: relative; display: grid; justify-items: center; opacity: calc(var(--k, 0) * 3);
  transform: translateY(calc((1 - var(--kb, 0)) * -72vh)) rotate(calc((1 - var(--k, 0)) * -28deg)); }
/* a steel plate: a polished rim round the food */
.plate figure { position: relative; width: var(--d); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #f2f2ef 0 66%, #c8cac5 67% 71%, #fbfbf9 72% 76%, #a8aba5 77% 84%, #e6e7e3 85% 100%);
  box-shadow: 0 22px 30px -12px rgba(20, 30, 10, .6), inset 0 0 0 2px rgba(255, 255, 255, .6); }
.plate .food { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; box-shadow: inset 0 4px 10px rgba(0, 0, 0, .25); }
.plate .food img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx) var(--fy); transform: scale(var(--z)); transform-origin: var(--fx) var(--fy); }
.plate b, .plate > span { position: absolute; top: calc(var(--d) + 18px); white-space: nowrap; opacity: 0; translate: 0 10px; transition: opacity .5s, translate .6s cubic-bezier(.2, 1.3, .4, 1); }
.plate b { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 40px); color: var(--green); line-height: 1; }
.plate > span { top: calc(var(--d) + 18px + clamp(30px, 2.8vw, 46px)); font-size: 14px; color: var(--deep); }
.plate.on b, .plate.on > span { opacity: 1; translate: 0 0; }
@media (max-width: 760px) {
  /* phones: the leaf runs down the screen and the plates are served top to bottom */
  .leaf { left: 16vw; right: 16vw; top: 22vh; height: 74vh; rotate: 0deg; border-radius: 50% 50% 46% 54% / 42% 38% 62% 58%; clip-path: inset(0 0 calc((1 - var(--u, 0)) * 100%) 0 round 40px); }
  .leaf::before, .leaf::after { top: 0; bottom: 0; height: auto; width: 50%; }
  .leaf::before { left: 0; right: auto; background: repeating-linear-gradient(-26deg, rgba(235, 250, 200, .13) 0 2px, transparent 2px 24px); }
  .leaf::after { left: auto; right: 0; background: repeating-linear-gradient(26deg, rgba(235, 250, 200, .13) 0 2px, transparent 2px 24px); }
  .leaf .rib { left: 50%; right: auto; top: 1.5%; bottom: 0; width: 7px; height: auto; translate: -50% 0; background: linear-gradient(180deg, #b7d77a, #e4efb5 55%, #a9cd6a); }
  .plates { top: 22vh; height: 74vh; grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); rotate: 0deg; }
  .plate { --d: min(21vh, 44vw); }
  .plate b, .plate > span { top: auto; left: calc(var(--d) - 10px); white-space: normal; width: max-content; max-width: calc(50vw - var(--d) / 2 + 2px); text-align: left; }
  .plate b { bottom: 52%; font-size: 22px; color: var(--cream); text-shadow: 0 2px 8px rgba(0, 0, 0, .35); background: rgba(31, 42, 18, .75); padding: 6px 10px; border-radius: 10px; }
  .plate > span { top: 52%; font-size: 12px; color: var(--cream); background: rgba(31, 42, 18, .75); padding: 6px 10px; border-radius: 10px; }
}

/* 4. Poured from a height: sticky; main.js tips the tumbler, runs the stream, fills the dabara and lets it steam */
.pour { position: relative; height: 270vh; background: radial-gradient(ellipse 70% 80% at 70% 50%, #E39A2C, var(--orange) 55%, #B9731A 100%); color: var(--ink); }
.pour-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 4vw; padding: 64px var(--gut) 0; }
.pour .sec { color: var(--ink); }
.pour-text { display: grid; gap: 22px; }
.pour-text p { max-width: 36ch; font-weight: 400; }
.pour-art { height: min(calc(100vh - 110px), 860px); width: auto; justify-self: center; align-self: end; margin-bottom: 3vh; overflow: visible; }
.tumbler { filter: drop-shadow(0 12px 14px rgba(60, 30, 0, .35)); }
.stream, .stream-hi { stroke-dasharray: 0 2; }
.steam path { opacity: 0; animation: steam 2.6s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: -.9s; }
.steam path:nth-child(3) { animation-delay: -1.7s; }
@keyframes steam { 0% { translate: 0 18px; } 50% { translate: 6px -6px; } 100% { translate: 0 -30px; } }
@media (max-width: 760px) {
  .pour-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; padding-top: calc(64px + 3vh); }
  .pour .sec { font-size: 40px; }
  .pour-art { height: 58vh; }
}

/* 5. Packed to travel: sticky; main.js slides the row along as you scroll */
.tiffin { position: relative; height: 320vh; background: var(--cream); }
.tiffin-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 40px); padding-top: 50px; }
.tiffin .sec { padding-inline: var(--gut); }
.tiffin-run { display: flex; align-items: flex-end; gap: clamp(18px, 2.4vw, 40px); padding-inline: var(--gut); width: max-content; will-change: transform; }
.tiffin-run figure { --h: min(58vh, 46vw); height: calc(var(--h) + 34px); width: calc(var(--h) * .8); overflow: visible; background: none; border-radius: 0; }
.tiffin-run figure img { height: var(--h); border-radius: 50vw 50vw 14px 14px; box-shadow: 0 26px 40px -24px rgba(31, 42, 18, .5); }
.tiffin-run figure::after { inset: 10px 10px 44px; border-radius: 50vw 50vw 8px 8px; }
.tiffin-run .wide { width: calc(var(--h) * 1.3); }
.tiffin-run .tall { width: calc(var(--h) * .68); }
.tiffin-run .slim { width: calc(var(--h) * .24); }
.tiffin-run .slim img { object-fit: contain; background: #fff; }
.tiffin-run .tall img { object-fit: contain; background: #fff; }
.tiffin-run figcaption { margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); white-space: nowrap; }

/* 6. The wall: sticky; main.js walks the camera along the two murals */
.wall { position: relative; height: 260vh; background: #f4ede3; }
.wall-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.wall-strip { display: flex; height: 100%; width: max-content; will-change: transform; }
.wall-strip img { height: 100%; width: auto; max-width: none; }
.wall-tag { position: absolute; left: var(--gut); bottom: clamp(24px, 6vh, 56px); padding: 12px 26px 14px; border-radius: 999px; background: var(--green); color: var(--cream); font-family: var(--serif); font-size: clamp(26px, 2.8vw, 42px); line-height: 1; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }
@media (max-width: 760px) { .wall-stage { display: grid; align-content: center; } .wall-strip { height: 72vh; } }

/* 7. Around the café */
.cafe { padding: clamp(90px, 11vw, 170px) var(--gut); background: var(--cream); }
.cafe .sec { margin-bottom: clamp(28px, 4vw, 56px); }
.cafe-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19vw, 330px); gap: clamp(12px, 1.4vw, 22px); }
.c1 { grid-row: span 2; }
.c2 { grid-column: span 2; }
.c3 { grid-row: span 2; }
.c4 { grid-column: span 2; }
.c5 { grid-column: span 4; grid-row: span 1; }
@media (max-width: 760px) { .cafe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; } .c2, .c4, .c5 { grid-column: span 2; } }

/* the photos open upward inside their arches as they come up */
.rise { opacity: 0; translate: 0 50px; transition: opacity .7s ease calc(var(--i, 0) * 90ms), translate .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 90ms); }
.rise.in { opacity: 1; translate: 0 0; }
.arch.rise img { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1) calc(var(--i, 0) * 90ms + .1s), scale .9s; }
.arch.rise.in img { clip-path: inset(0 0 0 0); }
.cafe-grid .arch:hover img { scale: 1.05; }

/* 8. The marks and the four podis */
.marks { background: var(--green); color: var(--cream); padding: clamp(100px, 12vw, 180px) var(--gut); }
.marks-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mark { background: var(--bg); border-radius: 50vw 50vw 18px 18px; aspect-ratio: 3 / 4; display: grid; place-items: center; padding: 14%; }
.mark img { max-height: 100%; object-fit: contain; }
.mark-o img { width: 58%; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.mark-o:hover img { transform: rotate(-360deg); }
.podis { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px 20px; margin-top: clamp(60px, 8vw, 110px); }
.podis li { display: grid; justify-items: center; gap: 6px; text-align: center; }
/* a steel katori, its podi heaped inside */
.podis i { width: clamp(110px, 12vw, 180px); aspect-ratio: 1; border-radius: 50%; margin-bottom: 10px;
  background: radial-gradient(circle at 48% 44%, color-mix(in srgb, var(--c) 82%, #fff) 0 18%, var(--c) 34% 54%, color-mix(in srgb, var(--c) 70%, #000) 56% 61%, #c9cbc6 62% 67%, #f4f5f2 68% 72%, #9b9e98 73% 100%);
  box-shadow: 0 20px 28px -14px rgba(0, 0, 0, .6); transition: transform .6s cubic-bezier(.2, 1.6, .4, 1); }
.podis li:hover i { transform: scale(1.08) rotate(-8deg); }
.podis b { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1; }
.podis span { font-size: 13px; opacity: .75; }
@media (max-width: 760px) { .marks-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .podis { justify-content: center; } .podis li { width: 40%; } }

/* 9. Credits: a zari edge on top */
.credits { position: relative; overflow: clip; background: var(--deep); color: var(--cream); padding-block: clamp(70px, 8vw, 120px); border-top: 3px solid var(--orange); }
.credits::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--teeth) repeat-x 0 0 / 24px 14px; scale: 1 -1; }
.credits .kolam.mini { position: absolute; right: -8vw; bottom: -10vw; width: min(40vw, 560px); }
.credits .kolam.mini .line { stroke: var(--cream); stroke-opacity: .18; }
.credits .kolam.mini .dot { fill: var(--cream); }
.credits-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-bottom: 1px solid rgba(250, 243, 237, .3); padding-bottom: clamp(40px, 6vw, 80px); }
.credits h3 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; font-weight: 600; }
.outro { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: clamp(40px, 6vw, 80px); }
.outro p { font-family: var(--serif); font-size: clamp(38px, 5vw, 80px); line-height: 1; max-width: 14ch; }
.outro-links { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--orange); color: var(--deep); text-decoration: none; font-weight: 600; border: 2px solid var(--orange); transition: background-color .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--cream); border-color: var(--cream); }
.btn.ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn.ghost:hover { color: var(--deep); }
@media (max-width: 760px) { .credits-grid { grid-template-columns: minmax(0, 1fr); } }

/* Reveals and headings */
.reveal { opacity: 0; translate: 0 34px; transition: opacity .8s ease, translate .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; translate: 0 0; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transition: transform .9s cubic-bezier(.2, .8, .2, 1) calc(var(--k) * 70ms); }
.split.in .w > span { transform: none; }

/* Back to Grit Fox: the agency's own chip on every brand page. The fox blinks now and then, and tilts its head and
   glances back when you point at it. */
.bar-back.fox-back {
  justify-self: start; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 15px 0 12px;
  border-radius: 999px; background: #1A1A1A; color: #fff; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  line-height: 1; text-decoration: none; white-space: nowrap; opacity: 1;
  transition: translate .3s cubic-bezier(.2, 1.4, .4, 1), box-shadow .3s;
}
.bar-back.fox-back:hover { color: #fff; text-decoration: none; opacity: 1; translate: -2px 0; box-shadow: 0 10px 24px rgba(0, 0, 0, .26); }
.bar-back.fox-back:focus-visible { outline: 3px solid #F0AC1D; outline-offset: 3px; }
.fox-back i { font-style: normal; font-weight: 400; font-size: 14px; color: #F0AC1D; transition: translate .3s cubic-bezier(.2, 1.4, .4, 1); }
.fox-back:hover i { translate: -3px 0; }
.fox-back .fx { width: 24px; height: 24px; flex: none; overflow: visible; }
.fox-back .fx-head { transform-box: view-box; transform-origin: 500px 430px; transition: rotate .5s cubic-bezier(.2, 1.6, .4, 1); }
.fox-back:hover .fx-head { rotate: -12deg; }
.fox-back .fx-iris { transition: translate .35s cubic-bezier(.2, .8, .2, 1); }
.fox-back:hover .fx-iris { translate: -24px 6px; }
.fox-back .fx-eye { transform-box: fill-box; transform-origin: center; animation: fxBlink 5.2s ease-in-out infinite; }
.fox-back:active .fx-eye { animation: none; scale: 1 .08; }
@keyframes fxBlink { 0%, 93%, 100% { scale: 1 1; } 96% { scale: 1 .08; } }
/* a wink when pointed at: it stays even with reduced motion, as it is tiny and only follows the pointer */
.fox-back:hover .fx-eye { animation: fxWink .34s ease-in-out; }
@keyframes fxWink { 0%, 100% { scale: 1 1; } 50% { scale: 1 .08; } }
@media (max-width: 760px) { .bar-back.fox-back { gap: 5px; padding: 0 11px 0 10px; } .fox-back span { display: none; } }
@media (prefers-reduced-motion: reduce) { .fox-back .fx-eye { animation: none; } }
