/* TULIR SYSTEMS | About page, version 5 of 2026-11-01 (page-scoped; no other page uses this file).
   Reuses site.css for every shared component and token. All selectors are namespaced
   by .about-page and .about-* so nothing here can reach another page.
   The filename keeps its old "-v1" because tools/stamp.mjs, test/structure.mjs and the
   deployer all name it; renaming it would orphan the cache-stamp and the ?v= check.
   Type never drops below 13px: Chrome on the owner's profile enforces a 13px floor, and
   a smaller rule renders at the floor and changes line counts (see tools/shots.mjs).

   TARGET: Tulir_About_V5 package, references/01_APPROVED_ABOUT_TULIR_V5_FULL_PAGE_1774x887.png.
   Every size below was fitted to that image's ink at 1774px (scripts/measurements in the
   commit message), then written as clamp(floor, design-pixels * --u, design-pixels) so the
   page scales with the window down to a floor and never grows past the mockup's size.
   --u is ONE DESIGN PIXEL: the window's width divided by the mockup's 1774. */
.about-page {
  --u:calc(100vw / 1774);
  --about-navy:#001d45;       /* headings, icon strokes (brand navy, V2 brand guide) */
  --about-ink:#0b1d3f;        /* the hero paragraph */
  --about-body:#10264b;       /* the story paragraph */
  --about-muted:#44546d;      /* card and principle descriptions */
  --about-green:#075d45;      /* dark green: second headline line, primary button, link text */
  --about-accent:#1d8a45;     /* icon accents */
  --about-mint:#edf5f1;       /* the three approach cards */
  --about-band:#f3f8f6;       /* the principles band */
  --about-line:#d9e1e8;       /* hairlines */
  --about-deep:#011d4a;       /* the closing banner */
  --about-w:min(1596px, calc(100% - 2 * clamp(20px, calc(var(--u) * 89), 89px)));
  /* the photograph's gap to the window's right edge: the container's own side margin, but never so large that its soft edge passes 36px into the copy (percentages resolve at the photograph) */
  --about-photo-inset:max(0px, min(calc((100% - var(--about-w)) / 2), calc((100% + var(--about-w)) / 2 - min(58.3vw, 1034px) - clamp(450px, calc(var(--u) * 546), 546px) + 36px)));
}
/* Current-page mark in the shared header. site-nav.js sets aria-current="page"; nothing
   styled it, and the rule this replaces targeted href="about.html" while the header's link
   is "/about.html", so it never matched. Hidden below the width where the nav collapses
   into the menu (959px, see site.css), where an underline would sit on a stacked list. */
.about-page .main-nav > a[aria-current="page"] { color:var(--forest); position:relative; }
.about-page .main-nav > a[aria-current="page"]::after { content:""; position:absolute; height:2px; bottom:4px; left:2px; right:2px; background:var(--forest); }
@media (max-width:959px) { .about-page .main-nav > a[aria-current="page"]::after { display:none; } }

/* Shared pieces: buttons, icons. The button's arrow is an inline SVG (currentColor), so it
   follows the label in every colour scheme, including forced colours. */
