/* Shared approved FT Studio design tokens and components. */
:is(.ft-impact-page, .ft-dark-page) {
  --home-max-width: 78rem;
  /* Total horizontal inset; each edge receives half. */
  --home-gutter: clamp(2.5rem, 8vw, 9rem);
  --home-container-width: min(var(--home-max-width), calc(100% - var(--home-gutter)));
  --home-body: clamp(1rem, 1.05vw, 1.125rem);
  --home-work-offset: clamp(2.5rem, 5vw, 4.5rem);
  --home-card-inset: clamp(1.2rem, 1.6vw, 1.4rem);
  --home-process-gap: clamp(1.25rem, 2.25vw, 2.25rem);
  --home-inline-space: clamp(1rem, 2.25vw, 2.25rem);
  --home-bg: #0b0d10;
  --home-surface: #12161b;
  --home-elevated: #191f26;
  --home-text: #f5f7fa;
  --home-muted: #a8adb5;
  --home-accent: #80c9ff;
  --home-border: rgb(255 255 255 / .12);
  --home-heading: clamp(2rem, 3.2vw, 3.5rem);
  --home-feature: clamp(2.25rem, 3.65vw, 4rem);
  --home-contact: clamp(2.5rem, 5.1vw, 5.75rem);
  --home-service: clamp(1.375rem, 2.05vw, 2rem);
  --home-number: clamp(2.1rem, 3.3vw, 3.5rem);
  --home-section-space: clamp(3.5rem, 6.25vw, 6.75rem);
  --home-heading-space: clamp(2rem, 3.2vw, 3rem);
  --home-grid-space: clamp(1.5rem, 3.5vw, 3.5rem);
  --home-row-space: clamp(1.75rem, 2.8vw, 2.75rem);
  --home-duration: 300ms;
  /* Compatibility aliases prevent legacy components reintroducing purple. */
  --ft-orange: var(--home-accent);
  --ft-cream: var(--home-text);
  --ft-black: var(--home-bg);
  background: var(--home-bg);
  color: var(--home-text);
}
:is(.ft-impact-page, .ft-dark-page) ::selection { background: var(--home-accent); color: var(--home-bg); }
:is(.ft-impact-page, .ft-dark-page) .ft-statement {
  margin: 0; padding-block: clamp(1.1rem, 2vw, 1.75rem);
  border-block: 1px solid var(--home-border); background: var(--home-surface); color: var(--home-text);
}
:is(.ft-impact-page, .ft-dark-page) .ft-statement > div {
  width: var(--home-container-width); margin-inline: auto;
  flex-wrap: wrap; gap: .25rem clamp(.75rem, 3vw, 2.75rem);
  justify-content: center; white-space: normal;
  font-size: clamp(.8rem, 1.45vw, 1.3rem); font-weight: 500; letter-spacing: .09em; line-height: 1.6;
}
:is(.ft-impact-page, .ft-dark-page) .ft-statement span { font-size: inherit; line-height: inherit; }
:is(.ft-impact-page, .ft-dark-page) .ft-statement-separator { color: var(--home-accent); }
:is(.ft-impact-page, .ft-dark-page) .ft-work, :is(.ft-impact-page, .ft-dark-page) .ft-about { background: var(--home-surface); }
:is(.ft-impact-page, .ft-dark-page) .ft-dark { background: var(--home-bg); color: var(--home-text); }
:is(.ft-impact-page, .ft-dark-page) .ft-section { padding-block: var(--home-section-space); }
:is(.ft-impact-page, .ft-dark-page) .ft-section-heading { gap: var(--home-inline-space); margin-bottom: var(--home-heading-space); }
:is(.ft-impact-page, .ft-dark-page) .ft-section-heading h2 { font-size: var(--home-heading); line-height: 1.15; }
:is(.ft-impact-page, .ft-dark-page) .ft-section-heading .ft-label,
:is(.ft-impact-page, .ft-dark-page) .ft-about > .ft-shell > .ft-label,
:is(.ft-impact-page, .ft-dark-page) .ft-dark .ft-label { color: var(--home-accent); }
:is(.ft-impact-page, .ft-dark-page) .ft-editorial-note { color: var(--home-muted); max-width: 44rem; margin-bottom: var(--home-heading-space); }
:is(.ft-impact-page, .ft-dark-page) .ft-project-grid { width: 100%; margin-inline: auto; gap: var(--home-grid-space); }
:is(.ft-impact-page, .ft-dark-page) .ft-project-card {
  min-width: 0; align-self: start; overflow: hidden;
  border: 1px solid var(--home-border); border-radius: .5rem; background: var(--home-surface);
  transition: border-color var(--home-duration) ease, transform var(--home-duration) ease;
}
:is(.ft-impact-page, .ft-dark-page) .ft-project-card:nth-child(2n) { margin-top: var(--home-work-offset); }
:is(.ft-impact-page, .ft-dark-page) .ft-project-card:is(:hover, :focus-within) { border-color: rgb(128 201 255 / .5); transform: translateY(-4px); }
:is(.ft-impact-page, .ft-dark-page) .ft-project-link { height: 100%; color: var(--home-text); }
:is(.ft-impact-page, .ft-dark-page) .ft-project-link:focus-visible { outline: 2px solid var(--home-accent); outline-offset: -4px; border-radius: .4rem; }
:is(.ft-impact-page, .ft-dark-page) .ft-project-cover { aspect-ratio: 1.6; border-bottom: 1px solid var(--home-border); background: var(--home-elevated); color: var(--home-text); }
:is(.ft-impact-page, .ft-dark-page) .ft-project-card:last-child:nth-child(odd):not(:first-child) .ft-project-cover { aspect-ratio: 2; }
:is(.ft-impact-page, .ft-dark-page) .ft-art-shape { display: none; }
:is(.ft-impact-page, .ft-dark-page) .ft-art-type { font-size: clamp(2rem, 3.25vw, 3.25rem); line-height: 1.05; font-weight: 600; letter-spacing: -.055em; transform: none; }
:is(.ft-impact-page, .ft-dark-page) .ft-project-link:is(:hover, :focus-visible) .ft-art-type { transform: none; }
:is(.ft-impact-page, .ft-dark-page) .ft-project-cover .content-image { transition: transform 300ms ease; }
:is(.ft-impact-page, .ft-dark-page) .ft-project-link:is(:hover, :focus-visible) .content-image { transform: scale(1.03); }
:is(.ft-impact-page, .ft-dark-page) .ft-art-caption { bottom: 1.25rem; left: 1.4rem; right: 1.4rem; color: var(--home-muted); font-size: .75rem; line-height: 1.5; letter-spacing: .08em; }
:is(.ft-impact-page, .ft-dark-page) .ft-project-arrow { width: 2.5rem; height: 2.5rem; background: var(--home-bg); color: var(--home-accent); border: 1px solid var(--home-border); font-size: 1.35rem; transition: transform var(--home-duration) ease, background var(--home-duration) ease; }
:is(.ft-impact-page, .ft-dark-page) .ft-project-link:is(:hover, :focus-visible) .ft-project-arrow { transform: translate(2px, -2px); background: var(--home-surface); }
:is(.ft-impact-page, .ft-dark-page) .ft-project-meta { margin: 0; padding: var(--home-card-inset); gap: 1rem; min-height: 9.25rem; }
:is(.ft-impact-page, .ft-dark-page) .ft-project-meta > div { min-width: 0; }
:is(.ft-impact-page, .ft-dark-page) .ft-project-meta .ft-label { color: var(--home-muted); font-size: .75rem; line-height: 1.6; letter-spacing: .07em; }
:is(.ft-impact-page, .ft-dark-page) .ft-project-meta :is(h2, h3) { font-size: clamp(1.125rem, 1.65vw, 1.6rem); line-height: 1.3; overflow-wrap: anywhere; }
:is(.ft-impact-page, .ft-dark-page) .ft-project-index { padding-top: .2rem; color: var(--home-accent); font-size: .75rem; }
:is(.ft-impact-page, .ft-dark-page) .ft-outline-link { border-color: var(--home-border); color: var(--home-text); transition: color var(--home-duration) ease, background var(--home-duration) ease, border-color var(--home-duration) ease; }
:is(.ft-impact-page, .ft-dark-page) .ft-outline-link:is(:hover, :focus-visible) { background: var(--home-accent); color: var(--home-bg); border-color: var(--home-accent); }
:is(.ft-impact-page, .ft-dark-page) .ft-service-list, :is(.ft-impact-page, .ft-dark-page) .ft-service-row { border-color: var(--home-border); }
:is(.ft-impact-page, .ft-dark-page) .ft-service-row { grid-template-columns: 3rem minmax(0, 1.1fr) minmax(0, 1fr) 2rem; padding-block: var(--home-row-space); gap: var(--home-inline-space); transition: background-color 300ms ease; }
:is(.ft-impact-page, .ft-dark-page) .ft-service-row:is(:hover, :focus-within) { background-color: rgb(128 201 255 / .025); }
:is(.ft-impact-page, .ft-dark-page) .ft-service-row:is(:hover, :focus-within) :is(h2, h3) { transform: translateX(4px); }
:is(.ft-impact-page, .ft-dark-page) .ft-service-row :is(h2, h3) { transition: transform 240ms cubic-bezier(.22,1,.36,1); font-size: var(--home-service); line-height: 1.25; }
:is(.ft-impact-page, .ft-dark-page) .ft-service-row p { color: var(--home-muted); }
:is(.ft-impact-page, .ft-dark-page) .ft-service-row > span:last-child { color: var(--home-muted); transition: transform var(--home-duration) ease, color var(--home-duration) ease; }
:is(.ft-impact-page, .ft-dark-page) .ft-service-row:is(:hover, :focus-within) > span:last-child { color: var(--home-accent); transform: translate(4px, -3px); }
:is(.ft-impact-page, .ft-dark-page) .ft-service-row :is(h2, h3) a:is(:hover, :focus-visible) { color: var(--home-accent); text-decoration: underline; }
:is(.ft-impact-page, .ft-dark-page) .ft-service-row :focus-visible { outline-color: var(--home-accent); }
:is(.ft-impact-page, .ft-dark-page) .ft-about-main { gap: 1.75rem var(--home-grid-space); align-items: start; }
.ft-impact-page .ft-about > .ft-shell > .ft-label { margin-bottom: var(--home-heading-space); }
.ft-impact-page .ft-about-copy { grid-column: 2; grid-row: 1 / 3; }
.ft-text-line { display: block; }
:is(.ft-impact-page, .ft-dark-page) .ft-about-main h2 { font-size: var(--home-feature); line-height: 1.12; max-width: 14ch; }
:is(.ft-impact-page, .ft-dark-page) .ft-about-main .ft-large-copy { color: var(--home-muted); }
:is(.ft-impact-page, .ft-dark-page) .ft-outline-link span, :is(.ft-impact-page, .ft-dark-page) .ft-text-link span { transition: transform var(--home-duration) ease; }
:is(.ft-impact-page, .ft-dark-page) .ft-text-link { transition: color var(--home-duration) ease; }
:is(.ft-impact-page, .ft-dark-page) .ft-text-link:is(:hover, :focus-visible) { color: var(--home-accent); }
:is(.ft-impact-page, .ft-dark-page) .ft-about-stamp { grid-column: 1; margin-top: 0; padding-block: 1.5rem .25rem; border-top: 1px solid var(--home-border); border-bottom: 0; justify-content: flex-start; gap: clamp(1.5rem, 3vw, 3rem); font-size: clamp(3.75rem, 6vw, 6rem); color: var(--home-muted); }
.ft-impact-page .ft-about-stamp b { font-weight: 900; }
:is(.ft-impact-page, .ft-dark-page) .ft-about-stamp span { color: var(--home-muted); font-size: .75rem; line-height: 1.6; }
:is(.ft-impact-page, .ft-dark-page) .ft-process { padding-top: var(--home-section-space); }
:is(.ft-impact-page, .ft-dark-page) .ft-process-list { gap: var(--home-process-gap); }
:is(.ft-impact-page, .ft-dark-page) .ft-process-list li { border-color: var(--home-border); }
:is(.ft-impact-page, .ft-dark-page) .ft-step-number { color: var(--home-accent); font-size: var(--home-number); font-weight: 500; letter-spacing: -.055em; margin-bottom: 1.75rem; }
:is(.ft-impact-page, .ft-dark-page) .ft-process-list h3 { font-size: 1.2rem; line-height: 1.3; min-height: 2.6em; }
:is(.ft-impact-page, .ft-dark-page) .ft-process-list p { color: var(--home-muted); }
:is(.ft-impact-page, .ft-dark-page) .ft-contact-band { background: var(--home-surface); color: var(--home-text); border-block: 1px solid var(--home-border); padding-block: var(--home-section-space); }
:is(.ft-impact-page, .ft-dark-page) .ft-contact-band .ft-label { color: var(--home-accent); }
:is(.ft-impact-page, .ft-dark-page) .ft-contact-band > .ft-shell > p:last-child { color: var(--home-muted); }
:is(.ft-impact-page, .ft-dark-page) .ft-cta-row { margin-block: var(--home-heading-space); gap: var(--home-grid-space); }
:is(.ft-impact-page, .ft-dark-page) .ft-cta-row h2 { max-width: 17ch; font-size: var(--home-contact); line-height: 1.12; }
:is(.ft-impact-page, .ft-dark-page) .ft-circle-link { flex-basis: clamp(4.75rem, 9vw, 8.5rem); width: clamp(4.75rem, 9vw, 8.5rem); font-size: clamp(2.5rem, 4.5vw, 4.5rem); background: var(--home-accent); color: var(--home-bg); border-color: var(--home-accent); transition: background var(--home-duration) ease, transform var(--home-duration) ease; }
:is(.ft-impact-page, .ft-dark-page) .ft-circle-link:is(:hover, :focus-visible) { background: var(--home-text); transform: translateY(-2px); }
:is(.ft-impact-page, .ft-dark-page) .ft-circle-link span { transition: transform var(--home-duration) ease; }
:is(.ft-impact-page, .ft-dark-page) .ft-circle-link:is(:hover, :focus-visible) span { transform: translate(2px, -2px); }
:is(.ft-impact-page, .ft-dark-page) .ft-contact-band :focus-visible { outline-color: var(--home-accent); }
:is(.ft-impact-page, .ft-dark-page) .ft-footer { background: var(--home-bg); color: var(--home-text); border-top: 0; }
:is(.ft-impact-page, .ft-dark-page) .ft-footer .ft-logo i { background: var(--home-accent); }
:is(.ft-impact-page, .ft-dark-page) .ft-footer-top { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
:is(.ft-impact-page, .ft-dark-page) .ft-footer-top p { color: var(--home-muted); font-size: 1rem; line-height: 1.6; }
:is(.ft-impact-page, .ft-dark-page) .ft-footer-bottom { color: var(--home-muted); font-size: .75rem; border-top-color: var(--home-border); }
:is(.ft-impact-page, .ft-dark-page) .ft-footer a { transition: color var(--home-duration) ease, text-decoration-color var(--home-duration) ease; }
:is(.ft-impact-page, .ft-dark-page) .ft-footer a:not(.ft-logo):hover { text-decoration: underline; text-underline-offset: .3em; color: var(--home-text); text-decoration-color: var(--home-accent); }
:is(.ft-impact-page, .ft-dark-page) .ft-footer :focus-visible { outline-color: var(--home-accent); }
@media (min-width: 48rem) and (max-width: 64rem) {
  :is(.ft-impact-page, .ft-dark-page) .ft-service-row { grid-template-columns: 2rem minmax(0, 1.1fr) minmax(0, 1fr); }
}
@media (max-width: 47.99rem) {
  .ft-impact-page .ft-about-copy { grid-column: auto; grid-row: auto; }
  :is(.ft-impact-page, .ft-dark-page) .ft-service-row { grid-template-columns: 2rem minmax(0, 1fr); }
  :is(.ft-impact-page, .ft-dark-page) .ft-service-row p { grid-column: 2; }
  :is(.ft-impact-page, .ft-dark-page) .ft-project-card:nth-child(2n) { margin-top: 0; }
  :is(.ft-impact-page, .ft-dark-page) .ft-project-card:last-child:nth-child(odd):not(:first-child) .ft-project-cover { aspect-ratio: 1.6; }
  :is(.ft-impact-page, .ft-dark-page) .ft-about-main { gap: var(--home-heading-space); }
}
@media (max-width: 40rem) {
  :is(.ft-impact-page, .ft-dark-page) .ft-process-list { grid-template-columns: 1fr; gap: 1.75rem; }
  :is(.ft-impact-page, .ft-dark-page) .ft-process-list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .5rem 1rem; padding-top: 1.25rem; }
  :is(.ft-impact-page, .ft-dark-page) .ft-process-list .ft-step-number { grid-row: 1 / 3; margin: 0; }
  :is(.ft-impact-page, .ft-dark-page) .ft-process-list p { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.ft-impact-page, .ft-dark-page) .ft-service-row:is(:hover, :focus-within) :is(h2, h3),
  :is(.ft-impact-page, .ft-dark-page) .ft-text-link:is(:hover, :focus-visible) span,
  :is(.ft-impact-page, .ft-dark-page) .ft-project-card:is(:hover, :focus-within),
  :is(.ft-impact-page, .ft-dark-page) .ft-project-link:is(:hover, :focus-visible) .content-image,
  :is(.ft-impact-page, .ft-dark-page) .ft-project-link:is(:hover, :focus-visible) .ft-project-arrow,
  :is(.ft-impact-page, .ft-dark-page) .ft-service-row:is(:hover, :focus-within) > span:last-child,
  :is(.ft-impact-page, .ft-dark-page) .ft-circle-link:is(:hover, :focus-visible),
  :is(.ft-impact-page, .ft-dark-page) .ft-circle-link:is(:hover, :focus-visible) span { transform: none; }
}
@media print {
  :is(.ft-impact-page, .ft-dark-page) { background: #fff; color: #000; }
  :is(.ft-impact-page, .ft-dark-page) .ft-work, :is(.ft-impact-page, .ft-dark-page) .ft-about, :is(.ft-impact-page, .ft-dark-page) .ft-dark, :is(.ft-impact-page, .ft-dark-page) .ft-contact-band { background: #fff; color: #000; }
}

/* Homepage editorial text; Hero has its own approved type scale. */
.ft-impact-page main p:not(.ft-label) { font-size: var(--home-body); line-height: 1.65; }
.ft-impact-page main p.ft-large-copy { font-size: clamp(1.125rem, 1.5vw, 1.4rem); line-height: 1.6; }
.ft-impact-page .ft-process-list p, .ft-impact-page .ft-service-row p { font-size: var(--home-body); line-height: 1.65; }
:is(.ft-impact-page, .ft-dark-page) .ft-service-row :is(h2, h3) a { display: inline-block; min-height: 44px; text-decoration: none; text-underline-offset: .2em; }
:is(.ft-impact-page, .ft-dark-page) .ft-outline-link span { display: inline-block; }
:is(.ft-impact-page, .ft-dark-page) .ft-outline-link:is(:hover, :focus-visible) span { transform: translate(2px, -2px); }
:is(.ft-impact-page, .ft-dark-page) .ft-footer a:not(.ft-logo) { display: inline-flex; align-items: center; column-gap: .35em; min-height: 44px; }
:is(.ft-impact-page, .ft-dark-page) .ft-page-intro { text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) {
  :is(.ft-impact-page, .ft-dark-page) .ft-outline-link:is(:hover, :focus-visible) span { transform: none; }
}
