:root {
  --paper: #f4f5f0;
  --field: #e3e8dc;
  --ink: #253d32;
  --muted: #59665c;
  --accent: #526a44;
  --stage: #243e34;
  --margin: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: 'Tajawal', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; background: none; border: 0; }
a:focus-visible, button:focus-visible, canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 500; letter-spacing: -.7px; }
p { line-height: 1.9; text-wrap: pretty; }
svg { width: 21px; height: 21px; stroke-width: 1.5; }
.site-header { height: 98px; padding: 0 var(--margin); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.wordmark { display: flex; align-items: center; gap: 13px; }
.wordmark > span:last-child { font-size: 24px; font-weight: 700; letter-spacing: -.8px; }
.wordmark small { display: block; text-align: left; font-size: 13px; letter-spacing: 0; font-weight: 400; color: var(--muted); margin-top: 6px; }
.brand-symbol { font-family: Georgia, serif; font-size: 44px; font-style: italic; line-height: 1; width: 38px; position: relative; color: var(--accent); }
.brand-symbol:after { content: ''; position: absolute; border: 1px solid var(--accent); width: 29px; height: 38px; right: 9px; top: 4px; border-radius: 50%; transform: rotate(-30deg); }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.site-header nav a { padding: 14px 0; transition: color .2s; }
.site-header nav a:hover, .hero-about:hover { color: var(--accent); }
.portal-link { display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 14px; min-height: 44px; padding: 11px 18px; background: var(--field); transition: background .2s; }
.portal-link:hover { background: #d5ddca; }
.mobile-menu { display: none; }
/* At 1440: 1376 available - 28 gap = 1348; .54/.46 columns = 728 + 620. */
.public-grid { display: grid; grid-template-columns: minmax(0,54fr) minmax(0,46fr); padding-inline: var(--margin); gap: 28px; align-items: start; }
.text-column { min-width: 0; padding-left: 45px; }
.hero { min-height: calc(100svh - 112px); padding: clamp(55px,7vw,105px) 0 48px; display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { font-size: clamp(56px,5.7vw,88px); line-height: 1.2; letter-spacing: -2px; font-weight: 500; }
.hero-description { font-size: 19px; max-width: 410px; line-height: 1.95; margin: 30px 0 28px; }
.hero-action { display: flex; gap: 21px; align-items: center; flex-wrap: wrap; }
.hero-action > span { font-size: 13px; color: var(--muted); }
.button { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 16px 22px; min-height: 54px; font-size: 15px; border: 1px solid var(--accent); transition: background .2s, color .2s, transform .2s; }
.button.filled { color: white; background: var(--accent); }
.button:hover { background: var(--ink); color: white; }
.button:active { transform: translateY(2px); }
.button span { font-size: 23px; line-height: 1; }
.hero-author { display: flex; align-items: center; gap: 14px; margin-top: 43px; }
.author-monogram { display: flex; align-items: center; justify-content: center; width: 49px; height: 49px; border-radius: 50%; background: var(--field); color: var(--accent); font-size: 21px; }
.hero-author strong { display: block; font-size: 16px; font-weight: 500; }
.hero-author p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.hero-about { font-size: 13px; margin-top: 18px; margin-right: 63px; padding-block: 5px; }
.book-column { position: sticky; top: 16px; height: calc(100svh - 114px); min-height: 650px; background: var(--stage); color: #f1f3eb; display: flex; flex-direction: column; padding: 25px 27px 26px; overflow: hidden; }
.book-stage-head { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; line-height: 1.6; color: #cdd6c8; }
.book-canvas { width: 100%; flex: 1; min-height: 0; position: relative; }
.book-canvas > img { height: 82%; max-width: 80%; object-fit: contain; position: absolute; top: 7%; left: 50%; transform: translateX(-50%) rotate(-6deg); }
.book-canvas canvas { display: block; cursor: grab; }
.book-column :focus-visible { outline-color: #e0e7d7; }
.book-interaction { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 0; font-size: 13px; color: #cdd6c8; }
.book-view-controls { display: flex; align-items: center; gap: 4px; }
.book-view-controls button { min-height: 44px; font-size: 13px; padding: 8px 9px; color: #f1f3eb; transition: background .2s; }
.book-view-controls button:hover, .book-view-controls button[aria-pressed=true] { background: #3a5145; }
.book-view-controls button:last-child { width: 36px; padding: 8px; }
.book-view-controls svg { width: 18px; height: 18px; }
.book-stage-caption { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding-top: 20px; }
.book-stage-caption p { font-size: 26px; line-height: 1.4; font-weight: 500; }
.book-stage-caption div > span { display: block; font-size: 13px; color: #cdd6c8; margin-top: 9px; }
.book-note { font-size: 13px; line-height: 1.8; color: #cdd6c8; text-align: left; }
.text-column > section:not(.hero) { padding-block: 92px; }
.text-column h2 { font-size: clamp(34px,3.4vw,50px); line-height: 1.35; margin-bottom: 30px; }
.about-section p { font-size: 18px; max-width: 505px; margin-bottom: 22px; line-height: 1.95; }
.about-qualification { display: flex; align-items: center; gap: 25px; margin: 33px 0; }
.about-qualification > span { font-size: 35px; font-weight: 500; direction: ltr; }
.about-qualification p { font-size: 14px; margin: 0; color: var(--muted); line-height: 1.7; }
.signature { font-size: 27px; margin: 27px 0 18px; }
.inline-link { font-size: 15px; display: inline-flex; align-items: center; gap: 30px; min-height: 44px; padding: 0; }
.inline-link span { font-size: 22px; }
.services-section { background: #e1e7d9; padding-inline: 29px; }
.section-intro p, .section-description { font-size: 17px; line-height: 1.85; max-width: 425px; }
.service-tabs { display: flex; gap: 28px; margin: 30px 0 8px; }
.service-tabs button { font-size: 16px; color: var(--muted); padding: 12px 0; position: relative; min-height: 44px; }
.service-tabs [aria-selected=true] { color: var(--ink); font-weight: 700; }
.service-tabs [aria-selected=true]:after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.public-service { padding: 27px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 18px; align-items: center; }
.public-service h3 { font-size: 23px; line-height: 1.45; letter-spacing: -.3px; }
.public-service p { font-size: 16px; color: #475442; grid-column: 1; max-width: 365px; line-height: 1.85; }
.public-service a { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 10px; }
.public-service a > span:last-child { font-size: 25px; transition: transform .2s; }
.public-service a:hover > span:last-child { transform: translate(-3px,-3px); }
.public-service-price { font-size: 28px; white-space: nowrap; }
.public-service-price span { font-size: 13px; margin-right: 3px; }
.service-note { font-size: 13px; line-height: 1.9; margin-top: 22px; color: #475442; }
.package-fields { display: grid; grid-template-columns: 44fr 56fr; margin-top: 35px; }
.package { padding: 32px 22px; display: flex; flex-direction: column; }
.package h3 { font-size: 29px; line-height: 1.4; letter-spacing: -.5px; white-space: nowrap; }
.package > p { font-size: 16px; line-height: 1.8; margin-top: 15px; min-height: 60px; }
.package-includes { font-size: 15px; line-height: 2.1; margin: 30px 0; min-height: 100px; }
.package-price { font-size: 54px; white-space: nowrap; margin: auto 0 23px; line-height: 1; }
.package-price span { font-size: 15px; }
.starter { background: #e3e8dc; }
.career { background: var(--stage); color: white; }
.package .button { padding: 13px 13px; font-size: 14px; gap: 12px; }
.career .button { border-color: #a3b49a; }
.career .button:hover { background: #f4f5f0; color: var(--ink); }
.org-package { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-top: 30px; }
.org-package h3 { font-size: 25px; }
.org-package p { font-size: 15px; color: var(--muted); margin-top: 7px; }
.org-package a { font-size: 14px; white-space: nowrap; padding-block: 7px; }
.book-subtitle { font-size: 27px; line-height: 1.7; margin-bottom: 23px; }
.book-section > p:not(.book-subtitle) { font-size: 18px; max-width: 480px; line-height: 1.9; }
.book-section > .model-note { font-size: 13px !important; color: var(--muted); margin-top: 17px; }
.book-inline { display: flex; gap: 30px; align-items: center; margin-top: 32px; }
.book-inline img { width: 130px; height: auto; object-fit: contain; }
.book-inline p { font-size: 26px; line-height: 1.65; margin-bottom: 18px; }
.faq-copy p { font-size: 17px; margin-bottom: 25px; line-height: 1.95; }
.faq-copy strong { display: block; font-weight: 500; margin-bottom: 7px; }
.contact-section { margin: 65px var(--margin) 0; padding: 72px 45px; display: flex; justify-content: space-between; align-items: center; gap: 50px; background: var(--stage); color: var(--paper); }
.contact-section h2 { font-size: clamp(38px,4.4vw,68px); line-height: 1.3; margin-bottom: 22px; }
.contact-section p { font-size: 18px; color: #d3dbcd; }
.contact-section .button { display: inline-flex; margin-top: 30px; border-color: #b0c1a3; }
.contact-section .button:hover { background: var(--paper); color: var(--ink); }
.contact-email { font-size: clamp(27px,3.2vw,48px); line-height: 1.35; letter-spacing: -1px; }
.site-footer { padding: 64px var(--margin) 28px; }
.footer-brand { font-size: clamp(48px,10.8vw,175px); line-height: 1; letter-spacing: -.045em; font-weight: 500; display: block; direction: ltr; text-align: left; }
.footer-links { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 35px; font-size: 14px; }
.site-footer > p { font-size: 13px; color: var(--muted); margin-top: 25px; }
#mobile-book-slot { display: none; }
@media (min-width:1700px) { .hero { padding-top: 110px; }.text-column { padding-left: 60px; }.public-grid { gap: 40px; }.text-column > section:not(.hero) { padding-block: 115px; } }
@media (max-width:1180px) { .public-grid { grid-template-columns: minmax(0,52fr) minmax(0,48fr); gap: 23px; }.text-column { padding-left: 10px; }.hero h1 { font-size: 65px; }.hero-description { font-size: 18px; }.hero-action { gap: 15px; }.hero-author strong { font-size: 15px; }.book-column { padding-inline: 22px; }.book-stage-head { display: block; }.book-edition { display: none; }.book-interaction { flex-wrap: wrap; gap: 3px; }.book-stage-caption { align-items: start; }.book-note { display: none; }.book-stage-caption p { font-size: 24px; }.package-fields { grid-template-columns: 1fr; }.package > p { min-height: 0; }.package-includes { min-height: 0; margin: 25px 0; }.public-service { gap: 10px; }.public-service h3 { font-size: 21px; }.public-service-price { font-size: 24px; }.services-section { padding-inline: 22px; }.site-header nav { gap: 23px; } }
@media (max-width:900px) and (min-width:761px) { .hero h1 { font-size: 53px; }.hero { padding-top: 60px; }.hero-author { gap: 9px; }.author-monogram { display: none; }.hero-about { margin-right: 0; }.book-column { min-height: 610px; }.book-interaction { font-size: 13px; }.book-view-controls button { padding-inline: 7px; }.contact-email { font-size: 28px; }.site-header nav { gap: 16px; font-size: 14px; }.wordmark > span:last-child { font-size: 20px; }.portal-link { padding-inline: 12px; gap: 10px; } }
@media (max-width:1000px) {
  :root { --margin: 20px; }
  .site-header { height: 78px; gap: 12px; flex-wrap: wrap; }
  .wordmark { gap: 8px; }.wordmark > span:last-child { font-size: 18px; letter-spacing: -.6px; }.wordmark small { display: none; }
  .brand-symbol { font-size: 35px; width: 29px; }.brand-symbol:after { width: 23px; height: 30px; }
  .portal-link { min-height: 44px; font-size: 13px; gap: 8px; padding: 9px 11px; }.portal-link svg { width: 16px; }
  .mobile-menu { display: flex; align-items: center; justify-content: center; width: 28px; min-height: 44px; padding: 7px 0; font-size: 0; }.mobile-menu svg { width: 20px; height: 20px; }
  .site-header nav { display: none; }.site-header.menu-open { height: auto; padding-top: 17px; padding-bottom: 15px; }.site-header.menu-open nav { display: flex; order: 4; flex-basis: 100%; justify-content: space-between; font-size: 15px; gap: 15px; }
  .public-grid { display: block; }.text-column { padding: 0; }
  .hero { padding: 28px 0 38px; min-height: 0; align-items: stretch; }
  .hero h1 { font-size: clamp(42px,11.7vw,57px); line-height: 1.18; letter-spacing: -.9px; }
  #mobile-book-slot { display: block; margin-top: 23px; }
  .book-column { position: relative; top: 0; height: 410px; min-height: 0; padding: 17px 17px 13px; }
  .book-stage-head { display: block; font-size: 13px; }.book-edition { display: none; }.book-canvas { height: 310px; flex: 1; min-height: 0; }
  .book-interaction { flex-wrap: nowrap; font-size: 13px; gap: 5px; }.book-interaction > span { max-width: 88px; line-height: 1.5; }
  .book-view-controls { gap: 0; }.book-view-controls button { padding-inline: 8px; font-size: 13px; }.book-view-controls button:last-child { width: 31px; padding-inline: 6px; }
  .book-stage-caption { display: none; }
  .hero-description { margin: 24px 0 20px; font-size: 17px; line-height: 1.9; }
  .hero-action { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }.hero-action .button { font-size: 15px; padding-inline: 19px; min-width: 190px; }.hero-action > span { font-size: 13px; }
  .hero-author { margin-top: 28px; gap: 12px; }.author-monogram { width: 43px; height: 43px; font-size: 19px; }.hero-author strong { font-size: 14px; line-height: 1.6; }.hero-author p { font-size: 13px; line-height: 1.6; margin-top: 4px; }.hero-about { margin-right: 55px; margin-top: 10px; }
  .text-column > section:not(.hero) { padding-block: 65px; }.text-column h2 { font-size: 36px; margin-bottom: 25px; }
  .about-section p { font-size: 17px; }.about-qualification { gap: 20px; }.about-qualification p { font-size: 14px; }.about-qualification > span { font-size: 32px; }
  .signature { font-size: 26px; }.inline-link { font-size: 15px; }
  .services-section { margin-inline: -20px; padding-inline: 20px; }.section-intro p, .section-description { font-size: 17px; }
  .service-tabs { margin-top: 22px; }.public-service { padding-block: 24px; gap: 9px 13px; }.public-service h3 { font-size: 22px; }.public-service p { font-size: 16px; }.public-service-price { font-size: 26px; }.public-service-price span { font-size: 13px; }.public-service a { gap: 7px; }.public-service a > span:last-child { font-size: 21px; }
  .service-note { font-size: 13px; }.package-fields { grid-template-columns: 1fr; margin-top: 28px; }.package { padding: 30px 25px; }.package h3 { font-size: 32px; }.package > p { font-size: 17px; min-height: 0; }.package-includes { font-size: 17px; margin: 25px 0; min-height: 0; }.package-price { font-size: 60px; }.package .button { padding: 15px 17px; font-size: 15px; }
  .org-package { display: block; }.org-package h3 { font-size: 26px; }.org-package p { font-size: 16px; }.org-package a { display: inline-block; padding-top: 17px; font-size: 15px; }
  .book-subtitle { font-size: 26px; }.book-section > p:not(.book-subtitle) { font-size: 17px; }.book-inline { gap: 23px; }.book-inline img { width: 114px; }.book-inline p { font-size: 24px; }.book-inline .inline-link { font-size: 14px; }.faq-copy p { font-size: 17px; }
  .contact-section { display: block; padding: 40px 24px; margin-top: 20px; }.contact-section h2 { font-size: 38px; }.contact-section p { font-size: 17px; }.contact-section .button { margin-top: 25px; font-size: 15px; }.contact-email { display: block; font-size: 28px; margin-top: 40px; letter-spacing: -.3px; }
  .site-footer { padding-top: 45px; }.footer-brand { font-size: 11.8vw; letter-spacing: -.045em; }.footer-links { flex-wrap: wrap; justify-content: start; gap: 18px 25px; font-size: 14px; margin-top: 25px; }.footer-links > span { flex-basis: 100%; }.site-footer > p { font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: title-settle .8s var(--ease) both; }
  .hero-description, .hero-action, .hero-author { animation: ink-arrive .7s var(--ease) .12s both; }
  .book-column { animation: stage-arrive .85s var(--ease) both; }
  .public-service { animation: service-arrive .35s var(--ease) both; }
  .public-service:nth-child(2n) { animation-delay: 40ms; }
  .public-service:nth-child(3n) { animation-delay: 70ms; }
  @keyframes title-settle { from { transform: translateY(10px); opacity: .85; } to { transform: none; opacity: 1; } }
  @keyframes ink-arrive { from { opacity: .55; } to { opacity: 1; } }
  @keyframes stage-arrive { from { transform: translateY(14px); } to { transform: none; } }
  @keyframes service-arrive { from { transform: translateX(5px); opacity: .5; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }* { transition: none !important; animation: none !important; } }
/* A small shared scale keeps the editorial column and Arabic controls consistent. */
.site-header nav, .portal-link, .button, .hero-action > span, .hero-author p,
.hero-about, .book-stage-head, .book-interaction, .book-view-controls button,
.book-stage-caption div > span, .book-note, .about-qualification p, .inline-link,
.public-service-price span, .service-note, .package .button, .package-price span,
.org-package p, .org-package a, .site-footer > p, .footer-links { font-size:14px; }
.hero-description, .hero-author strong, .about-section p, .section-intro p,
.section-description, .public-service p, .package > p, .package-includes,
.book-section > p:not(.book-subtitle), .faq-copy p, .contact-section p { font-size:18px; }
.public-service h3, .package h3, .org-package h3, .book-subtitle, .book-inline p,
.book-stage-caption p, .signature { font-size:26px; }
.text-column h2 { font-size:46px; }
.package-price { font-size:46px; }
.book-section > .model-note { font-size:14px!important; }
.book-gallery { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:35px; }
.book-gallery button { padding:0;text-align:right;font-size:14px;min-width:0; }
.book-gallery img { display:block;width:100%;height:auto;aspect-ratio:1/1.15;object-fit:cover;background:var(--stage);transition:transform .3s var(--ease); }
.book-gallery button span { display:block;margin-top:12px; }
.book-gallery button:hover img { transform:translateY(-4px); }
.book-gallery button[aria-pressed=true] span { color:var(--accent);font-weight:700; }
@media(max-width:1000px) { .text-column h2{font-size:38px}.hero-author strong{font-size:16px}.portal-link{font-size:13px}.book-interaction,.book-view-controls button{font-size:13px}.book-inline p{font-size:24px}.book-gallery{gap:10px}.book-gallery button{font-size:14px}.book-gallery img{aspect-ratio:1/1.35} }
/* Small screens keep all three navigation controls on one row. */
@media(max-width:420px){.site-header{gap:8px}.wordmark{gap:7px}.wordmark>span:last-child{font-size:16px}.brand-symbol{width:23px;font-size:32px}.brand-symbol:after{width:20px;height:27px;right:7px}.portal-link{padding-inline:8px;gap:5px}.mobile-menu{width:24px}}
/* The extra rear-cover view keeps its own readable row on narrow screens. */
@media(max-width:600px){.book-interaction{flex-direction:column;align-items:stretch;gap:4px}.book-interaction>span{white-space:nowrap}.book-view-controls{justify-content:space-between;width:100%}}
/* Supplied brand artwork, with genuine transparent background. */
.wordmark .site-logo{display:block;width:94px;height:94px;object-fit:contain}.footer-wordmark .site-logo{display:block;width:160px;height:160px;object-fit:contain}.site-header{height:116px}
@media(max-width:600px){.site-header{height:104px}.wordmark .site-logo{width:84px;height:84px}}
.footer-brand .site-logo{display:block;width:170px;height:170px;object-fit:contain}
.hero-author .author-portrait{width:72px;height:84px;object-fit:cover;object-position:center 30%;flex-shrink:0;border-radius:4px;display:block}
@media(max-width:600px){.hero-author .author-portrait{width:64px;height:76px}.hero-author>div{min-width:0}}
.hero-author .author-portrait{width:76px;height:76px;border-radius:50%;object-position:center 30%}
@media(max-width:600px){.hero-author .author-portrait{width:64px;height:64px}}
