/* Sagar Book Centre: heritage bookstore editorial system */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f7f1e7; --bg-soft: #efe3d2; --surface: #fffdf9; --surface-deep: #e8d7bf;
  --ink: #1f120b; --ink-soft: #5a3d27; --ink-faint: #8f6d4b;
  --brass: #a7652a; --brass-light: #d89a4d; --line: rgba(82,54,28,.18);
  --note-bg: #efe1ca; --note-ink: #2c1f15; --note-soft: #654b34;
  --footer-bg: #1a120d; --footer-ink: #f8f4ef; --footer-soft: rgba(248,244,239,.7);
  --serif: 'Cormorant Garamond', Georgia, serif; --display: 'Fraunces', Georgia, serif; --sans: 'Manrope', 'Inter', Arial, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1); --radius: 14px;
}
[data-theme="dark"] {
  --bg: #12100e; --bg-soft: #191511; --surface: #211c17; --surface-deep: #2a231c;
  --ink: #ede7dc; --ink-soft: #b5a492; --ink-faint: #7d6d5b;
  --brass: #c9a96e; --brass-light: #e0c99a; --line: rgba(222,199,157,.18);
  --note-bg: #211c17; --note-ink: #ede7dc; --note-soft: #b5a492;
  --footer-bg: #0d0b09; --footer-ink: #ede7dc; --footer-soft: rgba(237,231,220,.62);
}
[data-theme="light"] { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color .45s var(--ease),color .45s var(--ease); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1120px,calc(100% - 5rem)); margin-inline: auto; }

