/* About page: styles only this page needs. Shared look comes from c.css. */

/* Hero: Hi, I'm Glen Mascall. The same layout as the Tea Room hero (tea-room.css): words on the left, picture on the right.
   The picture is a portrait photo: 4:5, black and white, no frame or shadow. Until img/glen.jpg is saved, a plain pale space holds its place. */
.ab-hero{padding-top:clamp(140px,12vw,180px)}
.ab-hero-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);align-items:center}
.ab-hero-text{grid-column:1 / span 6;grid-row:1;position:relative;z-index:1}
.ab-title{margin:0;font:300 clamp(44px,5.2vw,76px)/1.05 var(--serif);letter-spacing:-.04em;color:#1b3832;text-wrap:balance}
.ab-lede{max-width:520px;margin:clamp(24px,2.4vw,32px) 0 0;font:400 19px/1.6 var(--sans);letter-spacing:0;color:var(--deep);text-wrap:pretty}
.ab-lede + .ab-lede{margin-top:16px}
/* The place line: small and quiet. #6b716d is the lightest grey that still passes AA contrast on the paper. */
.ab-where{margin:20px 0 0;font-size:14px;line-height:1.6;color:var(--small-print)}
.ab-actions{display:flex;flex-wrap:wrap;gap:12px 16px;margin-top:28px}
.ab-actions .f-btn{min-height:50px;padding:0 20px;font-size:var(--type-action)}
.ab-photo{grid-column:8 / -1;grid-row:1;justify-self:end;width:100%;max-width:440px;margin:0;aspect-ratio:4 / 5;display:grid;place-items:center;overflow:hidden;background:var(--mark);border:1px solid rgba(31,74,68,.14);border-radius:16px;box-shadow:var(--card-shadow)}
.ab-photo span{font:500 13px/1 var(--mono);letter-spacing:-.01em;color:var(--quiet)}
.ab-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:34% 62%}
/* Taller frame for the launch photo (Glen, 6 Oct): head to waist, not just a head. */
.ab-photo.f-portrait{aspect-ratio:4 / 5;max-width:460px;display:block;overflow:visible;background:none;border:0;border-radius:0;box-shadow:none}
@media (prefers-reduced-motion:no-preference){
  html.js .ab-title,html.js .ab-lede,html.js .ab-where,html.js .ab-actions{animation:f-rise 1.1s var(--ease) both}
  html.js .ab-title{animation-delay:.06s}
  html.js .ab-lede,html.js .ab-where{animation-delay:.2s}
  html.js .ab-actions{animation-delay:.28s}
  html.js .ab-photo{animation:ab-fade 1.6s var(--ease) .2s both}
}
@keyframes ab-fade{0%{opacity:0;transform:translateY(12px)}}
@media (max-width:960px){
  .ab-hero-text,.ab-photo{grid-column:1 / -1;grid-row:auto}
  .ab-hero-text{max-width:600px}
  .ab-photo{justify-self:start;max-width:420px;margin-top:40px}
}
@media (max-width:760px){
  .ab-hero{padding-top:136px}
  .ab-title{font-size:clamp(40px,11.5vw,56px);line-height:1.06}
  .ab-lede{font-size:18px}
  .ab-actions{display:grid;gap:12px}
  .ab-actions .f-btn{width:100%;min-height:52px;font-size:15px}
  .ab-photo{max-width:none;margin-top:32px}
  .ab-photo.f-portrait{width:calc(100% - 14px);max-width:400px}
}

/* The body reads like a letter from Glen: one centred reading column for every section (sections 2, 3 and 4).
   Chosen 6 Oct 2026 from about-mock-3. */
