/* =========================================================
   PHONE VERSION (screens up to 600px): loaded with media="(max-width: 600px)" from layout.html, after main.css.
   Built from references/phone version (Claude Design exports, 390 x 844 artboards):
   light pages, a floating glass header, a bottom-sheet menu, pill buttons, Roboto Light titles with one italic
   Playfair accent phrase (.m-acc), a floating glass section dock. Desktop never loads this file.
   Shared parts (header, menu, form, popups, footer, dock) apply on every page; page parts are scoped per page.
   ========================================================= */
:root {
  --ph-ink: #212324; --ph-soft: #5f6467; --ph-mute: #6b7175; --ph-tile: #f4f6f8; --ph-pill: #f1f3f5;
  --ph-arrow-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ph-arrow-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230089de' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ph-glass: rgba(255, 255, 255, .74);
  --ph-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(33, 35, 36, .06), 0 8px 24px rgba(33, 35, 36, .1);
}
html { scroll-padding-top: 84px; }
main { padding-top: 80px; overflow-x: clip; } /* the header floats over the page; card rows never widen the page */

/* ---------- Header: a floating glass pill. Clear glass + white logo on a hero photo (.on-photo, main.js), white glass after ---------- */
/* (a fixed element blurs nothing for its own children here, so the glass is the header's own backdrop, and the menu sheet
   and its dimmed backdrop live at page level on phones, main.js) */
.site-header { position: fixed; top: 12px; left: 12px; right: 12px; height: 56px; border-radius: 28px; color: var(--ph-ink); transform: none !important;
  background: var(--ph-glass) !important; box-shadow: var(--ph-glass-shadow) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important; backdrop-filter: blur(22px) saturate(180%) !important;
  transition: background-color .35s, box-shadow .35s; }
.site-header.on-photo { background: rgba(255, 255, 255, .16) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .14) !important; }
.site-header__inner.container { height: 100%; max-width: none; padding: 0 6px 0 20px; justify-content: space-between; }
.site-header .site-header__mark { height: 16px; background: var(--c-blue) !important; }
.site-header.on-photo .site-header__logo .site-header__mark { background: #fff !important; }
/* burger: two thin lines in a round button */
.nav-toggle { width: 44px; height: 44px; margin: 0; border-radius: 22px; background: var(--ph-pill); color: var(--ph-ink); transition: background-color .35s, color .35s; }
.site-header.on-photo .nav-toggle { background: rgba(255, 255, 255, .18); color: #fff; }
.nav-toggle span { left: 13px; right: 13px; height: 1.6px; }
.nav-toggle span:nth-child(1) { top: 18px; } .nav-toggle span:nth-child(2) { opacity: 0; } .nav-toggle span:nth-child(3) { top: 24.5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1), .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21.2px; }
/* the page dims and blurs behind the open menu (a click there closes it, main.js) */
.nav-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(12, 14, 16, .38);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
body:has(.site-nav.is-open) .nav-scrim { opacity: 1; visibility: visible; }

/* ---------- Menu: a light glass sheet from the bottom; big light links, the current page in italic blue ---------- */
.site-nav { position: fixed; z-index: 60; top: auto; left: 8px; right: 8px; bottom: 8px; gap: 0; max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 14px 14px; border-radius: 32px; color: var(--ph-ink); background: rgba(246, 247, 248, .92);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 -10px 40px rgba(0, 0, 0, .18);
  opacity: 1; transform: translateY(calc(100% + 16px)); transition: transform .55s var(--apple), visibility .55s; }
.site-nav.is-open { transform: none; }
.site-nav::before { content: ""; flex: none; width: 36px; height: 5px; margin: 0 auto 8px; border-radius: 3px; background: rgba(33, 35, 36, .14); }
.site-nav__top { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 10px 12px; }
.site-nav__top .site-header__mark { height: 16px; background: var(--c-blue) !important; }
.site-nav__close { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .9); color: var(--ph-ink); cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.site-nav__close::before, .site-nav__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.8px; border-radius: 2px; background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg); }
.site-nav__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.site-nav ul { gap: 2px; }
.site-nav ul a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 16px 0 12px; border-radius: 18px;
  font: 300 26px/1.2 var(--f-body); letter-spacing: -.02em; text-transform: none; color: var(--ph-ink); }
.site-nav ul a::after { content: ""; display: block; position: static; flex: none; width: 7px; height: 7px; margin-right: 4px; background: none;
  border: solid rgba(33, 35, 36, .4); border-width: 1.6px 1.6px 0 0; border-radius: 0; transform: rotate(45deg); }
.site-nav ul a:hover { background: rgba(33, 35, 36, .04); }
.site-nav ul a[aria-current="page"] { background: rgba(0, 137, 222, .1); color: var(--c-blue); box-shadow: none;
  font: italic 700 29px/1.2 var(--f-display); letter-spacing: -.01em; }
