:root {
  color-scheme: light;
  --bg: #f8f8f6;
  --panel: #ffffff;
  --panel-2: #f0f0ed;
  --line: #d8d8d3;
  --muted: #424648;
  --text: #111315;
  --accent: #d71920;
  --header: 98px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; }
img, video { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1320px, 90vw); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header);
  border-bottom: 1px solid rgba(115, 134, 132, .34);
  background: rgba(15, 21, 23, .82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav-shell {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 780;
  letter-spacing: -.04em;
}
.brand span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.main-nav a {
  position: relative;
  padding: 29px 0 25px;
  color: #45484a;
  text-decoration: none;
  font-size: .88rem;
  letter-spacing: .04em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.eyebrow {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.display {
  margin: 22px 0 28px;
  font-size: clamp(3.5rem, 8.3vw, 8.4rem);
  font-weight: 670;
  letter-spacing: -.085em;
  line-height: .91;
}
.page-title {
  margin: 17px 0 22px;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .93;
  letter-spacing: -.075em;
}
.lede {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
  line-height: 1.68;
}
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid #5a6967;
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 690;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn.primary { border-color: var(--accent); background: var(--accent); color: #111718; }
.btn.primary:hover { background: #ee363d; }

/* Accueil */
.home-main { position: relative; min-height: calc(100svh - var(--header)); overflow: hidden; }
.motion-field { position: absolute; inset: 0; pointer-events: none; }
.motion-field::before,
.motion-field::after {
  content: "";
  position: absolute;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(215, 25, 32, .16);
  border-radius: 50%;
  animation: orbit 18s linear infinite;
}
.motion-field::before { top: -28%; right: -12%; box-shadow: 0 0 100px rgba(97, 139, 132, .11) inset; }
.motion-field::after { bottom: -42%; left: -18%; animation-direction: reverse; animation-duration: 24s; }
@keyframes orbit { to { transform: rotate(360deg) scale(1.08); } }
.home-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - var(--header));
  grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  padding-block: clamp(55px, 8vh, 100px);
}
.home-copy .display { max-width: 740px; }
.home-copy .lede { max-width: 600px; }
.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: #3f4345;
  font-size: .89rem;
}
.availability::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(215, 25, 32, .08);
  animation: pulse 2.1s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(215, 25, 32, 0); } }
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; perspective: 1100px; }
.portal-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  min-height: 225px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(23px, 3vw, 35px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(215, 25, 32,.07), transparent 40%),
    #ffffff;
  text-decoration: none;
  transform-style: preserve-3d;
  transition: border-color .28s ease, box-shadow .28s ease, transform .12s ease;
}
.portal-card:hover { border-color: var(--accent); box-shadow: 0 20px 45px rgba(17,19,21,.10); }
.portal-card .number { color: var(--accent); font-size: .74rem; letter-spacing: .15em; }
.portal-card h2 { margin: 34px 0 8px; font-size: clamp(1.75rem, 3vw, 2.8rem); letter-spacing: -.055em; }
.portal-card p { max-width: 260px; margin: 0; color: var(--muted); line-height: 1.5; }
.portal-card .arrow {
  position: absolute;
  right: 25px;
  top: 22px;
  font-size: 1.5rem;
  transition: transform .25s ease;
}
.portal-card:hover .arrow { transform: translate(5px, -5px); }

