/* =========================================================================
   THE FAS GROUP — BRAND TOKENS
   =========================================================================
   Edit the values below to retheme colors and typefaces across every page
   of the site in one place. This file is loaded after the compiled
   stylesheet, so these values always win — never edit the big compiled
   file (30f7e1ad65-styles-*.css), it is machine-generated and will be
   overwritten if the site is ever rebuilt.

   Colors are in the oklch() format (Lightness% Chroma Hue). A hex
   approximation is noted next to each as a comment for quick reference —
   if you prefer to work in hex, paste that hex into any color picker that
   supports oklch conversion (e.g. oklch.com) to fine-tune it, then paste
   the oklch() value back in here.
   ========================================================================= */

:root {
  /* ---- Layout ---- */
  --radius: 0.25rem;             /* corner rounding used on cards/buttons */

  /* ---- Core palette ---- */
  --background:         oklch(97.4148% 0.003471 219.533);  /* ~#F4F7F8 — page background, pale cool paper */
  --foreground:          oklch(28.6942% 0.039836 232.213); /* ~#142E3B — body text, ink navy */

  --card:                oklch(98.8%    0.002    220);     /* ~#FAFBFC — card/panel background */
  --card-foreground:    oklch(28.6942% 0.039836 232.213);  /* ~#142E3B — text on cards */

  --primary:             oklch(52.8806% 0.076663 223.455); /* ~#31758C — brand accent (links, headings, active nav) */
  --primary-foreground:  oklch(99%     0.002    220);      /* ~#FAFCFD — text on primary-colored backgrounds */

  --secondary:           oklch(90.3478% 0.010093 212.523); /* ~#D8E1E3 — secondary surfaces (nav bar, tags) */
  --secondary-foreground:oklch(28.6942% 0.039836 232.213); /* ~#142E3B — text on secondary surfaces */

  --muted:               oklch(94.5%   0.006    216);      /* ~#E9EEEF — subtle section backgrounds */
  --muted-foreground:    oklch(49%     0.025    226);      /* ~#52646B — secondary/supporting text */

  --accent:              oklch(90.3478% 0.010093 212.523); /* ~#D8E1E3 — hover/active surface */
  --accent-foreground:   oklch(28.6942% 0.039836 232.213); /* ~#142E3B */

  --border:              oklch(90.3478% 0.010093 212.523); /* ~#D8E1E3 — card/input borders */
  --rule:                oklch(72%     0.025    220);      /* ~#94A9B0 — hairline divider rules between sections */
  --input:               oklch(90.3478% 0.010093 212.523); /* ~#D8E1E3 — form field borders */
  --ring:                oklch(52.8806% 0.076663 223.455); /* ~#31758C — focus ring color */

  --destructive:         oklch(52%     0.19     27);       /* ~#BE2323 — error/destructive states (rarely used) */
  --destructive-foreground: oklch(99% 0.002     220);

  /* ---- Typefaces ----
     Sora and Manrope are self-hosted (the actual font files live in
     assets/*.woff2, loaded via assets/fonts.css — no external Google
     Fonts request happens at runtime). To swap to a different typeface
     already installed on most systems, just change the family name below;
     to use a new downloaded font, add its @font-face rule to fonts.css
     and reference that family name here. */
  --font-display: "Sora", system-ui, sans-serif;     /* big headlines */
  --font-body:    "Manrope", system-ui, sans-serif;  /* paragraph text */
  --font-kicker:  "Manrope", system-ui, sans-serif;  /* small-caps labels/eyebrows */
}

/* =========================================================================
   VIDEO BAND — full-width video behind the "three pillars" section (home)
   Edit --band-tint to make the video darker/lighter behind the text.
   ========================================================================= */
