/*
Theme Name: dds_adsolvemedia.com
Theme URI: https://adsolvemedia.com/
Author: Arjun Mehta
Description: Concrete-and-blueprint theme for an Indian real estate marketing site: campaign funnel, city map, listing breakdown and article clippings on formwork concrete.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adsolve
*/

/* ---------- Fonts ---------- */
@font-face {
    font-family: "Archivo";
    src: url("fonts/archivo-wdth.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Archivo";
    src: url("fonts/archivo-wdth-ext.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Roboto Condensed";
    src: url("fonts/roboto-condensed-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto Condensed";
    src: url("fonts/roboto-condensed-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto Condensed";
    src: url("fonts/roboto-condensed-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
    --concrete: #C9C4BA;
    --grid: #B4AEA2;
    --paper: #E9E4D8;
    --paper-hi: #F3EFE6;
    --navy: #13233A;
    --navy-deep: #0E1B2E;
    --graphite: #1C1D1F;
    --ink: #22242A;
    --muted: #6B6A63;
    --muted-dark: #4E4D48;
    --orange: #F2610C;
    --orange-dark: #C94E07;
    --saffron: #E8A317;
    --cold: #F5F2EA;
    --rust: #D4560F;
    --line-light: rgba(245, 242, 234, 0.16);
    --f-head: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
    --f-text: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --shadow-plate: 5px 5px 0 var(--ink);
    --gap: clamp(1rem, 2.4vw, 2rem);
}

/* ---------- Hidden-attribute guards (A11) ---------- */
.cookie-banner[hidden] { display: none !important; }
[hidden] { display: none !important; }

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--f-text);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--concrete);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.24 0 0 0 0 0.2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"),
        linear-gradient(rgba(34, 36, 42, 0.07) 2px, transparent 2px),
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 240px 240px, 100% 360px, 24px 24px, 24px 24px;
    overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-head);
    font-stretch: 112%;
    font-weight: 800;
    line-height: 1.12;
    color: var(--navy);
    margin: 1.6em 0 0.6em;
    hyphens: auto;
    overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: var(--orange);
    transition: color .15s ease, background-color .15s ease, text-decoration-color .15s ease;
}
a:hover { color: var(--orange-dark); text-decoration-thickness: 2px; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

::selection { background: var(--orange); color: var(--cold); }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip {
    position: absolute;
    left: 1rem; top: -4rem;
    z-index: 100;
    padding: .6rem 1rem;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    border: 2px solid var(--ink);
}
.skip:focus { top: 1rem; color: #fff; }

/* ---------- Containers ---------- */
.shell { width: min(92%, 1180px); margin-inline: auto; }
.frame { width: min(85%, 1240px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    padding: .72em 1.5em;
    font-family: var(--f-text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
    color: var(--ink);
    background: var(--paper-hi);
    border: 2px solid var(--ink);
    border-radius: 0;
    box-shadow: var(--shadow-plate);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
}
.btn:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--ink);
    color: var(--ink);
    background: var(--saffron);
}
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn--solid { background: var(--orange); color: #fff; }
.btn--solid:hover { background: var(--ink); color: var(--cold); }
.btn--big { font-size: clamp(1.05rem, 1.6vw, 1.3rem); padding: .85em 2.2em; }
.btn--small { font-size: .88rem; padding: .45em .95em; box-shadow: 3px 3px 0 var(--ink); }
.btn--small:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- Header ---------- */
.masthead {
    position: relative;
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(180, 174, 162, .45) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 174, 162, .45) 1px, transparent 1px);
    background-size: 12px 12px;
    border-bottom: 5px solid var(--navy);
}
.masthead__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 640px;
    color: var(--ink);
    text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark { flex: 0 0 auto; color: var(--ink); line-height: 0; }
.brand__svg { width: 56px; height: 56px; }
.brand-logo { max-height: 64px; width: auto; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
    font-family: var(--f-head);
    font-stretch: 108%;
    font-weight: 800;
    font-size: clamp(.98rem, 1.35vw, 1.12rem);
    line-height: 1.2;
    color: var(--navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.brand__tagline {
    margin-top: .25rem;
    font-size: .86rem;
    line-height: 1.35;
    color: var(--muted-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.topnav__list {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.topnav__list a {
    position: relative;
    display: inline-block;
    padding: .35rem 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    text-decoration: none;
}
.topnav__list a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 3px;
    background: var(--orange);
    transition: right .18s ease;
}
.topnav__list a:hover::after,
.topnav__list .current-menu-item > a::after,
.topnav__list .current_page_item > a::after { right: 0; }
.topnav__list a:hover { color: var(--navy); }

.topnav__toggle {
    display: none;
    align-items: center;
    gap: .5rem;
    padding: .5rem .8rem;
    font-family: var(--f-text);
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
    background: var(--paper-hi);
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    cursor: pointer;
}
.topnav__bars,
.topnav__bars::before,
.topnav__bars::after {
    display: block;
    width: 18px; height: 2px;
    background: var(--ink);
    position: relative;
}
.topnav__bars::before,
.topnav__bars::after { content: ""; position: absolute; left: 0; }
.topnav__bars::before { top: -6px; }
.topnav__bars::after { top: 6px; }

/* ---------- Section headings ---------- */
.sec-head { margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.sec-head__num {
    display: block;
    font-family: var(--f-text);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .18em;
    color: var(--orange-dark);
}
.sec-head__num::before { content: "§ "; }
.sec-head__title {
    position: relative;
    margin: .15rem 0 0;
    padding-bottom: .6rem;
    font-size: clamp(1.8rem, 3.6vw, 2.75rem);
    color: var(--ink);
}
.sec-head__title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 72px; height: 6px;
    background: var(--orange);
}
.sec-head--light .sec-head__num { color: var(--saffron); }
.sec-head--light .sec-head__title { color: var(--cold); }
.sec-head--row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 1.5rem;
}
.sec-head--row .sec-head__num,
.sec-head--row .sec-head__title { grid-column: 1; }
.sec-head__more {
    grid-column: 2;
    grid-row: 2;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

/* ---------- Front page bands ---------- */
.front { display: block; }
.band { position: relative; padding: clamp(2.8rem, 6vw, 4.8rem) 0; }
.band--blueprint {
    color: var(--cold);
    background-color: var(--navy);
    background-image:
        radial-gradient(rgba(245, 242, 234, .05) 1px, transparent 1px),
        linear-gradient(rgba(245, 242, 234, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 242, 234, .045) 1px, transparent 1px);
    background-size: 6px 6px, 48px 48px, 48px 48px;
}
.band--blueprint::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(245, 242, 234, .28);
    pointer-events: none;
}
.band--blueprint a { color: var(--cold); }

/* Opener / hero */
.opener {
    position: relative;
    overflow: hidden;
    padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.4rem);
}
.opener::before {
    content: "";
    position: absolute;
    inset: 1.4rem 3% 0 3%;
    background-image:
        linear-gradient(rgba(34, 36, 42, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 36, 42, .08) 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid rgba(34, 36, 42, .12);
    pointer-events: none;
}
.opener__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}
.opener__copy { min-width: 0; }
.opener__title {
    margin: 0 0 1.4rem;
    font-size: clamp(2.6rem, 6.4vw, 5.6rem);
    font-stretch: 118%;
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.01em;
    color: #121316;
    hyphens: manual;
}
.opener__lead {
    max-width: 34em;
    margin-bottom: 1.9rem;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    line-height: 1.45;
    color: var(--ink);
}
.opener__shot {
    position: relative;
    margin: 0;
    min-width: 0;
    justify-self: center;
    width: min(100%, 470px);
}
.opener__shot img {
    width: 100%;
    aspect-ratio: 976 / 1148;
    object-fit: cover;
    box-shadow: 10px 12px 0 rgba(28, 29, 31, .22);
}
.opener__sticker {
    position: absolute;
    right: -9%;
    top: 30%;
    width: 34%;
    padding: .8rem .7rem;
    font-family: var(--f-text);
    font-weight: 700;
    font-size: clamp(.95rem, 1.6vw, 1.35rem);
    line-height: 1.15;
    text-align: center;
    color: var(--ink);
    background: var(--paper-hi);
    border: 1px solid rgba(34, 36, 42, .35);
    box-shadow: 4px 6px 12px rgba(28, 29, 31, .25), inset 0 0 0 6px var(--paper-hi), inset 0 0 0 8px var(--ink);
    transform: rotate(-4deg);
}
.opener__ruler {
    position: absolute;
    right: 2.2%;
    top: 22%;
    width: 60px;
    height: 70%;
    background-color: #EEEAE1;
    background-image:
        repeating-linear-gradient(180deg, var(--ink) 0 2px, transparent 2px 60px),
        repeating-linear-gradient(180deg, var(--ink) 0 1px, transparent 1px 12px);
    background-size: 26px 100%, 14px 100%;
    background-position: left top, left top;
    background-repeat: no-repeat;
    border: 2px solid var(--ink);
    transform: rotate(22deg);
    transform-origin: center;
    opacity: .9;
    pointer-events: none;
}

/* Funnel */
.funnel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 1.5rem;
    align-items: center;
}
.funnel__fig {
    position: relative;
    margin: 0;
    min-width: 0;
    padding: 1.1rem 1.4rem .9rem;
    background: #CAC4B6;
    border: 1px solid rgba(34, 36, 42, .22);
    box-shadow: 7px 8px 0 rgba(28, 29, 31, .16);
}
.funnel__fig::before,
.funnel__fig::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 86px;
    height: 22px;
    background: rgba(233, 228, 216, .78);
    border: 1px solid rgba(34, 36, 42, .1);
}
.funnel__fig::before { left: 4%; transform: rotate(-5deg); }
.funnel__fig::after { right: 4%; transform: rotate(4deg); }
.funnel__sheet { position: relative; }
.funnel__fig img { width: 100%; aspect-ratio: 1846 / 348; }
.funnel__marks { position: absolute; inset: 0; pointer-events: none; }
.fmark {
    position: absolute;
    font-family: var(--f-text);
    font-weight: 500;
    font-size: clamp(.78rem, 1.55vw, 1.3rem);
    line-height: 1.15;
    color: var(--ink);
    white-space: nowrap;
}
.fmark b {
    display: block;
    font-family: var(--f-head);
    font-weight: 700;
    font-stretch: 100%;
    text-align: center;
}
.fmark--l1 { left: 3%; top: 3%; }
.fmark--l2 { left: 30%; top: 8%; text-align: center; }
.fmark--l3 { left: 62%; top: 27%; transform: translateX(-50%); text-align: center; }
.fmark--l4 { left: 76%; top: 45%; text-align: center; }
.fmark--v {
    transform: translate(-50%, -50%);
    font-family: var(--f-head);
    font-stretch: 100%;
    font-weight: 700;
}
.fmark--v1 { left: 13%; top: 43%; }
.fmark--v2 { left: 37.8%; top: 66%; }
.fmark--v3 { left: 62%; top: 85%; }
.funnel__note {
    align-self: start;
    margin-top: 18%;
    padding-left: .9rem;
    border-left: 3px solid var(--ink);
    font-size: .95rem;
    line-height: 1.35;
    color: var(--muted-dark);
}
.funnel__note p { margin: 0 0 .5em; }
.funnel__note .funnel__note-title { font-weight: 700; color: var(--ink); }
.funnel__legend { display: none; }

/* Reach / map */
.reach {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}
.reach__map, .reach__text { min-width: 0; }
.mapfig { position: relative; margin: 0 auto; max-width: 500px; }
.mapfig img { width: 100%; aspect-ratio: 820 / 840; }
.mapfig__pin {
    position: absolute;
    font-weight: 500;
    font-size: clamp(.72rem, 1.25vw, 1rem);
    line-height: 1;
    color: var(--cold);
    text-shadow: 0 0 4px var(--navy), 0 0 2px var(--navy);
    transform: translateY(-50%);
    white-space: nowrap;
}
.mapfig__pin--delhi { left: 38.6%; top: 28.3%; }
.mapfig__pin--gurgaon { left: 38.6%; top: 32.6%; }
.mapfig__pin--mumbai { left: 21.4%; top: 58.6%; transform: translate(-100%, -50%); }
.mapfig__pin--pune { left: 27.4%; top: 56.2%; }
.mapfig__pin--hyderabad { left: 42.4%; top: 64.3%; }
.mapfig__pin--bengaluru { left: 35.4%; top: 78.8%; transform: translate(-100%, -50%); }
.mapfig__pin--chennai { left: 46.8%; top: 78.8%; }
.reach__lead { font-size: 1.12rem; color: rgba(245, 242, 234, .86); max-width: 34em; }

.ticks { margin: 1.6rem 0 0; padding: 0; list-style: none; }
.ticks li {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: .7rem 0 .7rem 2.6rem;
    border-bottom: 1px dashed rgba(245, 242, 234, .22);
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
    content: "";
    position: absolute;
    left: 0; top: .85rem;
    width: 22px; height: 22px;
    border: 3px solid var(--orange);
}
.ticks li::after {
    content: "";
    position: absolute;
    left: 6px; top: .88rem;
    width: 9px; height: 15px;
    border-right: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
    transform: rotate(40deg);
}
.ticks strong {
    font-family: var(--f-text);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--cold);
}
.ticks span { font-size: .98rem; color: rgba(245, 242, 234, .74); }

/* Clippings (post cards) */
.clips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: clamp(1.4rem, 3vw, 2.4rem);
    padding: .6rem .4rem 1rem;
}
.clips--front { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: .7rem .7rem 1rem;
    background: #FBF9F4;
    border: 1px solid rgba(34, 36, 42, .14);
    box-shadow: 3px 8px 0 -2px rgba(28, 29, 31, .18), 10px 18px 22px rgba(28, 29, 31, .22);
    transform: rotate(var(--tilt, -1.6deg));
    transition: transform .2s ease, box-shadow .2s ease;
}
.clips > .card:nth-child(3n+2) { --tilt: 1.4deg; margin-top: .6rem; }
.clips > .card:nth-child(3n+3) { --tilt: 2.4deg; }
.card:hover,
.card:focus-within {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 3px 8px 0 -2px rgba(28, 29, 31, .2), 14px 24px 28px rgba(28, 29, 31, .26);
}
.card__thumb { display: block; overflow: hidden; background: var(--paper); }
.card__thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .3s ease;
}
.card:hover .card__thumb img { transform: scale(1.03); }
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: .9rem .25rem 0;
}
.card__pin {
    align-self: flex-start;
    margin-bottom: .4rem;
    padding: .1rem .5rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--saffron);
}
.card__title {
    margin: 0 0 .45rem;
    font-size: clamp(1.08rem, 1.5vw, 1.24rem);
    font-stretch: 104%;
    line-height: 1.2;
    color: var(--ink);
}
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--orange-dark); }
.card-excerpt { font-size: .98rem; line-height: 1.45; color: var(--muted-dark); }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card__foot {
    margin-top: auto;
    padding-top: .5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}
