/* Anveti Home (gonook.io/anveti): the walk, the work and the sheet. Code-owned; loaded only on its page (render.ts).
   Ported from marketing/anveti-home; every class is av-* under .hn-anveti, so nothing reaches the shared Nooklets' styles. */
@font-face { font-family: "EB Garamond"; src: url("/assets/herenook-presentation/anveti-home/fonts/eb-garamond.ttf"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/assets/herenook-presentation/anveti-home/fonts/eb-garamond-italic.ttf"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/herenook-presentation/anveti-home/fonts/cormorant-garamond.ttf"); font-weight: 300 700; font-display: swap; }
.hn-anveti { --hn-display: "Cormorant Garamond", Georgia, serif; --paper: #F7F2E8; --ink: #293b4e; --deep: #1b2a3d; --terra: #C17D5F; --terra-deep: #A8603F; --terra-light: #E2A487; --sage: #E6EBF1;
  background: var(--paper); color: var(--ink); font-family: "EB Garamond", Georgia, serif; }
/* resets sit in :where(), so every rule below outranks them; none reaches the shared Nooklets */
.hn-anveti, .hn-anveti :where(*):where(:not(.shared-nooklets *)) { box-sizing: border-box; }
.hn-anveti :where(h2, h3, p, dl, dd, ol, figure):where(:not(.shared-nooklets *)) { margin: 0; padding: 0; }
.hn-anveti :where(a):where(:not(.shared-nooklets a)) { color: inherit; }
/* ---------- act 1: the walk. A pinned stage; a camera moves over the drawing */
.hn-anveti .av-film { height: 620vh; position: relative; }
.hn-anveti .av-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); }
.hn-anveti .av-world { position: absolute; left: 0; top: 0; width: 2000px; height: 1024px; transform-origin: 0 0; }
.hn-anveti .av-world > * { position: absolute; display: block; }
.hn-anveti .av-street { left: 0; top: 0; width: 1536px; height: 1024px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 88%, transparent 98%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 88%, transparent 98%); }
/* the door: the painted door, hinged on its right edge, over a warm lit interior */
.hn-anveti .av-doorway { perspective: 260px; background: radial-gradient(130% 90% at 50% 75%, #f6d3ad 0%, #d79a6c 30%, #2a405b 72%, var(--deep) 100%); overflow: hidden; }
.hn-anveti .av-doorway img { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 100% 50%; }
/* the hanging sign: painted board + chains as one layer, the logo laid on as a vector */
.hn-anveti .av-sign { transform-origin: 50% 0; }
.hn-anveti .av-sign > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hn-anveti .av-sign .av-face { position: absolute; left: 8.5%; top: 26%; width: 83.9%; height: 62.7%; display: flex; align-items: center; justify-content: center; gap: 7%; }
.hn-anveti .av-sign .av-face img { height: 52%; width: auto; }
.hn-anveti .av-sign .av-face span { font: 600 15px/1 "Cormorant Garamond"; letter-spacing: .03em; color: var(--ink); }
.hn-anveti .av-room { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(90% 75% at 50% 42%, #2a405b 0%, var(--deep) 78%); }

/* ---------- the work: a grid of tiles; opening one brings it forward and plays its scenes */
.hn-anveti .av-works { position: relative; color: var(--paper); padding: 16vh max(20px, 5vw) 18vh;
  background: radial-gradient(70% 40% at 50% 26%, #263a52 0%, var(--deep) 72%); }
.hn-anveti .av-works-head { text-align: center; margin-bottom: clamp(48px, 8vh, 88px); }
.hn-anveti .av-works-head h2 { font: 500 clamp(44px, 6.4vw, 92px)/1.02 "Cormorant Garamond"; }
.hn-anveti .av-works-head h2 em { font-style: italic; color: var(--terra-light); }
.hn-anveti .av-works-head p { margin-top: 16px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(247,242,232,.62); }
.hn-anveti .av-bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 214px; gap: 22px; max-width: 1240px; margin: 0 auto;
  transform-origin: 50% 40%; }
.hn-anveti .av-tile { grid-column: span 4; grid-row: span 2; position: relative; display: flex; flex-direction: column; border: 0; border-radius: 26px; overflow: hidden;
  background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s; }
.hn-anveti .av-tile:focus-visible { outline: 2px solid var(--terra-light); outline-offset: 4px; }
.hn-anveti .av-tile .av-art { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #efe9dc; }
.hn-anveti .av-tile .av-art img, .hn-anveti .av-tile .av-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1), opacity .6s; }
.hn-anveti .av-tile .av-art video { opacity: 0; }
.hn-anveti .av-tile.av-live .av-art video { opacity: 1; }
.hn-anveti .av-tile .av-meta { padding: 18px 24px 22px; border-top: 1px solid rgba(41,59,78,.08); }
.hn-anveti .av-tile .av-num { font: italic 500 16px/1 "Cormorant Garamond"; color: var(--terra-deep); }
.hn-anveti .av-tile .av-name { display: block; font: 600 clamp(28px, 2.5vw, 36px)/1 "Cormorant Garamond"; margin: 6px 0 6px; }
.hn-anveti .av-tile .av-tag { display: block; font: italic 400 17px/1.3 "EB Garamond"; color: var(--terra-deep); }
/* the pill sits on the picture's corner, so it never meets the words */
.hn-anveti .av-tile .av-watch { position: absolute; right: 16px; top: 16px; z-index: 1; font: 500 13px/1 "EB Garamond"; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 99px; color: var(--ink); background: rgba(247,242,232,.82); box-shadow: 0 0 0 1px rgba(41,59,78,.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, color .3s; }
/* HereNook and its custom Nooks share the top row; the big tile is 3:2 like its footage, the tall one plays a phone film */
.hn-anveti .av-t-herenook { grid-column: span 8; grid-row: span 3; }
.hn-anveti .av-t-custom-nooks { grid-column: span 4; grid-row: span 3; }
.hn-anveti .av-t-lead-engine, .hn-anveti .av-t-ai-agents { grid-column: span 6; }
.hn-anveti .av-t-herenook .av-name { font-size: clamp(40px, 4vw, 58px); }
.hn-anveti .av-t-herenook .av-tag { font-size: 20px; }
/* on the side: a hobby, quieter than the core work */
.hn-anveti .av-side { max-width: 1240px; margin: clamp(56px, 9vh, 96px) auto 0; }
.hn-anveti .av-tile.av-wide { display: grid; grid-template-columns: 1.15fr 1fr; height: 300px; box-shadow: 0 24px 50px -30px rgba(0,0,0,.6); }
.hn-anveti .av-tile.av-wide .av-meta { border-top: 0; border-left: 1px solid rgba(41,59,78,.08); display: flex; flex-direction: column; justify-content: center; padding: 28px 36px; }
.hn-anveti .av-tile.av-wide .av-body { display: block; margin-top: 12px; font-size: 16px; line-height: 1.5; color: rgba(41,59,78,.8); }
@media (hover: hover) {
  .hn-anveti .av-tile:hover { transform: translateY(-6px); box-shadow: 0 50px 90px -30px rgba(0,0,0,.75); }
  .hn-anveti .av-tile:hover .av-art img, .hn-anveti .av-tile:hover .av-art video { transform: scale(1.035); }
  .hn-anveti .av-tile:hover .av-watch { background: var(--ink); color: var(--paper); }
}
.hn-anveti .av-works.av-away .av-bento { pointer-events: none; }

/* the theatre: a dimmed room, and the work's sheet in front of it */
.hn-anveti .av-theatre { position: fixed; inset: 0; z-index: 40; }
.hn-anveti .av-theatre[hidden] { display: none; }
.hn-anveti .av-veil { position: absolute; inset: 0; background: rgba(12,19,29,.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hn-anveti .av-sheet { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(1340px, 94vw); height: min(840px, 90vh); border-radius: 28px; overflow: hidden;
  display: grid; grid-template-columns: minmax(250px, 320px) 1fr; gap: clamp(24px, 3vw, 52px); padding: clamp(28px, 3.4vw, 52px);
  color: var(--paper); background: radial-gradient(90% 80% at 66% 45%, #2a405b 0%, var(--deep) 75%);
  box-shadow: 0 0 0 1px rgba(247,242,232,.08), 0 80px 160px -40px rgba(0,0,0,.85); }
.hn-anveti .av-sheet-cover { position: absolute; z-index: 6; object-fit: cover; pointer-events: none; opacity: 0; }
.hn-anveti .av-close { position: absolute; right: 18px; top: 18px; z-index: 7; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(247,242,232,.1); color: var(--paper); font: 300 28px/1 "EB Garamond"; transition: background .2s; }
.hn-anveti .av-close:hover { background: rgba(247,242,232,.2); }
.hn-anveti .av-words { display: flex; flex-direction: column; min-height: 0; overflow: auto; scrollbar-width: none; }
.hn-anveti .av-words .av-kick { font: 500 14px/1 "EB Garamond"; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-light); }
.hn-anveti .av-words h3 { font: 500 clamp(42px, 4.4vw, 68px)/.95 "Cormorant Garamond"; margin: 14px 0 14px; overflow-wrap: anywhere; }
.hn-anveti .av-words .av-line { font: italic 400 clamp(19px, 1.6vw, 22px)/1.3 "EB Garamond"; color: var(--terra-light); margin-bottom: 14px; }
.hn-anveti .av-words .av-copy { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: rgba(247,242,232,.8); }
.hn-anveti .av-words .av-links { margin-top: 22px; }
.hn-anveti .av-words .av-links a { color: var(--paper); border-color: rgba(247,242,232,.35); }
.hn-anveti .av-words .av-links a.go { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hn-anveti .av-words .av-links a:hover { background: rgba(247,242,232,.12); } .hn-anveti .av-words .av-links a.go:hover { background: #fff; }
.hn-anveti .av-chapters[hidden] { display: none; }
.hn-anveti .av-chapters { list-style: none; margin-top: auto; padding-top: 28px; display: grid; gap: 2px; }
.hn-anveti .av-chapters button { width: 100%; display: grid; gap: 8px; padding: 10px 0; border: 0; background: none; color: rgba(247,242,232,.5); font: 400 16px/1.2 "EB Garamond"; text-align: left; cursor: pointer; }
.hn-anveti .av-chapters button::after { content: ""; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--terra-light) var(--p, 0%), rgba(247,242,232,.14) var(--p, 0%)); }
.hn-anveti .av-chapters button.on { color: var(--paper); }
.hn-anveti .av-screen { position: relative; display: flex; flex-direction: column; min-height: 0; }
.hn-anveti .av-stage-box { position: relative; flex: 1; min-height: 0; container-type: size; }
.hn-anveti .av-cap { min-height: 46px; margin-top: 14px; display: grid; place-items: center; transition: opacity .4s; text-align: center; font: italic 400 17px/1.3 "EB Garamond"; color: rgba(247,242,232,.62); }
/* when the last scene ends, the two buttons take the caption's place */
.hn-anveti .av-screen:has(.av-end.on) .av-cap { opacity: 0; }
.hn-anveti .av-end { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.hn-anveti .av-end.on { opacity: 1; pointer-events: auto; }
.hn-anveti .av-end.av-static .av-again { display: none; }   /* a work with nothing to play only offers the next one */
.hn-anveti .av-end button { font: 500 16px/1 "EB Garamond"; padding: 13px 22px; border-radius: 99px; cursor: pointer; border: 1px solid rgba(247,242,232,.35);
  background: rgba(27,42,61,.7); color: var(--paper); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hn-anveti .av-end button.go { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* the devices: real recordings, played in real time; each fits the stage at its own shape */
.hn-anveti .av-dev { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(100cqw, 100cqh * var(--ar)); opacity: 0; visibility: hidden; }
.hn-anveti .av-dev.on { visibility: visible; }
.hn-anveti .av-dev video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* an iPhone 16 Pro: a 402 x 874 screen, thin black bezel, titanium rim, the Dynamic Island */
/* the phone is its own container, so the bezel is 2% of the phone's width (padding % would use the parent's) */
.hn-anveti .av-iphone { aspect-ratio: 422 / 894; border-radius: 15.5% / 7.3%; container-type: inline-size; background: #0b0c0e;
  box-shadow: 0 0 0 1px #9a9ea3, 0 0 0 2.5px #4a4d52, inset 0 0 0 1px #2b2d31, 0 50px 90px -30px rgba(0,0,0,.65); }
.hn-anveti .av-iphone .av-glass { position: absolute; inset: 2cqw; border-radius: 13.8% / 6.4%; overflow: hidden; background: #f7f1e5; }
.hn-anveti .av-iphone .av-glass::after { content: ""; position: absolute; z-index: 2; top: 1.25%; left: 50%; width: 30%; height: 3.5%; translate: -50% 0; border-radius: 99px; background: #000; }
.hn-anveti .av-iphone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hn-anveti .av-dev.av-phone { --ar: .472; }
.hn-anveti .av-phone.av-fit video { object-fit: contain; background: #e7e9de; }
/* a pair: the same thing on a laptop and, in front of it, a phone */
.hn-anveti .av-dev.av-pair { --ar: 1.4035; aspect-ratio: 16 / 11.4; }
.hn-anveti .av-pair .av-laptop { position: absolute; left: 0; top: 0; width: 84%; aspect-ratio: 16 / 9.6; }
.hn-anveti .av-pair .av-iphone { position: absolute; right: 0; bottom: 0; height: 74%; z-index: 1; }
/* a tour: a product tour recorded off herenook.com, on its own card */
.hn-anveti .av-dev.av-tour { --ar: 1.339; aspect-ratio: 1280 / 956; border-radius: 22px; background: #efeee6; box-shadow: 0 50px 90px -30px rgba(0,0,0,.6); }
.hn-anveti .av-dev.av-tour video { border-radius: 22px; }
/* a trio: three phones, each stepping through app screens */
.hn-anveti .av-dev.av-devices { --ar: 1.5385; aspect-ratio: 16 / 10.4; }
/* the laptop at the back, an iPad held sideways in front of it, the phone in front of both; all change look together */
.hn-anveti .av-devices .av-laptop { position: absolute; left: 0; top: 0; width: 76%; aspect-ratio: 16 / 9.6; }
.hn-anveti .av-devices .av-ipad { position: absolute; right: 13%; bottom: 0; width: 43%; z-index: 1; }
.hn-anveti .av-devices .av-iphone { position: absolute; right: 0; bottom: 0; height: 60%; z-index: 2; }
.hn-anveti .av-devices .av-glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; }
.hn-anveti .av-ipad { aspect-ratio: 1.311; border-radius: 5.2% / 7%; container-type: inline-size; background: #0b0c0e;
  box-shadow: 0 0 0 1.5px #3a3f3b, 0 40px 80px -30px rgba(0,0,0,.65); }
.hn-anveti .av-ipad .av-glass { position: absolute; inset: 2.6cqw; border-radius: 2.2cqw; overflow: hidden; background: #f7f1e5; }
.hn-anveti .av-dev.av-laptop { --ar: 1.6667; aspect-ratio: 16 / 9.6; }          /* glass = 16:10 */
.hn-anveti .av-laptop.av-wide { --ar: 1.8433; aspect-ratio: 16 / 8.68; }                              /* glass = 16:9 */
.hn-anveti .av-laptop .av-lid { position: absolute; left: 6%; right: 6%; top: 0; bottom: 6.5%; border-radius: 16px 16px 4px 4px; padding: 1.6%; background: #111513; box-shadow: 0 0 0 1.5px #3a3f3b, 0 50px 90px -30px rgba(0,0,0,.6); }
.hn-anveti .av-laptop .av-lid .av-glass { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 4px; background: #fff; }
.hn-anveti .av-laptop .av-base { position: absolute; left: 0; right: 0; bottom: 0; height: 6.5%; border-radius: 3px 3px 18px 18px; background: linear-gradient(#cfd2cc, #8e938c); }
.hn-anveti .av-laptop .av-base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 30%; border-radius: 0 0 8px 8px; background: #a7aba4; }
.hn-anveti .av-dev.av-tv { --ar: 1.616; aspect-ratio: 16 / 9.9; }
.hn-anveti .av-tv .av-panel { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 16 / 9; padding: 1.1%; border-radius: 10px; background: #0b0d0c; box-shadow: 0 0 0 1.5px #343835, 0 50px 90px -30px rgba(0,0,0,.6); }
.hn-anveti .av-tv .av-panel .av-glass { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 3px; }
.hn-anveti .av-tv .av-stand { position: absolute; left: 40%; right: 40%; bottom: 0; height: 4%; border-radius: 3px; background: #2a2e2b; }
.hn-anveti .av-dev.av-picture { --ar: 1.5; aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; box-shadow: 0 50px 90px -30px rgba(0,0,0,.6); }
.hn-anveti .av-dev.av-picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* a gallery: design pieces crossfading one after another */
.hn-anveti .av-dev.av-gallery { --ar: 1.5; aspect-ratio: 3 / 2; }
.hn-anveti .av-gal { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 50px 90px -30px rgba(0,0,0,.6); }
.hn-anveti .av-gal figure { position: absolute; inset: 0; opacity: 0; display: grid; place-items: center; padding: 6% 6% 13%; }
.hn-anveti .av-gal figure.av-cover-fig { padding: 0; }
.hn-anveti .av-gal img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.hn-anveti .av-gal figure.av-cover-fig img { width: 100%; height: 100%; object-fit: cover; }
.hn-anveti .av-gal figcaption { position: absolute; left: 0; right: 0; bottom: 3.6%; z-index: 1; text-align: center; font: italic 400 15px/1 "EB Garamond"; color: rgba(41,59,78,.7); }
.hn-anveti .av-gal figure.av-cover-fig figcaption { color: var(--paper); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
/* a duo: the film on a TV with the website on a laptop in front of it */
.hn-anveti .av-dev.av-duo { --ar: 1.4286; aspect-ratio: 16 / 11.2; }
.hn-anveti .av-duo .av-tv, .hn-anveti .av-duo .av-laptop { position: absolute; }
.hn-anveti .av-duo .av-tv { right: 0; top: 0; width: 84%; aspect-ratio: 16 / 9.9; }
.hn-anveti .av-duo .av-laptop { left: 0; bottom: 0; width: 47%; aspect-ratio: 16 / 8.68; z-index: 1; }


/* ---------- chrome */
.hn-anveti .av-brand { position: fixed; left: 26px; top: 22px; z-index: 5; display: flex; align-items: center; gap: 9px; font: 600 17px/1 "Cormorant Garamond"; letter-spacing: .04em; color: var(--ink); transition: color .3s; text-decoration: none; }
.hn-anveti .av-brand img { width: 20px; height: auto; }
.hn-anveti .av-brand.av-light { color: var(--paper); }
.hn-anveti .av-hint { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); font-style: italic; font-size: 16px; color: rgba(41,59,78,.7); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hn-anveti .av-hint i { width: 1px; height: 26px; background: rgba(41,59,78,.4); animation: av-drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes av-drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- intro, products, contact */
.hn-anveti .av-eyebrow { font: 600 13px/1 "EB Garamond"; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-deep); }
.hn-anveti .av-about { background: var(--deep); color: var(--paper); padding: 14vh max(24px, 6vw) 18vh; }
.hn-anveti .av-about-in { max-width: 760px; margin: 0 auto; }
.hn-anveti .av-about .av-eyebrow { color: var(--terra-light); }
.hn-anveti .av-about h2 { font: 500 clamp(44px, 6vw, 80px)/1 "Cormorant Garamond"; margin: 14px 0 28px; }
.hn-anveti .av-about p { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: rgba(247,242,232,.82); margin-top: 1em; }
.hn-anveti .av-about p.av-lead { font: 400 clamp(23px, 2.2vw, 30px)/1.4 "EB Garamond"; color: var(--paper); margin-top: 0; }
.hn-anveti .av-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(247,242,232,.18); }
.hn-anveti .av-stats dt { font: 500 clamp(36px, 4vw, 54px)/1 "Cormorant Garamond"; font-variant-numeric: lining-nums; color: var(--terra-light); } /* old-style 1 reads as I */
.hn-anveti .av-stats dd { font-size: 15px; color: rgba(247,242,232,.7); margin-top: 8px; }
.hn-anveti .av-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hn-anveti .av-links a, .hn-anveti .cta a { font: 500 16px/1 "EB Garamond"; text-decoration: none; padding: 13px 22px; border-radius: 99px; border: 1px solid rgba(41,59,78,.3); transition: background .2s, color .2s; }
.hn-anveti .av-links a.go, .hn-anveti .cta a.go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hn-anveti .av-links a:hover { background: var(--sage); } .hn-anveti .av-links a.go:hover, .hn-anveti .cta a.go:hover { background: #3a5370; }
.hn-anveti .av-contact { background: var(--paper); text-align: center; padding: 18vh 24px 0; }
.hn-anveti .av-contact > h2 { font: 500 clamp(56px, 8vw, 110px)/1 "Cormorant Garamond"; }
.hn-anveti .av-contact > p { font-size: clamp(19px, 1.6vw, 22px); color: rgba(41,59,78,.8); margin-top: 18px; }
.hn-anveti .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hn-anveti .av-street-end { display: block; width: min(1200px, 100%); margin: 9vh auto 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.hn-anveti footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 26px 0 34px; font-size: 14px; color: rgba(41,59,78,.6); }
.hn-anveti footer img { width: 14px; }

@media (max-width: 1000px) {
  .hn-anveti .av-bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 18px; }
  .hn-anveti .av-tile, .hn-anveti .av-t-custom-nooks, .hn-anveti .av-t-lead-engine, .hn-anveti .av-t-ai-agents { grid-column: span 3; grid-row: span 2; }
  .hn-anveti .av-t-herenook { grid-column: span 6; grid-row: span 3; }
  /* tablets and phones: the sheet fills the screen; the device sits in the middle, the words around it */
  .hn-anveti .av-sheet { left: 0; top: 0; translate: none; width: 100%; height: 100%; border-radius: 0; display: flex; flex-direction: column; gap: 0;
    overflow-y: auto; padding: 22px 20px 40px; }
  .hn-anveti .av-close { position: fixed; right: 12px; top: 12px; width: 40px; height: 40px; }
  .hn-anveti .av-words { display: contents; }
  .hn-anveti .av-words .av-kick { order: 1; font-size: 12px; }
  .hn-anveti .av-words h3 { order: 2; font-size: 40px; margin: 8px 56px 6px 0; }
  .hn-anveti .av-words .av-line { order: 3; font-size: 17px; margin-bottom: 14px; }
  .hn-anveti .av-screen { order: 4; flex: none; }
  .hn-anveti .av-stage-box { flex: none; height: min(58svh, calc((100vw - 40px) / var(--sar, .472))); transition: height .5s cubic-bezier(.2,.8,.2,1); }
  .hn-anveti .av-chapters { order: 5; display: flex; gap: 8px; margin: 0; padding-top: 14px; }
  .hn-anveti .av-chapters li { flex: 1; min-width: 0; }
  .hn-anveti .av-chapters button { font-size: 13px; gap: 6px; padding: 4px 0; }
  .hn-anveti .av-chapters button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hn-anveti .av-words .av-copy { order: 6; margin-top: 22px; font-size: 16px; }
  .hn-anveti .av-words .av-links { order: 7; }
  .hn-anveti .av-cap { font-size: 15px; margin-top: 10px; }
}
@media (max-width: 720px) {
  /* a pill behind the mark, so it never sits on top of the text it scrolls over */
  .hn-anveti .av-brand { left: 12px; top: 10px; padding: 7px 12px 7px 9px; border-radius: 99px; background: rgba(247,242,232,.84);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: color .3s, background .3s; }
  .hn-anveti .av-brand.av-light { background: rgba(27,42,61,.72); }
  .hn-anveti .av-works { padding: 12vh 16px 14vh; }
  .hn-anveti .av-bento { display: flex; flex-direction: column; gap: 18px; }
  .hn-anveti .av-tile .av-art { flex: none; aspect-ratio: 3 / 2; }
  .hn-anveti .av-t-herenook .av-art { aspect-ratio: 4 / 3; }
  .hn-anveti .av-t-custom-nooks .av-art { aspect-ratio: 4 / 5; }
  .hn-anveti .av-tile.av-wide { display: flex; height: auto; }
  .hn-anveti .av-tile.av-wide .av-meta { border-left: 0; border-top: 1px solid rgba(41,59,78,.08); padding: 16px 20px 20px; }
  .hn-anveti .av-tile .av-meta { padding: 16px 20px 20px; }
  /* a pair shows only the phone on a phone */
  .hn-anveti .av-dev.av-pair { --ar: .472; aspect-ratio: 422 / 894; }
  .hn-anveti .av-pair .av-laptop { display: none; }
  .hn-anveti .av-pair .av-iphone { left: 0; right: 0; top: 0; bottom: 0; height: 100%; }
  /* on a phone the laptop steps aside: the iPad, and the phone in front of it */
  .hn-anveti .av-dev.av-devices { --ar: .86; aspect-ratio: .86; }
  .hn-anveti .av-devices .av-laptop { display: none; }
  .hn-anveti .av-devices .av-ipad { left: 0; right: auto; top: 0; bottom: auto; width: 100%; }
  .hn-anveti .av-devices .av-iphone { right: 3%; height: 66%; }
  .hn-anveti .av-stats { grid-template-columns: 1fr; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hn-anveti .av-hint i { animation: none; } .hn-anveti .av-tile, .hn-anveti .av-tile .av-art img, .hn-anveti .av-tile .av-art video { transition: none; } }

/* ---------- HereNook's own pieces: the Crafted with HereNook line, the Studio still, the Nooklets in "Come in." */
.hn-anveti .av-foot { flex-direction: column; gap: 14px; }
.hn-anveti .av-maker { display: flex; align-items: center; gap: 8px; }
.hn-anveti .av-crafted { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink); opacity: .72; text-decoration: none; transition: opacity .2s; }
.hn-anveti a.av-crafted:hover, .hn-anveti a.av-crafted:focus-visible { opacity: 1; }
.hn-anveti .av-crafted .hn-page-credit-logo { width: 72px; }
.hn-anveti .av-brand-name { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.hn-anveti .av-brand-name img { width: 20px; height: auto; }
/* Studio's canvas has no walk (the motion is visitors' only): the shop stands still, and the top line stays in the canvas */
.hn-anveti:has(.av-still) .av-brand { position: absolute; }
.hn-anveti .av-still { padding: 84px 20px 32px; text-align: center; background: var(--paper); }
.hn-anveti .av-still img { width: min(520px, 90%); height: auto; }
.hn-anveti .av-still p { margin-top: 12px; font-style: italic; color: rgba(41,59,78,.6); }
.hn-anveti .av-contact .shared-nooklets { max-width: 760px; margin: 44px auto 0; text-align: left; }
/* "Come in." holds only the Nooklets: the embedded page's own header and chrome stay hidden, as in the other designs */
.hn-anveti .shared-nooklets .hn-page-main > :not(.hn-page-sections) { display: none !important; }
.hn-anveti .shared-nooklets .hn-page-spacious { background: transparent; --hn-display: "Cormorant Garamond", Georgia, serif !important; }
.hn-anveti .shared-nooklets .hn-page-main { padding: 0 !important; max-width: none !important; }
.hn-anveti .shared-nooklets .hn-page-section { padding: 28px 0 !important; border: 0 !important; }
.hn-anveti .shared-nooklets .hn-page-section-heading h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(32px, 3.4vw, 46px) !important; line-height: 1.1; }