.video-band{
  --band-tint: oklch(24% 0.04 232 / 0.45);   /* dark navy wash over the video */
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--foreground) center / cover no-repeat;
  color: var(--primary-foreground);
}
.video-band > video{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.video-band::after{                      /* the tint */
  content: ""; position: absolute; inset: 0; background: var(--band-tint);
}
.video-band-inner{
  position: relative; z-index: 1;
  max-width: 80rem; margin: 0 auto; padding: 2.75rem 1.25rem 3rem;
}
@media (min-width: 640px){ .video-band-inner{ padding-left: 2rem; padding-right: 2rem; } }
.video-band .kicker{ color: var(--primary-foreground); }
.pillar-glass{
  display: block; padding: 1.5rem;
  background: color-mix(in oklab, var(--background) 82%, transparent);
  color: var(--foreground);
  backdrop-filter: blur(6px);
  border-top: 2px solid var(--primary);
  transition: background-color .2s;
}
.pillar-glass:hover{ background: var(--background); }
.pillar-glass:hover h3{ color: var(--primary); }
@media (prefers-reduced-motion: reduce){ .video-band > video{ display: none; } }

/* Header wordmark "THE FÁS GROUP" in brand blue-green (same as headline) */
h1 > span[aria-label="The Fás Group"] { color: var(--primary); }

/* Nav "Offerings / Pillars" button: match the other nav links exactly */
nav[aria-label="Sections"] button{
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em; line-height: 1.7;
}

/* =========================================================================
   INTEGRATED MODEL DIAGRAM (Approach page)
   Hand-written layout so boxes, arrows and drop-lines align exactly.
   ========================================================================= */
.im-row{ display:grid; grid-template-columns:1fr; gap:.75rem; }
.im-stage{ display:flex; flex-direction:column; }
.im-stage > .kicker{ margin-bottom:.75rem; min-height:1rem; }
.im-spacer{ visibility:hidden; display:none; }
.im-box{
  flex:1; min-height:11.5rem; display:flex; align-items:center; justify-content:center;
  text-align:center; padding:1.25rem; border:1px solid var(--rule); background:var(--card);
}
.im-box.is-key{ border-color:var(--primary); }
.im-box.is-solid{ background:var(--primary); border-color:var(--primary); color:var(--primary-foreground); }
.im-stack{ flex:1; display:grid; grid-template-rows:repeat(3,1fr); gap:.5rem; min-height:11.5rem; }
.im-pill{
  display:flex; align-items:center; gap:.65rem; padding:.4rem .75rem;
  border:1px solid var(--rule); background:var(--background);
  font-family:var(--font-kicker); font-size:.7rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; line-height:1.3; color:var(--foreground);
}
.im-pill .n{ font-size:.625rem; font-weight:500; color:var(--muted-foreground); letter-spacing:.05em; }
.im-link{ display:flex; flex-direction:column; }
.im-arrow{ display:flex; flex-direction:column; align-items:center; height:2rem; }
.im-arrow::before{ content:""; flex:1; width:1px; background:var(--primary); }
.im-arrow::after{ content:""; border-top:7px solid var(--primary); border-left:4px solid transparent; border-right:4px solid transparent; }
.im-drops{ display:none; }
@media (min-width:768px){
  .im-row, .im-drops{ grid-template-columns:1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr; gap:0; }
  .im-spacer{ display:block; }
  .im-link .im-spacer{ margin-bottom:.75rem; min-height:1rem; }
  .im-link .im-arrow-wrap{ flex:1; display:flex; align-items:center; }
  .im-arrow{ flex-direction:row; width:100%; height:auto; padding:0 .3rem; }
  .im-arrow::before{ width:auto; height:1px; flex:1; }
  .im-arrow::after{ border-top:4px solid transparent; border-bottom:4px solid transparent; border-left:7px solid var(--primary); border-right:0; }
  .im-drops{ display:grid; margin-top:.75rem; }
  .im-drop{ grid-row:1; display:flex; flex-direction:column; align-items:center; height:2rem; }
  .im-drop::before{ content:""; flex:1; width:1px; background:var(--primary); }
  .im-drop::after{ content:""; border-top:7px solid var(--primary); border-left:4px solid transparent; border-right:4px solid transparent; }
}