.card__date { font-size: .9rem; color: var(--muted); }

.empty-note {
    padding: 1.2rem 1.4rem;
    background: var(--paper);
    border: 2px dashed var(--muted);
    font-size: 1.05rem;
}

/* Anatomy / cutaway */
.anatomy {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}
.anatomy__text { min-width: 0; }
.anatomy__text p { color: rgba(245, 242, 234, .86); font-size: 1.1rem; }
.anatomy__text .anatomy__tip {
    padding: 1rem 1.2rem;
    border: 1px dashed rgba(242, 97, 12, .7);
    background: rgba(14, 27, 46, .55);
    font-size: 1rem;
    color: var(--cold);
}
.cutaway {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 34%);
    margin: 0;
    min-width: 0;
}
.cutaway__img { min-width: 0; }
.cutaway__img img { width: 100%; aspect-ratio: 900 / 786; }
.cutaway__labels {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cutaway__labels li {
    position: absolute;
    left: .5rem;
    right: 0;
    top: var(--y);
    padding-left: 18px;
    transform: translateY(-50%);
    font-weight: 500;
    font-size: clamp(.78rem, 1.35vw, 1.12rem);
    line-height: 1.15;
    color: var(--cold);
}
.cutaway__labels li::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 9px; height: 9px;
    margin-top: -4px;
    background: var(--orange);
}

