/* Frontenac Search home */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.fx-hero { padding: 36px 0 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--ink); }
.fx-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 78% 40%, #e9d39a55, transparent 70%); }
.fx-hero-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "copy plate" "search plate"; column-gap: 48px; align-items: end; }
.fx-copy { grid-area: copy; padding-top: 24px; }
.fx-copy h1 { font-size: clamp(44px, 6.3vw, 92px); line-height: .96; letter-spacing: -0.025em; }
.fx-copy h1 em { font-style: normal; color: var(--gold-text); position: relative; white-space: nowrap; }
.fx-copy h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -.04em; height: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C50 2 120 2 198 6 M30 10 C80 6 140 7 180 9' stroke='%23b08a3e' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.fx-copy .lead { margin-top: 28px; font-size: 19px; color: var(--muted); max-width: 33em; }
.fx-plate { grid-area: plate; align-self: center; position: relative; perspective: 1200px; margin: 0 -36px 0 -10px; }
#fx-art { width: 100%; height: auto; display: block; max-height: 720px; transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .8s cubic-bezier(.2,.7,.2,1); overflow: visible; }
#fx-art .rays { transform-origin: 300px 285px; animation: fx-spin 160s linear infinite; }
#fx-art .star { transform-box: fill-box; transform-origin: center; animation: fx-twinkle 4s ease-in-out infinite; }
#fx-art .gleam { animation: fx-gleam 9s ease-in-out infinite; mix-blend-mode: soft-light; }
#fx-art .eclip-ticks { animation: fx-dash 30s linear infinite; }
.paused #fx-art .rays, .paused #fx-art .star, .paused #fx-art .gleam, .paused #fx-art .eclip-ticks, .paused #fx-rose { animation-play-state: paused; }
@keyframes fx-spin { to { transform: rotate(360deg); } }
@keyframes fx-twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes fx-gleam { 0% { transform: translateX(-640px); } 55%, 100% { transform: translateX(640px); } }
@keyframes fx-dash { to { stroke-dashoffset: -400; } }

