/* Woman Earth · northgatecorpq.com — "Community Journal" theme. Logical properties throughout for future RTL (Hebrew). */
:root{
  --sand:#F4ECE1; --paper:#FBF8F3; --white:#fff;
  --navy:#1F2A44; --navy-2:#2E3B5C; --clay:#B85F3E; --clay-soft:#EBC9B5; --sky:#D5DEE8; --mustard:#D9A441;
  --ink:#1C2030; --muted:#4F5568; --line:#E2D7C8;
  --display:"DM Serif Display",Georgia,serif;
  --body:"Manrope",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --max:1240px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:400 18px/1.75 var(--body)}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
img,svg{display:block;max-width:100%}
a{color:var(--clay)}
:focus-visible{outline:3px solid var(--mustard);outline-offset:3px;border-radius:6px}
h1,h2,h3,h4{font-family:var(--display);font-weight:400;color:var(--navy);line-height:1.15;margin:0 0 .5em}
h1{font-size:clamp(2.5rem,6vw,5.2rem);letter-spacing:-.015em}
h2{font-size:clamp(2rem,3.8vw,3.2rem)}
h3{font-size:1.6rem}
p{margin:0 0 1.1em}
.c{max-width:var(--max);margin-inline:auto;padding-inline:24px}
.tag{display:inline-block;font-size:.85rem;font-weight:700;letter-spacing:.04em;padding:6px 14px;border-radius:99px;background:var(--clay-soft);color:#7A3519;margin-bottom:18px}
.tag.blue{background:var(--sky);color:var(--navy)}
.big{font-size:1.22rem;color:var(--muted)}
.skip{position:absolute;inset-inline-start:-9999px}.skip:focus{inset-inline-start:12px;top:12px;background:var(--navy);color:#fff;padding:12px 18px;z-index:99;border-radius:8px}

/* Top bar + header: logo centered on desktop */
.topbar{background:var(--navy);color:#DCE2EE;font-size:.95rem;text-align:center;padding:9px 16px}
.topbar a{color:#fff}
.hdr{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}
.hdr .c{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:84px;gap:16px}
.brand{grid-column:2;display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy);font-family:var(--display);font-size:1.75rem}
.brand svg{width:40px;height:40px}
.hdr-cta{grid-column:3;justify-self:end}
.navrow{border-top:1px solid var(--line)}
.navrow ul{list-style:none;display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin:0;padding:8px 0}
.navrow a{display:block;padding:10px 16px;border-radius:99px;text-decoration:none;color:var(--ink);font-weight:600;font-size:1rem}
.navrow a:hover{background:var(--sand)}
.navrow a[aria-current="page"]{background:var(--navy);color:#fff}
.burger{grid-column:1;justify-self:start;display:none;min-height:48px;padding:0 18px;border-radius:99px;border:2px solid var(--navy);background:none;font:700 1rem var(--body);color:var(--navy);cursor:pointer}
@media (max-width:980px){
  .hdr .c{grid-template-columns:auto 1fr;min-height:72px}
  .brand{grid-column:1;font-size:1.45rem}.burger{grid-column:2;justify-self:end;display:block}.hdr-cta{display:none}
  .navrow{display:none}.navrow.open{display:block}
  .navrow ul{flex-direction:column;padding:12px 24px 20px}.navrow a{padding:14px 18px;font-size:1.1rem}
}

/* Buttons — pill shape */
.pill{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 30px;border-radius:99px;background:var(--clay);color:#fff;font-weight:700;font-size:1.05rem;text-decoration:none;border:2px solid var(--clay);transition:background .2s,color .2s}
.pill:hover{background:#9C4C2F;border-color:#9C4C2F;color:#fff}
.pill.line{background:transparent;color:var(--navy);border-color:var(--navy)}
.pill.line:hover{background:var(--navy);color:#fff}
.pill.light{background:#fff;color:var(--navy);border-color:#fff}
.pill.light:hover{background:var(--sand);border-color:var(--sand);color:var(--navy)}
.pill.sm{min-height:46px;padding:0 20px;font-size:.98rem}
.more{font-weight:700;color:var(--navy);text-decoration:none;display:inline-flex;gap:8px;align-items:center}
.more::after{content:"";width:22px;height:2px;background:var(--clay);transition:width .2s}
.more:hover::after{width:34px}

/* Hero: centered headline + three-tile collage */
.hero{padding:80px 0 0;text-align:center;background:linear-gradient(var(--sand) 0 72%,var(--paper) 72%)}
.hero h1{max-width:13em;margin-inline:auto}
.hero .big{max-width:36em;margin:22px auto 34px}
.hero .actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
.collage{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:20px;margin-top:64px;align-items:end}
.collage figure{margin:0;border-radius:28px;overflow:hidden;background:var(--white)}
.collage figure:nth-child(1){aspect-ratio:3/4}
.collage figure:nth-child(2){aspect-ratio:4/4.3}
.collage figure:nth-child(3){aspect-ratio:3/3.6}
.collage img{width:100%;height:100%;object-fit:cover}
@media (max-width:760px){.collage{grid-template-columns:1fr 1fr}.collage figure:nth-child(2){grid-column:1/-1;order:-1;aspect-ratio:4/3}.hero{padding-top:48px}}

/* Statement band */
.statement{padding:96px 0}
.statement .c{display:grid;grid-template-columns:1fr 2fr;gap:56px;align-items:start}
.statement p.quote{font-family:var(--display);font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.3;color:var(--navy);margin:0}
.statement p.quote em{color:var(--clay);font-style:normal}
@media (max-width:860px){.statement .c{grid-template-columns:1fr;gap:20px}}

/* Pillars — colored tiles of different heights */
.pillars{padding:24px 0 104px}
.pillar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:40px}
.pt{border-radius:24px;padding:32px 28px;display:flex;flex-direction:column;min-height:340px;text-decoration:none;color:var(--ink);transition:transform .2s}
.pt:hover{transform:translateY(-4px)}
.pt .ic{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.6);display:grid;place-items:center;margin-bottom:auto}
.pt h3{margin-top:28px}
.pt p{margin:0 0 18px;color:inherit;opacity:.9}
.pt.a{background:var(--navy);color:#E6EAF2}.pt.a h3{color:#fff}.pt.a .ic{background:rgba(255,255,255,.12)}
.pt.b{background:var(--clay-soft);margin-top:48px}
.pt.c2{background:var(--sky)}
.pt.d{background:var(--sand);margin-top:48px}
.pt .more{margin-top:auto}.pt.a .more{color:#fff}
@media (max-width:1060px){.pillar-grid{grid-template-columns:1fr 1fr}.pt.b,.pt.d{margin-top:0}}
@media (max-width:600px){.pillar-grid{grid-template-columns:1fr}.pt{min-height:0}}

/* Path (horizontal timeline) */
.path{background:var(--navy);color:#DCE2EE;padding:104px 0;border-radius:40px 40px 0 0}
.path h2{color:#fff}
.path-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:56px;counter-reset:st;list-style:none;padding:0}
.path-steps li{padding:0 24px 0 0;position:relative;counter-increment:st}
.path-steps li::before{content:counter(st);display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--mustard);color:var(--navy);font:700 1.2rem var(--body);margin-bottom:22px;position:relative;z-index:1}
.path-steps li::after{content:"";position:absolute;top:26px;inset-inline-start:52px;inset-inline-end:0;height:2px;background:rgba(255,255,255,.18)}
.path-steps li:last-child::after{display:none}
.path-steps h3{color:#fff;font-size:1.4rem}
@media (max-width:900px){.path-steps{grid-template-columns:1fr;gap:28px}.path-steps li{padding:0 0 0 76px}.path-steps li::before{position:absolute;inset-inline-start:0;top:0}.path-steps li::after{display:none}}

/* Tech split */
.tech{background:var(--navy);padding:0 0 104px;color:#DCE2EE}
.tech .box{background:var(--navy-2);border-radius:32px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden}
.tech .txt{padding:56px}
.tech h2{color:#fff}
.tech ul{list-style:none;padding:0;margin:24px 0 32px}
.tech li{padding:14px 0 14px 36px;border-bottom:1px solid rgba(255,255,255,.12);position:relative}
.tech li::before{content:"";position:absolute;inset-inline-start:0;top:24px;width:16px;height:16px;border-radius:4px;background:var(--mustard);transform:rotate(45deg)}
.tech li strong{color:#fff}
.tech .img img{width:100%;height:100%;object-fit:cover}
@media (max-width:900px){.tech .box{grid-template-columns:1fr}.tech .txt{padding:36px 26px}}

/* Library list (rows) */
.lib{padding:104px 0}
.lib-head{display:flex;justify-content:space-between;align-items:end;gap:24px;flex-wrap:wrap;margin-bottom:40px}
.row{display:grid;grid-template-columns:220px 1fr auto;gap:36px;align-items:center;padding:28px;border-radius:24px;background:var(--white);margin-bottom:16px;text-decoration:none;color:var(--ink);border:1px solid var(--line);transition:border-color .2s}
.row:hover{border-color:var(--clay)}
.row .th{border-radius:16px;overflow:hidden;aspect-ratio:4/3}
.row .th img{width:100%;height:100%;object-fit:cover}
.row h3{margin:6px 0 8px;font-size:1.7rem}
.row p{margin:0;color:var(--muted)}
.row .meta{font-size:.92rem;color:var(--muted);font-weight:600}
.row .go{width:56px;height:56px;border-radius:50%;background:var(--sand);display:grid;place-items:center;font-size:1.4rem;color:var(--navy)}
[dir="rtl"] .row .go{transform:scaleX(-1)}
@media (max-width:760px){.row{grid-template-columns:1fr;gap:16px;padding:18px}.row .go{display:none}}

/* FAQ */
.faq{padding:0 0 104px}
.faq .c{display:grid;grid-template-columns:1fr 1.5fr;gap:56px}
details{border-bottom:1px solid var(--line);padding:6px 0}
summary{cursor:pointer;list-style:none;font-weight:700;font-size:1.15rem;padding:18px 44px 18px 0;position:relative;color:var(--navy);min-height:48px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;inset-inline-end:6px;top:12px;font-size:1.8rem;font-weight:400;color:var(--clay)}
details[open] summary::after{content:"−"}
details p{color:var(--muted);padding-inline-end:40px}
@media (max-width:860px){.faq .c{grid-template-columns:1fr;gap:20px}}

/* Invite */
.invite{padding:0 0 104px}
.invite .box{background:var(--clay);border-radius:40px;padding:80px 56px;display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center;color:#FCEDE4}
.invite h2{color:#fff}
@media (max-width:860px){.invite .box{grid-template-columns:1fr;padding:48px 28px}}

/* Footer — light */
.ftr{background:var(--sand);padding:72px 0 28px;font-size:1rem;color:var(--muted)}
.ftr .top{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:40px;padding-bottom:40px;border-bottom:1px solid var(--line)}
.ftr h4{font-family:var(--body);font-weight:700;font-size:1rem;color:var(--navy);margin-bottom:14px}
.ftr ul{list-style:none;margin:0;padding:0}.ftr li{margin-bottom:8px}
.ftr a{color:var(--ink);text-decoration:none}.ftr a:hover{color:var(--clay);text-decoration:underline}
.ftr .brand{margin-bottom:14px}
.ftr .legal{padding-top:28px;font-size:.93rem;line-height:1.7}
.fill{background:#FFF3C9;border:1px dashed var(--mustard);border-radius:4px;padding:0 6px;color:#5E4A12}
@media (max-width:900px){.ftr .top{grid-template-columns:1fr 1fr}}
@media (max-width:540px){.ftr .top{grid-template-columns:1fr}}

/* Inner pages */
.intro{background:var(--sand);padding:72px 0 64px;border-radius:0 0 40px 40px}
.intro .c{display:grid;grid-template-columns:1.3fr 1fr;gap:56px;align-items:end}
.intro.solo .c{grid-template-columns:1fr}
.intro h1{font-size:clamp(2.3rem,4.8vw,4rem)}
.bc{font-size:.95rem;margin-bottom:22px;color:var(--muted)}
.bc a{color:var(--muted)}
.intro .pic{border-radius:28px;overflow:hidden;aspect-ratio:4/3}
.intro .pic img{width:100%;height:100%;object-fit:cover}
@media (max-width:860px){.intro .c{grid-template-columns:1fr;gap:28px}}
.body{padding:72px 0 96px}
.body .c{display:grid;grid-template-columns:1fr 300px;gap:64px}
.text{max-width:760px}
.text h2{font-size:2.1rem;margin-top:1.6em}
.text h2:first-child{margin-top:0}
.text h3{font-size:1.5rem;margin-top:1.4em}
.text ul,.text ol{padding-inline-start:1.3em}
.text li{margin-bottom:.55em}
.text li::marker{color:var(--clay);font-weight:700}
.side{align-self:start;position:sticky;top:120px;background:var(--white);border:1px solid var(--line);border-radius:24px;padding:26px}
.side h4{font-family:var(--body);font-weight:700;font-size:1rem;margin-bottom:12px}
.side ol{margin:0;padding-inline-start:1.2em;font-size:.98rem}
.side a{color:var(--ink);text-decoration:none}.side a:hover{color:var(--clay)}
@media (max-width:980px){.body .c{grid-template-columns:1fr}.side{position:static;order:-1}}
.note{border-radius:20px;padding:24px 28px;margin:1.8em 0;background:var(--sky)}
.note.warm{background:var(--clay-soft)}
.note p:last-child{margin:0}
.cards2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:1.5em 0}
.cards2 div{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:22px}
.cards2 h3{margin-top:0;font-size:1.3rem}
.cards2 p{margin:0;color:var(--muted);font-size:1rem}
@media (max-width:640px){.cards2{grid-template-columns:1fr}}
.byline{color:var(--muted);font-weight:600;font-size:.98rem}
.form{display:grid;gap:20px}
.form label{display:block;font-weight:700;margin-bottom:8px;color:var(--navy)}
.form input,.form select,.form textarea{width:100%;font:inherit;padding:14px 18px;min-height:56px;border:2px solid var(--line);border-radius:16px;background:#fff;color:var(--ink)}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--navy);outline:none}
.form .ck{display:flex;gap:12px;font-weight:500}.form .ck input{width:24px;height:24px;min-height:24px;flex:none;margin-top:4px}
.status{display:none;border-radius:16px;padding:16px 20px;background:var(--sky)}.status.on{display:block}
dl.info{display:grid;grid-template-columns:auto 1fr;gap:10px 22px;margin:0}
dl.info dt{font-weight:700;color:var(--navy)}dl.info dd{margin:0}