/* Navigation */
nav { position: fixed; inset: 0 0 auto; z-index: 200; height: 76px; padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between; color: var(--footer-ink); background: rgba(18,12,7,.12); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(6px); transition: background-color .4s var(--ease),border-color .4s var(--ease),color .4s var(--ease),height .4s var(--ease),box-shadow .4s var(--ease),backdrop-filter .4s var(--ease); }
nav.is-scrolled { height: 64px; color: var(--ink); background: rgba(247,241,231,.9); border-color: var(--line); backdrop-filter: blur(18px); box-shadow: 0 12px 28px rgba(34,21,11,.06); }
[data-theme="dark"] nav { color: rgba(237,231,220,.8); background: rgba(18,14,11,.18); border-color: rgba(216,154,77,.12); }
[data-theme="dark"] nav.is-scrolled { color: var(--ink); background: rgba(20,17,14,.84); border-color: rgba(216,154,77,.12); box-shadow: 0 8px 26px rgba(0,0,0,.22); }
.nav-brand { display: flex; align-items: center; gap: .7rem; font: 600 1rem var(--serif); letter-spacing: .01em; }
.nav-brand-text { font-size: 1.1rem; line-height: 1; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.nav-brand-text span { color: var(--brass-light); }
.nav-logo { width: 38px; height: 38px; object-fit: cover; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a { position: relative; padding: .35rem 0; color: inherit; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.nav-links a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .25s var(--ease); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:not(.nav-cta),.nav-drawer-link,.text-link,.footer-nav a,.footer-connect a,.map-footer a { animation: linkEmphasis 4.8s ease-in-out infinite; }
.nav-links a:nth-child(2),.nav-drawer-link:nth-child(2),.footer-nav a:nth-child(2),.footer-connect a:nth-child(2) { animation-delay: .8s; }
.nav-links a:nth-child(3),.nav-drawer-link:nth-child(3),.footer-nav a:nth-child(3),.footer-connect a:nth-child(3) { animation-delay: 1.6s; }
.nav-links a:nth-child(4),.nav-drawer-link:nth-child(4),.footer-nav a:nth-child(4),.footer-connect a:nth-child(4) { animation-delay: 2.4s; }
@keyframes linkEmphasis { 0%,72%,100% { opacity: .82; } 78%,88% { opacity: 1; text-shadow: 0 0 12px rgba(216,154,77,.38); } }
.nav-cta { border: 1px solid currentColor; padding: .55rem .95rem !important; color: inherit !important; border-radius: 999px; background: rgba(255,255,255,.04); }
.nav-tools { display: flex; align-items: center; gap: .65rem; }
.theme-toggle,.nav-hamburger { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 999px; color: inherit; background: rgba(255,255,255,.05); cursor: pointer; transition: transform .25s var(--ease),background-color .25s var(--ease),border-color .25s var(--ease); }
.theme-toggle:hover,.nav-hamburger:hover { transform: translateY(-1px); background: rgba(255,255,255,.09); }
.theme-toggle .icon-moon { display: block; }.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }[data-theme="light"] .theme-toggle .icon-sun { display: block; }
.nav-hamburger { display: none; padding: 0; }.nav-hamburger span { width: 17px; height: 1px; background: currentColor; transition: transform .3s var(--ease),opacity .2s; }
.nav-hamburger.is-open span:first-child { transform: translateY(5px) rotate(45deg); }.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }.nav-hamburger.is-open span:last-child { transform: translateY(-5px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; z-index: 150; background: rgba(20,12,6,.58); opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.nav-drawer { display: none; position: fixed; top: 62px; left: 0; right: 0; z-index: 160; padding: 1rem 1.25rem 1.4rem; background: rgba(247,241,231,.98); border-bottom: 1px solid var(--line); box-shadow: 0 16px 26px rgba(25,15,8,.08); transform: translateY(-12px); opacity: 0; transition: transform .3s var(--ease),opacity .25s; }
.nav-drawer.is-open { transform: translateY(0); opacity: 1; }
.nav-drawer-link { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-drawer-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1rem; }
.nav-drawer-actions .btn { width: 100%; }

/* Hero */
.hero { min-height: 100svh; position: relative; display: grid; place-items: center; padding: 9rem 2rem 5rem; color: #f4ecdf; text-align: center; background: var(--ink) center/cover no-repeat; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(16,10,5,.56),rgba(16,10,5,.18) 42%,rgba(16,10,5,.83)); }
.hero::after { content: ''; position: absolute; inset: 10% 8%; z-index: -1; border: 1px solid rgba(231,202,157,.24); pointer-events: none; }
.hero-ambient { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; display: block; border-radius: 50%; border: 1px solid rgba(216,154,77,.22); background: radial-gradient(circle, rgba(216,154,77,.18), rgba(216,154,77,0) 72%); filter: blur(2px); animation: heroFloat 18s ease-in-out infinite; }
.hero-orb-one { width: 420px; height: 420px; right: 12%; top: 8%; }
.hero-orb-two { width: 300px; height: 300px; left: 10%; bottom: 18%; animation-delay: 1.5s; }
.hero-orb-three { width: 220px; height: 220px; right: 28%; bottom: 12%; animation-delay: 3s; }
@keyframes heroFloat { 0%,100% { transform: translate3d(0,0,0) scale(1); opacity: .45; } 50% { transform: translate3d(0,-18px,0) scale(1.08); opacity: .8; } }
.hero-inner { position: relative; z-index: 1; width: min(960px,100%); }.hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; color: var(--brass-light); font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.hero-eyebrow-line { width: 52px; height: 1px; background: currentColor; opacity: .7; }.hero-title { display: flex; flex-direction: column; align-items: center; gap: .2rem; max-width: 1000px; margin: 0 auto .8rem; font-family: var(--display); font-weight: 600; line-height: .82; text-transform: none; }
.hero-title-main { display: inline-block; min-height: 1.08em; font-size: clamp(3.6rem,8vw,7.5rem); letter-spacing: -.04em; color: #f7f1e7; font-family: var(--display); text-shadow: 0 6px 18px rgba(0,0,0,.24); }
.hero-title-typed { position: relative; display: inline-block; white-space: nowrap; border-right: 2.5px solid rgba(255,255,255,.9); padding-right: .12em; font-family: var(--display); animation: blink-caret 0.7s step-end infinite; transition: font-family 1.2s var(--ease), letter-spacing 1s var(--ease), transform 1s var(--ease), text-shadow 1s var(--ease), font-weight .8s var(--ease); text-shadow: 0 8px 22px rgba(0,0,0,.28); font-weight: 600; }
@keyframes blink-caret { 0%, 49% { border-color: rgba(255,255,255,.9); } 50%, 100% { border-color: transparent; } }
.hero-location { color: rgba(244,236,223,.72); font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.hero-divider-wrap { display: flex; align-items: center; gap: .65rem; width: 180px; margin: 2rem auto; }.hero-divider-line { flex: 1; height: 1px; background: var(--brass-light); opacity: .6; }.hero-divider-dot { width: 5px; height: 5px; background: var(--brass-light); transform: rotate(45deg); }.hero-tagline { max-width: 420px; margin: 0 auto 2rem; color: rgba(244,236,223,.78); font: italic 1.1rem/1.6 var(--serif); }
.hero-cta-group { display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap; }.hero-footnote { display: flex; justify-content: center; align-items: center; gap: .65rem; margin-top: 2.2rem; color: rgba(244,236,223,.58); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }.hero-footnote span { color: var(--brass-light); }.hero-footnote i { width: 4px; height: 4px; background: var(--brass-light); border-radius: 50%; }

/* Shared content */
section { padding: 8rem 0; overflow: clip; }.section-eyebrow { margin-bottom: .9rem; color: var(--brass); font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }.section-rule { width: 42px; height: 1px; margin-bottom: 1.6rem; background: var(--brass); }.section-title { max-width: 780px; margin-bottom: 1.2rem; color: var(--ink); font: 500 clamp(2.4rem,5.5vw,5.2rem)/.98 var(--serif); letter-spacing: -.035em; }.section-body { max-width: 570px; color: var(--ink-soft); font-size: .94rem; line-height: 1.85; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .72rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; transition: transform .25s var(--ease),background-color .25s,color .25s,border-color .25s; }.btn:hover { transform: translateY(-2px); }.btn-primary { color: var(--bg); background: var(--brass); }.btn-primary:hover { background: var(--brass-light); }.btn-ghost { color: #f4ecdf; border-color: rgba(244,236,223,.42); background: rgba(0,0,0,.12); }.btn-ghost:hover { color: var(--brass-light); border-color: var(--brass-light); background: rgba(0,0,0,.25); }.btn-whatsapp { color: #bddfc1; border-color: rgba(189,223,193,.34); background: #203d2a; }

/* About */
.about { background: var(--bg); border-top: 1px solid var(--line); }.about-inner { display: grid; grid-template-columns: repeat(12,1fr); gap: 2rem; align-items: center; }.about-text { grid-column: 1/span 6; }.about-visual { grid-column: 8/-1; min-height: 570px; position: relative; background: center/cover no-repeat; border-left: 1px solid var(--brass); }.about-visual::after { content: 'THE SHOP / 1982'; position: absolute; right: -2.2rem; bottom: 2rem; writing-mode: vertical-rl; color: var(--brass); font-size: .61rem; font-weight: 600; letter-spacing: .2em; }.about-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 3rem; border-top: 1px solid var(--line); }.stat { padding: 1.5rem 1rem 0 0; border-right: 1px solid var(--line); }.stat:not(:first-child) { padding-left: 1rem; }.stat:last-child { border: 0; }.stat-number { display: block; margin-bottom: .4rem; color: var(--brass); font: 500 2.6rem/1 var(--serif); }.stat-label { color: var(--ink-faint); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* Books */
.newbooks { background: var(--bg-soft); border-top: 1px solid var(--line); }.newbooks-header { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }.book-filters { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; border-bottom: 1px solid var(--line); }.book-filter { position: relative; padding: .65rem 0 .8rem; border: 0; color: var(--ink-soft); background: transparent; cursor: pointer; font-size: .66rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }.book-filter::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--brass); transition: width .25s var(--ease); }.book-filter:hover,.book-filter.is-active { color: var(--ink); }.book-filter.is-active::after { width: 100%; }.newbooks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.2rem 1.3rem; margin-top: 3.2rem; }.book-card { position: relative; background: transparent; transition: transform .35s var(--ease), filter .35s var(--ease), box-shadow .35s var(--ease); }
.book-card:hover { transform: translateY(-12px) rotateY(-2deg); filter: drop-shadow(0 24px 36px rgba(52,31,12,.16)); }
.book-card-img { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--surface-deep); border-radius: 16px 16px 10px 10px; box-shadow: 0 20px 32px rgba(35,21,11,.1); border: 1.5px solid rgba(98,66,42,.15); }
.book-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,8,4,0) 40%, rgba(12,8,4,.12) 100%); border-radius: inherit; pointer-events: none; }
.book-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s ease; }
.book-card:hover .book-card-img img { transform: scale(1.08); filter: saturate(1.12) brightness(1.05); }.book-card-badge { position: absolute; top: .9rem; left: .9rem; z-index: 1; padding: .35rem .55rem; color: var(--bg); background: linear-gradient(135deg, var(--brass), var(--brass-light)); font-size: .55rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; box-shadow: 0 10px 18px rgba(167,101,42,.24); }.book-card-info { padding: 1rem .2rem 0; border-bottom: 1px solid var(--line); }.book-card-genre { display: block; margin-bottom: .4rem; color: var(--brass); font-size: .6rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }.book-card-label { min-height: 2.7em; color: var(--ink); font: 500 1.1rem/1.25 var(--serif); }.book-card-action { display: inline-flex; gap: .35rem; margin-top: .8rem; color: var(--ink-soft); font-size: .61rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }.book-card-action:hover { color: var(--brass); }.book-card.is-filtered { display: none; }.newbooks-note { margin-top: 2.5rem; color: var(--ink-faint); font: italic .88rem var(--serif); }

