/* Shared layout for the Careers tool pages, the Studio order page and the
   consultation/legal pages. Reuses tokens.css and
   ui.css (which also holds the shared motion helpers). */

/* logo + button variants also used on the homepage (public/css/home.css);
   repeated here so these pages don't need to load home.css. */
.logo .emblem { width: 29px; height: 40px; flex: none; }
.logo span { display: flex; flex-direction: column; line-height: 1.05; }
.logo small { font-family: var(--font-sans); font-size: 13px; letter-spacing: .42em; opacity: .7; margin-top: 3px; }
.logo-dark { color: var(--navy); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); align-self: flex-start; }
.btn-light:hover { background: var(--sky); }

.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }




/* ---------- visual hero: full-bleed image or video ---------- */
.vhero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; color: var(--white); background: var(--navy-deep); overflow: hidden; }
.vhero-media { position: absolute; inset: 0; overflow: hidden; }
.vhero-media img, .vhero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 24, 41, .6) 0%, rgba(8, 24, 41, .1) 32%, rgba(8, 24, 41, .45) 62%, rgba(8, 24, 41, .94) 100%),
              linear-gradient(90deg, rgba(8, 24, 41, .72) 0%, rgba(8, 24, 41, 0) 70%); }
.vhero-inner { position: relative; z-index: 1; width: 100%; padding-top: 150px; padding-bottom: 72px; }
.vhero-inner > * { animation: vrise 1s cubic-bezier(.2, .7, .2, 1) both; }
.vhero-inner > :nth-child(3) { animation-delay: .08s; } .vhero-inner > :nth-child(4) { animation-delay: .16s; } .vhero-inner > :nth-child(5) { animation-delay: .24s; } .vhero-inner > :nth-child(6) { animation-delay: .32s; }
@keyframes vrise { from { opacity: 0; transform: translateY(20px); } }
.vhero .back { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding-inline: 4px; font-size: 13.5px; color: #C9D6E6; margin-bottom: 10px; }
.vhero .back:hover { color: var(--white); }
.vhero .eyebrow { color: var(--gold); }
.vhero h1 { color: var(--white); font-size: clamp(40px, 6.2vw, 84px); line-height: 1.03; letter-spacing: -.012em; max-width: 15ch; margin: 14px 0 18px; text-shadow: 0 2px 30px rgba(8, 24, 41, .45); }
.vhero-line { font-size: clamp(18px, 1.6vw, 21px); color: #E4EBF4; max-width: 620px; }
.vhero-price { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 22px; padding: 8px 18px; border-radius: var(--r-pill); border: 1px solid rgba(233, 215, 176, .55); background: rgba(8, 24, 41, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; color: #D5E0EE; }
.vhero-price b { font-family: var(--font-serif); font-weight: 500; font-size: 22px; color: #E9D7B0; }

/* ---------- visible notices ---------- */






/* ---------- the sample, shown large ---------- */

.sample-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }



.sample-paper { position: relative; display: block; width: min(560px, 100%); background: var(--white); color: var(--ink); border-radius: 8px; padding: 22px 20px 20px; transform: rotate(-2.2deg);
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .12); transition: transform .55s cubic-bezier(.2, .7, .2, 1), box-shadow .55s, opacity .9s; }
.sample-paper::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); border-radius: 8px; }
.sample-paper::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #EFEBE2; border-radius: 8px; transform: rotate(4deg) translate(8px, 10px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.sample-paper.reveal-wait { transform: rotate(-2.2deg) translateY(40px); }
.sample-paper:hover, .sample-paper:focus-visible { transform: rotate(0deg) translateY(-10px) scale(1.02); }
.sample-paper:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }







/* ---------- story strip ---------- */
.strip-section { padding: 40px 0 80px; }
.strip { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }
 
.strip-item { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: var(--navy-deep); color: var(--white); isolation: isolate; }

.strip-item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.strip-item:hover > img { transform: scale(1.06); }
.strip-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 24, 41, 0) 45%, rgba(8, 24, 41, .9) 100%); }
.strip-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 2px; }
.strip-item figcaption span { font-family: var(--font-serif); color: var(--gold); font-size: 13px; letter-spacing: .12em; }
.strip-item figcaption strong { font-family: var(--font-serif); font-weight: 500; font-size: 23px; line-height: 1.2; }
.strip > :nth-child(2) { transition-delay: .08s; } .strip > :nth-child(3) { transition-delay: .16s; } .strip > :nth-child(4) { transition-delay: .24s; }

