/* ARC IT — home page ("Front Page Redesign 5a").
   Full-bleed photographic hero, ruled benefit strip, walk-through scene rows,
   ruled Why grid, experience band, contact link-list + form panel.
   Photography rules: cool/desaturated, scrims fade to Ink where text sits,
   mono captions bottom-left, photos flush to hairline rules (never floating cards).
   Loaded only on index.html, on top of tokens + site.css. */

.arc-home { --home-pad: 48px; }

/* Home sections run full-bleed: photos are cells in the ruled grid. */
.arc-home .arc-nav { padding: 16px var(--home-pad); }
.arc-home .arc-nav__inner { max-width: none; }

/* ---------------- Photo hero ---------------- */
.arc-phero {
  position: relative; display: flex; flex-direction: column;
  min-height: 620px; border-bottom: 1px solid var(--line); overflow: hidden;
}
.arc-phero__media, .arc-phero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.arc-phero__media img { object-fit: cover; filter: saturate(0.85); }
.arc-phero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.5), rgba(6, 10, 18, 0.3) 42%, rgba(6, 10, 18, 0.95) 90%, #060A12);
}
.arc-phero__content {
  position: relative; margin-top: auto; max-width: 920px;
  padding: 110px var(--home-pad) 56px;
}
.arc-phero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05;
  letter-spacing: var(--tracking-display); margin: 18px 0 0; text-wrap: balance;
}
.arc-phero__sub {
  font-size: 17px; color: var(--slate-200); line-height: var(--leading-body);
  margin: 20px 0 0; max-width: 600px;
}
.arc-phero__actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.arc-phero__locale {
  margin-top: 26px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint);
}

/* ---------------- Benefit strip (ruled cells, ASK OUR AI hooks) ---------------- */
.arc-bstrip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.arc-bcell { padding: 26px 28px; border-right: 1px solid var(--line); }
.arc-bcell:last-child { border-right: none; }
.arc-bcell__t {
  font-family: var(--font-mono); font-weight: 500; font-size: 10.5px;
  letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--accent);
}
.arc-bcell__b { font-size: 14px; color: var(--text-secondary); line-height: var(--leading-tight); margin: 10px 0 0; }
.arc-bcell__hook {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-faint); margin-top: 14px; transition: color var(--dur-fast) var(--ease-out);
}
.arc-bcell[data-arc-ask] { cursor: pointer; transition: background var(--dur-fast) var(--ease-out); }
.arc-bcell[data-arc-ask]:hover { background: var(--surface-hover); }
.arc-bcell[data-arc-ask]:hover .arc-bcell__hook { color: var(--accent); }
.arc-bcell[data-arc-ask]:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; background: var(--surface-hover); }

/* ---------------- Promise split ---------------- */
.arc-hsplit {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px;
  padding: 64px var(--home-pad);
}
.arc-hsplit__title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 36px);
  letter-spacing: var(--tracking-display); line-height: 1.12; margin: 16px 0 0;
}
.arc-hsplit__body { font-size: 16px; color: var(--text-secondary); line-height: var(--leading-body); margin: 6px 0 0; }

/* ---------------- Walk-through scenes ---------------- */
.arc-scenes-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; flex-wrap: wrap; padding: 0 var(--home-pad) 14px;
}
.arc-scenes-head__datum {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-faint);
}

.arc-scene { display: grid; grid-template-columns: 0.9fr 1.1fr; border-top: 1px solid var(--line); }
.arc-scene--flip { grid-template-columns: 1.1fr 0.9fr; }
.arc-scene:last-of-type { border-bottom: 1px solid var(--line); }
.arc-scene__img { position: relative; min-height: 310px; border-right: 1px solid var(--line); overflow: hidden; }
.arc-scene--flip .arc-scene__img { border-right: none; border-left: 1px solid var(--line); }
.arc-scene__img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.8);
}
.arc-scene__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 20px;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0), rgba(6, 10, 18, 0.85));
  font-family: var(--font-mono); font-size: 10px; letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--slate-200);
}
.arc-scene__body {
  padding: 42px var(--home-pad); display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
}
.arc-scene__ref {
  font-family: var(--font-mono); font-weight: 500; font-size: 11px;
  letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--accent);
  margin: 0;
}
.arc-scene__title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: var(--tracking-display); line-height: 1.18; margin: 14px 0 0;
}
.arc-scene__text {
  font-size: 15px; color: var(--text-secondary); line-height: var(--leading-body);
  margin: 12px 0 0; max-width: 520px;
}
.arc-scene__links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
.arc-scene__more {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--accent); text-decoration: none;
}
.arc-scene__more:hover { color: var(--slate-50); }

