/* finesse · register=brand · A=locked-blue-white · B=light-sans
 * C=photographic-open-list · D=native-scroll-pointer · E=daylight-research
 * SOUL=7 SPECTACLE=5 DENSITY=3 */

:root {
  --f-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.02;
  background-image: var(--f-grain);
  background-size: 180px 180px;
}

.f-dialog-open {
  overflow-y: hidden;
}

.f-hero {
  position: relative;
  height: min(760px, calc(100svh - 210px));
  min-height: 540px;
  overflow: clip;
  background: var(--f-bg);
}

.f-hero-depth {
  position: absolute;
  inset: -48px -24px;
  z-index: 0;
}

.f-hero-pointer,
.f-hero-breath {
  display: block;
  width: 100%;
  height: 100%;
}

.f-hero-pointer {
  transform: translate3d(var(--f-pointer-x, 0px), var(--f-pointer-y, 0px), 0);
}

.f-hero-breath {
  transform: scale(1.025);
  animation: f-breathe 12s ease-in-out infinite alternate;
}

.f-hero-breath img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.f-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding-bottom: 26px;
}

.f-hero-copy {
  width: min(620px, 100%);
}

.f-hero h1 {
  font-size: 92px;
  font-weight: 400;
  line-height: 1.12;
}

.f-hero-statement {
  margin-top: 22px;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.5;
}

.f-hero-description {
  max-width: 450px;
  margin-top: 22px;
  color: var(--f-ink);
  font-size: 15px;
  line-height: 1.95;
}

.f-hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}

.f-work {
  padding: 84px 0 130px;
  background: var(--f-surface);
}

.f-work-intro {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.f-work-intro h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.45;
}

.f-work-intro p {
  max-width: 650px;
  margin: 25px auto 0;
  color: var(--f-muted);
  font-size: 16px;
  line-height: 1.95;
}

.f-work-intro p + p {
  margin-top: 10px;
}

.f-work-demo {
  margin-top: 66px;
}

.f-work-panel {
  --f-panel-floor: 424px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 88px;
  min-height: var(--f-panel-floor);
  padding: 56px 0 32px;
}

.f-work-context {
  margin-bottom: 20px;
  color: var(--f-accent-text);
  font-size: 12px;
  line-height: 1.75;
}

.f-work-lead h3 {
  max-width: 445px;
  font-size: 31px;
  line-height: 1.6;
  font-weight: 400;
  text-wrap: balance;
}

.f-work-lead > p:not(.f-work-context) {
  max-width: 420px;
  margin-top: 21px;
  color: var(--f-muted);
  font-size: 15px;
  line-height: 1.95;
}

.f-result {
  min-width: 0;
}

.f-result-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 0 19px;
  border-bottom: 1px solid var(--f-line);
}

.f-result-title h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.f-result-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.f-result-list li {
  padding: 23px 0;
  border-bottom: 1px solid var(--f-line);
}

.f-result-list small {
  display: block;
  margin-bottom: 7px;
  color: var(--f-muted);
  font-size: 12px;
  line-height: 1.75;
}

.f-result-list strong {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.f-result-list p {
  margin-top: 8px;
  color: var(--f-muted);
  font-size: 13px;
  line-height: 1.9;
}

.f-people-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: 24px;
  padding-block: 20px;
}

.f-people-list small {
  margin: 5px 0 0;
}

.f-people-list p {
  margin: 0;
}

.f-person-evidence p + p {
  margin-top: 8px;
}

.f-roles {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.9;
}

.f-roles th,
.f-roles td {
  padding: 16px 0;
  padding-right: 18px;
  border-bottom: 1px solid var(--f-line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.f-roles th {
  color: var(--f-muted);
  font-size: 12px;
}

.f-roles td:first-child {
  width: 20%;
  white-space: nowrap;
}

.f-roles td:nth-child(2) {
  width: 30%;
}

.f-roles td:last-child {
  width: 50%;
  padding-right: 0;
  color: var(--f-muted);
}

.f-work-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--f-line);
}

.f-process {
  padding: 136px 0 128px;
  background: var(--f-section-muted);
  border-top: 1px solid var(--f-line);
  view-timeline-name: --f-research;
  view-timeline-axis: block;
}

.f-process-heading {
  max-width: 750px;
}

.f-process-heading h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.45;
}

.f-process-heading p {
  max-width: 570px;
  margin-top: 24px;
  color: var(--f-muted);
  font-size: 16px;
  line-height: 1.95;
}

.f-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 126px;
  margin-top: 80px;
}

.f-process-visual {
  position: sticky;
  top: calc(var(--f-nav-h) + 80px);
  z-index: var(--f-z-sticky);
  align-self: start;
  min-width: 0;
}

