/*
Theme Name: jlaraw Black Gold
Theme URI: https://jlaraw.com/
Author: jlaraw
Description: English-language account, mobile and support theme with black-and-gold identity, page-object navigation and configurable external destinations.
Version: 1.0.10
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jlaraw
Tags: custom-logo, custom-menu, featured-images, two-columns
*/
:root {
  --bg:#080808; --panel:#141310; --panel-raised:#1d1a14; --ink:#f6f2e8;
  --muted:#c7c0b3; --soft:#ada491; --gold:#e6bb63; --gold-light:#f6dfaa;
  --line:#493f2d; --gold-line:#66503c; --max:1280px;
  --jl-header-height:84px; --jl-toolbar-offset:0px;
  color-scheme:dark;
}
*,:before,:after { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:calc(var(--jl-header-height) + var(--jl-toolbar-offset) + 20px); }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.75 Arial,Helvetica,sans-serif; overflow-wrap:break-word; }
a { color:inherit; text-decoration:none; }
a,button,input,textarea,select,summary { -webkit-tap-highlight-color:transparent; }
button,input,textarea,select { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible { outline:3px solid var(--gold-light); outline-offset:5px; }
img { max-width:100%; height:auto; display:block; }
svg { max-width:100%; }
video,iframe { max-width:100%; }
figure { margin:0; }
p { margin:0 0 18px; color:var(--muted); }
h1,h2,h3,h4 { color:var(--ink); line-height:1.17; margin:0 0 20px; font-weight:500; letter-spacing:-.03em; }
h1 { font-size:clamp(36px,4.6vw,60px); }
h2 { font-size:32px; }
h3 { font-size:22px; }
strong { color:var(--ink); }
.container { width:min(var(--max),calc(100% - 144px)); margin-inline:auto; min-width:0; }
.sr-only,.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:-120px; left:20px; background:var(--gold-light); color:#111; padding:12px 22px; z-index:999999; }
.skip-link:focus { top:12px; }
.eyebrow,.section-index,.small-label { display:block; font-size:10px; font-weight:700; letter-spacing:.17em; color:var(--gold); line-height:1.6; margin-bottom:14px; }
.eyebrow-line { display:inline-block; width:24px; height:1px; background:var(--gold); vertical-align:middle; margin-right:8px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:15px; min-height:50px; border:1px solid var(--gold); padding:13px 25px; background:linear-gradient(130deg,#f0d89f,#bd9651); color:#100f0e; font-size:14px; font-weight:700; line-height:1.3; border-radius:4px; text-align:center; transition:background .18s,border-color .18s; }
.btn:hover { background:var(--gold-light); border-color:var(--gold-light); }
.btn svg { width:21px; height:21px; flex:0 0 21px; }
.btn-outline { color:var(--gold-light); background:transparent; border-color:#816447; }
.btn-outline:hover { background:#24231f; color:#fff3d0; }
.btn-small { min-height:39px; font-size:12px; padding:10px 18px; }
.btn:disabled { background:#332f25; color:#d8cfb9; border-color:#595241; }
.text-link { color:var(--gold-light); text-decoration:underline; text-underline-offset:5px; }
.icon-badge { width:42px; height:42px; display:grid; place-items:center; color:var(--gold); border:1px solid #6d553e; border-radius:50%; background:#1c1b18; flex:0 0 42px; }
.icon-badge svg { width:25px; height:25px; }
/* A single header for both viewports; JS measures its real border-box height. */
.jlaraw-site .site-header { position:sticky; top:0; z-index:1000; background:#0a0a09f7; border-bottom:1px solid #383429; padding-top:env(safe-area-inset-top,0px); }
.nav-ready .jlaraw-site .site-header { position:fixed; left:0; right:0; top:var(--jl-toolbar-offset); }
.admin-bar .site-header { top:32px; }
.header-inner { min-height:83px; display:flex; align-items:center; justify-content:space-between; gap:26px; }
.brand,.custom-logo-link { display:inline-flex; flex:0 0 auto; align-items:center; min-width:0; }
.brand img { width:179px; height:auto; }
.custom-logo { width:auto; max-width:190px; max-height:65px; object-fit:contain; }
.primary-nav { margin-inline:auto; }
.nav-menu { display:flex; align-items:center; gap:24px; list-style:none; margin:0; padding:0; }
.nav-menu li { position:relative; }
.nav-menu a { display:block; padding:20px 0; font-size:12px; line-height:1.4; color:#e6e0d2; white-space:nowrap; }
.nav-menu a:hover,.nav-menu a[aria-current=page],.current-menu-item>a { color:var(--gold-light); }
.nav-menu>li>a[aria-current=page]:after,.nav-menu>.current-menu-item>a:after { content:''; position:absolute; height:2px; bottom:8px; left:0; width:18px; background:var(--gold); }
.sub-menu { display:none; position:absolute; left:-20px; top:100%; min-width:210px; list-style:none; margin:0; padding:12px 20px; background:#141312; border:1px solid #66503c; box-shadow:0 18px 36px #0008; z-index:10; }
.sub-menu a { padding:13px 4px; white-space:normal; }
.sub-menu .sub-menu { left:100%; top:0; }
.nav-menu li:hover>.sub-menu,.nav-menu li:focus-within>.sub-menu,.nav-menu li.submenu-open>.sub-menu { display:block; }
.menu-item-has-children>a { display:inline-block; }
.submenu-toggle { display:inline-flex; align-items:center; justify-content:center; width:24px; height:34px; margin-left:3px; color:var(--gold); border:0; background:transparent; font-size:19px; }
.header-actions { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.menu-toggle,.mobile-actions { display:none; }
.site-header-spacer { display:none; }
.nav-ready .site-header-spacer { display:block; height:var(--jl-header-height); }
/* The document order is intro, routes, image. Desktop alone repositions the image. */
.home-hero { padding:48px 0 0; background:radial-gradient(ellipse at 28% 0,#b6a37116,transparent 55%); }
.hero-grid { display:grid; grid-template-columns:1fr 1.08fr; grid-template-areas:'intro art' 'routes routes'; gap:34px 54px; align-items:center; }
.hero-intro { grid-area:intro; padding-block:7px; min-width:0; }
.hero-intro h1 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(60px,6.8vw,100px); color:var(--gold-light); letter-spacing:-.07em; margin-bottom:13px; line-height:1.02; overflow-wrap:anywhere; }
.hero-tagline { font-family:Georgia,'Times New Roman',serif; font-size:clamp(28px,3vw,42px); line-height:1.14; color:var(--ink); letter-spacing:-.025em; margin-bottom:18px; }
.hero-tagline em { font-weight:400; color:var(--gold); }
.hero-description { font-size:14px; max-width:360px; line-height:1.7; margin-bottom:20px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.hero-actions .btn { min-width:130px; }


.hero-visual { grid-area:art; min-width:0; align-self:center; border:1px solid #7c6b40; position:relative; border-radius:120px 8px 8px 8px; overflow:hidden; box-shadow:0 25px 70px #0005; background:#0d0d0b; }
.hero-art { width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; }
.hero-visual figcaption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; padding:15px 22px; font-size:11px; color:var(--gold-light); background:#151513; border-top:1px solid #484234; }
.hero-visual figcaption span:last-child { color:#cfc5aa; font-size:10px; }
.domain-lines { grid-area:routes; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; align-self:stretch; }
.route-card { display:flex; flex-direction:column; min-width:0; padding:23px 25px 0; border:1px solid #4e4838; border-radius:4px; background:linear-gradient(150deg,#1b1a18,#100f0e 82%); position:relative; }
.route-card:before { content:''; position:absolute; top:-1px; left:25px; width:55px; height:2px; background:var(--gold); }
.route-main { border-color:#9b8650; background:linear-gradient(145deg,#252421,#131311 72%); }
.route-top { display:flex; align-items:center; gap:15px; margin-bottom:18px; }
.route-number { font-family:Georgia,serif; font-size:40px; color:#ddb173; line-height:1; }
.route-top .eyebrow { margin:0; font-size:9px; letter-spacing:.16em; color:#c8bc9d; }
.route-name { font-size:13px; color:var(--gold-light); }
.route-icon { margin-left:auto; width:32px; color:var(--gold); }
.route-icon svg { width:28px; height:28px; }
.route-card h2 { font-size:clamp(19px,1.8vw,25px); font-weight:500; margin-bottom:12px; letter-spacing:-.04em; overflow-wrap:anywhere; }
.route-card h2 a:hover { color:var(--gold-light); }
.route-card p { font-size:12px; line-height:1.75; margin-bottom:22px; }
.route-link { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:53px; padding:12px 0; font-size:12px; font-weight:700; color:var(--gold-light); border-top:1px solid #443e31; }
.route-link svg { width:21px; height:21px; flex:0 0 21px; }
.route-link:hover { color:#fff; }
/* Editorial panels have different proportions, not duplicated device markup. */
.section-block { padding-top:68px; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:27px; }
.section-heading h2 { font-family:Georgia,serif; font-size:clamp(28px,3vw,40px); margin:0; }
.section-heading p { font-size:12px; line-height:1.7; margin:0; color:#cec4a9; }
.section-index { font-size:9px; margin-bottom:12px; }
.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.feature-card { display:block; border:1px solid #3e392d; background:#141311; padding:24px; border-radius:3px; transition:background .18s,border-color .18s; }
.feature-card:hover { border-color:#d0a266; background:#22201e; }
.feature-top { display:flex; align-items:center; gap:12px; margin-bottom:21px; }
.feature-label { font-size:10px; color:var(--gold); text-transform:uppercase; letter-spacing:.14em; }
.feature-arrow { margin-left:auto; color:#efd79e; font-size:24px; }
.feature-card h3 { font-family:Georgia,serif; font-size:23px; margin-bottom:13px; max-width:240px; }
.feature-card p { margin:0; font-size:12px; line-height:1.7; }
.prose { min-width:0; }
.prose h2 { font-size:23px; letter-spacing:-.035em; margin:0 0 18px; font-weight:500; line-height:1.25; }
.prose h3 { font-size:19px; line-height:1.3; margin:24px 0 14px; }
.prose p,.prose li { font-size:14px; line-height:1.88; color:#dbd3bf; }
.prose a { color:var(--gold-light); text-decoration:underline; text-underline-offset:4px; }
.prose a:hover { color:#fff; }
.prose ul,.prose ol { padding-left:22px; }
.prose li { margin-bottom:10px; }
.prose blockquote { margin:24px 0; padding:14px 20px; border-left:2px solid var(--gold); background:#22211e; }
.prose table { border-collapse:collapse; width:100%; display:block; overflow:auto; }
.prose th,.prose td { border:1px solid var(--line); padding:10px; }
.copy-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; counter-reset:editorial; }
.copy-card { counter-increment:editorial; min-width:0; padding:30px; border:1px solid #3e392d; background:linear-gradient(140deg,#181815,#11110f 78%); position:relative; }
.copy-card:before { content:counter(editorial,decimal-leading-zero); display:block; color:#dbb378; font-family:Georgia,serif; font-size:13px; margin-bottom:16px; }
.copy-card p:last-child { margin-bottom:0; }
.home-copy .copy-card { border-radius:3px; }
.home-copy .copy-card:nth-child(1) { grid-column:1/-1; padding:34px 38px; background:linear-gradient(110deg,#252421,#141312); border-color:#98834e; }
.home-copy .copy-card:nth-child(1) h2 { font-family:Georgia,serif; font-size:29px; }
.home-copy .copy-card:last-child { grid-column:1/-1; background:#1e1d1a; }
.home-copy .copy-card:last-child p { max-width:1000px; }
.home-editorial { padding-bottom:64px; }
.support-band { background:#1b1a17; border-block:1px solid #554e3d; }
.support-band-inner { padding-block:33px; display:flex; align-items:center; gap:26px; }
.support-mark { width:57px; flex:0 0 57px; color:var(--gold); }
.support-band .eyebrow { margin-bottom:7px; font-size:9px; }
.support-band h2 { font-family:Georgia,serif; font-size:28px; margin-bottom:8px; }
.support-band p { margin:0; font-size:12px; }
.support-band .btn { margin-left:auto; flex:0 0 auto; }
/* Inner pages: the single Main Entry is after H1, before body and illustration. */
.page-shell { padding:35px 0 65px; min-height:65vh; }
.breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:10px; font-size:11px; color:#c4b795; margin-bottom:30px; }
.breadcrumbs a { color:var(--gold); }
.page-heading { margin-bottom:29px; padding-bottom:25px; border-bottom:1px solid #3d382c; }
.page-heading .eyebrow { margin-bottom:13px; }
.page-heading h1 { font-size:clamp(34px,4.2vw,58px); font-family:Georgia,serif; line-height:1.1; margin:0; max-width:1080px; overflow-wrap:anywhere; }
.inner-grid { display:grid; grid-template-columns:minmax(0,1fr) 258px; gap:28px; align-items:start; }
.page-article { min-width:0; }
.main-entry-card { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:18px; border:1px solid #877140; background:linear-gradient(112deg,#1e1d1b,#151412 70%); padding:22px 23px; margin-bottom:26px; position:relative; border-radius:4px; }
.main-entry-card:before { content:''; position:absolute; width:58px; height:2px; top:-1px; left:23px; background:var(--gold-light); }
.entry-symbol { color:#d7ba72; width:44px; }
.entry-symbol svg { width:44px; height:44px; }
.entry-copy .eyebrow { margin-bottom:6px; font-size:8px; }
.entry-copy h2 { font-family:Georgia,serif; font-size:23px; margin-bottom:8px; line-height:1.2; }
.entry-copy p { margin:0; font-size:11px; line-height:1.7; max-width:330px; }
.entry-action { min-width:0; }
.entry-action .btn { font-size:12px; min-height:45px; padding:12px 16px; gap:10px; white-space:normal; }
.entry-status { display:block; text-align:center; font-size:9px; margin-top:7px; color:#c7ba9b; line-height:1.5; }
.page-opening { display:grid; grid-template-columns:.8fr 1.2fr; align-items:center; gap:25px; padding:0 0 28px; }
.page-intro p { font-family:Georgia,serif; color:#dcdcc8; font-size:22px; line-height:1.42; margin-bottom:20px; letter-spacing:-.02em; }
.opening-line { width:35px; height:2px; background:#d6a464; display:block; margin-bottom:18px; }
.page-intro .small-label { color:#ccc1a4; font-size:8px; margin:0; }
.page-illustration { overflow:hidden; border:1px solid #7b6a3f; border-radius:42px 3px 3px 3px; background:#0b0b0a; }
.page-illustration img { width:100%; aspect-ratio:30/19; height:auto; }
.family-mobile .page-opening { grid-template-columns:1fr 1fr; }
.family-mobile .page-illustration { border-radius:3px 42px 3px 3px; }
.family-activity .page-opening { grid-template-columns:.75fr 1.25fr; }
.family-activity .copy-card:first-child { grid-column:1/-1; border-color:#a79056; }
.family-help .copy-grid,.family-editorial .copy-grid,.family-policy .copy-grid { grid-template-columns:1fr; }
.family-help .copy-card { border-left:3px solid #b8a575; }
.family-policy .copy-card { background:#151412; border:0; border-bottom:1px solid #443f31; padding:29px 30px; }
.family-policy .copy-card h2 { font-size:22px; }
.family-policy .copy-card:before { float:left; margin:3px 16px 0 0; }
.family-policy .page-opening { grid-template-columns:1.1fr .9fr; }
.family-policy .page-intro p { font-size:20px; }
.family-editorial .copy-card:nth-child(even) { background:#1f1e1b; }
.family-editorial .copy-card h2 { font-family:Georgia,serif; font-size:28px; }
.faq-item { border-top:1px solid #4c4637; padding:0; margin:0; }
.faq-item summary { color:var(--gold-light); padding:17px 28px 17px 0; font-size:15px; font-weight:500; line-height:1.5; cursor:pointer; position:relative; list-style:none; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary:after { content:'+'; position:absolute; right:3px; top:15px; font-size:21px; color:var(--gold); }
.faq-item[open] summary:after { content:'−'; }
.faq-item p { padding-bottom:18px; font-size:14px; }
.side-stack { display:grid; gap:20px; align-self:start; min-width:0; }
.side-card { background:#161513; border:1px solid #464032; padding:26px 23px; border-radius:4px; }
.side-card .eyebrow { font-size:8px; }
.side-card h2 { font-family:Georgia,serif; font-size:24px; line-height:1.22; margin-bottom:18px; }
.side-card p { font-size:12px; line-height:1.8; }
.side-links { display:grid; }
.side-links a { font-size:11px; padding:12px 0; border-bottom:1px solid #443e31; color:#e7e2d5; display:flex; justify-content:space-between; gap:9px; }
.side-links a:after { content:'→'; color:var(--gold); }
.side-links a:last-child { border-bottom:0; padding-bottom:0; }
.side-links a:hover { color:var(--gold-light); }
.side-help { background:linear-gradient(150deg,#272622,#151412); border-color:#907c4a; }
.side-help .icon-badge { margin-bottom:20px; }
.side-card .text-link { font-size:12px; }
.side-pause { background:#100f0e; }
.side-stack .main-entry-card { grid-template-columns:1fr; padding:25px 23px; margin:0; gap:15px; }
.side-stack .entry-symbol { width:35px; }
.side-stack .entry-symbol svg { width:35px; height:35px; }
.side-stack .entry-copy p { max-width:none; }
.side-stack .entry-action .btn { width:100%; }
.contact-status { margin-top:22px; background:#201f1c; border:1px solid #96824e; padding:28px; }
.contact-status h2 { font-family:Georgia,serif; font-size:27px; }
.contact-status p { font-size:13px; margin-bottom:0; }
.contact-status .text-link { overflow-wrap:anywhere; }
.content-card { min-width:0; padding:32px; border:1px solid var(--line); background:var(--panel); }
.content-card h1 { font-size:42px; }
.post-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px; }
.page-links,.navigation { margin-top:25px; }
.nav-links { display:flex; gap:15px; flex-wrap:wrap; }
.error-card { padding-block:75px; max-width:800px; }
.error-card h1 { font-family:Georgia,serif; font-size:clamp(35px,5vw,62px); }
.error-card .btn { margin:12px 10px 12px 0; }
.endpoint { padding-block:90px; }
.endpoint h1 { font-family:Georgia,serif; font-size:42px; }
.search-form label { display:block; font-size:13px; color:var(--gold-light); }
.search-form>div { display:flex; gap:10px; margin-top:10px; }
.search-form input { min-width:0; width:100%; background:#0d0d0c; border:1px solid #8e7a49; color:var(--ink); padding:10px; }
/* One exterior social rail, with a reserved reading gutter on narrow screens. */
.floating-social { position:fixed; right:max(14px,env(safe-area-inset-right,0px)); bottom:calc(20px + env(safe-area-inset-bottom,0px)); z-index:90; display:flex; flex-direction:column; gap:8px; }
.float-btn { width:42px; height:42px; border:1px solid #897646; border-radius:9px; background:#131311f5; display:grid; place-items:center; color:var(--gold-light); box-shadow:0 3px 14px #0006; padding:9px; transition:border-color .18s,background .18s; }
.float-btn svg { width:21px; height:21px; fill:currentColor; }
.float-btn:hover { background:#282623; border-color:var(--gold-light); }
.float-btn.unavailable { color:#c8bc9d; border-style:dashed; background:#100f0e; box-shadow:none; }
.float-btn.back-top svg { fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
/* Footer is an editorial finish rather than another promotional entry area. */
.site-footer { background:#0c0c0b; padding-top:45px; border-top:1px solid #3a352a; }
.footer-statement { display:grid; grid-template-columns:1fr 1.1fr; gap:50px; align-items:center; padding-bottom:38px; border-bottom:1px solid #363227; }
.footer-statement .eyebrow { font-size:9px; }
.footer-statement h2 { font-family:Georgia,serif; font-size:49px; line-height:1.05; margin:0; }
.footer-statement em { color:var(--gold); font-weight:400; }
.footer-statement p { margin:0; font-size:13px; line-height:1.9; max-width:550px; }
.footer-statement strong { color:var(--gold-light); }
.footer-grid { display:grid; grid-template-columns:1.5fr repeat(4,1fr); gap:30px; padding-block:38px; }
.footer-brand p { font-size:11px; line-height:1.85; max-width:230px; margin:17px 0 0; }
.footer-brand .brand img { width:165px; }
.footer-column h2 { font-size:11px; color:var(--gold-light); font-weight:700; letter-spacing:0; margin-bottom:17px; line-height:1.5; }
.footer-column a { display:block; font-size:11px; color:#d3c9b0; padding:5px 0; line-height:1.8; }
.footer-column a:hover { color:var(--gold-light); }
.footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 20px; border-top:1px solid #423d30; padding-block:19px; color:#cdc2a6; font-size:10px; }
.footer-bottom p { font-size:10px; margin:0; }
.footer-bottom a { color:var(--gold-light); }
@media(min-width:1440px) { .hero-visual { margin-left:5px; } }
@media(max-width:1250px) { .nav-menu { gap:15px; } .header-inner { gap:20px; } .brand img { width:160px; } .hero-grid { gap:28px 35px; } .inner-grid { grid-template-columns:minmax(0,1fr) 235px; gap:22px; } .main-entry-card { grid-template-columns:minmax(0,1fr) auto; } .entry-symbol { display:none; } .copy-card { padding:25px; } .page-intro p { font-size:20px; } }
@media(max-width:1100px) {
  .container { width:calc(100% - 124px); }
  .header-inner { min-height:75px; position:relative; flex-wrap:wrap; gap:14px; }
  .brand,.custom-logo-link { margin-right:auto; }
  .brand img { width:173px; }
  .header-actions { margin-left:auto; }
  .nav-ready .menu-toggle { display:grid; align-content:center; gap:5px; width:42px; height:42px; padding:10px; background:#1a1917; border:1px solid #a08a52; border-radius:4px; flex:0 0 42px; }
  .menu-toggle span { height:2px; width:20px; background:var(--gold-light); display:block; transition:transform .15s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform:translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity:0; }
  .menu-toggle[aria-expanded=true] span:last-child { transform:translateY(-7px) rotate(-45deg); }
  .primary-nav { width:100%; margin:0; order:4; }
  .nav-ready .primary-nav { display:none; position:absolute; top:100%; left:0; right:0; width:auto; max-height:calc(var(--jl-visual-bottom,100dvh) - var(--jl-header-height) - var(--jl-toolbar-offset) - 14px); overflow-y:auto; overscroll-behavior:contain; background:#131311; border:1px solid #a18a53; padding:12px 22px 22px; box-shadow:0 24px 40px #000a; -webkit-overflow-scrolling:touch; }
  .nav-ready .primary-nav.is-open { display:block; }
  .nav-menu { display:block; }
  .nav-menu a { padding:15px 0; font-size:14px; border-bottom:1px solid #3e392d; white-space:normal; }
  .nav-menu>li>a[aria-current=page]:after,.nav-menu>.current-menu-item>a:after { display:none; }
  .menu-item-has-children>a { display:block; padding-right:50px; }
  .submenu-toggle { position:absolute; right:0; top:5px; width:42px; height:42px; margin:0; }
  .sub-menu,.sub-menu .sub-menu { position:static; min-width:0; margin:3px 0 9px 8px; padding:0 12px; border:0; border-left:1px solid #98834e; box-shadow:none; background:#191816; }
  .nav-menu li:hover>.sub-menu,.nav-menu li:focus-within>.sub-menu { display:none; }
  .nav-menu li.submenu-open>.sub-menu { display:block; }
  .mobile-actions { display:flex; gap:12px; padding-top:20px; }
  .mobile-actions .btn { flex:1; }
  .hero-grid { grid-template-columns:1fr 1fr; gap:28px; }
  .hero-intro h1 { font-size:70px; }
  .hero-tagline { font-size:32px; }
  .hero-description { font-size:13px; }
  .hero-visual { border-top-left-radius:80px; }
  .hero-visual figcaption { padding:13px 17px; }
  .route-card { padding:20px 20px 0; }
  .route-number { font-size:34px; }
  .route-top { gap:11px; }
  .route-card h2 { font-size:20px; }
  .inner-grid { grid-template-columns:minmax(0,1fr) 220px; gap:20px; }
  .main-entry-card { grid-template-columns:1fr; gap:16px; }
  .entry-action { display:flex; gap:12px; align-items:center; }
  .entry-status { text-align:left; margin:0; }
  .entry-copy p { max-width:100%; }
  .page-opening { gap:20px; }
  .page-intro p { font-size:20px; }
  .page-copy .copy-grid { grid-template-columns:1fr; }
  .side-card { padding:23px 20px; }
  .side-card h2 { font-size:22px; }
  .side-stack .entry-action { display:block; }
  .side-stack .entry-status { text-align:center; margin-top:7px; }
  .footer-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:25px; }
  .footer-brand { grid-column:1/-1; display:flex; gap:30px; align-items:center; }
  .footer-brand p { max-width:400px; margin:0; }
}
@media(max-width:820px) {
  .container { width:calc(100% - 106px); margin-left:32px; margin-right:74px; }
  .header-inner.container { width:calc(100% - 48px); margin-inline:24px; }
  .home-hero { padding-top:34px; }
  .hero-grid { grid-template-columns:1fr; grid-template-areas:'intro' 'routes' 'art'; gap:24px; }
  .hero-intro h1 { font-size:76px; }
  .hero-tagline { font-size:36px; }
  .hero-description { max-width:440px; font-size:14px; }
  .hero-visual { width:100%; max-width:650px; border-top-left-radius:70px; }
  .domain-lines { grid-template-columns:1fr; gap:13px; }
  .route-card { padding:20px 23px 0; }
  .route-card p { max-width:520px; font-size:13px; margin-bottom:17px; }
  .route-card h2 { font-size:24px; margin-bottom:10px; }
  .route-top { margin-bottom:14px; }
  .route-number { font-size:38px; }
  .route-link { min-height:48px; }
  .section-block { padding-top:44px; }
  .section-heading { align-items:start; gap:18px; }
  .section-heading p { font-size:11px; }
  .feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .feature-card { padding:23px; }
  .feature-card h3 { font-size:22px; }
  .copy-card,.home-copy .copy-card:nth-child(1) { padding:26px; }
  .home-copy .copy-grid { grid-template-columns:1fr; }
  .home-copy .copy-card:first-child h2 { font-size:27px; }
  .inner-grid { grid-template-columns:1fr; }
  .side-stack { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .side-stack .side-card:last-child { grid-column:1/-1; }
  .entry-sidebar .side-stack { grid-template-columns:1fr; }
  .entry-sidebar .side-stack .main-entry-card { grid-template-columns:1fr auto; align-items:center; }
  .entry-sidebar .side-stack .entry-symbol { display:none; }
  .page-shell { padding-top:27px; }
  .page-opening,.family-mobile .page-opening,.family-activity .page-opening,.family-policy .page-opening { grid-template-columns:1fr 1fr; }
  .main-entry-card { grid-template-columns:1fr auto; gap:20px; }
  .entry-action { display:block; }
  .entry-status { text-align:center; margin-top:7px; }
  .support-band-inner { flex-wrap:wrap; }
  .support-band-inner>div { flex:1; }
  .support-band .btn { margin-left:83px; }
  .footer-statement { grid-template-columns:.8fr 1.2fr; gap:25px; }
  .footer-statement h2 { font-size:40px; }
  .footer-statement p { font-size:12px; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-brand { display:block; }
  .footer-brand p { margin-top:17px; }
}
@media(max-width:600px) {
  :root { --jl-header-height:72px; }
  .container { width:calc(100% - 78px); margin-left:16px; margin-right:62px; }
  .header-inner.container { width:calc(100% - 28px); margin-inline:14px; min-height:71px; gap:10px; }
  .brand img { width:154px; }
  .custom-logo { max-width:154px; max-height:50px; }
  .header-inner > .brand img,.header-inner > .custom-logo-link img { max-width:min(154px,calc(100vw - 220px)); }
  .header-actions .btn-small { min-height:35px; font-size:11px; padding:9px 11px; white-space:nowrap; }
  .nav-ready .menu-toggle { width:38px; height:38px; flex-basis:38px; padding:8px; }
  .primary-nav { font-size:14px; }
  .nav-ready .primary-nav { left:0; right:0; padding:10px 18px 22px; }
  .home-hero { padding-top:26px; }
  .hero-grid { gap:21px; }
  .hero-intro { padding:0; }
  .hero-intro .eyebrow { font-size:8px; margin-bottom:12px; letter-spacing:.13em; }
  .hero-intro h1 { font-size:60px; margin-bottom:10px; }
  .hero-tagline { font-size:29px; margin-bottom:13px; }
  .hero-description { font-size:12px; line-height:1.65; margin-bottom:15px; }
  .hero-actions { gap:10px; margin-bottom:14px; }
  .hero-actions .btn { flex:1; min-width:0; min-height:44px; padding:12px 10px; font-size:12px; }

  .domain-lines { gap:12px; }
  .route-card { padding:17px 18px 0; }
  .route-card:before { left:18px; width:38px; }
  .route-top { margin-bottom:12px; gap:11px; }
  .route-number { font-size:32px; }
  .route-top .eyebrow { font-size:8px; }
  .route-name { font-size:12px; }
  .route-icon { width:25px; }
  .route-icon svg { width:24px; height:24px; }
  .route-card h2 { font-size:22px; line-height:1.3; margin-bottom:9px; }
  .route-card p { font-size:11px; line-height:1.7; margin-bottom:13px; }
  .route-link { font-size:11px; min-height:43px; }
  .hero-visual { border-top-left-radius:42px; }
  .hero-visual figcaption { display:block; padding:13px 16px; font-size:11px; }
  .hero-visual figcaption span:last-child { display:block; margin-top:3px; }
  .section-block { padding-top:37px; }
  .section-heading { display:block; margin-bottom:20px; }
  .section-heading h2 { font-size:28px; }
  .section-heading p { font-size:11px; margin-top:13px; }
  .section-heading p br { display:none; }
  .section-index { font-size:8px; margin-bottom:11px; }
  .feature-grid { grid-template-columns:1fr; gap:12px; }
  .feature-card { padding:22px; }
  .feature-top { margin-bottom:15px; }
  .feature-card h3 { max-width:none; font-size:23px; margin-bottom:11px; }
  .feature-card p { font-size:12px; }
  .feature-top .icon-badge { width:37px; height:37px; flex-basis:37px; }
  .feature-top .icon-badge svg { width:22px; height:22px; }
  .copy-grid { gap:14px; }
  .copy-card,.home-copy .copy-card:nth-child(1),.family-policy .copy-card { padding:23px 20px; }
  .copy-card:before { margin-bottom:13px; }
  .prose h2,.home-copy .copy-card:first-child h2 { font-size:23px; line-height:1.24; }
  .prose p,.prose li { font-size:13px; line-height:1.88; }
  .home-editorial { padding-bottom:39px; }
  .support-band-inner { display:block; padding-block:28px; }
  .support-mark { display:none; }
  .support-band h2 { font-size:26px; }
  .support-band p { font-size:12px; }
  .support-band .btn { margin:20px 0 0; width:100%; }
  .breadcrumbs { font-size:10px; gap:7px; margin-bottom:23px; }
  .page-heading { margin-bottom:23px; padding-bottom:20px; }
  .page-heading .eyebrow { font-size:8px; }
  .page-heading h1 { font-size:34px; }
  .main-entry-card,.entry-sidebar .side-stack .main-entry-card { grid-template-columns:1fr; gap:16px; padding:21px 19px; margin-bottom:22px; }
  .main-entry-card:before { left:19px; }
  .entry-copy h2 { font-size:24px; }
  .entry-copy p { font-size:11px; }
  .entry-action .btn { width:100%; min-height:43px; font-size:12px; }
  .entry-status { margin-top:7px; font-size:9px; }
  .page-opening,.family-mobile .page-opening,.family-activity .page-opening,.family-policy .page-opening { grid-template-columns:1fr; gap:21px; padding-bottom:23px; }
  .page-intro p,.family-policy .page-intro p { font-size:23px; line-height:1.4; margin-bottom:14px; }
  .page-intro .small-label { font-size:7px; }
  .opening-line { width:25px; margin-bottom:14px; }
  .page-illustration { border-top-left-radius:30px; }
  .family-policy .copy-card h2 { font-size:22px; }
  .family-editorial .copy-card h2 { font-size:25px; }
  .faq-item summary { font-size:14px; padding-right:20px; }
  .faq-item p { font-size:13px; }
  .side-stack { grid-template-columns:1fr; gap:15px; margin-top:4px; }
  .side-card { padding:24px 21px; }
  .side-stack .side-card:last-child { grid-column:auto; }
  .side-stack .main-entry-card { margin:0; }
  .side-card h2 { font-size:25px; }
  .side-links a { font-size:12px; }
  .contact-status { padding:25px 21px; }
  .contact-status h2 { font-size:24px; }
  .contact-status p { font-size:12px; }
  .page-shell { padding-bottom:40px; }
  .floating-social { right:max(9px,env(safe-area-inset-right,0px)); bottom:calc(12px + env(safe-area-inset-bottom,0px)); gap:7px; }
  .float-btn { width:38px; height:38px; padding:8px; border-radius:8px; }
  .float-btn svg { width:20px; height:20px; }
  .site-footer { padding-top:31px; }
  .footer-statement { grid-template-columns:1fr; gap:23px; padding-bottom:28px; }
  .footer-statement h2 { font-size:42px; }
  .footer-statement p { font-size:12px; }
  .footer-grid { padding-block:29px; gap:23px 17px; }
  .footer-column h2 { font-size:11px; margin-bottom:13px; }
  .footer-column a { font-size:11px; line-height:1.75; }
  .footer-brand p { font-size:11px; }
  .footer-bottom { display:block; line-height:1.9; font-size:10px; }
  .footer-bottom>* { display:block; margin-bottom:4px; }
  .post-grid { grid-template-columns:1fr; }
  .content-card { padding:24px 20px; }
  .content-card h1 { font-size:31px; }
  .error-card { padding-block:40px; }
  .endpoint { padding-block:55px; }
  .endpoint h1 { font-size:35px; }
  .search-form>div { flex-direction:column; }
}
@media(max-width:370px) {
  .header-actions { gap:6px; }
  .container { width:calc(100% - 72px); margin-left:12px; margin-right:60px; }
  .header-inner.container { width:calc(100% - 24px); margin-inline:12px; }
  .hero-intro h1 { font-size:51px; }
  .hero-tagline { font-size:27px; }
  .route-card { padding:16px 16px 0; }
  .route-card h2 { font-size:20px; }
  .copy-card,.home-copy .copy-card:nth-child(1),.family-policy .copy-card { padding:22px 18px; }
  .page-heading h1 { font-size:31px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*:before,*:after { animation:none!important; transition:none!important; } }
@media print {
  .site-header,.site-header-spacer,.floating-social,.side-stack,.site-footer,.main-entry-card,.hero-actions,.support-band { display:none!important; }
  body { color:#000; background:#fff; }
  .container { width:100%; margin:0; }
  .hero-grid,.inner-grid,.copy-grid,.page-opening { display:block!important; }
  .copy-card,.content-card { color:#000; background:#fff; border:1px solid #aaa; break-inside:avoid; }
  h1,h2,h3,p,.prose p,.prose li { color:#000!important; }
  a { color:#000!important; }
  .faq-item p { display:block; }
}

.support-band { position:relative; isolation:isolate; }
.support-band:before { content:''; position:absolute; inset:0; background:url('assets/images/sun-lines.svg') no-repeat 94% 50% / 220px; opacity:.045; pointer-events:none; z-index:-1; }
@media(max-width:1100px) { html:not(.nav-ready) .nav-menu .sub-menu { display:block; } }
