/* Hallmark · shape: Portfolio (the work first: the agency's projects, then what it does) · genre: atmospheric · theme: Midnight (deal 1/3, seed martin-niuman-social-media-2236·e330bef8·2026-11-16·r0) · job: hire · draw: 6f8ee3 · brand: Martin Niuman (spec 2026-11-16)
 * hero: Wordmark (the logo across the container, flying into the bar on the way down) with a staggered headline, after 22grados.com, set smaller · nav: banner over a retracting bar · footer: index columns · imagery: the agency's own work, one cover per project · signature: the logo that shrinks into its place in the bar, and the projects as a mosaic of wide and narrow tiles
 * axes: dark/grotesk-sans/neutral · posture: restrained · palette: black and white, orange only in small details (by the owner's request, over Midnight's blue) · contrast: pass · fold: pass · v2.1.0
 * revision 2: the owner asked for 22grados' header and its way of showing projects, more contained; no client list or client logos anywhere; every text and project editable as blocks */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the projects carry the proof and their texts are the owner's to finish */
/* Hallmark · photographs keep their own colour: every cover is work the agency delivered, shown as delivered */
/* Hallmark · waive 49b · the address link C. Delineante, 22, 35219 Telde is a real street address, two lines at most on a phone · breaking after Delineante, 22 keeps the street apart from 35219 Telde, the way the address is written */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --banner-h: 36px;
  --bar-h: 72px;
  --masthead-h: calc(var(--banner-h) + var(--bar-h));
  --mark-w: 128px;
  --fig-l: clamp(3rem, 5.5vw, 5.25rem);
  --tile-h: clamp(15rem, 30vw, 28rem);
}

html { scroll-padding-top: calc(var(--bar-h) + var(--space-lg)); }

/* type voice */
h1, h2 { font-stretch: var(--display-stretch); line-height: 1.04; }
h3 { font-weight: 500; }
.lead { color: var(--color-ink-2); }
.sx-accent { background: none; color: var(--color-accent); }

/* controls */
.btn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: var(--radius-pill); background: none; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); }
.btn--secondary { border-color: var(--color-rule-2); }
.btn--secondary:hover { background: var(--color-paper-2); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* masthead: a banner over a bar; the banner tucks away on the way down */
.masthead { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); transition: transform var(--dur-short) var(--ease-out); }
.masthead.is-tucked { transform: translateY(calc(-1 * var(--banner-h))); }
@media (prefers-reduced-motion: reduce) { .masthead { transition: none; } }
.banner { height: var(--banner-h); background: var(--color-paper-2); font-size: var(--text-sm); color: var(--color-ink-2); }
.groupbar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); height: 100%; }
.groupbar__links { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.groupbar__in a { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 40rem) { .groupbar__in { justify-content: flex-start; gap: var(--space-md); overflow-x: auto; scrollbar-width: none; } .groupbar__in::-webkit-scrollbar { display: none; } .groupbar__links { gap: var(--space-md); } }
.banner a { color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.banner a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; }
.banner a:active { color: var(--color-muted); }
.banner a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.has-admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .has-admin-bar .masthead { top: 46px; } }
.bar { height: var(--bar-h); border-bottom: var(--rule-hair) solid var(--color-rule); }
.bar__in { display: flex; align-items: center; gap: var(--space-xl); height: 100%; }

/* the wordmark: a fixed slot in the bar; on a page that opens with the big logo, the logo flies from the hero into it */
.wordmark { position: relative; display: block; flex-shrink: 0; width: var(--mark-w); color: var(--color-ink); }
.wordmark__svg { display: block; width: 100%; height: auto; color: inherit; transform-origin: 0 0; }
.wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
.mega-fly .bar .wordmark { aspect-ratio: 3532 / 616; }
.mega-fly .bar .wordmark__svg { position: absolute; top: 0; left: 0; width: var(--mega-w, 100%); max-width: none; transform: translate(var(--mega-x, 0), var(--mega-y, 0)) scale(var(--mega-s, 1)); }
.mega-fly .mhero__mark svg { visibility: hidden; }
.mega-static:not(.mega-out) .bar .wordmark { visibility: hidden; }

.bar__links { display: flex; gap: var(--space-lg); margin: 0 0 0 auto; padding: 0; list-style: none; }
.bar__links a, .menu a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); font-weight: 500; transition: color var(--dur-short) var(--ease-out); }
.bar__links a:hover, .menu a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.bar__links a:active, .menu a:active { color: var(--color-muted); }
.bar__links a[aria-current="page"], .menu a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.bar__cta { min-height: 44px; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); cursor: pointer; list-style: none; font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--color-paper-2); }
.menu summary:active { background: var(--color-paper-3); }
.menu summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.menu ul { position: absolute; right: 0; top: calc(100% + var(--space-xs)); z-index: var(--z-dropdown); display: grid; gap: var(--space-2xs); min-width: 14rem; margin: 0; padding: var(--space-md); list-style: none; background: var(--color-paper-3); box-shadow: var(--shadow-card); }
.menu a { font-size: var(--text-md); }

