/* ITMACWINOS — feuille de style
   Pierre claire, graphite, bleu du logo. Jost pour les titres, Source Serif 4 pour le texte. */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f1f1ee;
  --paper-2: #e6e6e1;
  --white: #fbfbf9;
  --ink: #1d2125;
  --ink-2: #4c525a;
  --rule: #cbcbc4;
  --accent: #1d5c99;
  --night: #1d2125;
  --night-2: #262b30;
  --night-ink: #e9e9e4;
  --night-ink-2: #a5abb2;
  --night-rule: #3a4047;
  --node: #6aa3d8;

  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", "Charter", Georgia, serif;

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 3px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 300;
  color: inherit;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.3vw, 4.6rem); line-height: 1.05; letter-spacing: -0.018em; }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.7rem); line-height: 1.14; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 400; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
  font-family: var(--sans); text-decoration: none;
}
.skip:focus { top: .75rem; color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
/* le flou est porté par un pseudo-élément, pour ne pas piéger le menu mobile en position fixe */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(241, 241, 238, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }

.nav { font-family: var(--sans); font-size: 1rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2.25rem; }
.nav a { color: var(--ink); text-decoration: none; position: relative; padding-block: .4rem; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-home { display: none; }
.nav .lang { padding-left: 2.25rem; border-left: 1px solid var(--rule); }
.nav .lang a { color: var(--ink-2); }

.nav-toggle {
  display: none;
  font: inherit; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: .45rem .9rem; cursor: pointer;
}

@media (max-width: 859px) {
  .brand img { height: 26px; }
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 29;
    background: var(--paper);
    padding: 2rem var(--gutter);
    visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transition: opacity .25s ease; }
  .menu-open { overflow: hidden; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav li { width: 100%; border-bottom: 1px solid var(--rule); }
  .nav a { display: block; padding-block: 1rem; font-size: 1.6rem; font-weight: 300; }
  .nav a::after { display: none; }
  .nav .nav-home { display: list-item; }
  .nav .lang { border-left: 0; padding-left: 0; border-bottom: 0; margin-top: 1rem; }
  .nav .lang a { font-size: 1.1rem; }
}

/* ------------------------------------------------------------ buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; margin-top: 2.25rem; }
.btn {
  display: inline-block;
  font-family: var(--sans); font-size: 1rem; font-weight: 400; letter-spacing: .01em;
  text-decoration: none; line-height: 1.2;
  padding: .95rem 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  cursor: pointer; transition: background-color .25s ease, color .25s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.link-quiet {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .35em;
}
.link-quiet:hover { text-decoration-color: currentColor; color: var(--ink); }

/* ------------------------------------------------------------ hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6.5rem); }
.hero .wrap {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2rem); row-gap: 3rem; align-items: center;
}
.hero-text { grid-column: 1 / span 7; }
.hero h1 { max-width: 12.5ch; }
.lead { font-size: clamp(1.125rem, 1.45vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 34em; margin-top: 1.75rem; }
.hero-media { grid-column: 8 / span 5; margin: 0; }

/* La porte perforée de la baie, qui s'ouvre une seule fois au chargement */
.rack { position: relative; perspective: 1800px; border-radius: var(--radius); }
.rack img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.rack-door {
  position: absolute; inset: 0; border-radius: var(--radius);
  background-color: #262b30;
  background-image: radial-gradient(circle at center, rgba(233, 233, 228, .2) 1.15px, transparent 1.7px);
  background-size: 9px 9px;
  background-position: 4px 4px;
  box-shadow: inset 0 0 0 10px #22262b, inset 0 0 0 11px #353b41;
  transform-origin: 0 50%;
  animation: door-open 1.7s cubic-bezier(.62, .02, .22, 1) .55s forwards;
}
.rack-door::after {
  content: ""; position: absolute; right: 22px; top: 44%;
  width: 7px; height: 64px; border-radius: 4px;
  background: linear-gradient(90deg, #4a5157, #2c3136);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.rack.is-waiting .rack-door { animation-play-state: paused; }
@keyframes door-open {
  0%   { transform: rotateY(0deg); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: rotateY(-104deg); opacity: 0; visibility: hidden; }
}

.label {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .9rem; line-height: 1.4; color: var(--ink-2);
  margin-top: 1rem;
}
.label::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--accent);
}

/* ------------------------------------------------------------ sections */
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2rem); row-gap: 2rem; }

