/* ==========================================================================
   Trinity v18: less copy, symbol-first hero, everything on-axis on phones.
   Loaded after v17.css.
   ========================================================================== */

/* ---------- hero: symbol, one line, one button ---------- */
.hero { padding-top: clamp(12px, 3vh, 40px); padding-bottom: clamp(8px, 2vw, 24px); }
.hero::before { top: 10%; }
.hero__inner > .brandline { margin-top: 0; margin-bottom: clamp(8px, 1.6vw, 24px); max-width: 1120px; }
@media (min-width: 1281px) { .hero__inner > .brandline { width: 100%; } }
.hero__title { margin-top: 0; }
.hero__actions { margin-top: clamp(26px, 3vw, 40px); }

/* ---------- sections: tighter now that copy is short ---------- */
.section { padding-top: clamp(72px, 7.5vw, 112px); }
.head { gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.head .lede { color: var(--muted); }

/* capabilities: name + one line + diagram */
.cap { padding: 22px 0 26px; }
.cap__copy { color: var(--muted); }

/* process: one short line per stop */
.stop__copy { color: var(--muted); }
.stackline { padding-top: clamp(36px, 4vw, 56px); gap: 10px 24px; }
.stackline ul { gap: 6px 22px; }

/* work: monogram / type + name / link */
.proj { grid-template-columns: 104px minmax(0, 1fr) auto; }
.proj__meta { color: var(--muted); }
.proj__link, .proj__nolink { grid-column: 3; grid-row: 1; justify-self: end; }
.proj__nolink { color: var(--muted); }

/* about: four titles beside the art */
.about__grid { align-items: center; }
.about__principles > li { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.about__name { font-family: var(--display); font-weight: 350; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.1; }

/* faq: short answers */
.faq-item .a { color: var(--muted); }
.faq__q { flex: 1 1 auto; }

/* book: head, email, calendar */
.founder { margin-bottom: clamp(28px, 3vw, 44px); }

/* footer */
.foot__line { margin-bottom: 14px; }
.foot__base { padding-top: 4px; }
.foot__base p { color: var(--muted); font-size: 0.875rem; }

/* ==========================================================================
   Phones + small tablets: one centered column, every element on the axis.
   ========================================================================== */
@media (max-width: 900px) {
  .hero__inner > .brandline { margin-top: 4px; margin-bottom: 10px; }
  .hero__actions { margin-top: 28px; }

  /* capabilities */
  .cap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 28px 0 32px;
  }
  .cap__num { align-self: center; padding: 0; color: var(--blue); }
  .cap__name { align-self: center; }
  .cap__copy { max-width: 22rem; margin-inline: auto; }
  .cap__viz {
    width: 100%;
    max-width: 440px;
    margin: 14px auto 0;
    aspect-ratio: 500 / 180;
    box-shadow: var(--shadow-soft);
  }
  .cap::after { left: 0; right: 0; }
  .cap::before { display: none; }

  /* process: centered stack, no off-axis rail */
  .rail { padding: 0; }
  .rail::before, .rail::after, .rail__tick, .stop::before { display: none; }
  .rail__stops { gap: 0; border-top: 1px solid var(--line); }
  .stop {
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 26px 0 28px;
    border-bottom: 1px solid var(--line);
  }
  .stop:hover { transform: none; }
  .stop .stop__when { color: var(--blue); }
  .stackline { flex-direction: column; align-items: center; text-align: center; }
  .stackline ul { justify-content: center; }

  /* work */
  .proj {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 28px 0 30px;
  }
  .proj::before { inset: 0; }
  .proj .mark { width: 72px; }
  .proj__main { justify-items: center; gap: 6px; }
  .proj__meta { text-align: center; }
  .proj__link, .proj__nolink { align-self: center; justify-self: center; margin-top: 4px; }
  .proj__nolink { min-height: 44px; display: inline-flex; align-items: center; }

  /* about */
  .about__grid { grid-template-columns: 1fr; justify-items: center; gap: 32px; }
  .about__copy { width: 100%; }
  .about__art { order: -1; justify-items: center; width: min(100%, 320px); margin-inline: auto; }
  .about__caption { text-align: center; }
  .about__principles { width: 100%; }
  .about__principles > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 20px 0;
  }
  .about__num { padding: 0; }

  /* faq: question centered with symmetric room for the tick */
  .faq-item button {
    position: relative;
    justify-content: center;
    text-align: center;
    padding: 22px 40px;
  }
  .faq__q { flex: 0 1 auto; }
  .faq-item button .faq__tick { position: absolute; right: 4px; top: 50%; margin-top: -5px; }
  .faq-item button[aria-expanded="true"] .faq__tick { transform: rotate(180deg); }
  .faq-item .a { text-align: center; margin-inline: auto; padding: 0 12px 26px; }

  /* book */
  .founder .actions { justify-content: center; }

  /* footer: one centered column */
  .foot__grid { grid-template-columns: 1fr; text-align: center; }
  .foot__grid > *,
  .foot__grid > :nth-child(2),
  .foot__grid > :nth-child(3),
  .foot__grid > :nth-child(4) {
    grid-column: 1 / -1;
    justify-items: center;
    padding: 26px 0 28px;
    border-left: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .foot__grid > :last-child { border-bottom: 0; }
  .foot__cta .btn, .foot__col a { justify-self: center; }
  .foot__line { max-width: none; text-align: center; }
  .foot__col a.foot__email { width: auto; display: inline-flex; font-size: 0.9rem; }
  .foot__mark { width: 100%; }
  .foot__base { align-items: center; }
}

@media (max-width: 600px) {
  .hero { padding-top: 8px; }
  .hero__actions { flex-direction: column; align-items: center; width: 100%; max-width: 360px; }
  .hero__actions .btn { width: 100%; }
  .founder .actions { flex-direction: column; align-items: center; width: 100%; max-width: 360px; margin-inline: auto; }
  .founder .actions .btn { width: 100%; }
  .foot__cta .btn { width: 100%; max-width: 360px; }
  .cap__name { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .stop__name { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .proj__name { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .section { padding-top: 64px; }
}

/* nav logo link: ≥44px tap target at every width */
.nav__logo { padding-block: 12px; }