.ab-faff,.ab-why{margin-top:var(--section)}
.ab-faff-grid,.ab-why-grid{display:block;max-width:680px;margin-inline:auto}
.ab-faff-text h2,.ab-why-title{margin:0 0 24px;font:300 var(--type-section)/1.12 var(--serif);letter-spacing:-.035em;color:var(--deep);text-wrap:balance}
.ab-why-title{margin-bottom:28px}
.ab-faff-text p,.ab-why-text p{margin:0 0 22px;font-size:var(--type-copy);line-height:var(--leading-copy);color:var(--body);text-wrap:pretty}
.ab-faff-text p:last-child,.ab-why-text p:last-child{margin-bottom:0}
/* Small text link (used under the quote). */
.ab-faff-text .ab-faff-link{font-size:15px;line-height:1.6}

/* Section 3: Why "Cut the Faff"? Each reason has a soft teal rule down its left side, starting in bold. */
.ab-why-text p{padding-left:20px;border-left:2px solid var(--teal-soft)}
.ab-why-text strong{font-weight:500;color:var(--deep)}

/* Section 4: the quote. Wider than the column, centred, a drawn teal quote mark above. No rules or lines. */
.ab-faff-text .ab-quote{position:relative;margin:64px -80px 0;padding:0;text-align:center;font:300 clamp(30px,3.2vw,44px)/1.2 var(--serif);letter-spacing:-.03em;color:var(--deep)}
.ab-faff-text .ab-quote::before{content:"";position:static;display:block;width:44px;height:34px;margin:0 auto 22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34' fill='none' stroke='%232f8f80' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 4.2C9.6 7.6 4.3 13.6 3.6 21.7c-.4 4.6 2.4 8.3 6.6 8.4 3.9.1 6.6-2.6 6.5-6.2-.1-3.6-2.9-5.9-6.4-5.7'/%3E%3Cpath d='M40.2 4.2c-7.9 3.4-13.2 9.4-13.9 17.5-.4 4.6 2.4 8.3 6.6 8.4 3.9.1 6.6-2.6 6.5-6.2-.1-3.6-2.9-5.9-6.4-5.7'/%3E%3C/svg%3E") no-repeat center/contain;border:0;transform:none;transition:opacity .8s var(--ease) .2s,transform .8s var(--ease) .2s}
.ab-faff-text .ab-quote strong{font-weight:300}
html.js [data-reveal]:not(.is-in) .ab-quote::before{opacity:0;transform:translateY(8px) rotate(-6deg)}
.ab-faff-text .ab-quote-link{margin:22px 0 0;text-align:center}

@media (max-width:960px){
  .ab-faff-text .ab-quote{margin:56px 0 0}
}
@media (max-width:760px){
  .ab-faff-text p,.ab-why-text p{font-size:17px}
  .ab-faff-text .ab-faff-link{font-size:15px}
  .ab-why-text p{padding-left:16px}
  .ab-faff-text .ab-quote{margin-top:56px;font-size:30px}
  .ab-faff-text .ab-quote::before{width:36px;height:28px;margin-bottom:16px}
}

/* The close (the shared call to action from c.css, new words only): balance the line, and keep "I'd rather you did." together. */
.f-cta p{text-wrap:balance}
.ab-nowrap{white-space:nowrap}

/* Gate 6 Oct (Simon): the quote sits left, in line with the text (no big centred text mid-page). */
.ab-faff-text .ab-quote{margin-left:0;margin-right:0;text-align:left}
.ab-faff-text .ab-quote::before{margin:0 0 22px}
.ab-faff-text .ab-quote-link{text-align:left}

/* Gate 6 Oct (Simon): no fade from invisible. */
@keyframes ab-fade{0%{transform:translateY(12px)}}

/* Gate re-check 6 Oct: pull quote uses the Kit v1.2 thin teal rule on the left, like Home and the reads. */
.ab-faff-text .ab-quote{padding-left:24px}
.ab-faff-text .ab-quote::before{content:"";position:absolute;left:0;top:.1em;bottom:.1em;width:2px;height:auto;margin:0;background:var(--teal);transform:none}
html.js [data-reveal]:not(.is-in) .ab-quote::before{opacity:1;transform:none}
@media (max-width:760px){.ab-faff-text .ab-quote{padding-left:18px}}
