/* FlowBOM — drawing-sheet design system
   Sheet = cool white paper, Ink = navy line work, Flow orange = callouts only. */
:root {
  --sheet: #F6F8FA;
  --paper: #FFFFFF;
  --ink: #13213B;
  --ink-2: #44526B;
  --line: #8C98AC;
  --grid: #DCE2EA;
  --flow: #EF6206;
  --flow-dark: #C24E02;
  --link: #2450A0;

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Public Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sheet);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--flow); outline-offset: 3px; }

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

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; font-stretch: 112%; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36em; }
.label {
  font: 500 0.72rem/1.4 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.label--flow { color: var(--flow-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em; white-space: nowrap;
  font: 600 0.98rem/1 var(--f-body);
  text-decoration: none;
  padding: 1em 1.4em;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--ink); color: #fff;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--flow); border-color: var(--flow); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 248, 250, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--grid);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.wordmark {
  display: inline-flex; align-items: baseline; gap: 6px;
  text-decoration: none; color: var(--ink);
  font: 800 1.45rem/1 var(--f-display); font-stretch: 125%;
}
.wordmark b {
  font: 600 0.78rem/1 var(--f-mono); letter-spacing: 0.06em;
  border: 1.5px solid var(--flow); color: var(--flow-dark);
  padding: 3px 5px 2px; transform: translateY(-2px);
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--flow-dark); }
.nav .btn { padding: 0.75em 1.1em; font-size: 0.92rem; }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
}

/* ---------- hero: the drawing sheet ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.hero .wrap {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: center;
}
.hero h1 { margin: 14px 0 22px; }
.hero h1 em { font-style: normal; color: var(--flow); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.sheet {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 26px 26px 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.sheet::before { /* inner border, like a drawing frame */
  content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none;
}
.zones { position: absolute; font: 500 9px/1 var(--f-mono); color: var(--line); display: flex; }
.zones--top { top: -15px; left: 0; right: 0; justify-content: space-around; }
.zones--left { left: -14px; top: 0; bottom: 0; flex-direction: column; justify-content: space-around; }
.drawing { width: 100%; height: auto; display: block; position: relative; }

.drawing .part { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.drawing .hidden { fill: none; stroke: var(--ink-2); stroke-width: 1.2; stroke-dasharray: 6 4; }
.drawing .center { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 18 4 3 4; }
.drawing .dim { fill: none; stroke: var(--link); stroke-width: 1; }
.drawing .dim-text { fill: var(--link); font: 500 12px var(--f-mono); }
.drawing .hatch { fill: url(#hatch); stroke: none; }
.drawing .balloon circle { fill: var(--paper); stroke: var(--flow); stroke-width: 1.6; }
.drawing .balloon line { stroke: var(--flow); stroke-width: 1.2; }
.drawing .balloon text { fill: var(--flow-dark); font: 600 12px var(--f-mono); text-anchor: middle; }

/* draw-in on load */
.js .drawing .part, .js .drawing .hidden { stroke-dasharray: var(--len, 1400); stroke-dashoffset: var(--len, 1400); animation: draw 1.6s cubic-bezier(.6,.1,.3,1) forwards; }
.js .drawing .hidden { animation-delay: .9s; }
.js .drawing .dims, .js .drawing .balloon, .js .drawing .hatch { opacity: 0; animation: fade .6s ease-out forwards; animation-delay: 1.5s; }
.js .drawing .balloon { animation-delay: 1.9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.js .drawing .hidden.done { stroke-dasharray: 6 4; stroke-dashoffset: 0; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .js .drawing .part, .js .drawing .hidden, .js .drawing .dims, .js .drawing .balloon, .js .drawing .hatch { animation: none; opacity: 1; stroke-dashoffset: 0; }
  .js .drawing .hidden { stroke-dasharray: 6 4; }
}

/* title block — reused in hero and footer */
.titleblock {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--ink);
  margin: 18px -26px 0;
  background: var(--paper);
  position: relative;
}
.titleblock > div { padding: 10px 12px 11px; border-right: 1px solid var(--line); min-width: 0; }
.titleblock > div:last-child { border-right: 0; }
.titleblock .label { display: block; font-size: 0.62rem; margin-bottom: 3px; }
.titleblock strong { font: 600 0.9rem/1.3 var(--f-mono); display: block; }
@media (max-width: 560px) {
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock > div:nth-child(2) { border-right: 0; }
  .titleblock > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--grid); }
.section--paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 56px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .label { display: block; margin-bottom: 14px; }
.section-head p { margin: 0; color: var(--ink-2); }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }
.section-head--wide { grid-template-columns: 1fr; }
.section-head--wide h2 { max-width: 22em; }

/* process: balloons, because it is a real sequence */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.process::before { content: ""; position: absolute; top: 21px; left: 22px; right: 10%; border-top: 1.5px dashed var(--line); }
.process li { position: relative; padding-right: 20px; }
.balloon-num {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--flow); background: var(--sheet); color: var(--flow-dark);
  display: grid; place-items: center;
  font: 600 1rem/1 var(--f-mono);
  margin-bottom: 20px; position: relative;
}
.section--paper .balloon-num { background: var(--paper); }
.process h3 { margin-bottom: 8px; }
.process p { font-size: 0.95rem; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { top: 22px; bottom: 22px; left: 21px; right: auto; border-top: 0; border-left: 1.5px dashed var(--line); }
  .process li { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding: 0 0 28px; }
  .process li:last-child { padding-bottom: 0; }
  .balloon-num { margin: 0; grid-row: span 2; }
}

