@import "_reset.css";
@import "_tokens.css";

/* ============================================================
   A. BASE TYPOGRAPHY UTILITIES
   ============================================================ */

.display {
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  color: var(--color-ink);
}

.h-xxl { font-size: var(--fs-display-xxl); }
.h-xl  { font-size: var(--fs-display-xl); }
.h-lg  { font-size: var(--fs-display-lg); }
.h-md  { font-size: var(--fs-display-md); }

.read {
  max-width: var(--read-max);
  line-height: 1.75;
  color: var(--ink-2);
  font-size: var(--fs-read);
}
.read p + p { margin-top: 1em; }

.meta {
  color: var(--color-grey);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ——— Eyebrow ——— */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-grey);
  display: block;
  margin-bottom: var(--space-2);
}

/* ============================================================
   B. LINK STYLES
   ============================================================ */

.accent-link {
  color: var(--color-accent);
  font-weight: var(--fw-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, transform 180ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.accent-link:hover { border-bottom-color: var(--color-accent); }
.accent-link .arr { transition: transform 220ms ease; display: inline-block; }
.accent-link:hover .arr { transform: translateX(3px); }

.ink-link {
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
  transition: border-color 160ms ease;
}
.ink-link:hover { border-bottom-color: var(--color-ink); }

/* ============================================================
   C. LAYOUT
   ============================================================ */

.shell {
  padding-left: var(--shell-pad);
  padding-right: var(--shell-pad);
}

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

.hairline { border-top: 1px solid var(--rule); }

.section-rule {
  max-width: 1240px;
  margin: 0 auto;
  height: 1px;
  background: var(--rule);
  border: 0;
}

/* Legacy layout helpers */
main { min-height: 50vh; }
.section {
  max-width: var(--maxw-content);
  margin: 0 auto;
  padding: var(--space-5) var(--space-3);
}
.text-col { max-width: var(--maxw-text); }

/* ============================================================
   D. NAV — Claude Design names (primary); legacy .site-nav kept
   ============================================================ */

/* Claude Design nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, background 220ms ease;
}
.nav.is-stuck { border-bottom-color: var(--rule); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
}

.wordmark {
  font-size: 16px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wordmark .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  color: var(--color-ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
}
.nav-link[data-active="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--color-ink);
}
.nav-link:hover { color: var(--color-ink); }
.nav-link.muted { color: var(--color-grey); }

@media (max-width: 640px) {
  .nav-links { gap: 20px; }
  .nav-link { font-size: 13px; }
}

/* Legacy nav selectors — kept for compatibility */
.site-nav {
  background: var(--color-paper);
  border-bottom: 1px solid #E8E6E2;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-nav__inner {
  max-width: var(--maxw-content);
  margin: 0 auto;
  padding: 1rem var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav__wordmark {
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-3);
}
.site-nav__item a {
  text-decoration: none;
  color: var(--color-grey);
}
.site-nav__item a[aria-current="page"] {
  color: var(--color-ink);
}

/* ============================================================
   E. FOOTER — Claude Design names (primary); legacy .site-footer kept
   ============================================================ */

.footer {
  background: var(--dark);
  color: #DDD7C9;
  margin-top: 120px;
  padding: 96px var(--shell-pad) 56px;
}

.footer-inner {
  max-width: var(--col-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.footer h4 {
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-mute);
  margin-bottom: 22px;
}

.footer .wm {
  color: #FAFAF8;
  font-size: 18px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.footer p,
.footer a {
  color: #C9C3B6;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.9;
}
.footer a:hover { color: #FAFAF8; }
.footer ul { list-style: none; margin: 0; padding: 0; }

.footer .baseline {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid #2B2620;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #948C7C; /* WCAG AA — 5.69:1 on --dark #14110D (v4, corrected from #6E685B which measured 3.40) */
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer .baseline { flex-direction: column; gap: 12px; }
}

/* Legacy footer selectors */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-grey-muted);
  padding: var(--space-5) var(--space-3);
  margin-top: var(--space-6);
}
.site-footer__inner {
  max-width: var(--maxw-content);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
}
.site-footer__brand { font-size: var(--fs-body); }
.site-footer__links { display: flex; gap: var(--space-4); }
.site-footer__heading {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-1);
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col a { color: var(--color-grey-muted); text-decoration: none; }
.site-footer__col a:hover { color: var(--color-paper); }

/* ============================================================
   F. PHOTO PLACEHOLDER
   ============================================================ */

.photo {
  position: relative;
  background: #E8E3D8;
  overflow: hidden;
  color: var(--color-grey);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo .caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Thumb card — project grid/strip */
.thumb-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.thumb-card .photo {
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.thumb-card .photo img {
  transition: transform 1200ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 600ms ease;
  filter: saturate(0.96);
}
.thumb-card:hover .photo img {
  transform: scale(1.04);
  filter: saturate(1.04);
}
.thumb-card .thumb-meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.thumb-card .thumb-name {
  font-size: 17px;
  font-weight: var(--fw-medium);
  letter-spacing: -0.005em;
  color: var(--color-ink);
}
.thumb-card .thumb-city {
  font-size: 12px;
  color: var(--color-grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.thumb-card:hover .thumb-name { color: var(--color-accent); }

/* ============================================================
   G. PAGE TRANSITION
   ============================================================ */

.page { animation: fadeIn 320ms ease both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page { animation: none; }
}

/* ============================================================
   H. REVEAL ON SCROLL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }
.reveal-delay-4 { transition-delay: 480ms; }
.reveal-delay-5 { transition-delay: 600ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   I. KEN BURNS ANIMATION
   ============================================================ */

@keyframes kenburns {
  0%   { transform: scale(1.04) translate(0, 0); }
  50%  { transform: scale(1.10) translate(-1.2%, -0.8%); }
  100% { transform: scale(1.04) translate(0, 0); }
}
.kenburns {
  animation: kenburns 32s ease-in-out infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .kenburns { animation: none; }
}

/* ============================================================
   J. HORIZONTAL WORK STRIP
   ============================================================ */

.work-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin: 0 calc(var(--shell-pad) * -1);
  padding-left: var(--shell-pad);
  padding-right: var(--shell-pad);
  scrollbar-width: thin;
  scrollbar-color: var(--rule-2) transparent;
}
.work-strip > * { scroll-snap-align: start; }
.work-strip::-webkit-scrollbar { height: 6px; }
.work-strip::-webkit-scrollbar-thumb {
  background: var(--rule-2);
  border-radius: 3px;
}

/* ============================================================
   K. STAT GRID
   ============================================================ */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-ink);
}
.stat .num .unit {
  font-size: 0.55em;
  color: var(--color-grey);
  margin-left: 6px;
  letter-spacing: 0;
}
.stat .lbl {
  margin-top: 16px;
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-grey);
}
@media (max-width: 760px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   L. STUDIO ROW (in-studio status)
   ============================================================ */

.studio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.studio-cell {
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.studio-cell:last-child { border-right: 0; }

.studio-phase {
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.studio-phase .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 rgba(176, 86, 31, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(176, 86, 31, 0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(176, 86, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(176, 86, 31, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .studio-phase .pulse { animation: none; }
}

.studio-name {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-display-sm);
  letter-spacing: -0.012em;
  color: var(--color-ink);
  line-height: 1.25;
}
.studio-meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-grey);
  letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  .studio-row { grid-template-columns: 1fr; }
  .studio-cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .studio-cell:last-child { border-bottom: 0; }
}

/* ============================================================
   M. BREADCRUMB
   ============================================================ */

.breadcrumb {
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-grey);
}
.breadcrumb a { color: var(--color-grey); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-ink); }

/* ============================================================
   N. WORK ROW (alternating image-side)
   ============================================================ */

.work-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: min(8vw, 96px);
  align-items: center;
  padding: min(10vh, 100px) 0;
  border-top: 1px solid var(--rule);
}
.work-row.reverse > :first-child { order: 2; }
.work-row.reverse > :last-child  { order: 1; }
.work-facts {
  margin-top: 28px;
  font-size: 13px;
  color: var(--color-grey);
  letter-spacing: 0.02em;
  line-height: 1.9;
}
.work-facts .dot {
  color: #BAB4A7;
  margin: 0 10px;
}
@media (max-width: 900px) {
  .work-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  .work-row.reverse > :first-child,
  .work-row.reverse > :last-child { order: initial; }
}

/* ============================================================
   O. STACK UTILITIES
   ============================================================ */

.stack-6  > * + * { margin-top: 6px; }
.stack-12 > * + * { margin-top: 12px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.stack-48 > * + * { margin-top: 48px; }

/* ============================================================
   P. FOCUS VISIBLE
   ============================================================ */

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

/* ============================================================
   Q. ACCORDION (preserved — E2E test depends on these class names)
   ============================================================ */

.accordion__item { border-top: 1px solid #E8E6E2; }
.accordion__item:last-child { border-bottom: 1px solid #E8E6E2; }
.accordion__heading { margin: 0; }
.accordion__trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: var(--space-3) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--fw-medium);
  text-align: left;
}
.accordion__icon {
  color: var(--color-accent);
  font-weight: var(--fw-light);
  font-size: 22px;
  transition: transform 280ms ease;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
}
.accordion__panel {
  padding-bottom: var(--space-3);
  color: #444;
  line-height: 1.7;
}

/* ============================================================
   R. PARTIALS (preserved — phase 4; Claude Design token updates)
   ============================================================ */

/* Pull-quote */
.pull-quote {
  font-style: italic;
  font-weight: var(--fw-light);
  font-size: var(--fs-display-sm);
  line-height: 1.4;
  border-left: 2px solid var(--color-accent);
  padding: 0.25rem 0 0.25rem 1rem;
  margin: var(--space-4) 0;
  color: var(--color-ink);
}

/* BackLink */
.back-link {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  font-size: var(--fs-body);
}

/* Numbered step */
.numstep {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.numstep__n {
  font-size: var(--fs-display-md);
  font-weight: var(--fw-light);
  color: var(--color-accent);
  line-height: 1;
  min-width: 3rem;
}
.numstep__title {
  font-size: var(--fs-emphasis);
  font-weight: var(--fw-medium);
  margin: 0 0 var(--space-1) 0;
}
.numstep__text {
  margin: 0;
  color: var(--ink-2);
}

/* Key facts */
.keyfacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin: var(--space-4) 0;
}
.keyfacts__label { margin-bottom: var(--space-1); }
.keyfacts__value { margin: 0; font-size: var(--fs-body); }
@media (max-width: 640px) {
  .keyfacts { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   S. DIVIDER (used inline in Claude Design pages)
   ============================================================ */

.divider {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ============================================================
   PER-PAGE LAYOUTS (ported from claude-design/home/arc365/page-*.jsx)
   ============================================================ */

/* ---- Shared utility ---- */

.col-max {
  max-width: var(--col-max);
  margin: 0 auto;
}

/* ---- HOME (page-home.jsx · homeStyles) ---- */

.hero-section {
  position: relative;
  width: 100%;
  height: min(82vh, 920px);
  min-height: 540px;
  overflow: hidden;
  background: #1A1A1A;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0) 28%,
    rgba(0, 0, 0, 0) 62%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero-hud {
  position: absolute;
  left: var(--shell-pad);
  right: var(--shell-pad);
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.hero-hud-top {
  padding-top: 96px;
  color: rgba(250, 250, 248, 0.92);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.hero-hud-bot {
  padding-bottom: 32px;
  color: rgba(250, 250, 248, 0.92);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(250, 250, 248, 0.85);
}

.scroll-bar {
  display: inline-block;
  width: 1px;
  height: 36px;
  background: rgba(250, 250, 248, 0.6);
  position: relative;
  overflow: hidden;
}

.scroll-bar-fill {
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  background: rgba(250, 250, 248, 1);
  animation: scrollSweep 2.4s ease-in-out infinite;
}

@keyframes scrollSweep {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-bar-fill { animation: none; }
}

.keywords-block {
  max-width: 1240px;
  margin: 0 auto;
}

.work-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.teaser-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: min(8vw, 120px);
  align-items: start;
}

.teaser-copy {
  max-width: 620px;
}

.contact-block {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: min(8vw, 120px);
  align-items: start;
}

.contact-links {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 56px;
  align-items: baseline;
}

.contact-links .ink-link {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  .teaser-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---- WORK (page-work.jsx · workStyles) ---- */
/* .work-row, .work-row.reverse, .work-facts already exist in section N above */
/* Adding the missing sub-elements */

.work-row__photo { display: block; }

.work-row__copy {
  max-width: 520px;
}

.work-meta {
  color: var(--color-grey);
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-top: 8px;
}

/* ---- ABOUT (page-about.jsx · aboutStyles) ---- */

.about-hero-grid {
  max-width: var(--col-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: min(8vw, 96px);
  align-items: end;
}

.about-body {
  max-width: 720px;
  margin: 0 auto;
}

.about-foot {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

/* Upgrade pull-quote to match Claude Design's about-page treatment */
.pull-quote {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.35;
  letter-spacing: -0.018em;
  border-left: 2px solid var(--color-accent);
  padding: 0.25rem 0 0.25rem 2rem;
  margin: 56px 0;
  color: var(--color-ink);
  max-width: 640px;
}

@media (max-width: 760px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---- PROCESS (page-process.jsx · processStyles) ---- */

.step {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: min(8vw, 96px);
  padding: min(8vh, 80px) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.step-num {
  color: var(--color-accent);
  font-size: 28px;
  font-weight: 300;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
  line-height: 1;
}

.step-body {
  max-width: 620px;
}

.step-name {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--color-ink);
  line-height: 1.2;
}

.step-meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step-copy {
  margin-top: 28px;
  color: var(--ink-2);
  line-height: 1.75;
}

@media (max-width: 760px) {
  .step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 0;
  }
}

/* ---- FAQ (page-faq.jsx · faqStyles) ---- */

.faq-foot {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

/* ---- CONNECT (page-connect.jsx · connectStyles) ---- */

.connect-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 0;
  column-gap: 0;
  border: 1px solid var(--rule);
}

.connect-block {
  padding: 44px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  min-height: 220px;
}

.connect-block--last-col {
  border-right: 0;
}

.connect-block--last-row {
  border-bottom: 0;
}

.connect-block__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 18px;
}

.connect-block__val {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  line-height: 1.5;
}

.connect-block__val--area {
  font-size: 17px;
  line-height: 1.9;
}

.connect-block__sub {
  font-size: 14px;
  color: var(--color-grey);
  margin-top: 10px;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.connect-crosslinks {
  padding-top: 32px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .connect-blocks {
    grid-template-columns: 1fr;
  }
  .connect-block,
  .connect-block--last-col {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .connect-block--last-row,
  .connect-block--last-row.connect-block--last-col {
    border-bottom: 0;
  }
}
