/* TradeMark Sign Solutions — site styles */

:root {
  --ink: #14181f;
  --ink-2: #3a4250;
  --muted: #6b7482;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --navy: #0f1d33;
  --navy-2: #172a47;
  --blue: #1f8fd1;
  --blue-ink: #1673ad; /* darker brand blue for text and buttons: 4.5:1+ on white and --bg-alt */
  --blue-light: #4cc0f0;
  --blue-soft: #e8f5fc;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 29, 51, .06), 0 8px 24px rgba(15, 29, 51, .08);
  --max: 1180px;
  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: .9rem;
}
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 62ch; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #c9d3e2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .85em 1.5em; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue-ink); color: #fff; }
.btn--primary:hover { background: #125d8c; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue-ink); color: var(--blue-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Top bar + header */
.topbar { background: var(--navy); color: #a9b6c9; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; }
.topbar span + span { margin-left: 20px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
/* The logo is absolutely positioned inside a fixed-size slot so the home page can
   show it oversized (hanging into the hero) without changing the header height. */
.brand { position: relative; z-index: 1; display: block; width: 85px; height: 62px; flex: none; }
.brand img {
  position: absolute; left: 0; top: 0; height: 62px; width: auto; max-width: none;
  view-transition-name: brand-logo;
  transition: height .35s ease, filter .35s ease;
}
/* Home page: the logo starts oversized, hanging from the header into the hero */
.page-home .site-header:not(.scrolled) .brand img {
  height: 250px;
  filter: drop-shadow(0 3px 6px rgba(15,29,51,.14));
}
.nav { position: relative; z-index: 2; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; color: var(--ink);
  padding: 8px 14px; border-radius: 6px; font-size: .97rem;
}
.nav a:hover { background: var(--bg-alt); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue-ink); }
.nav .btn { margin-left: 10px; padding: .6em 1.2em; color: #fff; }
.nav .btn:hover { background: #1879b3; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 55%, #1d3a62 100%);
  color: #c9d3e2;
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 620px; height: 620px;
  border-radius: 50%; background: radial-gradient(circle, rgba(76,192,240,.22), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero .lead { color: #c9d3e2; }
.hero .eyebrow { color: var(--blue-light); }
/* Home page hero: light background so the full-color logo reads at large size */
.hero--brand { background: linear-gradient(115deg, #e7eef6 0%, #d4e1ee 55%, #c2d5e8 100%); color: var(--ink-2); }
.hero--brand::after { background: radial-gradient(circle, rgba(76,192,240,.28), transparent 65%); }
.hero--brand .container { padding-top: 72px; padding-bottom: 88px; }
.hero--brand h1 { color: var(--ink); font-size: clamp(2rem, 3.8vw, 3.1rem); }
.hero--brand h1 em { color: var(--blue); }
.hero--brand .lead { color: var(--ink-2); }
.hero--brand .eyebrow { color: #1673ad; }
.hero--brand .hero-media img { box-shadow: 0 20px 50px rgba(15,29,51,.18); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; } /* portrait crop keeps the whole pylon in frame */
.hero--brand .hero-copy { padding-top: 150px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.hero-media .badge {
  position: absolute; left: -28px; bottom: 32px;
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow); font-family: var(--font-head);
}
.badge strong { display: block; font-size: 2rem; line-height: 1; color: var(--blue); }
.badge span { font-size: .85rem; color: var(--muted); }

.page-hero { background: linear-gradient(115deg, var(--navy), var(--navy-2)); color: #c9d3e2; padding: 80px 0 72px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .eyebrow { color: var(--blue-light); }
.page-hero .lead { color: #c9d3e2; }

/* Industries strip */
.industries { background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 55%, #1d3a62 100%); }
.industries .container { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 26px; padding-bottom: 26px; text-align: center; }
.industries .label { font-size: .85rem; color: #a9b6c9; }
.industries ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin: 0; padding: 0; }
.industries li { font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; display: flex; align-items: center; gap: 10px; color: #fff; }
.industries li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--blue-light); }

/* Keyboard focus and skip link */
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 2px; border-radius: 4px; }
.site-footer :focus-visible, .industries :focus-visible, .cta :focus-visible { outline-color: #fff; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px;
  background: var(--navy); color: #fff; font-weight: 600; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* Grids & cards */
a.card { display: block; color: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
a.card:hover { text-decoration: none; border-color: #bcdcf1; box-shadow: var(--shadow); }
.card-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .9rem; color: var(--blue-ink); }
.card-link:hover { text-decoration: underline; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.card h3 { margin-top: 18px; }
.card p { font-size: .97rem; margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.icon svg { width: 24px; height: 24px; }

.figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--contain img { object-fit: contain; background: #fff; }
figcaption { font-size: .85rem; color: var(--muted); padding: 12px 16px; border-top: 1px solid var(--line); background: #fff; }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8fd1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Stats */
.stats { display: grid; grid-template-columns: 1fr; gap: 28px; }
.stat { border-left: 2px solid var(--blue-light); padding-left: 20px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: #fff; line-height: 1.1; }
.stat span { font-size: .93rem; }

/* Process: the section pins below the header while scrolling plays a sign going from idea to lights-on.
   JS sets the track height and adds .is-live only when the pinned layout fits the screen. */
.install-section { padding: 0 0 72px; }
.install-pin { padding-top: 28px; }
.install.is-live .install-pin { position: sticky; top: var(--header-h, 85px); }
.install-pin .section-head { margin-bottom: 28px; }
.install-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.install-stage { width: clamp(300px, calc((100vh - var(--header-h, 85px) - 350px) * 720 / 520), 100%); justify-self: center; }
.install-scene { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.install-scene .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.stage-bar { height: 4px; margin-top: 14px; background: var(--line); border-radius: 2px; overflow: hidden; }
.stage-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-light), var(--blue)); }

.install-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.is-live .install-steps { gap: 0; }
.is-live .install-step { /* cards stack in one cell and swap in place */
  grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.is-live .install-step.active { opacity: 1; transform: none; pointer-events: auto; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.step-meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink);
}
.step-meta b { background: var(--navy); color: #fff; border-radius: 999px; padding: 4px 11px; letter-spacing: .08em; }
.step-card h3 { font-size: 1.35rem; margin: 0 0 .45em; }
.step-card p { margin: 0; }
.install-finish { text-align: center; max-width: 640px; margin: 40px auto 0; }
.install-finish h3 { font-size: 1.6rem; margin-bottom: .4em; }
.install-finish p { margin: 0; }

@media (max-height: 760px) and (min-width: 881px) { /* short laptop screens: compact heading, bigger scene */
  .install-pin .section-head { margin-bottom: 20px; }
  .install-pin .section-head .lead { display: none; }
  .install-pin .section-head h2 { font-size: 1.8rem; margin: 0; }
  .install-stage { width: clamp(300px, calc((100vh - var(--header-h, 85px) - 200px) * 720 / 520), 100%); }
}
@media (max-width: 880px) {
  .install-pin .section-head { margin-bottom: 14px; }
  .install-pin .section-head .eyebrow, .install-pin .section-head .lead { display: none; }
  .install-pin .section-head h2 { font-size: 1.4rem; margin: 0; }
  .install-grid { grid-template-columns: 1fr; gap: 14px; }
  .install-stage { width: clamp(220px, calc((100vh - var(--header-h, 85px) - 440px) * 720 / 520), 100%); }
  .step-card { padding: 18px 20px; }
  .step-card h3 { font-size: 1.1rem; }
  .step-card p { font-size: .9rem; }
  .is-live .step-tags { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .is-live .install-step { transition: none; }
}
.step-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: .8rem; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); padding: 3px 10px; border-radius: 999px; }

.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: ms; max-width: 1040px; margin: 0 auto; }
.mini-step { position: relative; padding-top: 52px; text-align: center; }
.mini-step::before {
  counter-increment: ms; content: counter(ms);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 700;
}
.mini-step::after { /* connector from this circle to the next one, across the 16px column gap */
  content: ""; position: absolute; top: 19px; left: calc(50% + 27px); right: calc(-50% + 11px); height: 2px; background: var(--line);
}
.mini-step:last-child::after { display: none; }
.mini-step h3 { font-size: 1.05rem; margin-bottom: .3em; }
.mini-step p { font-size: .92rem; margin: 0; }


/* Projects */
.project { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.project:first-of-type { border-top: 0; padding-top: 0; }
.project:nth-of-type(even) .project-media { order: 2; }
.project-media { display: grid; gap: 16px; }
.project-media.pair { grid-template-columns: 1fr 1fr; align-items: stretch; }
.project dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 20px 0 0; font-size: .93rem; }
.project dt { font-weight: 600; color: var(--ink); }
.project dd { margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery .figure { display: flex; flex-direction: column; }
.gallery .figure img { aspect-ratio: 4 / 3; }

/* CTA */
.cta { background: linear-gradient(115deg, var(--blue) 0%, #1673ad 100%); color: #e6f4fc; border-radius: 16px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { margin: 0; }
.cta .btn--primary { background: #fff; color: var(--blue-ink); }
.cta .btn--primary:hover { background: var(--navy); color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .icon { flex: none; }
.contact-list strong { display: block; color: var(--ink); font-family: var(--font-head); }
form.card:hover { transform: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfd6e0; border-radius: 6px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 3px rgba(22,115,173,.35); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: #1e7a46; }
.form-status.is-error { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam trap, hidden from people */
.map {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  height: 260px; margin-top: 28px; border-radius: var(--radius); overflow: hidden; text-align: center;
  color: var(--ink); border: 1px solid var(--line);
  background-color: var(--bg-alt);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px);
  transition: border-color .2s, box-shadow .2s;
}
.map:hover { text-decoration: none; border-color: var(--blue); box-shadow: var(--shadow); }
.map-pin { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 0 0 10px rgba(31,143,209,.15); }
.map-pin svg { width: 26px; height: 26px; }
.map-label { font-size: .93rem; color: var(--blue-ink); }
.map-label strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--navy); color: #a9b6c9; font-size: .93rem; padding: 72px 0 0; }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #c9d3e2; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { background: #fff; border-radius: 8px; padding: 10px 14px; display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 56px; width: auto; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mini-steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .mini-step:nth-child(2)::after { display: none; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 2px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}
@media (max-width: 880px) {
  .hero .container, .split, .split--wide, .project, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .project:nth-of-type(even) .project-media { order: 0; }
  .hero-media { max-width: 420px; }
  .hero--brand .container { padding-top: 48px; padding-bottom: 64px; }
  .hero-media .badge { left: 16px; }
  .grid-3, .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .gallery, .form-row, .footer-grid, .mini-steps { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .mini-step::after { display: none; }
  .project-media.pair { grid-template-columns: 1fr; }
  .cta { padding: 36px 24px; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .brand img { height: 50px; }
  .topbar .container { justify-content: center; }
}

@media (max-width: 1100px) {
  .page-home .site-header:not(.scrolled) .brand img { height: 200px; }
  .hero--brand .hero-copy { padding-top: 100px; }
}
@media (max-width: 880px) {
  .page-home .site-header:not(.scrolled) .brand img { height: 160px; }
  .hero--brand .hero-copy { padding-top: 70px; }
}
@media (max-width: 600px) {
  .brand { width: 68px; height: 50px; }
}

/* Animate the logo between its home-page and header positions when navigating */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(brand-logo) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .brand img { transition: none; }
}

/* Project photo layouts */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project-media .figure img, .photo-strip .figure img, .drawing img { height: auto; }
.project-media .figure img { aspect-ratio: 4 / 3; }
.project-media .figure--contain img { aspect-ratio: 3 / 2; }
.project-media .pair .figure img { aspect-ratio: 4 / 5; }
.pair--wide { grid-template-columns: 3fr 2fr; }
.project-media .pair--wide .figure:first-child img { aspect-ratio: 4 / 3; }
.project-media .pair--wide .figure:last-child img { aspect-ratio: 8 / 9; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -24px 0 64px; }
.photo-strip .figure img { aspect-ratio: 1; }
.drawing img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 12px; }
@media (max-width: 880px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
}