/* capabilities: a two-column spec table */
.spec { border: 1.5px solid var(--ink); background: var(--paper); }
.spec-row { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--grid); }
.spec-row:first-child { border-top: 0; }
.spec-row > * { padding: 18px 22px; margin: 0; }
.spec-row dt { font: 500 0.75rem/1.5 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); border-right: 1px solid var(--grid); background: var(--sheet); }
.spec-row dd { font-size: 1rem; }
.spec-row dd strong { font-family: var(--f-display); font-stretch: 112%; font-size: 1.1rem; }
@media (max-width: 640px) {
  .spec-row { grid-template-columns: 1fr; }
  .spec-row dt { border-right: 0; border-bottom: 1px solid var(--grid); padding-top: 12px; padding-bottom: 10px; }
}

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1.5px solid var(--ink); }
.reasons > div { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--grid); }
.reasons > div:nth-child(odd) { border-right: 1px solid var(--grid); }
.reasons > div:nth-child(even) { padding-left: 32px; padding-right: 0; }
.reasons h3 { margin-bottom: 10px; }
.reasons p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) {
  .reasons { grid-template-columns: 1fr; }
  .reasons > div, .reasons > div:nth-child(even) { padding: 24px 0; border-right: 0; }
  .reasons > div:nth-child(odd) { border-right: 0; }
}

/* photos as detail views: a fixed mosaic, 4 columns by 3 rows */
.views { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 16.5vw, 210px); grid-auto-flow: dense; gap: 12px; }
.view { position: relative; margin: 0; border: 1.5px solid var(--ink); background: var(--paper); overflow: hidden; min-height: 0; }
.view img { width: 100%; height: 100%; object-fit: cover; }
.t-lead { grid-column: span 2; grid-row: span 2; }
.t-wide { grid-column: span 2; }
.t-tall { grid-row: span 2; }
@media (max-width: 760px) {
  .views { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 10px; }
  .t-lead { grid-row: span 1; }
}

