/*
 *  Web For Actors, 2026 design system.
 *
 *  This is the whole stylesheet for a converted page. Pages rendered in the
 *  new shell (includes/wfa_head.php) load this and nothing else: no
 *  bootstrap, no global.css, no per-page sheet. That is deliberate. The
 *  legacy sheets carry fifteen years of overrides keyed to markup this
 *  design does not produce, and mixing the two was how the old redesign
 *  attempts died.
 *
 *  index.php keeps the list of pages that render in this shell. A page not
 *  on that list still gets the old chrome and the old sheets, unchanged, so
 *  the conversion runs page by page rather than all at once.
 */

/* ---------------------------------------------------------------- tokens */

:root {
    --wfa-bg:          #F6F3EC;
    --wfa-bg-band:     #E3DDD1;
    --wfa-bg-card:     #ffffff;
    --wfa-bg-card-alt: #FCFBF7;
    --wfa-bg-quiet:    #F1EDE3;
    --wfa-bg-quiet-2:  #E6E0D2;
    --wfa-bg-chip:     #EFE9DC;
    --wfa-bg-accent-1: #FCEBD6;

    --wfa-ink:         #211E1A;
    --wfa-ink-strong:  #1B1815;
    --wfa-ink-body:    #4C463D;
    --wfa-ink-mute:    #6E675C;
    --wfa-ink-mute-2:  #7E7666;
    --wfa-ink-mute-3:  #8C8474;

    --wfa-accent:      #f58e1f;
    --wfa-accent-dark: #DB7A10;
    --wfa-link:        #B4600C;
    --wfa-link-dark:   #8E4A06;
    --wfa-accent-deep: #A85708;

    --wfa-line:        rgba(70,55,35,.14);
    --wfa-line-soft:   rgba(70,55,35,.08);

    --wfa-shadow-card: 0 1px 2px rgba(70,55,35,.05), 0 18px 40px -20px rgba(70,55,35,.30);
    --wfa-shadow-lift: 0 2px 3px rgba(70,55,35,.06), 0 26px 56px -18px rgba(70,55,35,.42);
    --wfa-shadow-pill: 0 8px 24px rgba(70,55,35,.10);

    --wfa-radius-card: 22px;
    --wfa-radius-soft: 18px;
    --wfa-radius-band: 32px;

    --wfa-max:         1240px;
    --wfa-gutter:      clamp(18px, 3vw, 40px);
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--wfa-bg);
    color: var(--wfa-ink);
    font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; }
img { border: 0; }

a { color: var(--wfa-link); text-underline-offset: 3px; }
a:hover { color: var(--wfa-link-dark); }

:focus-visible { outline: 2px solid var(--wfa-accent); outline-offset: 3px; }
::selection { background: rgba(245,142,31,.28); }

hr { border: 0; border-top: 1px solid var(--wfa-line); margin: 32px 0; }

/*  Screen-reader-only. Used for labels that a sighted visitor reads from
 *  the placeholder or the surrounding copy. */