/* hero: the wordmark across the container, then the headline in stepped lines */
.mhero__in { display: grid; padding-block: var(--space-xl) var(--space-3xl); }
.mhero__mark { width: 100%; color: var(--color-ink); }
.mhero__logo { display: block; width: 100%; height: auto; }
.mhero__title { margin-top: var(--space-2xl); max-width: none; font-size: var(--text-display); line-height: 1.02; text-wrap: initial; }
.mhero__mark + .mhero__title { margin-top: var(--space-2xl); }
.mhero__line { display: block; }
.mhero__line--2 { padding-left: calc((100% + var(--gap-columns)) / 12); }
.mhero__line--3 { padding-left: calc((100% + var(--gap-columns)) / 12 * 2); }
.mhero__line--4 { padding-left: calc((100% + var(--gap-columns)) / 12 * 3); }
.mhero__title--edit { text-wrap: initial; }
.js .mhero__title .w { display: inline-block; animation: word-in 0.9s var(--ease-out) both; animation-delay: calc(0.12s + var(--i) * 0.07s); }
@keyframes word-in { from { opacity: 0; transform: translateX(-0.4em); } }
@media (prefers-reduced-motion: reduce) { .js .mhero__title .w { animation: none; } }
.mhero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg) var(--space-xl); margin-top: var(--space-2xl); padding-left: calc((100% + var(--gap-columns)) / 12 * 2); }
.mhero__lead { display: flex; align-items: center; gap: var(--space-sm); max-width: 38ch; font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); }
.mhero__lead::before { content: ""; width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--color-accent); }

/* the projects: a mosaic of a wide tile and a narrow one, then three equal */
.work { padding-top: var(--section-gap-s); }
.sec-label { max-width: none; margin-bottom: var(--space-xl); font-family: var(--font-body); font-stretch: 100%; font-weight: 500; font-size: var(--text-lg); letter-spacing: 0; color: var(--color-muted); }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.tile--12 { grid-column: span 12; }
.tile--8 { grid-column: span 8; }
.tile--6 { grid-column: span 6; }
.tile--4 { grid-column: span 4; }
.tile--12 .tile__media { height: calc(var(--tile-h) * 1.15); }
.tile__link, .pcard__link { display: grid; gap: var(--space-md); color: var(--color-ink); text-decoration: none; }
.tile__media, .pcard__media { position: relative; display: block; height: var(--tile-h); overflow: hidden; background: var(--color-paper-2); color: var(--color-ink); }
.pcard__media { height: auto; aspect-ratio: 4 / 3; }
.tile__img, .tile__video, .pcard__img, .pcard__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.tile__video, .pcard__video { opacity: 0; }
.is-playing > .tile__video, .is-playing > .pcard__video { opacity: 1; }
.tile__text, .pcard__text { display: grid; gap: var(--space-2xs); }
.tile__client, .pcard__client { font-size: var(--text-sm); color: var(--color-muted); }
.tile__title, .pcard__title { max-width: 44ch; font-size: var(--text-lg); line-height: 1.3; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.tile__link:hover .tile__title, .pcard__link:hover .pcard__title { text-decoration-color: var(--color-accent); }
.tile__link:active .tile__title, .pcard__link:active .pcard__title { color: var(--color-ink-2); }
.tile__link:focus-visible, .pcard__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
.work__more { margin-top: var(--space-2xl); }
@media (prefers-reduced-motion: reduce) { .tile__img, .pcard__img, .tile__title, .pcard__title { transition: none; } }

/* the "Ver" disc that follows the pointer over a project */
.ver { position: fixed; top: 0; left: 0; z-index: var(--z-tooltip); display: flex; align-items: center; justify-content: center; gap: var(--space-xs); width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: var(--color-ink); color: var(--color-paper); font: 500 var(--text-sm)/1 var(--font-body); pointer-events: none; opacity: 0; scale: 0.5; transition: opacity var(--dur-short) var(--ease-out), scale var(--dur-short) var(--ease-out); }
.ver::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.ver.is-on { opacity: 1; scale: 1; }
.has-ver [data-ver] { cursor: none; }
@media (prefers-reduced-motion: reduce) { .ver { transition: opacity var(--dur-short) linear; scale: 1; } }

/* all in one, set as the statement */
.allinone { padding-top: var(--section-gap); }
.allinone__in { display: grid; gap: var(--space-xl); }
.allinone__title { max-width: 24ch; font-size: var(--text-display-s); }
.allinone__text { max-width: 48ch; font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); }

