/* Hallmark · shape: Studio Register, a services panel and a record of completed projects (swapped from the dealt Manifesto: the brief needs open-ended services beside a portfolio) · genre: modern-minimal · theme: Console (deal 2/3, seed modern-technology-engineering-studio-7b76·bc79b961·2026-10-27·r0) · job: hire · draw: 0ee279 · redesign: full
 * hero: Stage, head beside the two engineers' portrait panel (swapped from Ledge) · nav: balanced bar (swapped from masthead) · footer: mast (swapped from index columns: one page, no sitemap) · imagery: photographs 2 duotone (library stand-ins), 2 portrait slots · signature: the two engineers set as the hero's people panel · console: graphite
 * axes: dark/grotesk-sans/chromatic-amber · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the portrait slots are empty until the engineers' photographs arrive; marked as slots, not filled with stock faces */
/* Hallmark · waive 81 · data-slot engineer-1 and engineer-2 stay empty with a Portrait hint · each portrait is filled with an engineer's own photograph, stock faces are barred */
/* Hallmark · dropped #eeg, #lighting, #motors, #work · the nav links now list services, projects, us and contact; the project sections keep those ids and their email links */
/* Hallmark · reworded all section headings · the owner asked to separate general services from the completed projects portfolio */
@import url("./tokens.css");
@import url("./base.css");

.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-accent); color: var(--color-accent-ink); }
.skip:focus-visible { top: var(--space-md); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font: 500 var(--text-md)/1.2 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-paper); }
.btn:active { background: var(--color-paper-3); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper-3); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.textlink { display: inline-block; white-space: nowrap; font-weight: 500; text-decoration: underline; text-decoration-color: var(--color-rule-2); text-decoration-thickness: 1px; text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
.textlink:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }
.lead { color: var(--color-ink-2); }
.label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.fill { padding: var(--space-2xs) var(--space-xs); border: var(--rule-hair) dashed var(--color-accent); border-radius: var(--space-2xs); color: var(--color-accent); font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* nav: a dense balanced bar */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper-3); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.nav__brand { font: 500 var(--text-lg)/1 var(--font-display); letter-spacing: var(--tracking-display); text-decoration: none; white-space: nowrap; }
.nav__brand { display: inline-flex; align-items: center; }
.logo { display: block; width: auto; height: 52px; border-radius: var(--radius-sm, 4px); background: #fff; }
.foot__brand .logo { height: 72px; }
@media (max-width: 26rem) { .logo { height: 40px; } }
.nav__links { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav__links a, .nav__phone, .nav__lang { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover, .nav__phone:hover, .nav__lang:hover { color: var(--color-accent); }
.nav__end { display: flex; align-items: center; gap: var(--space-md); }
.nav a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 60rem) { .nav__links { display: none; } }
@media (max-width: 26rem) { .nav__brand { font-size: var(--text-md); } .nav__end { gap: var(--space-xs); } }

h1, h2, h3 { text-transform: none; }
h1 { max-width: 14ch; }

/* hero: Stage */
.hero { min-height: calc(100dvh - 72px); display: grid; align-items: center; padding-block: var(--space-2xl); }
.hero__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.hero__text { grid-column: 1 / span 6; display: grid; gap: var(--space-lg); justify-items: start; }
.hero__text .lead { max-width: 36ch; }
.people { grid-column: 7 / span 6; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; }
.people__title { padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.people__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rule-hair); background: var(--color-rule); }
.person { margin: 0; padding: var(--space-md); background: var(--color-paper-2); }
.person__photo { aspect-ratio: 3 / 4; border-radius: var(--radius-card); display: grid; place-items: center; border: var(--rule-hair) solid var(--color-rule); }
.person__name { color: var(--color-ink); font-weight: 500; }
.person__photo { overflow: hidden; }
.person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.slot__hint { font-size: var(--text-sm); color: var(--color-muted); }
.person figcaption { display: grid; gap: var(--space-2xs); justify-items: start; margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* sections */
.sec { padding-block: var(--section-gap-s); }
.sec--deep { background: var(--color-paper-3); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head .lead { max-width: 52ch; }

/* panels: one surface divided by seams */
.panels { display: grid; gap: var(--rule-hair); color: var(--color-ink); background: var(--color-rule); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; }
.panels > * { background: var(--color-paper-2); color: var(--color-ink); }
.panels--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cell { display: grid; align-content: start; gap: var(--space-md); padding: var(--space-xl); }
.cell p:not([class]) { color: var(--color-muted); max-width: 48ch; }
.cell .who, .who { color: var(--color-accent); font-size: var(--text-sm); font-weight: 500; }
.cell .textlink { justify-self: start; }
.cell--open { background: var(--color-paper-3); }

/* projects: rows of the record */
.panels--rows { grid-template-columns: minmax(0, 1fr); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; padding: var(--space-lg); }
.row__media { grid-column: 1 / span 4; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-card); }
.row__media--type { display: grid; align-content: end; padding: var(--space-lg); background: var(--color-paper-3); border: var(--rule-hair) solid var(--color-rule); font: 500 var(--text-2xl)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); position: relative; overflow: hidden; }
.row__body { grid-column: 5 / span 8; display: grid; gap: var(--space-md); justify-items: start; }
.row__body p { color: var(--color-muted); max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.chips li { padding: var(--space-2xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--space-2xs); background: var(--color-cool-soft); color: var(--color-cool); font-size: var(--text-sm); font-weight: 500; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.contact__head { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }
.partners { display: grid; gap: var(--space-xs); max-width: 52ch; }
.partners ul { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.partners li { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); }
.record { grid-column: 6 / span 7; border-collapse: collapse; width: 100%; display: table; }
.record tr { background: var(--color-paper-2); }
.record th, .record td { text-align: left; vertical-align: top; padding: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.record tr:first-child th, .record tr:first-child td { border-top: 0; }
.record th { width: 7rem; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.record td { font-size: var(--text-lg); overflow-wrap: anywhere; }
.record a { text-decoration: underline; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out); }
.record a:hover { color: var(--color-accent); }
.record a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* footer: a mast */
.foot { padding-block: var(--space-2xl); background: var(--color-paper-3); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__inner { display: grid; gap: var(--space-md); }
.foot__brand { font: 500 var(--text-display-s)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); text-decoration: none; }
.foot__links a:hover { color: var(--color-accent); }
.foot a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__legal, .foot__credits { font-size: var(--text-sm); color: var(--color-muted); max-width: 80ch; }
.foot__credits a { color: var(--color-ink-2); }

@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: var(--space-xl); }
  .hero__text, .people, .contact__head, .record { grid-column: 1 / -1; }
  .panels--2 { grid-template-columns: minmax(0, 1fr); }
  .cell { padding: var(--space-lg); }
  .row__media, .row__body { grid-column: 1 / -1; }
  .row__media--type { aspect-ratio: auto; min-height: 160px; }
}
@media (max-width: 40rem) {
  .record th, .record td { display: block; width: auto; padding: var(--space-md); }
  .record th { padding-bottom: 0; }
  .record td { padding-top: var(--space-2xs); border-top: 0; }
  .person { padding: var(--space-sm); }
}

@media (max-width: 26rem) { .record td { font-size: var(--text-md); } }