.approach h2 { grid-column: 1 / span 5; }
.approach .prose { grid-column: 7 / span 6; max-width: 36em; }

.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.75rem; }

/* liste des métiers */
.domains { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.domains li { border-top: 1px solid var(--rule); }
.domains a {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: 1.6rem; color: inherit; text-decoration: none;
}
.domains h3 { grid-column: 1 / span 5; font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 300; transition: color .25s ease; }
.domains p { grid-column: 7 / span 6; color: var(--ink-2); margin: 0; max-width: 36em; }
.domains a:hover h3 { color: var(--accent); }

/* méthode, sur fond graphite */
.method { background: var(--night); color: var(--night-ink); padding-block: var(--section); }
.method h2 { max-width: 16ch; }
.steps {
  list-style: none; margin: 3.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2rem);
  border-top: 1px solid var(--night-rule);
}
.steps li { position: relative; padding-top: 2.25rem; }
.steps li::before {
  content: ""; position: absolute; left: 0; top: -7px;
  width: 13px; height: 13px; border-radius: 50%;
  border: 1.5px solid var(--node); background: var(--night);
}
.step-n { display: block; font-family: var(--sans); font-weight: 300; font-size: 1rem; color: var(--node); margin-bottom: .5rem; }
.steps h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.steps p { color: var(--night-ink-2); font-size: 1rem; line-height: 1.6; }

/* aperçu des réalisations */
.work-teaser .grid-12 { align-items: start; }
.work-teaser figure { margin: 0; }
.work-teaser figure:nth-child(1) { grid-column: 1 / span 4; }
.work-teaser figure:nth-child(2) { grid-column: 5 / span 4; margin-top: clamp(2rem, 6vw, 5rem); }
.work-teaser figure:nth-child(3) { grid-column: 9 / span 4; margin-top: clamp(4rem, 12vw, 10rem); }
.work-teaser img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.work-teaser .head-row p { color: var(--ink-2); margin: .5rem 0 0; }

/* pour qui */
.clients h2 { grid-column: 1 / span 4; }
.clients dl { grid-column: 5 / span 8; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: 2.5rem; }
.clients dt { font-family: var(--sans); font-size: 1.2rem; font-weight: 400; line-height: 1.3; margin-bottom: .5rem; }
.clients dd { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.65; }

/* appel au contact */
.cta { background: var(--paper-2); padding-block: var(--section); }
.cta h2 { max-width: 20ch; }
.cta p { color: var(--ink-2); max-width: 34em; margin-top: 1.25rem; }
.mail-big {
  display: inline-block; margin-top: 2.5rem;
  font-family: var(--sans); font-weight: 300; font-size: clamp(1.5rem, 4.2vw, 3.1rem); line-height: 1.15;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
  border-bottom: 1px solid var(--ink); padding-bottom: .15em;
  overflow-wrap: anywhere;
}
.mail-big:hover { color: var(--accent); border-bottom-color: var(--accent); }
.cta .link-quiet { display: inline-block; margin-top: 1.75rem; }

/* ------------------------------------------------------------ pages intérieures */
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head .lead { margin-top: 1.5rem; }

