/* ═══════════════════════════════════════════════════════════════════════════
   DRIIF — COMPANY (About Us) page-specific layout only.
   Copy is the user's own, supplied directly for this page's Story/Vision,
   Core Values, Leadership and CTA sections. Reuses .hero/.media/.split/
   .eyebrow/.cta-band from components.css exactly as nexus.html and viper.html
   do; what's below is what's actually specific to this page: the centred
   hero copy, the Story/Vision divided list, the Core Values full-bleed grid,
   the leadership team grid, and the Partners placeholder.
   ═══════════════════════════════════════════════════════════════════════════ */


/* ── HERO: centred, not left/bottom-aligned ─────────────────────────────────
   .hero-copy (components.css) defaults to left-aligned single-column copy,
   and .hero-inner anchors that copy to the BOTTOM of the hero — right for
   nexus/viper's eyebrow+heading+lead+CTA stack, but the live company page's
   hero is a single centred headline with no eyebrow or CTA row under it, so
   it sits centred on the hero image both ways instead of pinned to its
   bottom edge. .hero-inner is overridden here rather than in components.css
   since this file only ever loads on company.html — nexus/viper still get
   the shared bottom-anchored default. */
.hero-inner{ justify-content:center; }
/* The headline is set in three lines by hand (asked for 2026-10-28: "The
   next era of / autonomy will not / be built in isolation."), one
   .intro-line each, so the measure no longer decides the breaks. It had
   been max-width:var(--measure-display), and 24ch resolved against this
   box's body-size font, not the display size, so it squeezed the heading
   into a ~230px column. From 640 each line holds on one row; below that a
   line wraps rather than overflow a phone. */
.company-hero-copy{ align-items:center; text-align:center; margin-inline:auto; }
@media (min-width:640px){ .company-hero-copy .intro-line-i{ white-space:nowrap; } }


/* ── LEADERSHIP: three-up team grid ────────────────────────────────────────
   Three named founders, always shown together — unlike .pillars (tuned to
   step from 1 to 2 to 3 columns for a longer capability list), this locks
   to 3-up as soon as there's room, single column below that. Card styling
   follows .card-notch's light-ground note: on .surface-light a filled dark
   card would fight the ground, so the card stays flush with the surface and
   is separated by a hairline border instead, matching the design system's
   own reasoning for card treatment on a light section. */
.team-grid{ display:grid; grid-template-columns:1fr; gap:var(--gutter);
  margin-top:var(--section-y-sm); }
/* 640 then 1024, the system's own breakpoints, not the single 800 step this
   carried until 2026-11-16. At 800 an iPad in portrait (768) got ONE column of
   full-width team cards with square photos — a very long section for a tablet
   with room for two. Going two-up at 640 and three-up at 1024 also stops the
   cards jumping straight from 1 to 3 across one step. */
