/* =========================================================
   Accord Insider — digital magazine look
   ========================================================= */
body.mag { background: #fbfbf8; }
body.mag .header { position: fixed; left: 0; right: 0; }
.mag-mast { position: relative; background: var(--navy-950); color: #c9cde3; overflow: hidden; isolation: isolate; padding: 150px 0 0; }
.mag-mast::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; }
.mag-mast::after { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; left: -260px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(66,142,79,.5), transparent 65%); }
.masthead { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 26px; flex-wrap: wrap; }
.masthead h1 { font-family: var(--display); color: #fff; font-size: clamp(3.2rem, 10vw, 8.6rem); line-height: .85; letter-spacing: -.05em; margin: 0; }
.masthead h1 span { color: var(--lime); }
.masthead .meta { text-align: right; font-size: .9rem; line-height: 1.6; }
.masthead .meta b { display: block; color: #fff; font-size: 1.05rem; }
.mag-issues { display: flex; gap: 8px; padding: 18px 0; flex-wrap: wrap; }
.mag-issues a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 600; font-size: .88rem; transition: .2s; }
.mag-issues a.on, .mag-issues a:hover { background: #fff; color: var(--navy-950); }

/* Cover story */
.cover-story { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; margin-top: 30px; border-radius: 28px 28px 0 0; overflow: hidden; background: #fff; color: var(--body); }
.cover-story .pic { position: relative; min-height: 460px; }
.cover-story .pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-story .pic .tag { position: absolute; left: 22px; top: 22px; background: var(--lime); color: var(--navy-950); font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.cover-story .txt { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.cover-story h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; text-wrap: balance; }
.cover-story p { color: var(--muted); font-size: 1.05rem; }
.author-chip { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.author-chip img, .author-chip .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.author-chip b { display: block; color: var(--ink); line-height: 1.2; }
.author-chip small { color: var(--muted); }

/* Issue grid */
.issue-sec { padding: 70px 0; }
.issue-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.issue-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.issue-head span { font-weight: 700; color: var(--muted); font-size: .9rem; }
.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px; }
.story { grid-column: span 4; display: flex; flex-direction: column; gap: 12px; }
.story.lg { grid-column: span 6; }
.story .ph { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3/2; background: var(--bg-soft); }
.story.lg .ph { aspect-ratio: 16/10; }
.story .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.story:hover .ph img { transform: scale(1.05); }
.story .ph .n { position: absolute; right: 12px; bottom: 12px; background: rgba(13,18,48,.78); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.story .dept { font-size: .72rem; }
.story h3 { font-family: var(--display); font-size: 1.28rem; line-height: 1.18; margin: 0; letter-spacing: -.015em; text-wrap: balance; transition: color .2s; }
.story.lg h3 { font-size: 1.7rem; }
.story:hover h3 { color: var(--green); }
.story p { margin: 0; color: var(--muted); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story .by { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); margin-top: auto; }
.story .by img, .story .by .avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; font-size: .62rem; }
.story .by b { color: var(--ink); }
.sec-label { grid-column: 1 / -1; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-top: 20px; display: flex; gap: 14px; align-items: center; }
.sec-label::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* Back issues as covers */
.back-issues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bi { position: relative; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; isolation: isolate; transition: transform .3s, box-shadow .3s; }
.bi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bi::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,18,48,.75), rgba(13,18,48,.2) 40%, rgba(13,18,48,.92)); }
.bi .top { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; line-height: .9; }
.bi .top small { display: block; font-family: var(--font); font-size: .72rem; letter-spacing: .14em; font-weight: 700; color: var(--lime); margin-top: 8px; text-transform: uppercase; }
.bi .q { font-family: var(--display); font-weight: 800; font-size: 5.5rem; line-height: .8; letter-spacing: -.06em; }
.bi .q span { font-size: 1.6rem; letter-spacing: 0; margin-left: 6px; color: rgba(255,255,255,.75); }
.bi .foot { font-size: .88rem; color: rgba(255,255,255,.85); }

/* ---------- Article ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--lime); z-index: 80; width: 0; }
.art-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy-950); }
.art-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kb 16s ease-out both; }
.art-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,18,48,.55), rgba(13,18,48,.25) 35%, rgba(13,18,48,.95)); }
.art-hero .container { padding: 150px 0 56px; max-width: 980px; }
.art-hero .breadcrumb { color: rgba(255,255,255,.7); }
.art-hero .kick { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.art-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.02; text-wrap: balance; margin-bottom: 22px; }
.art-hero .issue { font-size: .9rem; color: rgba(255,255,255,.75); }
.art-hero .author-chip b { color: #fff; }
.art-hero .author-chip small { color: rgba(255,255,255,.72); }
.art-hero .author-chip img, .art-hero .author-chip .avatar { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.art-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; padding: 70px 0 40px; }
.art { font-size: 1.12rem; line-height: 1.78; color: #2c3245; max-width: 740px; }
.art > p:first-of-type::first-letter { float: left; font-family: var(--display); font-weight: 800; font-size: 4.4em; line-height: .82; margin: 6px 12px 0 0; color: var(--green); }
.art h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2; margin: 2em 0 .7em; text-wrap: balance; }
.art h3 { font-family: var(--display); font-size: 1.25rem; margin: 1.6em 0 .5em; color: var(--navy-700); letter-spacing: -.01em; }
.art .strong { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, var(--green-100) 62%); display: inline; }
.art p.callout { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.35; color: var(--ink); border-left: 4px solid var(--green); padding: 4px 0 4px 22px; margin: 1.6em 0; letter-spacing: -.01em; }
.art blockquote { margin: 2em 0; padding: 28px 30px; background: var(--navy-900); color: #fff; border-radius: 18px; font-family: var(--display); font-size: 1.3rem; line-height: 1.4; position: relative; }
.art blockquote::before { content: "“"; position: absolute; top: -18px; left: 22px; font-size: 5rem; color: var(--lime); line-height: 1; }
.art ul { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.art ul li { padding-left: 30px; position: relative; }
.art ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--green); transform: rotate(45deg); }
.art .table-wrap { margin: 1.8em 0; }
.art table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.art th { background: var(--navy-900); color: #fff; text-align: left; padding: 12px 16px; font-size: .85rem; }
.art td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.art tr:nth-child(even) td { background: var(--bg-soft); }
.art .fact-tiles { margin: 1.8em 0; }
.art figure.ph { margin: 2em 0; }
.art figure.ph .row { display: grid; gap: 10px; grid-template-columns: repeat(var(--n, 3), 1fr); }
.art figure.ph.wide { margin-left: -60px; margin-right: -60px; }
.art figure.ph button { padding: 0; border: 0; background: var(--bg-soft); border-radius: 14px; overflow: hidden; cursor: zoom-in; display: flex; flex-direction: column; text-align: left; }
.art figure.ph button img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.art figure.ph[data-n="1"] button img { aspect-ratio: auto; max-height: 560px; object-fit: contain; background: #fff; }
.art figure.ph button:hover img { transform: scale(1.03); }
.art figure.ph button span { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); padding: 9px 12px; background: #fff; line-height: 1.3; }
.art figure.ph figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--green-100); white-space: pre-line; line-height: 1.5; }
.art-side .sidebar-box { background: #fff; }
.next-read { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.next-read a { position: relative; border-radius: 22px; overflow: hidden; min-height: 220px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; }
.next-read img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.next-read a:hover img { transform: scale(1.05); }
.next-read a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 20%, rgba(13,18,48,.9)); }
.next-read small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--lime); }
.next-read b { font-family: var(--display); font-size: 1.25rem; line-height: 1.2; }

@media (max-width: 1080px) {
  .cover-story, .art-wrap { grid-template-columns: 1fr; }
  .story, .story.lg { grid-column: span 6; }
  .art figure.ph.wide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 680px) {
  .story, .story.lg { grid-column: 1 / -1; }
  .back-issues, .next-read { grid-template-columns: 1fr; }
  .bi { aspect-ratio: 4/3; }
  .art figure.ph .row { grid-template-columns: repeat(min(var(--n, 2), 2), 1fr); }
  .masthead .meta { text-align: left; }
  .cover-story .pic { min-height: 260px; }
}
.art figure.ph button.portrait img { aspect-ratio: 3/4; object-position: center 18%; }
/* Low-resolution field photos used as story covers: show as a framed photo instead of a stretched full-bleed hero */
.art-hero.framed { min-height: auto; background: linear-gradient(135deg, var(--navy-950), #1d2a6b); }
.art-hero.framed > img { display: none; }
.art-hero.framed .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; max-width: var(--container); }
.art-hero.framed .frame { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); border: 6px solid rgba(255,255,255,.08); }
.art-hero.framed .frame img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
@media (max-width: 900px) { .art-hero.framed .container { grid-template-columns: 1fr; } }

/* ---------- Brand stage: client product imagery behind the story header ---------- */
.art-hero.branded { background: radial-gradient(80% 120% at 85% 40%, var(--b1), var(--b2) 70%); }
.art-hero.branded::before { background: linear-gradient(90deg, rgba(13,18,48,.92) 0%, rgba(13,18,48,.78) 38%, rgba(13,18,48,.15) 75%, rgba(13,18,48,.35) 100%); }
.art-hero.branded:not(.framed) > img { display: none; }
.brand-stage { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.brand-stage.cut img { position: absolute; bottom: -2%; height: 62%; width: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.brand-stage.cut img:nth-child(1) { right: 30%; height: 70%; bottom: 2%; opacity: .95; }
.brand-stage.cut img:nth-child(2) { right: 46%; height: 50%; opacity: .55; }
.brand-stage.cut img:nth-child(3) { right: 2%; height: 64%; }
.brand-stage.cut img:nth-child(4) { right: 17%; height: 46%; bottom: 52%; opacity: .5; }
.brand-stage.cut img:nth-child(5) { right: -2%; height: 40%; bottom: 60%; opacity: .45; }
.brand-stage.tiles img { position: absolute; width: 23%; aspect-ratio: 600/350; object-fit: cover; border-radius: 18px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.55); border: 4px solid rgba(255,255,255,.9); }
.brand-stage.tiles img:nth-child(1) { right: 33%; top: 16%; transform: rotate(-7deg); }
.brand-stage.tiles img:nth-child(2) { right: 3%; top: 10%; transform: rotate(6deg); }
.brand-stage.tiles img:nth-child(3) { right: 31%; bottom: 6%; transform: rotate(5deg); }
.brand-stage.tiles img:nth-child(4) { right: 1%; bottom: 4%; transform: rotate(-5deg); }
.brand-full { position: absolute; inset: 0; z-index: -2; }
.brand-full img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.art-hero.branded.framed .frame { position: relative; z-index: 1; transform: rotate(-1.5deg); border-color: #fff; }
@media (max-width: 900px) {
  .brand-stage.tiles img { width: 42%; opacity: .45; }
  .brand-stage.cut img { opacity: .35 !important; }
  .art-hero.branded::before { background: linear-gradient(180deg, rgba(13,18,48,.75), rgba(13,18,48,.9)); }
}

/* ---------- Brand covers on story cards ---------- */
.story .ph.bcov { background: radial-gradient(120% 120% at 70% 30%, var(--b1), var(--b2)); }
.story .ph.bcov::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 100%, rgba(255,255,255,.18), transparent 70%); pointer-events: none; }
.story .ph.bcov img { transition: transform .6s; }
.story .ph.bcov.cut img.p { position: absolute; bottom: 4%; width: auto; height: 78%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,.4)); }
.story .ph.bcov.cut img.p1 { left: 10%; height: 72%; }
.story .ph.bcov.cut img.p2 { left: 50%; transform: translateX(-50%); height: 86%; z-index: 1; }
.story .ph.bcov.cut img.p3 { right: 10%; height: 72%; }
.story:hover .ph.bcov.cut img.p2 { transform: translateX(-50%) scale(1.05); }
.story .ph.bcov.tiles img.p { position: absolute; width: 52%; height: auto; aspect-ratio: 600/350; object-fit: cover; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 14px 30px -8px rgba(0,0,0,.5); }
.story .ph.bcov.tiles img.p1 { left: 6%; top: 12%; transform: rotate(-6deg); }
.story .ph.bcov.tiles img.p2 { right: 6%; top: 8%; transform: rotate(5deg); z-index: 1; }
.story .ph.bcov.tiles img.p3 { left: 26%; bottom: 6%; transform: rotate(-2deg); z-index: 2; }
.story:hover .ph.bcov.tiles img.p3 { transform: rotate(0) scale(1.04); }
.story .ph.bcov.full img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.story .ph .bname { position: absolute; left: 14px; top: 12px; z-index: 3; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(0,0,0,.28); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.story .ph .n { z-index: 3; }

/* ---------- Department covers (one Accord design for every department) ---------- */
.ph.dcov { background:
    radial-gradient(70% 90% at 100% 0%, rgba(66,142,79,.55), transparent 60%),
    linear-gradient(135deg, var(--navy-950), var(--navy-700));
  display: grid; place-items: center; }
.ph.dcov::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.ph.dcov .dlabel { position: absolute; left: 14px; top: 12px; z-index: 3; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 5px 10px; border-radius: 999px; }
.ph.dcov > div { position: relative; z-index: 1; }
.ph.dcov .dphoto { width: 84%; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 18px 40px -10px rgba(0,0,0,.6); transform: rotate(-2deg); margin-top: 16px; transition: transform .5s; }
.story:hover .ph.dcov .dphoto { transform: rotate(0) scale(1.03); }
.ph.dcov .dphoto img { width: 100%; height: 100%; object-fit: cover; }
.ph.dcov .dcard { background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 18px 40px -10px rgba(0,0,0,.6); }
.ph.dcov .dcard img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ph.dcov .dcard.chart { width: 84%; margin-top: 18px; transform: rotate(1.5deg); }
.ph.dcov .dit { width: 86%; display: grid; gap: 10px; margin-top: 18px; }
.ph.dcov .dit .dcard { padding: 4px; }
.ph.dcov .dchips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.chip-logo { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 12px; font-size: .74rem; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }
.chip-logo b { color: #2e5bd8; font-weight: 800; letter-spacing: .04em; }
.chip-logo i.odoo { display: inline-block; width: 38px; height: 14px; background: #714B67; -webkit-mask: var(--src) center/contain no-repeat; mask: var(--src) center/contain no-repeat; }
.ph.dcov .dlogos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 80%; margin-top: 18px; }
.ph.dcov .dlogos span { background: #fff; border-radius: 10px; aspect-ratio: 3/2; display: grid; place-items: center; padding: 8px; box-shadow: 0 10px 22px -10px rgba(0,0,0,.6); }
.ph.dcov .dlogos img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ph.dcov .dq { width: 82%; color: #fff; text-align: left; margin-top: 10px; }
.ph.dcov .dq .dlogo { width: 42px; height: auto; background: #fff; border-radius: 10px; padding: 5px; margin-bottom: 12px; }
.ph.dcov .dq p { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.35rem); line-height: 1.25; margin: 0 0 10px; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ph.dcov .dq small { color: var(--lime); font-weight: 700; font-size: .75rem; letter-spacing: .04em; }
.ph.dcov .dicon { width: 88px; height: 88px; border-radius: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; color: var(--lime); }
.ph.dcov .dicon svg { width: 44px; height: 44px; }
.story.lg .ph.dcov .dlogos { width: 70%; }

/* Department story header: same design, larger */
.art-hero.dept { background: radial-gradient(70% 90% at 100% 0%, rgba(66,142,79,.45), transparent 60%), linear-gradient(135deg, var(--navy-950), var(--navy-700)); min-height: auto; }
.art-hero.dept > img { display: none; }
.art-hero.dept .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; max-width: var(--container); }
.art-hero.dept .dframe { position: relative; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; }
.art-hero.dept .dframe .ph.dcov { position: absolute; inset: 0; border-radius: 22px; }
@media (max-width: 900px) { .art-hero.dept .container { grid-template-columns: 1fr; } }
.next-read .nr-cover { position: absolute; inset: 0; z-index: -2; }
.next-read .nr-cover .ph { position: absolute; inset: 0; border-radius: 0; }
.ph.dcov { position: relative; overflow: hidden; }
.cover-story .pic .ph.dcov { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.cover-story .pic .ph.dcov .dq { width: 74%; }
.cover-story .pic .ph.dcov .dq p { font-size: clamp(1.3rem, 2.4vw, 2rem); -webkit-line-clamp: 5; }
.cover-story .pic .ph.dcov .dq .dlogo { width: 60px; }
.insider-x .feature .ph.dcov { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; }
.insider-x .feature .ph.dcov .dq { width: 70%; margin-top: -90px; }
.insider-x .feature .ph.dcov .dq p { font-size: clamp(1.2rem, 2vw, 1.7rem); }
.insider-x .feature .ph.dcov .dlabel { display: none; }
.cover-story .pic .ph.dcov .dlabel { display: none; }
.ph.dcov .dq p, .cover-story .pic .ph.dcov .dq p { color: #fff; }
/* keep logo grid / cards inside the cover at any tile size */
.ph.dcov .dlogos { width: auto; height: 62%; aspect-ratio: 3 / 1.45; grid-template-rows: repeat(2, 1fr); margin-top: 22px; }
.story.lg .ph.dcov .dlogos { width: auto; }
.ph.dcov .dlogos span { aspect-ratio: auto; }
.ph.dcov .dphoto, .ph.dcov .dcard.chart { width: auto; height: 74%; max-width: 86%; }
.ph.dcov .dphoto { aspect-ratio: 16/10; }
.ph.dcov .dcard.chart img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.ph.dcov .dit { width: auto; height: 78%; max-width: 88%; display: flex; flex-direction: column; align-items: center; }
.ph.dcov .dit .dcard { flex: 1; min-height: 0; display: flex; }
.ph.dcov .dit .dcard img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }

/* Back-issue covers: Accord ACES branded, no stock photos */
.bi { background:
    radial-gradient(80% 60% at 100% 0%, rgba(66,142,79,.55), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-950)); }
.bi.latest { background:
    radial-gradient(80% 60% at 100% 0%, rgba(166,227,161,.45), transparent 60%),
    linear-gradient(160deg, var(--green-600), var(--navy-950)); }
.bi::before { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; opacity: .6; }
.bi .bi-logo { position: absolute; z-index: 0; inset: auto; right: -8%; bottom: 14%; width: 62%; height: auto; opacity: .14; filter: grayscale(1) brightness(3); object-fit: contain; }
.bi .top { position: relative; z-index: 1; display: flex; flex-direction: column; }
.bi .top::before { content: ""; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px; background: #fff url("../img/logo.png") center/78% no-repeat; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.bi > div:last-child { position: relative; z-index: 1; }
.bi .foot { margin-top: 14px; }
/* Partner logo grid: sized by width, capped by height, so it always fits the cover */
.ph.dcov .dlogos { width: 78%; height: auto; max-height: 68%; aspect-ratio: auto; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3%; margin-top: 22px; }
.story.lg .ph.dcov .dlogos, .art-hero.dept .ph.dcov .dlogos { width: 70%; }
.ph.dcov .dlogos span { aspect-ratio: 3 / 2; min-height: 0; padding: 12% 10%; border-radius: 12px; overflow: hidden; }
.ph.dcov .dlogos img { width: 100%; height: 100%; object-fit: contain; }

/* GM cover: quote + portrait of the General Manager */
.ph.dcov .dgm { width: 88%; height: 82%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 6%; align-items: center; margin-top: 14px; }
.ph.dcov .dgm .dq { width: auto; margin: 0; }
.ph.dcov .dgm .dq p { font-size: clamp(.9rem, 1.35vw, 1.2rem); -webkit-line-clamp: 4; }
.ph.dcov .gm-portrait { margin: 0; height: 100%; max-height: 100%; aspect-ratio: 4/5; justify-self: end; border-radius: 18px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 22px 50px -12px rgba(0,0,0,.6); transform: rotate(2deg); background: #e9ecef; }
.ph.dcov .gm-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.story:hover .ph.dcov .gm-portrait { transform: rotate(0) scale(1.03); }
.ph.dcov .gm-portrait { transition: transform .5s; }
/* larger placements */
.cover-story .pic .ph.dcov .dgm { width: 84%; height: 74%; }
.cover-story .pic .ph.dcov .dgm .dq { width: auto; }
.cover-story .pic .ph.dcov .dgm .dq p { font-size: clamp(1.05rem, 1.7vw, 1.5rem); }
.insider-x .feature .ph.dcov .dgm { width: 86%; height: 62%; margin-top: -110px; }
.insider-x .feature .ph.dcov .dgm .dq { width: auto; margin-top: 0; }
.insider-x .feature .ph.dcov .dgm .dq p, .insider-x .feature .ph.dcov .dgm .dq small { display: none; }
.insider-x .feature .ph.dcov .dgm { grid-template-columns: 1fr; justify-items: end; }
@media (max-width: 680px) { .ph.dcov .dgm .dq p { -webkit-line-clamp: 3; } }
/* GM cover: portrait sized by its column so it never overlaps the quote */
.ph.dcov .gm-portrait { height: auto; width: 100%; max-width: 100%; max-height: 100%; aspect-ratio: 4/5; align-self: center; }
.ph.dcov .dgm { align-items: center; }
.ph.dcov .dgm > * { min-width: 0; min-height: 0; }
.cover-story .pic .ph.dcov .dgm { grid-template-columns: 1.1fr .9fr; }
/* homepage feature: portrait on the right, title text sits over the lower part */
.insider-x .feature .ph.dcov .dgm { position: absolute; right: 6%; top: 8%; width: 34%; height: auto; margin: 0; display: block; }
.insider-x .feature .ph.dcov .dgm .dq { display: none; }
.insider-x .feature .ph.dcov .dgm { width: 30%; right: 5%; top: 7%; }
.insider-x .feature .inner { max-width: 66%; }
@media (max-width: 680px) { .insider-x .feature .ph.dcov .dgm { width: 38%; } .insider-x .feature .inner { max-width: none; padding-top: 52%; } }

/* Dua Kelinci: single product line-up image on the brand red */
.story .ph.bcov.solo img.solo, .ph.bcov.solo img.solo { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); height: 86%; width: auto; max-width: 92%; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(0,0,0,.45)); transition: transform .6s; }
.story:hover .ph.bcov.solo img.solo { transform: translateX(-50%) scale(1.05); }
.brand-stage.solo img { position: absolute; right: 3%; bottom: 4%; height: 88%; width: auto; max-width: 48%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.art-hero.branded:has(.brand-stage.solo)::before { background: linear-gradient(90deg, rgba(13,18,48,.94) 0%, rgba(13,18,48,.8) 42%, rgba(13,18,48,.05) 72%); }
@media (max-width: 900px) { .brand-stage.solo img { opacity: .35; max-width: 90%; right: 5%; } }
.brand-stage.solo img { max-width: 38%; height: 78%; right: 4%; bottom: 8%; }
.art-hero.branded:has(.brand-stage.solo) h1, .art-hero.branded:has(.brand-stage.solo) .kick { max-width: 58%; }
@media (max-width: 900px) { .art-hero.branded:has(.brand-stage.solo) h1 { max-width: none; } }
/* Highlight boxes / award & people cards from the Q1–Q2 write-ups */
.art p.callout--card { font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--green-50, #eef7f0); border: 1px solid var(--green-100, #d5ebd9); border-left: 4px solid var(--green); border-radius: 14px; padding: 18px 22px; letter-spacing: 0; }
.art p.callout--card::first-line { font-family: var(--display); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.art p.callout--card + p.callout--card { margin-top: -.8em; }
/* Area map badge on area stories (South Luzon, North Luzon, West Visayas, South Mindanao) */
.amap { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px; width: auto; height: auto;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px -10px rgba(13,18,48,.45); }
.amap i { display: block; width: 54px; height: 54px; flex: none; background: center / contain no-repeat; }
.amap b { font-family: var(--display); font-size: .82rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; max-width: 7ch; }
.frame { position: relative; }
.frame .amap { left: 16px; bottom: 16px; }
.frame .amap i { width: 72px; height: 72px; }
.frame .amap b { font-size: .95rem; }
@media (max-width: 560px) { .amap i { width: 40px; height: 40px; } .amap b { font-size: .72rem; } }