/* services */
.services-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2rem); padding-bottom: var(--section); }
.service-index { grid-column: 1 / span 3; }
.service-index nav { position: sticky; top: calc(var(--header-h) + 2rem); font-family: var(--sans); }
.service-index p { font-size: .95rem; color: var(--ink-2); margin-bottom: .75rem; }
.service-index ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.service-index a {
  display: block; padding: .4rem 0 .4rem 1rem; margin-left: -1px; border-left: 1px solid transparent;
  color: var(--ink-2); text-decoration: none; font-size: .98rem; line-height: 1.4;
}
.service-index a:hover { color: var(--ink); }
.service-index a.is-active { color: var(--ink); border-left-color: var(--accent); }
.services-body { grid-column: 4 / span 9; }

.service { padding-block: clamp(3rem, 5vw, 4.5rem); border-top: 1px solid var(--rule); }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { margin-bottom: 1.5rem; }
.service-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 4vw, 3.5rem); }
.service-cols .prose { max-width: 34em; }
.service-side { font-family: var(--sans); }
.service-side h3 { font-size: 1rem; font-weight: 500; margin-bottom: .9rem; }
.kit { list-style: none; margin: 0 0 2rem; padding: 0; }
.kit li { position: relative; padding: .5rem 0 .5rem 1.4rem; border-bottom: 1px solid var(--rule); font-size: 1rem; line-height: 1.45; }
.kit li:first-child { border-top: 1px solid var(--rule); }
.kit li::before {
  content: ""; position: absolute; left: 0; top: 1.02rem; width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid var(--accent);
}
.service figure { margin: 0; }
.service figure img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.service figcaption { font-family: var(--sans); font-size: .9rem; line-height: 1.45; color: var(--ink-2); margin-top: .8rem; }

.maintenance { background: var(--paper-2); padding-block: var(--section); }
.maintenance h2 { grid-column: 1 / span 4; }
.maintenance .prose { grid-column: 6 / span 7; max-width: 36em; }

/* réalisations */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 3rem; padding: 0; border: 0; }
.filters button {
  font-family: var(--sans); font-size: .98rem; color: var(--ink-2);
  background: transparent; border: 1px solid var(--rule); border-radius: 999px;
  padding: .5rem 1.05rem; cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.filters button:hover { color: var(--ink); border-color: var(--ink-2); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.gallery { columns: 3; column-gap: clamp(1.25rem, 2.5vw, 2rem); padding-bottom: var(--section); }
.work-item { break-inside: avoid; margin: 0 0 clamp(2rem, 3.5vw, 3rem); }
.work-item[hidden] { display: none; }
.work-item a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.work-item img { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.work-item a:hover img { transform: scale(1.015); }
.work-item figcaption { margin-top: .9rem; }
.work-item h2 { font-size: 1.1rem; font-weight: 400; line-height: 1.35; margin-bottom: .3rem; letter-spacing: 0; }
.work-item p { font-size: .95rem; line-height: 1.55; color: var(--ink-2); }

.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: #181b1f; color: var(--night-ink);
}
.lightbox::backdrop { background: rgba(24, 27, 31, .6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); font-family: var(--sans); font-size: .95rem; color: var(--night-ink-2); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 14rem); max-height: calc(100dvh - 14rem); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lb-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: start; padding: 1.25rem var(--gutter) 1.5rem; }
.lb-caption h2 { font-size: 1.15rem; font-weight: 400; color: var(--night-ink); margin-bottom: .25rem; }
.lb-caption p { font-size: .95rem; line-height: 1.5; color: var(--night-ink-2); max-width: 46em; }
.lb-btn {
  font-family: var(--sans); font-size: .95rem; color: var(--night-ink);
  background: transparent; border: 1px solid var(--night-rule); border-radius: var(--radius);
  padding: .55rem 1rem; cursor: pointer;
}
.lb-btn:hover { border-color: var(--night-ink-2); }
.lightbox :focus-visible { outline-color: var(--node); }

/* contact */
.contact-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2rem); row-gap: 4rem; padding-bottom: var(--section); }
.contact-info { grid-column: 1 / span 5; }
.contact-form { grid-column: 7 / span 6; }
.contact-info h2, .contact-form h2 { font-size: 1.05rem; font-weight: 500; margin-bottom: 1rem; }
.contact-info .mail-big { margin-top: 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.copy-row { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; font-family: var(--sans); font-size: .95rem; }
.copy-btn {
  font: inherit; color: var(--ink); background: transparent;
  border: 1px solid var(--rule); border-radius: var(--radius); padding: .45rem .9rem; cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink-2); }