@media (min-width:1024px){
  .team-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.team-card{ display:flex; flex-direction:column;
  border:var(--hair) solid var(--color-border); background:var(--color-bg); }
.team-photo{ aspect-ratio:1/1; overflow:hidden; border-bottom:var(--hair) solid var(--color-border); }
/* NO FILTER (2026-11-16, by request: "remove the grey filter on the founder images"). These were
   grayscale(1) contrast(1.06); the photographs now show as supplied. */
.team-photo img{ display:block; width:100%; height:100%; object-fit:cover; }
/* NAME AND ROLE LEFT, LINKEDIN RIGHT (2026-11-18, by request: "Linkedin Icons on the right hand side of the box
   where their name and designation is"). .team-id holds the text so the row is two children, and
   min-width:0 lets a long name wrap instead of pushing the icon off the card. */
.team-body{ padding:var(--space-6); display:flex; flex-direction:row; align-items:center;
  justify-content:space-between; gap:var(--space-4); }
.team-id{ min-width:0; display:flex; flex-direction:column; }
/* The same glyph as the footer (.footer-social), a 44px hit target around a 24px mark. The -10px margin
   pulls the glyph's own right edge onto the card's padding line, as .footer-social does with margin-left.
   This is a LIGHT surface, so hover goes to ink, not accent: accent is never text on a light ground
   (rule 11), and the footer's lime hover would vanish here. */
.team-link{ flex:none; display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; margin-right:-10px; color:var(--color-text-muted);
  transition:color var(--dur-fast) var(--ease-out); }
.team-link svg{ width:24px; height:24px; }
.team-link:hover, .team-link:focus-visible{ color:var(--color-text); }
.team-link:focus-visible{ outline:2px solid var(--color-text); outline-offset:2px; }

/* NEVER TWO-UP (2026-11-18, "In Ipad Air 5 ... the 3rd founder Ashita's square is showing up below the
   other two. i dont want that ... either all 3 show up in the same line or one below the other"). The
   two-up step above left the third founder alone on a second row at 640-1023 (an iPad Air 5 portrait is
   820). Three founders do not divide into two columns, so there is no two-up at all now: one column
   below 1024, three across from 1024. A full-width SQUARE card is what made one column too long on a
   tablet, so from 640 each card turns on its side: the photo takes the left 40% and the name,
   role and LinkedIn link sit in the right 60%. Below 640 the card stays vertical (a phone is narrow
   enough that a square photo is not tall). */
@media (min-width:640px) and (max-width:1023px){
  .team-card{ flex-direction:row; align-items:flex-start; }
  .team-photo{ flex:0 0 40%; border-bottom:0; border-right:var(--hair) solid var(--color-border); }
  .team-body{ flex:1 1 auto; align-self:stretch; }
  /* LINKEDIN UNDER THE ROLE, THIS RANGE ONLY (2026-11-18, "in the ipad air 5 screen size alone, let the
     linkedin logo come right below the designation. looks too far away otherwise"). In this on-its-side
     card the right-hand text box is ~460px wide, so an icon pinned to its far right sat a whole box away
     from the name. The body stacks and centres instead; the -10px margin-left puts the glyph's edge on
     the text's left edge (the 44px hit target is wider than the 24px mark), as .team-link's -10px
     margin-right does on the vertical card. */
  .team-body{ flex-direction:column; align-items:flex-start; justify-content:center; gap:0; }
  /* negative top margin: the 44px hit target carries 10px of empty space above its 24px glyph, so a
     positive margin left the VISIBLE gap at ~30px; this lands it at ~14px under the role. */
  .team-link{ margin:calc(var(--space-2) * -1) 0 0 -10px; }
}
/* ^ MUST stay below the base .team-card / .team-photo / .team-body rules above: it overrides them at equal
   specificity, so placed earlier in the file it silently does nothing (the cards stayed vertical). */

.team-role{ margin-top:var(--space-1); }
.team-body p{ margin-top:var(--space-4); }


/* ── STORY / VISION ──────────────────────────────────────────────────────
   A divided list, not two separate .split sections — reads as one argument
   in two movements rather than two unrelated sections. Each row is a left-
   aligned t-h1 heading with its copy stacked under it (see the note below;
   it was label-left/body-right until 2026-11-18). Vision's paragraph is the
   one row that is a single declarative line instead of running body copy, so
   it takes .story-vision rather than the Story paragraphs' t-lead. Core
   Values used to run as a third row here (copy was TBD) but now ships as its
   own full-bleed section below — four short, equal-weight statements read
   better as a grid of their own than as a third row cramped into this
   format. */
.story-list{ display:flex; flex-direction:column; }
/* STACKED, NOT LABEL-LEFT (2026-11-18, "the story and vision sections look a bit out of place with how the
   alignment and design is in the rest of the website"). The old row was a 3fr label / 9fr copy grid from
   1024: a small t-h3 label hung in a narrow left column and the copy began at x=449 of 1440, leaving the
   same empty left third the home replatform section was pulled up on ("the text is all on the right hand
   side and looks awful"). A row is now one column everywhere: the t-h1 heading on top, the copy under it at
   --measure-wide. The hairline between the two rows stays; it is the divider this section always had. */
.story-row{ display:grid; grid-template-columns:minmax(0,1fr); gap:var(--space-6);
  padding:var(--space-7) 0; border-top:var(--hair) solid var(--color-border-subtle); }
.story-row:first-child{ border-top:var(--hair) solid var(--color-border-subtle); }
/* LAPTOP AND DESKTOP: HALF AND HALF (2026-11-18, "the story and vision sections look good everywhere except the
   laptop and desktop sizes. cuz it is too much to the left and right side looks very empty"). Stacked,
   the copy filled 1031px and the Vision line 612px of a 1344px container at 1440, so the whole right of the
   row was empty. From 1024 the row is the site's split-header shape: the heading in the left half, the copy
   in the right half, both rows on the same dividing line. Below 1024 it stays stacked (it was approved
   there). Equal halves, not 11fr/6fr, because here the copy is the substantial side. */
@media (min-width:1024px){
  .story-row{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:var(--gutter-lg); align-items:start; }
}
/* LAPTOP ONLY: PULLED IN FROM BOTH SIDES (2026-11-18, "center the whole thing a bit more. so its not so
   extended - this point alone only for laptop size"). 1024-1599 is the laptop range (1600 is the system's own
   desktop breakpoint, so desktop and ultrawide are untouched). The list is inset by --gutter-lg on each side
   (the split gap token, clamp(32px,6vw,160px): 61px at 1024, 86px at 1440, 96px at 1599), which narrows the
   rules and the two halves together so the block reads as centred rather than stretched edge to edge. It is
   padding, not a max-width: layout is never width-capped on this site (guidelines rule 2). Cost: the story
   heading's left edge no longer lines up with the page's --edge here, deliberately. */
@media (min-width:1024px) and (max-width:1599px){
  .story-list{ padding-inline:var(--gutter-lg); }
}
.story-row p{ max-width:var(--measure-wide); margin:0; text-wrap:pretty; }
/* Our Story runs three paragraphs, not one — .story-row p's margin:0 assumed
   a single child, so the stack gets its own gap instead of relying on that. */
.story-copy{ display:flex; flex-direction:column; gap:var(--space-4); }
/* The Vision line is ONE declarative sentence, a t-h2 under its t-h1 (rule 5: headings descend), mixed
   case like every other fold heading below a hero (it was caps). Capped and balanced the way the Applications
   fold ledes are (.app-fold .gap-copy > .t-h2: 36ch, balance) so it lands on two even lines. Higher
   specificity than .story-row p above, which would otherwise set it to the wide measure. */
.story-row .story-vision{ max-width:36ch; text-wrap:balance; }


/* ── CORE VALUES: full-bleed 2-up grid ─────────────────────────────────────
   Requested explicitly as "that applications box layout... like a 2/2
   grid" — .app-tiles/.tile (home.css) is the reference: a full-bleed grid
   of boxes on a hairline background so the gaps between them read as a
   single rule rather than four separate borders, an index number pinned to
   the top corner, and the heading+copy anchored to the bottom of the box
   via justify-content:flex-end. Values have no imagery though, so unlike
   .tile this skips the .media layer and the separate .tile-cap band (that
   band exists only to give caption text a legible strip over a photo) —
   here the whole box is one flat surface and the text can sit directly on
   it. 2-up rather than .app-tiles' 3-up: four values divide evenly into a
   2x2 grid, matching what was asked for; three would leave the last row
   uneven.
   The index tints accent instead of .tile-idx's muted default — with no
   photo to carry visual weight, the number is what gives each box a focal
   point, so it borrows the same accent already used for CTAs. Set directly
   here rather than via the shared .accent utility: .accent and .t-meta are
   both single-class selectors of equal specificity, and .t-meta's own
   color declaration (base.css) sits below .accent's in that same file, so
   .accent silently lost the cascade when tried as a third class on the
   element. Declaring it here instead wins cleanly — this file loads after
   base.css, so a same-specificity rule here always takes it.
   The section runs .surface-dark (originally shipped .surface-light) —
   every colour below is one of the semantic tokens (--color-bg,
   --color-text, --color-border-subtle, .muted's --color-text-muted) that
   tokens.css redeclares per surface class, so the flip to black needed no
   other change here: .value-tile's background is --color-bg (now black,
   matching the section ground it sits on, same as .tile on Applications),
   .values-grid's background is --color-border-subtle (now a faint WHITE
   hairline instead of a dark one) so the grid lines still read against the
   new ground, and h3/p ink follow --color-text/--color-text-muted the same
   way. Only .value-idx's accent yellow was hand-set rather than token-
   driven, and it already reads correctly on either ground. */
/* CONTAINED, NOT EDGE-TO-EDGE (changed 2026-11-16, by request: "the boxes
   extend to the end of the screen which does not fall into brand guidelines").
   The grid used to sit outside .bleed and run 0 to 100vw; it is inside it now,
   so it stops at --edge like everything else on the page.
   THE HEADING IS NO LONGER CENTRED (2026-11-18, "Our Core Values heading alone
   is different from the others"). It was a centred t-h3 while Our Story, Our
   Vision and Our Leadership Team are left-aligned t-h1s, so it is the same
   left-aligned h2.t-h1 now and the old `#values .bleed > h3{ text-align:center }`
   rule is gone (it matched only a direct-child h3, which no longer exists). */
.values-grid{ display:grid; grid-template-columns:1fr; gap:var(--hair);
  background:var(--color-border-subtle); margin-top:var(--section-y-sm);
  border:var(--hair) solid var(--color-border-subtle); }
/* A CLOSED FRAME, all four sides (2026-11-18, by request: "there is no vertical line to close the box on the
   sides ... make it complaint with the rest of the website"). It was border-block only, so the top and
   bottom were ruled and the left and right edges were open. Every other boxed grid on the site is a
   closed box in the same hairline (the Applications tiles, the metric grid), which is why this is the
   same --hair solid --color-border-subtle and not a new weight or colour. */
/* 640, one of the system's three breakpoints, NOT the 800 this carried until
   2026-11-16. At 800 an iPad in portrait (768) got a single column of four
   tall tiles while the rest of the page had already gone two-up — the section
   read as weirdly long, and 800 was a fourth breakpoint the system does not
   have. Measured at 640 the tiles are ~296px wide, which holds every value
   name on one line. */
@media (min-width:640px){ .values-grid{ grid-template-columns:repeat(2,1fr); } }
/* NUMERAL DIRECTLY ABOVE THE NAME (2026-11-18, "too much gap between the numbering and the text"). The
   numeral was position:absolute at the tile's top-left while the name and copy sat at the bottom of a
   340px tile (justify-content:flex-end), 132px apart at 1440 with nothing between. It is in the flow now,
   a --space-3 step above the heading like .replat-cap-n, the tile is top-aligned so the four numerals
   share a baseline across a row, and the fixed min-height is gone: the tile is as tall as its content
   plus padding. Rows still match because the grid stretches both tiles of a row to the taller one. */
.value-tile{ position:relative; background:var(--color-bg);
  display:flex; flex-direction:column; justify-content:flex-start;
  padding:var(--space-6); }
.value-idx{ margin-bottom:var(--space-3); line-height:1; color:var(--color-accent); }
.value-tile h3{ margin-bottom:var(--space-3); }
.value-tile p{ max-width:var(--measure-card); margin:0; }
@media (min-width:1024px){
  .value-tile{ padding:var(--space-7); }
}

