/* Site footer and Contact page: one block, "Black split" (chosen 12 Nov from design/contact-footer, option B,
   after Front Yard). Short version closes every page; on contact.html the same block fills the screen with a
   "Contact" title and topic buttons that set the email subject. Plain wording for recruiters.
   Contrast on ink #161413: cream 16.9:1, stone 11.0:1, light red 5.7:1. The ghost wordmark is decorative
   (aria-hidden) and deliberately faint. */
.ft {
  --ft-ink: #161413; --ft-card: #F7F3EB; --ft-stone: #C9C2B6; --ft-red: #AE2D23; --ft-red-lt: #E0705F; --ft-ghost: #5C2019;
  --ft-sign: "Anton", Impact, sans-serif; --ft-body: "Hanken Grotesk", system-ui, sans-serif; --ft-mono: "DM Mono", ui-monospace, monospace;
  --ft-ease: cubic-bezier(0.23, 1, 0.32, 1);
  container-type: inline-size; position: relative; overflow: hidden; margin-top: 72px;
  background: var(--ft-ink); color: var(--ft-card); font-family: var(--ft-body); font-size: 16px; line-height: 1.5;
}
.ft *, .ft *::before, .ft *::after { box-sizing: border-box; }
.ft :focus-visible { outline: 3px solid var(--ft-red-lt); outline-offset: 3px; }
.ft__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 56px; max-width: 1360px; margin: 0 auto; padding: 64px clamp(16px, 3vw, 40px) 40px; }
.ft__k { margin: 0; font: 400 12.5px var(--ft-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ft-red-lt); }
.ft__h { margin: 0; font: 400 clamp(40px, 5.2vw, 64px)/.95 var(--ft-sign); text-transform: uppercase; color: var(--ft-card); }
.ft__p { margin: 14px 0 0; max-width: 42ch; font-size: 18px; color: var(--ft-stone); }
.ft__q { margin: 30px 0 10px; font: 400 12.5px var(--ft-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ft-stone); }
.ft__topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ft__tp { min-height: 44px; padding: 0 14px; border: 1.5px solid rgba(247, 243, 235, .55); background: transparent; color: var(--ft-card); font: 400 13px var(--ft-mono); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 140ms var(--ft-ease); }
.ft__tp:hover { border-color: var(--ft-card); }
.ft__tp[aria-pressed="true"] { background: var(--ft-card); border-color: var(--ft-card); color: var(--ft-ink); }
.ft__tp:active { transform: scale(.97); }
.ft__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.ft__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; background: var(--ft-card); color: var(--ft-ink); font: 500 14px var(--ft-mono); letter-spacing: .04em; text-decoration: none; transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ft-ease); }
.ft__btn i { font-style: normal; display: inline-block; transition: transform 200ms var(--ft-ease); }
.ft__btn:hover { background: var(--ft-red); color: var(--ft-card); }
.ft__btn:active { transform: scale(.97); }
.ft__copy { min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--ft-card); font: 400 12.5px var(--ft-mono); letter-spacing: .06em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ft__copy[data-done] { text-decoration: none; color: var(--ft-red-lt); }
.ft__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; align-content: start; }
.ft__col h2, .ft__col h3 { margin: 0 0 10px; font: 400 12px var(--ft-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ft-stone); }
.ft__col ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 19px; line-height: 1.35; }
.ft__col a { color: var(--ft-card); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 220ms var(--ft-ease), opacity 300ms var(--ft-ease); overflow-wrap: anywhere; }
.ft__status { display: inline-flex; align-items: center; gap: 8px; }
.ft__status i { width: 9px; height: 9px; border-radius: 50%; background: #2E7D4F; box-shadow: 0 0 0 3px rgba(46, 125, 79, .35); }
.ft time { font-variant-numeric: tabular-nums; }
.ft__base { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; max-width: 1360px; margin: 0 auto; padding: 16px clamp(16px, 3vw, 40px); font: 400 12.5px var(--ft-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ft-stone); }
.ft__base button { padding: 0; border: 0; background: none; color: var(--ft-card); font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* decoration, not text: the name is drawn by ::before so it is never read or contrast-checked */
.ft__ghost::before { content: attr(data-text); }
.ft__ghost { margin: 0; padding: 0 clamp(10px, 2vw, 22px); font: 400 18.5cqw/.74 var(--ft-sign); text-transform: uppercase; white-space: nowrap; color: var(--ft-ghost); user-select: none; transform: translateY(14%); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .ft__btn:hover i { transform: translateX(4px); }
  .ft__col a:hover { background-size: 100% 1.5px; }
  .ft__cols:has(a:hover) a:not(:hover) { opacity: .45; }
}

/* Contact page: the same block fills the screen under the header bar */
.ft--page { margin-top: 0; min-height: calc(100vh - 72px); min-height: calc(100dvh - 72px); display: flex; flex-direction: column; }
.ft--page .ft__in { padding-top: clamp(48px, 9vh, 96px); width: 100%; }
.ft--page .ft__h { margin-top: 10px; font-size: clamp(48px, 6.6vw, 84px); }
.ft--page .ft__base { margin-top: auto; width: 100%; }

@container (max-width: 760px) {
  .ft__in { grid-template-columns: 1fr; gap: 34px; padding-top: 44px; padding-bottom: 28px; }
  .ft__col ul { font-size: 17px; }
  .ft__cols { gap: 24px 16px; }
  .ft__col:nth-child(3) { grid-column: 1 / -1; }
  .ft__base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .ft *, .ft *::before, .ft *::after { transition-duration: 1ms !important; } }
@media print { .ft { display: none; } }
/* Map page: the footer hides while the map is in explore mode, like the old one */
.is-explore .ft { display: none; }

/* phones: Explore and Status side by side, then the contact column full width so the address does not break mid-word */
@media (max-width: 560px) { .ft__cols .ft__col:nth-child(2) { grid-column: 1 / -1; order: 3; } }
/* line the footer up with the header: text starts where the name does (past the menu square) and ends 20px from the edge */
@media (min-width: 761px) {
  .ft__in, .ft__base { max-width: none; padding-left: 92px; padding-right: 20px; }
}
