/* Site styles: chooser, home stage, About, résumé, 404. Scoped to body.site.
   Card + glass colors are set per pano by js/site.js (WCAG AA checked there). */

body.site {
  --f-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --f-glass: rgba(13, 14, 16, 0.32);
  --f-glass-ink: #fff;
  --f-glass-line: rgba(255, 255, 255, 0.28);
  --f-glass-inverse: #0d0e10;
  /* Same left edge as the nav logo: .site-nav__inner is max 80rem, padded 2.5rem */
  --f-pad: calc(max(0px, (100vw - var(--max)) / 2) + 2.5rem);
  --f-gap: 96px;
  --f-card-h: clamp(480px, 62vh, 580px);
  background: #0d0e10;
}
body.site.is-choosing { overflow: hidden; }
body.f-instant * { transition: none !important; }

/* Keep last words from sitting alone. pretty = orphans; balance = short headlines. */
body.site h1,
body.site h2,
body.site h3 { text-wrap: balance; }
body.site p,
body.site li,
body.site .f-lede,
body.site .fa-lede,
body.site .fa-stat span,
body.site .f-svc p,
body.site .f-case p,
body.site .f-zen__line { text-wrap: pretty; }

.f-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.f-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- sky ---------- */

.f-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0d0e10;
}
.f-sky img {
  height: 100%;
  width: auto;
  min-width: 100%;
  max-width: none;
  object-fit: cover;
  will-change: transform;
  opacity: 1;
  transition: opacity 0.6s var(--f-ease);
}
.is-choosing .f-sky img { opacity: 0; }
.f-sky .f-sky__old {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.9s var(--f-ease);
}
.f-sky .f-sky__old.is-gone { opacity: 0; }
/* while the sky swaps, every surface eases its color instead of snapping */
body.is-sky-swap *:not(img),
body.is-sky-swap *::before,
body.is-sky-swap *::after {
  transition: background-color 0.9s var(--f-ease), color 0.9s var(--f-ease), border-color 0.9s var(--f-ease),
    box-shadow 0.9s var(--f-ease), fill 0.9s var(--f-ease), stroke 0.9s var(--f-ease) !important;
}

/* ---------- chooser ---------- */