/* ---------- colour mood of the Careers pages ----------
   Same header, footer, logo and fonts; only the accent and section moods
   change. Variables:
   --m-anchor  dark "anchor" sections (hero base, CTA band, mobile bar)
   --m-shade   the anchor as "r, g, b" for overlays
   --m-accent  accent on dark backgrounds
   --m-ink     accent used as text on light backgrounds (AA >= 4.5:1)
   --m-panel   alternating light section background
   --m-btn / --m-btn-ink / --m-btn-hover  the accent (primary) button */
/* hero + anchors */
[class*="mood-"] .vhero, [class*="mood-"] .cta-band { background: var(--m-anchor); }
[class*="mood-"] .vhero::after { background: linear-gradient(180deg, rgba(var(--m-shade), .6) 0%, rgba(var(--m-shade), .1) 32%, rgba(var(--m-shade), .45) 62%, rgba(var(--m-shade), .94) 100%), linear-gradient(90deg, rgba(var(--m-shade), .72) 0%, rgba(var(--m-shade), 0) 70%); }
[class*="mood-"] .cta-media::after { background: radial-gradient(70% 70% at 50% 50%, rgba(var(--m-shade), .55), rgba(var(--m-shade), .9)); }
[class*="mood-"] .vhero .eyebrow, [class*="mood-"] .cta-band .eyebrow, [class*="mood-"] .strip-item figcaption span { color: var(--m-accent); }
[class*="mood-"] .vhero-price { border-color: var(--m-accent); background: rgba(var(--m-shade), .5); }
[class*="mood-"] .vhero-price b { color: var(--m-accent); }
/* accent (primary) buttons; the header button is left as it is */
[class*="mood-"] main .btn-gold, [class*="mood-"] .mbar .btn-gold { background: var(--m-btn); color: var(--m-btn-ink); border-color: var(--m-btn); }
[class*="mood-"] main .btn-gold:hover, [class*="mood-"] .mbar .btn-gold:hover { background: var(--m-btn-hover); border-color: var(--m-btn-hover); }
[class*="mood-"] main section:not(.vhero):not(.cta-band) .btn-primary { background: var(--m-btn); color: var(--m-btn-ink); }
[class*="mood-"] main section:not(.vhero):not(.cta-band) .btn-primary:hover { background: var(--m-btn-hover); }
/* eyebrows, numerals, rules, chips on light sections */

[class*="mood-"] .acc > summary h2 span { color: var(--m-ink); }
[class*="mood-"] .acc:hover, [class*="mood-"] .acc[open] { border-color: var(--m-ink); }
[class*="mood-"] .expect-part ul li::marker{ color: var(--m-ink); }
[class*="mood-"] .deliver li svg{ stroke: var(--m-ink); }
[class*="mood-"] .soon-badge { color: var(--m-ink); border-color: var(--m-ink); }

/* section backgrounds */
[class*="mood-"] .strip-section, [class*="mood-"] .details-section { background: var(--m-panel); }
/* sticky mobile bar */
[class*="mood-"] .mbar { background: rgba(var(--m-shade), .96); border-top-color: var(--m-accent); }
[class*="mood-"] .mbar b { color: var(--m-accent); }