/* services as rows */
.services { padding-top: var(--section-gap-l); }
.services__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.services__head { grid-column: 1 / span 4; }
.services__head .lead { margin-top: var(--space-lg); }
.rows { grid-column: 6 / span 7; margin: 0; padding: 0; list-style: none; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.rows li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows h3 { font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: var(--text-2xl); }
.rows p { color: var(--color-ink-2); }
.rows--detail li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); padding-block: var(--space-2xl); }
.rows--detail p { max-width: 52ch; }
.svc__link { display: inline-flex; align-items: baseline; gap: 0.25em; color: var(--color-ink); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 0.15em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.svc__link:hover { text-decoration-color: var(--color-accent); }
.svc__link:active { color: var(--color-ink-2); }
.svc__arrow { width: 0.7em; height: 0.7em; flex-shrink: 0; color: var(--color-accent); }

/* contact */
.contact { padding-block: var(--section-gap-l) var(--section-gap); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.contact__head { grid-column: 1 / span 5; }
.contact__head .lead { margin-top: var(--space-lg); }
.contact__action { margin-top: var(--space-xl); }
.contact__rows { grid-column: 7 / span 6; margin: 0; }
.contact__rows div { padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.contact__rows div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.contact__rows dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.contact__rows dd { margin: var(--space-xs) 0 0; font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: var(--text-2xl); letter-spacing: var(--tracking-display); overflow-wrap: break-word; min-width: 0; }
.contact__rows a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); transition: text-decoration-color var(--dur-short) var(--ease-out); }
.contact__rows a:hover { text-decoration-color: var(--color-accent); }
.contact__rows a:active { color: var(--color-ink-2); }

/* an inner page's head */
.phead__in { display: grid; gap: var(--space-lg); padding-block: var(--space-3xl) var(--space-2xl); }
.phead h1 { font-size: var(--text-display-s); max-width: 20ch; }
.phead .lead { max-width: 46ch; }

/* every project, with its filters */
.pindex { padding-bottom: var(--section-gap); }
.pfilter { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-md) var(--space-xl); margin-bottom: var(--space-2xl); padding-block: var(--space-lg); border-block: var(--rule-hair) solid var(--color-rule); }
.pfilter__field { display: grid; gap: var(--space-xs); min-width: min(16rem, 100%); }
.pfilter__label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.pfilter select { min-height: 48px; padding: 0 var(--space-2xl) 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23d9d6d0' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; color: var(--color-ink); appearance: none; cursor: pointer; }
.pfilter select:hover { border-color: var(--color-ink-2); }
.pfilter select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.js .pfilter__go { display: none; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.pindex__none { padding-block: var(--space-xl); color: var(--color-ink-2); }

/* a closing band */
.cta { padding-block: var(--section-gap-s); background: var(--color-paper-2); color: var(--color-ink); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xl); }
.cta h2 { font-size: var(--text-section); max-width: 22ch; }

/* a project: its head, its cover, what was done, then the case */
.case-head__in { display: grid; gap: var(--space-sm); padding-block: var(--space-2xl) var(--space-xl); }
.case-head__crumb a { font-size: var(--text-sm); color: var(--color-muted); text-decoration-color: var(--color-rule-2); }
.case-head__crumb a:hover { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.case-head__client { margin-top: var(--space-lg); color: var(--color-muted); }
.case-head__title { font-size: var(--text-display-s); max-width: 22ch; }
.case-head__lead { margin-top: var(--space-sm); max-width: 52ch; }
.case-cover { margin: 0; }
.case-cover__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-paper-2); }
.case-cover__media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.case-facts__list { display: flex; flex-wrap: wrap; gap: var(--space-lg) var(--space-3xl); margin: 0; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.case-facts dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.case-facts dd { margin: var(--space-2xs) 0 0; }
.case-body { padding-bottom: var(--section-gap-s); }
.cs { padding-top: var(--space-3xl); }
.cs__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.cs__label { grid-column: 1 / span 3; max-width: none; padding-top: 0.3em; font-family: var(--font-body); font-stretch: 100%; font-weight: 500; font-size: var(--text-md); letter-spacing: 0; color: var(--color-muted); }
.cs__body { grid-column: 5 / span 7; display: grid; gap: var(--space-md); font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); }
.cs__body > * { margin: 0; max-width: 60ch; }
.cs__body h3 { color: var(--color-ink); font-size: var(--text-xl); }
.cs__body ul, .cs__body ol { padding-left: 1.1em; display: grid; gap: var(--space-xs); }
.cs__body li::marker { color: var(--color-accent); }
.cs__body a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); }
.cs__body a:hover { text-decoration-color: var(--color-accent); }
.cs__body blockquote { margin: 0; padding-left: var(--space-lg); border-left: 2px solid var(--color-accent); color: var(--color-ink); }
.cs__body .wp-block-embed { max-width: none; margin: 0; }
.cs__body .wp-block-embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.mpair, .mwide { margin: var(--space-3xl) 0 0; }
.mpair__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.mpair__item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-paper-2); }
.mpair--landscape .mpair__item { aspect-ratio: 4 / 3; }
.mpair--square .mpair__item { aspect-ratio: 1; }
.mpair__media, .mwide--wide .mwide__media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.mwide__frame { position: relative; overflow: hidden; background: var(--color-paper-2); }
.mwide--wide .mwide__frame { aspect-ratio: 16 / 9; }
.mwide--natural .mwide__media { width: 100%; height: auto; }
.cap { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.cfig-wrap { padding-top: var(--space-2xl); }
.cfig { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; }
.cfig > div { grid-column: span 3; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); }
.cfig > div:first-child { grid-column: 5 / span 3; }
.cfig dt { font-size: var(--text-sm); color: var(--color-muted); }
.cfig dd { margin: var(--space-xs) 0 0; font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: var(--fig-l); letter-spacing: -0.03em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.case-nav { border-top: var(--rule-hair) solid var(--color-rule); }
.case-nav__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-nav__link { display: grid; gap: var(--space-xs); padding-block: var(--space-2xl); color: var(--color-ink); text-decoration: none; }
.case-nav__link--next { padding-left: var(--gap-columns); border-left: var(--rule-hair) solid var(--color-rule); text-align: right; }
.case-nav__dir { font-size: var(--text-sm); color: var(--color-muted); }
.case-nav__title { font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: var(--text-xl); line-height: 1.15; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.15em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.case-nav__link:hover .case-nav__title { text-decoration-color: var(--color-accent); }
.case-nav__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }

/* a loop's pause control */
.loop-toggle { position: absolute; right: var(--space-md); bottom: var(--space-md); z-index: var(--z-raised); min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.loop-toggle:hover { background: var(--color-paper-3); }
.loop-toggle:active { background: var(--color-paper-2); }
.loop-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; box-shadow: 0 0 0 4px var(--color-paper); }
html:not(.js) .loop-toggle { display: none; }

/* footer */
.foot { padding-top: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.wordmark--foot { width: 220px; }
.foot__col h3 { font-family: var(--font-body); font-stretch: normal; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--color-muted); }
.foot__col ul { margin: var(--space-md) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.foot__col p { margin-top: var(--space-md); color: var(--color-ink-2); }
.foot__col a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); }
.foot__col a:hover { text-decoration-color: var(--color-accent); }
.foot__col a:active { color: var(--color-ink-2); }
.seiser-mark { display: block; width: 94px; height: auto; margin-top: var(--space-lg); opacity: 0.85; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-3xl); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.foot__legal-links { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.foot__legal a { color: var(--color-ink-2); text-decoration-color: var(--color-rule-2); }
.foot__legal a:hover { text-decoration-color: var(--color-accent); }
.foot__legal a:active { color: var(--color-muted); }

/* under 60rem every composition stacks in reading order */
@media (max-width: 60rem) {
  :root { --tile-h: clamp(14rem, 44vw, 22rem); }
  .bar__links { display: none; }
  .menu { display: block; }
  .bar__in { gap: var(--space-md); }
  .mhero__in { padding-block: var(--space-lg) var(--space-2xl); }
  .mhero__line--2 { padding-left: 0.8em; }
  .mhero__line--3 { padding-left: 1.6em; }
  .mhero__line--4 { padding-left: 2.4em; }
  .mhero__foot { padding-left: 0; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
  .tile--12, .tile--8 { grid-column: 1 / -1; }
  .tile--6, .tile--4 { grid-column: span 1; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services__grid, .contact__grid, .cs__in { grid-template-columns: minmax(0, 1fr); }
  .services__head, .rows, .contact__head, .contact__rows, .cs__label, .cs__body { grid-column: 1 / -1; }
  .cs__label { padding-top: 0; }
  .rows li, .rows--detail li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-lg); }
  .cfig { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfig > div, .cfig > div:first-child { grid-column: span 1; }
  .contact__rows dd { font-size: var(--text-xl); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .bar__cta { display: none; }
  .mosaic, .pgrid { grid-template-columns: minmax(0, 1fr); }
  .tile--6, .tile--4 { grid-column: 1 / -1; }
  .tile__media, .tile--12 .tile__media { height: auto; aspect-ratio: 4 / 3; }
  .mpair__in { gap: var(--space-sm); }
  .cs { padding-top: var(--space-2xl); }
  .mpair, .mwide { margin-top: var(--space-2xl); }
  .case-head__in { padding-block: var(--space-xl) var(--space-lg); }
  .case-nav__in { grid-template-columns: minmax(0, 1fr); }
  .case-nav__link--next { padding-left: 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); text-align: left; }
  .cta__in { align-items: flex-start; flex-direction: column; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .wordmark--foot { width: 180px; }
}