.f-choose {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: #0d0e10;
  color: #fff;
  text-align: center;
  overflow-y: auto;
  transition: opacity 0.6s var(--f-ease), visibility 0s linear 0.6s;
}
.f-choose > *:not(.f-choose__lure) { position: relative; z-index: 1; }
.f-choose__lure {
  display: block;
  position: absolute;
  inset: -14%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.f-choose__lure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(56px) saturate(1.25) brightness(0.72);
  transform: scale(1.18);
  opacity: 0;
  transition: opacity 2.8s cubic-bezier(0.4, 0, 0.2, 1), transform 9s linear;
}
.f-choose__lure img.is-on {
  opacity: 1;
  transform: scale(1.28);
}
.f-choose__lure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 14, 16, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .f-choose__lure img {
    transition: none;
    transform: scale(1.22);
  }
}
body:not(.is-choosing) .f-choose {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.is-choosing .f-choose { transition: opacity 0.4s var(--f-ease); }
.f-choose h2 {
  margin: 0 0 2.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.f-choose h2:focus { outline: none; }
.f-choose__sub {
  margin: 0.75rem 0 2.5rem;
  max-width: 30rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.f-choices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 1rem;
}
.f-choices button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  width: 132px;
  padding: 1.125rem 0 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--f-ease);
}
.f-choices button:hover,
.f-choices button:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #0d0e10;
  transform: translateY(-3px);
}
.f-choices button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.f-choices .f-icon { width: 44px; height: 44px; }
.f-random {
  margin-top: 2.25rem;
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: none;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}
.f-random:hover { border-bottom-color: #fff; }
.f-random:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* ---------- glass nav + weather controls ---------- */

body.site .site-nav,
body.site .site-nav.is-scrolled {
  background: var(--f-glass);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--f-glass-line);
  color: var(--f-glass-ink);
  transition: opacity 0.45s var(--f-ease) 0.8s, transform 0.45s var(--f-ease) 0.8s, background 0.3s;
}
body.site .site-nav .logo,
body.site .site-nav .nav-link,
body.site .site-nav .nav-link:hover,
body.site .site-nav .nav-burger { color: var(--f-glass-ink); }
body.site .site-nav .nav-link { position: relative; text-decoration: none; }
body.site .site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--f-ease);
}
body.site .site-nav .nav-link:has(.f-ph)::after { width: calc(100% - 1.35rem); }
body.site .site-nav .nav-link:has(.f-brand__caret)::after { width: calc(100% - 0.25rem - 12px); }
body.site .site-nav .nav-link:hover::after,
body.site .site-nav .nav-link:focus-visible::after,
body.site .site-nav .nav-link.is-on::after,
body.site .site-nav #proj-btn[aria-expanded="true"]::after { transform: scaleX(1); }
#proj-btn[aria-expanded="true"] .f-brand__caret { transform: rotate(180deg); }
/* The menu is a light panel. Nav ink follows the sky, so the links must not inherit it. */
body.site .drop__menu {
  z-index: 80;
  width: max-content;
  min-width: 11.5rem;
  background: #fff;
  color: #0d0e10;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45);
}
body.site .drop__menu a {
  color: #0d0e10;
  gap: 0;
  padding: 0.65rem 1.1rem;
  white-space: nowrap;
}
body.site .drop__year { display: none; }
body.site .drop__menu a:hover,
body.site .drop__menu a:focus-visible { background: #f0f0ef; outline: none; }
body.site .site-nav .btn-pill {
  background: var(--f-cta, var(--f-glass-ink));
  color: var(--f-cta-ink, var(--f-glass-inverse));
}
body.site .nav-burger span { background: currentColor; }
body.site .nav-drawer a:not(.btn-pill),
body.site .nav-drawer button.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
body.site .nav-drawer .btn-pill {
  align-self: flex-start;
  width: auto;
  font-size: 1rem;
  padding: 0.85rem 1.35rem;
}
@media (max-width: 767px) {
  /* The nav's backdrop-filter is the fixed containing block, so inset: 0
     only fills the bar. Size the open drawer to the screen instead. */
  body.site .nav-drawer.is-open {
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100vw;
    height: 100dvh;
    padding: 5rem 1.5rem 2rem;
    overflow: auto;
  }
  body.site .nav-drawer .btn-pill {
    align-self: stretch;
    justify-content: center;
  }
}
body.site.is-choosing .site-nav {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: none;
}
html.f-skip-choose body.is-choosing { overflow: visible; }
html.f-skip-choose body.is-choosing .f-choose {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: none !important;
}
html.f-skip-choose body.is-choosing .site-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}
html.f-skip-choose body.is-choosing .f-card,
html.f-skip-choose body.is-choosing .fa-tile {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
html.f-skip-choose body.is-choosing .f-sky img { opacity: 1; }
html.f-skip-choose .f-sky {
  background: var(--f-boot-pano) center / cover no-repeat;
}
body.site .nav-cta {
  align-items: center;
  gap: 0.75rem;
}
.f-wx-cluster {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.f-peek {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--f-glass-line);
  border-radius: 999px;
  background: transparent;
  color: var(--f-glass-ink);
  cursor: pointer;
  line-height: 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.f-ph,
.f-icon.f-ph {
  display: block;
  fill: currentColor;
  stroke: none;
}
.f-peek__open,
.f-peek__shut {
  grid-area: 1 / 1;
  display: grid;
}
.f-peek .f-ph { width: 20px; height: 20px; }
.f-peek__open .f-ph { transform: none; }
.f-peek__shut .f-ph { transform: none; }
.f-peek__open { animation: f-wink-open 9s ease-in-out infinite; }
.f-peek__shut { animation: f-wink-shut 9s ease-in-out infinite; }
@keyframes f-wink-open {
  0%, 88%, 100% { opacity: 1; }
  91%, 95% { opacity: 0; }
}
@keyframes f-wink-shut {
  0%, 88%, 100% { opacity: 0; }
  91%, 95% { opacity: 1; }
}
.f-peek[aria-pressed="true"] .f-peek__open { display: none; animation: none; }
.f-peek[aria-pressed="true"] .f-peek__shut { display: grid; animation: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .f-peek__open, .f-peek__shut { animation: none; }
  .f-peek__shut { opacity: 0; }
  .f-peek[aria-pressed="true"] .f-peek__shut { opacity: 1; }
}
.f-peek:hover,
.f-peek[aria-pressed="true"] { border-color: var(--f-glass-ink); }
.f-peek[aria-pressed="true"] {
  background: var(--f-glass-ink);
  color: var(--f-glass-inverse);
}
.f-peek:focus-visible { outline: 2px solid var(--f-glass-ink); outline-offset: 3px; }
.f-peek--drawer {
  width: 100%;
  height: auto;
  margin-bottom: 0.75rem;
  padding: 8px 10px;
  grid-auto-flow: column;
  justify-content: start;
  gap: 0.5rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: inherit;
  border-color: rgba(13, 14, 16, 0.18);
}
.f-peek--drawer .f-ph { width: 22px; height: 22px; }
.f-peek--drawer:hover,
.f-peek--drawer[aria-pressed="true"] { border-color: #0d0e10; }
.f-peek--drawer[aria-pressed="true"] {
  background: #0d0e10;
  color: #fff;
}
/* modules step aside so the pano can be the point.
   Drop glass first — Chromium keeps backdrop-filter layers visible through opacity. */
body.is-peeking #f-main {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.55s;
}
body.is-peeking .f-card,
body.is-peeking .f-card__fill {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.is-peek-return #f-main {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}
.f-zen {
  position: fixed;
  left: 50%;
  bottom: 2.25rem;
  z-index: 6;
  width: min(36rem, calc(100vw - 2.5rem));
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
body.is-peeking .f-zen {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Same glass as the hero card: swatch 0 writes --c-bg, --f-card-a, and the inks. */
.f-zen--b {
  --c-glass: color-mix(in srgb, var(--c-bg, #fff) var(--f-card-a, 80%), transparent);
  text-align: center;
  color: var(--c-ink, #0d0e10);
  padding: 18px 22px 16px;
  border-radius: 20px;
  background: var(--c-glass);
  border: 0;
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px var(--c-line, rgba(13, 14, 16, 0.2));
}
body.site .f-zen--b {
  -webkit-backdrop-filter: blur(7px) saturate(1.15);
  backdrop-filter: blur(7px) saturate(1.15);
}
.f-zen--b .f-zen__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-2, #3a3b3d);
}
.f-zen--b .f-zen__line {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
}
.f-zen--b .f-zen__by {
  margin: 0.55rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--c-ink-2, #3a3b3d);
}
/* weather dropdown */
.f-wx { position: relative; }
.f-wx__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem 0.375rem 0.5rem;
  border: 1px solid var(--f-glass-line);
  border-radius: 999px;
  background: transparent;
  color: var(--f-glass-ink);
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 0.2s;
}
.f-wx__btn:hover,
.f-wx__btn[aria-expanded="true"] { border-color: var(--f-glass-ink); }
.f-wx__btn:focus-visible { outline: 2px solid var(--f-glass-ink); outline-offset: 3px; }
.f-wx__btn[aria-expanded="true"] .f-brand__caret { transform: rotate(180deg); }
.f-wx__now { display: inline-flex; align-items: center; gap: 0.375rem; }
.f-wx__now .f-icon { width: 22px; height: 22px; }
.f-wx__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 4.35rem);
  gap: 6px;
  width: max-content;
  max-width: min(calc(100vw - 1.5rem), 26rem);
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  padding: 12px;
  border-radius: 20px;
  background: #fff;
  color: #0d0e10;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45);
}
.f-wx__menu[hidden] { display: none; }
.f-wx__menu .f-opts__label { grid-column: 1 / -1; margin: 0 2px 2px; font-size: 0.875rem; letter-spacing: 0.04em; }
.f-wx__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 4.35rem;
  padding: 8px 4px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
}
.f-wx__item .f-icon { width: 22px; height: 22px; flex: none; }
.f-wx__item:hover,
.f-wx__item:focus-visible { background: rgba(13, 14, 16, 0.06); outline: none; }
.f-wx__item[aria-checked="true"] { background: #0d0e10; color: #fff; }
.f-wx__item--deal {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 0;
  padding: 10px 12px;
  font-size: 0.875rem;
  letter-spacing: 0;
}

body.site .drop__year { display: none; }


.f-wx--drawer { width: 100%; margin-top: 2rem; }
.f-wx--drawer .f-opts__label { margin: 0 0 0.5rem; color: inherit; opacity: 0.7; font-size: 0.875rem; letter-spacing: 0.04em; }
.f-wx--drawer .f-wx__btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(13, 14, 16, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #0d0e10;
  font-size: 1rem;
  font-weight: 700;
}
.f-wx--drawer .f-wx__now { font-weight: 700; }
.f-wx--drawer .f-wx__menu {
  position: static;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin-top: 8px;
  padding: 8px;
  box-shadow: none;
  border: 1px solid rgba(13, 14, 16, 0.12);
}
.f-wx--drawer .f-wx__menu[hidden] { display: none; }
.f-wx--drawer .f-wx__item,
.f-wx--drawer .f-wx__item--deal {
  flex-direction: row;
  justify-content: flex-start;
  grid-column: auto;
  min-height: 0;
  padding: 10px 12px;
  gap: 0.65rem;
  font-size: 1rem;
  text-align: left;
}
.f-wx-drawer .f-wx__item {
  flex-direction: column;
  gap: 0.25rem;
  padding: 10px 4px;
  border: 1px solid rgba(13, 14, 16, 0.12);
  font-size: 0.875rem;
  text-align: center;
}
.f-wx-drawer .f-wx__item--deal {
  grid-column: 1 / -1;
  flex-direction: row;
  padding: 10px;
  font-size: 0.875rem;
}

/* icon slot: the way home */
.f-home {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 0.625rem;
  border-radius: 10px;
  color: var(--f-glass-ink);
}
.f-home__slot svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.f-home__slot .f-faces {
  width: 28px;
  height: 14px;
  fill: currentColor;
  stroke: none;
}
.f-home:hover { background: var(--f-glass-line); }
.f-home:focus-visible { outline: 2px solid var(--f-glass-ink); outline-offset: 2px; }
.f-id { display: flex; align-items: center; }

/* variation picker on the name */
body.site .site-nav__inner { position: relative; }
.f-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
}
.f-brand__caret {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: none;
  transition: transform 0.2s var(--f-ease);
}
.f-brand[aria-expanded="true"] .f-brand__caret { transform: rotate(180deg); }
.f-opts__label {
  margin: 4px 10px 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #55565a;
}

/* ---------- horizontal stage ---------- */

#f-main { position: relative; z-index: 1; }
.f-stage { position: relative; }
.f-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
}
.f-track {
  display: flex;
  align-items: center;
  gap: var(--f-gap);
  width: max-content;
  height: 100%;
  padding: var(--nav-h) var(--f-pad) 0;
  will-change: transform;
}

/* ---------- cards ---------- */

.f-card {
  --c-bg: #fff;
  --c-ink: #0d0e10;
  --c-ink-2: #3a3b3d;
  --c-line: rgba(13, 14, 16, 0.2);
  --c-tint: rgba(13, 14, 16, 0.07);
  --c-glass: color-mix(in srgb, var(--c-bg) var(--f-card-a, 80%), transparent);
  position: relative;
  display: flex;
  flex-direction: column;
  flex: none;
  height: var(--f-card-h);
  padding: 44px;
  border-radius: 28px;
  background: var(--c-glass);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  color: var(--c-ink);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px var(--c-line);
  transition: opacity 0.6s var(--f-ease), transform 0.6s var(--f-ease), background 0.4s;
}
.is-choosing .f-card { opacity: 0; transform: translateX(60px); }
body:not(.is-choosing) .f-card--hero { transition-delay: 0.95s; }
body:not(.is-choosing) .f-card--trusted { transition-delay: 1.08s; }
body:not(.is-choosing) .f-card--services,
body:not(.is-choosing) .f-svc-cluster .f-card { transition-delay: 1.15s; }
body:not(.is-choosing) .f-card--work { transition-delay: 1.23s; }
body:not(.is-choosing) .f-card--contact { transition-delay: 1.3s; }

/* Card glass: a light blur; its opacity is solved against a sharp read of the photo */
body.site .f-card:not(.f-card--hero),
body.site .f-card__fill {
  -webkit-backdrop-filter: blur(7px) saturate(1.15);
  backdrop-filter: blur(7px) saturate(1.15);
}

.f-card :focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; }

.f-eyebrow {
  margin: 0 0 0.875rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}
.f-card h1,
.f-card h2,
.f-card h3 { margin: 0; color: var(--c-ink); }

.f-ph--btn { width: 16px; height: 16px; }
body.site .nav-link { font-size: 0.875rem; }
body.site .nav-link .f-ph { width: 12px; height: 12px; }
body.site .foot-icons .f-ph { width: 18px; height: 18px; }
.f-brand__caret { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.f-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.375rem;
  border-radius: 999px;
  background: var(--c-btn, var(--c-ink));
  color: var(--c-btn-ink, var(--c-bg));
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--f-ease);
}
.f-btn:hover { transform: translateY(-2px); }
.f-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-ink);
  font-weight: 700;
  text-decoration: none;
}
.f-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: calc(100% - 1.35rem);
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--f-ease);
}
.f-link:not(:has(.f-ph))::after { width: 100%; }
.f-link:hover::after,
.f-link:focus-visible::after { transform: scaleX(1); }
.f-link .f-ph { flex: none; }
button.f-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.f-ico-down { display: inline-flex; line-height: 0; }
.f-ico-down .f-ph { transform: rotate(90deg); }
.f-ph--arrow-right,
.f-ph--arrow-up-right,
.f-ico-down .f-ph { transition: transform 0.22s ease; }
.f-btn:hover .f-ph--arrow-up-right,
.f-btn:focus-visible .f-ph--arrow-up-right,
.f-link:hover .f-ph--arrow-up-right,
.f-link:focus-visible .f-ph--arrow-up-right,
.f-sky-note a:hover .f-ph--arrow-up-right,
.f-sky-note a:focus-visible .f-ph--arrow-up-right,
.nav-link:hover .f-ph--arrow-up-right,
.nav-link:focus-visible .f-ph--arrow-up-right,
.nav-drawer a:hover .f-ph--arrow-up-right,
.nav-drawer a:focus-visible .f-ph--arrow-up-right,
.f-cs__action:hover .f-ph--arrow-up-right,
.f-cs__action:focus-visible .f-ph--arrow-up-right { transform: translate(3px, -3px); }
.f-btn:hover .f-ph--arrow-right,
.f-btn:focus-visible .f-ph--arrow-right,
.f-link:hover .f-ph--arrow-right,
.f-link:focus-visible .f-ph--arrow-right,
.f-cs__action:hover .f-ph--arrow-right,
.f-cs__action:focus-visible .f-ph--arrow-right { transform: translateX(3px); }
.f-btn:hover .f-ico-down .f-ph,
.f-btn:focus-visible .f-ico-down .f-ph,
.f-link:hover .f-ico-down .f-ph,
.f-link:focus-visible .f-ico-down .f-ph,
.f-btn:hover .f-ico-down .f-ph--arrow-right,
.f-btn:focus-visible .f-ico-down .f-ph--arrow-right,
.f-link:hover .f-ico-down .f-ph--arrow-right,
.f-link:focus-visible .f-ico-down .f-ph--arrow-right { transform: translateY(3px) rotate(90deg); }
.f-lede {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--c-ink-2);
}
.f-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2rem;
}