.copy-status { color: var(--ink-2); }
.help { margin-top: 3.5rem; }
.help ul { list-style: none; margin: 0; padding: 0; }
.help li { position: relative; padding: .55rem 0 .55rem 1.4rem; border-bottom: 1px solid var(--rule); font-size: 1rem; line-height: 1.5; }
.help li:first-child { border-top: 1px solid var(--rule); }
.help li::before {
  content: ""; position: absolute; left: 0; top: 1.12rem; width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid var(--accent);
}
.zone { margin-top: 1.5rem; color: var(--ink-2); font-size: 1rem; }

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--sans); font-size: .95rem; color: var(--ink); }
.field .opt { color: var(--ink-2); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: .8rem .9rem; width: 100%;
  transition: border-color .2s ease;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem;
}
.field textarea { min-height: 11rem; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--accent); outline-offset: 1px; }
.form-foot { margin-top: 1.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.form-note { font-size: .95rem; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.form-status { font-family: var(--sans); font-size: .98rem; color: var(--accent); }

/* 404 */
.notfound { padding-block: clamp(4rem, 12vw, 9rem); }
.notfound .split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 1rem; }
.notfound h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.notfound p { color: var(--ink-2); margin-top: 1rem; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--night); color: var(--night-ink-2); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; font-family: var(--sans); font-size: .98rem; }
.site-footer a { color: var(--night-ink); text-decoration: none; }
.site-footer a:hover { color: var(--node); }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2rem); row-gap: 2.5rem; }
.footer-brand { grid-column: 1 / span 5; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { margin-top: 1.25rem; max-width: 26em; line-height: 1.55; }
.footer-col { grid-column: span 2; }
.footer-col.wide { grid-column: span 3; }
.footer-col h2 { font-size: .95rem; font-weight: 400; color: var(--night-ink-2); margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-bottom { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--night-rule); font-size: .9rem; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1023px) {
  .hero-text { grid-column: 1 / span 12; }
  .hero-media { grid-column: 1 / span 12; max-width: 460px; }
  .approach h2, .approach .prose { grid-column: 1 / -1; }
  .domains h3 { grid-column: 1 / -1; margin-bottom: .4rem; }
  .domains p { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--night-rule); margin-left: 6px; row-gap: 2.25rem; }
  .steps li { padding: 0 0 0 2rem; }
  .steps li::before { left: -7px; top: .35rem; }
  .clients h2, .clients dl { grid-column: 1 / -1; }
  .service-index { display: none; }
  .services-body { grid-column: 1 / -1; }
  .maintenance h2, .maintenance .prose { grid-column: 1 / -1; }
  .contact-info, .contact-form { grid-column: 1 / -1; }
  .gallery { columns: 2; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col.wide { grid-column: span 4; }
}
@media (max-width: 699px) {
  .work-teaser .grid-12 { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .work-teaser figure:nth-child(n) { grid-column: auto; margin-top: 0; }
  .work-teaser figure:nth-child(2) { margin-top: 2.5rem; }
  .work-teaser figure:nth-child(3) { display: none; }
  .clients dl { grid-template-columns: 1fr; row-gap: 2rem; }
  .service-cols { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .footer-col, .footer-col.wide { grid-column: 1 / -1; }
  .notfound .split { grid-template-columns: 1fr; }
  .lb-foot { grid-template-columns: 1fr 1fr; }
  .lb-caption { grid-column: 1 / -1; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .rack-door { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .cta, .rack-door { display: none; }
  body { background: #fff; }
}
