/* Illustrated edition. Every selector stays inside its own homepage. */
.journal-home {
  --comic-ink: #142546;
  --comic-blue: #1754b0;
  --comic-rose: #b92161;
  --comic-pink: #f78eb7;
  --comic-yellow: #ffd14a;
  --comic-paper: #fffaf2;
  --comic-edge: max(clamp(20px,4.6vw,78px),calc((100vw - 1480px) / 2));
  --comic-rule: 2px solid var(--comic-ink);
  background: #fffaf2;
}
.journal-home .site-header-home,
.journal-home .site-header-home:is(.is-scrolled,:has(details[open])) {
  margin-bottom: 0; color: var(--comic-ink); background: #fffdf7;
  box-shadow: 0 2px var(--comic-ink);
}
.journal-home .site-header-home .site-header-bar { border: 0; }
.journal-home .site-header-home .chrome-wordmark { color: var(--comic-ink); filter: none; }
.journal-home .site-header-home .wordmark-symbol { background: var(--comic-ink) url("aliyah-mark.svg") center / 76% no-repeat; border-radius: 9px 6px 8px 5px; }
.journal-home .site-header-home .chrome-controls { border:0; border-radius:0; padding-inline:0; background:transparent; box-shadow:none; backdrop-filter:none; }
.journal-home .site-header-home .chrome-contact {
  background: #ffd76a; border: var(--comic-rule); color: var(--comic-ink);
  box-shadow: 2px 2px var(--comic-ink);
}
.journal-home .site-header-home .chrome-menu > summary { border-color: #b3c2d0; }
.journal-home .chrome-primary > a[aria-current]::after { background: #c83c76; height: 3px; }
.journal-home .site-header-home :is(a,summary):focus-visible { outline: 3px solid var(--comic-rose); outline-offset: 4px; }

.journal-home .home .hero[data-hero-gallery] {
  isolation:isolate; display:grid; grid-template:'copy art' auto / minmax(0,.72fr) minmax(0,1.28fr);
  align-items:center; align-content:center; gap:clamp(25px,3.6vw,62px);
  min-height:0; padding:clamp(29px,3.3vw,57px) var(--comic-edge) clamp(35px,4vw,70px);
  color:var(--comic-ink); background:linear-gradient(112deg,#fff9f1 0%,#fff8f6 38%,#d5edfd 57%,#a8ddfa 90%,#83c9f4 100%);
  border-bottom:3px solid var(--comic-ink);
}
html[dir=rtl] .journal-home .home .hero[data-hero-gallery] {
  background:linear-gradient(-112deg,#fff9f1 0%,#fff8f6 38%,#d5edfd 57%,#a8ddfa 90%,#83c9f4 100%);
}
.journal-home .home .hero[data-hero-gallery]::before {
  content:""; pointer-events:none; position:absolute; z-index:-1; inset:0;
  background-image:radial-gradient(#237abb 1px,transparent 1.4px); background-size:9px 9px;
  opacity:.33; mask-image:linear-gradient(100deg,transparent,transparent 43%,#000 90%);
}
html[dir=rtl] .journal-home .home .hero[data-hero-gallery]::before { mask-image:linear-gradient(-100deg,transparent,transparent 43%,#000 90%); }
.journal-home .home .hero[data-hero-gallery]::after,
html[dir=rtl] .journal-home .home .hero[data-hero-gallery]::after {
  content:""; pointer-events:none; position:absolute; z-index:-1; inset:0; width:100%; height:100%;
  background:repeating-conic-gradient(from 95deg at 50% 100%,transparent 0 12deg,#fafdff80 12.4deg 13deg,transparent 13.2deg 19deg);
  opacity:.45;
}
.journal-home .home [data-hero-gallery] .hero-content { grid-area:copy; z-index:2; min-width:0; max-width:100%; text-shadow:none; }
.journal-home .home .hero .hero-verse {
  width:fit-content; max-width:100%; gap:.5em; margin-block:0 clamp(17px,2vw,29px);
  padding:5px 13px; color:#222d44; background:#ffdf67; border:1.5px solid var(--comic-ink);
  border-radius:3px 8px 3px 5px; box-shadow:2px 2px var(--comic-ink); transform:rotate(-2deg);
  font-size:clamp(.84rem,1.03vw,1.03rem); font-weight:700;
}
.journal-home .home .hero-verse small { color:#443d38; font-weight:500; }
.journal-home .home .hero h1 {
  max-width:11ch; color:var(--comic-ink); font-size:clamp(3.2rem,5.25vw,6.8rem);
  font-weight:800; letter-spacing:-.063em; line-height:.99;
}
html[lang=he] .journal-home .home .hero h1 { max-width:10ch; font-size:clamp(3.25rem,5.8vw,7.2rem); font-weight:800; letter-spacing:-.053em; line-height:1.005; }
.journal-home .home .hero .hero-emphasis {
  position:relative; isolation:isolate; display:block; width:fit-content; max-width:100%; margin-block:.035em .025em;
  color:#bd225f; font-family:"Baskervville","Noto Serif Hebrew",Georgia,"Times New Roman",serif;
  font-style:italic; letter-spacing:-.058em; line-height:1.09; font-weight:700; transform:rotate(-1.5deg);
}
.journal-home .home .hero .hero-emphasis::after {
  content:""; position:absolute; z-index:-1; inset-inline:-.025em; bottom:.02em; height:.17em;
  background:#ffd28c; clip-path:polygon(1% 37%,28% 12%,77% 23%,98% 0,100% 60%,78% 93%,30% 74%,0 100%);
}
.journal-home .home .hero .support-note { max-width:32ch; padding-block-start:clamp(14px,1.6vw,25px); font-size:clamp(1.02rem,1.38vw,1.38rem); line-height:1.5; color:#35465b; }
.journal-home .home .hero .cta,.journal-home .home .contact .cta {
  position:relative; gap:12px; padding:4px 6px; padding-inline-start:18px; margin-block-start:clamp(19px,2vw,28px);
  color:#fff; background:var(--comic-blue); border:var(--comic-rule); border-radius:99px;
  box-shadow:3px 4px var(--comic-ink); font-weight:700; font-size:clamp(.92rem,1.04vw,1.05rem);
}
.journal-home .home .hero .cta:hover,.journal-home .home .contact .cta:hover { background:#193f80; }
.journal-home .home .hero .cta .link-arrow,.journal-home .home .contact .cta .link-arrow { width:30px; height:30px; border:0; background:#fff; color:var(--comic-ink); }

.journal-home .jh-collage {
  grid-area:art; align-self:center; justify-self:center; isolation:isolate; position:relative; width:100%; max-width:810px; min-width:0;
  display:grid; grid-template:'scene scene' auto 'card controls' auto / clamp(96px,18%,154px) minmax(0,1fr);
  align-items:center; column-gap:clamp(11px,1.7vw,25px); row-gap:4px;
}
.journal-home .jh-collage .jh-welcome {
  display:block; position:relative; z-index:2; grid-area:scene; width:100%; height:auto; aspect-ratio:4/3; object-fit:contain;
  border:clamp(4px,.44vw,7px) solid white; outline:var(--comic-rule); background:#c8eafd;
  border-radius:7px 14px 6px 9px; box-shadow:6px 7px var(--comic-ink); transform:rotate(-.9deg);
}
.journal-home .jh-map {
  position:absolute; z-index:0; inset-block:2% 18%; inset-inline:0 0; transform:rotate(1.6deg);
  background:#f58ab4; border:2px solid var(--comic-ink); border-radius:7px;
}
.journal-home :is(.jh-back-photo,.jh-pocket,.jh-stamp) { display:none; }
.journal-home .jh-photo {
  grid-area:card; align-self:start; position:relative; isolation:isolate; z-index:4; margin-block-start:-9%; width:100%; aspect-ratio:1.65;
  background:#fff; border:1.5px solid var(--comic-ink); border-radius:3px 5px 3px 4px;
  box-shadow:2px 3px #182846; transform:rotate(5deg);
}
.journal-home .home .jh-photo :is(.hg-media,.hg-fallback) { z-index:0; position:absolute; inset:5% 4% 11%; width:92%; height:84%; border-radius:0; background:#d2e9ef; }
.journal-home .home .jh-photo .hg-layer { width:100%; height:100%; }
.journal-home .jh-tape {
  position:absolute; z-index:2; width:32%; height:17%; top:-7%; left:35%; transform:rotate(-6deg);
  background:repeating-linear-gradient(105deg,#fed474ee 0 4px,#ffe49deb 4px 7px); border:1px solid #c7964255;
  clip-path:polygon(2% 0,100% 3%,98% 16%,100% 29%,96% 43%,99% 59%,96% 75%,99% 90%,97% 98%,0 94%,3% 78%,0 64%,3% 51%,0 34%,3% 19%);
}
.journal-home .jh-collage .hg-bar {
  z-index:5; grid-area:controls; color:var(--comic-ink); padding-block:8px 2px; min-height:45px; border:0;
  gap:8px; align-items:center; align-self:center; flex-wrap:wrap;
}
.journal-home .jh-collage .hg-photo-info,.journal-home .jh-collage .hg-caption { gap:3px; }
.journal-home .jh-collage .hg-name { font-size:clamp(.9rem,1.18vw,1.17rem); font-weight:750; }
.journal-home .jh-collage .hg-credit summary { color:#243c64; width:28px; }
.journal-home .jh-collage .hg-credit summary span { border-color:#677996; }
.journal-home .jh-collage :is(.hg-button,.hg-index) { border:1.5px solid var(--comic-ink); color:var(--comic-ink); background:#fffcf5; min-height:36px; font-size:.84rem; box-shadow:1px 2px #273153; }
.journal-home .jh-collage .hg-button { width:36px; }
.journal-home .jh-collage .hg-index { max-width:none; padding-inline:10px; }
.journal-home .jh-collage :is(.hg-button,.hg-index):is(:hover,:focus-visible) { background:#ffd77c; }
.journal-home .jh-collage .hg-credit-panel { background:#fffdf7; border:1px solid #253b5c; color:#192947; }

.journal-home .home .introduction {
  isolation:isolate; position:relative; display:grid; grid-template:'title scene' auto 'copy scene' auto / minmax(0,1fr) minmax(0,.93fr);
  align-content:center; align-items:start; gap:14px clamp(30px,6vw,105px); padding:clamp(45px,6vw,92px) var(--comic-edge);
  text-align:start; color:var(--comic-ink); background:#fff8e9; border-bottom:3px solid var(--comic-ink);
}
.journal-home .home .introduction h2 {
  grid-area:title; align-self:end; width:fit-content; max-width:100%; margin:0; padding:.32em .68em;
  font-size:clamp(1.04rem,1.5vw,1.45rem); letter-spacing:0; font-weight:750; text-transform:none;
  color:var(--comic-ink); background:#ffbc6a; border:var(--comic-rule); border-radius:3px 7px 3px 4px; transform:rotate(-1.1deg);
}
.journal-home .home .intro-copy { grid-area:copy; max-width:33em; margin:0; text-wrap:pretty; font-size:clamp(1.28rem,2vw,2.18rem); line-height:1.4; }
.journal-home .home .jh-table-scene,.journal-home .home .introduction > .jh-table-image {
  grid-area:scene; align-self:center; width:100%; position:relative; background:#ffa25f; transform:rotate(1.25deg);
  padding:4px; border:var(--comic-rule); border-radius:7px 3px 11px 5px; box-shadow:4px 5px var(--comic-ink);
}
.journal-home .jh-table-scene img { display:block; width:100%; height:auto; }
.journal-home .home .introduction::before {
  content:""; pointer-events:none; position:absolute; z-index:-1; inset:0 0 0 52%;
  background:radial-gradient(#c77576 .9px,transparent 1.3px) 0 0 / 8px 8px; opacity:.25;
  mask-image:linear-gradient(20deg,transparent,#000);
}
.journal-home .home .ci-index { padding:clamp(41px,5.4vw,85px) var(--comic-edge); background:#d7f3f8; color:var(--comic-ink); border-bottom:3px solid var(--comic-ink); }
.journal-home .home .ci-wrap { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); gap:0 clamp(22px,4vw,65px); align-items:center; }
.journal-home .ci-wrap > * { grid-column:1/-1; min-width:0; }
.journal-home .home .ci-head { grid-area:1/1; display:grid; gap:14px; align-content:center; margin-block-end:22px; }
.journal-home .home .ci-head h2,.journal-home .home .stages h2,.journal-home .home .practical h2 { color:var(--comic-ink); font-weight:750; }
.journal-home .home .ci-head .ci-guide-link { width:fit-content; color:#fff; font-weight:700; padding:8px 14px; background:var(--comic-blue); border:var(--comic-rule); border-radius:99px; box-shadow:2px 2px var(--comic-ink); }
.journal-home .home .ci-head p { color:#263d51; }
.journal-home .home .jh-city-scene {
  grid-area:1/2; width:100%; margin:0 0 clamp(26px,3.8vw,55px); padding:5px; position:relative;
  background:#fff; border:var(--comic-rule); box-shadow:5px 6px var(--comic-ink); border-radius:8px 4px 9px 4px;
  transform:rotate(-.7deg);
}
.journal-home .jh-city-scene img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; }
.journal-home .home .home-decade { border:var(--comic-rule); background:#1c4e91; border-radius:5px 12px 5px 8px; box-shadow:3px 4px var(--comic-ink); }
.journal-home .home .ci-grid { gap:clamp(10px,1.4vw,23px); }
.journal-home .home .ci-card { border:4px solid #fffdf6; outline:1.5px solid var(--comic-ink); border-radius:4px 6px 4px 8px; box-shadow:2px 3px var(--comic-ink); }
.journal-home .home .ci-expand { color: #122342; background:#ffdd78; border:1px solid #162847; }
.journal-home .home .ci-expand::before,.journal-home .home .ci-expand::after { background:var(--comic-ink); }
.journal-home .home .country-origins { background:#fffaf2; border:var(--comic-rule); border-radius:5px 9px 3px 5px; padding-inline:16px; }

.journal-home .home .stages { background:#ffe8ed; padding:clamp(44px,6vw,95px) var(--comic-edge); border-bottom:3px solid var(--comic-ink); }
.journal-home .home .stages h2 { margin-block-end:clamp(22px,3vw,44px); }
.journal-home .home .stage-list { align-items:start; gap:clamp(17px,2vw,29px); }
.journal-home .home .stage-item {
  --stage-fill:#ffe281; background:var(--stage-fill); padding:clamp(16px,2vw,26px);
  border:var(--comic-rule); border-radius:5px 14px 4px 10px; box-shadow:4px 5px var(--comic-ink);
}
.journal-home .home .jh-stage-plan { --stage-fill:#a6dffc; }
.journal-home .home .jh-stage-settle { --stage-fill:#ffabc6; }
.journal-home .home .stage-item summary {
  display:grid; grid-template:'sticker number' auto 'title expand' auto / minmax(0,1fr) auto;
  gap:12px 10px; align-items:center; padding:0;
}
.journal-home .home .stage-item summary::after { grid-area:expand; color:var(--comic-ink); background:#fffdf5; border:var(--comic-rule); width: 32px; height:32px; }
.journal-home .home .stage-index { grid-area:number; align-self:start; font-weight:750; color:#34466a; }
.journal-home .home .stage-label { grid-area:title; font-weight:680; line-height:1.12; }
.journal-home .jh-stage-icon { display:block; grid-area:sticker; width:clamp(80px,8vw,122px); height:clamp(72px,7vw,107px); background:center / contain no-repeat; filter:drop-shadow(1px 2px 0 #182c4e38); }
.journal-home .jh-stage-consider .jh-stage-icon { background-image:url("comic-stage-plan.webp"); }
.journal-home .jh-stage-plan .jh-stage-icon { background-image:url("comic-stage-pack.webp"); }
.journal-home .jh-stage-settle .jh-stage-icon { background-image:url("comic-stage-home.webp"); }
.journal-home .home .stage-body { padding:12px 0 0; color:#263449; line-height:1.52; }

.journal-home .home .services,.journal-home .home .services.is-enhanced {
  min-height:0; align-items:center; gap:clamp(28px,6vw,100px); padding:clamp(50px,6.6vw,112px) var(--comic-edge);
  color:#fff; background:#174e99; border-bottom:3px solid var(--comic-ink);
}
.journal-home .home .services::before { background:radial-gradient(#81d6f4 1.4px,transparent 1.6px) 0 0/10px 10px; mask-image:linear-gradient(105deg,#000,transparent 66%); opacity:.42; }
.journal-home .home .services .section-heading h2 { font-weight:740; font-size:clamp(2.65rem,5.1vw,5.8rem); }
.journal-home .home .service-list { color:var(--comic-ink); background:#fffae8; border:var(--comic-rule); border-radius:15px 6px 19px 4px; box-shadow:6px 7px #112a4b; backdrop-filter:none; }
.journal-home .home .service-card { min-height:285px; }
.journal-home .home .service-number,.journal-home .home .chapter-count { color:#9a275c; font-weight:700; }
.journal-home .home .service-controls,.journal-home .home .service-item + .service-item { border-color:#b9bcc1; }
.journal-home .home .service-controls button { color:var(--comic-ink); border:var(--comic-rule); background:#ffd25d; box-shadow:1px 2px var(--comic-ink); }
.journal-home .home .service-body .text-link:hover { color:var(--comic-rose); }
.journal-home .home .practical { padding-inline:var(--comic-edge); background:#fff9eb; }
.journal-home .home .practical > div { border:var(--comic-rule); border-radius:5px 12px 5px 9px; box-shadow:4px 5px var(--comic-ink); }
.journal-home .home .practical .guidance { background:#c1eaff; }
.journal-home .home .practical .official { background:#ffc5d7; }
.journal-home .home .contact { padding-inline:var(--comic-edge); background:#193b76; border-block:3px solid var(--comic-ink); }
.journal-home .home .contact h2 { color:#fff; font-weight:720; }
.journal-home .home .contact::before { opacity:.67; }
.journal-home .home .contact .home-volunteer-link { color:#ffe396; }
.journal-home .site-footer { background:#142946; }

@media(max-width:1000px){
  .journal-home .home .hero[data-hero-gallery] { grid-template-columns:minmax(0,.79fr) minmax(0,1.21fr); gap:clamp(17px,2.7vw,29px); }
  .journal-home .jh-collage { column-gap:10px; }
  .journal-home .jh-collage .hg-bar { justify-content:start; gap:4px 11px; }
  .journal-home .home .ci-wrap { grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); }
}
@media(max-width:730px){
  .journal-home .home .hero[data-hero-gallery],html[dir=rtl] .journal-home .home .hero[data-hero-gallery] {
    grid-template:'art' auto 'copy' auto / minmax(0,1fr); gap:clamp(16px,3.6vw,26px);
    padding:21px var(--comic-edge) clamp(34px,7vw,48px);
    background:linear-gradient(164deg,#8cd2fa 0%,#dff5ff 51%,#fff9f2 73%,#fff8f1 100%);
  }
  .journal-home .home .hero[data-hero-gallery]::before,html[dir=rtl] .journal-home .home .hero[data-hero-gallery]::before {
    mask-image:linear-gradient(175deg,#000 0,transparent 66%); opacity:.32;
  }
  .journal-home .jh-collage { max-width:520px; grid-template-columns:clamp(80px,21%,108px) minmax(0,1fr); }
  .journal-home .jh-collage .jh-welcome { border-width:3px; box-shadow:4px 5px var(--comic-ink); }
  .journal-home .jh-map { inset-block:4% 14%; }
  .journal-home .jh-collage .hg-bar { min-height:42px; flex-wrap:wrap; justify-content:space-between; gap:1px 6px; padding-block:7px 0; }
  .journal-home .jh-collage .hg-caption { gap:2px; }
  .journal-home .jh-collage .hg-name { font-size:.85rem; }
  .journal-home .jh-collage .hg-credit summary { width:23px; height:31px; }
  .journal-home .jh-collage .hg-index { font-size:.73rem; padding:4px 7px; gap:4px; }
  .journal-home .jh-collage .hg-button { width:32px; min-height:32px; }
  .journal-home .jh-collage .hg-index { min-height:32px; }
  .journal-home .jh-collage .hg-controls { gap:5px; }
  .journal-home .jh-collage .hg-credit-panel { inset-inline-start:auto; inset-inline-end:-10px; max-width:min(230px,66vw); }
  .journal-home .home [data-hero-gallery] .hero-content { justify-self:center; width:100%; max-width:520px; }
  .journal-home .home .hero h1,html[lang=he] .journal-home .home .hero h1 { font-size:clamp(2.7rem,8.7vw,4.2rem); max-width:13ch; }
  .journal-home .home .hero .hero-verse { margin-block-end:13px; font-size:.83rem; }
  .journal-home .home .hero .support-note { padding-block-start:10px; max-width:38ch; font-size:1rem; }
  .journal-home .home .hero .cta { margin-block-start:16px; }
  .journal-home .home .introduction { grid-template:'title' auto 'copy' auto 'scene' auto / minmax(0,1fr); padding-block:34px 40px; gap:16px; }
  .journal-home .home .intro-copy { font-size:1.35rem; }
  .journal-home .home .jh-table-scene { max-width:520px; }
  .journal-home .home .ci-wrap { grid-template-columns:minmax(0,1fr); }
  .journal-home .home .ci-head { grid-area:auto; display:flex; flex-direction:column; align-items:start; gap:10px; margin-bottom:20px; }
  .journal-home .home .jh-city-scene { grid-area:auto; margin-bottom:25px; }
  .journal-home .home .ci-card { border-width:3px; }
  .journal-home .home .stage-list { display:grid; grid-template-columns:1fr; gap:13px; }
  .journal-home .home .stage-item,.journal-home .home .stage-item:last-child { padding:10px 14px; border:var(--comic-rule); }
  .journal-home .home .stage-item summary { grid-template:'sticker title expand' auto / 66px minmax(0,1fr) 30px; gap:12px; padding:0; }
  .journal-home .home .stage-item summary::after { width:27px; height:27px; }
  .journal-home .home .stage-index { grid-area:sticker; align-self:start; justify-self:start; z-index:1; font-size:.64rem; transform:translateY(-4px); }
  .journal-home .jh-stage-icon { width:64px; height:59px; }
  .journal-home .home .stage-body { padding-block:8px; }
  .journal-home .home .services,.journal-home .home .services.is-enhanced { padding-block:43px 50px; }
  .journal-home .home .service-card { min-height:250px; }
}
@media(max-width:370px){
  .journal-home { --comic-edge:15px; }
  .journal-home .jh-collage { grid-template-columns:71px minmax(0,1fr); gap:4px 7px; }
  .journal-home .jh-collage .hg-bar { align-content:center; gap:0 3px; }
}
@media (forced-colors:active) {
  .journal-home .site-header-home .wordmark-symbol { background:LinkText; }
  .journal-home .home :is(.hero .cta,.service-controls button) { border-color:ButtonText; }
}