.f-process-photo {
  aspect-ratio: 5 / 4;
  overflow: clip;
  background: var(--f-bg);
}

.f-process-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.065);
}

.f-process-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  color: var(--f-muted);
  font-size: 12px;
  line-height: 1.7;
}

.f-process-caption strong {
  color: var(--f-ink);
  font-weight: 400;
}

.f-process-steps {
  position: relative;
  min-width: 0;
}

.f-process-rail {
  position: absolute;
  top: 30px;
  bottom: 64px;
  left: -42px;
  width: 1px;
  background: var(--f-line);
}

.f-process-rail span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--f-accent-text);
  transform-origin: top;
  transform: scaleY(1);
}

.f-process-step {
  min-height: 336px;
  padding: 30px 0 78px;
}

.f-process-step h3 {
  max-width: 420px;
  color: var(--f-muted);
  font-size: 29px;
  line-height: 1.6;
  transition: color 360ms ease;
}

.f-process-step.is-current h3 {
  color: var(--f-ink);
}

.f-process-step p {
  max-width: 400px;
  margin-top: 24px;
  color: var(--f-muted);
  font-size: 15px;
  line-height: 2;
}

.f-memory {
  padding: 126px 0 134px;
  background: var(--f-soft);
  text-align: center;
}

.f-memory h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.5;
}

.f-memory > .f-container > p {
  max-width: 620px;
  margin: 25px auto 0;
  color: var(--f-muted);
  font-size: 16px;
  line-height: 1.95;
}

.f-about {
  padding-top: 140px;
  background: var(--f-surface);
}

.f-about-copy {
  max-width: 700px;
  margin-bottom: 76px;
}

.f-about h2 {
  font-size: 46px;
  font-weight: 300;
  line-height: 1.5;
}

.f-about-copy > p {
  margin-top: 27px;
  color: var(--f-muted);
  font-size: 16px;
  line-height: 2;
}

.f-about h2,
.f-static-fallback #about h2 {
  word-break: keep-all;
}

.f-about-image {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: var(--f-bg);
}

.f-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f-closing {
  padding: 118px 0 128px;
  background: var(--f-section-muted);
  text-align: center;
}

.f-closing h2 {
  font-size: 40px;
  font-weight: 300;
  line-height: 1.55;
}

.f-closing p {
  margin-top: 20px;
  color: var(--f-muted);
  font-size: 15px;
  line-height: 1.9;
}

.f-closing .f-button {
  margin-top: 32px;
}

.f-motion-paused .f-hero-breath {
  animation-play-state: paused;
}

@keyframes f-breathe {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.035);
  }
}

@keyframes f-hero-depth {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(78px);
  }
}

@keyframes f-research-pan {
  from {
    transform: translateY(-12px) scale(1.09);
  }
  to {
    transform: translateY(12px) scale(1.065);
  }
}

@keyframes f-progress {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .f-hero-depth {
      animation: f-hero-depth linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }

    .f-process-photo img {
      animation: f-research-pan linear both;
      animation-timeline: --f-research;
      animation-range: entry 30% exit 70%;
    }

    .f-process-rail span {
      animation: f-progress linear both;
      animation-timeline: --f-research;
      animation-range: entry 30% exit 70%;
    }
  }
}

@media (max-width: 1180px) {
  .f-hero h1 {
    font-size: 76px;
  }

  .f-hero-copy {
    max-width: 530px;
  }

  .f-hero-statement {
    font-size: 32px;
  }

  .f-work-panel {
    --f-panel-floor: 700px;
    gap: 56px;
  }

  .f-work-lead h3 {
    font-size: 29px;
  }

  .f-process-grid {
    gap: 82px;
  }

  .f-process-rail {
    left: -30px;
  }
}

@media (max-height: 740px) and (min-width: 801px) {
  .f-hero {
    height: calc(100svh - 170px);
    min-height: 320px;
  }

  .f-hero h1 {
    font-size: 68px;
  }

  .f-hero-statement {
    margin-top: 16px;
    font-size: 29px;
  }

  .f-hero-description {
    margin-top: 14px;
  }

  .f-hero-actions {
    margin-top: 24px;
  }

  .f-work {
    padding-top: 64px;
  }
}