.site-nav ul a[aria-current="page"]::after { width: 8px; height: 8px; margin-right: 2px; border: 0; border-radius: 50%; background: var(--c-blue); transform: none; }
.site-nav__end { flex-direction: row; align-items: center; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(33, 35, 36, .08); }
.site-nav .lang { align-self: auto; margin: 0; display: flex; gap: 0; padding: 4px; border-radius: 28px; background: rgba(33, 35, 36, .06); font: 500 15px/1 var(--f-body); letter-spacing: 0; }
.site-nav .lang span { display: none; }
.site-nav .lang a { display: grid; place-items: center; width: 54px; height: 48px; padding: 0; border-radius: 24px; opacity: 1; color: var(--ph-mute); }
.site-nav .lang a[aria-current] { background: #fff; color: var(--ph-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.site-nav .nav-cta { flex: 1; order: 0; justify-content: space-between; height: 56px; margin: 0; padding: 0 8px 0 22px; border: 0; border-radius: 28px;
  background: var(--ph-ink); color: #fff; font: 500 16px/1 var(--f-body); letter-spacing: 0; text-transform: none; }
.site-nav .nav-cta:hover { background: #000; color: #fff; }
.site-nav .nav-cta::after { content: ""; width: 40px; height: 40px; border-radius: 20px; background: var(--c-blue) var(--ph-arrow-w) center / 18px no-repeat; }

/* ---------- Contact form (page form and the #contact popup): white card, soft grey fields, blue pill button ---------- */
.form-card { width: 100%; padding: 28px 20px 24px; border-radius: 30px; background: #fff; color: var(--ph-ink);
  box-shadow: 0 0 0 1px #eceef0, 0 24px 48px rgba(33, 35, 36, .08); }
.form-card__pattern, .form-grid::before { display: none; }
.form-card__title { text-align: center; font: 700 24px/1.2 var(--f-display); }
.form-card__intro { margin: 10px 0 24px; text-align: center; font: 400 15px/1.5 var(--f-body); color: var(--ph-soft); }
.form-grid { grid-template-columns: 1fr; gap: 10px; }
.field input, .field select, .field textarea { height: 54px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--ph-tile); color: var(--ph-ink);
  font: 400 16px/1.2 var(--f-body); text-align: left; text-align-last: left; }
.field select { padding-right: 48px; }
.field ::placeholder { color: var(--ph-mute); }
.field textarea { height: 132px; padding: 16px 18px; line-height: 1.45; resize: none; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--ph-tile); box-shadow: 0 0 0 2px var(--c-blue); }
.field.is-required::after { display: none; }
.field--select::after { right: 18px; width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212324' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); }
.field.is-invalid input { box-shadow: 0 0 0 2px #e5484d; }
.field select option { background: #fff; color: var(--ph-ink); }
@supports (appearance: base-select) {
  .field select { justify-content: flex-start; }
  .field select::picker(select) { border-color: #eceef0; background: #fff; color: var(--ph-ink); box-shadow: 0 24px 60px rgba(33, 35, 36, .18); }
  .field select option { justify-content: flex-start; }
  .field select option:hover, .field select option:focus-visible { background: var(--ph-tile); }
}
.consent { gap: 12px; font: 400 13px/1.5 var(--f-body); color: var(--ph-soft); }
.consent input { width: 22px; height: 22px; margin: 0; }
.consent a { color: var(--c-blue); }
.consent.is-invalid { color: #d93036; }
.form-card .consent { margin: 18px 0 8px; }
.form-card__note { text-align: center; font-size: 13px; color: var(--ph-soft); }
.form-card__note a { color: var(--c-blue); }
.form-card__status { text-align: center; color: var(--ph-ink); }
/* the popup: a tall white sheet from the bottom */
.form-modal { top: auto; height: calc(100dvh - 24px); margin: auto 0 0; border-radius: 28px 28px 0 0; }
.form-modal .form-card { padding-top: 34px; border-radius: inherit; box-shadow: none; }
.form-modal__close { color: var(--ph-ink); }
.form-modal::backdrop { background: rgba(12, 14, 16, .38); }

/* =========================================================
   LIGHT PAGES: every page except Portfolio (which keeps its own phone layout)
   ========================================================= */
body:not(.page-portfolio) { background: #fff; color: var(--ph-ink); }
body:not(.page-portfolio)::before { display: none; }
main:has(.home-hero, .mk-hero) { padding-top: 0; } /* the photo runs under the floating header */
/* titles: Roboto Light, the accent phrase in italic Playfair on its own line (.m-acc--in: on the same line) */
body:not(.page-portfolio) main :is(.home-title, .about__title, .case__title, .section-title, .mk-intro__title, .mk-method__title, .mk-band__title) {
  font: 300 32px/1.12 var(--f-body); letter-spacing: -.03em; text-align: center; color: var(--ph-ink); }
body:not(.page-portfolio) main .section-title::after { display: none; }
body:not(.page-portfolio) main .m-acc { display: block; font: italic 700 36px/1.1 var(--f-display); letter-spacing: -.01em; }
body:not(.page-portfolio) main .m-acc--in { display: inline; font-size: 38px; line-height: 1; }
body:not(.page-portfolio) main .home-text, body:not(.page-portfolio) main :is(.method__lead, .about__lead, .case__text, .mk-intro__text, .mk-method__lead, .mk-text) {
  max-width: none; font: 400 17px/1.55 var(--f-body); color: var(--ph-soft); }
/* the corner-arc lead lines become plain centred text */
body:not(.page-portfolio) main .lead-quote { max-width: none; margin: 40px 0 0; padding: 0; font: 400 17px/1.55 var(--f-body); color: var(--ph-soft); }
body:not(.page-portfolio) main .lead-quote::before, body:not(.page-portfolio) main .lead-quote::after { display: none; }
body:not(.page-portfolio) main .lead-quote strong { color: var(--ph-ink); }

/* ---------- Pill buttons (the dark one carries a blue arrow disc) ---------- */
body:not(.page-portfolio) main .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: auto; margin-top: 28px; }
body:not(.page-portfolio) main .btn-row > .btn { width: auto; }
body:not(.page-portfolio) main .btn { height: 56px; min-width: 0; padding: 0 22px; border: 0; border-radius: 28px; font: 500 16px/1 var(--f-body); letter-spacing: 0; text-transform: none; }
body:not(.page-portfolio) main .btn--primary { gap: 14px; padding: 0 8px 0 22px; background: var(--ph-ink); color: #fff; }
body:not(.page-portfolio) main .btn--primary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 20px; background: var(--c-blue) var(--ph-arrow-w) center / 18px no-repeat; }
body:not(.page-portfolio) main .btn--primary:hover { background: #000; }
body:not(.page-portfolio) main .btn--outline { background: var(--ph-pill); color: var(--ph-ink); }
body:not(.page-portfolio) main .btn--outline:hover { background: #e6e9ec; color: var(--ph-ink); }
/* sections: one 96px rhythm, 24px side margins */
body:not(.page-portfolio) main .container { padding-inline: 24px; }
body:not(.page-portfolio) main .section { padding: 96px 0 0; }
body:not(.page-portfolio) main .section + .section { border-top: 0; }
/* the form's submit button: blue pill, white disc */
body .form-card .btn.btn--submit { width: 100%; height: 56px; margin-top: 10px; gap: 6px; padding: 0 8px 0 24px; justify-content: flex-start; border: 0; border-radius: 28px;
  background: var(--c-blue); color: #fff; font: 500 16px/1 var(--f-body); letter-spacing: 0; text-transform: none; }
body .form-card .btn.btn--submit::after { content: ""; flex: none; width: 40px; height: 40px; margin-left: auto; border-radius: 20px; background: #fff var(--ph-arrow-b) center / 18px no-repeat; }
body .form-card .btn.btn--submit:hover { background: var(--c-blue-hover); }

/* ---------- Newsletter popup: a light sheet from the bottom ---------- */
.news { width: calc(100% - 16px); max-width: none; margin: auto 8px 8px; border-radius: 32px; color: var(--ph-ink); background: rgba(246, 247, 248, .96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 -10px 40px rgba(0, 0, 0, .18); }
.news::backdrop { background: rgba(12, 14, 16, .38); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.news[open] { animation: ph-sheet .55s var(--apple); }
@keyframes ph-sheet { from { transform: translateY(105%); } }
.news__form { gap: 14px; padding: 10px 24px 16px; }
.news__form::before { content: ""; width: 36px; height: 5px; margin: 0 auto 4px; border-radius: 3px; background: rgba(33, 35, 36, .14); }
.news__icon { width: 64px; height: 64px; margin: 18px auto 2px; border-radius: 32px; background: rgba(0, 137, 222, .12); color: var(--c-blue); box-shadow: none; }
.news__title { font: 300 30px/1.15 var(--f-body); letter-spacing: -.03em; }
body .news .news__title .m-acc { display: inline; font: italic 700 34px/1 var(--f-display); letter-spacing: -.01em; color: var(--c-blue); }
.news__text { margin: 0 0 8px; font-size: 16px; line-height: 1.55; color: var(--ph-soft); }
.news .field input { height: 56px; padding: 0 22px; border: 0; border-radius: 28px; background: #fff; color: var(--ph-ink); box-shadow: inset 0 0 0 1px rgba(33, 35, 36, .08); }
.news .field input::placeholder { color: var(--ph-mute); }
.news .field input:focus { background: #fff; box-shadow: 0 0 0 2px var(--c-blue); }
body .news .btn.news__btn { justify-content: space-between; height: 56px; padding: 0 8px 0 24px; border: 0; border-radius: 28px; background: var(--c-blue); color: #fff; font: 500 16px/1 var(--f-body); }
body .news .btn.news__btn::after { content: ""; width: 40px; height: 40px; border-radius: 20px; background: #fff var(--ph-arrow-b) center / 18px no-repeat; }
.news .consent { margin-top: 4px; color: var(--ph-soft); }
.news .consent input { width: 22px; height: 22px; }
.news__status { color: var(--ph-ink); }
.news__later { color: var(--ph-soft); font: 500 15px var(--f-body); }
.news__later:hover, .news__later:focus-visible { color: var(--ph-ink); }
.news .form-modal__close { top: 18px; right: 18px; width: 40px; height: 40px; background: rgba(33, 35, 36, .06); color: var(--ph-ink); opacity: 1; }
.news .form-modal__close:hover { background: rgba(33, 35, 36, .1); }

/* ---------- Footer: dark sheet with rounded top; tagline with the italic accent, newsletter, socials, two link columns ---------- */
.site-footer { padding: 0; }
.site-footer__card { padding: 44px 24px 112px; border-radius: 32px 32px 0 0; background: var(--ph-ink); }
.site-footer__top { display: flex; flex-direction: column; gap: 36px; }
/* white logo, then the tagline in Playfair (the last word italic blue); the waves over the left half, as big as in the form */
.site-footer__logo { width: 150px; margin-bottom: 18px; }
.site-footer__tagline { font: 700 30px/1.12 var(--f-display); letter-spacing: -.01em; }
.site-footer__tagline .m-acc { font: italic 700 30px/1.12 var(--f-display); color: var(--c-blue); }
/* (the waves are a diagonal band: on the tall phone footer they cover the left half of the top block, at the form's size,
   and fade out softly downwards and towards the middle instead of ending on the band's edge) */
.site-footer__pattern { background-position: calc(var(--ps) * -.17) calc(var(--ps) * -.08); opacity: .13;
  -webkit-mask: linear-gradient(90deg, #000 65%, transparent), linear-gradient(180deg, #000 30%, transparent 56%);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, #000 65%, transparent), linear-gradient(180deg, #000 30%, transparent 56%); mask-composite: intersect; }
.site-footer__pitch { margin-top: 14px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.site-footer__news { margin-top: 20px; }
.site-footer__news .field input { height: 56px; padding: 0 20px; border: 0; border-radius: 28px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px; }
.site-footer__news .field input::placeholder { color: rgba(255, 255, 255, .6); }
.site-footer__news .field input:focus { background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 2px var(--c-blue); }
.site-footer__join { height: 56px; padding: 0 22px; border-radius: 28px; font: 500 15px/1 var(--f-body); }
.site-footer__news .consent { margin-top: 12px; gap: 12px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.site-footer__news .consent input { width: 22px; height: 22px; }
.site-footer__news .consent a { color: #fff; }
.social { margin-top: 20px; gap: 10px; }
.social a { width: 48px; border: 0; background: rgba(255, 255, 255, .08); }
.social svg { width: 22px; }
.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; overflow-wrap: anywhere; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__head { margin-bottom: 6px; font: 400 13px/1.2 var(--f-body); color: rgba(255, 255, 255, .6); }
.site-footer__cols ul { gap: 0; font-size: 16px; color: #fff; }
.site-footer__cols li > * { display: block; padding: 10px 0; }
.site-footer__cols li > span { color: rgba(255, 255, 255, .72); }
.site-footer__cols > div:last-child { grid-column: 1 / -1; } /* Contact on its own row: the e-mail address fits on one line */
.site-footer__bottom { flex-direction: column; gap: 10px; margin-top: 36px; padding-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.site-footer__policies { gap: 0 20px; } /* after the copyright, as on desktop */
.site-footer__policies a { padding: 8px 0; color: rgba(255, 255, 255, .8); }

/* ---------- Section dock: floating glass bar at the bottom, one icon per section (built by main.js from [data-dock]) ---------- */
.dock { position: fixed; z-index: 45; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; gap: 4px; padding: 6px; border-radius: 34px;
  background: var(--ph-glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(33, 35, 36, .06), 0 16px 40px rgba(12, 14, 16, .22); transform: translateX(-50%); }
.dock a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 26px; color: var(--ph-ink); transition: background-color .25s, color .25s; }
.dock a[aria-current] { background: var(--ph-ink); color: #fff; }
.dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock a:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }

/* ---------- Photo heroes (Home, Marketing, Design): full-bleed photo under a dark veil, centred text and buttons near the bottom ---------- */
:is(.home-hero, .mk-hero) { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(640px, 92svh); padding: 120px 24px 96px; }
.home-hero { background: #1c1d1e; }
.home-hero::before, .mk-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 14, 16, .52); }
.mk-hero::before { background: rgba(10, 22, 34, .5); }
.mk-hero--design::before { background: rgba(12, 14, 16, .55); }
.home-hero > * { position: relative; z-index: 2; }
/* the photo comes from the hero's <picture> (phones get the studio photo, never the desktop panorama) */
body .home-hero > .home-hero__stage { position: static; z-index: auto; } /* (a flex item with a z-index would lift the photo over the veil) */
.home-hero__stage > :not(picture) { position: relative; z-index: 2; }
.home-hero__bg { z-index: 0; object-position: 60% center; -webkit-mask: none; mask: none; }
.mk-hero__bg { object-position: 55% center; }
.mk-hero--design .mk-hero__bg { object-position: 40% center; } /* phones: the studio photo (Home's on desktop); Home shows the work wall */
:is(.home-hero__stage, .mk-hero__inner) { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 0; container-type: normal; text-align: center; color: #fff; }
:is(.home-hero__welcome, .mk-hero__eyebrow) { display: flex; align-items: center; height: 36px; padding: 0 16px; gap: 8px; border-radius: 18px; background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  font: 500 13px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: #fff; }
.mk-hero__eyebrow::after { display: none; }
.home-hero__welcome img { height: 10px; filter: brightness(0) invert(1); }
:is(.home-hero__title, .mk-hero__title) { margin-top: 26px; font: 300 36px/1.12 var(--f-body); letter-spacing: -.03em; color: #fff; }
.mk-hero--design .mk-hero__title { font-size: 38px; line-height: 1.1; }
body main :is(.home-hero__title, .mk-hero__title) .m-acc { margin-top: 4px; font-size: 40px; line-height: 1.08; }
body main .home-hero__title .m-acc { font-size: 46px; line-height: 1.05; }
body main .mk-hero--design .mk-hero__title .m-acc { font-size: 42px; line-height: 1.06; }
.home-hero__title .m-acc span { color: var(--c-blue); }
:is(.home-hero__text, .mk-hero__text) { max-width: 342px; margin-top: 18px; font: 400 16px/1.55 var(--f-body); color: rgba(255, 255, 255, .86); }
.home-hero__text { max-width: 310px; }
:is(.home-hero__text, .mk-hero__text) strong { color: #fff; }
body main :is(.home-hero__cta, .mk-hero .btn-row) { margin-top: 30px; flex-wrap: nowrap; }
body main :is(.home-hero, .mk-hero) .btn--primary { background: #fff; color: var(--ph-ink); white-space: nowrap; }
body main :is(.home-hero, .mk-hero) .btn--outline { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); white-space: nowrap; }

/* client logos on a white sheet that overlaps the photo (grey, no colour hover on touch screens) */
:is(.home-hero, .mk-hero) + .clients { z-index: 3; height: auto; margin-top: -40px; padding: 12px 0 8px; border-radius: 32px 32px 0 0; background: #fff; }
:is(.home-hero, .mk-hero) + .clients::before { content: ""; position: static; display: block; width: 36px; height: 5px; margin: 0 auto 32px; border-radius: 3px; background: #e3e5e7; }
:is(.home-hero, .mk-hero) + .clients::after { display: none; }
body:not(.page-portfolio) .clients__track { height: 30px; animation-duration: 40s; }
body:not(.page-portfolio) .clients__list { gap: 40px; padding-right: 40px; }
body:not(.page-portfolio) .clients__list img { height: calc(18px * var(--s, 1)); filter: brightness(0); opacity: .4; }
body:not(.page-portfolio) .clients__list img + img { display: none; }
/* Dr Math: the white logo turns into a dark silhouette on white; the lines-only version reads the right way round */
body:not(.page-portfolio) .clients__list img[src$="white/drmath.svg"] { content: url(../img/shared/logos/drmath-ink.svg); }

/* =========================================================
   HOME (references/phone version/Home-html.zip)
   ========================================================= */
body main :is(#method-title, #about-title) .m-acc { font-size: 34px; }

/* 02 Services: tilted cover-flow (250 x 350 cards with a glass caption), dots, the centre card's list as chips */
.page-home .home-sec { padding-top: 96px; }
#services .home-title { margin-bottom: 36px; }
.svc { --cw: 250px; }
.svc__track { height: 366px; perspective: 1100px; transform-style: preserve-3d; } /* real depth, as in .ph-flow: no layer jumps */
.svc-card { aspect-ratio: 250 / 350; display: grid; grid-template: 1fr auto / 1fr; padding: 10px; border-radius: 30px; background: #e9edf0; z-index: auto;
  box-shadow: 0 24px 48px rgba(33, 35, 36, .08);
  transform: translate3d(calc(-50% + var(--x, 0px)), -50%, calc((var(--s, 1) - 1) * 420px)) scale(var(--s)) rotateY(var(--ry, 0deg)); }
.svc-card.is-active { box-shadow: 0 24px 48px rgba(33, 35, 36, .22); }
.svc-card--blue { background: var(--c-blue); } .svc-card--dark { background: var(--ph-ink); }
.svc-card > .svc-card__bg { inset: 0; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.svc-card--photo::after { display: none; }
.svc-card > .svc-card__pattern { inset: 0; opacity: .28; } /* the brand waves (main.css crop) on the two plain cards */
.svc-card__title, .svc-card__title--fit { grid-area: 2 / 1; padding: 16px 68px 16px 18px; border-radius: 20px; background: rgba(20, 22, 24, .38);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
  font: 600 18px/1.15 var(--f-body); color: #fff; text-align: left; }
.svc-card__title::after { display: none; }
.svc-card__count { display: block; margin-top: 4px; font: 400 13px/1.2 var(--f-body); color: rgba(255, 255, 255, .82); }
/* the card's services as liquid-glass tags across the top of the card (the centre card's fade in one after another) */
.svc-card > .svc-card__list, .svc-card.is-active > .svc-card__list { position: absolute; z-index: 2; left: 12px; right: 12px; top: 12px; bottom: auto; width: auto;
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0; border-radius: 0; background: none; transform: none; clip-path: none; color: #fff; font: 500 12px/1.2 var(--f-body); }
.svc-card__list li { padding: 7px 11px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .18); text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.svc-card > .svc-card__go, .svc-card.is-active > .svc-card__go { position: relative; z-index: 3; grid-area: 2 / 1; justify-self: end; align-self: center; right: auto; bottom: auto;
  width: 44px; margin-right: 12px; background: #fff; color: var(--ph-ink); opacity: 1; transform: none; }
.svc-card:not(.is-active) > .svc-card__go { pointer-events: none; }
.svc-card__go svg { width: 42%; stroke-width: 2; }
.svc__controls { width: max-content; height: 48px; margin: 20px auto 0; padding: 0 4px; align-items: center; gap: 4px; border-radius: 24px; background: var(--ph-pill); }
.svc [data-svc-pause] { display: none; }
.svc .svc__btn { width: 40px; height: 40px; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ph-ink); }
.svc__dots { display: flex; align-items: center; gap: 6px; padding: 0 6px; }
.svc__dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: #c9ced2; transition: width .3s, background-color .3s; }
.svc__dots i.is-on { width: 18px; background: var(--c-blue); }
.svc__chips { display: none; } /* the tags now live inside the cards */
.page-home #services .home-text { margin-top: 40px; }
.page-home .home-btns { margin-top: 28px; }

/* 03 Case study: the photo as a tall rounded card with two pills on it, then the text centred */
.case { display: flex; flex-direction: column; align-items: center; padding: 0; border-radius: 0; background: none; overflow: visible; text-align: center; }
.case__pattern { display: none; }
.case__media { position: relative; width: 100%; height: 420px; aspect-ratio: auto; padding: 0; border-radius: 30px; overflow: hidden; background: #c9d3d8;
  box-shadow: 0 24px 48px rgba(33, 35, 36, .16); }
.case__photo { position: absolute; inset: 0; border-radius: 0; }
.case__meta { position: absolute; top: 14px; left: 14px; right: 14px; justify-content: flex-start; gap: 8px; margin: 0; padding: 0; }
.case__tag { height: 34px; min-width: 0; padding: 0 14px; border-radius: 17px; background: var(--c-blue); color: #fff; font: 600 13px/1 var(--f-body); }
.case__time { display: flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); color: var(--ph-ink); font: 500 13px/1 var(--f-body); }
.case__body { padding: 0; }
.case__label { margin-top: 32px; padding: 0; border: 0; font: 600 12px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--c-blue); }
body main .case__title { margin-top: 14px; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
.case__title .m-acc { margin-bottom: 4px; }
.case__title br { display: none; }
.case__text { margin-top: 16px; }
.home .case__btn { width: auto; margin-top: 28px; }

/* 04 Method: centred text, the process graph on a dark rounded panel */
.page-home .method { display: flex; flex-direction: column; align-items: center; padding-inline: 24px !important; text-align: center; }
.method__text { padding: 0; }
.home-title--left { text-align: center; }
.method__lead { margin-top: 18px; }
.method__visual { width: 100%; margin-top: 32px; padding: 28px 20px; border-radius: 30px; background: var(--ph-ink); }

/* 05 About: centred text, two grey number tiles */
.about { display: flex; flex-direction: column; align-items: center; min-height: 0; padding: 0; border-radius: 0; background: none; overflow: visible; text-align: center; }
.about__pattern { display: none; }
.about__lead { margin-top: 18px; }
.about__stats { width: 100%; margin-top: 32px; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-stat { min-height: 0; gap: 10px; padding: 28px 12px 24px; border: 0; border-radius: 26px; background: var(--ph-tile); }
.about-stat__n { font: italic 700 52px/1 var(--f-display); color: var(--c-blue); }
.about-stat__label { font: 400 14px/1.3 var(--f-body); color: var(--ph-soft); }

/* 06 Testimonials: swipe cards that snap to the centre, initials, dots */
.page-home #testimonials .container { padding-inline: 0; }
#testimonials .home-title { margin: 0 24px 32px; }
.quotes__list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px calc(50% - 150px) 24px; scrollbar-width: none; }
.quotes__list::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 300px; scroll-snap-align: center; display: grid; grid-template: 1fr auto auto / 44px 1fr; column-gap: 12px; align-items: start;
  padding: 26px 24px 24px; border-radius: 30px; background: var(--ph-tile); text-align: left; }
.quote__box { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 0; padding: 0 0 18px; border-radius: 0;
  background: none; -webkit-backdrop-filter: none; backdrop-filter: none; text-align: left; font: 400 16px/1.55 var(--f-body); color: var(--ph-ink); }
.quote__box::before, .quote__box::after { display: none; }
.quote__mark { position: static; width: 24px; transform: none; fill: var(--c-blue); }
.quote__av { display: flex; grid-area: 2 / 1 / 4 / 2; align-self: center; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px;
  background: var(--ph-ink); color: #fff; font: italic 700 18px/1 var(--f-display); }
.quote__name { grid-column: 2; align-self: end; margin: 0; padding: 0; background: none; font: 600 15px/1.3 var(--f-body); }
.quote__role { grid-column: 2; margin: 0; padding: 0; border-radius: 0; background: none; font: 400 13px/1.3 var(--f-body); color: var(--ph-soft); }
.quotes__dots { width: max-content; height: 32px; margin: 4px auto 0; padding: 0 12px; border-radius: 16px; background: var(--ph-pill); }

/* 07 Contact (every page with the form) */
body:not(.page-portfolio) main #contact { padding: 96px 0; }
body:not(.page-portfolio) main #contact :is(.home-title, .section-title) { margin-bottom: 32px; }
body main #contact-title > .m-acc:only-child { font-size: 40px; } /* Design: "Contact" alone */

/* =========================================================
   Shared phone pieces: a cover-flow card row (.ph-flow, main.js phoneFlow), its prev / dots / next bar and the chips
   ========================================================= */
.ph-bar { display: flex; align-items: center; gap: 4px; width: max-content; height: 48px; margin: 20px auto 0; padding: 0 4px; border-radius: 24px; background: var(--ph-pill); }
.ph-bar button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 20px; background: transparent; color: var(--ph-ink); cursor: pointer; }
.ph-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-bar .svc__dots i.is-on { background: var(--dot, var(--c-blue)); }
.ph-chips { display: none; } /* the tags live inside the cards */
/* the cards live in real 3D (preserve-3d): the further a card is from the centre, the deeper it sits, so a card coming
   forward slides in front of its neighbour gradually instead of jumping a layer (no z-index switch) */
.ph-flow { position: relative; display: block; height: 366px; margin: 32px -24px 0; padding: 0; perspective: 1100px; transform-style: preserve-3d; touch-action: pan-y;
  user-select: none; -webkit-user-select: none; cursor: grab; }
.ph-flow > * { position: absolute; top: 8px; left: 50%; width: 250px; height: 350px; margin-left: -125px; aspect-ratio: auto; flex: none;
  transform: translate3d(var(--x, 0), 0, calc((var(--s, 1) - 1) * 420px)) scale(var(--s, 1)) rotateY(var(--ry, 0deg)); opacity: var(--o, 1); z-index: auto; translate: none;
  transition: transform .7s cubic-bezier(.22, .8, .24, 1), opacity .5s cubic-bezier(.22, .8, .24, 1); will-change: transform; }
/* while dragging, the cards follow the finger directly; on release they glide to their place */
.ph-flow.is-dragging { cursor: grabbing; }
.ph-flow.is-dragging > * { transition: none; }
.ph-flow img, .ph-flow a { -webkit-user-drag: none; }

/* a card's details appear only once it is in front: the title, then the arrow, then the tags one after another;
   the cards on the sides show just their photo */
body main .svc-card > :is(.svc-card__title, .svc-card__go), body main .mk-card__title { opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
body main .svc-card.is-active > :is(.svc-card__title, .svc-card__go), body main .mk-card.is-cur .mk-card__title { opacity: 1; transform: none;
  transition: opacity .5s var(--card-ease) .18s, transform .6s var(--card-ease) .18s; }
body main .svc-card.is-active > .svc-card__go { transition-delay: .3s; }
body main .svc-card__list li { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
body main .svc-card.is-active .svc-card__list li { opacity: 1; transform: none; transition: opacity .5s var(--card-ease), transform .6s var(--card-ease); transition-delay: calc(.32s + var(--n, 0) * .06s); }
.svc-card__list li:nth-child(2) { --n: 1; } .svc-card__list li:nth-child(3) { --n: 2; } .svc-card__list li:nth-child(4) { --n: 3; } .svc-card__list li:nth-child(5) { --n: 4; } .svc-card__list li:nth-child(6) { --n: 5; }

/* =========================================================
   MARKETING (references/phone version/Marketing-html.zip): intro, an area switcher with one card row, method, case, contact
   ========================================================= */
.mk-sec--intro { padding-top: 72px; }
.mk-intro { display: block; min-height: 0; padding: 0; border-radius: 0; background: none; overflow: visible; text-align: center; }
.mk-intro__pattern { display: none; }
.mk-intro__text { margin-top: 18px; }
/* the three areas, one after the other */
.mk-areas { display: block; padding-top: 24px; }
.mk-area { padding-top: 72px; }
.mk-band { padding: 0 24px; }
body main .mk-band__title { font-size: 34px; line-height: 1.1; }
.mk-num { display: block; margin-bottom: 8px; font: italic 700 56px/1 var(--f-display); letter-spacing: 0; color: var(--tab); }
body main .mk-band__lead { margin-top: 14px; font: italic 500 20px/1.4 var(--f-display); color: var(--ph-ink); }
.mk-body { padding: 0 24px; text-align: center; }
.mk-cards .mk-card { flex: none; }
.mk-card__frame { padding: 0; border-radius: 30px; overflow: hidden; background: #e9edf0; box-shadow: 0 24px 48px rgba(33, 35, 36, .08); transition: box-shadow .4s; }
.mk-card.is-cur .mk-card__frame { box-shadow: 0 24px 48px rgba(33, 35, 36, .22); }
.mk-card__in { border-radius: 0; background: var(--tab); }
/* the desktop's gradients (tinted by the area colour), full card; the centre card's gradient drifts slowly */
.mk-card__art { inset: 0; top: 0; left: 0; width: 100%; height: 100%; background-size: 160% 160%; opacity: .62; transition: background-position 6s ease-in-out; }
/* a photo for each service under the gradient (set per card below; Operations & Growth and Business Transformation: Unsplash photos, img/marketing/cards-phone) */
.mk-card__in { background-size: cover; background-position: center; }
#strategy .mk-card:nth-child(1) .mk-card__in { background-image: url(../img/marketing/cards/market-intelligence-480.webp); }
#strategy .mk-card:nth-child(2) .mk-card__in { background-image: url(../img/marketing/cards/brand-strategy-480.webp); }
#strategy .mk-card:nth-child(3) .mk-card__in { background-image: url(../img/marketing/cards/growth-planning-480.webp); background-position: 31% center; } /* the stairs centred */
#growth .mk-card:nth-child(1) .mk-card__in { background-image: url(../img/marketing/cards-phone/advertising.webp); }
#growth .mk-card:nth-child(2) .mk-card__in { background-image: url(../img/marketing/cards-phone/digital-presence.webp); }
#growth .mk-card:nth-child(3) .mk-card__in { background-image: url(../img/marketing/cards-phone/audience.webp); }
#growth .mk-card:nth-child(4) .mk-card__in { background-image: url(../img/marketing/cards-phone/activation.webp); }
#transformation .mk-card:nth-child(1) .mk-card__in { background-image: url(../img/marketing/cards-phone/crm.webp); }
#transformation .mk-card:nth-child(2) .mk-card__in { background-image: url(../img/marketing/cards-phone/business-intelligence.webp); }
#transformation .mk-card:nth-child(3) .mk-card__in { background-image: url(../img/marketing/cards-phone/business-systems.webp); }
#transformation .mk-card:nth-child(4) .mk-card__in { background-image: url(../img/marketing/cards-phone/digital-platforms.webp); }
.mk-card.is-cur .mk-card__art { background-position: 100% 100%; }
/* the folder becomes a clear layer at the top of the card holding the services as liquid-glass tags;
   they fade in, one after another, on the card in front */
.mk-card__folder { z-index: 2; left: 12px; right: 12px; top: 12px; bottom: auto; height: auto; background: none; -webkit-mask: none; mask: none; }
.mk-card__folder::before, .mk-card__folder::after { display: none; }
.mk-card__list { position: static; display: flex; flex-wrap: wrap; gap: 6px; width: auto; padding: 0; color: #fff; font: 500 12px/1.2 var(--f-body); text-transform: none; }
.mk-card__list li, .mk-card__list li + li { padding: 7px 11px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .18); text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.mk-card.is-cur .mk-card__list li { opacity: 1; transform: none; transition: opacity .5s var(--card-ease), transform .6s var(--card-ease); transition-delay: calc(.25s + var(--n, 0) * .06s); }
.mk-card__list li:nth-child(2) { --n: 1; } .mk-card__list li:nth-child(3) { --n: 2; } .mk-card__list li:nth-child(4) { --n: 3; } .mk-card__list li:nth-child(5) { --n: 4; }
.mk-card__list li:not(:last-child) { border-bottom: 0; }
.mk-card__title { top: auto; left: 10px; right: 10px; bottom: 10px; display: block; padding: 16px 18px; border-radius: 20px; text-align: left; color: #fff;
  font: 600 18px/1.2 var(--f-body); background: rgba(20, 22, 24, .4); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.mk-card__title span { display: inline; padding: 0; background: none; white-space: normal; }
.mk-card__title span + span::before { content: " "; }
.mk-area .ph-bar { --dot: var(--tab); }
body main .mk-text { margin: 40px 0 0; }
body main .mk .mk-btn { margin-top: 28px; }
body main .mk-area .mk-btn::after { background-color: var(--tab); }
/* customers at the centre: centred text, the graph on a dark panel */
.mk-sec--method { padding-top: 96px; }
body main .mk-method { display: flex; flex-direction: column; align-items: center; padding: 0 24px !important; text-align: center; }
body main .mk-method__title { font-size: 30px; line-height: 1.14; }
body main .mk-method__title::after { display: none; }
body main .mk-method__title .m-acc { font-size: 32px; line-height: 1.12; }
.mk-method__lead { margin-top: 18px; }
.mk-method__graph { width: 100%; margin-top: 32px; padding: 28px 20px; border-radius: 30px; background: var(--ph-ink); }
.mk-sec--case { padding-top: 96px; }

/* =========================================================
   DESIGN (references/phone version/Design-html.zip): project pills over a 3-tile bento, the website card, the journey phases
   ========================================================= */
/* Identity & Branding: each slide = logo/visual, a dark card with the two lines, a photo; small dots under it (no project names) */
.carousel { display: flex; flex-direction: column; margin-top: 28px; }
.carousel .dots { position: static; display: flex; align-items: center; justify-content: center; gap: 0; width: max-content; height: 32px; margin: 20px auto 0; padding: 0 6px;
  border-radius: 16px; background: var(--ph-pill); }
.carousel .dots button { flex: none; display: grid; place-items: center; width: 18px; min-width: 0; height: 32px; padding: 0; border: 0; border-radius: 0; background: none; transition: width .3s; }
.carousel .dots button::before { content: ""; display: block; width: 6px; height: 6px; margin: 0; padding: 0; border-radius: 3px; background: #c9ced2; transition: width .3s, background-color .3s; }
.carousel .dots button[aria-current="true"] { width: 30px; }
.carousel .dots button[aria-current="true"]::before { width: 18px; background: var(--c-blue); }
.bento { aspect-ratio: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 250px 236px; grid-template-areas: "a a" "t e"; gap: 10px; }
.bento__b, .bento__c, .bento__d { display: none; }
.bento__e { display: block; }
.bento__a, .bento__e { aspect-ratio: auto; height: 100%; }
.bento__a { border-radius: 28px; background: var(--ph-tile); }
.bento__e { border-radius: 24px; background: var(--ph-tile); }
.bento::before { content: ""; grid-area: t; border-radius: 24px; background: var(--ph-ink); }
.bento__t1, .bento__t2 { display: flex; grid-area: t; padding: 0 16px; }
.bento__t1 { align-self: start; padding-top: 22px; }
.bento__t2 { align-self: end; justify-content: flex-start; padding-bottom: 22px; }
.bento__t1 img { width: 78%; } .bento__t2 img { width: 100%; }

/* UI/UX: a light window: address bar, the three site tabs, a tinted card for the chosen site (main.js) */
.pin-wrap:has(.safari) { height: auto !important; }
.pin-wrap:has(.safari) .pin-sticky { position: static; height: auto; min-height: 0; margin-top: 28px; }
.safari { height: auto; border-radius: 30px; overflow: hidden; background: var(--ph-tile); color: var(--ph-ink);
  box-shadow: 0 0 0 1px #eceef0, 0 24px 48px rgba(33, 35, 36, .1); --fg: var(--ph-ink); text-align: left; }
.safari__chrome { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: none !important; color: var(--ph-ink); }
.safari__lights { display: none; }
.safari__toolbar { display: block; height: auto; padding: 0; }
.safari__toolbar > .sf-address { display: flex; justify-content: flex-start; gap: 10px; height: 44px; padding: 0 6px 0 16px; border-radius: 22px; background: #fff;
  box-shadow: 0 1px 2px rgba(33, 35, 36, .06); -webkit-backdrop-filter: none; backdrop-filter: none; font: 400 15px/1 var(--f-body); }
.sf-address::before { content: ""; flex: none; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6467' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
.sf-address__url { flex: 1; }
.sf-address .sf-btn { position: static; width: 32px; transform: none; color: var(--ph-soft); }
.safari__tabs { gap: 6px; padding: 0; }
.safari__tabs button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 4px; white-space: nowrap; border-radius: 22px; color: var(--ph-ink); }
.safari__tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 8px rgba(33, 35, 36, .1); -webkit-backdrop-filter: none; backdrop-filter: none; }
.safari__tabs img { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; }
.sf-tab__name { display: inline; font: 500 14px/1 var(--f-body); letter-spacing: 0; }
/* the chosen site runs live in the window (the rebuilt site, scaled from 1920px); a finger scrolls it, a sideways swipe
   switches site; "Open the full site" floats at the bottom as a glass pill */
.safari__viewport { flex: none; height: 440px; margin: 0 12px 12px; border-radius: 20px; background: #fff; }
.safari__page { border-radius: 20px; }
.safari__sidebar, .safari__overview, .sf-switch, .safari__toast { display: none !important; }
body main .safari__open { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; height: 44px; min-height: 0; padding: 0 18px; border-radius: 22px;
  background: rgba(20, 22, 24, .5); color: #fff; -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 24px rgba(0, 0, 0, .2); font: 500 14px/1 var(--f-body); letter-spacing: 0; }

/* Your Journey: the phase bar on top, then the phases as a card row (main.js phoneFlow): each card = the large visual, whole
   (its paper edge and pins, not cropped), and the sticky note over its lower corner; no deliverables on phones */
.pin-wrap:has(.board) { height: auto !important; }
.pin-wrap:has(.board) .pin-sticky { position: static; height: auto; min-height: 0; margin-top: 28px; }
.board { display: flex; flex-direction: column; height: auto; overflow: visible; container-type: normal; border-radius: 0; background: none; box-shadow: none; }
.board__scroll, .steps__glider { display: none; }
.steps { order: -1; position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 4px; transform: none; border-radius: 26px;
  background: var(--ph-pill); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; touch-action: auto; }
.steps button, .steps button[aria-current] { height: 46px; padding: 0; border-radius: 22px; color: var(--ph-ink); font: 500 13.5px/1 var(--f-body); font-stretch: 100%; cursor: pointer; }
.steps button.is-ph-on { background: #fff; box-shadow: 0 2px 8px rgba(33, 35, 36, .12); }
.board__track { position: relative; inset: auto; overflow: visible; background: none; }
.board__track.ph-flow { height: 330px; margin: 16px -24px 0; }
.board__track.ph-flow > .step { top: 0; width: 300px; height: 330px; margin-left: -150px; }
.stage { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; }
.stage .pin { display: none; }
.stage .pin:nth-child(3) { display: flex; align-items: center; justify-content: center; left: 0; right: 0; top: 0; width: 100%; height: 270px; }
.stage .pin:nth-child(3) img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.stage .pin:nth-child(1) { display: block; z-index: 2; left: 4px; top: auto; bottom: 0; width: 42%; transform: rotate(-3deg); filter: drop-shadow(0 12px 18px rgba(33, 35, 36, .2)); }
.step .deliverables { display: none; }

/* =========================================================
   JOURNAL (references/phone version/Journal-html.zip) and the ARTICLE page (PDF): navy head with the dots, white sheet under it
   ========================================================= */
main:has(.jr-hero) { padding-top: 0; }
.jr-hero { display: flex; flex-direction: column; justify-content: flex-end; min-height: 640px; padding: 110px 24px 80px; }
.jr-hero__dots { width: 100%; opacity: .45; }
.jr-hero__dots--r { display: none; }
.jr-hero__inner { padding: 0; }
body main .jr-hero__title { font: 300 34px/1.12 var(--f-body); letter-spacing: -.03em; color: #fff; }
body main .jr-hero__title .m-acc { margin-top: 6px; font-size: 38px; }
.jr-cta { margin-top: 32px; }
body main .jr-cta .btn-row { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; width: 100%; margin-top: 0; }
body main .jr-cta .btn--primary { justify-content: space-between; padding-left: 24px; background: #fff; color: var(--ph-ink); }
body main .jr-cta .btn--outline { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
body main .jr-cta .btn--outline:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.jr-cta__notes { margin-top: 18px; gap: 0; font: 400 13px/1.6 var(--f-body); color: rgba(255, 255, 255, .78); }
/* the white sheet over the navy head */
.jr-hero + .jr-sec { position: relative; z-index: 1; margin-top: -40px; padding-top: 56px; border-radius: 32px 32px 0 0; background: #fff; }
.jr-hero + .jr-sec::before { content: ""; position: absolute; top: 12px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: #e3e5e7; }
.jr-sec { padding-top: 96px; }
body main .jr-band { padding: 0 24px; border: 0; font: 300 32px/1.12 var(--f-body); letter-spacing: -.03em; color: var(--ph-ink); }
.jr-sec > .container { margin-top: 32px; }
.jr-sec#case-studies > .container { margin-top: 24px; }
.jr-grid { gap: 12px; }
.jr-mini { flex-direction: row; gap: 14px; padding: 10px; border-radius: 26px; background: var(--ph-tile); color: var(--ph-ink); box-shadow: none; }
.jr-mini__thumb { flex: none; width: 104px; height: 128px; aspect-ratio: auto; border-radius: 18px; }
.jr-mini > :not(.jr-mini__thumb) { padding: 0; }
.jr-mini { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 10px; }
.jr-mini__thumb { grid-row: 1 / 3; }
.jr-mini__meta { flex-wrap: wrap; justify-content: flex-start; gap: 8px; padding: 6px 4px 0 0; font: 400 12px/1 var(--f-body); color: var(--ph-soft); }
.jr-mini__pill { padding: 6px 10px; border-radius: 12px; background: var(--c-blue); color: #fff; font: 600 11px/1 var(--f-body); }
.jr-mini__title { padding-right: 4px; font: 500 16px/1.35 var(--f-body); color: var(--ph-ink); }
.jr-mini__text { color: var(--ph-soft); }
/* closing call: a navy rounded card with the dots */
.jr-end { padding: 96px 24px; }
.jr-cta--light { position: relative; overflow: hidden; margin: 0; padding: 32px 22px 26px; border-radius: 30px; background: #14465f url(../img/journal/dots.png) center / cover no-repeat; color: #fff; }
.jr-cta--light .jr-cta__notes { margin-top: 18px; color: rgba(255, 255, 255, .78); }
body main .jr-cta--light .btn--outline { border: 0; color: #fff; }

/* Article head: crumbs and facts as glass pills, the label, Roboto Light title with the italic end; the photo on a white sheet */
.art-hero { min-height: 0; padding: 100px 0 0; }
.art-hero__inner { display: flex; flex-direction: column; width: auto; gap: 0; margin: 0; padding: 0 24px; text-align: left; }
.art-crumbs { gap: 8px; margin: 0; font: 400 14px/1 var(--f-body); letter-spacing: 0; }
.art-crumbs a { display: flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 18px; background: rgba(255, 255, 255, .14); color: #fff; }
.art-crumbs > span { align-self: center; }
.art-hero .case__label { margin-top: 30px; color: #7cc4f0; }
body main .art-hero__title { margin-top: 14px; max-width: none; font: 300 30px/1.22 var(--f-body); letter-spacing: -.02em; text-align: left; color: #fff; }
body main .art-hero__title .m-acc { font-size: 32px; line-height: 1.1; }
.art-hero__meta { gap: 8px; margin-top: 22px; }
.art-hero__meta span { display: flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 17px; background: rgba(255, 255, 255, .14); font-size: 13px; color: #fff; }
.art-hero__meta span + span::before { display: none; }
.art-hero__photo { width: 100%; margin-top: 64px; }
.art-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 444px; border-radius: 32px 32px 0 0; background: #fff; }
.art-hero__inner { position: relative; z-index: 1; }
.art-body { width: auto; margin: 0 24px; padding-top: 32px; font-size: 17px; line-height: 1.7; }
.art-body h2 { font-size: 26px; }
.art-cta { margin: 32px 0; border-radius: 20px; }
.art-next { width: auto; margin: 72px 24px 0; }
.art-next__title { border-bottom: 0; font: 300 32px/1.12 var(--f-body); letter-spacing: -.03em; text-align: center; }
.art-end { padding-top: 72px; }
/* contents bar (main.js): what you are reading, with a progress ring; "Contents" opens the list of sections */
.toc { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 6px 0 14px;
  border-radius: 30px; background: var(--ph-glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(33, 35, 36, .06), 0 16px 40px rgba(12, 14, 16, .22);
  transform: translateY(140%); transition: transform .5s var(--apple); }
.toc.is-on { transform: none; }
.toc__ring { flex: none; width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(var(--c-blue) calc(var(--p, 0) * 1turn), #e3e7ea 0); -webkit-mask: radial-gradient(circle, transparent 10px, #000 11px); mask: radial-gradient(circle, transparent 10px, #000 11px); }
.toc__now { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 15px/1.2 var(--f-body); color: var(--ph-ink); }
.toc__btn { flex: none; height: 48px; padding: 0 20px; border: 0; border-radius: 24px; background: var(--ph-ink); color: #fff; font: 500 15px/1 var(--f-body); cursor: pointer; }
.toc-sheet { width: calc(100% - 16px); max-width: none; max-height: 75dvh; margin: auto 8px 8px; padding: 10px 14px 16px; border: 0; border-radius: 32px; color: var(--ph-ink);
  background: rgba(246, 247, 248, .97); box-shadow: 0 -10px 40px rgba(0, 0, 0, .18); }
.toc-sheet::backdrop { background: rgba(12, 14, 16, .38); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.toc-sheet[open] { animation: ph-sheet .55s var(--apple); }
.toc-sheet::before { content: ""; display: block; width: 36px; height: 5px; margin: 0 auto 10px; border-radius: 3px; background: rgba(33, 35, 36, .14); }
.toc-sheet p { padding: 6px 12px 10px; font: 600 12px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--c-blue); }
.toc-sheet ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc-sheet a { display: flex; gap: 12px; padding: 14px 12px; border-radius: 18px; color: var(--ph-ink); text-decoration: none; font: 400 16px/1.35 var(--f-body); counter-increment: toc; }
.toc-sheet a::before { content: counter(toc, decimal-leading-zero); flex: none; font: italic 700 16px/1.35 var(--f-display); color: var(--c-blue); }
.toc-sheet a[aria-current] { background: rgba(0, 137, 222, .1); }

/* Author form ("New article"): floating title bar, soft grey fields, a pill toolbar, the big blue send button */
.writer { width: 100%; height: 100dvh; border-radius: 0; background: #fff; }
.writer__bar { margin: 12px 12px 0; padding: 8px 6px 8px 20px; border: 0; border-radius: 28px; background: var(--ph-glass); box-shadow: var(--ph-glass-shadow); }
.writer__name { display: flex; flex-direction: column; gap: 3px; font: 600 15px/1.2 var(--f-body); }
.writer__name span { display: block; margin: 0; padding: 0; border: 0; font: 400 12px/1.2 var(--f-body); color: var(--ph-soft); }
.writer__close { width: 44px; height: 44px; background: var(--ph-pill); }
.writer__page { width: auto; margin: 0 20px; padding-top: 22px; }
.writer__notice { padding: 14px 16px; border-radius: 20px; background: #e9f3fb; color: #14465f; font: 400 14px/1.55 var(--f-body); }
.writer__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.writer__meta input, .writer__meta select { height: 52px; padding: 0 16px; border: 0; border-radius: 16px; background-color: var(--ph-tile); font: 400 16px var(--f-body); color: var(--ph-ink); }
.writer__meta select { background-position: right 16px center; }
.writer__meta input:focus, .writer__meta select:focus { box-shadow: 0 0 0 2px var(--c-blue); }
.writer__meta .is-invalid { box-shadow: 0 0 0 2px #e5484d; }
.writer__title { font: italic 700 30px/1.15 var(--f-display); }
.writer__tools { flex-wrap: nowrap; gap: 0; margin: 22px 0 0; padding: 4px; overflow-x: auto; border: 0; border-radius: 26px; background: #fff; scrollbar-width: none;
  box-shadow: 0 0 0 1px #eceef0, 0 8px 20px rgba(33, 35, 36, .06); }
.writer__tools::-webkit-scrollbar { display: none; }
/* with text selected, the bar floats just above it (main.js): a white glass pill with a soft shadow */
.writer__tools.is-float { position: fixed; z-index: 20; margin: 0; max-width: calc(100vw - 16px); background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 0 0 1px #e3e6e8, 0 14px 34px rgba(33, 35, 36, .18); animation: tools-pop .22s cubic-bezier(.22, .8, .24, 1); }
@keyframes tools-pop { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.writer__group { flex: none; }
.writer__group + .writer__group { margin-left: 6px; padding-left: 6px; }
.writer__group--end { margin-left: 6px; }
.writer__tools button { min-width: 40px; height: 40px; border-radius: 20px; font: 600 14px/1 var(--f-body); }
.writer__editor { min-height: 40vh; font-size: 17px; }
.writer__foot { gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: #fff; }
.writer__check { font: 400 13px/1.5 var(--f-body); color: var(--ph-soft); }
.writer__check input { width: 22px; height: 22px; margin: 0; }
body .writer .btn.writer__submit { width: 100%; height: 56px; justify-content: space-between; padding: 0 8px 0 24px; border: 0; border-radius: 28px; background: var(--c-blue); color: #fff;
  font: 500 16px/1 var(--f-body); letter-spacing: 0; text-transform: none; }
body .writer .btn.writer__submit::after { content: ""; width: 40px; height: 40px; border-radius: 20px; background: #fff var(--ph-arrow-b) center / 18px no-repeat; }
.writer__send { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
.writer__editor.is-empty::before { left: 0; right: 0; max-width: none; }
.writer .writer__title { font-size: 30px !important; }

/* =========================================================
   ACADEMY (references/phone version/Academy + waitlist-html.zip): one screen, an Unsplash photo under a blue veil,
   the "Opens soon" pill, the lockup, the line of text and a white pill; the waitlist opens as a light sheet
   ========================================================= */
body.page-academy { background: #0b2a3d; }
main:has(.ac) { padding-top: 0; }
/* the Unsplash photo (Walls.io, "How-to / Social media marketing" sticky notes; Unsplash License) under a deep blue veil, everything centred */
.ac { position: relative; overflow: hidden; place-items: center; align-content: center; min-height: 100svh; padding: 112px 24px 96px; text-align: center; color: #fff;
  background: #0b2a3d url(../img/academy/phone-bg-960.webp) 30% center / cover no-repeat;
  background-image: image-set(url(../img/academy/phone-bg-960.webp) 1x, url(../img/academy/phone-bg-1440.webp) 2x); }
.ac::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 30, 48, .62) 0%, rgba(0, 72, 120, .72) 45%, rgba(4, 24, 40, .9) 100%); }
.ac__center { position: relative; justify-items: center; gap: 0; max-width: 342px; }
.ac__logo img { width: 250px; filter: brightness(1.5); }
.ac-soon { order: -1; gap: 8px; height: 32px; margin-bottom: 36px; padding: 0 12px 0 10px; border-radius: 16px; background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.ac-soon::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: #fff; animation: ph-pulse 2s infinite; }
@keyframes ph-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.ac-soon__line { display: none; }
.ac-soon__text { margin: 0; font: 600 11px/1 var(--f-ui); letter-spacing: .18em; color: #fff; background: none; -webkit-text-fill-color: #fff; animation: none; }
.ac-soon__text::after { display: none; }
.ac__text { margin-top: 32px; max-width: none; font: 400 18px/1.6 var(--f-body); color: rgba(255, 255, 255, .92); }
body main .ac .btn.ac__cta { margin-top: 32px; background: #fff; color: var(--ph-ink); }
body main .ac .btn.ac__cta:hover { background: #f1f3f5; }
/* the waitlist sheet */
.ac-modal .form-card { background: #fff; }
.ac-form__title { text-align: center; font: 300 32px/1.1 var(--f-body); letter-spacing: -.03em; color: var(--ph-ink); }
body main .ac-form__title .m-acc { font-size: 36px; color: var(--c-blue); }
.ac-form__intro { margin: 10px 0 24px; text-align: center; font: 400 15px/1.5 var(--f-body); color: var(--ph-soft); }
.ac-form__label { padding: 8px 4px 2px; font: 400 14px/1.4 var(--f-body); color: #3b4043; }
.ac-modal .ac-form__ask textarea { height: 120px; min-height: 120px; padding: 16px 20px; border-radius: 22px; }

/* =========================================================
   LEGAL PAGES (references/phone version: Legal notice, Privacy Policy, Terms & Conditions) and the 404 (PDF)
   ========================================================= */
.legal { width: auto; margin: 0; padding: 16px 24px 72px; font: 400 16px/1.7 var(--f-body); color: #3b4043; }
/* the three legal pages as pills (main.js, from the footer links) */
.legal-nav { display: flex; gap: 8px; margin: 0 -24px; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.legal-nav::-webkit-scrollbar { display: none; }
.legal-nav::after { content: ""; flex: 0 0 16px; }
.legal-nav a { flex: none; display: flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 20px; background: var(--ph-pill); color: var(--ph-ink);
  text-decoration: none; font: 500 14px/1 var(--f-body); }
.legal-nav a[aria-current] { background: var(--ph-ink); color: #fff; }
.legal__kicker { margin-top: 40px; font: 600 12px/1 var(--f-ui); letter-spacing: .16em; color: var(--c-blue); }
body main .legal__title { margin-top: 12px; font: 300 40px/1.05 var(--f-body); letter-spacing: -.035em; color: var(--ph-ink); }
body main .legal__title .m-acc { font-size: 44px; }
.legal__date { display: inline-flex; margin: 16px 0 8px; padding: 8px 12px; border-radius: 14px; background: var(--ph-pill); font-size: 13px; color: var(--ph-soft); }
.legal h2 { margin: 48px 0 14px; font: 500 21px/1.3 var(--f-body); letter-spacing: -.015em; color: var(--ph-ink); }
.legal h3 { margin: 28px 0 8px; font: 600 17px/1.4 var(--f-body); color: var(--ph-ink); }
.legal strong { color: var(--ph-ink); }
.legal a { color: var(--c-blue); }
.legal code { background: var(--ph-pill); }
.legal__list { display: block; margin: 0 0 16px; border-radius: 20px; overflow: hidden; background: var(--ph-tile); }
.legal__list dt { padding: 14px 18px 0; font-size: 13px; line-height: 1.4; color: var(--ph-soft); }
.legal__list dt:not(:first-child) { margin-top: 0; border-top: 1px solid #e6e9ec; }
.legal__list dd { margin: 0; padding: 3px 18px 14px; font-size: 16px; line-height: 1.45; color: var(--ph-ink); }
.legal__links { border-top-color: #e6e9ec; }

/* 404: the Home photo full screen, an outlined 404, Roboto Light title with the italic end, pills, the French line on glass */
main:has(.nf) { padding-top: 0; }
.nf { position: relative; min-height: 100svh; padding: 120px 0 80px; color: #fff;
  background: #1c1d1e url(../img/home/brand-identity-card-960.webp) 40% center / cover no-repeat; }
.nf::before { content: ""; position: absolute; inset: 0; background: rgba(12, 14, 16, .55); }
.nf__inner { position: relative; }
.nf__code { font: italic 400 120px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px #fff; letter-spacing: .02em; }
body main .nf__title { margin-top: 12px; font: 300 32px/1.12 var(--f-body); letter-spacing: -.03em; color: #fff; }
body main .nf__title .m-acc { font-size: 34px; }
.nf__text { margin: 16px 0 0; font-size: 16px; color: rgba(255, 255, 255, .86); }
body main .nf .btn--primary { background: #fff; color: var(--ph-ink); }
body main .nf .btn--outline { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nf__fr { margin-top: 40px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.nf__fr a { color: #fff; }

/* =========================================================
   PORTFOLIO: keeps its own dark phone layout (the user's choice); only the shared pieces follow the new look:
   pill buttons (glass on the dark page) and a footer that stands apart from the page colour
   ========================================================= */
.page-portfolio main .btn { height: 52px; min-width: 0; padding: 0 22px; border: 0; border-radius: 26px; font: 500 15px/1 var(--f-body); letter-spacing: 0; text-transform: none; }
.page-portfolio main .btn--outline { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.page-portfolio main .btn--outline:hover { background: #fff; color: var(--ph-ink); }
.page-portfolio main .btn--primary { gap: 14px; padding: 0 6px 0 22px; background: var(--c-blue); color: #fff; }
.page-portfolio main .btn--primary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 20px; background: #fff var(--ph-arrow-b) center / 18px no-repeat; }
.page-portfolio .site-footer__card { background: #121314; }
.page-portfolio main #contact { padding-bottom: 72px; }
/* project cards: the brand waves large, sweeping across the bottom-right corner on a diagonal */
.page-portfolio .project__pattern { background-size: 200cqw auto; background-position: -34cqw 29cqw; transform: scaleX(-1); opacity: .16; }