/* Outcome / stamps */
.outcome {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}
.outcome__stamps, .outcome__list { min-width: 0; }
.stamps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.6rem 0 1.2rem;
}
.stamp {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 1.1rem 1.5rem;
    font-family: var(--f-head);
    font-stretch: 100%;
    font-weight: 800;
    font-size: clamp(1.05rem, 1.9vw, 1.5rem);
    line-height: 1.12;
    text-align: center;
    color: var(--c);
    border: 5px solid var(--c);
    border-radius: 10px;
    box-shadow: inset 0 0 0 4px rgba(201, 196, 186, .0), inset 0 0 0 7px var(--c);
    background: rgba(201, 196, 186, .35);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2.05'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2.05'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
    -webkit-mask-size: 160px 160px;
    mask-size: 160px 160px;
}
.stamp--saffron { --c: var(--saffron); transform: rotate(-14deg); z-index: 1; }
.stamp--orange { --c: var(--orange); transform: rotate(-11deg) translateY(1.6rem); margin-left: -1.6rem; z-index: 2; }
.stamp--rust { --c: var(--rust); transform: rotate(-16deg) translateY(.4rem); margin-left: -1.2rem; z-index: 3; }
.outcome__line {
    margin: 2rem 0 0;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 500;
    color: var(--ink);
}
.outcome__list {
    margin: 0;
    padding: 1.6rem 1.8rem;
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: 8px 8px 0 rgba(28, 29, 31, .85);
}
.outcome__list div { padding: .9rem 0; border-bottom: 1px dashed var(--grid); }
.outcome__list div:first-child { padding-top: 0; }
.outcome__list div:last-child { border-bottom: 0; padding-bottom: 0; }
.outcome__list dt {
    position: relative;
    padding-left: 1.2rem;
    font-family: var(--f-head);
    font-stretch: 104%;
    font-weight: 800;
    font-size: 1.12rem;
    color: var(--navy);
}
.outcome__list dt::before {
    content: "";
    position: absolute;
    left: 0; top: .45em;
    width: 9px; height: 9px;
    background: var(--orange);
}
.outcome__list dd { margin: .3rem 0 0; font-size: 1rem; line-height: 1.45; color: var(--muted-dark); }