/* hero — full view; the fill is masked so the photo circle shows the pano behind the card */
.f-card--hero {
  width: calc(100vw - 2 * var(--f-pad));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding: 44px 56px;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.f-card__fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--c-glass);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-mask: radial-gradient(circle var(--hole-r, 0px) at var(--hole-x, 0px) var(--hole-y, 0px), transparent calc(100% - 0.5px), #000 100%);
  mask: radial-gradient(circle var(--hole-r, 0px) at var(--hole-x, 0px) var(--hole-y, 0px), transparent calc(100% - 0.5px), #000 100%);
  transition: background 0.4s;
}
.f-card--hero > :not(.f-card__fill) { position: relative; z-index: 1; }
.f-hero__photo {
  width: calc(var(--f-card-h) - 88px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
.f-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.f-hero__copy { max-width: 48rem; }
.f-card--hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  outline: none;
}
.f-sky-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 2.25rem 0 0;
  padding-top: 1.125rem;
  max-width: 30rem;
  border-top: 1px solid var(--c-line);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--c-ink-2);
}
.f-sky-note .f-icon { flex: none; width: 24px; height: 24px; color: var(--c-ink); }
.f-sky-note:empty { display: none; }
.f-card--contact .f-sky-note { display: none; }
/* services — ID selector beats styles.css #services { background: #fff } */
body.site #services { background: transparent; }
.f-svc-cluster {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  grid-template-rows: minmax(148px, 0.44fr) minmax(0, 1fr);
  gap: 16px;
  flex: none;
  width: min(1140px, 76vw);
  height: var(--f-card-h);
}
.f-svc-cluster > .f-card {
  height: auto;
  min-height: 0;
}
.f-svc-cluster > .fa-stat {
  padding: 20px 22px;
  border-radius: 22px;
}
.f-svc-cluster > .fa-stat strong { font-size: 2.5rem; }
@media (min-width: 900px) {
  .f-svc-cluster > .fa-stat:nth-child(4) { container-type: inline-size; }
  .f-svc-cluster > .fa-stat:nth-child(4) span {
    white-space: nowrap;
    text-wrap: nowrap;
    font-size: 0.875rem;
  }
}
.f-card--services {
  grid-column: 1 / -1;
  width: auto;
  padding: 22px 28px 24px;
}
.f-svc {
  list-style: none;
  margin: auto 0 0;
  padding: 0.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.35rem;
}
.f-svc li { border-top: 1px solid var(--c-line); padding-top: 0.75rem; }
.f-svc__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.45rem;
  color: var(--c-ink);
}
.f-svc__icon .f-ph { width: 26px; height: 26px; }
.f-svc h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; }
.f-svc p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--c-ink-2);
}

