/* MAGNO & CO — site styles. No build step. Brand orange #FF8900 (from the logo SVG). */

:root {
  --orange: #FF8900;
  --orange-dark: #E57A00;
  --orange-soft: #FFF1E0;
  --orange-text: #A85800; /* 5.2:1 on white — for small orange text */
  --ink: #121212;
  --ink-2: #2b2b2b;
  --muted: #5f5a54;
  --line: #e7e0d5;
  --bg: #fff;
  --bg-2: #f4efe7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .18);
  --wrap: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px;
  border: 2px solid var(--orange); border-radius: 999px;
  background: var(--orange); color: var(--ink);
  font-weight: 900; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 137, 0, .35); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; border-color: #000; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.nav { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__brand img { width: 40px; height: 40px; }
.nav__brand span { font-weight: 900; letter-spacing: .08em; color: var(--ink); font-size: 1.05rem; }
.nav__brand small { display: block; font-weight: 700; letter-spacing: .04em; color: var(--muted); font-size: .68rem; line-height: 1; margin-top: 2px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 999px; color: var(--ink-2); }
.nav__links a:hover { background: var(--bg-2); }
.nav__links a.is-active { color: var(--ink); background: var(--orange-soft); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; text-decoration: none; color: var(--ink); padding: 8px 10px; }
.nav__phone svg { width: 18px; height: 18px; fill: var(--orange); }
.nav__toggle { display: none; width: 48px; height: 48px; border: 0; background: var(--bg-2); border-radius: 12px; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 23px; }
.nav__toggle span:nth-child(3) { top: 30px; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section--gray { background: var(--bg-2); }
.section--dark { background: var(--ink); color: #d9d9d9; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: 48px 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 12px; }
.section--dark .eyebrow { color: var(--orange); }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.head--center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--dark .lead { color: #b9b9b9; }

/* ---------- Hero slideshow ---------- */
.hero { position: relative; padding: 0; height: min(88vh, 780px); min-height: 560px; overflow: hidden; background: #000; color: #fff; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.0); } }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, .1) 100%),
              linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 35%); }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 64px; }
.hero__copy { max-width: 680px; }
.hero__copy h1 { color: #fff; }
.hero__copy h1 em { font-style: normal; color: var(--orange); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #eee; max-width: 600px; margin-bottom: 28px; }
.hero__sub strong { color: #fff; }
.hero .eyebrow { color: var(--orange); }
.hero__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; }
.hero__bar .wrap { display: flex; align-items: center; gap: 14px; }
.hero__cap { margin-right: auto; font-size: .92rem; color: #ddd; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.hero__cap::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); transition: width .3s, background .3s; }
.dots button.is-active { width: 28px; background: var(--orange); }
.round {
  width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); transition: background .2s;
}
.round:hover { background: rgba(255, 255, 255, .32); }
.round svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #cfcfcf; padding: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; color: var(--orange); line-height: 1.05; }
.stat span { font-size: .95rem; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-soft); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; fill: var(--orange-dark); }
.section--dark .card { background: #1c1c1c; border-color: #2c2c2c; }
.section--dark .card p { color: #aaa; }
.section--dark .icon { background: rgba(255, 137, 0, .14); }
.section--dark .icon svg { fill: var(--orange); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.check { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check li { position: relative; padding-left: 32px; }
.check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23121212'/%3E%3C/svg%3E") center/14px no-repeat; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.chips li { font-size: .85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.section--gray .chips li { background: #fff; }

/* ---------- Who I work with ---------- */
.audience { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.audience span { font-weight: 900; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; }

/* ---------- Project cards ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); transition: transform .2s, box-shadow .2s; color: inherit; text-decoration: none; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform .6s ease; }
.pcard__media img + img { opacity: 0; }
.pcard:hover .pcard__media img + img { opacity: 1; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__count { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 900; color: #fff; background: rgba(0, 0, 0, .65); padding: 7px 12px; border-radius: 999px; }
.pcard__count svg { width: 16px; height: 16px; fill: var(--orange); }
.pcard__tag { position: absolute; z-index: 2; left: 12px; top: 12px; font-size: .75rem; font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase; background: var(--orange); color: var(--ink); padding: 6px 10px; border-radius: 999px; }
.pcard__body { padding: 20px 22px 24px; }
.pcard__body h3 { margin-bottom: 4px; }
.pcard__place { color: var(--muted); font-size: .95rem; margin: 0; }
.pcard--wide { grid-column: span 2; }
.pcard--wide .pcard__media { aspect-ratio: 16 / 9; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.step__img { aspect-ratio: 4 / 3; overflow: hidden; }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__body { padding: 18px 20px 22px; }
.step__body h3 { display: flex; align-items: center; gap: 10px; }
.step__body h3::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border-radius: 50%; background: var(--orange); color: var(--ink); font-size: .95rem; }
.step__body p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Before / During / After ---------- */
.bda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bda figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; cursor: zoom-in; }
.bda img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bda figure:hover img { transform: scale(1.04); }
.badge { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; background: #fff; color: var(--ink); }
.badge--before { background: #fff; }
.badge--during { background: #ffe1bd; }
.badge--after { background: var(--orange); }
.badge--design { background: #dbe8ff; color: #13306b; }

/* ---------- Design → Built ---------- */
.db { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; max-width: 900px; margin: 0 auto; }
.db figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; cursor: zoom-in; box-shadow: var(--shadow); background: var(--bg-2); }
.db img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.db figure:hover img { transform: scale(1.03); }
.db figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-weight: 700; font-size: .95rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); }
.db__arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: var(--shadow); }
.db__arrow svg { width: 26px; height: 26px; fill: var(--ink); }
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.dcard { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.dcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.dcard__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dcard__media:hover > img { transform: scale(1.04); }
.dcard__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; aspect-ratio: 4 / 3; background: #fff; }
.dcard__pair > div { position: relative; overflow: hidden; cursor: zoom-in; }
.dcard__pair img { width: 100%; height: 100%; object-fit: cover; }
.dcard figcaption { padding: 16px 18px 20px; }
.dcard figcaption b { display: block; color: var(--ink); font-size: 1.05rem; }
.dcard figcaption span { color: var(--muted); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote__stars { color: var(--orange); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 10px; }
.quote p { flex: 1; }
.quote__by { font-weight: 900; color: var(--ink); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta { background: var(--orange); color: var(--ink); text-align: center; }
.cta h2 { color: var(--ink); }
.cta p { max-width: 620px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta .btn-row { justify-content: center; }
.cta .btn--line { border-color: var(--ink); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(80px, 12vw, 140px) 0 clamp(56px, 8vw, 90px); color: #fff; background: #111; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { max-width: 640px; font-size: 1.15rem; color: #e6e6e6; margin: 0; }
.page-hero .eyebrow, .cta .eyebrow { color: var(--orange); }

/* ---------- Portfolio ---------- */
.filters { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); padding: 12px 0; }
.filters .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filters .wrap::-webkit-scrollbar { display: none; }
.filter { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 900; color: var(--ink-2); }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter span { color: var(--muted); font-weight: 700; margin-left: 4px; }
.filter.is-active span { color: var(--orange); }

.pblock { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.pblock.is-hidden { display: none; }
.pblock > *, .split > *, .carousel { min-width: 0; }
.pblock__info { position: sticky; top: calc(var(--header-h) + 90px); }
.pblock__info h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.pblock__place { font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.pblock__info p { color: var(--muted); }

/* Inline carousel */
.carousel { position: relative; }
.carousel__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #111; cursor: zoom-in; }
.carousel__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s ease; }
.carousel__stage img.is-cover { object-fit: cover; }
.carousel__stage img.is-active { opacity: 1; }
.carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.carousel__nav--prev { left: 12px; }
.carousel__nav--next { right: 12px; }
.carousel__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; gap: 12px; padding: 40px 16px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0)); color: #fff; pointer-events: none; }
.carousel__cap { margin-right: auto; font-weight: 700; font-size: .98rem; }
.carousel__count { font-size: .85rem; font-weight: 900; background: rgba(0, 0, 0, .5); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.carousel .badge { top: 14px; left: 14px; }
.carousel__tools { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 8px; }
.carousel__tools .round { width: 42px; height: 42px; background: rgba(0, 0, 0, .45); }
.carousel__tools .round:hover { background: rgba(0, 0, 0, .7); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 4px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.thumbs button { flex: none; width: 84px; height: 64px; padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; background: var(--bg-2); opacity: .65; scroll-snap-align: start; transition: opacity .2s, border-color .2s; }
.thumbs button:hover { opacity: 1; }
.thumbs button.is-active { border-color: var(--orange); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 8, 8, .97); color: #fff; display: none; flex-direction: column; }
.lb.is-open { display: flex; }
.lb__top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.lb__title { margin-right: auto; font-weight: 900; font-size: 1.05rem; }
.lb__title small { display: block; font-weight: 700; color: #aaa; font-size: .85rem; }
.lb__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 70px; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.lb__nav--prev { left: 12px; }
.lb__nav--next { right: 12px; }
.lb__cap { text-align: center; padding: 12px 16px 4px; color: #ddd; min-height: 44px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.lb__cap .badge { position: static; }
.lb .thumbs { justify-content: safe center; padding: 8px 16px 16px; }
.lb .thumbs button { width: 72px; height: 54px; }
.lb__progress { height: 3px; background: rgba(255, 255, 255, .12); }
.lb__progress i { display: block; height: 100%; width: 0; background: var(--orange); }
.lb.is-playing .lb__progress i { animation: progress var(--lb-delay, 3.5s) linear forwards; }
@keyframes progress { to { width: 100%; } }

/* ---------- Services page ---------- */
.svc-row { padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row .photo { aspect-ratio: 4 / 3; }
.svc-row--lead .photo { aspect-ratio: 16 / 11; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* ---------- About ---------- */
.portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cred { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cred .icon { margin: 0; flex: none; }
.cred b { display: block; color: var(--ink); }
.cred span { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -60px; position: relative; z-index: 3; }
.action { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.action:hover { border-color: var(--orange); transform: translateY(-3px); }
.action .icon { margin-bottom: 8px; }
.action b { font-size: 1.2rem; color: var(--ink); }
.action span { color: var(--muted); }
.action em { font-style: normal; font-weight: 900; color: var(--orange-text); margin-top: 6px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 900; font-size: .95rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 13px 14px; min-height: 50px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; max-width: 100%; }
.field select { text-overflow: ellipsis; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field__err { color: #c62828; font-size: .88rem; min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c62828; }
.form-ok { display: none; background: #e9f7ee; border: 1px solid #b9e3c6; color: #1d5e33; border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.form-ok.is-shown { display: block; }
.form-note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.info { display: grid; gap: 18px; }
.info div b { display: block; color: var(--ink); }
.info a { font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: #0c0c0c; color: #a9a9a9; padding: 64px 0 28px; font-size: .97rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #d6d6d6; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__brand img { width: 56px; height: 56px; padding: 8px; margin-bottom: 14px; background: #fff; border-radius: 14px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #1d1d1d; }
.social a:hover { background: var(--orange); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.social a:hover svg { fill: var(--ink); }
.footer__bottom { border-top: 1px solid #222; margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__phone span { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 8px 16px 20px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .12); transform: translateY(-120%); transition: transform .25s ease; }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 16px 12px; border-radius: 10px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__right .btn { display: none; }
  .projects, .grid-3, .quotes, .dgrid { grid-template-columns: 1fr 1fr; }
  .pcard--wide { grid-column: span 2; }
  .split, .pblock { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .pblock__info { position: static; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .actions { grid-template-columns: 1fr; margin-top: -40px; }
  .creds { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .nav__brand small { display: none; }
  .stat { padding: 22px 16px; }
  .stat b { font-size: 1.45rem; }
  .hero { height: auto; min-height: calc(100svh - var(--header-h) - 72px); }
  .hero__inner { padding: 72px 0 110px; justify-content: flex-end; }
  .hero::after { background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, .25) 100%); }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero__cap { font-size: .82rem; }
  .hero__bar .round { display: none; }
  .projects, .grid-3, .grid-2, .quotes, .bda { grid-template-columns: 1fr; }
  .pcard--wide { grid-column: auto; }
  .pcard--wide .pcard__media { aspect-ratio: 4 / 3; }
  .bda figure { aspect-ratio: 4 / 3; }
  .db { grid-template-columns: 1fr 1fr; gap: 8px; }
  .db__arrow { display: none; }
  .db figcaption { font-size: .82rem; padding: 24px 10px 10px; }
  .dgrid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .lb__stage { padding: 0 8px; }
  .lb__nav { width: 44px; height: 44px; background: rgba(0, 0, 0, .5); }
  .carousel__nav { width: 40px; height: 40px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
  .mbar .btn { min-height: 50px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Hero trust line ---------- */
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .92rem; color: #e9e9e9; }
.hero__trust li { display: flex; align-items: center; gap: 7px; }
.hero__trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23121212'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ---------- Project starter (quiz) ---------- */
.quiz { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); position: relative; }
.quiz__head { text-align: center; margin-bottom: 22px; }
.quiz__head h2 { margin-bottom: .3em; }
.quiz__head .lead { margin: 0; }
.quiz__bar { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin: 0 0 26px; }
.quiz__bar i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 99px; transition: width .35s ease; }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: quizIn .35s ease; }
@keyframes quizIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz__step h3 { font-size: 1.35rem; text-align: center; margin-bottom: 18px; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.quiz__opts button { min-height: 58px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: 1rem; text-align: left; transition: border-color .15s, background .15s, transform .15s; }
.quiz__opts button:hover { border-color: var(--orange); background: var(--orange-soft); transform: translateY(-1px); }
.quiz__nav { display: flex; justify-content: center; margin-top: 18px; min-height: 24px; }
.quiz__nav button { border: 0; background: none; color: var(--muted); font-weight: 700; text-decoration: underline; padding: 6px 10px; }
.quiz__result { text-align: center; }
.quiz__msg { font-size: 1.12rem; color: var(--ink-2); max-width: 620px; margin: 0 auto 16px; }
.quiz__result .chips { justify-content: center; }
.quiz__result .btn-row { justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; font-weight: 900; color: var(--ink); font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-text); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }
.prefill-note { display: none; background: var(--orange-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; color: var(--ink-2); }
.prefill-note.is-shown { display: block; }

/* ==========================================================================
   v3.1 — "Why Magno & Co" scroll-stacked cards (pinned section)
   Static layout below is the fallback (no JS / reduced motion / short screens);
   .why--anim switches on the pinned, scroll-driven deck.
   ========================================================================== */
.why { --cw: min(620px, 44vw); background: var(--bg-2); padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.why__head { text-align: center; padding: 0 16px; }
.why__badge { display: inline-block; font-size: .9rem; font-weight: 700; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px; padding: 6px 12px; margin-bottom: 18px; background: rgba(255, 255, 255, .55); }
.why__title { font-size: clamp(2.7rem, 7vw, 6.2rem); line-height: .98; letter-spacing: -.03em; margin: 0; }
.why__title span { display: block; color: var(--orange-text); }
.why__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 900; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.why__stage { width: min(var(--wrap), 100% - 32px); margin: 44px auto 0; display: grid; gap: 34px; }
.why__step { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; align-items: center; }
.why__card { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #ddd5ca; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); }
.why__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why__card--contain img { object-fit: contain; background: #fff; }
.why__card .badge { z-index: 2; }
.why__split { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 100%; background: #fff; }
.why__split > div { position: relative; overflow: hidden; }
.why__l { text-align: right; }
.why__num { display: block; font-size: .8rem; font-weight: 900; letter-spacing: .14em; color: var(--orange-text); margin-bottom: 8px; }
.why__l h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.12; margin: 0; }
.why__r p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.why__progress { display: none; }

/* ---- animated mode ---- */
.why.why--anim { padding: 0; }
.why--anim .why__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.why--anim .why__head { padding-top: calc(var(--header-h) + 4vh); flex: none; }
.why--anim .why__cta { margin-top: 14px; }
.why--anim .why__stage { position: relative; display: block; flex: 1; margin-top: calc(clamp(2.7rem, 7vw, 6.2rem) * -1.02 - 52px); width: 100%; }
.why--anim .why__step { display: block; }
.why--anim .why__card { position: absolute; left: 50%; top: 0; width: var(--cw); margin-left: calc(var(--cw) / -2);
  transform-origin: 50% 0; will-change: transform; backface-visibility: hidden; }
.why--anim .why__l, .why--anim .why__r { position: absolute; top: calc(var(--cw) * .3); width: min(300px, calc((100vw - var(--cw)) / 2 - 64px));
  opacity: 0; transform: translateY(26px); pointer-events: none; }
/* transitions switch on only after the first layout, so nothing fades or flashes on page load */
.why--anim.why--ready .why__l, .why--anim.why--ready .why__r { transition: opacity .5s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.why--anim .why__l { right: calc(50% + var(--cw) / 2 + 40px); }
.why--anim .why__r { left: calc(50% + var(--cw) / 2 + 40px); }
.why--anim .why__step.is-active .why__l, .why--anim .why__step.is-active .why__r { opacity: 1; transform: none; pointer-events: auto; transition-delay: .08s; }
.why--anim .why__step.is-past .why__l, .why--anim .why__step.is-past .why__r { transform: translateY(-26px); }
.why--anim .why__progress { display: flex; gap: 6px; position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 5; }
.why__progress i { width: 26px; height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .14); overflow: hidden; position: relative; }
.why__progress i b { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

@media (max-width: 1080px) { .why { --cw: min(560px, 50vw); } }
@media (max-width: 760px) {
  .why { --cw: min(88vw, 460px); }
  .why__step { grid-template-columns: 1fr; gap: 14px; }
  .why__l, .why__r { text-align: left; }
  .why--anim .why__head { padding-top: calc(var(--header-h) + 3vh); }
  .why--anim .why__cta { display: none; }
  .why--anim .why__stage { margin-top: calc(clamp(2.7rem, 7vw, 6.2rem) * -1.02 + 22px); }
  .why--anim .why__l, .why--anim .why__r { width: var(--cw); left: 50%; right: auto; margin-left: calc(var(--cw) / -2); text-align: left; }
  .why--anim .why__l { top: calc(var(--cw) * .75 + 20px); }
  .why--anim .why__r { top: calc(var(--cw) * .75 + 20px + 5.6rem); } /* room for a 2-line heading */
  .why--anim .why__l h3 { font-size: 1.3rem; }
  .why--anim .why__r p { font-size: .97rem; }
  .why--anim .why__progress { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

.why__card .badge { transition: opacity .25s ease; }
.why__card.is-under .badge { opacity: 0; }

/* ---------- About: photo collage — tall center photo, 4 tiles left, 3 right (each tile pre-cropped to its slot) ---------- */
.collage { display: grid; grid-template-columns: 1fr 1.56fr 1fr; grid-template-rows: repeat(12, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 12px;
  height: calc(min(var(--wrap), 100vw - 32px) * 2 / 3); }
.collage figure { margin: 0; position: relative; overflow: hidden; min-height: 0; border-radius: 16px; background: var(--bg-2); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .35); }
.collage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.collage figure:hover img { transform: scale(1.04); }
.collage__center { grid-column: 2; grid-row: 1 / span 12; }
.collage__l { grid-column: 1; grid-row: span 3; }
.collage__r { grid-column: 3; grid-row: span 4; }
.collage--8 .collage__r { grid-row: span 3; }   /* when the right side also has 4 tiles */
.collage__center::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 38%); }
.collage__name { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; }
.collage__name b { display: block; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 900; line-height: 1.1; }
.collage__name span { font-size: .95rem; color: #f1f1f1; }
.bio { max-width: 780px; margin: 0 auto; }
@media (max-width: 760px) {
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-flow: row dense; height: auto; gap: 8px; }
  .collage__center { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
  .collage__l, .collage__r { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
}

/* ---------- v3.2: legal pages, footer legal row, 404 ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .86rem; }
.footer__legal a { color: #bdbdbd; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--orange); }
.footer__legal span { color: #777; margin-left: auto; }
.legal-hero { background: var(--bg-2); padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .3em; }
.legal-hero .lead { max-width: 720px; margin: 0; }
.legal-updated { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.legal-body { padding-top: clamp(36px, 5vw, 60px); }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 8px; }
.legal a { color: var(--orange-text); font-weight: 700; }
.nf { min-height: 62vh; display: flex; align-items: center; background: var(--bg-2); }
.nf__inner { text-align: center; max-width: 760px; }
.nf h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.nf .lead { margin: 0 auto 28px; }
.nf__btns { justify-content: center; }
.nf__links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-weight: 700; }
.nf__links a { color: var(--ink); }
@media (max-width: 640px) { .footer__legal span { margin-left: 0; width: 100%; } }

/* ================= v3.3 BLOG ================= */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.bcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bcard:hover .bcard__media img { transform: scale(1.04); }
.bcard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.bcard__body h3 { margin: 0; font-size: 1.2rem; }
.bcard__body p { margin: 0; color: var(--muted); font-size: .97rem; }
.bcard__cat { font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.bcard__meta { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.bcard--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.bcard--feature .bcard__media { aspect-ratio: auto; min-height: 340px; }
.bcard--feature .bcard__body { justify-content: center; padding: 36px 40px; }
.bcard--feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.bcard[hidden] { display: none; }
.bstrip__all { text-align: center; margin: 36px 0 0; }
.bfilters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.bfilter { font: inherit; font-weight: 700; font-size: .95rem; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink-2); cursor: pointer; }
.bfilter:hover { border-color: var(--ink); }
.bfilter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.post-hero { background: var(--bg-2); padding: clamp(48px, 7vw, 88px) 0 clamp(96px, 12vw, 150px); }
.post-hero__inner { max-width: 820px; }
.post-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.post-hero__lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 22px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.post-meta b { color: var(--ink); }
.post-meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.post-cover { margin: calc(-1 * clamp(64px, 9vw, 110px)) auto 0; max-width: 1000px; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.prose { max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 96px); font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--orange-text); font-weight: 700; }
.post-note { margin: 2.2em 0 0; padding: 18px 20px; border-left: 4px solid var(--orange); background: var(--orange-soft); border-radius: 0 10px 10px 0; font-size: .95rem; line-height: 1.6; }
.post-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.post-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.post-author p { margin: 6px 0 8px; font-size: .97rem; color: var(--muted); }

@media (max-width: 920px) {
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcard--feature { grid-template-columns: 1fr; }
  .bcard--feature .bcard__media { min-height: 0; aspect-ratio: 16 / 10; }
  .bcard--feature .bcard__body { padding: 22px; }
}
@media (max-width: 620px) {
  .bgrid { grid-template-columns: 1fr; }
  .post-author { flex-direction: column; }
  .post-cover { width: calc(100% - 32px); }
}
/* v3.3: 6 menu links — keep the logo on one line */
.nav__brand span { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 921px) {
  .nav__links a { padding: 10px 10px; }
  .nav__right .btn--sm { padding-inline: 16px; }
}
.cta-short { display: none; }
@media (max-width: 1100px) and (min-width: 921px) {
  .cta-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cta-short { display: inline; }
}