/* ---------- Inner pages ---------- */
.inner { padding: 1.6rem 0 clamp(3rem, 6vw, 5rem); }

.crumbs {
    margin-bottom: 1.6rem;
    font-size: .95rem;
    color: var(--muted-dark);
}
.crumbs a { color: var(--navy); font-weight: 500; }
.crumbs span:last-child { color: var(--ink); }
.crumbs__sep { color: var(--orange-dark); margin: 0 .25rem; font-weight: 700; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    column-gap: 6%;
    align-items: start;
}
.layout-single { width: 85%; margin-left: auto; margin-right: auto; }
.content-area { min-width: 0; }

.page-head { margin-bottom: 2rem; }
.page-head__kicker {
    display: inline-block;
    padding: .15rem .6rem;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cold);
    background: var(--navy);
}
.page-head__title {
    position: relative;
    margin: .6rem 0 0;
    padding-bottom: .6rem;
    color: var(--ink);
}
.page-head__title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 72px; height: 6px;
    background: var(--orange);
}
.page-head__intro { margin-top: 1rem; }

.layout-with-sidebar .clips { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

/* Article sheet */
.sheet {
    padding: clamp(1.4rem, 3.6vw, 2.8rem);
    background: var(--paper-hi);
    border: 2px solid var(--ink);
    box-shadow: 8px 8px 0 rgba(28, 29, 31, .8);
}
.sheet__head { margin-bottom: 1.4rem; }
.sheet__cat {
    display: inline-block;
    padding: .15rem .6rem;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    background: var(--saffron);
}
.sheet__cat:hover { color: var(--cold); background: var(--navy); }
.sheet__title { margin: .7rem 0 .5rem; color: var(--ink); }
.sheet__meta { margin: 0; font-size: .95rem; color: var(--muted); }
.sheet__cover { margin: 0 0 1.8rem; }
.sheet__cover img { width: 100%; height: auto; border: 2px solid var(--ink); }
.sheet__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 2rem 0 0;
    padding: 1.2rem 0 0;
    list-style: none;
    border-top: 2px solid var(--ink);
}
.sheet__tags a {
    display: inline-block;
    padding: .2rem .6rem;
    font-size: .92rem;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--ink);
    background: var(--paper);
}
.sheet__tags a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Entry typography */
.entry { font-size: 1.1rem; line-height: 1.7; }
.entry > *:first-child { margin-top: 0; }
.entry h2, .entry h3, .entry h4 { color: var(--navy); }
.entry h2 { padding-left: .8rem; border-left: 6px solid var(--orange); }
.entry ul, .entry ol { margin: 0 0 1.2em; padding-left: 1.5em; }
.entry li { margin-bottom: .35em; }
.entry ul li::marker { color: var(--orange); }
.entry ol li::marker { color: var(--orange-dark); font-weight: 700; }
.entry blockquote {
    margin: 1.8em 0;
    padding: 1.3rem 1.6rem;
    background: var(--navy);
    color: var(--cold);
    border-left: 8px solid var(--orange);
    font-size: 1.18rem;
}
.entry blockquote p:last-child { margin-bottom: 0; }
.entry blockquote a { color: var(--cold); }
.entry blockquote cite { display: block; margin-top: .6rem; font-size: .92rem; color: var(--saffron); font-style: normal; }
.entry table {
    width: 100%;
    margin: 1.6em 0;
    border-collapse: collapse;
    border: 2px solid var(--ink);
    font-size: 1rem;
    display: block;
    overflow-x: auto;
}
.entry th, .entry td { padding: .6rem .8rem; border: 1px solid var(--ink); text-align: start; vertical-align: top; }
.entry th { background: var(--navy); color: var(--cold); font-weight: 700; }
.entry tr:nth-child(even) td { background: rgba(201, 196, 186, .35); }
.entry img { height: auto; }
.entry figure { margin: 1.6em 0; }
.entry figcaption, .wp-caption-text { font-size: .9rem; color: var(--muted); margin-top: .4rem; }
.entry pre {
    overflow-x: auto;
    padding: 1rem 1.2rem;
    background: var(--graphite);
    color: var(--cold);
    font-size: .92rem;
}
.entry code { font-size: .92em; padding: .05em .3em; background: var(--paper); }
.entry pre code { padding: 0; background: none; }
.entry hr { border: 0; border-top: 2px dashed var(--grid); margin: 2em 0; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.entry-pages { margin-top: 1.5rem; font-weight: 700; }

/* Post navigation */
.postnav { margin-top: 2rem; }
.postnav .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.postnav .nav-next { grid-column: 2; text-align: end; }
.postnav a {
    display: block;
    height: 100%;
    padding: 1rem 1.2rem;
    text-decoration: none;
    color: var(--ink);
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
}
.postnav a:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); color: var(--ink); }
.postnav__dir { display: block; font-size: .85rem; font-weight: 700; color: var(--orange-dark); }
.postnav__title { display: block; font-weight: 700; line-height: 1.3; }