/* who it is for */
.fit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1.5px solid var(--ink); }
.fit > div { padding: 24px 24px 24px 0; }
.fit > div + div { padding-left: 24px; border-left: 1px solid var(--grid); }
.fit h3 { margin-bottom: 8px; }
.fit p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .fit { grid-template-columns: 1fr 1fr; }
  .fit > div, .fit > div + div { padding: 22px 20px 22px 0; border-left: 0; border-bottom: 1px solid var(--grid); }
  .fit > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--grid); }
}
@media (max-width: 520px) {
  .fit { grid-template-columns: 1fr; }
  .fit > div:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* parent company */
.parent { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.parent img { width: 200px; }
.parent p { margin: 0 0 .8em; max-width: 44em; color: var(--ink-2); }
.parent p:first-of-type { color: var(--ink); font-size: 1.1rem; }
@media (max-width: 700px) { .parent { grid-template-columns: 1fr; gap: 20px; } .parent img { width: 160px; } }

/* faq */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--grid); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.3rem/1 var(--f-mono); color: var(--flow); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* closing call to action */
.cta-band { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 84px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-band h2 { max-width: 16em; }
.cta-band p { color: #C3CBD8; margin: 12px 0 0; max-width: 34em; }
.cta-band .btn { background: var(--flow); border-color: var(--flow); }
.cta-band .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); border-top: 1.5px solid var(--ink); padding: 0 0 28px; font-size: 0.92rem; }
.site-footer .titleblock { margin: 0; border-top: 0; border-bottom: 1px solid var(--line); }
.site-footer .titleblock > div:first-child { padding-left: 0; }
.site-footer .titleblock a { color: var(--ink); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; color: var(--ink-2); }
.footer-meta a { color: var(--ink-2); }
@media (max-width: 560px) { .site-footer .titleblock > div:nth-child(3) { padding-left: 0; } }

/* ---------- quote form ---------- */
.page-head { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 12px 0 16px; }
.quote-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }

.form { border: 1.5px solid var(--ink); background: var(--paper); }
.form fieldset { border: 0; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.form fieldset:first-of-type { border-top: 0; }
.form legend {
  float: left; width: 100%;
  padding: 10px 18px; margin: 0;
  background: var(--sheet); border-bottom: 1px solid var(--grid);
  font: 600 0.75rem/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
}
.form legend span { color: var(--flow-dark); margin-right: 8px; }
.fields { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--grid); }
.field { padding: 14px 18px 16px; background: var(--paper); min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label-text { display: block; font: 500 0.72rem/1.4 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--line); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field input[type=number], .field input[type=date], .field textarea, .field select {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  border: 0; border-bottom: 1.5px solid var(--line); background: transparent;
  padding: 6px 0 7px; border-radius: 0;
}
.field textarea { min-height: 110px; resize: vertical; border: 1.5px solid var(--line); padding: 10px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--flow); }
.field .hint { font-size: 0.83rem; color: var(--ink-2); margin: 6px 0 0; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }

.dropzone {
  display: block; position: relative;
  border: 1.5px dashed var(--line); background: var(--sheet);
  padding: 22px 18px; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--flow); background: #FFF6EF; }