/* CSS device mockups (/digital) */
.devices { background: radial-gradient(80% 80% at 30% 20%, #1B4A7E, var(--navy-deep)); display: grid; place-items: center; }
.devices::after { display: none; }








 

/* ---------- the details: accordions ---------- */
.details-section { background: linear-gradient(180deg, var(--paper), var(--sky-deep)); }
.details-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }
.details-intro { position: sticky; top: 32px; }
.details-intro h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 12px 0 14px; }
.details-intro p:not(.eyebrow) { color: var(--ink-2); }
.acc { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 28px; margin-bottom: 14px; transition: box-shadow .3s, border-color .3s; }
.acc:hover, .acc[open] { border-color: #AFC4DA; box-shadow: 0 24px 48px -32px rgba(16, 42, 67, .45); }
.acc > summary { align-items: center; padding: 22px 0; }
.acc > summary h2 { font-size: 24px; margin: 0; display: flex; align-items: center; gap: 14px; }
.acc > summary h2 span { font-size: 14px; color: var(--gold); letter-spacing: .1em; }
.acc > summary::after { font-size: 24px; line-height: 1; }
.acc-body { padding: 0 0 28px; display: grid; gap: 20px; }
.acc-body > p { color: var(--ink); margin: 0; }
.acc-body h3 { font-size: 20px; margin: 6px 0 -6px; }
.acc .faq details { padding: 16px 0; }
.acc .faq summary { font-size: 18px; }

/* ---------- deliver list ---------- */
.deliver { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.deliver li { list-style: none; display: flex; gap: 14px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.deliver li svg { flex: none; width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; margin-top: 2px; }
.deliver li p { margin: 0; color: var(--ink); font-size: 15.5px; }
.deliver li b { display: block; color: var(--navy); font-family: var(--font-serif); font-weight: 500; font-size: 16.5px; margin-bottom: 3px; }

/* ---------- scope parts ---------- */
.expect-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.expect-part { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.expect-part h3 { font-size: 20px; margin: 0; }
.expect-part ul { margin: 4px 0 0; padding-left: 18px; font-size: 15px; color: var(--ink-2); display: grid; gap: 6px; }
.expect-part ul li::marker { color: var(--gold); }
.expect-part p { font-size: 15px; color: var(--ink-2); margin: 0; }
.expect-part .price-tag { padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-serif); color: var(--navy); font-size: 22px; }
.expect-part .price-tag small { display: block; font-family: var(--font-sans); font-size: 13px; color: var(--ink-2); font-weight: 600; letter-spacing: .04em; margin-bottom: 2px; }

/* ---------- sample excerpts shown on the paper ---------- */
.sample-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }

.sample-card .sample-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--sky); flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); }





















     

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare .col { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.compare .col-head { padding: 10px 16px; font-family: var(--font-serif); font-size: 15px; border-bottom: 1px solid var(--line); }













.table-scroll { overflow-x: auto; }

.soon-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8A6D35; border: 1px solid var(--gold); border-radius: var(--r-pill); padding: 3px 10px; margin-left: 8px; vertical-align: middle; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; min-height: 64vh; display: grid; place-items: center; text-align: center; color: var(--white); overflow: hidden; background: var(--navy-deep); }
.cta-media { position: absolute; inset: 0; overflow: hidden; }
.cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(8, 24, 41, .55), rgba(8, 24, 41, .88)); }
.cta-inner { position: relative; padding-top: 96px; padding-bottom: 96px; }
.cta-band .eyebrow { color: var(--gold); }
.cta-band h2 { color: var(--white); font-size: clamp(34px, 5vw, 62px); margin: 16px auto; max-width: 900px; }
.cta-band p:not(.eyebrow) { color: #D5E0EE; margin-bottom: 34px; font-size: 18px; }

/* ---------- sticky mobile bar ---------- */
.mbar { display: none; }

/* simple legal/plain pages (/privacy, /terms) */
.legal-page { max-width: 760px; }

.legal-page h2 { font-size: 24px; margin: 40px 0 12px; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h1 + p { margin: 14px 0 8px; }
.legal-page h1 + p + h2 { margin-top: 40px; }
.legal-page p, .legal-page li { color: var(--ink); font-size: 15.5px; margin-bottom: 10px; }
.legal-page ul { padding-left: 22px; }
.legal-page .legal-updated { font-size: 14px; color: var(--ink); margin: -4px 0 24px; }
.legal-page .legal-summary { background: var(--sky); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; margin: 0 0 28px; }
.legal-page .legal-summary ul { margin: 8px 0 0; }
.legal-page .legal-toc { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; margin: 0 0 44px; }
.legal-page .legal-toc ol { padding-left: 22px; margin: 8px 0 0; }
.legal-page .legal-toc li { margin-bottom: 4px; }
.legal-page h3 { font-size: 18px; margin: 22px 0 8px; }

@media (max-width: 1080px) {
  .sample-grid, .details-grid { grid-template-columns: 1fr; gap: 36px; }
  .details-intro { position: static; }
  .strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .deliver, .expect-grid, .compare{ grid-template-columns: 1fr; }
  
  
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--s4)); padding: 0 var(--s4) 6px; }
  .strip-item { flex: 0 0 72%; scroll-snap-align: start; }
  
  .acc { padding: 0 18px; }
  .acc > summary h2 { font-size: 21px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 31, 51, .96); color: #D5E0EE; border-top: 1px solid rgba(201, 169, 110, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; }
  .mbar b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 17px; color: #E9D7B0; }
  .mbar .btn { padding: 11px 18px; font-size: 15px; }
  
}
@media (prefers-reduced-motion: reduce) {
  .vhero-inner > * { animation: none !important; }
  .sample-paper, .strip-item > img { transition: none !important; }
}