/* Pagination */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 2.6rem;
}
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 .8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
    background: var(--paper-hi);
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
}
.pager a.page-numbers:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); background: var(--saffron); color: var(--ink); }
.pager .page-numbers.current { background: var(--orange); color: #fff; }
.pager .page-numbers.dots { background: none; border: 0; box-shadow: none; min-width: auto; padding: 0 .2rem; }

/* Sidebar */
.sidebar {
    min-width: 0;
    padding: 1.4rem 1.4rem .4rem;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(180, 174, 162, .4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 174, 162, .4) 1px, transparent 1px);
    background-size: 12px 12px;
    border: 2px solid var(--navy);
    border-top-width: 6px;
}
.side-widget { margin-bottom: 1.6rem; color: var(--ink); }
.side-widget__title {
    margin: 0 0 .8rem;
    padding-bottom: .4rem;
    font-size: 1.15rem;
    color: var(--navy);
    border-bottom: 3px solid var(--orange);
}
.side-widget ul { margin: 0; padding: 0; list-style: none; }
.side-widget li { padding: .5rem 0; border-bottom: 1px dashed var(--grid); line-height: 1.35; }
.side-widget li:last-child { border-bottom: 0; }
.side-widget a { color: var(--ink); text-decoration-color: var(--orange); }
.side-widget a:hover { color: var(--orange-dark); }
.side-widget .post-date { display: block; font-size: .85rem; color: var(--muted-dark); }
.side-widget p { color: var(--ink); }