/* Pages */
.page-hero { padding: clamp(75px, 10vw, 140px) 0 clamp(55px, 7vw, 95px); border-bottom: 1px solid var(--line); }
.page-hero-row { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.page-index { color: #4b4f51; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
.section { padding-block: clamp(75px, 9vw, 130px); }
.section-title { margin: 14px 0 24px; font-size: clamp(2.5rem, 5.5vw, 5.2rem); letter-spacing: -.07em; line-height: .97; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Projets */
.projects-list { display: grid; gap: clamp(40px, 7vw, 90px); }
.project-card {
  display: grid;
  min-height: 580px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  border: 1px solid var(--line);
  background: var(--panel);
}
.project-card:nth-child(even) { grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr); }
.project-card:nth-child(even) .model-pane { grid-column: 2; grid-row: 1; }
.project-card:nth-child(even) .project-copy { grid-column: 1; grid-row: 1; }
.model-pane { position: relative; min-height: 580px; overflow: hidden; background: #aeb0b2; }
.model-pane model-viewer { width: 100%; height: 100%; min-height: 580px; background: #aeb0b2; --poster-color: #aeb0b2; }
.project-cover-pane { display: grid; place-items: center; background: #111315; }
.project-cover-pane img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; }
.model-pane--sign { min-height: 520px; background: #1f2223; }
.model-pane--sign model-viewer { min-height: 520px; background: #1f2223 url("assets/bringuerie-enseigne-poster.webp") center / contain no-repeat; --poster-color: transparent; }
.model-hint {
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 10px 13px;
  background: rgba(15,21,23,.88);
  color: #fff;
  font-size: .8rem;
  pointer-events: none;
}
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 66px); }
.tag { width: fit-content; margin-bottom: 23px; padding: 6px 9px; border: 1px solid #aeb1b2; color: #333638; font-size: .74rem; }
.project-copy h2 { margin: 0 0 22px; font-size: clamp(2.2rem, 4vw, 4.1rem); line-height: .98; letter-spacing: -.065em; }
.project-copy > p { margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.68; }
.project-copy .still { display: block; margin-top: 25px; width: 100%; max-height: 310px; object-fit: cover; }
.media-link { margin-top: 11px; color: var(--accent); font-size: .84rem; }
.project-gallery {
  display: grid;
  min-height: 580px;
  grid-template-columns: 1.25fr .75fr .75fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  overflow: hidden;
  background: #111315;
}
.project-gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #111315;
  cursor: zoom-in;
}
.project-gallery-item--main { grid-row: 1 / 3; }
.project-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .35s ease;
}
.project-gallery-item::after {
  content: "Agrandir";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  background: rgba(17,19,21,.82);
  color: #fff;
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .08em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(5px);
  transition: opacity .25s ease, transform .25s ease;
}
.project-gallery-item:hover img { transform: scale(1.035); filter: contrast(1.04); }
.project-gallery-item:hover::after,
.project-gallery-item:focus-visible::after { opacity: 1; transform: none; }
.project-gallery-item:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.project-gallery--strip {
  grid-column: 1 / -1;
  min-height: 230px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: minmax(230px, 28vw);
}
.project-gallery--strip .project-gallery-item--main { grid-row: auto; }
.project-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 25px;
}
.project-photo-pair button {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #111315;
  cursor: zoom-in;
}
.project-photo-pair button::after {
  content: "Agrandir";
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 6px 8px;
  background: rgba(17,19,21,.82);
  color: #fff;
  font-size: .6rem;
  font-weight: 750;
  letter-spacing: .08em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.project-photo-pair img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .4s ease, filter .35s ease;
}
.project-photo-pair button:hover img { transform: scale(1.025); filter: contrast(1.035); }
.project-photo-pair button:hover::after,
.project-photo-pair button:focus-visible::after { opacity: 1; transform: none; }
.project-photo-pair button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.gallery-hint {
  margin-top: 24px !important;
  color: #686c6d !important;
  font-size: .82rem !important;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  width: min(1180px, 94vw);
  height: min(90vh, 920px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.image-lightbox::backdrop { background: rgba(7,9,10,.93); backdrop-filter: blur(5px); }
.image-lightbox-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
}
.image-lightbox img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.image-lightbox button {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(17,19,21,.82);
  color: #fff;
  cursor: pointer;
}
.image-lightbox button:hover,
.image-lightbox button:focus-visible { border-color: #fff; background: #111315; }
.image-lightbox-close { top: 12px; right: 12px; font-size: 1.35rem; }
.image-lightbox-prev { left: 12px; font-size: 1.6rem; }
.image-lightbox-next { right: 12px; font-size: 1.6rem; }
.tech-details { margin-top: 24px; border: 1px solid #c9cac7; }
.tech-details summary { display: flex; justify-content: space-between; gap: 16px; padding: 15px 17px; cursor: pointer; font-weight: 680; list-style: none; }
.tech-details summary::-webkit-details-marker { display: none; }
.tech-details summary::after { content: "+"; font-size: 1.35rem; }
.tech-details[open] summary::after { content: "−"; }
.tech-details dl { margin: 0; padding: 0 17px 12px; }
.tech-details dl div { display: grid; grid-template-columns: minmax(105px, 30%) 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid #dededa; }
.tech-details dt { font-weight: 700; }
.tech-details dd { margin: 0; color: var(--muted); line-height: 1.45; }
.video-block { margin-top: 25px; }
.video-block h3 { margin: 0 0 12px; font-size: 1rem; }
.video-block video { display: block; width: 100%; background: #aeb0b2; }
.next-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: clamp(32px,5vw,65px); border: 1px solid var(--line); background: var(--panel-2); }
.next-cta h2 { margin: 0; font-size: clamp(2rem,4vw,4rem); letter-spacing: -.06em; }

/* Approche */
.approach-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 120px); }
.profile-panel { position: sticky; top: calc(var(--header) + 35px); align-self: start; }
.profile-panel p { color: var(--muted); line-height: 1.75; font-size: 1.08rem; }
.process { display: grid; gap: 0; border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-step strong { color: var(--accent); }
.process-step h2 { margin: 0 0 8px; font-size: 1.7rem; }
.process-step p { margin: 0; color: var(--muted); line-height: 1.6; }
.tool-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.tool-cloud span { padding: 10px 13px; border: 1px solid #bfc1bf; color: #303335; }

/* Fabrication 3D */
.fabrication-intro { background: #fff; }
.machine-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr); align-items: stretch; gap: clamp(45px,7vw,105px); }
.size-tool { --object-width: 46.875%; --object-depth: 31.25%; --object-height: 23.08%; overflow: hidden; border: 1px solid #bfc1bf; background: #f7f7f4; color: var(--ink); box-shadow: 12px 12px 0 rgba(17,19,21,.06); }
.size-tool-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 20px 22px; border-bottom: 1px solid #303334; background: #111315; color: #fff; }
.size-tool-head > div:first-child { display: grid; gap: 4px; }
.size-tool-head span, .machine-envelope small { color: #bfc2c2; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.size-tool-head strong { font-size: 1rem; }
.machine-envelope { display: grid; gap: 4px; text-align: right; }
.machine-envelope b { font-size: .9rem; letter-spacing: .06em; }
.size-tool-body { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(285px,.9fr); }
.size-drawings { display: grid; gap: 18px; padding: 22px; border-right: 1px solid #cfd0cc; background: #e9eae6; }
.drawing-card { border: 1px solid #c2c4c1; background: #fff; }
.drawing-title { display: flex; justify-content: space-between; gap: 15px; padding: 10px 12px; border-bottom: 1px solid #d6d7d3; }
.drawing-title strong { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.drawing-title span { color: var(--muted); font-size: .7rem; }
.drawing-frame { position: relative; height: 190px; margin: 24px 38px 38px; border: 1px solid #777b7b; background: linear-gradient(#e7e8e5 1px,transparent 1px),linear-gradient(90deg,#e7e8e5 1px,transparent 1px); background-size: 20px 20px; }
.drawing-object { position: absolute; bottom: 0; left: 0; display: grid; width: var(--object-width); place-items: center; border: 2px solid #d71920; background: rgba(215,25,32,.13); color: #8d1116; transition: width .25s ease, height .25s ease; }
.drawing-frame--top .drawing-object { height: var(--object-depth); }
.drawing-frame--side .drawing-object { height: var(--object-height); }
.drawing-object span { padding: 4px 6px; background: #fff; font-size: .65rem; font-weight: 760; white-space: nowrap; }
.drawing-object.is-too-large { background: repeating-linear-gradient(135deg,rgba(215,25,32,.2) 0,rgba(215,25,32,.2) 7px,rgba(215,25,32,.07) 7px,rgba(215,25,32,.07) 14px); }
.frame-measure { position: absolute; color: #565a5a; font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; }
.frame-measure--x { bottom: -25px; left: 50%; transform: translateX(-50%); }
.frame-measure--y, .frame-measure--z { top: 50%; left: -43px; transform: rotate(-90deg) translateY(-50%); }
.size-controls { padding: 24px; background: #fff; }
.checker-heading { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.checker-heading strong { font-size: 1rem; }
.checker-heading span { color: var(--muted); font-size: .75rem; }
.dimension-fields { display: grid; gap: 9px; }
.dimension-fields label { display: grid; grid-template-columns: 1fr minmax(120px,140px); align-items: center; gap: 12px; }
.dimension-fields label > span:first-child { color: #55595a; font-size: .68rem; font-weight: 720; letter-spacing: .04em; text-transform: uppercase; }
.dimension-input { display: grid; grid-template-columns: 1fr auto; border: 1px solid #aeb1ae; background: #fff; }
.dimension-input input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 8px; border: 0; background: transparent; color: var(--ink); font-weight: 780; }
.dimension-input input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.dimension-input i { align-self: center; padding: 0 10px; border-left: 1px solid #d2d3d0; color: #6b6e6e; font-style: normal; font-size: .72rem; }
.fit-status { display: grid; gap: 5px; margin: 22px 0 18px; padding: 16px; border-left: 4px solid #2c8a57; background: #eef7f1; }
.fit-status strong { font-size: 1rem; }
.fit-status span { color: #466151; font-size: .78rem; line-height: 1.45; }
.fit-status.is-too-large { border-color: #d71920; background: #fff0f0; }
.fit-status.is-too-large span { color: #7d2529; }
.size-metrics { margin: 0 0 18px; border-top: 1px solid var(--line); }
.size-metrics div { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.size-metrics dt { color: var(--muted); font-size: .74rem; }
.size-metrics dd { margin: 0; font-size: .74rem; font-weight: 760; text-align: right; }
.checker-note { display: block; color: #777b7b; font-size: .7rem; line-height: 1.5; }
.machine-copy { align-self: center; }
.machine-copy > p { margin: 0 0 30px; color: var(--muted); font-size: 1.07rem; line-height: 1.72; }
.machine-specs { margin: 0 0 34px; border-top: 1px solid var(--line); }
.machine-specs div { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.machine-specs dt { font-weight: 740; }
.machine-specs dd { margin: 0; color: var(--muted); }
.creation-section { background: #f2f2ef; }
.creation-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid #cfd0cc; border-left: 1px solid #cfd0cc; }
.creation-card { min-height: 300px; padding: clamp(26px,4vw,46px); border-right: 1px solid #cfd0cc; border-bottom: 1px solid #cfd0cc; background: rgba(255,255,255,.58); }
.creation-card > span { color: var(--accent); font-size: .74rem; font-weight: 800; letter-spacing: .14em; }
.creation-card h3 { margin: 65px 0 16px; font-size: clamp(1.8rem,3vw,3.1rem); line-height: 1; letter-spacing: -.055em; }
.creation-card p { max-width: 510px; margin: 0; color: var(--muted); line-height: 1.65; }
.fabrication-flow { background: #111315; color: #fff; }
.flow-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(45px,8vw,120px); }
.flow-options { border-top: 1px solid #505354; }
.flow-card { padding: 31px 0; border-bottom: 1px solid #505354; }
.flow-card strong { display: block; margin-bottom: 12px; font-size: clamp(1.35rem,2.3vw,2.2rem); }
.flow-card p { max-width: 720px; margin: 0; color: #c6c8c8; line-height: 1.7; }
.limits-section { padding-top: 0; background: #111315; color: #fff; }
.limits-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(45px,8vw,120px); padding-top: clamp(60px,8vw,105px); border-top: 1px solid #505354; }
.limits-layout h2 { max-width: 520px; margin: 14px 0 0; font-size: clamp(2.1rem,4vw,4rem); line-height: 1; letter-spacing: -.06em; text-transform: uppercase; }
.limits-layout ul { margin: 0; padding: 0; list-style: none; }
.limits-layout li { position: relative; padding: 18px 0 18px 34px; border-bottom: 1px solid #505354; color: #d0d2d2; line-height: 1.6; }
.limits-layout li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.fabrication-cta { background: #fff; }

/* Demande */
.request-layout { display: grid; grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr); gap: clamp(45px, 7vw, 100px); align-items: start; }
.request-aside { position: sticky; top: calc(var(--header) + 35px); }
.request-aside p { color: var(--muted); line-height: 1.7; }
.request-steps { padding: 0; margin: 34px 0 0; list-style: none; counter-reset: step; }
.request-steps li { counter-increment: step; padding: 16px 0; border-top: 1px solid var(--line); color: #3f4345; }
.request-steps li::before { content: "0" counter(step); margin-right: 14px; color: var(--accent); font-weight: 760; }
.request-form { padding: clamp(22px, 4vw, 48px); border: 1px solid var(--line); background: var(--panel); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #17191a; font-weight: 650; }
.field label span { color: #505456; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 49px;
  padding: 13px 14px;
  border: 1px solid #c4c6c4;
  border-radius: 3px;
  background: #ffffff;
  color: var(--text);
}
.field textarea { min-height: 155px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.field small { color: #505456; line-height: 1.45; }
.consent { display: flex; flex-direction: row; align-items: flex-start; gap: 11px; color: #474b4d; font-size: .9rem; line-height: 1.5; }
.consent input { width: auto; min-height: 0; margin-top: 4px; accent-color: var(--accent); }
.submit-btn { width: 100%; }
.form-notice { display: none; margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--accent); background: #243016; color: #efffc5; }
.form-notice.is-active, .form-notice:target { display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-card {
  min-height: 235px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 45px);
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.contact-card:hover { transform: translateY(-5px); border-color: var(--accent); background: var(--panel-2); }
.contact-card span:first-child { color: var(--accent); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-card strong { overflow-wrap: anywhere; font-size: clamp(1.35rem, 3vw, 2.7rem); letter-spacing: -.045em; }

.site-footer { padding: 28px 0; border-top: 1px solid var(--line); color: #505456; font-size: .82rem; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 1000px) {
  .home-shell { grid-template-columns: 1fr; padding-block: 70px; }
  .home-copy { max-width: 760px; }
  .project-card, .project-card:nth-child(even) { grid-template-columns: 1fr; }
  .project-card:nth-child(even) .model-pane,
  .project-card:nth-child(even) .project-copy { grid-column: auto; grid-row: auto; }
  .model-pane, .model-pane model-viewer { min-height: 500px; }
  .project-gallery { min-height: 720px; }
  .approach-grid, .request-layout, .machine-layout, .flow-layout, .limits-layout { grid-template-columns: 1fr; }
  .profile-panel, .request-aside { position: static; }
  .machine-copy { max-width: 760px; }
}
@media (max-width: 720px) {
  :root { --header: 116px; }
  .nav-shell { min-height: var(--header); flex-direction: column; align-items: stretch; justify-content: center; gap: 11px; padding-block: 12px; }
  .brand { text-align: center; }
  .main-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
  .main-nav a { padding: 10px 2px; text-align: center; font-size: .74rem; border: 1px solid transparent; }
  .main-nav a::after { bottom: 3px; right: 14px; left: 14px; }
  .page-hero-row { display: block; }
  .page-index { margin-top: 28px; }
  .portal-grid, .contact-grid { grid-template-columns: 1fr; }
  .portal-card { min-height: 185px; }
  .model-pane, .model-pane model-viewer { min-height: 390px; }
  .project-gallery {
    min-height: 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .project-gallery-item { aspect-ratio: 1; }
  .project-gallery-item--main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
  .project-gallery-item::after { display: none; }
  .image-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; }
  .image-lightbox button { width: 42px; height: 42px; }
  .next-cta { align-items: flex-start; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-row { flex-direction: column; }
  .size-tool-body { grid-template-columns: 1fr; }
  .size-drawings { border-right: 0; border-bottom: 1px solid #cfd0cc; }
}
@media (max-width: 450px) {
  .wrap { width: min(92vw, 1320px); }
  .main-nav a { font-size: .61rem; letter-spacing: .015em; }
  .display { font-size: clamp(3.35rem, 17vw, 5rem); }
  .page-title { font-size: clamp(3rem, 15vw, 4.7rem); }
  .model-pane, .model-pane model-viewer { min-height: 340px; }
  .tech-details dl div { grid-template-columns: 1fr; gap: 3px; }
  .size-tool-head, .checker-heading { flex-direction: column; align-items: flex-start; }
  .machine-envelope { text-align: left; }
  .size-drawings { padding: 14px; }
  .drawing-frame { height: 165px; margin: 20px 34px 36px; }
  .dimension-fields label { grid-template-columns: 1fr minmax(120px,150px); }
  .machine-specs div { grid-template-columns: 1fr; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Identité D3 Concept — industriel, motorsport, enseigne */
body {
  background: var(--bg);
}
.site-header {
  color-scheme: light;
  color: #111315;
  border-bottom-color: #e6e6e3;
  background: #fff;
}
.brand {
  width: 224px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
}
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.main-nav a { color: #45484a; font-size: 1.02rem; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; }
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: #111315; }
.brand:focus-visible, .main-nav a:focus-visible { outline: 2px solid #d71920; outline-offset: 5px; }
.main-nav a::after { height: 3px; }
.eyebrow { color: var(--accent); }
.btn.primary { color: #fff; }
.display, .page-title, .section-title, .project-copy h2, .next-cta h2 {
  font-family: "Arial Narrow", "Roboto Condensed", Inter, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, transparent 0 67%, rgba(215,25,32,.11) 67% 67.35%, transparent 67.35%),
    linear-gradient(90deg, rgba(17,19,21,.025), transparent 40%);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 5vw;
  bottom: 0;
  width: min(320px, 35vw);
  height: 5px;
  background: var(--accent);
}
.page-index { color: var(--accent); font-weight: 750; }

.motion-field {
  display: none;
}
.motion-field::before,
.motion-field::after {
  display: none;
}
.motion-field::before { top: -37%; right: -22%; }
.motion-field::after { bottom: -48%; left: -25%; animation-duration: 22s; }
@keyframes technical-drift {
  from { transform: rotate(43deg) translate3d(-8px, 0, 0); }
  to { transform: rotate(47deg) translate3d(16px, -10px, 0); }
}
.home-shell {
  grid-template-columns: minmax(340px,.82fr) minmax(570px,1.18fr);
  align-items: start;
  gap: clamp(48px,6vw,98px);
}
.home-copy { position: sticky; top: calc(var(--header) + 70px); align-self: start; }
.home-copy .display { font-size: clamp(3.6rem,7.2vw,7.4rem); }
.availability::before { box-shadow: 0 0 0 6px rgba(215,25,32,.1); }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(215,25,32,0); } }
.home-actions { display: grid; gap: 14px; }
.brand-stage {
  position: relative;
  aspect-ratio: 3 / 2;
  margin-top: clamp(70px, 6vw, 82px);
  overflow: hidden;
  padding: 0;
  border: 1px solid #2f3132;
  background: #d4d0c8;
}
.brand-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  transform: scale(1.22);
}
.portal-grid { gap: 12px; }
.portal-card {
  min-height: 176px;
  padding: 24px;
  background: #ffffff;
}
.portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width .3s ease;
}
.portal-card:hover::before { width: 100%; }
.portal-card h2 { margin-top: 25px; text-transform: uppercase; }
.portal-card p { font-size: .9rem; }
.project-card,
.request-form,
.contact-card,
.next-cta { box-shadow: 7px 7px 0 rgba(17,19,21,.07); }
.tag, .tool-cloud span { border-color: #bfc1bf; }
.form-notice { background: #fff0f0; color: #7f1014; }

@media (max-width: 1000px) {
  .home-shell { grid-template-columns: 1fr; }
  .home-copy { position: static; }
  .home-actions { max-width: 800px; }
  .brand-stage { margin-top: 0; }
}
@media (max-width: 720px) {
  :root { --header: 140px; }
  .brand { width: 190px; height: 64px; margin-inline: auto; }
  .main-nav a { font-size: .82rem; letter-spacing: .06em; }
  .brand-stage { aspect-ratio: 3 / 2; }
  .portal-card { min-height: 155px; }
}
@media (max-width: 450px) {
  .main-nav a { font-size: .75rem; letter-spacing: .035em; }
  .brand-stage > img { object-position: 58% 42%; transform: scale(1.16); }
}

/* Accueil éditorial */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 118px) 0;
}
.home-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12vw;
  width: 48vw;
  height: 100%;
  border-left: 1px solid rgba(215,25,32,.14);
  background: linear-gradient(145deg, transparent 30%, rgba(215,25,32,.045));
  transform: skewX(-14deg);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(480px,1.08fr);
  align-items: center;
  gap: clamp(48px,7vw,105px);
}
.hero-copy .display {
  max-width: 740px;
  margin-bottom: 27px;
  font-size: clamp(3.35rem,4.8vw,5.5rem);
  line-height: .9;
}
.hero-copy .lede { max-width: 620px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn.secondary { border-color: #a8aaa8; background: #fff; }
.btn.secondary:hover { border-color: var(--accent); background: #fff7f7; }
.hero-project-board {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  grid-template-rows: 1fr 1fr auto;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #2f3132;
  background: #111315;
  box-shadow: 16px 16px 0 rgba(17,19,21,.07);
}
.hero-project {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-left: 1px solid #fff;
  color: #fff;
  text-decoration: none;
}
.hero-project + .hero-project { border-top: 1px solid #fff; }
.hero-project--main {
  grid-row: 1 / 3;
  min-height: 480px;
  border-left: 0;
  border-right: 1px solid #fff;
}
.hero-project img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .35s ease;
}
.hero-project--main img { object-position: 50% 50%; }
.hero-project:nth-child(2) img { object-position: 50% 58%; }
.hero-project:nth-child(3) img { object-position: 50% 45%; }
.hero-project:hover img { transform: scale(1.035); filter: contrast(1.05); }
.hero-project > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 17px 18px;
  background: linear-gradient(transparent, rgba(10,12,13,.92));
}
.hero-project strong { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.hero-project small { color: rgba(255,255,255,.82); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.hero-board-caption {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 17px;
  background: #111315;
  color: #fff;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.proof-strip { border-block: 1px solid var(--line); background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.proof-grid > div { min-height: 142px; padding: 31px 28px; border-right: 1px solid var(--line); }
.proof-grid > div:first-child { border-left: 1px solid var(--line); }
.proof-grid strong { display: block; margin-bottom: 8px; font-size: 1.35rem; letter-spacing: -.035em; }
.proof-grid span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: clamp(40px,6vw,72px);
}
.section-heading .section-title { margin-bottom: 0; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.services-section { background: #f2f2ef; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #cfd0cc; border-left: 1px solid #cfd0cc; }
.service-card { min-height: 310px; padding: 30px 27px; border-right: 1px solid #cfd0cc; border-bottom: 1px solid #cfd0cc; background: rgba(255,255,255,.54); }
.service-card > span { color: var(--accent); font-size: .74rem; font-weight: 800; letter-spacing: .14em; }
.service-card h3 { margin: 72px 0 18px; font-size: clamp(1.45rem,2.1vw,2.1rem); letter-spacing: -.045em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.featured-section { background: #fff; }
.text-link { padding-bottom: 5px; border-bottom: 2px solid var(--accent); text-decoration: none; font-weight: 700; }
.featured-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.featured-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.featured-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 9px 9px 0 rgba(17,19,21,.08); }
.featured-card--wide { grid-row: span 2; grid-template-columns: 1fr; }
.featured-card img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; background: #bbbdbd; }
.featured-card--wide img { height: 430px; }
.featured-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px,3vw,38px); }
.featured-copy span { color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.featured-copy h3 { margin: 13px 0 12px; font-size: clamp(1.7rem,3vw,3rem); letter-spacing: -.055em; line-height: 1; }
.featured-copy p { margin: 0; color: var(--muted); line-height: 1.55; }
.home-process { background: #111315; color: #fff; }
.process-callout { display: grid; grid-template-columns: 1fr 1.15fr auto; align-items: center; gap: clamp(35px,6vw,85px); }
.process-callout h2 { max-width: 530px; margin: 15px 0 0; font-size: clamp(2.25rem,4.5vw,4.5rem); line-height: .98; letter-spacing: -.065em; text-transform: uppercase; }
.process-callout ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid #4a4d4e; }
.process-callout li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid #4a4d4e; }
.process-callout li strong { color: var(--accent); }
.process-callout .btn { white-space: nowrap; }
.footer-main { display: flex; justify-content: space-between; gap: 35px; padding: 42px 0 30px; }
.footer-main > div { display: flex; flex-direction: column; gap: 7px; }
.footer-main strong { font-size: 1.2rem; }
.footer-main span { color: var(--muted); }
.footer-main nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-main a { text-decoration: none; font-weight: 650; }
.footer-main a:hover { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.consent a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* Confidentialité */
.compact-hero { padding-block: clamp(65px,8vw,105px); }
.legal-layout { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: clamp(48px,8vw,120px); align-items: start; }
.legal-summary { position: sticky; top: calc(var(--header) + 35px); padding: 30px; border: 1px solid var(--line); background: var(--panel); box-shadow: 7px 7px 0 rgba(17,19,21,.07); }
.legal-summary > p { color: var(--muted); line-height: 1.65; }
.legal-summary dl { margin: 26px 0 0; }
.legal-summary dl div { padding: 15px 0; border-top: 1px solid var(--line); }
.legal-summary dt { margin-bottom: 5px; color: var(--accent); font-size: .72rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.legal-summary dd { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.legal-summary a, .legal-content a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal-summary .status-note { margin: 25px 0 0; padding: 16px; border-left: 3px solid var(--accent); background: var(--panel-2); font-size: .88rem; }
.legal-content { max-width: 820px; }
.legal-content section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 15px; font-size: clamp(1.55rem,2.6vw,2.35rem); letter-spacing: -.045em; }
.legal-content p { margin: 0 0 14px; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.legal-update { color: #5b5e5f; font-size: .84rem; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-project-board { max-width: 820px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-grid > div:nth-child(odd) { border-left: 1px solid var(--line); }
  .proof-grid > div { border-bottom: 1px solid var(--line); }
  .process-callout { grid-template-columns: 1fr 1fr; }
  .process-callout .btn { width: fit-content; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; }
}
@media (max-width: 760px) {
  .hero-copy .display { font-size: clamp(3rem,14vw,5.3rem); }
  .hero-buttons .btn { flex: 1 1 220px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card, .featured-card--wide { grid-row: auto; grid-template-columns: 1fr; }
  .featured-card img, .featured-card--wide img { height: 300px; min-height: 0; }
  .process-callout { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .creation-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .home-hero { padding-top: 46px; }
  .proof-grid, .services-grid { grid-template-columns: 1fr; }
  .proof-grid > div, .proof-grid > div:first-child, .proof-grid > div:nth-child(odd) { border-left: 1px solid var(--line); }
  .service-card { min-height: 250px; }
  .service-card h3 { margin-top: 48px; }
  .hero-project-board { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .hero-project--main { grid-column: 1 / -1; grid-row: auto; min-height: 330px; border-right: 0; border-bottom: 1px solid #fff; }
  .hero-project { min-height: 220px; }
  .hero-project:nth-child(2) { border-left: 0; }
  .hero-project:nth-child(3) { border-top: 0; }
  .hero-board-caption { flex-direction: column; }
  .footer-main nav { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Cinq entrées de navigation */
@media (max-width: 720px) {
  .main-nav { grid-template-columns: repeat(5, 1fr); gap: 2px; }
  .main-nav a { font-size: .68rem; letter-spacing: .025em; }
}
@media (max-width: 450px) {
  .main-nav a { font-size: .58rem; letter-spacing: 0; }
}

/* Espace photo */
.photo-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 90px); }
.photo-note { background: var(--panel-2); border-top: 1px solid var(--line); }
.photo-series-section { border-top: 1px solid var(--line); }
.photo-series-section--dark { background: #111315; color: #f6f5f0; }
.photo-series-section--dark .eyebrow,
.photo-series-section--dark .lede { color: #b9bcb9; }
.photo-series-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 68px);
}
.photo-series-heading .section-title { margin-bottom: 0; }
.photo-series-heading .lede { max-width: 520px; margin: 0; }
.photo-portfolio { columns: 3; column-gap: clamp(10px, 1.2vw, 18px); }
.photo-portfolio-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(10px, 1.2vw, 18px);
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 0;
  background: #17191a;
  cursor: zoom-in;
}
.photo-portfolio-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .45s ease, filter .35s ease;
}
.photo-portfolio-item:hover img,
.photo-portfolio-item:focus-visible img { transform: scale(1.025); filter: contrast(1.035); }
.photo-portfolio-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.photo-portfolio-item--managed::after,
.image-lightbox-shell.is-managed-photo::after {
  content: "felz car";
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  color: rgba(255,255,255,.78);
  font-size: clamp(.58rem, .9vw, .78rem);
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-shadow: 0 1px 7px rgba(0,0,0,.85);
  pointer-events: none;
}
.image-lightbox-shell.is-managed-photo::after { right: 24px; bottom: 20px; }
.photo-portfolio-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 80px 12px 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  font-size: .8rem;
  text-align: left;
  pointer-events: none;
}
.photo-credit {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #8f9391;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 11px 15px;
  border: 1px solid rgba(18,20,21,.2);
  color: var(--ink);
  font-size: .72rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.instagram-link span { color: var(--muted); }
.instagram-link strong { font-weight: 780; }
.instagram-link:hover,
.instagram-link:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}
.instagram-link:hover span,
.instagram-link:focus-visible span { color: rgba(255,255,255,.68); }
.instagram-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (min-width: 721px) and (max-width: 1100px) { .main-nav { gap: 16px; } .main-nav a { font-size: .8rem; letter-spacing: .03em; } }
@media (max-width: 900px) { .photo-portfolio { columns: 2; } }
@media (max-width: 720px) {
  .main-nav { grid-template-columns: repeat(3, 1fr); }
  .main-nav a { font-size: .75rem; }
  .photo-intro,
  .photo-series-heading { grid-template-columns: 1fr; }
  .photo-portfolio { columns: 1; }
  .photo-credit { align-items: flex-start; flex-direction: column; gap: 8px; }
  .project-photo-pair { grid-template-columns: 1fr; }
}