/* Search: a ledger line */
.fx-search { grid-area: search; margin: 44px 0 48px; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 0; background: #f8f3e7; border: 1px solid var(--ink); position: relative; box-shadow: 10px 10px 0 -1px var(--bg), 10px 10px 0 0 var(--ink); }
.fx-search::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--line); pointer-events: none; }
.fx-f { padding: 16px 18px 10px; border-right: 1px solid var(--line-2); min-width: 0; position: relative; }
.fx-f label { display: block; font: 500 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.fx-f input, .fx-f select { border: 0; background-color: transparent; height: 36px; padding: 0; font: 400 19px var(--serif); color: var(--ink); box-shadow: none !important; }
.fx-f select { padding-right: 22px; background-position: right 0 center; font-size: 17px; }
.fx-f input::placeholder { color: #9a8e78; }
.fx-f:focus-within { background: #fffcf4; }
.fx-search .btn { grid-column: 1 / -1; margin: 0; height: 56px; box-shadow: none; border: 0; border-top: 1px solid var(--ink); justify-content: space-between; padding: 0 22px; font-size: 12.5px; position: relative; z-index: 1; }
.fx-search .btn .ar { font-size: 22px; }

/* Figures */
.fx-figs { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.fx-figs > div { padding: 26px 18px 30px; border-left: 1px solid var(--line-2); }
.fx-figs > div:first-child { border-left: 0; padding-left: 0; }
.fx-figs dt { font: 500 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fx-figs dd { margin: 10px 0 0; font: 400 clamp(32px, 3.6vw, 50px)/1 var(--serif); color: var(--ink); letter-spacing: -0.01em; }
.fx-figs > div:first-child dd { color: var(--gold-text); }

/* Employer roll */
.fx-roll { display: flex; align-items: center; background: var(--ink); color: #e6dcc6; height: 64px; overflow: hidden; position: relative; z-index: 1; }
.fx-roll-label { flex: none; height: 100%; display: flex; align-items: center; padding: 0 26px; background: var(--gold); color: var(--ink); font: 500 10.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; max-width: 210px; line-height: 1.4; }
.fx-roll-track { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.fx-roll-move { display: flex; width: max-content; animation: fx-roll 70s linear infinite; }
.fx-roll:hover .fx-roll-move { animation-play-state: paused; }
.fx-roll-move span { font: 400 22px var(--serif); white-space: nowrap; padding: 0 22px; display: inline-flex; align-items: center; gap: 22px; }
.fx-roll-move span::after { content: "\2766"; color: var(--gold); font-size: 15px; }
.fx-roll-move small { font: 400 12px var(--mono); color: var(--gold-dk); margin-left: -12px; }
@keyframes fx-roll { to { transform: translateX(-50%); } }

/* Section heads */
.fx-sechead { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; margin-bottom: 48px; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.fx-sechead h2 { font-size: clamp(36px, 5vw, 64px); line-height: .98; letter-spacing: -0.02em; }
.fx-sechead > p { color: var(--muted); font-size: 17px; }
.dark .fx-sechead { border-color: #3a3122; }

/* Ledger */
.fx-ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.fx-row { display: grid; grid-template-columns: 56px 1fr 200px 120px 110px; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-2); position: relative; transition: background .25s, padding .25s; }
.fx-row:hover { background: linear-gradient(90deg, #e9d39a44, transparent 80%); padding-left: 10px; }
.fx-row .no { font: 400 13px var(--mono); color: var(--gold-text); }
.fx-row h3 { font: 400 24px/1.15 var(--serif); }
.fx-row h3 a { text-decoration: none; }
.fx-row h3 a::after { content: ""; position: absolute; inset: 0; }
.fx-row .co { font-size: 15px; color: var(--text); margin-top: 4px; }
.fx-row .co i { font-style: normal; color: var(--gold); margin: 0 6px; }
.fx-row .ind, .fx-row .when { font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fx-row .when b { display: block; font-weight: 500; color: var(--gold-text); }
.fx-row .go { justify-self: end; font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; white-space: nowrap; }
.fx-row:hover .go { color: var(--gold-text); }
.fx-ledger .sk { height: 88px; list-style: none; }
.fx-more { margin-top: 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Industries */
.fx-ind { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid var(--ink); }
.fx-ind .sk { height: 60px; }
.fx-i { display: grid; grid-template-columns: 34px 1fr auto 18px; gap: 14px; align-items: baseline; padding: 18px 0 20px; border-bottom: 1px solid var(--line-2); text-decoration: none; position: relative; }
.fx-i .r { font: 400 12px var(--mono); color: var(--gold-text); }
.fx-i .nm { font: 400 23px/1.15 var(--serif); color: var(--ink); }
.fx-i .ct { font: 400 23px var(--serif); color: var(--ink); }
.fx-i .ar { color: var(--gold-text); font-family: var(--serif); transition: transform .25s; }
.fx-i .fx-bar { position: absolute; left: 48px; right: 0; bottom: -1px; height: 2px; }
.fx-i .fx-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); width: 0; transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.fx-ind.in .fx-i .fx-bar i { width: var(--w); }
.fx-i:hover .nm { color: var(--gold-text); }
.fx-i:hover .ar { transform: translateX(4px); }

/* Places */
.fx-atlas { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; }
.fx-col h3 { font-size: 34px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.fx-col h3 span { color: var(--gold-text); }
.fx-col h3 small { margin-left: auto; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fx-col h3 small b { color: var(--ink); font-weight: 500; }
.fx-index { list-style: none; margin: 0 0 22px; padding: 0; columns: 2; column-gap: 40px; }
.fx-col:last-child .fx-index { columns: 1; }
.fx-index li { break-inside: avoid; }
.fx-index a { display: flex; align-items: baseline; gap: 8px; padding: 11px 0; text-decoration: none; color: var(--ink); font-size: 16.5px; border-bottom: 1px dotted var(--line-2); }
.fx-index a .lead-dots { flex: 1; border-bottom: 1px dotted var(--faint); transform: translateY(-4px); min-width: 12px; }
.fx-index a b { font: 400 13px var(--mono); color: var(--gold-text); font-weight: 400; }
.fx-index a:hover { color: var(--gold-text); }

/* Folios */
.fx-two { position: relative; overflow: hidden; }
.fx-folios { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fx-folio { background: #1d1912; border: 1px solid #3a3122; padding: 48px 44px 44px; position: relative; --ring: #1d1912; }
.fx-folio::before { content: ""; position: absolute; inset: 7px; border: 1px solid #b08a3e44; pointer-events: none; }
.fx-folio-alt { background: #f3ecdd; color: var(--text); border-color: #f3ecdd; --ring: #f3ecdd; }
.fx-folio-alt::before { border-color: var(--line-2); }
.fx-folio-no { font: 500 11px var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dk); }
.fx-folio-alt .fx-folio-no { color: var(--gold-text); }
.fx-folio h3 { font-size: clamp(40px, 4.6vw, 60px); margin-top: 18px; line-height: 1; }
.fx-folio-alt h3 { color: var(--ink) !important; }
.fx-folio > p { margin-top: 18px; color: #cfc3aa; font-size: 17px; }
.fx-folio-alt > p { color: var(--muted); }
.fx-folio .checks li { border-color: #3a3122; color: #d7ccb4; }
.fx-folio .checks strong { color: #f3ecdd; }
.fx-folio-alt .checks li { border-color: var(--line-2); color: var(--text); }
.fx-folio-alt .checks strong { color: var(--ink); }
.fx-acts { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.fx-folio .link { color: var(--gold-dk); }
.fx-folio-alt .link { color: var(--gold-text); }

/* Engagement plates */
.fx-plates { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.fx-card { display: flex; flex-direction: column; padding: 30px 26px 28px; text-decoration: none; color: var(--text); border-left: 1px solid var(--line-2); position: relative; background: #f7f2e6; transition: background .35s; }
.fx-card:first-child { border-left: 0; }
.fx-card svg { width: 100%; height: auto; max-height: 120px; margin-bottom: 22px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fx-card:hover { background: #efe3c4; }
.fx-card:hover svg { transform: translateY(-4px) scale(1.03); }
.fx-card-no { font: 400 18px var(--serif); color: var(--gold-text); }
.fx-card h3 { font-size: 27px; margin-top: 4px; line-height: 1.1; }
.fx-card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; flex: 1; }
.fx-card-go { margin-top: 20px; font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }

/* FAQ */
.fx-faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.fx-faq-in h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1; }
.fx-faq-note { margin-top: 20px; color: var(--muted); max-width: 22em; }

/* Closing */
.fx-close { padding-top: 24px; }
.fx-close-in { background: var(--ink); color: #cfc3aa; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 32px; padding: 56px 64px; position: relative; overflow: hidden; --ring: var(--ink); outline: 1px solid var(--ink); outline-offset: 6px; }
.fx-close-in::before { content: ""; position: absolute; inset: 9px; border: 1px solid #b08a3e55; pointer-events: none; }
.fx-close-art svg { width: 100%; max-width: 400px; display: block; margin: 0 auto; }
#fx-rose .turn { transform-origin: 200px 200px; animation: fx-spin 90s linear infinite; }
#fx-rose .turn-r { transform-origin: 200px 200px; animation: fx-spin 140s linear infinite reverse; }
.fx-close-copy { position: relative; }
.fx-close-copy h2 { color: #f3ecdd; font-size: clamp(36px, 4.6vw, 60px); line-height: 1; }
.fx-close-copy p { margin-top: 18px; font-size: 17.5px; color: #cfc3aa; max-width: 32em; }
.fx-close .btn-ghost { color: #f3ecdd; border-color: #f3ecdd66; }
.fx-close .btn-ghost:hover { background: #f3ecdd; color: var(--ink); }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  .js .rv.in { opacity: 1; transform: none; }
  .fx-copy h1, .fx-copy .eyebrow, .fx-copy .lead, .fx-search { animation: fx-rise 1s cubic-bezier(.2,.7,.2,1) both; }
  .fx-copy h1 { animation-delay: .08s; } .fx-copy .lead { animation-delay: .18s; } .fx-search { animation-delay: .28s; }
  .fx-plate { animation: fx-fade 1.6s .2s ease both; }
}
@keyframes fx-fade { from { opacity: 0; transform: scale(.97); } }
@media (prefers-reduced-motion: reduce) {
  #fx-art .rays, #fx-art .star, #fx-art .gleam, #fx-art .eclip-ticks, #fx-rose .turn, #fx-rose .turn-r, .fx-roll-move { animation: none; }
  .fx-roll-track { overflow-x: auto; }
}

/* Responsive */
@media (max-width: 1100px) {
  .fx-row { grid-template-columns: 44px 1fr 150px 100px; }
  .fx-row .ind { display: none; }
  .fx-plates { grid-template-columns: 1fr 1fr; }
  .fx-card:nth-child(3) { border-left: 0; }
  .fx-card:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 980px) {
  .fx-plate { margin: 0; }
  .fx-hero-in { grid-template-columns: 1fr; grid-template-areas: "copy" "plate" "search"; }
  .fx-plate { max-width: 520px; margin: 24px auto 0; width: 100%; }
  .fx-search { margin-top: 12px; }
  .fx-figs { grid-template-columns: repeat(3, 1fr); }
  .fx-figs > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .fx-figs > div:nth-child(n+4) { border-top: 1px solid var(--line-2); }
  .fx-sechead { grid-template-columns: 1fr; gap: 16px; }
  .fx-ind { grid-template-columns: 1fr; }
  .fx-atlas { grid-template-columns: 1fr; gap: 56px; }
  .fx-folios { grid-template-columns: 1fr; }
  .fx-faq-in { grid-template-columns: 1fr; gap: 32px; }
  .fx-close-in { grid-template-columns: 1fr; padding: 48px 40px; }
  .fx-close-art svg { max-width: 300px; }
}
@media (max-width: 640px) {
  .fx-hero { padding-top: 40px; }
  .fx-copy { padding-top: 0; }
  .fx-copy h1 { font-size: 46px; line-height: .98; }
  .fx-copy h1 em { white-space: normal; }
  .fx-copy h1 em::after { display: none; }
  .fx-copy .lead { font-size: 17px; margin-top: 20px; }
  .fx-plate { max-width: 360px; margin: 8px auto -8px; }
  .fx-search { grid-template-columns: 1fr 1fr; margin: 8px 0 40px; box-shadow: 6px 6px 0 -1px var(--bg), 6px 6px 0 0 var(--ink); }
  .fx-f.fx-q { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .fx-f:nth-child(3) { border-right: 0; }
  .fx-f { padding: 14px 14px 8px; }
  .fx-f select { font-size: 15.5px; }
  .fx-figs { grid-template-columns: 1fr 1fr; }
  .fx-figs > div { padding: 20px 14px 22px; border-left: 1px solid var(--line-2) !important; border-top: 1px solid var(--line-2); }
  .fx-figs > div:first-child { grid-column: 1 / -1; padding-left: 0; border-left: 0 !important; border-top: 0; display: flex; justify-content: space-between; align-items: baseline; }
  .fx-figs > div:nth-child(2n) { border-left: 0 !important; padding-left: 0; }
  .fx-figs > div:first-child dd { font-size: 52px; margin: 0; }
  .fx-figs dd { font-size: 32px; }
  .fx-roll { height: 56px; }
  .fx-roll-label { padding: 0 14px; font-size: 9.5px; max-width: 120px; }
  .fx-roll-move span { font-size: 18px; padding: 0 14px; gap: 14px; }
  .fx-sechead { margin-bottom: 28px; padding-bottom: 20px; }
  .fx-sechead h2 { font-size: 40px; }
  .fx-sechead > p { font-size: 16px; }
  .fx-row { grid-template-columns: 30px 1fr; gap: 4px 12px; padding: 18px 0; align-items: start; }
  .fx-row .no { padding-top: 5px; }
  .fx-row h3 { font-size: 21px; }
  .fx-row .when, .fx-row .go { grid-column: 2; }
  .fx-row .when { display: flex; gap: 10px; margin-top: 6px; }
  .fx-row .when b { display: inline; }
  .fx-row .go { justify-self: start; margin-top: 8px; }
  .fx-row:hover { padding-left: 0; }
  .fx-more { flex-direction: column; align-items: stretch; gap: 18px; text-align: center; }
  .fx-i { grid-template-columns: 26px 1fr auto 14px; gap: 10px; padding: 15px 0 16px; }
  .fx-i .nm, .fx-i .ct { font-size: 19px; }
  .fx-i .fx-bar { left: 36px; }
  .fx-col h3 { font-size: 28px; }
  .fx-col h3 small { margin-left: 0; width: 100%; }
  .fx-index { columns: 1; }
  .fx-folio { padding: 36px 24px 30px; }
  .fx-folio .btn { width: calc(100% - 8px); }
  .fx-acts { gap: 16px; }
  .fx-plates { grid-template-columns: 1fr; }
  .fx-card { border-left: 0 !important; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; padding: 24px 20px; }
  .fx-card:first-child { border-top: 0; }
  .fx-card svg { grid-row: 1 / span 4; margin: 4px 0 0; }
  .fx-card h3 { font-size: 23px; }
  .fx-faq-in h2 { font-size: 40px; }
  .fx-close-in { padding: 40px 22px 36px; outline-offset: 4px; }
  .fx-close-art svg { max-width: 220px; }
  .fx-close-copy h2 { font-size: 36px; }
  .fx-close-copy .btn { width: calc(100% - 8px); }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .fx-search { grid-template-columns: 1fr 1fr; }
  .fx-f.fx-q { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .fx-f:nth-child(3) { border-right: 0; }
}
