/* innuga.com · About us · on top of tokens.css and site.css
   Chapters: Paper (title + the note we wrote for ourselves) → White (why we started) → Sand (four rules) → Paper (founder) → White (where we are) → Ink (close).
   Every head is split or carries something on the right, so no row leaves half the screen empty. Inner classes carry the ab- prefix. */


/* ===== title + the note ===== */
.ab-hero { background: var(--paper); padding-top: clamp(56px, 6.6vw, 96px); padding-bottom: clamp(64px, 7vw, 112px); overflow-x: clip; }
.ab-h1 { grid-column: 1 / 8; grid-row: 1; font-size: clamp(2.75rem, 6.4vw, 6rem); line-height: 0.93; }
.ab-intro { grid-column: 1 / 7; grid-row: 2; margin-top: var(--s-4); align-self: start; }
.ab-hero .actions { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 14px; }

/* the note: a sheet taped to the wall, the brief we wrote for the agency we wanted */
.ab-note { grid-column: 8 / 13; grid-row: 1 / span 2; align-self: center; justify-self: center; width: min(100%, 27rem); position: relative;
  background: var(--white); padding: 56px 32px 36px; rotate: -3deg; }
.ab-note::before { content: ""; position: absolute; top: -14px; left: 50%; width: 112px; height: 30px; translate: -50% 0; rotate: 4deg; background: var(--amber); }
.ab-note-t { font: 800 1.5rem/1.1 var(--font-display); letter-spacing: -0.025em; }
.ab-list { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: 14px; }
.ab-list li { position: relative; padding-left: 38px; font-weight: 500; line-height: 1.35; text-wrap: balance; }
.ab-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; box-shadow: inset 0 0 0 2px var(--ink); } /* taste-skill-ignore: drawn checkbox outline, not a shadow */
.ab-list li::after { content: ""; position: absolute; left: 6px; top: 3px; width: 8px; height: 14px; border: solid var(--ink); border-width: 0 3px 3px 0; rotate: 45deg; }

@media (max-width: 960px) {
  .ab-h1, .ab-intro { grid-column: 1 / 7; }
  .ab-note { grid-column: 7 / 13; padding: 48px 24px 28px; }
}
@media (max-width: 700px) {
  .ab-h1, .ab-intro, .ab-note { grid-column: 1 / -1; grid-row: auto; }
  .ab-note { margin-top: var(--s-5); width: min(100%, 22rem); }
}

/* ===== split heads ===== */
.ab-split { grid-column: 8 / 13; align-self: end; }
.ab-rules .h2, .ab-where .h2 { grid-column: 1 / 7; }
@media (max-width: 860px) {
  .ab-rules .h2, .ab-where .h2, .ab-split { grid-column: 1 / -1; }
  .ab-split { margin-top: var(--s-3); }
}

/* ===== why we started ===== */
.ab-why .h2 { grid-column: 1 / 7; grid-row: 1; align-self: start; }
.ab-art { grid-column: 1 / 7; grid-row: 2; align-self: end; margin: var(--s-4) 0 0; }
.ab-art img { display: block; width: 100%; height: auto; } /* cut out on transparency, sits straight on White */
.ab-why-text { grid-column: 8 / 13; grid-row: 1 / 3; display: grid; gap: var(--s-3); justify-items: start; align-content: start; }
@media (max-width: 860px) {
  .ab-why .h2, .ab-art, .ab-why-text { grid-column: 1 / -1; grid-row: auto; }
  .ab-art { margin-top: var(--s-3); }
  .ab-why-text { margin-top: var(--s-3); }
}

/* ===== four rules ===== */
.ab-rule-grid { grid-column: 1 / -1; list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ab-rule-grid li { background: var(--white); padding: var(--s-3); display: grid; gap: 10px; align-content: start; }
.ab-rule-grid li::before { content: ""; width: 16px; height: 15px; background: var(--ink); margin-bottom: 6px;
  clip-path: polygon(47.3% 0, 52.7% 0, 100% 100%, 76.4% 100%, 50% 46%, 23.6% 100%, 0 100%); }
.ab-t { font: 800 1.375rem/1.15 var(--font-display); letter-spacing: -0.02em; }
@media (max-width: 1100px) { .ab-rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ab-rule-grid { grid-template-columns: 1fr; } }

/* ===== founder ===== */
.ab-photo { grid-column: 1 / 6; margin: 0; }
.ab-frame { aspect-ratio: 1214 / 1295; overflow: hidden; background: var(--sand); } /* the photo's own ratio, nothing cropped */
.ab-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-fd-text { grid-column: 7 / 13; align-self: center; display: grid; gap: var(--s-3); }
.ab-quote { margin: 0; }
.ab-quote p { font: 800 clamp(1.75rem, 3.2vw, 2.875rem)/1.08 var(--font-display); letter-spacing: -0.03em; text-wrap: balance; }
.ab-name { font-weight: 500; font-size: var(--fs-lead); }
.ab-bio { font-size: var(--fs-lead); line-height: 1.45; max-width: 46ch; color: var(--stone); }
@media (max-width: 760px) {
  .ab-photo { grid-column: 1 / 8; }
  .ab-fd-text { grid-column: 1 / -1; margin-top: var(--s-4); }
}
@media (max-width: 480px) { .ab-photo { grid-column: 1 / -1; } }

/* ===== where we are ===== */
.ab-facts { grid-column: 1 / -1; margin: var(--s-5) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ab-facts div { background: var(--paper); padding: var(--s-3); display: grid; gap: 8px; align-content: start; }
.ab-facts dt { font-size: var(--fs-caption); font-weight: 500; letter-spacing: 0.01em; color: var(--stone); }
.ab-facts dd { margin: 0; font: 800 1.375rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.ab-facts dd a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; text-decoration-color: var(--amber); }
@media (max-width: 1100px) { .ab-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ab-facts { grid-template-columns: 1fr; } }

/* ===== close ===== */
.cta .h2 { font-size: clamp(2.25rem, 3.9vw, 3.5rem); line-height: 0.98; }

/* ===== motion: the note swings in from its tape, then the boxes tick one by one ===== */
@media (prefers-reduced-motion: no-preference) {
  .js .ab-note[data-rise] { transform-origin: 50% 0; animation: rise var(--t-reveal) var(--ease-out) 600ms forwards, ab-swing 2000ms var(--ease-soft) 600ms both; }
  .js .ab-list li::after { clip-path: inset(0 0 100% 0); animation: ab-tick 320ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 220ms + 1500ms); }
}
@keyframes ab-swing { 0% { rotate: 6deg; } 45% { rotate: -5deg; } 75% { rotate: -2deg; } 100% { rotate: -3deg; } }
@keyframes ab-tick { to { clip-path: inset(0); } }

@media (prefers-contrast: more) {
  .ab-rule-grid li, .ab-facts div, .ab-note { box-shadow: inset 0 0 0 2px var(--ink); } /* taste-skill-ignore: contrast mode */
}
