/* ==========================================================
   AB Lines Hofman: "Production line" visual direction
   Ink + sea teal + mist, with signal amber used sparingly.
   Type: Archivo (wide, heavy headlines) + Instrument Sans.
   ========================================================== */

:root {
  --ink: #0E2229;
  --ink-2: #16333C;
  --ink-deep: #09181D;
  --sea: #1B5E6B;
  --sea-light: #2A7C8B;
  --mist: #DCE7E2;
  --chalk: #F4F6F3;
  --paper: #FFFFFF;
  --amber: #F2B632;
  --amber-hover: #FFC84D;
  --text: #1B2B31;
  --muted: #51656C;
  --muted-on-ink: #A9BDC3;
  --line: rgba(14, 34, 41, .16);
  --line-on-ink: rgba(244, 246, 243, .18);
  --error: #B3261E;

  --head: Archivo, "Arial Narrow", Arial, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--chalk);
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--head);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
}

p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
address { font-style: normal; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; }
.hero :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible { outline-color: var(--amber); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--amber); color: var(--ink);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1320px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section { padding-block: clamp(72px, 9vw, 136px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-hover); }
.btn-ghost { border-color: rgba(244, 246, 243, .5); color: var(--chalk); }
.btn-ghost:hover { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.btn-sm { padding: 12px 20px; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--chalk);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 34, 41, .08); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: var(--ink); color: var(--amber);
  font: 800 1.15rem/1 var(--head);
  font-stretch: 112%;
  border-radius: 2px 14px 2px 2px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 700 1.1rem/1.15 var(--head); letter-spacing: -.01em; }
.brand-text small { font-size: .8rem; color: var(--muted); }

.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav ul { display: flex; gap: 28px; }
.primary-nav ul a {
  text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: 6px 0;
  background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 3px no-repeat;
  transition: background-size .25s;
}
.primary-nav ul a:hover,
.primary-nav ul a[aria-current="true"] { background-size: 100% 3px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: transparent; border: 1.5px solid var(--line); border-radius: 3px;
  cursor: pointer; position: relative;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  position: absolute; left: 12px; width: 20px; height: 2px;
  background: var(--ink); content: "";
  transition: transform .25s, opacity .25s;
}
.nav-toggle .bars { top: 22px; }
.nav-toggle .bars::before { top: -7px; left: 0; }
.nav-toggle .bars::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(244, 246, 243, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 246, 243, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--chalk);
  padding-top: clamp(56px, 8vw, 112px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.1vw, 4.6rem);
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.02;
  letter-spacing: -.025em;
  max-width: 14ch;
  max-width: 15.5ch;
}

.hero-lead {
  max-width: 56ch;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: #D3DFDC;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin: 22px 0 0; color: var(--muted-on-ink); font-size: .98rem; }
.hero-note a { color: var(--chalk); text-underline-offset: 3px; }

/* Label panel: reads like a shipping label stuck to the page */
.label-panel {
  background: var(--chalk);
  color: var(--text);
  border-radius: 6px;
  overflow: hidden;
  transform: rotate(1.4deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  transition: transform .4s ease;
}
.label-panel:hover { transform: rotate(0deg); }

.hazard {
  height: 16px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, var(--ink) 12px 24px);
}
.label-body { padding: 24px 28px 26px; }
.label-title { font: 700 1.2rem/1.2 var(--head); margin: 0 0 6px; }
.label-panel dl > div { padding: 12px 0; border-bottom: 1px dashed rgba(14, 34, 41, .3); }
.label-panel dt { font-size: .82rem; color: var(--muted); }
.label-panel dd { font-weight: 600; font-size: .98rem; line-height: 1.4; }
.label-panel a { text-underline-offset: 3px; }
.barcode {
  height: 46px; margin-top: 20px;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 5px,
    var(--ink) 5px 6px, transparent 6px 10px,
    var(--ink) 10px 13px, transparent 13px 15px);
}

/* Conveyor: the one moving element on the page */
.conveyor { margin-top: clamp(48px, 6vw, 88px); position: relative; }
.track { display: flex; width: max-content; animation: belt 70s linear infinite; }
.half { display: flex; align-items: flex-end; flex: none; }
.unit { flex: none; margin-right: clamp(56px, 8vw, 120px); }
.unit svg { height: auto; }