/* Editorial invitation */
.book-note { position: relative; overflow: hidden; padding: 9rem 0; background: var(--note-bg); border-block: 1px solid var(--line); }.book-note::before { content: 'READERS WELCOME'; position: absolute; top: 2rem; right: 3rem; color: var(--brass); font-size: .61rem; font-weight: 600; letter-spacing: .24em; }.book-note-inner { display: grid; grid-template-columns: 1fr minmax(360px,1.5fr) 1fr; gap: 3rem; align-items: center; }.book-note-mark { color: var(--brass); font-size: .65rem; font-weight: 600; letter-spacing: .2em; writing-mode: vertical-rl; transform: rotate(180deg); }.book-note .section-title { color: var(--note-ink); font-size: clamp(3rem,6.2vw,6.6rem); }.book-note .section-title em { color: var(--brass-light); font-weight: 400; }.book-note .section-body { color: var(--note-soft); }.text-link { display: inline-flex; gap: .65rem; margin-top: 1.7rem; color: var(--brass); font-size: .67rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }.book-note-shelf { --tilt-x: 0deg; --tilt-y: 0deg; --glow-x: 50%; --glow-y: 35%; justify-self: end; width: 380px; min-height: 360px; position: relative; display: grid; place-items: center; cursor: pointer; transform: perspective(1500px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform .5s var(--ease), filter .5s var(--ease), box-shadow .5s var(--ease); }
.book-note { background: radial-gradient(circle at 74% 42%, rgba(237,153,64,.22), transparent 28%), linear-gradient(135deg, #f5e2c0 0%, #e8c995 52%, #f2d8ae 100%); }
.book-note .text-link { color: #a4511c; text-shadow: 0 0 18px rgba(202,103,35,.2); }
.book-note-shelf { filter: saturate(1.12); }
.book-note-shelf::before { content: ''; position: absolute; inset: 4% 3% 18%; border: 1.5px solid rgba(167,101,42,.35); border-radius: 32px; background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255,230,180,.48), rgba(255,255,255,0) 20%), radial-gradient(circle at 25% 15%, rgba(255,255,255,.22), rgba(255,255,255,0) 28%), linear-gradient(135deg, rgba(255,255,255,.14), rgba(143,95,57,.1) 60%, rgba(32,18,10,.12)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 35px 45px rgba(39,24,15,.16), 0 0 48px rgba(167,101,42,.14); transform: rotate(-10deg) translateZ(16px); }
.book-note-shelf::before { border-color: rgba(151,75,26,.56); background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255,244,194,.72), rgba(255,255,255,0) 22%), radial-gradient(circle at 25% 15%, rgba(255,255,255,.3), rgba(255,255,255,0) 28%), linear-gradient(135deg, rgba(255,255,255,.22), rgba(184,103,47,.18) 60%, rgba(56,28,14,.2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 35px 45px rgba(39,24,15,.24), 0 0 60px rgba(205,113,38,.28); }
.book-note-shelf::after { content: ''; position: absolute; inset: 14% 10% 22%; border-radius: 26px; border: 1.2px solid rgba(216,154,77,.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 0 32px rgba(216,154,77,.16); background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,0)); }
.book-note-shelf::after { border-color: rgba(225,151,65,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 0 42px rgba(224,132,43,.3); }
.book-note-shelf:hover { transform: perspective(1500px) rotateX(calc(var(--tilt-x) + 5deg)) rotateY(calc(var(--tilt-y) + 8deg)) translateY(-12px) scale(1.04); filter: drop-shadow(0 38px 45px rgba(38,22,10,.22)); }
.book-note-shelf:hover .book-note-books { transform: translateY(-12px) translateZ(42px); }
.book-note-shelf:hover .book-note-book { box-shadow: 0 32px 36px rgba(0,0,0,.28), 0 0 24px rgba(216,154,77,.18); }
.book-note-shelf:hover .book-note-floating { transform: translateY(-12px) scale(1.08); }
.book-note-orbit { position: absolute; left: 50%; top: 42%; width: 310px; height: 160px; border: 1px solid rgba(216,154,77,.5); border-radius: 50%; opacity: .42; transform: translate(-50%,-50%) rotate(-15deg); animation: orbit 16s linear infinite; }
.book-note-orbit--inner { width: 240px; height: 118px; opacity: .24; animation-duration: 12s; animation-direction: reverse; }
.book-note-spark { position: absolute; display: grid; place-items: center; color: var(--brass); font-size: .85rem; opacity: .9; animation: sparkFloat 5s ease-in-out infinite; z-index: 4; }
.book-note-spark--one { top: 30px; left: 42px; }
.book-note-spark--two { right: 30px; bottom: 92px; font-size: 1.1rem; animation-delay: 1s; }
.book-note-floating { position: absolute; display: grid; place-items: center; min-width: 54px; min-height: 54px; padding: .35rem .55rem; border: 1px solid rgba(167,101,42,.48); border-radius: 999px; background: rgba(255,248,228,.62); color: #8d4d1e; font-size: .48rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 12px 24px rgba(32,20,12,.14), 0 0 20px rgba(214,126,42,.16); backdrop-filter: blur(4px); animation: floatDrift 9s ease-in-out infinite; z-index: 3; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.book-note-floating--one { top: 12%; left: -10px; }
.book-note-floating--two { top: 52%; right: -8px; animation-delay: 1.3s; }
.book-note-floating--three { bottom: 12%; left: 20px; animation-delay: 2.3s; }
.book-note-shelf-line { position: absolute; left: 5%; right: 5%; bottom: 38px; height: 16px; border-radius: 999px; background: linear-gradient(90deg, rgba(58,39,22,.96), rgba(121,78,42,.94), rgba(58,39,22,.96)); box-shadow: 0 18px 20px rgba(45,29,17,.16), inset 0 0 0 1px rgba(255,255,255,.08); z-index: 2; }
.book-note-shelf-line::before { content: ''; position: absolute; inset: 4px 10% auto; height: 2px; background: rgba(255,255,255,.16); border-radius: 999px; }
.book-note-shelf-label { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); color: var(--brass); font-size: .52rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-align: center; line-height: 1.7; z-index: 5; }
@keyframes orbit { to { transform: translate(-50%,-50%) rotate(345deg); } }
@keyframes sparkFloat { 0%,100% { transform: translateY(0) scale(1); opacity: .65; } 50% { transform: translateY(-10px) scale(1.12); opacity: 1; } }
.book-note-books { position: absolute; inset: auto 0 48px; height: 220px; display: flex; justify-content: center; align-items: end; gap: 11px; z-index: 3; transition: transform .5s var(--ease); transform-style: preserve-3d; }
.book-note-book { width: 82px; height: 160px; object-fit: cover; border: 3px solid rgba(255,255,255,.5); border-radius: 12px; box-shadow: 0 24px 36px rgba(0,0,0,.3), 0 0 24px rgba(207,111,31,.2); transform-origin: bottom center; filter: saturate(1.28) contrast(1.08); background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(104,76,51,.25)); transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .5s var(--ease); }
.book-note-book::before { content: ''; position: absolute; inset: 8% 12% 8% 8%; border-left: 1.5px solid rgba(255,255,255,.28); border-radius: 8px; }
.book-note-book:hover { box-shadow: 0 26px 38px rgba(0,0,0,.28), 0 0 28px rgba(216,154,77,.22); filter: saturate(1.2) brightness(1.08) drop-shadow(0 0 12px rgba(255,220,160,.4)); }
.book-note-book--one { transform: rotate(-22deg) translate(30px,16px) translateZ(14px); animation: bookFloatOne 5.2s ease-in-out infinite; }
.book-note-book--two { width: 88px; height: 198px; z-index: 2; transform: rotate(10deg) translateY(-22px) translateX(12px) translateZ(24px); animation: bookFloatTwo 5.8s ease-in-out infinite; }
.book-note-book--three { transform: rotate(-15deg) translate(-20px,8px) translateZ(18px); animation: bookFloatThree 6s ease-in-out infinite; }
.book-note-book--four { width: 65px; height: 128px; transform: rotate(20deg) translate(-30px,24px) translateZ(20px); animation: bookFloatFour 5.2s ease-in-out infinite; }
.book-note-shelf:hover .book-note-book--one { transform: rotate(-35deg) translate(40px,28px) translateZ(22px); }
.book-note-shelf:hover .book-note-book--two { transform: rotate(16deg) translateY(-32px) translateX(14px) translateZ(34px); }
.book-note-shelf:hover .book-note-book--three { transform: rotate(-22deg) translate(-28px,12px) translateZ(28px); }
.book-note-shelf:hover .book-note-book--four { transform: rotate(28deg) translate(-36px,32px) translateZ(28px); }
@keyframes bookFloatOne { 0%,100% { transform: rotate(-22deg) translate(30px,16px) translateZ(14px); } 50% { transform: rotate(-16deg) translate(22px,2px) translateZ(20px); } }
@keyframes bookFloatTwo { 0%,100% { transform: rotate(10deg) translateY(-22px) translateX(12px) translateZ(24px); } 50% { transform: rotate(3deg) translateY(-28px) translateX(8px) translateZ(28px); } }
@keyframes bookFloatThree { 0%,100% { transform: rotate(-15deg) translate(-20px,8px) translateZ(18px); } 50% { transform: rotate(-20deg) translate(-28px,-12px) translateZ(22px); } }
@keyframes bookFloatFour { 0%,100% { transform: rotate(20deg) translate(-30px,24px) translateZ(20px); } 50% { transform: rotate(27deg) translate(-38px,10px) translateZ(26px); } }
.book-note-spark { position: absolute; z-index: 3; color: var(--brass); animation: spark 3s ease-in-out infinite; }
.book-note-spark--one { top: 26%; right: 4%; }
.book-note-spark--two { bottom: 28%; left: 2%; animation-delay: 1s; }
@keyframes spark { 50% { opacity: .4; transform: scale(1.25) rotate(18deg); } }

/* Collections */
.genres { background: var(--bg); }.genres-header { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-bottom: 3rem; }.genres-header .section-title { grid-column: 2; }.genres-header .section-eyebrow,.genres-header .section-rule,.genres-header .section-body { grid-column: 1; }.genre-slider { position: relative; isolation: isolate; contain: layout paint; height: 610px; overflow: hidden; background: var(--ink); border-radius: 28px; box-shadow: 0 28px 50px rgba(28,18,12,.12); border: 1px solid rgba(216,154,77,.18); }.slider-track { display: flex; height: 100%; transition: transform .8s var(--ease); }.slide { min-width: 100%; position: relative; overflow: hidden; }.slide-img { position: absolute; inset: 0; background: center/cover no-repeat; transform: scale(1.04); transition: transform 8s ease; }.slide[aria-hidden="false"] .slide-img { transform: scale(1); }.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(12,8,4,.82),rgba(12,8,4,.28) 68%,rgba(12,8,4,.12)); }.slide-content { position: absolute; left: 8%; bottom: 10%; z-index: 1; max-width: 540px; color: #f4ecdf; background: linear-gradient(135deg, rgba(17,12,8,.38), rgba(32,24,18,.12)); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); padding: 1.2rem 1.3rem; border-radius: 18px; box-shadow: 0 18px 30px rgba(0,0,0,.14); }.slide-eyebrow { color: var(--brass-light); font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }.slide-title { margin: .8rem 0; font: 500 clamp(2.5rem,6vw,5.6rem)/.95 var(--serif); letter-spacing: -.035em; }.slide-desc { max-width: 410px; color: rgba(244,236,223,.72); font-size: .9rem; line-height: 1.7; }.slider-progress { position: absolute; left: 8%; right: 8%; top: 2rem; z-index: 3; height: 1px; background: rgba(255,255,255,.25); }.slider-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, rgba(216,154,77,.4), rgba(255,255,255,.86)); box-shadow: 0 0 18px rgba(216,154,77,.55); }.slider-dots { position: absolute; right: 8%; bottom: 2rem; z-index: 3; display: flex; gap: .7rem; }.slider-dot { width: 22px; height: 22px; padding: 0; border: 0; color: rgba(244,236,223,.55); background: transparent; cursor: pointer; font-size: .6rem; }.slider-dot::after { content: none; }.slider-dot.is-active { color: var(--brass-light); border-bottom: 1px solid currentColor; }.slider-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(0,0,0,.18); cursor: pointer; transform: translateY(-50%); }.slider-arrow:hover { background: var(--brass); }.slider-arrow--prev { left: 2rem; }.slider-arrow--next { right: 2rem; }.genres-tags { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 3rem; border-top: 1px solid var(--line); }.genre-tag { display: flex; align-items: baseline; gap: .7rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font: 500 1rem var(--serif); }.genre-tag b { color: var(--brass); font: 600 .6rem var(--sans); letter-spacing: .1em; }

/* Visit */
.visit { background: var(--bg-soft); border-top: 1px solid var(--line); }.visit-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }.visit-heading > *:not(.section-title) { grid-column: 1; }.visit-heading .section-title { grid-column: 2; grid-row: 1/span 3; align-self: end; margin: 0; }.visit-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; margin-top: 4rem; align-items: stretch; }.info-block { border-top: 1px solid var(--brass); }
.info-item { position: relative; display: flex; gap: 1rem; padding: 1.2rem 1rem; border: 1px solid transparent; border-bottom: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.02)); overflow: hidden; transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease), background-color .28s var(--ease), color .28s var(--ease); }
.info-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.48) 48%, transparent 100%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.info-item:hover::before, .info-item:focus-visible::before { transform: translateX(120%); }
.info-item--map:hover, .info-item--map:focus-visible { border-color: rgba(21,91,122,.6); background: linear-gradient(135deg, rgba(73,146,186,.2), rgba(255,255,255,.52)); box-shadow: 0 24px 32px rgba(21,91,122,.18), 0 0 28px rgba(73,146,186,.22); }
.info-item--call:hover, .info-item--call:focus-visible { border-color: rgba(160,102,35,.6); background: linear-gradient(135deg, rgba(210,156,87,.2), rgba(255,255,255,.52)); box-shadow: 0 24px 32px rgba(160,102,35,.18), 0 0 28px rgba(210,156,87,.22); }
.info-item--chat:hover, .info-item--chat:focus-visible { border-color: rgba(28,110,52,.6); background: linear-gradient(135deg, rgba(68,170,92,.18), rgba(255,255,255,.52)); box-shadow: 0 24px 32px rgba(28,110,52,.16), 0 0 28px rgba(68,170,92,.22); }
.info-item--since:hover, .info-item--since:focus-visible { border-color: rgba(131,91,165,.6); background: linear-gradient(135deg, rgba(154,112,202,.18), rgba(255,255,255,.52)); box-shadow: 0 24px 32px rgba(131,91,165,.18), 0 0 28px rgba(154,112,202,.22); }
.info-item:hover, .info-item:focus-visible { transform: translateY(-4px); }
.info-item:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 4px; }
.visit a { --visit-glow: rgba(216,154,77,.72); animation: none; }
.visit.is-visible a { animation: visitLinkIntro .9s var(--ease) both, visitLinkSequence 5.6s 1s ease-in-out infinite; }
.visit .info-item--map { --visit-glow: rgba(73,146,186,.86); }
.visit .info-item--call { --visit-glow: rgba(210,156,87,.9); }
.visit .info-item--chat { --visit-glow: rgba(68,170,92,.86); }
.visit .map-footer a { --visit-glow: rgba(216,154,77,.9); }
.visit .visit-actions .btn-primary { --visit-glow: rgba(216,154,77,.9); }
.visit .visit-actions .btn-whatsapp { --visit-glow: rgba(68,170,92,.86); }
.visit .visit-actions .btn-ghost { --visit-glow: rgba(73,146,186,.86); }
.visit.is-visible .info-block .info-item--call { animation-delay: 0s, 2.4s; }
.visit.is-visible .info-block .info-item--chat { animation-delay: 0s, 3.1s; }
.visit.is-visible .map-footer a { animation-delay: 0s, 3.8s; }
.visit.is-visible .visit-actions .btn-primary { animation-delay: 0s, 4.5s; }
.visit.is-visible .visit-actions .btn-whatsapp { animation-delay: 0s, 5.2s; }
.visit.is-visible .visit-actions .btn-ghost { animation-delay: 0s, 5.9s; }
@keyframes visitLinkIntro { 0% { filter: saturate(1) brightness(1); box-shadow: 0 0 0 0 rgba(216,154,77,0); } 55% { filter: saturate(1.55) brightness(1.14); box-shadow: 0 0 0 4px var(--visit-glow); } 100% { filter: saturate(1.08) brightness(1.02); box-shadow: 0 0 0 0 rgba(216,154,77,0); } }
@keyframes visitLinkSequence { 0%,78%,100% { filter: saturate(1) brightness(1); box-shadow: 0 0 0 0 rgba(216,154,77,0); } 84%,92% { filter: saturate(1.4) brightness(1.1); box-shadow: 0 0 0 3px var(--visit-glow); } }
.info-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; color: var(--brass); background: linear-gradient(135deg, rgba(167,101,42,.12), rgba(167,101,42,.06)); font-size: .9rem; flex-shrink: 0; box-shadow: inset 0 0 0 1.2px rgba(167,101,42,.12); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.info-item:hover .info-icon { box-shadow: inset 0 0 0 1.2px rgba(167,101,42,.24), 0 0 16px rgba(216,154,77,.18); }
.info-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.info-content { position: relative; z-index: 1; flex: 1; }
.info-content strong { display: block; margin-bottom: .35rem; color: var(--ink-faint); font-size: .61rem; letter-spacing: .17em; text-transform: uppercase; }
.info-content span { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.map-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: 0 26px 38px rgba(34,20,12,.06); }
.map-embed { min-height: 340px; flex: 1; filter: sepia(.12) saturate(.88); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-footer { display: flex; justify-content: space-between; padding: .9rem 1rem; border-top: 1px solid var(--line); color: var(--brass); font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.map-footer a { transition: opacity .25s ease, transform .25s var(--ease); }
.map-footer a:hover { opacity: 1; transform: translateX(2px); }
.visit-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.visit-actions .btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }

/* Footer */
footer { padding: 5rem 0 2rem; color: var(--footer-ink); background: linear-gradient(180deg, #1a120d 0%, #120e0b 100%); }
.footer-inner { width: min(1120px,calc(100% - 5rem)); margin: 0 auto; display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 4rem; align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo { width: 58px; height: 58px; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); object-fit: cover; }
.footer-name { font: 500 2rem var(--serif); }
.footer-rule { width: 38px; height: 1px; margin: 1rem 0; background: var(--brass-light); }
.footer-since,.footer-address { color: var(--footer-soft); font-size: .82rem; }
.footer-nav,.footer-connect { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.footer-label { margin-bottom: .5rem; color: var(--brass-light); font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.footer-nav a,.footer-connect a { color: var(--footer-soft); font-size: .82rem; transition: color .2s,transform .2s var(--ease); }
.footer-nav a:hover,.footer-connect a:hover { color: var(--footer-ink); transform: translateX(3px); }
.footer-bottom { grid-column: 1/-1; margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(245,239,230,.42); font-size: .65rem; letter-spacing: .08em; }

:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 4px; }
@media (max-width: 900px) { .container,.footer-inner { width: min(100% - 3rem,680px); }.about-text { grid-column: 1/span 7; }.about-visual { grid-column: 8/-1; min-height: 500px; }.newbooks-grid { grid-template-columns: repeat(2,1fr); }.genres-header,.visit-heading { grid-template-columns: 1fr; }.genres-header .section-title,.visit-heading .section-title { grid-column: 1; grid-row: auto; }.genres-header .section-body { grid-column: 1; } }
@media (max-width: 640px) { .container,.footer-inner { width: calc(100% - 2.5rem); }nav { height: 62px; padding: 0 1.25rem; }.nav-links { display: none; }.nav-brand-text { font-size: 1.3rem; }.nav-tools { gap: .5rem; }.nav-hamburger { display: grid; }.nav-drawer { display: flex; flex-direction: column; top: 62px; }.nav-drawer-actions { grid-template-columns: 1fr; }.hero { min-height: 92svh; padding: 7rem 1.25rem 3.5rem; }.hero::after { inset: 7% 1.25rem; }.hero-title-main { font-size: clamp(3rem,16vw,4.6rem); }.hero-title-sub { font-size: clamp(2.7rem,14vw,4.2rem); }.hero-eyebrow { gap: .55rem; font-size: .55rem; letter-spacing: .15em; }.hero-eyebrow-line { width: 22px; }.hero-footnote { flex-wrap: wrap; font-size: .58rem; }section { padding: 5rem 0; }.section-title { font-size: clamp(2.5rem,12vw,4rem); }.about-inner { display: flex; flex-direction: column; gap: 2.5rem; align-items: stretch; }.about-visual { min-height: 320px; }.about-visual::after { right: .8rem; }.newbooks-header { display: block; }.newbooks-grid { grid-template-columns: repeat(2,1fr); gap: 1.5rem .75rem; }.book-card-label { font-size: .95rem; }.book-card-info { padding-top: .8rem; }.book-card-action { letter-spacing: .08em; }.book-note { padding: 5rem 0 4rem; }.book-note::before { top: 1.4rem; right: 1.25rem; }.book-note-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }.book-note-mark { writing-mode: initial; transform: none; }.book-note .section-title { font-size: clamp(3rem,14vw,5rem); }.book-note-shelf { align-self: center; width: 280px; min-height: 250px; }.book-note-books { height: 175px; }.book-note-book { width: 68px; height: 130px; }.book-note-book--two { height: 165px; }.book-note-book--four { width: 52px; height: 100px; }.genre-slider { height: 470px; }.slide-content { left: 1.5rem; right: 1.5rem; bottom: 4.5rem; }.slide-title { font-size: 3rem; }.slide-desc { display: none; }.slider-progress { left: 1.5rem; right: 1.5rem; top: 1.5rem; }.slider-dots { left: 1.5rem; right: auto; bottom: 1.5rem; }.slider-arrow { width: 34px; height: 34px; }.slider-arrow--prev { left: 1rem; }.slider-arrow--next { right: 1rem; }.genres-tags { grid-template-columns: repeat(2,1fr); margin-top: 2rem; }.genre-tag { font-size: .72rem; }.visit-grid { grid-template-columns: 1fr; gap: 2rem; }.info-item { padding: 1rem .8rem; }.info-content span { font-size: .9rem; }.map-embed { min-height: 260px; }.visit-actions { flex-direction: column; align-items: stretch; }.visit-actions .btn { width: 100%; }.footer-inner { grid-template-columns: 1fr; gap: 2rem; } } @media (max-width: 420px) { .visit-grid { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.5rem; }.map-embed { min-height: 250px; }.visit-actions { flex-direction: column; }.visit-actions .btn { width: 100%; }.footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }.footer-brand { grid-column: 1/-1; }.footer-bottom { margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 640px) {
  .hero { padding-inline: 1rem; }
  .hero-inner { width: min(100%, 22rem); }
  .hero-title { width: 100%; }
  .hero-title-main,
  .hero-title-typed {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: clamp(2.7rem, 14vw, 4.6rem);
    line-height: .9;
  }
}




