/* Hallmark · shape: Split Studio (the group, then its two companies side by side in turn) · genre: atmospheric · theme: Midnight, deal: manual (the group page shares Martin Niuman's system so the family reads as one) · job: visit (choose a company), close on contact · brand: Seiser (spec 2026-11-16)
 * hero: Corridor, left-set (the line, its lede and the two companies as its links) · nav: edge-aligned, the two companies as its links · footer: colophon block · imagery: the companies' own work, one loop and one photograph, natural colour · signature: the two companies set as two splits of the same weight, the group's own line above them
 * hero-review: fix · 5 findings · 4 resolved (both companies now sit in the first screen at the same weight as two linked rows with their line; the hero fills its screen; the company names never break) · 1 declined (the headline stays the owner's own line; the rows under it name the two sectors)
 * finish-review: subagent · 6 findings · 4 resolved (the companies are on the first screen of a phone too; one resting orange mark on each company row; the footer line now carries the address; the stray hairline went) · 2 on the owner (legal pages to create and assign to the footer menu; «¿Dudas? Pregunta.» is the owner's line)
 * axes: dark/grotesk-sans/neutral · posture: restrained · palette: black and white, orange only in small details (by the owner's request) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V3 · weakest: V, it borrows Martin Niuman's system on purpose; the group must read as the parent of both, not as a third brand */
/* Hallmark · photographs keep their own colour: they are the companies' delivered work and the apartment as listed */
/* 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("../mn/tokens.css");
@import url("../mn/base.css");

:root { --bar-h: 72px; }
html { scroll-padding-top: var(--space-3xl); }
h1, h2 { font-stretch: var(--display-stretch); line-height: 1.04; }
h3 { font-weight: 500; }
.lead { color: var(--color-ink-2); }
.has-admin-bar .gbar { top: 32px; }

/* 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); }

/* nav: the group and its two companies */
.gbar { height: var(--bar-h); border-bottom: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); }
.gbar__in { display: flex; align-items: center; gap: var(--space-xl); height: 100%; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark__img { display: block; width: 104px; height: auto; }
.wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.gbar__links { display: flex; gap: var(--space-lg); margin: 0 0 0 auto; padding: 0; list-style: none; }
.gbar__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.gbar__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; }
.gbar__links a:active { color: var(--color-muted); }
.gbar__cta { min-height: 44px; }

/* hero: a banner, the group's own line */
.ghero__in { display: grid; align-content: end; gap: var(--space-lg); min-height: calc(100dvh - var(--bar-h)); padding-block: var(--space-2xl); }
.ghero h1 { font-size: var(--text-display); max-width: 24ch; }
.handoff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.handoff a { display: grid; gap: var(--space-xs); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink); text-decoration: none; transition: border-color var(--dur-short) var(--ease-out); }
.handoff__name { display: flex; align-items: center; gap: var(--space-md); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: var(--text-section); letter-spacing: var(--tracking-display); line-height: 1.04; }
.handoff__name::before { content: ""; width: var(--space-lg); height: 2px; flex-shrink: 0; background: var(--color-accent); }
.handoff__kind { padding-left: calc(var(--space-lg) + var(--space-md)); font-size: var(--text-md); color: var(--color-ink-2); }
.handoff a:hover { border-top-color: var(--color-ink); }
.handoff a:hover .handoff__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; text-decoration-color: var(--color-accent); }
.handoff a:active .handoff__name { color: var(--color-ink-2); }
.handoff a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .handoff a { transition: none; } }
.ghero .lead { max-width: 44ch; }

/* the two companies */
.company__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.company { padding-block: var(--section-gap-s); }
.company:first-of-type { padding-top: var(--section-gap-s); }
.company--media-left .company__media { grid-column: 1 / span 7; }
.company--media-left .company__text { grid-column: 9 / span 4; }
.company--media-right .company__text { grid-column: 1 / span 4; }
.company--media-right .company__media { grid-column: 6 / span 7; }
.company--band { background: var(--color-paper-2); color: var(--color-ink); }
.sx-accent { background: none; color: var(--color-accent); }
.company__media { position: relative; margin: 0; aspect-ratio: 4 / 3; max-height: 40rem; overflow: hidden; background: var(--color-paper-3); }
.company__video { position: absolute; max-width: none; inset: 0; width: 100%; height: 100%; object-fit: cover; outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.company h2 { font-size: var(--text-section); }
.company__kind { margin-top: var(--space-md); font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink); }
.company__p { margin-top: var(--space-md); color: var(--color-ink-2); }
.company__go { margin-top: var(--space-xl); }

.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); }
.loop-toggle:disabled { opacity: 0.55; cursor: not-allowed; }
html:not(.js) .loop-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .loop-toggle { transition: none; } }

/* contact */
.contact { padding-block: var(--section-gap) 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 h2 { font-size: var(--text-section); }
.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); }

/* footer: a colophon block */
.gfoot { padding-block: var(--section-gap-s) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.gfoot__in { display: grid; gap: var(--space-lg); justify-items: start; }
.gfoot__mark { width: 140px; height: auto; }
.gfoot__line { color: var(--color-ink-2); }
.gfoot__links { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); margin: 0; padding: 0; list-style: none; }
.gfoot a, .foot__legal a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); transition: text-decoration-color var(--dur-short) var(--ease-out); }
.gfoot a:hover, .foot__legal a:hover { text-decoration-color: var(--color-accent); }
.gfoot a:active, .foot__legal a:active { color: var(--color-ink-2); }
.foot__legal { justify-self: stretch; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-xl); padding-top: 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; }

@media (max-width: 60rem) {
  .gbar__links { display: none; }
  .gbar__cta { margin-left: auto; }
  .ghero__in { min-height: 0; padding-block: var(--space-2xl); }
  .handoff { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .handoff__name { font-size: var(--text-2xl); }
  .company__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .company--media-left .company__media, .company--media-left .company__text, .company--media-right .company__text, .company--media-right .company__media, .contact__head, .contact__rows { grid-column: 1 / -1; }
  .company--media-right .company__media { order: -1; }
  .contact__rows dd { font-size: var(--text-xl); }
}
