/* ================================================================
   HOME — the channel template's rhythm: navy hero (claim field + deck of
   channels), light proposition, teal spotlight band, dark department band.
   Tokens only. Parts: template-parts/home/*.php
   ================================================================ */
.pg--home { padding-top: 0; background: var(--paper); }

/* hero — clean white stage (matches the live site): no rings, no navy; heavy wide headline,
   white claim pill, a fan of light channel cards with a colour bar. */
.hm-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: #fff; color: #0a0a0a;
    --ink: #0a0a0a; --muted: #5b6472; --faint: #8a93a0; --line: rgba(10,10,10,.12); --line-strong: rgba(10,10,10,.28); --accent: #0a0a0a; --panel: #fff; --panel-2: #f1f4f9; --on-accent: #fff; --inverse: #fff; }
.hm-hero .pg-eyebrow { display: none; }
.hm-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: 120px 0 70px; }
.hm-h1 { margin: 0 0 16px; font-family: "Dela Gothic One", var(--dp-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -.035em; text-transform: uppercase; color: #0a0a0a; }
.hm-sub { max-width: 520px; margin: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.hm-claim { display: flex; align-items: center; max-width: 560px; padding: 6px; background: #fff; border: 1px solid #e9ecf1; border-radius: 14px; box-shadow: 0 6px 24px rgba(10,10,10,.06); transition: box-shadow .2s; --ink: #0a0a0a; --muted: #5b6472; }
.hm-claim:focus-within { box-shadow: 0 0 0 2px #0a0a0a, 0 6px 24px rgba(10,10,10,.08); }
.hm-claim-prefix { display: flex; align-items: center; padding: 0 0 0 16px; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.hm-claim-input { flex: 1; min-width: 0; padding: 16px 8px; border: 0; background: transparent; color: var(--ink); font: 700 16px var(--dp-sans); outline: none; }
.hm-claim-btn { padding: 15px 26px; border: 0; border-radius: 10px; background: #0a0a0a; color: #fff; font: 700 15px var(--dp-sans); cursor: pointer; transition: background .2s; }
.hm-claim-btn:hover { background: #2a2f38; }
.hm-status { max-width: 560px; min-height: 22px; margin: 14px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.hm-status.is-available { color: #12805c; }
.hm-status.is-taken, .hm-status.is-invalid { color: #c62828; }
.hm-login { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.hm-login a { color: #0a0a0a; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--teal-2); }
.hm-login a:hover { color: var(--teal-2); }

/* fan of channel cards: light cards, coloured border on the front one */
.hm-fan { position: relative; width: 100%; max-width: 560px; margin-left: auto; height: min(62vh, 500px); }
.hm-card { position: absolute; top: 50%; left: calc(var(--i) * 15%); width: 52%; height: 100%; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
    border: 3px solid color-mix(in srgb, var(--ed-default) 40%, #fff); border-radius: 20px; background: color-mix(in srgb, var(--ed-default) 9%, #fff); color: #0a0a0a; text-decoration: none;
    z-index: calc(10 - var(--i)); transform: translateY(-50%) scale(calc(1 - var(--i) * .06)); transform-origin: left center;
    box-shadow: 0 18px 44px rgba(10,10,10,.12); transition: transform .3s ease; }
.hm-card.is-front { border-color: var(--ed-default); box-shadow: 0 22px 50px color-mix(in srgb, var(--ed-default) 38%, transparent); }
.hm-card:hover { transform: translateY(-52%) scale(calc(1.02 - var(--i) * .06)); }
.hm-card::after { content: ""; position: absolute; left: 16px; bottom: 16px; width: 44px; height: 5px; border-radius: 5px; background: var(--ed-default); }
.hm-card-img { position: relative; flex: none; width: 100%; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--ed-default) 22%, #f4f4f5) center/cover no-repeat; display: grid; place-items: center; }
.hm-card-img b { font-family: "Dela Gothic One", var(--dp-display); font-weight: 400; font-size: 64px; color: var(--ed-default); }
.hm-card-tag { position: absolute; top: 13px; left: 14px; display: flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; background: rgba(10,10,10,.72); color: #fff; font: 800 10px/1 var(--dp-sans); letter-spacing: .1em; text-transform: uppercase; }
.hm-card-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ef3b3b; }
.hm-card-txt { position: static; display: grid; gap: 6px; align-content: start; padding: 18px 16px 34px; }
.hm-card-txt strong { font-family: "Dela Gothic One", var(--dp-display); font-weight: 400; font-size: clamp(17px, 1.9vw, 26px); letter-spacing: -.02em; line-height: 1.12; color: #0a0a0a; }
.hm-card-txt em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); }

/* proposition — light band */
.hm-proposition { background: var(--paper); color: var(--ink); }
.hm-prop-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; padding: 88px 0 56px; }
.hm-prop-title { margin: 0; max-width: 780px; font-family: var(--dp-display); font-weight: 400; font-size: clamp(38px, 5.2vw, 72px); line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
.hm-prop-copy { max-width: 480px; margin: 26px 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.hm-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 96px; }
.hm-principles article { padding: 26px; background: #fff; border-radius: 4px; box-shadow: 0 10px 30px rgba(7,20,47,.08); }
.hm-principles span { display: grid; place-items: center; width: 30px; height: 30px; background: var(--navy); color: #fff; border-radius: 3px; font: 800 10px var(--dp-sans); }
.hm-principles h3 { margin: 30px 0 10px; font-size: 26px; line-height: .95; }
.hm-principles p { max-width: 300px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* spotlight — the template's teal feature band */
.hm-spot { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 600px; background: var(--teal); color: #021018; --ink: #021018; --muted: rgba(2,16,24,.72); --line: rgba(2,16,24,.25); --accent: #021018; }
.hm-spot-art { position: relative; min-height: 420px; background: var(--navy) center/cover no-repeat; }
.hm-spot-info { padding: clamp(40px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.hm-spot-info h2 { margin: 14px 0 22px; font-size: clamp(38px, 4.6vw, 66px); line-height: .9; overflow-wrap: anywhere; color: #021018; }
.hm-spot-info p:not(.pg-eyebrow) { max-width: 390px; margin: 0 0 30px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hm-spot .pg-eyebrow { color: #021018; }
.hm-spot-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hm-spot .pg-btn { border-color: #021018; color: #021018; }
.hm-spot .pg-btn:hover { background: #021018; color: var(--teal); }
.hm-spot .pg-btn--primary { background: #021018; color: #fff; }
.hm-spot .pg-btn--primary:hover { background: #fff; color: #021018; border-color: #fff; }
.hm-credit { display: flex; gap: 28px; margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.hm-credit dt { font: 800 9px/1 var(--dp-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hm-credit dd { margin: 6px 0 0; font-size: 13px; font-weight: 700; }

/* departments — dark band, white cards */
.hm-depts { padding: 88px 0 100px; background: var(--black); color: #fff; --ink: #fff; --muted: #b7c8e4; --accent: var(--teal); --line: rgba(255,255,255,.16); }
.hm-depts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.hm-depts-head h2 { margin: 14px 0 0; font-size: clamp(40px, 5.4vw, 72px); line-height: .9; }
.hm-depts-head .pg-btn { border-color: #fff; color: #fff; }
.hm-depts-head .pg-btn:hover { background: #fff; color: #07142f; }
.hm-depts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.hm-dept { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 4px; overflow: hidden; color: #081226; text-decoration: none; transition: transform .25s; }
.hm-dept:hover { transform: translateY(-4px); }
.hm-dept-art { display: block; aspect-ratio: 16 / 8.5; background: var(--navy-2) center/cover no-repeat; }
.hm-dept-body { display: grid; gap: 6px; padding: 16px 18px 20px; }
.hm-dept-meta { font: 800 9px/1 var(--dp-sans); letter-spacing: .14em; text-transform: uppercase; color: #637087; }
.hm-dept-name { font-family: var(--dp-display); font-size: 30px; line-height: .95; letter-spacing: .02em; text-transform: uppercase; color: #081226; }
.hm-dept-go { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 3px; background: rgba(5,7,12,.78); color: #fff; }
.hm-dept:hover .hm-dept-go { background: var(--teal); color: #021018; }

@media (max-width: 900px) {
    .hm-hero { min-height: 0; }
    .hm-hero-in { grid-template-columns: 1fr; padding: 110px 0 50px; gap: 30px; }
    .hm-h1 { font-size: clamp(30px, 8.6vw, 46px); }
    .hm-hero-in { padding: 100px 0 40px; }
    .hm-fan { max-width: none; margin: 0; height: min(40vh, 300px); }
    .hm-card { width: 44%; left: calc(var(--i) * 17%); border-radius: 16px; }
    .hm-card-txt { padding: 12px 12px 26px; }
    .hm-card-txt strong { font-size: 15px; }
    .hm-card-txt em, .hm-card-tag { display: none; }
    .hm-claim { flex-wrap: wrap; }
    .hm-claim-prefix { width: 100%; padding: 14px 18px 0; }
    .hm-claim-input { width: 100%; padding: 6px 18px 14px; }
    .hm-claim-btn { width: calc(100% - 12px); padding: 15px 28px; }
    .hm-prop-grid { grid-template-columns: 1fr; gap: 24px; padding: 60px 0 36px; }
    .hm-principles { grid-template-columns: 1fr; padding-bottom: 64px; }
    .hm-spot { grid-template-columns: 1fr; }
    .hm-spot-info { padding: 40px 22px 56px; }
    .hm-depts { padding: 64px 0 80px; }
    .hm-depts-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .hm-card, .hm-dept { transition: none; } }

/* mesh: the bands below the hero speak the same language as the hero —
   Dela Gothic headings, white stage, black chips, light cards. */
.pg--home, .hm-proposition { background: #fff; }
.hm-prop-title, .hm-principles h3, .hm-spot-info h2, .hm-depts-head h2, .hm-dept-name {
    font-family: "Dela Gothic One", var(--dp-display); font-weight: 400; letter-spacing: -.03em; text-transform: uppercase; }
.hm-prop-title { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.08; color: #0a0a0a; }
.hm-principles h3 { font-size: 19px; line-height: 1.15; margin: 26px 0 10px; }
.hm-spot-info h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.06; }
.hm-depts-head h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.08; }
.hm-dept-name { font-size: 20px; line-height: 1.1; }
.hm-principles article { border: 1px solid #e9ecf1; border-radius: 14px; box-shadow: 0 6px 24px rgba(10,10,10,.05); }
.hm-principles span { background: #0a0a0a; border-radius: 8px; }
.hm-dept { border-radius: 14px; }
.hm-proposition .pg-btn { border-color: #0a0a0a; color: #0a0a0a; border-radius: 10px; }
.hm-proposition .pg-btn:hover { background: #0a0a0a; color: #fff; }
.hm-proposition .pg-eyebrow { color: var(--muted); }
/* headline sized to its column so each sentence stays on one line */
.hm-h1 { font-size: clamp(26px, 2.8vw, 46px); line-height: 1.08; }
@media (min-width: 901px) { .hm-h1 { white-space: nowrap; } }
/* cream band after the white hero, like shop and pricing */
.hm-proposition { background: #f4f7f3; }