.wfa-sr {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- buttons */

.wfa-btn-primary,
.wfa-btn-quiet,
.wfa-btn-ghost {
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    font-family: inherit;
    font-size: 15px;
    padding: 15px 28px;
    cursor: pointer;
    line-height: 1.2;
    transition: background .15s ease, color .15s ease;
}

.wfa-btn-primary { background: var(--wfa-accent); color: #fff; box-shadow: 0 10px 22px rgba(245,142,31,.34); }
.wfa-btn-primary:hover { background: var(--wfa-accent-dark); color: #fff; }

.wfa-btn-quiet { background: var(--wfa-bg-quiet); color: #2C2822; }
.wfa-btn-quiet:hover { background: var(--wfa-bg-quiet-2); color: #2C2822; }

.wfa-btn-ghost { background: transparent; color: var(--wfa-link); box-shadow: inset 0 0 0 1px var(--wfa-line); }
.wfa-btn-ghost:hover { background: var(--wfa-bg-quiet); color: var(--wfa-link-dark); }

.wfa-btn-sm { font-size: 14px; padding: 12px 22px; }
.wfa-btn-lg { font-size: 15.5px; padding: 17px 30px; }

/*  On the orange band, where the primary button inverts. */
.wfa-on-accent .wfa-btn-primary { background: #fff; color: var(--wfa-accent-deep); box-shadow: none; }
.wfa-on-accent .wfa-btn-primary:hover { background: #FFF6EA; color: var(--wfa-accent-deep); }
.wfa-on-accent .wfa-btn-quiet { background: rgba(255,255,255,.18); color: #fff; }
.wfa-on-accent .wfa-btn-quiet:hover { background: rgba(255,255,255,.28); color: #fff; }

/* -------------------------------------------------------------- sections */

.wfa-section {
    max-width: var(--wfa-max);
    margin: 0 auto;
    padding: clamp(56px, 7vw, 96px) var(--wfa-gutter) 0;
}
.wfa-section-tight { padding-top: clamp(34px, 4vw, 52px); }
.wfa-section-end   { padding-bottom: clamp(56px, 7vw, 96px); }

.wfa-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--wfa-link);
    margin-bottom: 14px;
}

.wfa-h1 {
    font-weight: 800;
    font-size: clamp(34px, 5.2vw, 56px);
    line-height: 1.05;
    letter-spacing: -.03em;
    margin: 0;
    color: var(--wfa-ink-strong);
}
.wfa-h2 {
    font-weight: 800;
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 0;
}
.wfa-h3 {
    font-weight: 800;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0;
}

.wfa-lead {
    font-size: clamp(15.5px, 1.4vw, 18px);
    line-height: 1.6;
    color: var(--wfa-ink-body);
    margin: 0;
}

/*  Heading on the left, a paragraph carrying it on the right. The page's
 *  most-used section header, and it collapses to one column on its own. */
.wfa-head-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(28px, 4vw, 56px);
    align-items: end;
    margin-bottom: 44px;
}

/*  Heading on the left, a single link on the right. */
.wfa-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.wfa-head-row > div:first-child { max-width: 22em; }

.wfa-more {
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    color: var(--wfa-link);
    white-space: nowrap;
}

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

.wfa-grid { display: grid; gap: 20px; }
.wfa-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.wfa-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.wfa-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.wfa-card {
    background: var(--wfa-bg-card);
    border-radius: 20px;
    padding: 28px 26px;
}
.wfa-card-lift { border-radius: var(--wfa-radius-card); padding: 32px 28px; box-shadow: var(--wfa-shadow-card); }

.wfa-card h3, .wfa-card h4 { margin: 0 0 10px; letter-spacing: -.02em; font-weight: 800; }
.wfa-card h3 { font-size: 22px; }
.wfa-card h4 { font-size: 19px; }
.wfa-card p  { margin: 0; color: var(--wfa-ink-body); }

/*  Equal-height cards with the button pinned to the bottom edge. */
.wfa-stack { display: flex; flex-direction: column; }
.wfa-stack p { flex: 1 1 auto; }
.wfa-stack > a:last-child, .wfa-stack > .wfa-stack-foot { margin-top: auto; align-self: flex-start; }

.wfa-band {
    background: var(--wfa-bg-band);
    border-radius: var(--wfa-radius-band);
    padding: clamp(32px, 4vw, 52px);
}
.wfa-band-accent {
    background: var(--wfa-accent);
    color: #fff;
    border-radius: var(--wfa-radius-band);
    padding: clamp(40px, 6vw, 76px) clamp(28px, 4vw, 56px);
}
.wfa-band-accent a { color: #fff; }

.wfa-chip {
    display: inline-block;
    background: var(--wfa-bg-chip);
    color: var(--wfa-ink-mute);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}
.wfa-chip-accent { background: var(--wfa-accent); color: #fff; }

/*  A picture card: image on top, kicker, title, blurb. The blog, tips,
 *  sins and design rows are all this. */
.wfa-tile { display: block; text-decoration: none; color: inherit; }
.wfa-tile-shot {
    position: relative;
    border-radius: var(--wfa-radius-soft);
    overflow: hidden;
    background: var(--wfa-bg-band);
    box-shadow: 0 1px 2px rgba(70,55,35,.05), 0 16px 36px -20px rgba(70,55,35,.35);
}
.wfa-tile-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wfa-tile-16x10 .wfa-tile-shot { aspect-ratio: 16/10; }
.wfa-tile-1x1   .wfa-tile-shot { aspect-ratio: 1/1; }
.wfa-tile-kick {
    font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--wfa-link); margin-top: 14px;
}
.wfa-tile-kick span { color: var(--wfa-ink-mute-3); }
.wfa-tile-title { font-weight: 800; font-size: 17px; margin-top: 6px; letter-spacing: -.015em; line-height: 1.25; color: var(--wfa-ink); }
.wfa-tile-blurb { margin: 7px 0 0; font-size: 14px; color: var(--wfa-ink-mute); }
.wfa-tile:hover .wfa-tile-title { color: var(--wfa-link); }

.wfa-tile-flag {
    position: absolute; top: 12px; left: 12px;
    background: rgba(33,30,26,.82); color: #fff;
    font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 999px;
}

/* ------------------------------------------------------------- page hero */

/*  Every inner page opens with this: eyebrow, title, one paragraph, sitting
 *  on the band tone with the corners rounded off at the bottom the same way
 *  the homepage hero is. */
.wfa-hero {
    background: var(--wfa-bg-band);
    border-radius: 0 0 40px 40px;
    padding-bottom: clamp(40px, 5vw, 64px);
}
.wfa-hero-inner {
    max-width: var(--wfa-max);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 44px) var(--wfa-gutter) 0;
}
.wfa-hero-inner > p { max-width: 34em; }

.wfa-crumbs {
    font-size: 12.5px;
    color: var(--wfa-ink-mute-2);
    margin-bottom: 16px;
}
.wfa-crumbs a { color: var(--wfa-ink-mute); text-decoration: none; }
.wfa-crumbs a:hover { color: var(--wfa-link); }
.wfa-crumbs span { padding: 0 7px; opacity: .6; }

/* ----------------------------------------------------------------- prose */

/*  Body copy that comes out of the database or the blog: terms, privacy,
 *  a post, a tip. One place to style it rather than per page. */
.wfa-prose { font-size: 16.5px; line-height: 1.7; color: var(--wfa-ink-body); max-width: 44em; }
.wfa-prose > *:first-child { margin-top: 0; }
.wfa-prose > *:last-child  { margin-bottom: 0; }
.wfa-prose h2 { font-size: clamp(23px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--wfa-ink); margin: 40px 0 14px; }
.wfa-prose h3 { font-size: 20px; font-weight: 800; letter-spacing: -.015em; color: var(--wfa-ink); margin: 32px 0 12px; }
.wfa-prose h4 { font-size: 17px; font-weight: 800; color: var(--wfa-ink); margin: 26px 0 10px; }
.wfa-prose p  { margin: 0 0 18px; }
.wfa-prose ul, .wfa-prose ol { margin: 0 0 18px; padding-left: 22px; }
.wfa-prose li { margin-bottom: 8px; }
.wfa-prose img { border-radius: var(--wfa-radius-soft); display: block; margin: 26px 0; height: auto; }
.wfa-prose blockquote {
    margin: 26px 0; padding: 20px 24px;
    background: var(--wfa-bg-card); border-radius: var(--wfa-radius-soft);
    border-left: 3px solid var(--wfa-accent);
    font-size: 17px;
}
.wfa-prose blockquote p:last-child { margin-bottom: 0; }
.wfa-prose code {
    background: var(--wfa-bg-quiet); border-radius: 5px; padding: 2px 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
}
.wfa-prose pre {
    background: #26221D; color: #F1EDE3; border-radius: var(--wfa-radius-soft);
    padding: 20px 22px; overflow-x: auto; font-size: 14px; line-height: 1.55;
}
.wfa-prose pre code { background: none; padding: 0; color: inherit; }
.wfa-prose table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.wfa-prose th, .wfa-prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--wfa-line); }
.wfa-prose th { font-weight: 700; color: var(--wfa-ink); }

/*  A wide table or code block scrolls inside itself. The page body must
 *  never scroll sideways. */
.wfa-scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ----------------------------------------------------------------- forms */

.wfa-field { display: block; margin-bottom: 18px; }
.wfa-label { display: block; font-size: 13px; font-weight: 700; color: var(--wfa-ink); margin-bottom: 7px; }

.wfa-input, .wfa-textarea, .wfa-select {
    width: 100%;
    font-family: inherit;
    font-size: 16px;              /* 16 so iOS does not zoom the page on focus */
    line-height: 1.5;
    color: var(--wfa-ink);
    background: var(--wfa-bg-card);
    border: 1px solid var(--wfa-line);
    border-radius: 14px;
    padding: 13px 16px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.wfa-textarea { min-height: 150px; resize: vertical; }
.wfa-select { appearance: none; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236E675C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
}
.wfa-input:focus, .wfa-textarea:focus, .wfa-select:focus {
    outline: 0;
    border-color: var(--wfa-accent);
    box-shadow: 0 0 0 3px rgba(245,142,31,.18);
}
.wfa-input::placeholder, .wfa-textarea::placeholder { color: var(--wfa-ink-mute-3); }

.wfa-hint { font-size: 13px; color: var(--wfa-ink-mute); margin-top: 7px; }
.wfa-error { font-size: 13px; color: #B03A20; margin-top: 7px; font-weight: 600; }
.wfa-input-bad { border-color: #B03A20; }

.wfa-note {
    border-radius: var(--wfa-radius-soft);
    padding: 16px 20px;
    font-size: 14.5px;
    background: var(--wfa-bg-accent-1);
    color: #7A3D02;
}
.wfa-note-bad { background: #F8E2DC; color: #8C2D16; }
.wfa-note-ok  { background: #DFEEDF; color: #24592B; }

/* ------------------------------------------------------------------- nav */

.wfa-topbar {
    max-width: var(--wfa-max);
    margin: 0 auto;
    padding: 22px var(--wfa-gutter);
}
.wfa-topbar-inner {
    background: rgba(255,255,255,.66);
    border-radius: 999px;
    padding: 11px 13px 11px 22px;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 34px);
    box-shadow: var(--wfa-shadow-pill);
}
.wfa-brand { display: block; line-height: 0; text-decoration: none; flex: none; }
.wfa-brand img { height: 26px; width: auto; display: block; }

.wfa-nav { display: flex; gap: clamp(14px, 2vw, 28px); }
.wfa-nav a { color: #3D382F; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.wfa-nav a:hover, .wfa-nav a.is-here { color: var(--wfa-link); }

.wfa-nav-end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.wfa-nav-end a.wfa-nav-plain { color: #3D382F; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.wfa-nav-end a.wfa-nav-plain:hover { color: var(--wfa-link); }

/*  The menu button only exists below the breakpoint. Above it the nav is
 *  always open and the button is not rendered as a control at all. */
.wfa-burger {
    display: none;
    margin-left: auto;
    width: 42px; height: 42px;
    border: 0; border-radius: 999px;
    background: var(--wfa-bg-quiet); color: #2C2822;
    cursor: pointer; font-size: 17px; line-height: 1;
    align-items: center; justify-content: center;
    flex: none;
}

@media (max-width: 900px) {
    .wfa-topbar-inner { flex-wrap: wrap; padding: 10px 10px 10px 18px; }
    .wfa-burger { display: inline-flex; }
    .wfa-nav, .wfa-nav-end {
        display: none;
        flex-basis: 100%;
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .wfa-topbar-inner.is-open .wfa-nav,
    .wfa-topbar-inner.is-open .wfa-nav-end { display: flex; }
    .wfa-topbar-inner.is-open { border-radius: 26px; padding-bottom: 14px; }
    .wfa-nav a, .wfa-nav-end a.wfa-nav-plain {
        padding: 13px 4px;
        border-top: 1px solid var(--wfa-line-soft);
        font-size: 15.5px;
    }
    .wfa-nav-end { padding-top: 4px; }
    .wfa-nav-end .wfa-btn-primary { margin-top: 10px; justify-content: center; }
}

/* ---------------------------------------------------------------- footer */

.wfa-foot {
    max-width: var(--wfa-max);
    margin: 0 auto;
    padding: clamp(40px, 5vw, 56px) var(--wfa-gutter) 44px;
    display: flex;
    gap: clamp(28px, 5vw, 64px);
    align-items: flex-start;
    flex-wrap: wrap;
}
.wfa-foot a { color: #3D382F; text-decoration: none; font-size: 13.5px; }
.wfa-foot a:hover { color: var(--wfa-link); }
.wfa-foot-brand { flex: 1; min-width: 240px; }
.wfa-foot-brand img { height: 24px; width: auto; display: block; margin-bottom: 14px; }
.wfa-foot-cols { display: flex; gap: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.wfa-foot-col { display: flex; flex-direction: column; gap: 9px; }
.wfa-foot-col-title {
    font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--wfa-ink-mute-3); margin-bottom: 2px;
}
.wfa-foot-small { font-size: 12.5px; color: var(--wfa-ink-mute-3); margin-top: 24px; }
.wfa-foot-about { font-size: 13.5px; color: var(--wfa-ink-mute); margin-top: 24px; max-width: 26em; }
.wfa-foot-social { list-style: none; display: flex; gap: 14px; padding: 0; margin: 22px 0 0; flex-wrap: wrap; }
.wfa-foot-search { margin-top: 20px; display: flex; gap: 8px; max-width: 300px; }
.wfa-foot-search .wfa-input { border-radius: 999px; font-size: 13.5px; padding: 10px 16px; }

/* -------------------------------------------------------- segmented toggle */

/*  Yearly / monthly on /plans. Two buttons in a pill, one of them on. The
 *  markup sets .is-on and aria-selected together, so the state is not
 *  carried by color alone. */
.wfa-cycle {
    background: transparent;
    color: var(--wfa-ink-mute);
    transition: background .15s ease, color .15s ease;
}
.wfa-cycle:hover { color: var(--wfa-ink); }
.wfa-cycle.is-on {
    background: var(--wfa-bg-card);
    color: var(--wfa-ink);
    box-shadow: 0 1px 3px rgba(70,55,35,.16);
}

/* ------------------------------------------------------------ pagination */

.wfa-pager { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 44px; }
.wfa-pager a, .wfa-pager span {
    min-width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 13px; border-radius: 999px;
    font-size: 14px; font-weight: 700; text-decoration: none;
    color: var(--wfa-ink-body); background: var(--wfa-bg-quiet);
}
.wfa-pager a:hover { background: var(--wfa-bg-quiet-2); color: var(--wfa-ink); }
.wfa-pager .is-here { background: var(--wfa-accent); color: #fff; }
.wfa-pager .is-off  { opacity: .4; }

/* ------------------------------------------------- legacy page bodies */

/*
 *  A page moved into the new shell whose body is still written in the old
 *  bootstrap-3 vocabulary.
 *
 *  There are about ninety files under pages/ and several of them are load
 *  bearing in ways markup cannot show: /terms and /privacy carry the
 *  Instagram and Dropbox sections that Meta's and Dropbox's app reviews read,
 *  at anchors their submissions link to directly. Rewriting those by hand to
 *  move a page onto the new font is the wrong trade.
 *
 *  So index.php wraps an unconverted body in .wfa-legacy and this gives that
 *  markup somewhere to stand: a small grid, the wrappers flattened, and the
 *  handful of components those pages actually use. The page gets the new
 *  chrome, the new type and the new palette today, and its body can be
 *  rewritten properly later without the URL ever having looked broken.
 *
 *  It is a compatibility layer and it is meant to shrink. A page whose body
 *  has been converted comes off the list in index.php and stops loading any
 *  of this.
 */

.wfa-legacy { font-size: 16.5px; line-height: 1.7; color: var(--wfa-ink-body); }
.wfa-legacy > *:first-child { margin-top: 0; }

/*  The wrappers. Every one of these painted a full-bleed band in a color the
 *  old design used, which is exactly what the new one does not want. */
.wfa-legacy .light-wrapper,
.wfa-legacy .lightest,
.wfa-legacy .dark-wrapper,
.wfa-legacy .black-wrapper,
.wfa-legacy .parallax,
.wfa-legacy .asseen-wrapper {
    background: transparent !important;
    color: inherit !important;
    padding: 0;
}
.wfa-legacy .container { width: auto; max-width: 100%; margin: 0; padding: 0; }
.wfa-legacy .inner { padding: 0 0 clamp(28px, 4vw, 48px); }
.wfa-legacy .no-sidebar { width: auto; float: none; }

/*  A twelve-column grid, enough of bootstrap 3 for these bodies to keep the
 *  layouts they were written with. Everything stacks below 768, which is
 *  what col-sm-* meant in the first place. */
.wfa-legacy .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}
.wfa-legacy .row::before, .wfa-legacy .row::after { display: none; }
.wfa-legacy [class*="col-xs-"],
.wfa-legacy [class*="col-sm-"],
.wfa-legacy [class*="col-md-"],
.wfa-legacy [class*="col-lg-"] {
    width: 100%;
    padding: 0 12px;
    margin-bottom: 12px;
    float: none;
}
.wfa-legacy .col-xs-6 { width: 50%; }
.wfa-legacy .col-xs-4 { width: 33.3333%; }
.wfa-legacy .col-xs-3 { width: 25%; }

@media (min-width: 768px) {
    .wfa-legacy .col-sm-1  { width: 8.3333%; }
    .wfa-legacy .col-sm-2  { width: 16.6667%; }
    .wfa-legacy .col-sm-3  { width: 25%; }
    .wfa-legacy .col-sm-4  { width: 33.3333%; }
    .wfa-legacy .col-sm-5  { width: 41.6667%; }
    .wfa-legacy .col-sm-6  { width: 50%; }
    .wfa-legacy .col-sm-7  { width: 58.3333%; }
    .wfa-legacy .col-sm-8  { width: 66.6667%; }
    .wfa-legacy .col-sm-9  { width: 75%; }
    .wfa-legacy .col-sm-10 { width: 83.3333%; }
    .wfa-legacy .col-sm-12 { width: 100%; }
    .wfa-legacy .col-sm-offset-1 { margin-left: 8.3333%; }
    .wfa-legacy .col-sm-offset-2 { margin-left: 16.6667%; }
    .wfa-legacy .col-sm-offset-3 { margin-left: 25%; }
}
@media (min-width: 992px) {
    .wfa-legacy .col-md-3  { width: 25%; }
    .wfa-legacy .col-md-4  { width: 33.3333%; }
    .wfa-legacy .col-md-6  { width: 50%; }
    .wfa-legacy .col-md-8  { width: 66.6667%; }
    .wfa-legacy .col-md-9  { width: 75%; }
    .wfa-legacy .col-md-12 { width: 100%; }
    .wfa-legacy .col-md-offset-2 { margin-left: 16.6667%; }
    .wfa-legacy .col-md-offset-3 { margin-left: 25%; }
}

/*  Typography inside a legacy body, matched to .wfa-prose so the two read
 *  the same whichever a page happens to be using. */
.wfa-legacy h1, .wfa-legacy h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: var(--wfa-ink); margin: 40px 0 16px; }
.wfa-legacy h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.02em; color: var(--wfa-ink); margin: 34px 0 12px; }
.wfa-legacy h4 { font-size: 18px; font-weight: 800; color: var(--wfa-ink); margin: 26px 0 10px; }
.wfa-legacy h5, .wfa-legacy h6 { font-size: 15px; font-weight: 700; color: var(--wfa-ink); margin: 22px 0 8px; }
.wfa-legacy p { margin: 0 0 18px; }
.wfa-legacy ul, .wfa-legacy ol { margin: 0 0 18px; padding-left: 22px; }
.wfa-legacy li { margin-bottom: 8px; }
.wfa-legacy .lead { font-size: 18px; line-height: 1.6; color: var(--wfa-ink-body); }
.wfa-legacy abbr[title] { text-decoration: none; font-weight: 700; color: var(--wfa-ink); }
.wfa-legacy blockquote {
    margin: 26px 0; padding: 20px 24px; border: 0; border-left: 3px solid var(--wfa-accent);
    background: var(--wfa-bg-card); border-radius: var(--wfa-radius-soft); font-size: 17px;
}

/*  .section-title is the old page's h2. It was centered on a rule; it is a
 *  plain left-aligned heading now, which is what the rest of the site does. */
.wfa-legacy .section-title { margin: 44px 0 18px; }
.wfa-legacy .section-title:first-child { margin-top: 0; }
.wfa-legacy .section-title h3,
.wfa-legacy .section-title .widget-title {
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: var(--wfa-ink);
    margin: 0;
    text-transform: none;
}
.wfa-legacy .section-title h3 a { color: inherit; text-decoration: none; }
.wfa-legacy .section-title h3 a:hover { color: var(--wfa-link); }

/*  Images. The old pages lean on .img-responsive and on a 61x1 png used as a
 *  decorative rule under a heading; the rule is noise in this design. */
.wfa-legacy img { max-width: 100%; height: auto; border-radius: var(--wfa-radius-soft); }
.wfa-legacy img.line { display: none !important; }

/*  Several bodies build their own page header: a centered title, that 61x1
 *  rule, then "Home » <the SEO title>" as a breadcrumb. The shell prints a
 *  real breadcrumb and a real h1 above them, so the second copy is noise.
 *  Anchored on the rule image, which is only ever used in that trio, so it
 *  cannot catch a heading that means something. */
.wfa-legacy img.line + h4.text-center,
.wfa-legacy img.line + h4 { display: none; }
.wfa-legacy figure { margin: 0 0 20px; }

/*  Cards. .bordered and .post are the two the content pages use. */
.wfa-legacy .bordered, .wfa-legacy .post {
    background: var(--wfa-bg-card);
    border: 0 !important;
    border-radius: 20px;
    box-shadow: var(--wfa-shadow-card);
    padding: 26px;
    margin-bottom: 22px;
}
.wfa-legacy .post-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; line-height: 1.25; }
.wfa-legacy .post-title a { color: var(--wfa-ink); text-decoration: none; }
.wfa-legacy .post-title a:hover { color: var(--wfa-link); }
.wfa-legacy .meta { font-size: 12.5px; color: var(--wfa-ink-mute-3); margin-bottom: 12px; }
.wfa-legacy .meta span { margin-right: 12px; }
.wfa-legacy .text-overlay { display: none; }

/*  The designs grid on /template: ul.items > li.item > figure > a > img,
 *  laid out by the legacy sheet's floats and, on some pages, by isotope.
 *  Neither is loaded here, so all 31 designs stacked one per row at full
 *  width. A plain grid does the job and needs no JS.
 *
 *  The design's name lives in .text-overlay, which is hidden everywhere else
 *  because it is a hover caption. Here it is the only place the name
 *  appears, so it is shown as a caption and the image is ordered above it. */
.wfa-legacy .grid-portfolio .items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
    gap: 22px;
}
.wfa-legacy .grid-portfolio .items li.item { margin: 0; width: auto; float: none; }
.wfa-legacy .grid-portfolio figure { margin: 0; }
.wfa-legacy .grid-portfolio .item a { display: flex; flex-direction: column; text-decoration: none; }
.wfa-legacy .grid-portfolio .item img {
    order: -1;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--wfa-radius-soft);
    box-shadow: 0 1px 2px rgba(70,55,35,.05), 0 16px 36px -20px rgba(70,55,35,.35);
}
.wfa-legacy .grid-portfolio .text-overlay { display: block; position: static; background: none; }
.wfa-legacy .grid-portfolio .text-overlay .info {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -.015em;
    color: var(--wfa-ink);
    margin-top: 13px;
}
.wfa-legacy .grid-portfolio .text-overlay .link { display: none; }
.wfa-legacy .grid-portfolio .item a:hover .info { color: var(--wfa-link); }
.wfa-legacy .grid-portfolio .filter { display: none; }

/*  Buttons. The old markup reaches for .btn plus a bootstrap variant. */
.wfa-legacy .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--wfa-accent); color: #fff;
    font-weight: 700; font-size: 15px; line-height: 1.2;
    padding: 14px 26px; border: 0; border-radius: 999px;
    text-decoration: none; cursor: pointer; font-family: inherit;
}
.wfa-legacy .btn:hover { background: var(--wfa-accent-dark); color: #fff; }
.wfa-legacy .btn-default, .wfa-legacy .btn-info { background: var(--wfa-bg-quiet); color: #2C2822; }
.wfa-legacy .btn-default:hover, .wfa-legacy .btn-info:hover { background: var(--wfa-bg-quiet-2); color: #2C2822; }
.wfa-legacy .home-btn { margin: 24px 0; }

/*  Tables scroll inside themselves rather than widening the document. */
.wfa-legacy table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; display: block; overflow-x: auto; }
.wfa-legacy th, .wfa-legacy td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--wfa-line); }
.wfa-legacy th { font-weight: 700; color: var(--wfa-ink); white-space: nowrap; }

/*  Forms, for the pages that carry one. */
.wfa-legacy .form-control, .wfa-legacy input[type="text"], .wfa-legacy input[type="email"], .wfa-legacy textarea, .wfa-legacy select {
    width: 100%; font-family: inherit; font-size: 16px; line-height: 1.5;
    color: var(--wfa-ink); background: var(--wfa-bg-card);
    border: 1px solid var(--wfa-line); border-radius: 14px; padding: 13px 16px;
}
.wfa-legacy .form-control:focus, .wfa-legacy input:focus, .wfa-legacy textarea:focus {
    outline: 0; border-color: var(--wfa-accent); box-shadow: 0 0 0 3px rgba(245,142,31,.18);
}
.wfa-legacy label { display: block; font-size: 13px; font-weight: 700; color: var(--wfa-ink); margin-bottom: 7px; }

/*  Utility classes the bodies use that no longer come from anywhere. */
.wfa-legacy .text-center { text-align: center; }
.wfa-legacy .text-right  { text-align: right; }
.wfa-legacy .text-muted  { color: var(--wfa-ink-mute); }
.wfa-legacy .pull-left   { float: left; }
.wfa-legacy .pull-right  { float: right; }
.wfa-legacy .clearfix::after { content: ""; display: table; clear: both; }
.wfa-legacy .hidden { display: none !important; }
.wfa-legacy .divide20 { height: 20px; }
.wfa-legacy .mb-30 { margin-bottom: 30px; }
.wfa-legacy .rp20 { padding-right: 20px; }
@media (max-width: 767px) {
    .wfa-legacy .hidden-xs { display: none !important; }
    .wfa-legacy .pull-left, .wfa-legacy .pull-right { float: none; }
}
@media (min-width: 768px) {
    .wfa-legacy .visible-xs { display: none !important; }
}

/* ------------------------------------------------------------- animation */

@keyframes wfa-in   { from { opacity: 0; transform: translateY(14px) scale(.985) } to { opacity: 1; transform: none } }
@keyframes wfa-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes wfa-pulse { 0% { transform: scale(1); opacity: .55 } 100% { transform: scale(1.45); opacity: 0 } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
