/* ============================================================
   MOMENTUS — v8 · ABOUT + CONTACT PAGES
   Shared editorial layout. Loaded after style.css + project.css;
   reuses the tokens, chrome (nav capsule / menu / footer / cursor),
   .em signature, .sec-index, and the layered-mark header grammar.
   Sileent-anchored: calm, monumental, generous negative space.
   ============================================================ */

.page-doc { background: var(--c-bg); color: var(--c-fg); }

/* ------------------------------------------------------------
   PAGE HERO — eyebrow + monumental serif statement + lead.
   ------------------------------------------------------------ */
.page-hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 110px) var(--gutter) clamp(40px, 6vw, 80px);
}
.page-eyebrow { display: block; color: var(--c-accent); margin-bottom: clamp(28px, 4vw, 48px); }
.page-title {
  font-family: var(--type-em);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(44px, 7.5vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--c-fg);
  max-width: 18ch;
}
.page-title .em { font-size: 1em; color: var(--ink); }
.page-lead {
  margin-top: clamp(28px, 3.4vw, 48px);
  font-family: var(--type-display);
  font-size: clamp(19px, 1.9vw, 28px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.012em;
  max-width: 46ch;
  color: var(--c-fg);
  opacity: 0.86;
}

/* ------------------------------------------------------------
   STATEMENT BAND — the locked manifesto on the nav-black field
   (echoes the home About register). Light type, big serif.
   ------------------------------------------------------------ */
.statement {
  background: #100f0d;
  color: var(--paper);
  --c-accent: var(--blast);
  --c-mute: rgba(248, 246, 241, 0.5);
  padding: clamp(90px, 15vw, 200px) var(--gutter);
}
.statement-inner { max-width: 1100px; margin: 0 auto; }
.statement .sec-index { display: block; color: rgba(248, 246, 241, 0.5); margin-bottom: clamp(32px, 5vw, 60px); }
.statement-body {
  font-family: var(--type-display);
  font-size: clamp(26px, 3.1vw, 50px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--paper);
}
.statement-body .em { color: var(--paper); font-size: 1.08em; }

/* ------------------------------------------------------------
   SECTION — generic light content block with the shared header
   ------------------------------------------------------------ */
.page-section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(72px, 11vw, 150px) var(--gutter);
}
.page-section + .page-section { padding-top: 0; }
.page-section-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 900px; }
.page-section-head .sec-index { display: block; color: var(--c-accent); margin-bottom: clamp(20px, 2.4vw, 30px); }
.page-section-title {
  font-family: var(--type-em);
  font-style: normal;
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--c-fg);
}
.page-section-title .em { font-size: 1em; color: var(--ink); }
.page-section-lead {
  margin-top: clamp(20px, 2.4vw, 30px);
  font-family: var(--type-display);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.42;
  letter-spacing: -0.01em;
  max-width: 52ch;
  color: var(--c-fg);
  opacity: 0.82;
}

/* PROSE — body paragraphs */
.page-prose {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 22px);
  max-width: 60ch;
}
.page-prose p {
  font-family: var(--type-body);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--c-fg);
  opacity: 0.84;
}
.page-prose .em { opacity: 1; }

/* ENGINE PARTS — a restrained editorial index (not a dashboard) */
.parts {
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--c-line);
}
.part {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 56px);
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}
.part-name {
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  font-family: var(--type-display);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-fg);
}
.part-no { font-family: var(--type-mono); font-size: 13px; color: var(--c-accent); }
.part-desc {
  font-family: var(--type-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--c-fg);
  opacity: 0.74;
}