.c1 { --body: #2A7C8B; --cap: #F2B632; --label: #F4F6F3; }
.c2 { --body: #F2B632; --cap: #0E2229; --label: #F4F6F3; }
.c3 { --body: #DCE7E2; --cap: #1B5E6B; --label: #FFFFFF; }
.c4 { --body: #E9EEEA; --cap: #2A7C8B; --label: #FFFFFF; }

.rail {
  height: 20px;
  background:
    radial-gradient(circle at 50% 55%, #3C6A75 0 5px, transparent 6px) 0 0 / 36px 20px repeat-x,
    var(--ink-2);
  border-top: 3px solid #2B4A54;
}

@keyframes belt { to { transform: translateX(-50%); } }

/* Hero load sequence (runs once) */
.hero h1, .hero-lead, .hero-actions, .hero-note { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-lead { animation-delay: .12s; }
.hero-actions { animation-delay: .22s; }
.hero-note { animation-delay: .3s; }
.label-panel { animation: label-in .9s cubic-bezier(.2, .7, .2, 1) .25s both; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes label-in {
  from { opacity: 0; transform: translateY(40px) rotate(4deg); }
  to { opacity: 1; transform: translateY(0) rotate(1.4deg); }
}

/* ---------- Fact strip ---------- */
.facts { background: var(--chalk); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { font: 700 1.15rem/1.3 var(--head); }
.fact span { color: var(--muted); font-size: .95rem; }
.fact a { text-underline-offset: 3px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.about-side { position: sticky; top: calc(var(--header-h) + 32px); }
.about h2, .section-head h2, .faq h2, .contact h2 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 700;
  font-stretch: 106%;
}

.profile { margin-top: 40px; border-top: 2px solid var(--ink); }
.profile > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; }
.profile dt { color: var(--muted); font-size: .95rem; }
.profile dd { font-weight: 600; }
.profile a { text-underline-offset: 3px; }

.about-main p { max-width: 68ch; }
.about-main .lead { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.5; color: var(--ink); font-weight: 500; }

.audience { margin-top: 56px; padding: clamp(28px, 4vw, 48px); background: var(--mist); border-radius: 0 32px 0 0; }
.audience h3 { font-size: 1.5rem; margin-bottom: 8px; }
.audience-item { padding: 22px 0 4px; border-top: 1px solid rgba(14, 34, 41, .22); margin-top: 22px; }
.audience-item:first-of-type { margin-top: 20px; }
.audience-item h4 { font-size: 1.15rem; margin-bottom: 6px; }
.audience-item p { margin: 0 0 14px; color: #34484F; }

/* ---------- Services ---------- */
.services { background: var(--paper); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.1rem; max-width: 52ch; }

.group-title {
  display: flex; align-items: center; gap: 20px;
  font-size: 1.35rem; font-weight: 700;
  margin: 56px 0 8px;
}
.group-title:first-of-type { margin-top: 0; }
.group-title::after { content: ""; flex: 1; height: 3px; background: var(--ink); }

.service {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, .95fr);
  gap: 20px clamp(20px, 3vw, 44px);
  align-items: start;
  padding: 38px 20px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color .3s;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--amber); transform: scaleY(0); transform-origin: top;
  transition: transform .3s;
}
.service:hover { background-color: #F1F6F3; }
.service:hover::before { transform: scaleY(1); }

.service-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  background: var(--mist); color: var(--sea);
  border-radius: 2px 16px 2px 2px;
  transition: background-color .3s, color .3s;
}
.service:hover .service-icon { background: var(--ink); color: var(--amber); }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.service h4 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 700; padding-top: 4px; }
.service p { margin: 0; color: #34484F; }
.service-points { display: grid; gap: 8px; font-size: .96rem; font-weight: 500; }
.service-points li { padding-left: 22px; position: relative; }
.service-points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 6px;
  border-left: 2px solid var(--sea); border-bottom: 2px solid var(--sea);
  transform: rotate(-45deg);
}

/* ---------- Process ---------- */
.process { background: var(--mist); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); counter-reset: none; }
.steps li { position: relative; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 72px; right: -16px;
  border-top: 2px dashed var(--sea);
}
.step-no {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  background: var(--ink); color: var(--amber);
  font: 800 1.35rem/1 var(--head);
  border-radius: 50%;
  margin-bottom: 24px;
}
.steps h3 { font-size: 1.35rem; margin-bottom: 10px; }
.steps p { color: #34484F; margin: 0; max-width: 32ch; }

/* ---------- Benefits (bento) ---------- */
.benefits { background: var(--chalk); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.b { padding: clamp(26px, 3vw, 40px); }
.b h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); margin-bottom: 12px; }
.b p { margin: 0; }
.b p + p { margin-top: 1em; }

.b-main {
  grid-column: span 3; grid-row: span 2;
  background: var(--ink); color: var(--chalk);
  border-radius: 0 56px 0 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px;
}
.b-main h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; font-stretch: 108%; line-height: 1.05; max-width: 14ch; }
.b-main p { color: #C9D8D5; max-width: 46ch; }

.b-flex { grid-column: span 3; background: var(--paper); border-left: 5px solid var(--amber); }
.b-docs { grid-column: span 3; background: var(--mist); border-radius: 0 0 28px 0; }
.b-direct { grid-column: span 3; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 28px 0 0 0; }
.b-place { grid-column: span 3; background: var(--sea); color: var(--chalk); }
.b-flex p, .b-docs p, .b-direct p { color: #34484F; }
.b-place p { color: #DCE9E7; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq-intro { margin-top: 24px; color: var(--muted); max-width: 40ch; }
.faq-intro a { color: var(--ink); text-underline-offset: 3px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font: 600 1.15rem/1.35 var(--head);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--mist); color: var(--ink);
  font: 500 1.5rem/1 var(--body);
  border-radius: 50%;
  transition: transform .25s, background-color .25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--amber); }
.faq-list details p { margin: 0 0 26px; color: #34484F; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--chalk); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.contact-lead { margin-top: 24px; color: #C9D8D5; font-size: 1.15rem; max-width: 44ch; }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line-on-ink); }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid var(--line-on-ink); display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; }
.contact-list dt { color: var(--muted-on-ink); font-size: .95rem; }
.contact-list dd { font-weight: 500; }
.contact-list a { text-underline-offset: 3px; }

.contact-form {
  background: var(--chalk); color: var(--text);
  padding: clamp(26px, 3.5vw, 48px);
  border-radius: 0 40px 0 0;
}
.contact-form h3 { font-size: 1.6rem; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.req { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--body);
  color: var(--text);
  background: var(--paper);
  border: 1.5px solid #9FB2B5;
  border-radius: 3px;
  padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(27, 94, 107, .25);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.error { color: var(--error); font-size: .88rem; font-weight: 500; margin: 6px 0 0; min-height: 0; }
.error:empty { display: none; }

.field-check { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--sea); }
.field-check label { margin: 0; font-weight: 400; font-size: .95rem; }
.field-check .error { grid-column: 2; }

.contact-form .btn { width: 100%; padding-block: 18px; }
.contact-form .btn-primary { background: var(--ink); color: var(--chalk); }
.contact-form .btn-primary:hover { background: var(--sea); }
.form-status { margin: 16px 0 0; font-weight: 500; font-size: .98rem; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--sea); }
.form-status.fail { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--muted-on-ink); padding-top: clamp(56px, 7vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); padding-bottom: 56px; }
.footer-brand .brand { color: var(--chalk); }
.footer-brand .brand-text small { color: var(--muted-on-ink); }
.footer-brand p { margin: 20px 0 0; max-width: 32ch; }
.site-footer h2 { font: 700 1.05rem/1.2 var(--head); color: var(--chalk); margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul.plain li { line-height: 1.5; }
.site-footer a { text-underline-offset: 3px; }
.site-footer ul a { text-decoration: none; }
.site-footer a:hover { color: var(--chalk); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line-on-ink);
  padding-block: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .primary-nav { gap: 24px; }
  .primary-nav ul { gap: 20px; }
  .service { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr); }
  .service-points { grid-column: 2 / -1; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--chalk);
    padding: 12px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(14, 34, 41, .1);
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); background: none; font-size: 1.1rem; }
  .primary-nav .btn { width: 100%; }

  .hero-grid, .about-grid, .section-head, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .label-panel { transform: none; max-width: 520px; animation-name: rise; }
  .label-panel:hover { transform: none; }
  .about-side { position: static; }
  .section-head { align-items: start; }

  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps li:nth-child(2)::after { display: none; }

  .b-main { grid-column: span 6; grid-row: auto; min-height: 340px; }
  .b-flex, .b-docs, .b-direct, .b-place { grid-column: span 3; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-text small { display: none; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact:first-child, .fact:nth-child(3) { border-left: 0; padding: 20px 0; }
  .fact:nth-child(n+2) { border-top: 1px solid var(--line); }

  .profile > div, .contact-list > div { grid-template-columns: 1fr; gap: 2px; }

  .service { grid-template-columns: 1fr; padding: 30px 4px; }
  .service-points { grid-column: auto; }

  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps li { padding-left: 74px; }
  .steps li .step-no { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li:not(:last-child)::after {
    top: 62px; bottom: -30px; left: 26px; right: auto; border-top: 0; border-left: 2px dashed var(--sea);
  }
  .steps li:nth-child(2)::after { display: block; }

  .b-flex, .b-docs, .b-direct, .b-place { grid-column: span 6; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
