
:root{color-scheme:light;--ink:#241f33;--muted:#574d62;--paper:#faf7f3;--line:#dcd2df;--plum:#40254d;--accent:#705173}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.65 Georgia,serif}a{color:inherit}a:focus-visible{outline:2px solid currentColor;outline-offset:5px}html{scroll-padding-top:1rem}
.wrap{width:min(1080px,calc(100% - 48px));margin-inline:auto}.skip{position:absolute;left:1rem;top:-100px;background:white;padding:.5rem;z-index:3}.skip:focus{top:1rem}
header{background:#2c1c37;color:#fff6ef}.top{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #ffffff35}.brand{text-decoration:none;font-size:1.25rem}.top nav{display:flex;flex-wrap:wrap;gap:10px 25px;font: .9rem/1.4 Arial,sans-serif}.top nav a{text-decoration:none}.top nav a:hover{text-decoration:underline}
.hero{background:radial-gradient(ellipse at 82% 25%,#664361 0%,transparent 68%),linear-gradient(135deg,#2c1c37,#382145);padding:clamp(68px,11vw,148px) 0;color:#fff6ef}
.hero .intro{max-width:40rem}.label{font:700 .875rem/1.4 Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:var(--accent);margin:0 0 12px}.hero .label{color:#ecd4e8}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-weight:400;line-height:1.12}h1{font-size:clamp(3.15rem,9vw,7.4rem);letter-spacing:-.055em;margin-bottom:15px}h2{font-size:clamp(2.2rem,5.5vw,4rem);letter-spacing:-.04em;margin-bottom:26px}h3{font-size:clamp(1.65rem,3.3vw,2.45rem);margin-bottom:15px}h4{font-size:1.55rem;margin-bottom:12px}
.hero p:not(.label){font-size:clamp(1.15rem,2.4vw,1.5rem);max-width:34em;color:#f4e7ef;margin-bottom:30px}.button{display:inline-block;border:1px solid #f2d5e8;border-radius:2px;padding:9px 18px;text-decoration:none;font: .95rem/1.5 Arial,sans-serif}.button:hover{background:#fff6ef;color:#2c1c37}
section{padding-block:clamp(45px,7vw,84px)}#despre .wrap{display:grid;grid-template-columns:1fr 1.75fr;gap:22px}.prose{max-width:66ch;font-size:1.13rem;color:var(--muted)}.prose p:last-child,article p:last-child{margin-bottom:0}#carti{background:#f1ebf3}article{border-top:1px solid var(--line);padding-block:24px}article p{max-width:64ch;color:var(--muted)}.series{margin-top:14px}.book-with-cover{display:grid;grid-template-columns:minmax(115px,190px) minmax(0,1fr);gap:clamp(24px,5vw,60px);align-items:center}.book-with-cover figure{margin:0}.book-with-cover img{display:block;width:100%;height:auto;box-shadow:0 12px 24px #32213c29;border-radius:2px}.book-with-cover figcaption{margin-top:8px;color:var(--muted);font:.875rem/1.4 Arial,sans-serif}footer{padding:23px 0;background:#2c1c37;color:#fff6ef}
@media(max-width:620px){.wrap{width:calc(100% - 36px)}#despre .wrap{grid-template-columns:1fr;gap:0}.top{align-items:flex-start;justify-content:center;flex-direction:column;padding:13px 0}.book-with-cover{grid-template-columns:1fr}.book-with-cover figure{max-width:150px}}
.language{position:relative;font:.9rem/1.4 Arial,sans-serif}.language summary{cursor:pointer;border:1px solid #eed6e6;padding:.4rem .65rem;border-radius:2px}.language ul{position:absolute;right:0;z-index:2;min-width:9rem;background:#2c1c37;list-style:none;margin:.25rem 0 0;padding:.3rem;border:1px solid #eed6e6}.language a{display:block;padding:.35rem .5rem;text-decoration:none}.language a:hover,.language a[aria-current]{background:#664361}.top nav{align-items:center}
 .book-subtitle{font-style:italic;margin-bottom:.7rem}.fan{display:flex;justify-content:center;align-items:center;min-height:clamp(170px,31vw,360px);padding:clamp(30px,5vw,70px) 12px;isolation:isolate}.fan-cover{display:grid;place-content:center;flex:0 0 clamp(28px,11vw,135px);aspect-ratio:5/8;margin:0 0 0 clamp(-40px,-3vw,-7px);border:1px solid #af91ae;border-radius:3px;background:linear-gradient(150deg,#efe3ed,#9b779e);color:#2c1c37;box-shadow:0 6px 15px #26172f30;transform:translateY(calc(var(--arc) * .55rem)) rotate(calc(var(--angle) * 1deg));font-size:clamp(.7rem,2.55vw,1.4rem);transform-origin:center bottom}.fan-cover:first-child{margin-left:0}.fan-cover img{display:block;width:100%;height:100%;object-fit:contain}.fan-cover:has(img){display:block}.fan-cover:hover{z-index:2}
:root {
  --ink: #261f35;
  --muted: #514563;
  --paper: #fdfafd;
  --line: #e0d5e5;
  --accent: #68466f;
  --plum: #322039;
}
body { font-family: "Georgia", serif; }
header, footer { background: var(--plum); }
.hero {
  color: var(--ink);
  background:
    linear-gradient(90deg, #fff9feea, #fff9fe73 46%, #f4dbf325 78%),
    url("nebuloasa.webp") center 49% / cover,
    linear-gradient(130deg,#fff0f1,#e8dbf7 64%,#f6e5ed);
  padding: clamp(44px, 8vw, 112px) 0;
}
.hero .label { color: #68456b; }
.hero p:not(.label) { color: #3f324d; max-width: 26em; }
.hero h1 { font-size: clamp(3.15rem, 8.5vw, 7.25rem); }
.hero .button { background: var(--plum); color: #fff8ff; border-color: var(--plum); border-radius: 4px; }
.hero .button:hover { background: #583b60; }
.hero-layout { display: grid; grid-template-columns: 1.07fr 1fr; align-items: center; gap: 24px; }
.hero-books {
  position: relative; isolation: isolate; width: 100%; max-width: 475px;
  margin-inline: auto; aspect-ratio: 1.35;
}
.hero-book { position: absolute; width: 42%; top: 5%; border-radius: 3px; transition: translate .2s ease-out; }
.hero-book img, .book-card img, .upcoming-stack img {
  display: block; width: 100%; height: auto; border-radius: 3px;
  box-shadow: 0 16px 32px #38274645;
}
.hero-book:hover, .hero-book:focus-visible { translate: 0 -6px; z-index: 4; }
.hero-book.amintiri { left: 6%; top: 15%; rotate: -12deg; z-index: 1; }
.hero-book.viata { right: 6%; top: 14%; rotate: 12deg; z-index: 2; }
.hero-book.povestiri-1 { left: 29%; rotate: -1deg; z-index: 3; }
#carti { background: #f4edf6; }
.book-card {
  display: grid; grid-template-columns: clamp(150px, 23vw, 265px) minmax(0, 1fr);
  gap: clamp(18px, 3.6vw, 44px); align-items: start; padding-block: clamp(24px, 4vw, 44px);
}
.book-copy h3, .book-copy h4 { font-size: clamp(1.65rem, 3.3vw, 2.45rem); }
.series { margin-top: 35px; }
.upcoming {
  display: grid; grid-template-columns: 1fr .9fr; gap: clamp(18px, 5vw, 55px); align-items: center;
  background: linear-gradient(120deg, #fcf5fb, #ece1f4); border: 1px solid var(--line);
  border-radius: 6px; padding: clamp(22px, 5vw, 57px); margin-top: 20px;
}
.upcoming h4 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: .65rem; }
.upcoming p { color: var(--muted); max-width: 51ch; }
.upcoming p:last-child { margin-bottom: 0; }
.next-title { font-size: 1.3rem; font-weight: bold; margin-bottom: .55rem; }
.upcoming-stack { width: min(74%, 184px); position: relative; isolation: isolate; margin-inline: auto; }
.upcoming-stack img { position: relative; z-index: 1; rotate: -5deg; box-shadow: 0 8px 16px #38274645; }
.book-layer {
  position: absolute; inset: 0; border-radius: 3px; border: 1px solid #ac84ae;
  background: linear-gradient(100deg,#e4cde6 54%,#faf1df 94%,#c4a9cd);
  transform-origin: bottom; transform: translateX(calc(var(--layer) * 1.1%)) rotate(calc(var(--layer) * 1.25deg));
}
@media (max-width: 700px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-books { width: min(100%, 385px); }
  .upcoming { grid-template-columns: 1fr; gap: 26px; }
  .upcoming-stack { width: min(42%, 165px); }
}
@media (max-width: 560px) { .book-card { grid-template-columns: 1fr; } .book-card > img { width: min(57vw, 200px); margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .hero-book { transition: none; } }

.layer-1 { --layer: 1; }
.layer-2 { --layer: 2; }
.layer-3 { --layer: 3; }
.layer-4 { --layer: 4; }
.layer-5 { --layer: 5; }
.layer-6 { --layer: 6; }
.layer-7 { --layer: 7; }
.layer-8 { --layer: 8; }

/* Cadre magenta, cu filon auriu și siglă de autor */
:root { --plum: #631940; --accent: #784259; }
body { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; }
.top, footer {
  background-color: #ec2383;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  text-shadow: 0 1px 3px #330b26, 0 0 4px #330b26;
}
.top {
  width: 100%;
  padding-inline: max(clamp(18px, 4vw, 24px), calc((100% - 1080px) / 2));
  background-image: url("magenta-sus.webp");
}
footer { background-image: url("magenta-jos.webp"); }
.author-hero-mark {
  display: block;
  width: clamp(48px, 7vw, 72px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: .9rem;
}
.top .brand, .author-footer-brand { display: inline-flex; align-items: center; gap: .5em; }
.author-mark { display: block; width: 1em; height: 1em; flex: 0 0 auto; object-fit: contain; }
.hero {
  background:
    linear-gradient(90deg, #f8e8f4c9, #fff5fa85 44%, #f4dbf322 79%),
    url("nebuloasa.webp") center 49% / cover,
    linear-gradient(130deg, #fae4ef, #e8dbf7 64%, #f6e5ed);
}
#despre { background: linear-gradient(110deg, #f7edf5, #fffaf8 64%); }
#carti .wrap { width: min(1150px, calc(100% - clamp(36px, 5vw, 64px))); }
.book-copy { line-height: 1.7; }
.book-copy p { max-width: 78ch; }
.book-byline { margin-bottom: .65rem; font-style: italic; }

/* Actualizare conform machetei aprobate, 26 noiembrie 2026.
   Foaia este încărcată exclusiv de paginile /alma-sorien/. */
.top {
  background: #efd4ed url("rama-marmura-alma.webp") center / cover no-repeat;
  color: #350e52;
  text-shadow: none;
  border-bottom: 0;
  padding-block: 18px;
}
.top .brand, .hero h1 { color: #744265; }
.top .brand { font-size: 1.5rem; }
.top nav { min-width: 0; }
.top .language summary { border-color: #744265; background: #fff5fc45; }
.top .language ul { background: #f8e8f5; color: #350e52; border-color: #744265; }
.top .language a:hover, .top .language a[aria-current] { background: #e9cce5; }
.top a:focus-visible, .top summary:focus-visible, .hero .button:focus-visible {
  outline: 3px solid #350e52; outline-offset: 4px;
}
.hero .button { background: #744265; color: #fff; border-color: #744265; }
.hero .button:hover { background: #603552; border-color: #603552; }
@media (max-width: 620px) {
  .top { gap: 18px; background-position: 48% center; padding-block: 18px; }
  .top nav { width: 100%; gap: 14px 18px; }
  .top .language { flex-basis: 100%; }
  .top .language summary { width: fit-content; }
  .top .language ul { left: 0; right: auto; }
}