/* VALUES / STANCE — short conviction lines */
.stance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
}
.stance-item { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.stance-item h3 {
  font-family: var(--type-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-fg);
}
.stance-item p { font-family: var(--type-body); font-size: var(--fs-body); line-height: 1.55; color: var(--c-fg); opacity: 0.74; }

/* THE STANDARD — a single monumental pull-line */
.standard {
  --c-accent: var(--blast);
  background: var(--paper);
  padding: clamp(80px, 12vw, 170px) var(--gutter);
  border-top: 1px solid var(--c-line);
}
.standard-inner { max-width: 1100px; margin: 0 auto; }
.standard .sec-index { display: block; color: var(--c-accent); margin-bottom: clamp(28px, 4vw, 48px); }
.standard-line {
  font-family: var(--type-em);
  font-style: normal;
  font-size: clamp(32px, 4.6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.standard-line .em { color: var(--blast); font-style: italic; }

/* NUMBERS — proof figures (reused look from project metrics) */
.numbers {
  background: #100f0d;
  color: var(--paper);
  --c-line: rgba(248, 246, 241, 0.14);
  --c-mute: rgba(248, 246, 241, 0.55);
  padding: clamp(64px, 9vw, 130px) var(--gutter);
}
.numbers-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 56px);
}
.number { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.number-fig {
  font-family: var(--type-display);
  font-size: clamp(40px, 5.5vw, 86px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.number-fig .em { color: var(--blast); font-size: 0.7em; }
.number-label { color: var(--c-mute); }

/* ------------------------------------------------------------
   PAGE CTA — closing action band
   ------------------------------------------------------------ */
.page-cta {
  background: var(--blast);
  --c-accent: var(--ink);
  color: var(--ink);
  padding: clamp(96px, 14vw, 190px) var(--gutter);
  text-align: center;
}
.page-cta-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 3.4vw, 44px); }
.page-cta-title {
  font-family: var(--type-em);
  font-style: normal;
  font-size: clamp(44px, 7vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-cta-title .em { font-style: italic; }

/* primary button (shared) — ink slab; the colour-wipe hover lives in style.css */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  padding: 20px 34px;
  border-radius: 999px;
  font-family: var(--type-display);
  font-weight: 600;
  font-size: clamp(17px, 1.4vw, 21px);
  letter-spacing: -0.01em;
  transition: transform var(--t-hover) var(--ease-hover);
}
.btn:hover { transform: translateY(-2px); }
/* on the red-blast page-CTA an ink pill turning red would vanish — cream fill instead */
.page-cta .btn { --btn-fill: var(--paper); --btn-arr-color: var(--ink); }

/* ------------------------------------------------------------
   CONTACT FORM — editorial fill-in. Two columns: form + aside.
   ------------------------------------------------------------ */
.contact-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(72px, 10vw, 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.form { display: flex; flex-direction: column; gap: clamp(26px, 3vw, 38px); }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-label {
  font-family: var(--type-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.field-input,
.field-textarea,
.field-select {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--c-line);
  font-family: var(--type-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--c-fg);
  padding: 8px 2px;
  outline: none;
  transition: border-color var(--t-hover) var(--ease-hover);
  width: 100%;
}
.field-textarea { resize: vertical; min-height: 3.2em; line-height: 1.4; }
.field-input::placeholder,
.field-textarea::placeholder { color: rgba(20, 18, 14, 0.32); }
.field-input:focus,
.field-textarea:focus,
.field-select:focus { border-color: var(--blast); }
.field-select { cursor: pointer; }

.form-foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: clamp(8px, 1vw, 16px); }
.form-note { font-family: var(--type-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-mute); }

/* contact aside — direct email + what happens next */
.contact-aside { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.contact-block { display: flex; flex-direction: column; gap: 14px; }
.contact-block-label { font-family: var(--type-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-mute); }
.contact-mail {
  font-family: var(--type-em);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 38px);
  color: var(--c-fg);
  position: relative;
  align-self: flex-start;
}
.contact-mail::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -0.08em; height: 1.5px;
  background: var(--blast);
  transition: right var(--t-hover) var(--ease-hover);
}
.contact-mail:hover::after { right: 0; }

.steps { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 26px); list-style: none; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; }
.step-no { font-family: var(--type-mono); font-size: 13px; color: var(--c-accent); }
.step-text { font-family: var(--type-body); font-size: var(--fs-body); line-height: 1.5; color: var(--c-fg); opacity: 0.84; }
.step-text strong { font-weight: 600; opacity: 1; }

/* ------------------------------------------------------------
   PORTFOLIO — aino.agency/work grid: a full-width row of project tiles flowing
   left→right, each ONE monochrome cover that saturates to colour on hover, with a
   heavy black-sans company name leading it. 6 across on desktop (full-bleed to the
   gutters, not the centred wrap); 2 across on mobile, shown in full colour (touch
   has no hover to trigger the saturate).
   ------------------------------------------------------------ */
.pf-grid {
  margin: 0 auto;
  padding: clamp(8px, 1.5vw, 24px) var(--gutter) clamp(80px, 11vw, 150px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);    /* six project tiles per row, full width */
  gap: clamp(28px, 2.6vw, 44px) clamp(12px, 1vw, 18px);
}

/* one project — a black sans title over a single cover tile */
.pf-item { display: flex; flex-direction: column; gap: clamp(10px, 0.9vw, 14px); }
.pf-item-title {
  font-family: var(--type-display);
  font-weight: 800;                         /* heavy black sans */
  font-size: clamp(13px, 0.92vw, 15px);
  letter-spacing: -0.01em;
  color: var(--c-fg);
  transition: color var(--t-hover) var(--ease-hover);
}
.pf-item:hover .pf-item-title { color: var(--blast); }

.pf-item-shot {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}
/* monochrome by default; saturates to full colour + lifts on hover */
.pf-item-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition: filter 620ms var(--ease-hover), transform 900ms var(--ease-entrance);
}
.pf-item:hover .pf-item-shot img { filter: grayscale(0); transform: scale(1.04); }

/* the sixth tile — an ink CTA panel (same footprint) that drives the next conversation */
.pf-item--cta .pf-item-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(14px, 1vw, 20px);
  aspect-ratio: 3 / 4;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: clamp(16px, 1.2vw, 22px);
  transition: transform var(--t-hover) var(--ease-hover);
}
.pf-item--cta:hover .pf-item-cta { transform: translateY(-3px); }
.pf-item-cta-line {
  font-family: var(--type-em);
  font-style: normal;
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.pf-item-cta-line .em { color: var(--blast); font-style: italic; }
.pf-item-cta-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--type-display);
  font-weight: 600;
  font-size: clamp(13px, 0.9vw, 15px);
  color: var(--paper);
}
.pf-cta-arr { display: inline-block; transition: transform var(--t-hover) var(--ease-hover); }
.pf-item--cta:hover .pf-cta-arr { transform: translateX(6px); }

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  /* two project tiles per row; shown in full colour (touch has no hover to saturate) */
  .pf-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 6vw, 32px) clamp(12px, 3vw, 16px); }
  .pf-item-shot img { filter: none; }
  .pf-item-title { font-size: clamp(13px, 3.4vw, 15px); }
  .pf-item-cta-line { font-size: clamp(20px, 5vw, 26px); }
  .page-title { max-width: none; font-size: clamp(38px, 11vw, 72px); }
  .part { grid-template-columns: 1fr; gap: 8px; }
  .stance { grid-template-columns: 1fr; gap: clamp(24px, 7vw, 36px); }
  .numbers-inner { grid-template-columns: 1fr; gap: clamp(28px, 8vw, 40px); }
  .standard-line { font-size: clamp(28px, 8vw, 46px); }
  .statement-body { font-size: clamp(22px, 6vw, 34px); line-height: 1.32; }
  .contact-grid { grid-template-columns: 1fr; gap: clamp(48px, 12vw, 72px); }
  .page-cta-title { font-size: clamp(38px, 11vw, 64px); }
}