/* native input sits over the whole zone — works in in-app browsers, never triggered via JS */
.dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.field label.dropzone { font: 400 1rem/1.4 var(--f-body); text-transform: none; letter-spacing: 0; color: var(--ink); margin: 0; }
.dropzone strong { display: block; font-weight: 600; }
.dropzone span { font-size: 0.85rem; color: var(--ink-2); }
.file-slots { display: grid; gap: 10px; }
.file-name { font: 500 0.82rem/1.3 var(--f-mono); color: var(--ink); margin-top: 6px; word-break: break-all; }
.size-meter { font: 500 0.78rem/1.4 var(--f-mono); color: var(--ink-2); margin-top: 10px; }
.size-meter.is-over { color: #B42318; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--flow); flex: none; }

.form-foot { border-top: 1.5px solid var(--ink); padding: 18px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot p { margin: 0; font-size: 0.85rem; color: var(--ink-2); max-width: 30em; }
.form-error { color: #B42318; font-size: 0.9rem; margin: 0; padding: 0 18px 16px; }
.hp { position: absolute; left: -9999px; }

.aside { border-left: 1.5px solid var(--ink); padding-left: 24px; }
.aside h2 { font-size: 1.25rem; font-stretch: 112%; margin-bottom: 14px; }
.aside ol { margin: 0 0 28px; padding-left: 1.2em; color: var(--ink-2); font-size: 0.95rem; }
.aside li { margin-bottom: 8px; }
.aside p { font-size: 0.95rem; color: var(--ink-2); }
@media (max-width: 960px) { .aside { border-left: 0; border-top: 1.5px solid var(--ink); padding: 24px 0 0; } }

/* simple text pages */
.prose { max-width: 720px; padding-bottom: clamp(56px, 8vw, 96px); }
.prose h2 { font-size: 1.3rem; font-stretch: 112%; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }

.field label.check { display: flex; text-transform: none; letter-spacing: 0; font: 400 0.95rem/1.5 var(--f-body); color: var(--ink); margin: 0; }
.form .choices { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.form .choices legend { float: none; width: auto; padding: 0; background: none; border: 0; margin-bottom: 4px; display: block; font: 500 0.72rem/1.4 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.choices strong { font-weight: 600; }
.field .check input[type=radio] { accent-color: var(--flow); }

/* ---------- engineering center additions ---------- */
.wordmark b { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 420px) { .wordmark { font-size: 1.25rem; } .wordmark b { font-size: 0.56rem; letter-spacing: 0.02em; padding: 3px 4px 2px; } .nav .btn { padding: 0.7em 0.9em; font-size: 0.88rem; } }

.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.route { border: 1.5px solid var(--ink); background: var(--paper); padding: 28px 30px 26px; display: flex; flex-direction: column; }
.route h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-stretch: 118%; margin: 10px 0 12px; }
.route > p { color: var(--ink-2); margin-bottom: 22px; }
.route dl { margin: auto 0 0; border-top: 1px solid var(--grid); display: grid; grid-template-columns: 110px 1fr; }
.route dt, .route dd { margin: 0; padding: 12px 0 0; }
.route dt { font: 500 0.7rem/1.6 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.route dd { font-size: 0.95rem; }
@media (max-width: 760px) { .routes { grid-template-columns: 1fr; } .route { padding: 22px 20px; } }

@media (min-width: 961px) { .process--6 { grid-template-columns: repeat(6, 1fr); } .process--6 p { font-size: 0.9rem; } }
@media (max-width: 1100px) and (min-width: 961px) { .process--6 li { padding-right: 14px; } }

.release { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.release .label { display: block; margin-bottom: 14px; }
.release h2 { margin-bottom: 20px; }
.release p:not(.lede) { color: var(--ink-2); max-width: 36em; }
.stamp {
  justify-self: center;
  width: min(100%, 340px); aspect-ratio: 1.45;
  border: 4px double var(--flow); color: var(--flow-dark);
  display: grid; place-content: center; text-align: center; gap: 6px;
  transform: rotate(-6deg);
  background: repeating-linear-gradient(-6deg, transparent 0 14px, rgba(239, 98, 6, 0.04) 14px 15px);
}
.stamp span { display: block; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .12em; }
.stamp-top, .stamp-sign { font-size: 0.68rem; font-weight: 500; }
.stamp .stamp-main { font: 800 2.6rem/1 var(--f-display); font-stretch: 125%; letter-spacing: .04em; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; padding: 8px 6px; margin: 4px 0; }
.stamp-sub { font-size: 0.78rem; font-weight: 600; }
@media (max-width: 800px) { .release { grid-template-columns: 1fr; gap: 36px; } .stamp { width: min(100%, 280px); } }

/* single photos placed inside a section */
.photo { display: block; width: 100%; border: 1.5px solid var(--ink); }
.photo--band { margin-top: 24px; }
.with-photo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.with-photo--flip { grid-template-columns: 1fr 1.15fr; }
.with-photo .parent { grid-template-columns: 1fr; gap: 24px; }
.with-photo .fit { grid-template-columns: 1fr 1fr; }
.with-photo .fit > div, .with-photo .fit > div + div { padding: 22px 20px 22px 0; border-left: 0; border-bottom: 1px solid var(--grid); }
.with-photo .fit > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--grid); }
@media (max-width: 960px) {
  .with-photo, .with-photo--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .with-photo--flip .photo { order: 1; }
}
@media (max-width: 520px) {
  .with-photo .fit { grid-template-columns: 1fr; }
  .with-photo .fit > div:nth-child(even) { padding-left: 0; border-left: 0; }
}
