:root {
  --burgundy: #661f2d;
  --burgundy-deep: #351019;
  --gold: #b79a59;
  --navy: #16283f;
  --cream: #f8f5ee;
  --ink: #292c32;
  --muted: #636570;
  --line: #ded8cd;
  --green: #073c31;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 15px/1.75 Arial, Helvetica, sans-serif; }
img { max-width: 100%; }
a { color: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a0803b; outline-offset: 6px; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.15; }
p { margin: 0 0 18px; }
.wrap { max-width: 1180px; margin: auto; padding: 0 40px; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 100; background: var(--navy); color: white; padding: 10px 18px; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-nav { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-name { display: block; font: 30px/1.05 Georgia, serif; letter-spacing: 1px; color: var(--burgundy); }
.brand-subtitle { display: block; margin-top: 6px; font: 9px/1.4 Arial, sans-serif; letter-spacing: 2.9px; text-transform: uppercase; color: #6f6256; }
.brand-icon { width: 42px; flex-shrink: 0; background: var(--burgundy-deep); }
.logo-window { position: relative; overflow: hidden; aspect-ratio: 500 / 660; }
.logo-window img { position: absolute; max-width: none; width: 257.6%; height: 111.82%; left: -21.2%; top: -7.12%; mix-blend-mode: screen; }
.desktop-nav { display: flex; align-items: center; gap: 26px; font-size: 12px; }
.desktop-nav a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--burgundy); border-color: var(--gold); }
.desktop-nav .nav-contact { border: 1px solid #c6b894; padding: 9px 17px; color: var(--navy); }
.mobile-menu { display: none; }
.eyebrow { font: 600 10px/1.5 Arial, sans-serif; letter-spacing: 2.2px; text-transform: uppercase; color: #7e6539; display: flex; align-items: center; gap: 12px; }
.eyebrow:before { content: ''; width: 27px; height: 1px; background: var(--gold); flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 23px; font-size: 12px; text-decoration: none; border: 1px solid var(--burgundy); background: var(--burgundy); color: #fff; transition: background .2s, border-color .2s; line-height: 1.6; }
.button:hover { background: #812b3a; border-color: #812b3a; }
.button.navy { background: var(--navy); border-color: var(--navy); }
.button.navy:hover { background: #263f5d; border-color: #263f5d; }
.button.gold { background: #ddc693; color: #29141b; border-color: #ddc693; }
.button.gold:hover { background: #efdbac; border-color: #efdbac; }
.text-link { display: inline-flex; align-items: center; gap: 18px; color: var(--navy); font-size: 12px; text-underline-offset: 6px; text-decoration-color: #bfb39d; }
.text-link:hover { color: var(--burgundy); }
.home-hero { padding: 66px 0 68px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.home-hero h1 { font-size: clamp(42px, 4.7vw, 65px); line-height: 1.08; letter-spacing: -1.5px; margin: 23px 0; }
.home-hero h1 em { color: var(--burgundy); font-weight: 400; }
.home-hero .hero-description { max-width: 445px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 29px; }
.hero-actions .text-link { font-size: 11px; }
.hero-seal { background: var(--burgundy-deep); color: #f9edd0; min-height: 510px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-direction: column; isolation: isolate; padding: 38px 26px; }
.hero-seal:before, .hero-seal:after { content: ''; position: absolute; inset: 16px; border: 1px solid #c2a56566; z-index: -1; }
.hero-seal:after { inset: 24px; border-color: #c2a56524; }
.seal-kicker { font-size: 8px; text-transform: uppercase; letter-spacing: 3px; color: #d9c393; text-align: center; }
.hero-seal .logo-window { width: 240px; max-width: 73%; margin: 14px 0 3px; animation: seal-float 8s ease-in-out infinite; }
.seal-title { font: 24px/1.2 Georgia, serif; text-align: center; margin: 2px 0 6px; }
.seal-subtitle { color: #cdbb9e; font-size: 8px; letter-spacing: 3px; text-transform: uppercase; text-align: center; margin: 0; }
.house-band { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 9px; text-transform: uppercase; letter-spacing: 1.7px; color: #655d54; }
.house-band span:before { content: '✦'; color: var(--gold); font-size: 10px; margin-right: 14px; }
.house-intro { padding: 88px 0 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; position: relative; }
.house-intro h2 { font-size: 41px; margin: 20px 0 0; max-width: 430px; }
.house-intro .intro-copy { padding-top: 31px; max-width: 480px; }
.house-intro p { font-size: 14px; color: var(--muted); }
.house-intro .signature-line { font-family: Georgia, serif; font-size: 20px; line-height: 1.5; color: var(--burgundy); margin-top: 25px; }
.services { padding: 64px 0 76px; background: #efeae0; border-top: 1px solid #e5ddce; border-bottom: 1px solid #e5ddce; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 34px; }
.section-heading h2 { font-size: 38px; margin: 17px 0 0; }
.section-heading > p { max-width: 270px; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.service-item { border-top: 1px solid #b9a584; padding-top: 24px; }
.service-number { color: var(--burgundy); font: italic 21px Georgia, serif; }
.service-item h3 { font-size: 26px; margin: 20px 0 14px; }
.service-item p { font-size: 13px; color: var(--muted); margin-bottom: 17px; }
.service-item .text-link { font-size: 11px; }
.featured-section { padding: 82px 0 86px; }
.featured-book { display: grid; grid-template-columns: .86fr 1.14fr; background: #fffdf8; border: 1px solid #e1d9cb; }
.book-display { background: #073c31; display: flex; align-items: center; justify-content: center; position: relative; min-height: 420px; padding: 44px 24px; overflow: hidden; }
.book-display:before { content: ''; position: absolute; inset: 20px; border: 1px solid #cbb16d50; }
.book-display img { position: relative; width: 202px; height: auto; display: block; transform: rotate(-5deg); box-shadow: 16px 20px 24px #001a16a6; }
.book-description { padding: 45px 50px; align-self: center; }
.book-category { font-size: 9px; color: #6b6b65; text-transform: uppercase; letter-spacing: 1.8px; }
.book-description h2, .book-description h3 { font-size: 35px; margin: 15px 0; }
.book-description h2 a, .book-description h3 a { text-decoration: none; }
.book-description h2 a:hover, .book-description h3 a:hover { color: var(--burgundy); }
.book-description p { color: var(--muted); font-size: 14px; }
.book-description .book-author { font-size: 11px; margin: 20px 0 24px; }
.book-description .book-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.library-grid .featured-book { grid-template-columns: minmax(0, 1fr); grid-template-rows: 330px 1fr; }
.library-grid .book-display { min-height: 330px; }
.library-grid .book-display img { height: 248px; width: auto; max-width: 85%; object-fit: contain; }
.library-grid .book-description { align-self: stretch; padding: 30px; display: flex; flex-direction: column; }
.library-grid .book-description h2, .library-grid .book-description h3 { font-size: 31px; }
.library-grid .book-actions { margin-top: auto; gap: 16px 20px; }
.library-grid .book-actions .text-link { font-size: 11px; }
.book-description .collection-label { color: var(--burgundy); font-size: 12px; margin: -4px 0 12px; }
.featured-book--youth .book-display { background: var(--navy); }
.featured-book--adult .book-display { background: var(--burgundy-deep); }
.featured-book--aisha .book-display { background: var(--navy); }
.featured-book--abu-bakr .book-display { background: var(--green); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-card { display: flex; flex-direction: column; text-decoration: none; background: #fffdf8; border: 1px solid #e1d9cb; transition: border-color .2s, box-shadow .2s; }
.category-card:hover { border-color: var(--gold); box-shadow: 0 8px 24px #3510190a; }
.category-art { position: relative; display: flex; justify-content: center; align-items: center; height: 282px; padding: 29px 20px 38px; overflow: hidden; isolation: isolate; }
.category-art:before { content: ''; position: absolute; inset: 15px; border: 1px solid #d6b87455; z-index: -1; }
.category-art img { display: block; height: 212px; width: auto; max-width: 90%; object-fit: contain; box-shadow: 12px 15px 20px #0005; transform: rotate(-4deg); transition: transform .3s; }
.category-card:hover .category-art img { transform: rotate(-1deg) translateY(-3px); }
.category-card--monde-islamique .category-art { background: var(--burgundy-deep); }
.category-card--adultes .category-art { background: #e7dac0; }
.category-card--adultes .category-art:before { border-color: #9c793f66; }
.category-card--enfants .category-art { background: var(--navy); }
.category-card--enfants .category-art img { height: 195px; }
.category-card--papeterie-decoration .category-art { background: var(--burgundy-deep); color: #d9bd82; }
.stationery-illustration { width: 220px; max-width: 90%; height: 220px; display: block; }
.category-count { position: absolute; bottom: 14px; right: 25px; font-size: 9px; letter-spacing: 1px; color: #e3cfac; }
.category-card--adultes .category-count { color: #69502d; }
.category-copy { padding: 26px 20px 28px; flex: 1; display: flex; flex-direction: column; }
.category-label { font-size: 8px; text-transform: uppercase; letter-spacing: 1.5px; color: #7d6543; }
.category-copy h3 { font-size: 25px; margin: 15px 0; color: var(--navy); }
.category-copy p { font-size: 12px; color: var(--muted); margin: 0 0 22px; }
.category-action { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 11px; color: var(--burgundy); }
.category-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.category-nav a { display: inline-flex; justify-content: center; align-items: center; padding: 11px 17px; border: 1px solid #d6ccba; text-decoration: none; font-size: 11px; line-height: 1.6; color: var(--navy); transition: background .2s, border-color .2s; }
.category-nav a:hover { background: #eee7d9; border-color: #bca67b; }
.category-nav a[aria-current="page"] { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.biography { position: relative; isolation: isolate; background: var(--navy); color: #f9f4e9; padding: 80px 0; overflow: hidden; }
.biography .eyebrow { color: #dbc18a; }
.biography .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 95px; position: relative; }
.biography h2 { font-size: 42px; margin: 21px 0 23px; }
.biography p { color: #c7d0dd; font-size: 14px; max-width: 490px; }
.biography .button { margin-top: 9px; }
.bio-options { align-self: center; }
.bio-option { border-top: 1px solid #c3ad7959; padding: 24px 0 10px; }
.bio-option h3 { font-size: 24px; color: #ead9b4; margin: 0 0 13px; }
.bio-option p { font-size: 13px; }
.watermark { position: absolute; right: -70px; bottom: -100px; width: 460px; opacity: .06; z-index: -1; pointer-events: none; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding: 76px 0 84px; }
.contact-section h2 { font-size: 38px; margin: 19px 0 0; }
.contact-copy { padding-top: 28px; }
.contact-copy p { color: var(--muted); font-size: 14px; }
.contact-email { display: inline-flex; align-items: center; gap: 17px; color: var(--burgundy); font-family: Georgia, serif; font-size: clamp(18px, 2vw, 25px); text-decoration-thickness: 1px; text-underline-offset: 8px; max-width: 100%; overflow-wrap: anywhere; }
.contact-email span:first-child { overflow-wrap: anywhere; }
.site-footer { background: #efeae0; border-top: 1px solid var(--line); padding: 36px 0 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 40px; }
.footer-top .site-brand .brand-name { font-size: 25px; }
.footer-top p { font-size: 12px; max-width: 285px; color: #6f675f; margin: 17px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 28px; padding-top: 15px; font-size: 11px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 29px; padding-top: 18px; border-top: 1px solid #d9d1c3; color: #746f67; font-size: 10px; display: flex; justify-content: space-between; gap: 24px; }
.catalog-heading { padding: 56px 0 44px; max-width: 690px; }
.catalog-heading h1 { margin: 19px 0; font-size: 55px; color: var(--navy); }
.catalog-heading p { color: var(--muted); font-size: 15px; max-width: 560px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; color: #766e62; font-size: 10px; padding-top: 27px; }
.breadcrumb a { text-underline-offset: 3px; }
.catalog-books { padding-bottom: 80px; }
.catalog-empty { padding: 46px 28px; border: 1px solid #ded4c2; text-align: center; background: #f0e9dc; }
.catalog-empty .stationery-illustration { margin: 0 auto 18px; color: #98763e; width: 160px; height: 150px; }
.catalog-empty h2 { margin: 0 0 17px; font-size: 29px; color: var(--navy); }
.catalog-empty p { max-width: 470px; margin: 0 auto 22px; font-size: 14px; color: var(--muted); }
.catalog-note { padding: 42px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.catalog-note p { margin: 0; font-family: Georgia, serif; font-size: 23px; color: var(--navy); }
.book-page .button { background: #073c31; border-color: #073c31; }
.book-page .button:hover { background: #125340; border-color: #125340; }
.book-page .hero { padding-top: 40px; }
.book-page .site-footer { line-height: 1.75; }
.youth-page h1 em { color: var(--burgundy); }
.youth-page .lead, .youth-page .intro p, .youth-page .purchase p { color: var(--muted); }
.youth-page .visual { background: var(--navy); min-height: 510px; }
.youth-page .visual img { width: 345px; max-width: 100%; border-left: 0; transform: rotate(-3deg); }
.book-page.youth-page .button { background: var(--navy); border-color: var(--navy); }
.book-page.youth-page .button:hover { background: #263f5d; border-color: #263f5d; }
.youth-page .spirit { background: var(--navy); }
.youth-page .spirit p { color: #c7d0dd; }
.youth-page .moments small { color: #c3ccd9; }
.adult-page h1 em { color: var(--burgundy); }
.adult-page .visual, .adult-page .spirit { background: var(--burgundy-deep); }
.book-page.adult-page .button { background: var(--burgundy); border-color: var(--burgundy); }
.book-page.adult-page .button:hover { background: #812b3a; border-color: #812b3a; }
.adult-page .spirit p, .adult-page .moments small { color: #e0cdc4; }
.journal-page h1 { font-size: clamp(44px, 4.4vw, 60px); }
.journal-page .lead, .journal-page .intro p, .journal-page .purchase p { color: var(--muted); }
.journal-page--navy h1 em { color: #506675; }
.journal-page--navy .visual { background: var(--navy); }
.book-page.journal-page--navy .button { background: var(--navy); border-color: var(--navy); }
.book-page.journal-page--navy .button:hover { background: #263f5d; border-color: #263f5d; }
.journal-page--green h1 em { color: #4d6d56; }
@keyframes seal-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (min-width: 1400px) { .wrap { max-width: 1240px; } .home-hero { gap: 90px; } }
@media (max-width: 1000px) {
  .wrap { padding: 0 28px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
  .category-copy { padding: 27px 26px 28px; }
  .desktop-nav { gap: 16px; font-size: 11px; }
  .home-hero { gap: 35px; }
  .home-hero h1 { font-size: 49px; }
  .hero-seal { min-height: 490px; }
  .house-intro, .biography .wrap, .contact-section { gap: 55px; }
  .book-description { padding: 34px; }
  .book-description h2, .book-description h3 { font-size: 31px; }
}
@media (max-width: 780px) {
  .wrap { padding: 0 23px; }
  .site-nav { min-height: 86px; }
  .brand-name { font-size: 26px; }
  .brand-subtitle { font-size: 8px; letter-spacing: 2.5px; }
  .brand-icon { width: 33px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: center; font-size: 11px; padding: 10px 0 10px 12px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu-links { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px #1c14220d; padding: 13px 23px 23px; }
  .mobile-menu-links a { display: block; padding: 13px 0; border-bottom: 1px solid #e5dfd2; font-size: 14px; text-decoration: none; }
  .home-hero { grid-template-columns: 1fr; gap: 33px; padding: 42px 0; }
  .home-hero h1 { font-size: clamp(40px, 8vw, 58px); letter-spacing: -1px; max-width: 580px; }
  .home-hero .hero-description { max-width: 550px; }
  .hero-actions { gap: 20px; }
  .hero-seal { min-height: 440px; padding: 30px 20px; }
  .hero-seal .logo-window { width: 200px; }
  .house-band { justify-content: center; font-size: 8px; gap: 10px 17px; }
  .house-band span:before { margin-right: 8px; }
  .house-intro, .contact-section { grid-template-columns: 1fr; gap: 20px; padding: 55px 0; }
  .house-intro .intro-copy, .contact-copy { padding-top: 0; max-width: none; }
  .house-intro h2, .section-heading h2, .contact-section h2 { font-size: 33px; }
  .house-intro h2 { max-width: 520px; }
  .house-intro .signature-line { margin-top: 15px; }
  .services { padding: 48px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 27px; }
  .section-heading > p { max-width: 450px; }
  .service-grid { grid-template-columns: 1fr; gap: 29px; }
  .service-item { padding-top: 19px; }
  .service-item h3 { font-size: 26px; margin: 12px 0; }
  .service-item p { max-width: 560px; }
  .featured-section { padding: 54px 0; }
  .category-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .category-art { height: 267px; }
  .category-art img { height: 202px; }
  .category-copy { padding: 26px; }
  .category-copy h3 { font-size: 29px; }
  .category-copy p { max-width: 500px; }
  .category-nav { gap: 8px; margin-bottom: 26px; }
  .category-nav a { padding: 10px 13px; font-size: 10px; }
  .featured-book { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: minmax(0, 1fr); }
  .library-grid .featured-book { grid-template-rows: 330px 1fr; }
  .library-grid .book-description { padding: 29px 25px 33px; }
  .book-display { min-height: 390px; padding: 42px 20px; }
  .book-display img { width: 190px; }
  .book-description { padding: 29px 25px 33px; }
  .book-description h2, .book-description h3 { font-size: 31px; }
  .biography { padding: 54px 0 40px; }
  .biography .wrap { grid-template-columns: 1fr; gap: 30px; }
  .biography h2 { font-size: 36px; }
  .biography p { max-width: 560px; }
  .bio-option { padding: 20px 0 4px; }
  .contact-email { font-size: 21px; gap: 10px; }
  .footer-top { flex-direction: column; gap: 17px; }
  .footer-links { padding-top: 0; gap: 14px 24px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .catalog-heading { padding: 35px 0 25px; }
  .catalog-heading h1 { font-size: 44px; }
  .catalog-books { padding-bottom: 55px; }
  .catalog-note { align-items: start; flex-direction: column; gap: 12px; }
  .book-page .hero { padding-top: 26px; }
  .youth-page .hero .visual { min-height: 380px; }
}
@media (max-width: 360px) {
  .wrap { padding: 0 18px; }
  .home-hero h1 { font-size: 38px; }
  .contact-email { font-size: 18px; }
  .hero-actions { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