/* Search form */
.finder { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.finder__field {
    flex: 1 1 200px;
    min-width: 0;
    padding: .7rem .9rem;
    font: inherit;
    color: var(--ink);
    background: var(--paper-hi);
    border: 2px solid var(--ink);
    border-radius: 0;
}
.finder__btn { box-shadow: 3px 3px 0 var(--ink); }

/* 404 */
.lost {
    position: relative;
    max-width: 720px;
    margin: 1rem auto 0;
    padding: clamp(1.6rem, 4vw, 3rem);
    background: var(--paper-hi);
    border: 2px solid var(--ink);
    box-shadow: 8px 8px 0 rgba(28, 29, 31, .8);
}
.lost__code {
    margin: 0;
    font-family: var(--f-head);
    font-stretch: 125%;
    font-weight: 900;
    font-size: clamp(5rem, 16vw, 9rem);
    line-height: .9;
    color: var(--orange);
    -webkit-text-stroke: 2px var(--ink);
}
.lost__title { margin: .8rem 0 .6rem; color: var(--ink); }
.lost .finder { margin-bottom: 1.6rem; }

/* Comments */
.talk {
    margin-top: 2.4rem;
    padding: clamp(1.2rem, 3vw, 2rem);
    background: var(--paper);
    border: 2px solid var(--ink);
}
.talk__title, .comment-reply-title { margin: 0 0 1rem; font-size: 1.4rem; color: var(--ink); }
.talk__list, .talk__list .children { margin: 0; padding: 0; list-style: none; }
.talk__list .children { padding-left: clamp(.8rem, 3vw, 2rem); border-left: 3px solid var(--orange); }
.note__body { padding: 1rem 0; border-bottom: 1px dashed var(--grid); }
.note__head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; margin-bottom: .4rem; }
.note__head .avatar { width: 40px; height: 40px; border: 2px solid var(--ink); }
.note__author { font-weight: 700; color: var(--navy); }
.note__date { font-size: .88rem; color: var(--muted-dark); }
.note__pending { padding: .3rem .6rem; background: var(--saffron); font-size: .9rem; display: inline-block; }
.note__text p:last-child { margin-bottom: .3rem; }
.note__reply a { font-weight: 700; font-size: .92rem; }
.comment-respond { margin-top: 1.4rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: .3rem; font-weight: 700; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .7rem .8rem;
    font: inherit;
    color: var(--ink);
    background: var(--paper-hi);
    border: 2px solid var(--ink);
    border-radius: 0;
}
.comment-form-cookies-consent { display: flex; gap: .6rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.comment-form .req { color: var(--orange-dark); }
.talk__closed { font-weight: 700; }

/* ---------- Footer ---------- */
.basement {
    position: relative;
    margin-top: 0;
    color: var(--cold);
    background-color: var(--graphite);
    background-image:
        linear-gradient(rgba(245, 242, 234, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 242, 234, .03) 1px, transparent 1px);
    background-size: 24px 24px;
    border-top: 6px solid var(--orange);
}
.basement__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.6rem;
}
.basement__col { min-width: 0; }
.foot-widget { margin-bottom: 1.2rem; color: rgba(245, 242, 234, .82); }
.foot-widget__title {
    margin: 0 0 .9rem;
    font-size: 1.35rem;
    color: var(--cold);
}
.foot-widget p, .foot-widget .textwidget { color: rgba(245, 242, 234, .82); font-size: 1rem; }
.foot-widget a { color: var(--cold); text-decoration-color: var(--orange); }
.foot-widget a:hover { color: var(--saffron); }
.foot-widget ul { margin: 0; padding: 0; list-style: none; }
.foot-widget li { padding: .22rem 0; }
.foot-widget li a { text-decoration: none; }
.foot-widget li a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.foot-widget .post-date { display: block; font-size: .85rem; color: rgba(245, 242, 234, .6); }
.basement__legal {
    padding: 1.2rem 0 1.6rem;
    border-top: 1px solid rgba(245, 242, 234, .14);
    font-size: .95rem;
    color: rgba(245, 242, 234, .7);
}
.basement__legal p { margin: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.6rem;
    max-width: 960px;
    margin-inline: auto;
    padding: 1.1rem 1.4rem;
    color: var(--cold);
    background: var(--navy);
    border: 2px solid var(--cold);
    box-shadow: 6px 6px 0 var(--orange);
}
.cookie-banner__text { flex: 1 1 320px; min-width: 0; margin: 0; font-size: .98rem; }
.cookie-banner__accept { box-shadow: 4px 4px 0 var(--cold); border-color: var(--cold); }
.cookie-banner__accept:hover { box-shadow: 2px 2px 0 var(--cold); background: var(--saffron); color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .opener__ruler { display: none; }
}
@media (max-width: 1100px) {
    .opener__sticker { right: -4%; }
}

