/* brucejamieson.ca — rebuilt stylesheet */
:root {
  --navy: #1e2d3b;
  --navy-2: #26394b;
  --steel: #3d5975;
  --steel-2: #5b86b0;
  --ice: #eef3f8;
  --ice-2: #c0d2e5;
  --snow: #ffffff;
  --paper: #f7f7f7;
  --ink: #2f3337;
  --muted: #5d6670;
  --line: #dde4ec;
  --c1: #f2bf5e;
  --c2: #ff6161;
  --c3: #536eb7;
  --c4: #75cba8;
  --accent: #e8574d;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 35, 50, .12);
  --shadow-sm: 0 2px 10px rgba(20, 35, 50, .08);
  --head: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --body: "Nunito Sans", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--steel); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 600; color: var(--steel-2); margin-bottom: .6em; }
.eyebrow a { color: inherit; }
.lede { font-size: 1.15rem; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .72em 1.35em; border-radius: 999px; font-family: var(--head); font-weight: 500; font-size: 1rem; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-light { background: rgba(255,255,255,.92); color: var(--navy); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--steel); color: var(--steel); background: transparent; }
.btn-ghost:hover { background: var(--steel); color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1240px, 100% - 32px); margin-inline: auto; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--head); font-size: 1.35rem; font-weight: 500; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand-mark { width: 34px; height: 34px; color: var(--steel-2); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: #e9eef4; text-decoration: none; font-family: var(--head); font-size: 1.12rem; padding: 10px 14px; border-radius: 8px; display: block; transition: background .15s, color .15s; }
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(255,255,255,.1); color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--steel-2); border-radius: 8px 8px 0 0; }
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: 4px; }
.sub-toggle { background: none; border: 0; color: #cfd9e3; padding: 8px 8px 8px 2px; cursor: pointer; }
.sub { position: absolute; top: 100%; left: 0; min-width: 290px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.sub a { color: var(--navy); font-size: 1rem; }
.sub a:hover { background: var(--ice); color: var(--steel); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; max-height: calc(100vh - 72px); overflow-y: auto; background: var(--navy-2); padding: 10px 16px 24px; transform: translateY(-120%); transition: transform .25s ease; box-shadow: 0 12px 24px rgba(0,0,0,.3); }
  .site-nav.open { transform: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { font-size: 1.15rem; padding: 12px 14px; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--steel-2); border-radius: 8px; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { padding: 12px 14px; }
  .sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; background: rgba(255,255,255,.06); box-shadow: none; margin: 2px 0 6px; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { color: #e9eef4; padding-left: 26px; }
  .sub a:hover { background: rgba(255,255,255,.1); color: #fff; }
}

/* home hero */
.home-hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,32,45,.82) 0%, rgba(20,32,45,.45) 45%, rgba(20,32,45,.05) 75%), linear-gradient(0deg, rgba(20,32,45,.55), transparent 35%); }
.hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 640px; padding: 70px 0 40px; }
.hero-text { max-width: 560px; animation: rise .8s .1s ease both; }
.hero-inset { width: 220px; border: 4px solid #fff; border-radius: 10px; box-shadow: var(--shadow); margin-bottom: 26px; }
.home-hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: .15em; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-sub { font-family: var(--head); font-size: clamp(1.05rem, 2vw, 1.35rem); color: #dbe6f1; letter-spacing: .02em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-book { display: block; width: 250px; flex: none; text-decoration: none; color: #fff; background: #551118; padding: 5px; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.45); transform: rotate(2.5deg); transition: transform .25s ease; animation: rise .8s .3s ease both; }
.hero-book:hover { transform: rotate(0) translateY(-6px); color: #fff; }
.hero-book img { border-radius: 3px; }
.hero-book span { display: block; text-align: center; font-family: var(--head); font-size: .92rem; padding: 8px 4px 4px; }
.hero-credit { position: relative; font-size: .82rem; color: #c9d4de; padding-bottom: 14px; margin: 0 auto; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; } }
.hero-book { animation-name: riseBook; }
@keyframes riseBook { from { opacity: 0; transform: translateY(24px) rotate(2.5deg); } to { opacity: 1; transform: rotate(2.5deg); } }

/* training */
.training { padding: 90px 0; background: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.col-media { margin: 0; position: sticky; top: 100px; }
.col-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { position: relative; padding: 6px 0 6px 30px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--steel-2); border-bottom: 2px solid var(--steel-2); transform: rotate(-45deg); }
.doc-link { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; padding: 10px 16px; background: var(--ice); border-radius: 10px; text-decoration: none; }
.doc-link::before { content: "\1F4C4"; }

/* contact */
.contact { padding: 90px 0; background: linear-gradient(180deg, var(--ice) 0%, var(--paper) 100%); }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--navy); }
.contact-card { display: grid; grid-template-columns: 260px 1fr auto; gap: 40px; align-items: start; background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait { margin: 0; }
.portrait img { border-radius: 12px; width: 100%; }
.portrait figcaption { font-size: .78rem; color: var(--muted); margin-top: 6px; text-align: right; }
.c-name { font-family: var(--head); font-size: 1.35rem; color: var(--steel); font-weight: 600; margin-bottom: .3em; }
.mail { display: inline-flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 600; }
.mail svg { width: 22px; height: 22px; }
.snowline-logo { width: 200px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.photo-pair img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* page hero (inner pages) */
.page-hero { padding: 64px 0 46px; background: radial-gradient(1200px 300px at 80% -10%, rgba(91,134,176,.35), transparent), linear-gradient(135deg, #22364a, #1e2d3b 60%); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--paper); clip-path: polygon(0 100%, 0 70%, 12% 30%, 22% 60%, 35% 10%, 48% 55%, 58% 35%, 70% 70%, 82% 20%, 92% 55%, 100% 40%, 100% 100%); }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero h1 em { color: var(--c1); }
.page-hero .eyebrow { color: #9fc0df; }
.page-hero .lede { color: #c9d7e5; }
.page-hero .intro { max-width: 880px; color: #dbe5ef; padding-bottom: 20px; }
.page-hero .intro a { color: #fff; }
.page-hero .intro strong { color: #fff; background: rgba(255,255,255,.1); padding: 1px 8px; border-radius: 6px; font-weight: 600; }
.hero-c1 { background: linear-gradient(135deg, #31475f, #1e2d3b 70%); box-shadow: inset 0 6px 0 var(--c1); }
.hero-c2 { background: linear-gradient(135deg, #31475f, #1e2d3b 70%); box-shadow: inset 0 6px 0 var(--c2); }
.hero-c3 { background: linear-gradient(135deg, #31475f, #1e2d3b 70%); box-shadow: inset 0 6px 0 var(--c3); }
.hero-c4 { background: linear-gradient(135deg, #31475f, #1e2d3b 70%); box-shadow: inset 0 6px 0 var(--c4); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 24px; }
.jump a { color: #fff; text-decoration: none; padding: 8px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .95rem; }
.jump a:hover { background: #fff; color: var(--navy); }

/* channels */
.channel-strip { margin-top: 10px; }
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channel { position: relative; border-radius: var(--radius); padding: 26px 22px 54px; color: #fff; min-height: 170px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.channel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.channel.c1 { background: var(--c1); } .channel.c2 { background: var(--c2); } .channel.c3 { background: var(--c3); } .channel.c4 { background: var(--c4); }
.channel.is-current { outline: 4px solid var(--navy); outline-offset: 3px; }
.ch-icon { width: 34px; height: 34px; opacity: .9; margin-bottom: 10px; }
.ch-link { color: #fff; font-family: var(--head); font-size: 1.3rem; line-height: 1.25; text-decoration: none; display: block; }
.ch-link::after { content: ""; position: absolute; inset: 0; }
.ch-link:hover { color: #fff; text-decoration: underline; }
.ch-arrow { position: absolute; right: 18px; bottom: 12px; z-index: 2; color: #fff; text-decoration: none; font-size: 1.6rem; line-height: 1; padding: 4px 6px; border-radius: 6px; }
.ch-arrow:hover { color: #fff; background: rgba(0,0,0,.15); }

/* video gallery */
.gallery { padding: 56px 0 80px; }
.gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 30px; }
.count { color: var(--muted); font-size: .95rem; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.vcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vcard:hover .vthumb img { transform: scale(1.05); }
.vplay { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(232,87,77,.92); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .2s ease; }
.vplay svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.vthumb:hover .vplay, .post-img:hover .vplay { transform: scale(1.12); }
.vdur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.75); color: #fff; font-size: .8rem; padding: 2px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.vbody { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.vbody h3 { font-size: 1.22rem; margin-bottom: .4em; }
.vdesc { font-size: .93rem; color: var(--muted); overflow-wrap: anywhere; }
.vdesc p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vcard.expanded .vdesc p { display: block; -webkit-line-clamp: unset; }
.vmore { align-self: flex-start; margin-top: 10px; background: none; border: 0; padding: 0; color: var(--steel); font: 600 .9rem var(--body); cursor: pointer; }
.vmore:hover { color: var(--accent); }
.more-videos { text-align: center; margin-top: 40px; }

/* video modal */
.video-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.video-modal[hidden] { display: none; }
.vm-backdrop { position: absolute; inset: 0; background: rgba(10,18,26,.85); }
.vm-box { position: relative; width: min(1000px, 100%); background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.vm-frame { aspect-ratio: 16 / 9; }
.vm-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vm-close { position: absolute; top: 6px; right: 8px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.vm-foot { margin: 0; padding: 10px 16px; background: #111; text-align: right; }
.vm-foot a { color: #fff; font-size: .95rem; }

/* blog */
.blog-wrap { padding: 30px 0 80px; }
.blog-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 26px; }
.blog-tabs a { text-decoration: none; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: .95rem; }
.blog-tabs a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.post-card { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.pc-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.pc-body h2 { font-size: 1.7rem; }
.pc-body h2 a { color: var(--navy); text-decoration: none; }
.pc-body h2 a:hover { color: var(--steel); }
.pc-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--steel); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.pc-body .btn { align-self: flex-start; }
.post { padding: 40px 0 80px; }
.post-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.updated { color: var(--muted); font-size: .9rem; }
.post-lead { font-size: 1.15rem; }
.post-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 26px; }
.post-img img { width: 100%; }
.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--ice); text-decoration: none; font-size: .9rem; }

/* publications */
.pub-section { padding: 40px 0 10px; }
.pill { display: inline-block; font-size: 1.35rem; background: var(--ice-2); color: var(--navy); padding: 8px 18px; border-radius: 10px; margin-bottom: 24px; }
.book { display: grid; grid-template-columns: 240px 1fr; gap: 36px; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.cover { display: block; }
.cover img { width: 100%; aspect-ratio: 323 / 437; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.22); transition: transform .2s; }
a.cover:hover img { transform: translateY(-4px) rotate(-1deg); }
.book h3 { font-size: 1.55rem; color: var(--steel); }
.book h3 a { color: inherit; }
.cite { color: var(--muted); font-size: .95rem; border-left: 3px solid var(--ice-2); padding-left: 12px; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; }
.refs { list-style: none; padding: 0; margin: 0; counter-reset: ref; }
.refs li { background: #fff; border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--steel-2); }
.refs h3 { font-size: 1.12rem; margin-bottom: .3em; color: var(--navy); }
.refs h3 a { color: var(--steel); }
.refs p { margin: 0; color: var(--muted); font-size: .95rem; }
.asarc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.asarc-card { display: flex; align-items: center; gap: 16px; padding: 24px; background: linear-gradient(135deg, var(--steel), var(--navy)); color: #fff; text-decoration: none; border-radius: var(--radius); font-family: var(--head); font-size: 1.3rem; box-shadow: var(--shadow-sm); transition: transform .2s; }
.asarc-card:hover { color: #fff; transform: translateY(-3px); }
.ak { font-size: .75rem; letter-spacing: .14em; background: rgba(255,255,255,.15); padding: 6px 10px; border-radius: 8px; }
.arrow { margin-left: auto; }
.contact-alt { margin-top: 60px; }

/* ski cutting */
.resources { padding: 30px 0 90px; display: grid; gap: 16px; max-width: 920px; }
.resource { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: var(--radius); padding: 22px 26px; text-decoration: none; color: var(--navy); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.resource:hover { transform: translateX(6px); box-shadow: var(--shadow); color: var(--navy); }
.r-icon { flex: none; width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.r-icon svg { width: 30px; height: 30px; }
.r-icon.pdf { background: var(--c3); } .r-icon.video { background: var(--accent); }
.r-text { display: flex; flex-direction: column; }
.r-date { font-size: .9rem; color: #949494; font-family: var(--head); }
.r-label { font-family: var(--head); font-size: 1.35rem; color: var(--c3); line-height: 1.3; }
.r-go { margin-left: auto; font-size: 1.4rem; color: var(--steel-2); }

/* footer */
.site-footer { background: var(--navy); color: #c9d4de; padding: 56px 0 0; font-size: .95rem; }
.site-footer a { color: #e7eef5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.f-name { font-family: var(--head); font-size: 1.4rem; color: #fff; margin-bottom: .3em; }
.f-head { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: #9fc0df; }
.f-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 18px 0 24px; font-size: .85rem; color: #93a3b3; }

/* responsive */
@media (max-width: 1020px) {
  .channels { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .col-media { position: static; }
  .contact-card { grid-template-columns: 220px 1fr; }
  .snowline-logo { grid-column: 1 / -1; justify-self: end; width: 180px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-inner { flex-direction: column; align-items: flex-start; min-height: 0; padding: 40px 0 30px; gap: 30px; }
  .hero-inset { width: 160px; }
  .hero-book { width: 190px; align-self: center; }
  .hero-shade { background: linear-gradient(180deg, rgba(20,32,45,.75), rgba(20,32,45,.55)); }
  .training, .contact { padding: 60px 0; }
  .contact-card { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
  .portrait { max-width: 240px; }
  .photo-pair { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; }
  .pc-body { padding: 24px; }
  .book { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
  .cover { max-width: 220px; }
  .asarc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .vgrid { grid-template-columns: 1fr; }
  .resource { padding: 18px; gap: 14px; }
  .r-label { font-size: 1.12rem; }
}
@media (max-width: 480px) {
  .channels { grid-template-columns: 1fr; }
  .channel { min-height: 0; }
  .wrap, .wrap-narrow { width: calc(100% - 28px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