@media (max-width: 800px) {
  .f-hero {
    height: calc(100svh - 180px);
    min-height: 420px;
    max-height: 760px;
  }

  .f-hero-depth {
    inset: 0 -8px -20px;
  }

  .f-hero-inner {
    align-items: start;
    padding-top: 38px;
    padding-bottom: 0;
  }

  .f-hero-copy {
    max-width: 540px;
  }

  .f-hero h1 {
    font-size: 54px;
    line-height: 1.15;
  }

  .f-hero-statement {
    margin-top: 15px;
    font-size: 28px;
    line-height: 1.6;
  }

  .f-hero-description {
    max-width: 320px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.9;
  }

  .f-hero-actions {
    margin-top: 24px;
  }

  .f-hero-breath img {
    object-position: center top;
  }

  .f-work {
    padding: 56px 0 82px;
  }

  .f-work-intro h2,
  .f-process-heading h2,
  .f-memory h2,
  .f-about h2 {
    font-size: 35px;
    line-height: 1.6;
  }

  .f-work-intro p {
    margin-top: 21px;
    font-size: 15px;
  }

  .f-work-demo {
    margin-top: 46px;
  }

  .f-work-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding: 42px 0 30px;
    align-content: start;
  }

  .f-work-context {
    margin-bottom: 15px;
  }

  .f-work-lead h3 {
    max-width: 520px;
    font-size: 29px;
    line-height: 1.55;
  }

  .f-work-lead > p:not(.f-work-context) {
    max-width: 520px;
    margin-top: 18px;
  }

  .f-work-bottom {
    align-items: start;
  }

  .f-process {
    padding: 82px 0 88px;
  }

  .f-process-heading p {
    margin-top: 21px;
    font-size: 15px;
  }

  .f-process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
    margin-top: 44px;
  }

  .f-process-visual {
    position: static;
  }

  .f-process-photo {
    aspect-ratio: 4 / 3;
  }

  .f-process-photo img {
    animation: none;
    transform: none;
  }

  .f-process-rail {
    display: none;
  }

  .f-process-step {
    min-height: 0;
    padding: 28px 0;
  }

  .f-process-step + .f-process-step {
    border-top: 1px solid var(--f-line);
  }

  .f-process-step h3 {
    max-width: none;
    font-size: 26px;
    color: var(--f-ink);
  }

  .f-process-step p {
    max-width: 600px;
    margin-top: 16px;
  }

  .f-memory {
    padding: 84px 0 88px;
  }

  .f-memory > .f-container > p {
    margin-top: 23px;
    font-size: 15px;
  }

  .f-about {
    padding-top: 86px;
  }

  .f-about-copy {
    margin-bottom: 43px;
  }

  .f-about-copy > p {
    margin-top: 21px;
    font-size: 15px;
  }

  .f-about-image {
    aspect-ratio: 4 / 3;
  }

  .f-about-image img {
    object-position: 72% center;
  }

  .f-closing {
    padding: 82px 0 88px;
  }

  .f-closing h2 {
    font-size: 30px;
    line-height: 1.65;
  }
}

@media (min-width: 601px) and (max-width: 800px) {
  .f-hero-breath img {
    object-position: 60% center;
  }
}

@media (max-width: 600px) and (max-height: 650px) {
  .f-hero-breath img {
    object-position: center 45%;
  }
}

@media (max-width: 480px) {
  .f-hero h1 {
    font-size: 47px;
  }

  .f-hero-statement {
    font-size: 27px;
  }

  .f-hero-description {
    max-width: 290px;
  }

  .f-work-intro h2,
  .f-process-heading h2,
  .f-memory h2,
  .f-about h2 {
    font-size: 32px;
  }

  .f-work-panel {
    --f-panel-floor: 772px;
  }

  .f-work-lead h3 {
    font-size: 26px;
  }

  .f-work-bottom {
    display: block;
  }

  .f-people-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .f-roles,
  .f-roles tbody {
    display: block;
  }

  .f-roles thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: clip;
    clip-path: inset(50%);
  }

  .f-roles tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 10px 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--f-line);
  }

  .f-roles td,
  .f-roles td:first-child,
  .f-roles td:nth-child(2),
  .f-roles td:last-child {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .f-roles td:last-child {
    grid-column: 1 / -1;
  }

  .f-roles td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--f-muted);
    font-size: 11px;
  }

  .f-closing h2 {
    font-size: 28px;
  }
}

@media (max-width: 360px) {
  .f-hero h1 {
    font-size: 41px;
  }

  .f-hero-statement {
    font-size: 25px;
  }

  .f-hero-description {
    max-width: 260px;
  }

  .f-work-panel {
    --f-panel-floor: 850px;
  }

  .f-work-intro h2,
  .f-process-heading h2,
  .f-memory h2,
  .f-about h2 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .f-hero-depth,
  .f-hero-pointer,
  .f-hero-breath,
  .f-process-photo img,
  .f-process-rail span {
    animation: none !important;
    transform: none !important;
  }
}

/* 2026-10-21 · the two-line hero lead keeps each sentence on its own line */
.f-hero-description { max-width: 490px; }