.about-page .about-btn { display:inline-flex; align-items:center; justify-content:center; gap:clamp(8px, calc(var(--u) * 12), 12px); min-height:clamp(46px, calc(var(--u) * 51), 51px); padding:0 clamp(16px, calc(var(--u) * 24), 24px); border:1.5px solid transparent; border-radius:7px; font:600 clamp(14.5px, calc(var(--u) * 15), 15px)/1.2 var(--sans); text-decoration:none; white-space:nowrap; }
.about-page .about-btn svg { flex:none; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.about-page .about-btn--primary { background:var(--about-green); border-color:var(--about-green); color:#fff; }
.about-page .about-btn--primary:hover { background:#064a37; border-color:#064a37; }
.about-page .about-btn--outline { background:#fff; border-color:#4f7a6f; color:var(--about-green); }
.about-page .about-btn--outline:hover { background:var(--about-band); border-color:var(--about-green); }
.about-page .about-btn--light { background:#fff; border-color:#fff; color:var(--about-green); }
.about-page .about-btn--light:hover { background:#e9f2ee; border-color:#e9f2ee; }
.about-page .about-btn--line { background:transparent; border-color:rgba(255,255,255,.92); color:#fff; }
.about-page .about-btn--line:hover { background:rgba(255,255,255,.12); border-color:#fff; }
.about-page .about-btn:focus-visible { outline:2px solid var(--about-green); outline-offset:3px; }
.about-page .about-closing .about-btn:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.about-page .about-ico { flex:none; display:block; fill:none; stroke:currentColor; stroke-width:3.6; stroke-linecap:round; stroke-linejoin:round; color:var(--about-navy); }
.about-page .about-ico .about-ico-accent { stroke:var(--about-accent); }
.about-page .about-ico .about-ico-fill { fill:var(--about-accent); }
.about-page .about-ico .about-ico-top { fill:var(--about-mint); }
.about-page .about-ico .about-ico-bars { stroke-width:6.5; stroke-linecap:butt; }
.about-page .about-ico .about-ico-dot { fill:var(--about-accent); stroke:none; }

/* 1. Hero. One grid cell: the copy and the photograph share it, so the hero is as tall as
   whichever is taller. The photograph is the supplied 1034x364 crop (all four family members
   from behind), 58.3% of the window wide and never wider than its own 1034px, flush right,
   filling the cell's height (object-fit:cover, focal point 58%) so no strip of white ever
   shows under it. The crop begins exactly where the mockup's own fade ends (x=740 at 1774),
   so the white fade is CSS, an eased ramp over the crop's first 10.5%. Below 1180px the photograph
   moves under the copy at full width. The crop's own top three rows are near-white (the mockup's header bleed), so the image is nudged
   up 3px under the hero's clipped edge. Its right edge sits on the content's right edge (the container the story, cards, band and banner share), as far left as the copy allows: the margin is the
   container's own side margin, but never so large that the photograph's soft edge would pass 36px into the copy. */
.about-page .about-hero { position:relative; display:grid; grid-template-columns:minmax(0, 1fr); background:transparent; isolation:isolate; overflow:hidden; }
.about-page .about-hero-inner { grid-area:1 / 1; position:relative; z-index:1; width:var(--about-w); margin:0 auto; padding:clamp(24px, calc(var(--u) * 33), 33px) 0 clamp(16px, calc(var(--u) * 18), 18px); }
.about-page .about-hero-copy { max-width:clamp(450px, calc(var(--u) * 546), 546px); padding-left:clamp(0px, calc(var(--u) * 44), 44px); }
.about-page .about-hero picture { display:contents; }
.about-page .about-hero-photo { grid-area:1 / 1; justify-self:end; width:min(58.3vw, 1034px); height:calc(100% + 3px); margin-top:-3px; margin-right:var(--about-photo-inset); object-fit:cover; object-position:58% 50%;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, rgba(0,0,0,.28) 3.5%, rgba(0,0,0,.68) 7%, #000 10.5%); mask-image:linear-gradient(90deg, transparent 0, rgba(0,0,0,.28) 3.5%, rgba(0,0,0,.68) 7%, #000 10.5%); }
.about-page .about-eyebrow { font:700 clamp(13px, calc(var(--u) * 14.6), 14.6px)/1.3 var(--sans); letter-spacing:.17em; text-transform:uppercase; color:var(--about-navy); }
.about-page .about-hero h1 { margin-top:clamp(8px, calc(var(--u) * 10), 10px); font:700 clamp(38px, calc(var(--u) * 50.8), 50.8px)/1.06 var(--serif); letter-spacing:0; color:var(--about-navy); }
.about-page .about-h1-line { display:block; }
.about-page .about-h1-green { color:var(--about-green); }
.about-page .about-lede { margin-top:clamp(10px, calc(var(--u) * 14.5), 14.5px); font:400 clamp(16px, calc(var(--u) * 16), 16px)/1.5625 var(--sans); color:var(--about-ink); }
.about-page .about-actions { display:flex; flex-wrap:wrap; gap:clamp(12px, calc(var(--u) * 25), 25px); margin-top:clamp(16px, calc(var(--u) * 18.5), 18.5px); }

/* 2. Story and approach. Two columns share one row and are centred on each other, as in the
   mockup (the story's heading sits 12px lower than the approach's). A hairline divides them:
   it is the approach column's left border, so it is exactly as tall as that column. */
.about-page .about-duo { width:var(--about-w); margin:0 auto; display:grid; grid-template-columns:minmax(0, 36%) minmax(0, 1fr); align-items:center; padding:clamp(8px, calc(var(--u) * 11), 11px) 0 clamp(20px, calc(var(--u) * 29), 29px); }
.about-page .about-story { padding:clamp(0px, calc(var(--u) * 10), 10px) clamp(16px, calc(var(--u) * 40), 40px) 0 clamp(0px, calc(var(--u) * 24), 24px); }
.about-page .about-approach { border-left:1px solid var(--about-line); padding:0 0 0 clamp(16px, calc(var(--u) * 29), 29px); }
.about-page .about-story h2,
.about-page .about-approach h2,
.about-page .about-principles h2 { font:700 clamp(24px, calc(var(--u) * 28.1), 28.1px)/1.2 var(--serif); letter-spacing:0; color:var(--about-navy); }
.about-page .about-approach h2 { font-size:clamp(23px, calc(var(--u) * 27.2), 27.2px); }
.about-page .about-principles h2 { padding-left:clamp(0px, calc(var(--u) * 24), 24px); padding-right:clamp(6px, calc(var(--u) * 14), 14px); font-size:clamp(25px, calc(var(--u) * 29.7), 29.7px); }
.about-page .about-story p { max-width:calc(var(--u) * 506); margin-top:clamp(8px, calc(var(--u) * 16), 16px); font:400 clamp(14.5px, calc(var(--u) * 15.2), 15.2px)/1.58 var(--sans); color:var(--about-body); }
.about-page .about-approach-lead { margin-top:clamp(6px, calc(var(--u) * 10), 10px); font:400 clamp(14.5px, calc(var(--u) * 15.2), 15.2px)/1.5 var(--sans); color:var(--about-body); }
.about-page .about-steps { list-style:none; display:flex; align-items:stretch; gap:clamp(36px, calc(var(--u) * 55), 55px); margin-top:clamp(12px, calc(var(--u) * 13), 13px); }
.about-page .about-step { position:relative; flex:1 1 0; min-width:0; display:flex; align-items:flex-start; gap:clamp(12px, calc(var(--u) * 16), 16px); min-height:clamp(88px, calc(var(--u) * 104), 104px); padding:clamp(10px, calc(var(--u) * 13), 13px) clamp(12px, calc(var(--u) * 16), 16px) clamp(10px, calc(var(--u) * 13), 13px) clamp(14px, calc(var(--u) * 22), 22px); background:var(--about-mint); border-radius:16px; }
.about-page .about-step .about-ico { align-self:center; width:clamp(50px, calc(var(--u) * 74), 74px); height:clamp(50px, calc(var(--u) * 74), 74px); margin:-3px 0 -3px -4px; }
.about-page .about-step h3 { font:700 clamp(18px, calc(var(--u) * 21.5), 21.5px)/1.2 var(--serif); letter-spacing:0; color:var(--about-navy); }
.about-page .about-step p { margin-top:5px; font:400 clamp(14px, calc(var(--u) * 15), 15px)/1.55 var(--sans); color:var(--about-muted); }
.about-page .about-step:not(:last-child)::after { content:""; position:absolute; top:50%; left:calc(100% + clamp(8px, calc(var(--u) * 15), 15px)); width:clamp(20px, calc(var(--u) * 28), 28px); height:clamp(16px, calc(var(--u) * 22), 22px); transform:translateY(-50%);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075d45' stroke-width='3.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18m-7-7 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* 3. Principles: a pale band the full width of the window, the heading, then three groups
   separated by hairlines (each group's left border; the first one divides the heading). */
.about-page .about-principles { background:var(--about-band); }
.about-page .about-principles-inner { width:var(--about-w); margin:0 auto; display:grid; grid-template-columns:minmax(0, 281fr) minmax(0, 422fr) minmax(0, 459fr) minmax(0, 434fr); align-items:center; padding:clamp(10px, calc(var(--u) * 15), 15px) 0; }
.about-page .about-principle-list { display:contents; list-style:none; }
.about-page .about-principle { position:relative; align-self:stretch; display:flex; align-items:flex-start; gap:clamp(12px, calc(var(--u) * 24), 24px); padding:clamp(4px, calc(var(--u) * 6), 6px) clamp(12px, calc(var(--u) * 20), 20px) clamp(4px, calc(var(--u) * 6), 6px) clamp(16px, calc(var(--u) * 37), 37px); }
.about-page .about-principle::before { content:""; position:absolute; left:0; top:50%; height:clamp(46px, calc(var(--u) * 62), 62px); width:1px; transform:translateY(-50%); background:var(--about-line); }
.about-page .about-principle .about-ico { align-self:center; width:clamp(40px, calc(var(--u) * 60), 60px); height:clamp(40px, calc(var(--u) * 60), 60px); margin:-4px 0 -4px -4px; }
.about-page .about-principle h3 { font:700 clamp(16px, calc(var(--u) * 18.4), 18.4px)/1.25 var(--sans); color:var(--about-navy); }
.about-page .about-principle p { margin-top:clamp(2px, calc(var(--u) * 6), 6px); font:400 clamp(14px, calc(var(--u) * 15.2), 15.2px)/1.5 var(--sans); color:var(--about-muted); text-wrap:balance; }

/* 4. Closing banner: deep navy, rounded, the headline at the left, a hairline, the copy, the
   two buttons; the last ~250px at the right carry quiet blue mountain ridges (CSS only). */
.about-page .about-closing { padding:clamp(12px, calc(var(--u) * 19), 19px) 0 clamp(36px, calc(var(--u) * 52), 52px); }
.about-page .about-closing-inner { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; width:min(1680px, calc(100% - 2 * clamp(12px, calc(var(--u) * 46), 46px))); min-height:clamp(78px, calc(var(--u) * 85), 85px); margin:0 auto; padding:0 clamp(220px, calc(var(--u) * 250), 250px) 0 clamp(20px, calc(var(--u) * 70), 70px); border-radius:16px; background:var(--about-deep); color:#fff; }
.about-page .about-closing-inner::after { content:""; position:absolute; z-index:-1; top:0; right:0; bottom:0; width:clamp(200px, calc(var(--u) * 290), 290px);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 290 85' preserveAspectRatio='none'%3E%3Cpath d='M0 60 42 46 84 53 124 31 166 45 212 17 244 30 290 22V85H0Z' fill='%232a5a87'/%3E%3Cpath d='M0 70 52 58 104 65 156 48 208 61 258 44 290 52V85H0Z' fill='%231a4272'/%3E%3Cpath d='M0 80 62 68 124 75 194 62 254 72 290 66V85H0Z' fill='%230a2552'/%3E%3C/svg%3E") right center / 100% 100% no-repeat, linear-gradient(180deg, #2f6590 0, #103a68 100%);
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 55%); mask-image:linear-gradient(90deg, transparent 0, #000 55%); }
.about-page .about-closing h2 { flex:none; padding-bottom:clamp(2px, calc(var(--u) * 6), 6px); font:700 clamp(26px, calc(var(--u) * 33.6), 33.6px)/1.1 var(--serif); letter-spacing:-.03em; color:#fff; }
.about-page .about-closing-copy { flex:1 1 0; min-width:0; max-width:clamp(260px, calc(var(--u) * 392), 392px); margin-left:clamp(20px, calc(var(--u) * 46), 46px); padding:2px 0 2px clamp(16px, calc(var(--u) * 29), 29px); border-left:1px solid rgba(255,255,255,.3); font:400 clamp(14px, calc(var(--u) * 15.2), 15.2px)/1.55 var(--sans); color:#fff; }
.about-page .about-closing .about-actions { flex:none; flex-wrap:nowrap; gap:clamp(12px, calc(var(--u) * 28), 28px); margin:0 0 0 auto; padding-left:clamp(16px, calc(var(--u) * 40), 40px); }
.about-page .about-closing .about-btn { min-height:46px; }

/* 5. Legal notice kept from the previous About page, word for word (not part of the V5
   mockup; flagged to the owner). Quiet small print between the banner and the footer. */
.about-page .about-legal { width:var(--about-w); margin:0 auto; padding:0 clamp(0px, calc(var(--u) * 24), 24px) clamp(34px, calc(var(--u) * 48), 48px); }
.about-page .about-legal-grid { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr); gap:clamp(24px, calc(var(--u) * 48), 48px); align-items:start; padding-top:clamp(24px, calc(var(--u) * 32), 32px); border-top:1px solid var(--about-line); }
.about-page .about-legal h2 { font:700 clamp(18px, calc(var(--u) * 20), 20px)/1.25 var(--serif); letter-spacing:0; color:var(--about-navy); margin-bottom:10px; }
.about-page .about-legal p { font:400 14px/1.6 var(--sans); color:var(--about-muted); margin-top:8px; text-wrap:pretty; }
.about-page .about-legal-note { padding:2px 0 2px 20px; border-left:3px solid var(--about-line); }
.about-page .about-legal-note-title { font:700 13px/1.3 var(--sans); letter-spacing:.1em; text-transform:uppercase; color:var(--about-navy); margin:0 0 4px; }
.about-page .about-legal a { font-weight:600; color:var(--about-green); text-decoration:underline; text-underline-offset:2px; }
.about-page .about-legal a:focus-visible { outline:2px solid var(--about-green); outline-offset:3px; border-radius:3px; }

/* From 1700px up the principle texts wrap as the mockup's do (the first one is held to 250px so "understand." does not stand alone); below that they balance. */
@media (min-width:1700px) {
  .about-page .about-principle p { text-wrap:wrap; max-width:min(290px, calc(var(--u) * 290)); }
  .about-page .about-principle:first-child p { max-width:min(250px, calc(var(--u) * 250)); }
}

/* Below the mockup's width: balanced short paragraphs and a little tighter approach cards, so each card's text keeps two lines (the text column stays at least 156px). */
@media (max-width:1699px) {
  .about-page .about-lede,.about-page .about-story p { text-wrap:pretty; }
  .about-page .about-approach-lead,.about-page .about-step p,.about-page .about-closing-copy { text-wrap:balance; }
  .about-page .about-step { gap:clamp(8px, calc(var(--u) * 11), 12px); padding-left:clamp(12px, calc(var(--u) * 15), 18px); }
  .about-page .about-step .about-ico { width:clamp(44px, calc(var(--u) * 62), 74px); height:clamp(44px, calc(var(--u) * 62), 74px); }
}

/* The banner is one row from 1440px; below that the buttons take a second row, so the copy keeps a readable measure. */
@media (min-width:1180px) and (max-width:1439px) {
  .about-page .about-closing-inner { display:grid; grid-template-columns:auto minmax(0, 1fr); align-items:center; row-gap:16px; padding:24px 250px 26px clamp(20px, calc(var(--u) * 70), 70px); }
  .about-page .about-closing-copy { max-width:520px; margin-left:28px; }
  .about-page .about-closing .about-actions { grid-column:1 / -1; margin:0; padding:0; }
}

/* Laptops (below the large-desktop layout of 1440px): the story stacks above the approach, so neither column is squeezed (the paragraph keeps a readable
   measure, the three cards share the full width), and every block starts on the same left edge. */
@media (max-width:1439px) {
  .about-page .about-hero-copy { padding-left:0; }
  .about-page .about-duo { display:block; padding-top:clamp(20px, 3vw, 32px); }
  .about-page .about-story { padding:0 0 clamp(18px, 2.4vw, 26px) 0; }
  .about-page .about-story p { max-width:760px; }
  .about-page .about-approach { border-left:0; padding:clamp(16px, 2.2vw, 24px) 0 0 0; border-top:1px solid var(--about-line); }
  .about-page .about-principles h2 { padding-left:0; }
  .about-page .about-legal { padding-left:0; padding-right:0; }
}

/* Tablets and phones (below 1180px, where the copy column would reach the photograph's soft edge). The hero stacks (copy, then the photograph
   at full width), the principles stack, the banner becomes a column. */
@media (max-width:1179px) {
  .about-page .about-hero { display:flex; flex-direction:column; }
  .about-page .about-hero-inner { width:100%; padding:30px 30px 26px; }
  .about-page .about-hero-copy { max-width:620px; }
  .about-page .about-hero h1 { font-size:clamp(40px, 4vw, 46px); }
  .about-page .about-lede { font-size:17px; }
  .about-page .about-hero-photo { width:100%; height:auto; margin:0; aspect-ratio:1034 / 364; max-height:340px;
    -webkit-mask-image:linear-gradient(180deg, transparent 0, #000 12%); mask-image:linear-gradient(180deg, transparent 0, #000 12%); }
  .about-page .about-duo,
  .about-page .about-principles-inner,
  .about-page .about-legal { width:calc(100% - 60px); }
  .about-page .about-principles-inner { display:block; padding:26px 0 18px; }
  .about-page .about-principle-list { display:grid; grid-template-columns:1fr; margin-top:16px; }
  .about-page .about-principle { border-top:1px solid var(--about-line); padding:16px 0; }
  .about-page .about-principle::before { display:none; }
  .about-page .about-closing-inner { display:block; padding:30px 28px 32px; }
  .about-page .about-closing-inner::after { top:auto; height:46%; width:clamp(150px, 45%, 300px); opacity:.55; }
  .about-page .about-closing-copy { max-width:none; margin:14px 0 0; padding:0; border-left:0; }
  .about-page .about-closing .about-actions { margin:22px 0 0; padding-left:0; flex-wrap:wrap; }
  .about-page .about-legal-grid { grid-template-columns:1fr; }
}
@media (max-width:767px) {
  .about-page .about-steps { flex-direction:column; gap:34px; }
  .about-page .about-step { flex:none; min-height:0; padding:16px; }
  .about-page .about-step:not(:last-child)::after { top:calc(100% + 5px); left:50%; transform:translateX(-50%) rotate(90deg); }
}
@media (max-width:600px) {
  .about-page .about-hero-inner { padding:26px 22px 22px; }
  .about-page .about-hero h1 { font-size:clamp(28px, 8.6vw, 40px); }
  .about-page .about-lede { font-size:16px; }
  .about-page .about-actions { flex-direction:column; align-items:stretch; }
  .about-page .about-hero-photo { aspect-ratio:auto; height:clamp(200px, 62vw, 260px); object-position:55% 50%; }
  .about-page .about-duo,
  .about-page .about-principles-inner,
  .about-page .about-legal { width:calc(100% - 44px); }
  .about-page .about-closing-inner { width:calc(100% - 24px); padding:26px 22px 28px; }
  .about-page .about-closing h2 { font-size:30px; }
}

.about-page .about-hero h1,.about-page h2,.about-page h3 { text-wrap:balance; }
@media (prefers-reduced-motion:no-preference) {
  .about-page .about-btn { transition:background-color .15s ease, border-color .15s ease; }
}
@media (forced-colors:active) {
  .about-page .about-btn { border:2px solid ButtonText; }
  .about-page .about-step { border:1px solid CanvasText; }
  .about-page .about-closing-inner { border:1px solid CanvasText; }
}
/* Print: browsers drop backgrounds by default, which would print the white labels of the filled button and the whole navy banner as pale grey on white. */
@media print {
  .about-page .about-btn--primary { background:#fff; color:var(--about-green); border-color:var(--about-green); }
  .about-page .about-closing-inner { background:#fff; color:var(--about-deep); border:1px solid var(--about-deep); }
  .about-page .about-closing-inner::after { display:none; }
  .about-page .about-closing h2,.about-page .about-closing-copy,.about-page .about-btn--light,.about-page .about-btn--line { color:var(--about-deep); border-color:var(--about-deep); background:#fff; }
  .about-page h2,.about-page h3 { break-after:avoid; }
  .about-page .about-step,.about-page .about-principle,.about-page .about-legal-note { break-inside:avoid; }
}