/* ---------- Al Hayat Careers: confident navy + fresh emerald ---------- */
.mood-careers { --m-anchor: #0B1F33; --m-shade: 11, 31, 51; --m-accent: #8DB2F5; --m-ink: #2459C7; --m-panel: #E8EFFC; --m-btn: #F2B544; --m-btn-ink: #102A43; --m-btn-hover: #E9A62E; }
.mood-careers .cta-band { background: var(--m-anchor); }
.mood-careers .cta-media::after { background: linear-gradient(135deg, rgba(11, 31, 51, .92), rgba(36, 89, 199, .78)); }
.mood-careers .acc { border-radius: 12px; }
.mood-careers .details-section { border-top: 1px solid var(--border); }

/* "Ways we help" cards (careers page): image-led, one action each. */
.ways-section { padding: 88px 0 72px; }
.ways-head { max-width: 720px; margin-bottom: 36px; }
.ways-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 12px 0 10px; }
.ways-head p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; }
.ways { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.way { grid-column: span 2; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .3s; }
.way:nth-child(-n+2) { grid-column: span 3; }
.way:hover { border-color: var(--m-ink, var(--blue)); box-shadow: 0 24px 48px -32px rgba(16, 42, 67, .45); transform: translateY(-3px); }
.way-media { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--m-anchor, var(--navy)); }
.way-media img { width: 100%; height: 100%; object-fit: cover; }
.way-tag { position: absolute; left: 16px; top: 14px; padding: 4px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); color: var(--m-ink, var(--blue)); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.way-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.way-body h3 { font-size: 23px; margin: 0; }
.way-body p { color: var(--ink-2); margin: 0; }

.way-body .btn, .way-body .link { margin-top: auto; align-self: flex-start; }
.way-body .way-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; }


.policy-note { margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: var(--m-panel, var(--sky)); border: 1px solid var(--border); color: var(--navy); font-size: 15.5px; }
.policy-note b { display: block; margin-bottom: 4px; }
@media (max-width: 1080px) { .ways { grid-template-columns: repeat(2, 1fr); } .way, .way:nth-child(-n+2) { grid-column: span 1; } }
@media (max-width: 640px) { .ways { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .way { transition: none; } .way:hover { transform: none; } }.ways-3 .way, .ways-3 .way:nth-child(-n+2) { grid-column: span 2; }
@media (max-width: 1080px) { .ways-3 { grid-template-columns: 1fr; } .ways-3 .way, .ways-3 .way:nth-child(-n+2) { grid-column: auto; } }

/* ==========================================================================
   Service page structure, shared by the pages that still load this file
   (the Careers tools and the Studio order page). The order of a page:
     hero · notice · what you get · how it works · sample · price ·
     questions · reviews · closing CTA
   One rhythm: the same section padding, heading size, eyebrow and buttons.
   ========================================================================== */
:root { --svc-pad: 96px; --svc-h2: clamp(30px, 3.6vw, 44px); }
 .details-section, main .reviews-section { padding: var(--svc-pad) 0; }
 .x-section .section-head { max-width: 680px; margin-bottom: 40px; }
 .x-section .section-head h2, .details-intro h2 { font-size: var(--svc-h2); line-height: 1.12; margin: 12px 0 12px; }
 .x-section .section-head p:not(.eyebrow) { font-size: 18px; color: var(--ink-2); }
/* one eyebrow style on every section (a short rule above the label) */
[class*="mood-"] .section-head .eyebrow, [class*="mood-"] .details-intro .eyebrow { color: var(--m-ink); }
[class*="mood-"] .section-head .eyebrow::before, [class*="mood-"] .details-intro .eyebrow::before { content: ""; display: block; width: 44px; height: 2px; margin-bottom: 14px; background: currentColor; }

/* section backgrounds alternate the same way on every page */

 [class*="mood-"] .details-section{ background: var(--m-panel); }

/* how it works: 3-5 numbered steps in a row, one line each (extends .mini-steps) */
.mini-steps.steps-row { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.mini-steps.steps-row li { padding: 62px 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; font-size: 15.5px; }
.mini-steps.steps-row li::before { left: 20px; right: auto; top: 20px; }
.mini-steps.steps-row b { font-family: var(--font-serif); font-weight: 500; font-size: 18px; margin-bottom: 4px; }
[dir="rtl"] .mini-steps.steps-row li::before { left: auto; right: 20px; }
@media (max-width: 760px) {
  .mini-steps.steps-row { gap: 10px; }
  .mini-steps.steps-row li { padding: 16px 18px 16px 62px; }
  .mini-steps.steps-row li::before { left: 18px; top: 16px; }
  [dir="rtl"] .mini-steps.steps-row li { padding: 16px 62px 16px 18px; }
  [dir="rtl"] .mini-steps.steps-row li::before { right: 18px; }
}
[class*="mood-"] .steps-row li::before { border-color: var(--m-ink); color: var(--m-ink); }


/* price: one block (main card + what is and is not included) */

.price-card { display: flex; flex-direction: column; gap: 14px; padding: 34px 32px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(16, 42, 67, .5); }
.price-card + .price-card { margin-top: 0; }







.price-card .hero-ctas { margin-top: auto; padding-top: 10px; }








/* questions: one flat FAQ list */










@media (max-width: 760px) {
  :root { --svc-pad: 72px; }
  
  .price-card { padding: 26px 22px; }
}