.arc-home-note {
  font-size: 13.5px; color: var(--text-faint); font-style: italic;
  margin: 0; padding: 22px var(--home-pad) 20px;
}

/* ---------------- Why ARC IT (ruled 2×2) ---------------- */
.arc-whyhead { padding: 44px var(--home-pad) 0; border-top: 1px solid var(--line); }
.arc-whyhead__title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 34px);
  letter-spacing: var(--tracking-display); line-height: 1.15; margin: 16px 0 0;
  max-width: 700px; text-wrap: balance;
}
.arc-whygrid {
  display: grid; grid-template-columns: 1fr 1fr;
  margin: 34px var(--home-pad) 0; border: 1px solid var(--line);
}
.arc-wcell { padding: 26px 28px; }
.arc-wcell:nth-child(odd) { border-right: 1px solid var(--line); }
.arc-wcell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.arc-wcell__head { display: flex; align-items: baseline; gap: 12px; }
.arc-wcell__ref { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.arc-wcell__t { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.arc-wcell__b {
  font-size: 14px; color: var(--text-secondary); line-height: var(--leading-tight);
  margin: 8px 0 0 42px;
}

/* ---------------- Experience band ---------------- */
/* The 2px gradient top-line comes from the shared .arc-topline utility. */
.arc-xband {
  margin-top: 56px; background: var(--surface-panel);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.arc-xband__inner { padding: 56px var(--home-pad); text-align: center; }
.arc-xband h2 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 34px);
  letter-spacing: var(--tracking-display); margin: 16px auto 0; line-height: 1.12;
}
.arc-xband p {
  font-size: 15.5px; color: var(--text-secondary); line-height: var(--leading-body);
  margin: 14px auto 0; max-width: 640px;
}
.arc-xband__actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------------- Contact ---------------- */
.arc-chome { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; padding: 64px var(--home-pad); }
.arc-chome__title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 36px);
  letter-spacing: var(--tracking-display); line-height: 1.12; margin: 16px 0 0;
}
.arc-chome__lead {
  font-size: 15.5px; color: var(--text-secondary); line-height: var(--leading-body);
  margin: 16px 0 0; max-width: 460px;
}
.arc-clist { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--line); }
.arc-clist__row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 15px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text-primary); font-size: 14.5px;
  transition: background var(--dur-fast) var(--ease-out);
}
.arc-clist__row:hover { background: var(--surface-hover); }
.arc-clist__row .arc-clist__arrow { color: var(--accent); }

.arc-cpanel {
  background: var(--surface-panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; align-self: start;
}
.arc-cpanel .arc-form { padding: 28px; gap: 18px; }

/* ---------------- Footer ---------------- */
.arc-home .arc-footer { border-top: 1px solid var(--line); }

/* ---------------- Responsive ----------------
   Breakpoints deliberately align with site.css: sections stack at 900px and
   the nav collapses to the burger at 820px — the full mobile treatment must
   not kick in while the desktop nav is still showing. */
@media (max-width: 1000px) {
  .arc-scene { grid-template-columns: 1fr 1fr; }
}

/* Benefit cells get cramped before the rest of the layout does. */
@media (max-width: 960px) {
  .arc-bstrip { grid-template-columns: 1fr 1fr; }
  .arc-bcell:nth-child(even) { border-right: none; }
  .arc-bcell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Two-column splits stack where site.css stacks its sections. */
@media (max-width: 900px) {
  .arc-hsplit { grid-template-columns: 1fr; gap: 20px; padding-top: 52px; padding-bottom: 52px; }
  .arc-chome { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; padding-bottom: 52px; }
}

/* Full mobile collapse, in step with the nav burger (site.css: 820px). */
@media (max-width: 820px) {
  .arc-home { --home-pad: 20px; }

  .arc-phero { min-height: 520px; }
  .arc-phero__content { padding-top: 90px; }
  .arc-phero__actions > * { width: 100%; }

  .arc-scene { grid-template-columns: 1fr; }
  .arc-scene__img, .arc-scene--flip .arc-scene__img {
    min-height: 220px; order: -1;
    border-right: none; border-left: none; border-bottom: 1px solid var(--line);
  }
  .arc-scene__body { padding-top: 32px; padding-bottom: 36px; }

  .arc-whygrid { grid-template-columns: 1fr; }
  .arc-wcell:nth-child(odd) { border-right: none; }
  .arc-wcell:not(:last-child) { border-bottom: 1px solid var(--line); }

  .arc-xband__actions > * { width: 100%; }
}