/* trusted by — white tiles, one swaps at a time */
/* Same column as the hero, so a 1440 window shows this card instead of a chopped neighbor. */
.f-card--trusted { width: calc(100vw - 2 * var(--f-pad)); }
.f-trusted__head {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.f-logos {
  list-style: none;
  flex: 1;
  min-height: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.f-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 16px 18px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.f-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.5s var(--f-ease), transform 0.5s var(--f-ease);
}
/* Older exports sit on a wide white plate. Crop to the ink so they fill the tile. */
.f-logo img[src$="A4A-Logo.png"] { object-view-box: inset(24.09% 8.16% 22.73% 7.91%); }
.f-logo img[src$="ARMY-Logo.png"] { object-view-box: inset(5.91% 30.87% 6.36% 31.63%); }
.f-logo img[src$="BAY-Logo.png"] { object-view-box: inset(8.64% 26.53% 8.18% 26.79%); }
.f-logo img[src$="BF-Logo.png"] { object-view-box: inset(34.09% 4.85% 34.55% 4.34%); }
.f-logo img[src$="BNYM-Logo.png"] { object-view-box: inset(40.45% 6.12% 37.73% 5.87%); }
.f-logo img[src$="CIG-Logo.png"] { object-view-box: inset(22.73% 6.12% 23.64% 5.87%); }
.f-logo img[src$="DAR-Logo.png"] { object-view-box: inset(33.18% 12.76% 32.73% 12.76%); }
.f-logo img[src$="DB-Logo.png"] { object-view-box: inset(31.36% 9.18% 31.82% 8.42%); }
.f-logo img[src$="GS-Logo.png"] { object-view-box: inset(9.55% 27.04% 9.09% 27.30%); }
.f-logo img[src$="Google-Logo.png"] { object-view-box: inset(25.45% 5.61% 24.55% 5.87%); }
.f-logo img[src$="JPM-Logo.png"] { object-view-box: inset(28.64% 15.31% 29.09% 15.05%); }
.f-logo img[src$="KY-Logo.png"] { object-view-box: inset(18.64% 6.12% 19.55% 5.87%); }
.f-logo img[src$="NYSL-Logo.png"] { object-view-box: inset(6.82% 26.02% 7.27% 25.77%); }
.f-logo img[src$="ORABLE-Logo.png"] { object-view-box: inset(21.36% 6.12% 21.82% 6.38%); }
.f-logo img[src$="ORCSP-Logo.png"] { object-view-box: inset(14.09% 15.82% 14.09% 16.07%); }
.f-logo img[src$="RAL-Logo.png"] { object-view-box: inset(26.36% 9.69% 25.91% 9.44%); }
.f-logo img[src$="RMD-Logo.png"] { object-view-box: inset(15.91% 9.69% 22.73% 9.95%); }
.f-logo img[src$="RMN-Logo.png"] { object-view-box: inset(34.09% 8.67% 35.00% 8.42%); }
.f-logo img[src$="SD-Logo.png"] { object-view-box: inset(33.18% 6.12% 30.00% 6.38%); }
.f-logo img[src$="T5-Logo.png"] { object-view-box: inset(13.18% 26.79% 12.73% 26.28%); }
.f-logo img[src$="T5O-Logo.png"] { object-view-box: inset(13.18% 31.38% 13.64% 30.87%); }
.f-logo img[src$="T5W-Logo.png"] { object-view-box: inset(13.18% 27.55% 13.64% 27.30%); }
.f-logo img[src$="USPS-Logo.png"] { object-view-box: inset(33.64% 6.63% 32.73% 3.83%); }
.f-logo img[src$="VZ-Logo.png"] { object-view-box: inset(28.64% 5.61% 34.55% 5.87%); }
.f-logo img[src$="WAABLE-Logo.png"] { object-view-box: inset(34.09% 6.12% 33.64% 6.38%); }
.f-logo img[src$="ZD-Logo.png"] { object-view-box: inset(10.45% 23.47% 10.91% 23.21%); }
.f-logo img[src$="ZUR-Logo.png"] { object-view-box: inset(30.00% 3.06% 29.55% 3.32%); }
.f-logo.is-out img { opacity: 0; transform: scale(0.96); }
/* E: gray logos on white take the sky's accent; screen keeps white details white */
body.site .f-logo { position: relative; isolation: isolate; }
body.site .f-logo img,
body.site .f-tl__logo img { filter: grayscale(1) brightness(0.7) contrast(4); }
/* RMN's art is pale on its own white plate, so it needs a harder threshold to go dark */
body.site .f-logo img[src$="RMN-Logo.png"],
body.site .f-tl__logo img[src$="RMN-Logo.png"] { filter: grayscale(1) brightness(0.55) contrast(12); }
/* Illustrated marks crush under the hard threshold — keep the gray fills. */
body.site .f-logo img[src$="T5W-Logo.png"],
body.site .f-logo img[src$="T5O-Logo.png"],
body.site .f-tl__logo img[src$="T5W-Logo.png"],
body.site .f-tl__logo img[src$="T5O-Logo.png"] {
  filter: grayscale(1) contrast(1.08);
}
/* The striped 7 collapses under contrast(4). */
body.site .f-logo img[src$="7E-Logo.svg"],
body.site .f-tl__logo img[src$="7E-Logo.svg"] {
  filter: grayscale(1) contrast(1.2);
}
/* Huge is black type on magenta. Invert so the word is white and the field is the
   dark plate the sky screen paints. Same blend as every other logo. */
body.site .f-logo img[src$="Huge-Logo.png"],
body.site .f-tl__logo img[src$="Huge-Logo.png"] {
  filter: grayscale(1) brightness(3) contrast(6) invert(1);
}
/* The lottery ball is several grays. contrast(4) flattens the skyline into the circle. */
body.site .f-logo img[src$="NYSL-Logo.png"],
body.site .f-tl__logo img[src$="NYSL-Logo.png"] {
  filter: grayscale(1) contrast(1.12);
}
/* Light pink washes out once the sky tint screens over it. */
body.site .f-tl__logo img[src$="MAS-Logo.png"] {
  filter: grayscale(1) brightness(0.55) contrast(6);
}
body.site .f-tl__module .f-tl__logo {
  position: relative;
  isolation: isolate;
  background: #fff;
}
body.site .f-logo::after,
body.site .f-tl__module .f-tl__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--f-logo-tint);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* featured work — 4-col grid. Newest fills the left half. The other four sit 2×2 on the right. */
.f-work__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0.875rem;
}
.f-work__bar .f-eyebrow { margin: 0; }
.f-card--work .f-eyebrow,
.f-card--work h2,
.f-cases,
.f-work__swap .f-ph {
  transition: opacity 0.48s var(--f-ease);
}
.f-card--work.is-swapping .f-eyebrow,
.f-card--work.is-swapping h2,
.f-card--work.is-swapping .f-cases,
.f-card--work.is-swapping .f-work__swap .f-ph { opacity: 0; }
.f-work__swap {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(13, 14, 16, 0.18);
  border-radius: 50%;
  background: #fff;
  color: #0d0e10;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.f-work__swap .f-ph { width: 16px; height: 16px; }
.f-work__swap[aria-pressed="true"] .f-ph path[opacity="0.2"] { display: none; }
.f-work__swap:hover,
.f-work__swap:focus-visible { background: #0d0e10; border-color: #0d0e10; color: #fff; outline: none; }
body.site .f-work__swap:hover,
body.site .f-work__swap:focus-visible {
  background: var(--f-cta);
  border-color: var(--f-cta-edge);
  color: var(--f-cta-ink);
}
/* Same column as the hero. A fixed 1440 board ran past a 1440 window and sliced the right-hand cards. */
.f-card--work { width: min(1440px, calc(100vw - 2 * var(--f-pad))); padding: 40px; }
.f-card--work h2 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.f-cases {
  list-style: none;
  flex: 1;
  min-height: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.f-case {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  color: #0d0e10;
  position: relative;
  transition: transform 0.25s var(--f-ease), box-shadow 0.25s var(--f-ease);
}
.f-case--new { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.f-cases.is-archive {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
}
.f-cases.is-archive .f-case h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.f-cases.is-archive .f-case p {
  text-wrap: balance;
  min-height: 2.8em;
  hyphens: none;
}
/* Keyboard focus only: the case takeover restores focus to this link on close, and
   :focus-within would leave the card you came from stuck in the raised state. */
.f-case:hover,
.f-case:has(.f-case__link:focus-visible) {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -20px rgba(0, 0, 0, 0.5);
}
.f-case:has(.f-case__link:focus-visible) { outline: 3px solid var(--c-ink); outline-offset: 3px; }
.f-case h3 { padding-right: 44px; }
.f-case__link { color: inherit; text-decoration: none; outline: none; }
.f-case__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.f-case__go {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(13, 14, 16, 0.18);
  border-radius: 50%;
  color: #0d0e10;
  pointer-events: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--f-ease);
}
.f-case__go .f-ph { width: 16px; height: 16px; }
.f-case__go svg { width: 16px; height: 16px; transition: transform 0.25s var(--f-ease); }
.f-case:hover .f-case__go,
.f-case:has(.f-case__link:focus-visible) .f-case__go {
  background: #0d0e10;
  border-color: #0d0e10;
  color: #fff;
}
.f-case:hover .f-case__go svg,
.f-case:has(.f-case__link:focus-visible) .f-case__go svg { transform: none; }
body.site .f-case:hover .f-case__go,
body.site .f-case:has(.f-case__link:focus-visible) .f-case__go {
  background: var(--f-cta);
  border-color: var(--f-cta-edge);
  color: var(--f-cta-ink);
}
.f-card .f-case h3 {
  color: #0d0e10;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.f-card .f-case--new h3 { font-size: 3.25rem; letter-spacing: -0.03em; line-height: 1.05; }
.f-card .f-case--new p { font-size: 1.25rem; line-height: 1.35; }
.f-case p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #4a4b4f;
}
.f-card .f-case:not(.f-case--new) p { padding-right: 46px; }
.f-card .f-case:not(.f-case--new) .f-tags { margin-top: auto; }
.f-tags {
  list-style: none;
  margin: auto 0 0;
  padding: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3125rem;
}
.f-tags li {
  padding: 0.1875rem 0.625rem;
  border: 1px solid rgba(13, 14, 16, 0.18);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0d0e10;
}
.f-tags .f-case__badge {
  border-color: #0d0e10;
  background: #0d0e10;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.f-tags .f-case__lock {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
/* Stroke, icon, and label match the primary button. Fill is a light wash of it. */
body.site .f-tags .f-case__lock {
  background: color-mix(in srgb, var(--f-cta) 14%, #fff);
  color: var(--f-cta-edge);
  border-color: var(--f-cta-edge);
  box-shadow: none;
  font-weight: 700;
}
.f-tags .f-case__lock .f-ph {
  width: 12px;
  height: 12px;
}
.f-card .f-case:not(.f-case--new) .f-tags { gap: 0.25rem; }
.f-card .f-case:not(.f-case--new) .f-tags li {
  padding: 0.125rem 0.45rem;
  font-size: 0.75rem;
}
.f-card .f-case:not(.f-case--new) .f-tags .f-case__lock { gap: 0.2rem; }
.f-card .f-case:not(.f-case--new) .f-tags .f-case__lock .f-ph {
  width: 11px;
  height: 11px;
}

/* contact */
.f-card--contact { width: 600px; justify-content: flex-end; }
.f-card__icon {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 1;
  color: var(--c-ink);
}
.f-card--hero > .f-card__icon { position: absolute; }
.f-card__icon .f-icon { width: 72px; height: 72px; stroke-width: 1.5; }
.f-card--contact h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* ---------- short desktop viewports ---------- */

/* 1440×900 laptops, once the browser chrome is in, land in here. The featured title was eating the chip row. */
@media (min-width: 900px) and (max-height: 940px) {
  .f-card--work { padding: 32px 36px; }
  .f-card .f-case--new h3 { font-size: 3rem; }
  .f-card .f-case--new p { font-size: 1.25rem; }
  .f-case { padding: 16px 18px; }
  .f-tags { padding-top: 0.5rem; }
}

@media (min-width: 900px) and (max-height: 760px) {
  .f-choices { gap: 0.65rem; }
  .f-choices button { width: 112px; padding: 0.75rem 0 0.6rem; }
  body.site { --f-card-h: 460px; }
  .f-card { padding: 32px; }
  .f-card--hero { padding: 32px 44px; }
  .f-card--hero h1 { font-size: 3rem; }
  .f-sky-note { margin-top: 1.5rem; }
  .f-services__head { font-size: 1.1875rem; }
  .f-svc { gap: 1rem 1.25rem; }
  .f-svc-cluster { width: min(1040px, 80vw); }
  .f-card .f-case--new h3 { font-size: 2.25rem; }
  .f-card .f-case--new p { font-size: 1rem; }
  .f-case { padding: 14px 16px; }
}

/* ---------- mobile: stacked, no pin ---------- */

@media (max-width: 899px) {
  body.site { --f-pad: 1rem; }
  .f-choices { grid-template-columns: repeat(3, auto); }
  .f-choices button { width: 100px; padding: 0.875rem 0 0.75rem; }
  .f-choices .f-icon { width: 36px; height: 36px; }
  .f-sky img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
  .f-pin { position: static; height: auto; overflow: visible; }
  .f-track {
    flex-direction: column;
    align-items: stretch;
    width: auto;
    height: auto;
    gap: 2.5rem;
    padding: calc(var(--nav-h) + 1rem) 1rem 3rem;
    transform: none !important;
  }
  .f-card,
  .f-card--hero,
  .f-card--services,
  .f-card--work,
  .f-card--trusted,
  .f-card--contact {
    width: auto;
    height: auto;
    padding: 28px;
    border-radius: 22px;
  }
  .f-svc-cluster {
    width: auto;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .f-card--services { grid-column: 1 / -1; }
  .is-choosing .f-card { transform: translateY(30px); }
  .f-card--hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .f-hero__photo { width: 220px; justify-self: center; }
  .f-card--hero h1 { font-size: 2.5rem; }
  .f-svc { grid-template-columns: 1fr; }
  .f-card--work h2 { font-size: 1.5rem; }
  .f-cases,
  .f-cases.is-archive { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .f-case--new { grid-column: auto; grid-row: auto; }
  .f-cases.is-archive .f-case h3 { font-size: 1.125rem; }
  .f-card .f-case--new h3 { font-size: 1.875rem; }
  .f-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 8px; }
  .f-logo { aspect-ratio: 196 / 110; border-radius: 12px; }
  .f-trusted__head { font-size: 1.5rem; }
  .f-card--contact { padding-top: 120px; }
  .f-card--contact h2 { font-size: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.site *,
  body.site *::before,
  body.site *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .is-choosing .f-card { transform: none; }
}

/* ---------- About (F): collage on the same stage ---------- */

.page-about { --fa-gap: 24px; --fa-row: calc((var(--f-card-h) - 2 * var(--fa-gap)) / 3); }
.fa-track {
  display: grid;
  grid-template-rows: repeat(3, var(--fa-row));
  grid-auto-columns: var(--fa-row);
  grid-auto-flow: column;
  gap: var(--fa-gap);
  align-items: stretch;
  align-content: center;
}
.fa-tile {
  grid-column: span var(--c, 1);
  grid-row: span var(--r, 1);
  min-width: 0;
  height: auto;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
}
.fa-text { border-radius: 22px; }
.fa-tile.f-card { padding: 22px; }

.fa-intro, .fa-end { padding: 40px !important; display: flex; flex-direction: column; }
.fa-intro .f-eyebrow { margin-top: auto; }
.fa-intro h1 {
  margin: 0;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}
.fa-intro h1:focus { outline: none; }
.fa-lede { margin: 1.25rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--c-ink-2); }
.fa-end .f-eyebrow { margin-top: auto; }
.fa-end h2 { font-size: 2.5rem; }
.fa-end .f-sky-note { margin-top: 1.5rem; }
.fa-tile .f-card__icon { top: 32px; right: 32px; }
.fa-tile .f-card__icon .f-icon { width: 56px; height: 56px; }

.fa-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.375rem;
  container-type: inline-size;
}
.fa-stat strong {
  font-size: clamp(1.25rem, 18cqi, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
}
.fa-stat span { font-size: 0.875rem; font-weight: 600; line-height: 1.3; color: var(--c-ink-2); }
.fa-stat .fa-line { display: block; white-space: nowrap; font-size: clamp(0.68rem, 12cqi, 0.875rem); }
.fa-stat--bar { flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 0.875rem; }
.fa-stat--bar span { max-width: 9rem; }

.fa-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: #fff;
  color: #0d0e10;
}
.fa-text .f-eyebrow { color: #4a4b4f; }
.fa-text h2 { margin: 0 0 0.75rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.fa-text p { margin: 0; font-size: 0.875rem; line-height: 1.55; color: #3a3b3d; }
.fa-text p + p { margin-top: 0.875rem; }

.fa-photo { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.fa-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s;
}
.fa-photo.fa-tall img { object-position: center 22%; }
.fa-photo.fa-face img { object-position: center 32%; }
.fa-photo.fa-season img { object-position: center 62%; }
/* Plain résumé timeline for readers without JavaScript; resume.js replaces it on load. */
.f-tl__static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Download deterrent, every page: no long-press save menu or drag on pictures and video.
   The context menu and save shortcuts are blocked in chrome.js. */
body.site img, body.site video { -webkit-touch-callout: none; -webkit-user-drag: none; }
/* About goes further: its pictures never take the pointer, so right-click, drag, and long-press land
   on the empty block above them, even in browsers that let a shift-click past the script. */
.page-about .fa-photo { cursor: zoom-in; -webkit-touch-callout: none; }
.page-about .fa-photo img { pointer-events: none; }
.page-about .fa-photo::after { content: ""; position: absolute; inset: 0; }
/* Rotator crossfade: the next photo fades in over the current one (FADE_MS in site.js). */
.page-about .fa-photo img.fa-xfade { opacity: 0; transition: opacity 0.8s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.page-about .fa-photo img.fa-xfade.is-on { opacity: 1; }
body.page-about .lightbox img {
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}
@media (min-width: 900px) {
  .page-about .fa-track > .fa-tile {
    grid-column: var(--gc) / span var(--c, 1);
    grid-row: var(--gr) / span var(--r, 1);
  }
}
.fa-pack, .fa-versatile {
  display: grid;
  gap: var(--fa-gap);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}
.page-about .fa-pack figure,
.page-about .fa-versatile figure { margin: 0; }
.page-about .fa-pack > .f-card {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 14px 12px;
  overflow: hidden;
}
.page-about .fa-pack > .fa-text,
.page-about .fa-pack > .fa-photo,
.page-about .fa-versatile > .fa-text,
.page-about .fa-versatile > .fa-photo {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.fa-pack--alt, .fa-pack--sys {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
}
.fa-pack--alt .fa-text, .fa-pack--sys .fa-text { grid-row: 1 / span 2; }
.fa-pack--sys .fa-stat:last-child { grid-column: 2 / span 2; }
.fa-pack--us { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.fa-pack--sky { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.fa-pack--play {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1.3fr 1fr;
}
.fa-pack--play .fa-text { grid-row: 1 / span 2; }
.fa-pack--play .fa-photo { grid-column: 2 / span 2; }
.fa-versatile { grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr)); }
.fa-versatile .fa-photo img { object-position: center 32%; }
.fa-photo:hover img { transform: scale(1.04); }
.fa-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 14, 16, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}
.fa-swap .fa-swap__on { position: absolute; inset: 0; opacity: 0; }
.fa-swap:hover .fa-swap__on, .fa-swap:focus-visible .fa-swap__on { opacity: 1; }

.is-choosing .fa-tile { opacity: 0; transform: translateX(60px); }
.fa-tile:not(.f-card) { transition: opacity 0.6s, transform 0.6s; }
body:not(.is-choosing) .fa-tile { transition-delay: 0.95s; }
body:not(.is-choosing) .fa-tile:nth-child(n+4) { transition-delay: 1.05s; }
body:not(.is-choosing) .fa-tile:nth-child(n+10) { transition-delay: 1.15s; }
body:not(.is-choosing) .fa-tile:nth-child(n+16) { transition-delay: 1.25s; }
body:not(.is-choosing) .fa-photo:hover img { transition-delay: 0s; }

@media (max-width: 899px) {
  .fa-track {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: auto;
    grid-auto-rows: minmax(160px, auto);
    grid-auto-flow: row;
    gap: 10px;
    width: auto;
  }
  .fa-tile { grid-column: span min(var(--c, 1), 2); grid-row: span min(var(--r, 1), 2); }
  .fa-tile.fa-span-row { grid-column: 1 / -1; grid-row: span 1; }
  .fa-intro, .fa-end, .fa-text { grid-column: 1 / -1; grid-row: auto; }
  .fa-intro, .fa-end { padding: 28px !important; min-height: 320px; }
  .fa-intro h1 { font-size: 2.25rem; }
  .fa-end h2 { font-size: 2rem; }
  .fa-pack, .fa-versatile { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .fa-pack .fa-text, .fa-versatile .fa-text, .fa-pack--play .fa-photo, .fa-pack--sys .fa-stat:last-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .fa-versatile .fa-photo, .fa-pack .fa-photo { min-height: 180px; }
  .is-choosing .fa-tile { transform: translateY(30px); }
}

/* About on phones (S93): the desktop collage turned 90° clockwise onto three square columns.
   Each tile's place is --mr / --mc / --mw / --mh in about.html, written by
   project_files/about/layout/solve_mobile.py + write_mobile.py under the same layout rules.
   Phones only: 768–899px keeps the two-wide stack above until the tablet pass. */
@media (max-width: 767px) {
  .page-about .f-pin { container-type: inline-size; }
  .page-about .fa-track {
    --fa-m-gap: 8px;
    --fa-m-cell: calc((100cqi - 2rem - 2 * var(--fa-m-gap)) / 3);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(var(--fa-m-cell), auto);
    gap: var(--fa-m-gap);
  }
  .page-about .fa-track > .fa-tile {
    grid-column: var(--mc) / span var(--mw);
    grid-row: var(--mr) / span var(--mh);
    min-height: 0;
    border-radius: 16px;
  }
  .page-about .fa-track > .fa-intro,
  .page-about .fa-track > .fa-end { min-height: 0; padding: 24px !important; }
  .page-about .fa-intro h1 { font-size: 1.875rem; }
  .page-about .fa-lede { margin-top: 0.875rem; font-size: 0.9375rem; }
  .page-about .fa-end h2 { font-size: 1.75rem; }
  .page-about .fa-tile .f-card__icon { top: 22px; right: 22px; }
  .page-about .fa-tile .f-card__icon .f-icon { width: 44px; height: 44px; }
  .page-about .fa-text { padding: 22px; }
  .page-about .fa-text h2 { font-size: 1.25rem; }
  .page-about .fa-track > .fa-stat { padding: 10px 11px; gap: 0.25rem; }
  .page-about .fa-stat strong { font-size: clamp(1rem, 21cqi, 1.75rem); }
  .page-about .fa-stat span { font-size: 0.6875rem; line-height: 1.25; }
  .page-about .fa-stat .fa-line { font-size: clamp(0.56rem, 12cqi, 0.6875rem); }
}

.fa-tile.f-card--contact { width: auto; }
.fa-photo .zoomable { cursor: zoom-in; }

/* ---------- Résumé (F): intro, timeline, contact ---------- */

.f-card--resume { width: 640px; justify-content: flex-end; }
.f-card--resume .f-eyebrow,
.f-card--resume h1 { padding-right: 88px; }
.f-card--resume h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.f-card--timeline {
  width: min(1360px, calc(100vw - 2 * var(--f-pad)));
  max-height: var(--f-card-h);
  min-height: 0;
  padding: 22px 28px 16px;
  overflow: hidden;
}
.f-tl__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex: none;
  margin-bottom: 0.75rem;
}
.f-tl__bar .f-eyebrow { margin: 0; }
.f-tl {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: auto;
  margin: 0;
  padding: 0;
}
.f-tl__readout {
  position: relative;
  flex: 1;
  min-height: 0;
  display: block;
  padding-top: 28px;
}
.f-tl__stem {
  position: absolute;
  z-index: 1;
  width: 2px;
  background: var(--c-ink);
  pointer-events: none;
}
.f-tl__entry {
  box-sizing: border-box;
  position: relative;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: max-content;
  max-width: min(560px, 100%);
  min-height: 0;
  padding: 22px 24px 20px;
  border-radius: 18px;
  background: #fff;
  color: #0d0e10;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.5);
  transform-origin: 0 0;
  will-change: transform;
}
.f-tl__entry.is-on { display: flex; z-index: 1; }
.f-tl__entry.is-measuring {
  display: flex;
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}
.f-tl__seed {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.f-tl__seed .f-tl__logo { height: 36px; max-width: 120px; }
.f-tl__seed .f-tl__logo img { height: 28px; }
.f-tl__body { transition: opacity 0.22s ease; }
.f-tl__entry.is-morphing .f-tl__body { opacity: 0; }
.f-tl__entry.is-morphing .f-tl__seed { opacity: 1; }
.f-tl__main {
  flex: none;
  width: fit-content;
  max-width: 46ch;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.f-tl__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.f-tl__module { flex: none; }
.f-tl__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 100px;
  width: auto;
  max-width: 124px;
  min-height: 48px;
  padding: 6px 8px 5px;
  box-sizing: border-box;
  border: 1px solid rgba(13, 14, 16, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #0d0e10;
  text-decoration: none;
}
.f-tl__brand .f-tl__logo {
  height: 32px;
  max-width: 108px;
  border: 0;
  background: transparent;
}
.f-tl__brand span { font-size: 0.75rem; font-weight: 700; line-height: 1; }
.f-tl__view {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.f-tl__view .f-ph { width: 14px; height: 14px; }
.f-tl__brand.f-tl__work:hover,
.f-tl__brand.f-tl__work:focus-visible {
  background: #0d0e10;
  border-color: #0d0e10;
  color: #fff;
}
body.site .f-tl__brand.f-tl__work:hover,
body.site .f-tl__brand.f-tl__work:focus-visible {
  background: var(--f-cta);
  border-color: var(--f-cta-edge);
  color: var(--f-cta-ink);
}
/* The resting mark is sky ink on a white plate. Hover drops the plate so the
   button fill runs through, and the mark takes the button's ink. */
.f-tl__brand.f-tl__work:hover .f-tl__logo,
.f-tl__brand.f-tl__work:focus-visible .f-tl__logo {
  background: transparent;
  isolation: auto;
}
.f-tl__brand.f-tl__work:hover .f-tl__logo::after,
.f-tl__brand.f-tl__work:focus-visible .f-tl__logo::after { content: none; }
.f-tl__brand.f-tl__work:hover .f-tl__logo img,
.f-tl__brand.f-tl__work:focus-visible .f-tl__logo img {
  filter: url("#f-logo-ink") invert(1);
  mix-blend-mode: screen;
}
body.site:not([data-cta-ink="light"]) .f-tl__brand.f-tl__work:hover .f-tl__logo img,
body.site:not([data-cta-ink="light"]) .f-tl__brand.f-tl__work:focus-visible .f-tl__logo img {
  filter: url("#f-logo-ink");
  mix-blend-mode: multiply;
}
.f-tl__work:hover .f-ph--arrow-up-right,
.f-tl__work:focus-visible .f-ph--arrow-up-right { transform: translate(3px, -3px); }
.f-tl__orphan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}
.f-tl__orphan .f-ph { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) {
  .f-tl__entry,
  .f-tl__stem,
  .f-tl__logos { transition: none; }
}
.f-tl__rail {
  position: relative;
  flex: none;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}
.f-tl__rail::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
}
.f-tl__item { min-width: 0; }
.f-tl__stop {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.f-tl__stop:focus-visible { outline: 3px solid var(--c-ink, #0d0e10); outline-offset: 3px; border-radius: 12px; }
.f-tl__cases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}
.f-tl__worked {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #55565a;
}
.f-tl__clients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(520px, 100%);
  max-width: 100%;
  margin-top: 8px;
}
.f-tl__clients:has(.f-tl__brand:only-child) { width: auto; }
/* The brand tile is the frame. The inner mark only carries the sky tint, so it hugs the art. */
.f-tl__clients .f-tl__brand .f-tl__logo {
  width: auto;
  max-width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.f-tl__clients .f-tl__brand .f-tl__logo img {
  width: auto;
  height: 36px;
  max-width: 100%;
}
.f-tl__go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 8px 0 10px;
  border: 1px solid rgba(13, 14, 16, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #0d0e10;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.f-tl__go .f-ph { width: 16px; height: 16px; }
.f-tl__entry:hover .f-tl__go,
.f-tl__go:focus-visible {
  background: #0d0e10;
  border-color: #0d0e10;
  color: #fff;
}
body.site .f-tl__entry:hover .f-tl__go,
body.site .f-tl__go:focus-visible {
  background: var(--f-cta);
  border-color: var(--f-cta-edge);
  color: var(--f-cta-ink);
}
.f-tl__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  height: 48px;
  padding: 5px 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(13, 14, 16, 0.16);
  transition: box-shadow 0.25s, transform 0.25s;
}
.f-tl__stop[aria-pressed="true"] .f-tl__logos {
  box-shadow: inset 0 0 0 2px var(--c-ink, #0d0e10);
}
body.site .f-tl__stop[aria-pressed="true"] .f-tl__logos {
  box-shadow: inset 0 0 0 2px var(--c-ink, #0d0e10);
}
.f-tl__logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: 100px;
  height: 34px;
  padding: 0 1px;
  box-sizing: border-box;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
}
.f-tl__stop .f-tl__logos:has(.f-tl__logo:nth-child(2)) .f-tl__logo { max-width: 56px; }
.f-tl__stop .f-tl__logo {
  width: 100%;
  height: 100%;
  max-width: none;
  flex: 1 1 auto;
}
.f-tl__stop .f-tl__logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}
/* UNT's wordmark is cropped tight, so it fills the shared chip. Scale it back into the frame. */
.f-tl__stop img[src$="UNT-Logo.svg"] { transform: scale(0.72); }
.f-tl__logo img {
  display: block;
  width: auto;
  height: 26px;
  max-width: 100%;
  object-fit: contain;
}
.f-tl__year {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #6a6b6f;
}
.f-tl__stop[aria-pressed="true"] .f-tl__year { color: #0d0e10; }
/* Older files were exported with a wide white plate. Crop to the ink so they match the tight marks. */
.f-tl__logo img[src$="SD-Logo.png"] { object-view-box: inset(34.55% 6.63% 30.91% 7.14%); }
.f-tl__logo img[src$="BNYM-Logo.png"] { object-view-box: inset(41.82% 6.63% 38.64% 6.63%); }
.f-tl__logo img[src$="RMD-Logo.png"] { object-view-box: inset(17.27% 10.2% 23.64% 10.71%); }
.f-tl__logo img[src$="VZ-Logo.png"] { object-view-box: inset(30% 6.12% 35.45% 6.63%); }
.f-tl__logo img[src$="GS-Logo.png"] { object-view-box: inset(10.91% 27.55% 10% 28.06%); }
.f-tl__logo img[src$="T5-Logo.png"] { object-view-box: inset(14.55% 27.3% 13.64% 27.04%); }
.f-tl__logo img[src$="RMN-Logo.png"] { object-view-box: inset(35.45% 9.18% 35.91% 9.18%); }
.f-tl__logo img[src$="USPS-Logo.png"] { object-view-box: inset(33.64% 6.63% 32.73% 3.83%); }
.f-tl__logo img[src$="ZD-Logo.png"] { object-view-box: inset(10.45% 23.47% 10.91% 23.21%); }
.f-tl__logo img[src$="Google-Logo.png"] { object-view-box: inset(25.45% 5.61% 24.55% 5.87%); }
.f-tl__logo img[src$="ZUR-Logo.png"] { object-view-box: inset(30% 3.06% 29.55% 3.32%); }
.f-tl__logo img[src$="BAY-Logo.png"] { object-view-box: inset(8.64% 26.53% 8.18% 26.79%); }
.f-tl__logo img[src$="KY-Logo.png"] { object-view-box: inset(18.64% 6.12% 19.55% 5.87%); }
.f-tl__logo img[src$="CIG-Logo.png"] { object-view-box: inset(22.73% 6.12% 23.64% 5.87%); }
.f-tl__logo img[src$="NYSL-Logo.png"] { object-view-box: inset(6.82% 26.02% 7.27% 25.77%); }
.f-tl__logo img[src$="ARMY-Logo.png"] { object-view-box: inset(5.91% 30.87% 6.36% 31.63%); }
.f-tl__logo img[src$="WAABLE-Logo.png"] { object-view-box: inset(34.09% 6.12% 33.64% 6.38%); }
.f-tl__logo img[src$="ORABLE-Logo.png"] { object-view-box: inset(21.36% 6.12% 21.82% 6.38%); }
.f-tl__logo img[src$="A4A-Logo.png"] { object-view-box: inset(24.09% 8.16% 22.73% 7.91%); }
.f-tl__logo img[src$="ORCSP-Logo.png"] { object-view-box: inset(14.09% 15.82% 14.09% 16.07%); }
.f-tl__logo img[src$="JPM-Logo.png"] { object-view-box: inset(28.64% 15.31% 29.09% 15.05%); }
.f-tl__logo img[src$="RAL-Logo.png"] { object-view-box: inset(26.36% 9.69% 25.91% 9.44%); }
.f-tl__logo img[src$="DAR-Logo.png"] { object-view-box: inset(33.18% 12.76% 32.73% 12.76%); }
.f-tl__logo img[src$="DB-Logo.png"] { object-view-box: inset(31.36% 9.18% 31.82% 8.42%); }
.f-tl__logo img[src$="BF-Logo.png"] { object-view-box: inset(34.09% 4.85% 34.55% 4.34%); }
.f-tl__also {
  margin: 6px 0 0;
  font-size: 0.875rem;
  line-height: 1.3;
  color: #3a3b3d;
}
.f-tl__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 34px;
  min-width: 34px;
  padding: 0 8px;
  border: 1px solid rgba(13, 14, 16, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #0d0e10;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.f-tl__mark {
  min-width: 34px;
  width: 34px;
  max-width: 34px;
  padding: 0;
  color: #0d0e10;
}
.f-tl__mark .f-ph { width: 20px; height: 20px; }
.f-tl__logo--ph { width: 72px; max-width: none; flex: none; padding: 0; border-style: dashed; color: rgba(13, 14, 16, 0.4); }
.f-tl__logo--ph svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.f-tl__when {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 18px;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 18px;
  color: #55565a;
}
.f-tl__pill {
  display: inline-flex;
  align-items: center;
  height: 16px;
  margin-left: 0;
  padding: 0 0.4rem;
  border: 1px solid rgba(13, 14, 16, 0.18);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 16px;
}
/* Same wash as the Password chip: sky accent, light fill, edge for the stroke and the word. */
body.site .f-tl__pill {
  background: color-mix(in srgb, var(--f-cta) 14%, #fff);
  color: var(--f-cta-edge);
  border-color: var(--f-cta-edge);
}
.f-tl__edu {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 0.5rem;
  border: 1px solid rgba(13, 14, 16, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #0d0e10;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}
.f-card .f-tl__entry h3 { margin: 0.4rem 0 0; color: #0d0e10; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.f-tl__org { margin: 0.2rem 0 0; font-size: 1rem; font-weight: 600; color: #0d0e10; }
.f-tl__line { margin: 0.75rem 0 0; max-width: 46ch; font-size: 1rem; line-height: 1.45; color: #4a4b4f; }

@media (max-width: 899px) {
  .f-card--resume { width: auto; padding-top: 120px; }
  .f-card--resume h1 { font-size: 2.25rem; }
  .f-card--timeline { width: auto; max-height: none; overflow: visible; }
  .f-card .f-tl__entry h3 { font-size: 1.5rem; }
  .f-tl__stem { display: none; }
  .f-tl__entry.is-on {
    position: static;
    flex-direction: column;
    width: 100%;
  }
  .f-tl__entry:not(.is-on) { display: none; }
  .f-tl__main { max-width: none; }
  .f-tl__clients { width: auto; }
  .f-tl__rail {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
  }
  .f-tl__item { flex: none; width: 96px; }
  .f-tl__logos { max-width: none; }
}

/* Inline timeline: one row, the open stop is the same box grown from its top-left. */
.f-card--timeline:has(.f-tl.is-row) {
  width: max-content;
  max-width: none;
}
.f-tl.is-row { --f-tl-inset: 22px; }
.f-tl.is-row .f-tl__readout { display: none; }
.f-tl.is-row .f-tl__rail {
  display: block;
  position: relative;
  width: max-content;
  margin: 0;
}
.f-tl.is-row .f-tl__rail::before {
  content: "";
  top: var(--f-tl-line, 23px);
  left: 0;
  right: auto;
  width: 100%;
  z-index: 0;
}
.f-tl.is-row .f-tl__item {
  position: absolute;
  top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(13, 14, 16, 0.16);
}
.f-tl.is-row .f-tl__item.is-open {
  border-radius: 18px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.5);
  z-index: 2;
  padding: var(--f-tl-inset) var(--f-tl-inset) 0;
}
.f-tl.is-row .f-tl__stop {
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--f-tl-slot, auto);
  height: var(--f-tl-logo-h, 48px);
}
.f-tl.is-row .f-tl__item.is-open .f-tl__stop {
  align-items: flex-start;
  justify-content: flex-start;
  width: var(--f-tl-mark-w, 32px);
  height: 32px;
  max-width: 100%;
}
.f-tl.is-row .f-tl__logos,
.f-tl.is-row .f-tl__stop[aria-pressed="true"] .f-tl__logos,
body.site .f-tl.is-row .f-tl__stop[aria-pressed="true"] .f-tl__logos {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 6px 8px;
  border-radius: 12px;
  justify-content: center;
  box-shadow: none;
}
body.site .f-tl.is-row .f-tl__item.is-open .f-tl__logos.f-logo {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
}
.f-tl.is-row .f-tl__item.is-open .f-tl__logos,
.f-tl.is-row .f-tl__item.is-open .f-tl__stop[aria-pressed="true"] .f-tl__logos {
  width: 100%;
  height: 100%;
  padding: 0;
  justify-content: flex-start;
}
.f-tl.is-row .f-tl__item.is-open .f-tl__stop img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  transform: none;
}
/* Sumday's plate is mostly black. Size the slot to the wordmark or it shrinks inside the frame. */
.f-tl.is-row .f-tl__item.is-open .f-tl__stop:has(img[src$="SD-Logo.png"]) {
  width: 142px;
  height: 32px;
}
.f-tl.is-row .f-tl__item.is-open .f-tl__stop img[src$="SD-Logo.png"] {
  object-view-box: inset(34.55% 6.63% 30.91% 7.14%);
}
.f-tl.is-row .f-tl__entry {
  display: flex;
  position: static;
  flex: none;
  width: calc(var(--f-tl-card, 520px) - 2 * var(--f-tl-inset, 22px));
  max-width: none;
  margin: 0;
  padding: 12px 0 22px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform: none;
}
.f-tl.is-row .f-tl__body { opacity: 1; transition: none; }
.f-tl.is-row .f-tl__seed { display: none; }
.f-tl.is-row .f-tl__entry h3 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.f-tl.is-row .f-tl__main { max-width: 42ch; }
.f-tl.is-row .f-tl__clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 8px;
}
.f-tl.is-row .f-tl__brand {
  flex: none;
  width: auto;
  max-width: none;
  min-width: 0;
  gap: 8px;
}

/* Phone: the signed-off row is a desktop instrument. Here the stops wrap
   and the open role sits full width under them. */
@media (max-width: 899px) {
  .f-hero__photo { justify-self: start; }
  body.site .site-nav,
  body.site .site-nav.is-scrolled {
    background: color-mix(in srgb, var(--f-glass-inverse) 84%, transparent);
  }
  body.site .site-nav__inner { position: relative; z-index: 3; }
  body.site .nav-drawer {
    background: #fff;
    color: #0d0e10;
  }
  body.site .nav-drawer.is-open { z-index: 1; }
  body.site.nav-open { overflow: hidden; }
  body.site.nav-open .site-nav,
  body.site.nav-open .site-nav.is-scrolled {
    background: #fff;
    color: #0d0e10;
    border-bottom-color: rgba(13, 14, 16, 0.12);
  }
  body.site.nav-open .site-nav .logo,
  body.site.nav-open .site-nav .nav-burger,
  body.site.nav-open .f-home { color: #0d0e10; }
  body.site .nav-drawer a:not(.btn-pill),
  body.site .nav-drawer button.drawer-link,
  body.site .nav-drawer .f-wx__item,
  body.site .nav-drawer .f-opts__label,
  body.site .nav-drawer .f-peek--drawer {
    color: #0d0e10;
  }
  body.site .nav-drawer .f-peek--drawer {
    line-height: 1;
    background: #fff;
  }
  body.site .nav-drawer .f-peek--drawer[aria-pressed="true"] {
    background: #0d0e10;
    color: #fff;
    border-color: #0d0e10;
  }
  body.site .nav-drawer .f-wx__item[aria-checked="true"] { color: #fff; }
  body.site.is-peek-pan { overflow: hidden; }
  body.site.is-peek-pan .f-sky img {
    width: auto;
    height: 100%;
    min-width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: left center;
  }
  .f-card--timeline:has(.f-tl.is-row) { width: auto; max-width: 100%; }
  .f-tl.is-row.is-narrow .f-tl__rail {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .f-tl.is-row.is-narrow .f-tl__rail::before { content: none; }
  .f-tl.is-row.is-narrow .f-tl__item { display: none; }
  .f-tl.is-row.is-narrow .f-tl__item.is-open {
    display: flex;
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 16px 16px 8px;
  }
  .f-tl.is-row.is-narrow .f-tl__strip {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
    padding: 16px 2px 8px;
  }
  .f-tl.is-row.is-narrow .f-tl__strip::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    height: 2px;
    background: var(--c-ink, #0d0e10);
    opacity: 0.45;
  }
  .f-tl.is-row.is-narrow .f-tl__stop {
    position: relative;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 128px;
    max-width: 176px;
    height: 56px;
    overflow: visible;
    box-sizing: border-box;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(13, 14, 16, 0.16);
  }
  .f-tl.is-row.is-narrow .f-tl__stop[aria-pressed="true"] {
    box-shadow: inset 0 0 0 2px var(--c-ink, #0d0e10);
  }
  .f-tl.is-row.is-narrow .f-tl__stop[aria-pressed="true"]::after {
    content: "";
    position: absolute;
    top: -13px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: var(--c-ink, #0d0e10);
  }
  .f-tl.is-row.is-narrow .f-tl__logos,
  body.site .f-tl.is-row.is-narrow .f-tl__stop[aria-pressed="true"] .f-tl__logos.f-logo {
    width: 100%;
    height: 100%;
    padding: 8px 12px;
    justify-content: center;
    background: #fff;
    box-sizing: border-box;
  }
  .f-tl.is-row.is-narrow .f-tl__stop img {
    width: auto;
    height: 26px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
  }
  .f-tl.is-row.is-narrow .f-tl__entry { display: none; }
  .f-tl.is-row.is-narrow .f-tl__item.is-open .f-tl__entry,
  .f-tl.is-row.is-narrow .f-tl__item.is-open .f-tl__entry.is-on {
    display: flex;
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px 0 12px;
    background: transparent;
    box-shadow: none;
    color: #0d0e10;
  }
  .f-tl.is-row.is-narrow .f-tl__entry h3,
  .f-tl.is-row.is-narrow .f-tl__org { color: #0d0e10; }
  .f-tl.is-row.is-narrow .f-tl__line { color: #3a3b3d; }
  .f-tl.is-row.is-narrow .f-tl__strip { display: none; }
  .f-tl.is-row.is-narrow .f-tl__item.is-open .f-tl__stop,
  .f-tl.is-row.is-narrow .f-tl__item.is-open .f-tl__stop[aria-pressed="true"] {
    position: static;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: var(--f-tl-mark-w, auto);
    min-width: 0;
    max-width: 100%;
    height: 32px;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
  }
  .f-tl.is-row.is-narrow .f-tl__item.is-open .f-tl__stop::after { content: none; }
  .f-tl.is-row.is-narrow .f-tl__item.is-open .f-tl__logos,
  body.site .f-tl.is-row.is-narrow .f-tl__item.is-open .f-tl__logos.f-logo {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    justify-content: flex-start;
  }
  .f-tl.is-row.is-narrow .f-tl__item.is-open .f-tl__stop:has(img[src$="SD-Logo.png"]) {
    width: 142px;
    max-width: 100%;
  }
  .f-tl.is-row.is-narrow .f-tl__item.is-open .f-tl__stop img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: left center;
    transform: none;
    background: #fff;
  }
  .f-tl.is-row.is-narrow .f-tl__clients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .f-tl.is-row.is-narrow .f-tl__brand,
  .f-tl.is-row.is-narrow .f-tl__go {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
  .f-tl.is-row.is-narrow .f-tl__view { font-size: 0.8125rem; }
  .f-tl.is-row.is-narrow .f-tl__phone-nav {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}
.f-tl__phone-nav,
.f-peek--bar { display: none; }
@media (max-width: 899px) {
  .f-peek--bar { display: inline-grid; }
  .site-nav__inner > .f-peek--bar { margin-left: auto; }
  .f-peek--drawer,
  .f-wx-drawer > .f-peek--drawer { display: none; }
  body.site .nav-drawer.is-open { padding-top: calc(var(--nav-h) + 0.5rem); }
  body.site.nav-open .f-peek--bar {
    color: #0d0e10;
    border-color: rgba(13, 14, 16, 0.28);
  }
}