@media (max-width: 960px) {
    .masthead__row { flex-wrap: wrap; }
    .brand { flex: 1 1 0; }
    .topnav__toggle { display: inline-flex; }
    .topnav { display: none; flex: 1 0 100%; }
    .topnav.is-open { display: block; }
    .topnav__list { flex-direction: column; gap: 0; border-top: 2px solid var(--ink); padding-top: .4rem; }
    .topnav__list a { padding: .6rem 0; }

    .opener__grid { grid-template-columns: minmax(0, 1fr); }
    .opener__shot { width: min(86%, 440px); }

    .funnel { grid-template-columns: minmax(0, 1fr); }
    .funnel__note { margin-top: 0; max-width: 34em; }

    .reach,
    .anatomy,
    .outcome { grid-template-columns: minmax(0, 1fr); }
    .reach__map { order: 2; }

    .clips--front { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.4rem; }
    .layout-single { width: 100%; }

    .basement__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .funnel__marks { display: none; }
    .funnel__legend {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .6rem;
        margin: 0;
        padding: 0;
        list-style: none;
        counter-reset: step;
    }
    .funnel__legend li {
        min-width: 0;
        padding: .7rem .8rem;
        background: var(--paper);
        border: 2px solid var(--ink);
        border-left: 6px solid var(--orange);
    }
    .funnel__legend span { display: block; font-size: .92rem; }
    .funnel__legend b { font-family: var(--f-head); font-size: 1.1rem; }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .frame { width: 92%; }
    .brand__svg { width: 44px; height: 44px; }
    .brand__tagline { display: none; }
    .band { padding: 2.4rem 0; }
    .band--blueprint::before { inset: 8px; }
    .opener__shot { width: 88%; }
    .opener__sticker { right: -6%; width: 40%; }
    .stamps { justify-content: center; padding-top: 1rem; }
    .stamp { padding: .9rem 1rem; }
    .outcome__list { padding: 1.3rem 1.2rem; }
    .cutaway { grid-template-columns: minmax(0, 1fr) minmax(0, 38%); }
    .cutaway__labels li { padding-left: 13px; left: .25rem; }
    .cutaway__labels li::before { width: 7px; height: 7px; margin-top: -3px; }
    .sec-head--row { grid-template-columns: minmax(0, 1fr); }
    .sec-head__more { grid-column: 1; grid-row: auto; margin-top: .8rem; }
    .clips > .card:nth-child(n) { --tilt: 0deg; margin-top: 0; }
    .sheet { padding: 1.2rem 1.1rem; box-shadow: 5px 5px 0 rgba(28, 29, 31, .8); }
    .lost { padding: 1.4rem 1.2rem; }
    .talk { padding: 1.1rem 1rem; }
    .postnav .nav-links { grid-template-columns: minmax(0, 1fr); }
    .postnav .nav-next { grid-column: 1; }
    .basement__grid { grid-template-columns: minmax(0, 1fr); }
    .cookie-banner { left: .6rem; right: .6rem; bottom: .6rem; padding: 1rem 1.1rem; }
    .alignleft, .alignright { float: none; margin: 1em 0; }
}
