@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Nunito+Sans:wght@400;600;700&display=swap");

/* Flare: a component family after StyleShout's Flare template (styleshout.com, free with
   attribution; ADR 0005-Z0ZI). The same components and slots as Lumen, so a page laid out for one
   renders in the other; only the look differs. Everything is scoped under .fl-page, and every rule
   states its own type, spacing and alignment, because the site's global sheets (bootstrap,
   main.css) still style bare p, h1-h3 and button on the same page. */

.fl-page {
    /* The theme. A site's colours and fonts arrive as the platform's --sg-* properties on an element
       around the page, with data-sg-scheme="light" or "dark" beside them; without them Flare keeps
       its own charcoal and crimson. Every other colour here is mixed from these few. */
    --fl-bg: var(--sg-background, #14171b);
    --fl-bg-2: var(--sg-background-alt, #0f1114);
    --fl-backdrop: var(--sg-background-image, none);
    --fl-surface: var(--sg-surface, #1c1f23);
    --fl-text: var(--sg-text, #ffffff);
    --fl-muted: var(--sg-muted, #8d939b);
    --fl-accent: var(--sg-accent, #d9083c);
    --fl-accent-2: var(--sg-accent-2, #eb5e55);
    --fl-accent-3: var(--sg-accent-3, #f2d0a4);
    --fl-on-accent: var(--sg-on-accent, #ffffff);
    --fl-display: var(--sg-font-display, Montserrat, "Segoe UI", system-ui, -apple-system, sans-serif);
    --fl-sans: var(--sg-font-body, "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif);

    /* mixed from the theme */
    --fl-body: color-mix(in srgb, var(--fl-muted) 78%, var(--fl-text));
    --fl-accent-text: color-mix(in srgb, var(--fl-accent) 82%, var(--fl-text));
    --fl-accent-strong: var(--fl-accent);
    --fl-accent-deep: color-mix(in srgb, var(--fl-accent) 55%, var(--fl-bg));
    --fl-line: color-mix(in srgb, var(--fl-text) 12%, transparent);
    --fl-line-2: color-mix(in srgb, var(--fl-text) 22%, transparent);
    --fl-veil: color-mix(in srgb, var(--fl-bg-2) 72%, transparent);
    --fl-shadow: rgba(0, 0, 0, 0.55);
    --fl-dots: radial-gradient(circle, var(--fl-accent) 0 2px, transparent 2.5px) 0 0 / 14px 14px;
    --fl-ease: cubic-bezier(0.215, 0.61, 0.355, 1);
    --fl-gutter: clamp(20px, 6vw, 72px);

    position: relative;
    counter-reset: fl-n;
    background: var(--fl-backdrop), var(--fl-bg);
    background-attachment: fixed;
    color: var(--fl-body);
    font-family: var(--fl-sans);
    font-size: 18px;
    line-height: 1.78;
    text-align: left;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

[data-sg-scheme="light"] .fl-page {
    --fl-shadow: rgba(30, 20, 40, 0.16);
    --fl-body: color-mix(in srgb, var(--fl-muted) 70%, var(--fl-text));
}

/* an accent too close to the background to be read as text - a light theme's pale gold, or a dark
   theme's deep blue - is drawn mixed with the text colour wherever it is text; the script measures
   theme's colours and sets fl-soft-accent, or fl-firm-accent when the accent reads well; until it
   has (or when it cannot), a light scheme is drawn soft and a dark one firm */
[data-sg-scheme="light"] .fl-page,
.fl-page.fl-soft-accent {
    --fl-accent-text: color-mix(in srgb, var(--fl-accent) 45%, var(--fl-text));
    --fl-accent-strong: color-mix(in srgb, var(--fl-accent) 60%, var(--fl-text));
}
[data-sg-scheme="light"] .fl-page.fl-firm-accent {
    --fl-accent-text: color-mix(in srgb, var(--fl-accent) 82%, var(--fl-text));
    --fl-accent-strong: var(--fl-accent);
}

/* the resets weigh no more than a bare element (:where around the scope), so any component class
   overrides them, and they still beat the site's own bare p and h rules because this sheet loads
   after those */
:where(.fl-page) *,
:where(.fl-page) *::before,
:where(.fl-page) *::after { box-sizing: border-box; }

:where(.fl-page) p,
:where(.fl-page) ul,
:where(.fl-page) ol,
:where(.fl-page) dl,
:where(.fl-page) dd,
:where(.fl-page) figure,
:where(.fl-page) blockquote { margin: 0; padding: 0; text-align: left; text-indent: 0; font-size: inherit; color: inherit; }

/* links in the content: the accent, underlined by a hairline, as Flare's are */
:where(.fl-page) a {
    color: var(--fl-accent-text);
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, currentColor 45%, transparent);
    transition: color 0.3s, border-color 0.3s;
}
:where(.fl-page) a:hover { color: var(--fl-text); border-bottom-color: currentColor; }

:where(.fl-page) h1,
:where(.fl-page) h2,
:where(.fl-page) h3 { margin: 0; color: var(--fl-text); font-weight: 500; text-align: left; letter-spacing: normal; text-transform: none; }

:where(.fl-page) ul,
:where(.fl-page) ol { list-style: none; }

:where(.fl-page) img { display: block; max-width: 100%; }

:where(.fl-page) button {
    appearance: none;
    margin: 0;
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.fl-page :focus-visible { outline: 2px solid var(--fl-accent-text); outline-offset: 3px; }

.fl-container { width: min(1200px, 100% - 2 * var(--fl-gutter)); margin-inline: auto; }

.fl-section {
    position: relative;
    padding-block: clamp(80px, 10vw, 160px);
    isolation: isolate;
}

/* the thin crimson rule that runs down into each section, as Flare's sections begin */
.fl-section + .fl-section:not(.fl-cta)::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(var(--fl-gutter) / 2);
    width: 1px;
    height: clamp(70px, 9vw, 140px);
    background: var(--fl-accent-deep);
}

/* ---------- section heads: the large faded number, the small label over it, the statement ---------- */

.fl-head { position: relative; }

.fl-label {
    position: relative;
    display: block;
    margin-bottom: clamp(20px, 3vw, 40px);
}

.fl-num::before {
    counter-increment: fl-n;
    content: counter(fl-n, decimal-leading-zero);
    display: block;
    font-family: var(--fl-display);
    font-weight: 600;
    font-size: clamp(96px, 12vw, 180px);
    line-height: 0.82;
    letter-spacing: -0.03em;
    color: var(--fl-text);
    opacity: 0.08;
}

.fl-eyebrow {
    position: absolute;
    left: 0.9em;
    bottom: 1.1em;
    max-width: calc(100% - 1em);
    font-family: var(--fl-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fl-accent-text);
}

.fl-display {
    font-family: var(--fl-display);
    font-weight: 500;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.48;
    letter-spacing: -0.005em;
    color: var(--fl-text);
    max-width: 24em;
    overflow-wrap: break-word;
}

.fl-lead {
    font-family: var(--fl-sans);
    font-size: clamp(19px, 1.6vw, 21.6px);
    line-height: 1.68;
    color: var(--fl-body);
}

.fl-copy p + p { margin-top: 1.1em; }
.fl-copy:empty { display: none; }
.fl-head + .fl-copy { margin-top: clamp(24px, 3vw, 40px); }

.fl-bullets { display: grid; gap: 12px; margin-top: 28px; }
.fl-bullets:empty { display: none; }
.fl-bullets li {
    position: relative;
    padding-left: 34px;
    color: var(--fl-text);
}
.fl-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 18px;
    height: 2px;
    background: var(--fl-accent);
}

/* a head with something beside it: the statement on the left, the lead or intro on the right */
.fl-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px clamp(40px, 6vw, 96px);
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 96px);
}
.fl-intro > :only-child,
.fl-intro:has(> .fl-copy:empty) > .fl-head { grid-column: 1 / -1; }
.fl-intro .fl-lead,
.fl-intro .fl-copy { padding-bottom: 8px; }

/* ---------- buttons ---------- */

.fl-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.fl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 16px 34px;
    border: 2px solid var(--fl-surface);
    border-radius: 0;
    background: var(--fl-surface);
    color: var(--fl-text);
    font-family: var(--fl-display);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.fl-page .fl-btn { text-transform: uppercase; letter-spacing: 0.32em; }
.fl-btn--primary { background: var(--fl-accent); border-color: var(--fl-accent); color: var(--fl-on-accent); }
.fl-btn--stroke { background: transparent; border-color: var(--fl-line-2); color: var(--fl-text); }
.fl-btn--light { background: var(--fl-on-accent); border-color: var(--fl-on-accent); color: var(--fl-accent); }
.fl-btn:hover,
.fl-btn:focus-visible { background: var(--fl-text); border-color: var(--fl-text); color: var(--fl-bg); }
.fl-btn--light:hover,
.fl-btn--light:focus-visible { background: transparent; border-color: var(--fl-on-accent); color: var(--fl-on-accent); }

/* ---------- hero-3d: Flare's "Hello." opening ---------- */

.fl-hero {
    display: flex;
    align-items: flex-end;
    min-height: min(100vh, 920px);
    padding-block: clamp(140px, 22vh, 240px) clamp(56px, 9vh, 110px);
    background: var(--fl-bg-2);
    overflow: hidden;
}

.fl-hero__art {
    position: absolute;
    inset: 0 0 0 36.5%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(160deg, color-mix(in srgb, var(--fl-surface) 80%, var(--fl-bg-2)), var(--fl-bg-2) 75%);
}
.fl-hero__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--fl-veil) 0%, transparent 55%),
        linear-gradient(90deg, var(--fl-bg-2) 0%, transparent 28%);
}

.fl-hero__shape { position: absolute; display: block; transition: transform 1.6s var(--fl-ease); }
.fl-hero__shape--1 {
    width: 64%;
    aspect-ratio: 1 / 1.1;
    right: 22%;
    top: -26%;
    border-radius: 26px;
    background:
        radial-gradient(circle, color-mix(in srgb, var(--fl-on-accent) 18%, transparent) 0 1px, transparent 1.5px) 0 0 / 6px 6px,
        linear-gradient(150deg, var(--fl-accent), color-mix(in srgb, var(--fl-accent) 70%, black));
    transform: rotate(-38deg);
    box-shadow: 0 50px 120px -30px var(--fl-shadow);
}
.fl-hero__shape--2 {
    width: 60%;
    aspect-ratio: 1.45;
    right: -18%;
    top: 34%;
    border-radius: 40px;
    background: linear-gradient(140deg, color-mix(in srgb, var(--fl-text) 62%, var(--fl-bg-2)), color-mix(in srgb, var(--fl-text) 34%, var(--fl-bg-2)));
    transform: rotate(-38deg);
    box-shadow: 0 50px 120px -30px var(--fl-shadow);
}
.fl-hero__shape--3 {
    width: 4.5%;
    aspect-ratio: 1 / 9;
    right: 66%;
    top: 2%;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--fl-accent-3) 70%, var(--fl-text)), color-mix(in srgb, var(--fl-text) 30%, var(--fl-bg-2)));
    transform: rotate(-38deg);
    box-shadow: 0 30px 60px -20px var(--fl-shadow);
}

/* the second look: the same panel crossed by long bands */
.fl-hero--waves .fl-hero__shape--1 { width: 120%; aspect-ratio: 5.2; right: -30%; top: 12%; border-radius: 999px; }
.fl-hero--waves .fl-hero__shape--2 { width: 120%; aspect-ratio: 6; right: -50%; top: 44%; border-radius: 999px; }
.fl-hero--waves .fl-hero__shape--3 { width: 120%; aspect-ratio: 14; right: -10%; top: 72%; opacity: 0.5; }

.fl-hero__inner { position: relative; }

.fl-hero__title {
    position: relative;
    margin-bottom: clamp(24px, 4vh, 44px);
    font-family: var(--fl-display);
    font-weight: 600;
    font-size: clamp(48px, 8vw, 128px);
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--fl-accent-strong);
    max-width: 14em;
    overflow-wrap: break-word;
}
.fl-page .fl-hero__title { color: var(--fl-accent-strong); font-weight: 600; }
/* the script sets the size from the title's length: "Hello." fills the width, a sentence does not */
.fl-hero__title[data-fl-len="s"] { font-size: clamp(72px, 15vw, 230px); letter-spacing: -0.045em; line-height: 0.95; }
.fl-hero__title[data-fl-len="l"] { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.04; letter-spacing: -0.025em; }
.fl-hero__title[data-fl-len="xl"] { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.1; letter-spacing: -0.015em; }
.fl-hero__title::before {
    content: "";
    position: absolute;
    left: -6px;
    bottom: calc(100% + 18px);
    width: 196px;
    height: 98px;
    background: var(--fl-dots);
    opacity: 0.3;
}

.fl-hero__about {
    position: relative;
    max-width: 780px;
    padding-left: clamp(0px, 8vw, 128px);
}
.fl-hero__about::before {
    content: "";
    position: absolute;
    left: clamp(0px, 1.2vw, 18px);
    top: 0.9em;
    width: clamp(0px, 5vw, 84px);
    height: 1px;
    background: var(--fl-line-2);
}
.fl-hero__eyebrow {
    margin-bottom: 14px;
    font-family: var(--fl-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--fl-muted);
}
.fl-hero__subtitle {
    font-family: var(--fl-display);
    font-size: clamp(21px, 2.3vw, 34px);
    font-weight: 400;
    line-height: 1.44;
    color: var(--fl-text);
}
.fl-hero__eyebrow + .fl-hero__subtitle { margin-top: 0; }
.fl-hero__subtitle[data-fl-len="l"] { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.6; }

.fl-hero__rule {
    position: absolute;
    left: calc(var(--fl-gutter) / 2);
    bottom: 0;
    width: 1px;
    height: 16vh;
    background: var(--fl-accent);
}

/* the opening fades in once, as Flare's does after its preloader */
.fl-js .fl-hero__inner { animation: fl-rise 1.6s var(--fl-ease) both; }
.fl-js .fl-hero__shape { animation: fl-drift 2.2s var(--fl-ease) both; }
@keyframes fl-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fl-drift { from { opacity: 0; translate: 60px -40px; } to { opacity: 1; translate: 0 0; } }

/* ---------- split-feature ---------- */

.fl-split__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}
.fl-split--image-left .fl-split__media { order: -1; }

.fl-photo { position: relative; margin-top: clamp(0px, 4vw, 64px); }
.fl-photo::before {
    content: "";
    position: absolute;
    right: -26px;
    top: -26px;
    width: 196px;
    height: 126px;
    z-index: -1;
    background: var(--fl-dots);
    opacity: 0.35;
}
.fl-split--image-left .fl-photo::before { right: auto; left: -26px; }
.fl-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: 0 40px 90px -40px var(--fl-shadow);
}

.fl-pattern {
    position: relative;
    margin-top: clamp(0px, 4vw, 64px);
    aspect-ratio: 4 / 5;
    background: var(--fl-dots);
    opacity: 0.9;
    -webkit-mask: linear-gradient(135deg, #000 20%, transparent 85%);
    mask: linear-gradient(135deg, #000 20%, transparent 85%);
}
.fl-pattern span {
    position: absolute;
    right: 12%;
    bottom: 14%;
    width: 46%;
    aspect-ratio: 1;
    background: var(--fl-accent);
    transform: rotate(-38deg);
    border-radius: 18px;
}

/* ---------- feature-grid: Flare's services ---------- */

.fl-grid { display: grid; gap: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 80px); }
.fl-grid[data-cols="1"] { grid-template-columns: minmax(0, 1fr); }
.fl-grid[data-cols="2"],
.fl-grid[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fl-grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.fl-item { position: relative; padding-right: clamp(0px, 3vw, 48px); }
.fl-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 26px;
    font-size: 40px;
    color: var(--fl-accent-text);
}
.fl-item__title {
    margin-bottom: 12px;
    font-family: var(--fl-display);
    font-size: clamp(21px, 1.8vw, 26px);
    font-weight: 500;
    line-height: 1.35;
    color: var(--fl-text);
}
.fl-item__text { font-size: 17px; line-height: 1.76; color: var(--fl-body); }

.fl-features--cards .fl-item {
    padding: 40px 36px 44px;
    background: var(--fl-surface);
    border-top: 2px solid transparent;
    transition: border-color 0.4s, transform 0.4s var(--fl-ease);
}
.fl-features--cards .fl-item:hover { border-top-color: var(--fl-accent); transform: translateY(-4px); }

/* ---------- card-grid: people and projects, after Flare's portfolio ---------- */

.fl-cards__grid { gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); }

.fl-card { display: flex; flex-direction: column; min-width: 0; }
.fl-card__thumb {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--fl-surface);
}
.fl-card__thumb img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.9s var(--fl-ease);
}
.fl-cards--people .fl-card__thumb img { aspect-ratio: 4 / 5; }
/* a card opens nothing, so it only leans in; the gallery's shots carry the lightbox sign */
.fl-card:hover .fl-card__thumb img { transform: scale(1.04); }

.fl-card__body { position: relative; padding-left: 22px; border-left: 1px solid var(--fl-line); }
.fl-card__title {
    font-family: var(--fl-display);
    font-size: clamp(19px, 1.6vw, 22px);
    font-weight: 500;
    line-height: 1.4;
    color: var(--fl-text);
}
.fl-card__body::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 0;
    width: 1px;
    height: 1.5em;
    background: var(--fl-accent);
}
.fl-card__text { margin-top: 10px; font-size: 16.5px; line-height: 1.74; color: var(--fl-body); }
.fl-card__text + .fl-card__text { margin-top: 0.8em; }

.fl-cards__grid[data-shape="wide"] .fl-card:has(.fl-card__thumb) { flex-direction: row; gap: 32px; align-items: flex-start; }
.fl-cards__grid[data-shape="wide"] .fl-card__thumb { flex: 0 0 40%; margin-bottom: 0; }
.fl-cards__grid[data-shape="wide"] .fl-card__thumb img { aspect-ratio: 4 / 5; }

/* ---------- stats-band ---------- */

.fl-stats__title { margin-bottom: clamp(40px, 5vw, 72px); }
.fl-stats__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
.fl-stat { padding: 8px 0 8px 28px; border-left: 1px solid var(--fl-line-2); }
.fl-stat__value {
    font-family: var(--fl-display);
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--fl-accent-strong);
    font-variant-numeric: tabular-nums;
}
.fl-stat__label {
    margin-top: 16px;
    font-family: var(--fl-display);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fl-muted);
}

/* ---------- quote: Flare's testimonial ---------- */

.fl-quote--paper { background: var(--fl-surface); }
.fl-quote--dark { background: var(--fl-bg-2); }
.fl-quote__inner { max-width: 860px; text-align: center; }
.fl-quote__mark { display: block; height: 72px; }
.fl-quote__mark::before {
    content: "\201C";
    font-family: var(--fl-display);
    font-size: 140px;
    font-weight: 600;
    line-height: 1;
    color: var(--fl-accent-strong);
}
.fl-page .fl-quote__text {
    font-family: var(--fl-sans);
    font-size: clamp(21px, 2.1vw, 27px);
    line-height: 1.82;
    color: var(--fl-text);
    text-align: center;
}
.fl-page .fl-quote__by { margin-top: 32px; text-align: center; }
.fl-quote__author {
    display: block;
    font-family: var(--fl-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--fl-accent-text);
}
.fl-quote__role { display: block; margin-top: 4px; font-size: 14px; color: var(--fl-muted); }

/* ---------- steps-scroll: Flare's numbered process ---------- */

.fl-steps__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(36px, 4vw, 56px) clamp(40px, 6vw, 96px);
}
.fl-step__title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
    font-family: var(--fl-display);
    font-size: clamp(21px, 1.8vw, 26px);
    font-weight: 500;
    line-height: 1.3;
    color: var(--fl-text);
}
.fl-step__n {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--fl-accent);
    color: var(--fl-on-accent);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
}
.fl-step__text { padding-left: 66px; font-size: 17px; line-height: 1.76; color: var(--fl-body); }

/* ---------- gallery: Flare's edge-to-edge works ---------- */

.fl-gallery__head { margin-bottom: clamp(40px, 5vw, 72px); }
.fl-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(1240px, 100%);
    margin-inline: auto;
}
.fl-gallery__grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); width: min(1000px, 100%); }
.fl-gallery__grid:is([data-count="3"], [data-count="6"], [data-count="9"], [data-count="12"], [data-count="15"], [data-count="18"], [data-count="21"], [data-count="24"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.fl-shot { position: relative; overflow: hidden; }
.fl-shot__open { display: block; width: 100%; padding: 0; border: 0; background: var(--fl-surface); }
.fl-shot__open img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.9s var(--fl-ease);
}
.fl-shot__open::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    transition: opacity 0.5s;
}
.fl-shot__open::after {
    content: "+";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    font-family: var(--fl-display);
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    color: #fff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.5s, transform 0.5s var(--fl-ease);
}
.fl-shot:hover .fl-shot__open::before { opacity: 1; }
.fl-shot:hover .fl-shot__open::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.fl-shot:hover img { transform: scale(1.04); }
.fl-shot__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 40px 28px 22px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
    font-family: var(--fl-display);
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    pointer-events: none;
}

.fl-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 4vmin;
    background: rgba(8, 9, 11, 0.94);
    opacity: 0;
    transition: opacity 0.3s;
}
.fl-lightbox--on { opacity: 1; }
.fl-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fl-lightbox__close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

/* ---------- faq ---------- */

.fl-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px clamp(40px, 6vw, 96px);
    align-items: start;
}
.fl-faq__grid > .fl-head { position: sticky; top: 96px; }
.fl-faq__grid > .fl-faq__list:only-child { grid-column: 1 / -1; }
.fl-faq__item { border-top: 1px solid var(--fl-line); }
.fl-faq__item:last-child { border-bottom: 1px solid var(--fl-line); }
.fl-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    font-family: var(--fl-display);
    font-size: clamp(18px, 1.5vw, 21px);
    font-weight: 500;
    line-height: 1.45;
    color: var(--fl-text);
    cursor: pointer;
    list-style: none;
}
.fl-faq__item summary::-webkit-details-marker { display: none; }
.fl-faq__sign { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.fl-faq__sign::before,
.fl-faq__sign::after {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 2px;
    background: var(--fl-accent);
    transition: transform 0.3s var(--fl-ease);
}
.fl-faq__sign::after { transform: rotate(90deg); }
.fl-faq__item[open] .fl-faq__sign::after { transform: rotate(0deg); }
.fl-faq__answer { padding: 0 48px 28px 0; font-size: 17px; line-height: 1.76; color: var(--fl-body); }

/* ---------- cta-band: Flare's crimson contact band ---------- */

.fl-cta { background: var(--fl-accent); color: var(--fl-on-accent); }
.fl-cta__inner { max-width: 940px; text-align: center; }
.fl-page .fl-cta__title {
    font-family: var(--fl-display);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 500;
    line-height: 1.42;
    color: var(--fl-on-accent);
    text-align: center;
}
.fl-page .fl-cta__text {
    margin: 24px auto 0;
    max-width: 640px;
    font-size: 19px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--fl-on-accent) 82%, var(--fl-accent));
    text-align: center;
}
.fl-cta .fl-btn { margin-top: 44px; }

/* ---------- media-feature ---------- */

.fl-media__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.fl-media--stacked .fl-media__grid { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin-inline: auto; }
.fl-media__frame { position: relative; min-width: 0; }
.fl-media__frame::before {
    content: "";
    position: absolute;
    left: -26px;
    bottom: -26px;
    width: 196px;
    height: 126px;
    z-index: -1;
    background: var(--fl-dots);
    opacity: 0.3;
}

.fl-page .sg-media { border-radius: 0 !important; }
.fl-page .sg-media--embed,
.fl-page .sg-media--video,
.fl-page .sg-media--image { box-shadow: 0 40px 90px -40px var(--fl-shadow); }
.fl-page .sg-media audio { color-scheme: dark; }
[data-sg-scheme="light"] .fl-page .sg-media audio { color-scheme: light; }
.fl-page .sg-media--audio { padding: 26px 28px; background: var(--fl-surface); border-left: 2px solid var(--fl-accent); }
.fl-page .sg-media--document,
.fl-page .sg-media--map {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border: 1px solid var(--fl-line-2);
    color: var(--fl-text);
    font-family: var(--fl-display);
    font-size: 15px;
    text-decoration: none;
}
.fl-page .sg-media--document:hover,
.fl-page .sg-media--map:hover { border-color: var(--fl-accent); color: var(--fl-accent-text); }

/* ---------- prose: the heading on the left, the paragraphs beside it ---------- */

.fl-prose__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 32px clamp(40px, 6vw, 96px);
    align-items: start;
}
.fl-prose__head { position: sticky; top: 96px; }
.fl-copy--prose { font-size: 18px; line-height: 1.8; padding-top: clamp(0px, 6vw, 96px); }
.fl-copy--prose p:first-child { font-size: clamp(19px, 1.6vw, 21.6px); color: var(--fl-text); }

/* ---------- content-stream ---------- */

.fl-stream__column { width: min(780px, 100% - 2 * var(--fl-gutter)); }
.fl-stream__column > .fl-display { margin-bottom: 36px; }
.fl-stream__body > * + * { margin-top: 1.1em; }
.fl-stream__h {
    padding-top: 0.8em;
    font-family: var(--fl-display);
    font-size: clamp(21px, 1.8vw, 26px);
    font-weight: 500;
    line-height: 1.35;
    color: var(--fl-text);
}
.fl-stream__li { position: relative; padding-left: 34px; color: var(--fl-text); }
.fl-stream__li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 18px;
    height: 2px;
    background: var(--fl-accent);
}
.fl-stream__li + .fl-stream__li { margin-top: 0.5em; }
.fl-stream__img img { width: 100%; height: auto; }
.fl-stream__img,
.fl-stream__media { margin-block: 1.8em; }

/* ---------- motion: fade up as the visitor reaches each block, as Flare's AOS does ---------- */

.fl-js .fl-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.9s var(--fl-ease);
    transition-delay: calc(var(--fl-i, 0) * 80ms + 120ms);
}
.fl-js .fl-in .fl-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .fl-js .fl-reveal { opacity: 1; transform: none; transition: none; }
    .fl-js .fl-hero__inner,
    .fl-js .fl-hero__shape { animation: none; }
}

/* ---------- smaller screens ---------- */

@media (max-width: 1000px) {
    .fl-grid[data-cols="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fl-hero__art { inset: 0 0 34% 18%; }
}

@media (max-width: 900px) {
    .fl-intro,
    .fl-split__grid,
    .fl-media__grid,
    .fl-faq__grid,
    .fl-prose__grid { grid-template-columns: minmax(0, 1fr); }
    .fl-split--image-left .fl-split__media { order: 0; }
    .fl-faq__grid > .fl-head,
    .fl-prose__head { position: static; }
    .fl-copy--prose { padding-top: 0; }
    .fl-photo,
    .fl-pattern { margin-top: 0; }
    .fl-pattern { aspect-ratio: 16 / 9; }
    .fl-steps__list { grid-template-columns: minmax(0, 1fr); }
    .fl-gallery__grid:is([data-count="3"], [data-count="6"], [data-count="9"], [data-count="12"], [data-count="15"], [data-count="18"], [data-count="21"], [data-count="24"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .fl-page { font-size: 17px; }
    .fl-grid[data-cols] { grid-template-columns: minmax(0, 1fr); }
    .fl-cards__grid[data-shape="wide"] .fl-card:has(.fl-card__thumb) { flex-direction: column; gap: 0; }
    .fl-cards__grid[data-shape="wide"] .fl-card__thumb { flex: none; width: 100%; margin-bottom: 24px; }
    .fl-gallery__grid[data-count] { grid-template-columns: minmax(0, 1fr); }
    .fl-hero { min-height: 88vh; }
    .fl-hero__art { inset: 0 0 42% 10%; }
    .fl-hero__about { padding-left: 0; }
    .fl-hero__about::before { display: none; }
    .fl-step__text { padding-left: 0; }
    .fl-item { padding-right: 0; }
    .fl-section + .fl-section:not(.fl-cta)::before { display: none; }
}

/* ==========================================================================
   Contract 2: the twelve components every package of seemgen-contract/2 has
   ========================================================================== */

/* ---------- hero-media: Flare's opening on a photo or a video ---------- */

.fl-mhero {
    display: flex;
    align-items: flex-end;
    min-height: min(100vh, 920px);
    padding-block: clamp(140px, 22vh, 240px) clamp(56px, 9vh, 110px);
    background: var(--fl-bg-2);
    overflow: hidden;
}

.fl-mhero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--fl-bg-2); }

/* the platform's image or video fills the opening, centred, moved by --fl-shift in the parallax variant */
.fl-mhero__media > * {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate3d(0, calc(-50% + var(--fl-shift, 0px)), 0);
}

.fl-mhero--parallax .fl-mhero__media > * { min-height: 125%; }

.fl-mhero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(0deg, color-mix(in srgb, var(--fl-bg-2) 94%, transparent) 0%, color-mix(in srgb, var(--fl-bg-2) 60%, transparent) 42%, color-mix(in srgb, var(--fl-bg-2) 20%, transparent) 100%),
        linear-gradient(90deg, var(--fl-veil) 0%, transparent 60%);
    pointer-events: none;
}

.fl-mhero__title::before { display: none; }

.fl-mhero--split { align-items: center; }
.fl-mhero--split .fl-mhero__media { inset: clamp(110px, 14vh, 160px) 0 clamp(56px, 9vh, 110px) 50%; }
.fl-mhero--split .fl-mhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--fl-bg-2) 0%, transparent 30%); }
.fl-mhero--split .fl-mhero__veil { display: none; }
.fl-mhero--split .fl-mhero__inner > * { max-width: min(640px, 46%); }
.fl-mhero--split .fl-hero__about { padding-left: 0; }
.fl-mhero--split .fl-hero__about::before { display: none; }

/* ---------- feature-rows: points with their own images, in rows ---------- */

.fl-rows__list { display: grid; gap: clamp(72px, 9vw, 140px); }

.fl-row {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
}

.fl-rows--alternate .fl-row:nth-child(even) .fl-row__media { order: 2; }
.fl-rows--alternate .fl-row:nth-child(even) .fl-photo::before { right: auto; left: -26px; }

.fl-page .fl-row__media { margin-top: 0; }
.fl-row__media img { aspect-ratio: 4 / 3; }
.fl-row__media.fl-pattern { aspect-ratio: 4 / 3; }

.fl-row__n {
    display: block;
    margin-bottom: -0.32em;
    font-family: var(--fl-display);
    font-size: clamp(72px, 8vw, 120px);
    font-weight: 600;
    line-height: 0.82;
    letter-spacing: -0.03em;
    /* faded by colour, not opacity: the number carries fl-reveal, whose fl-in state sets opacity 1 */
    color: color-mix(in srgb, var(--fl-text) 8%, transparent);
}

.fl-row__title { font-family: var(--fl-display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.4; color: var(--fl-text); }
.fl-row__title::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 18px; background: var(--fl-accent); }
.fl-row__copy { margin-top: 22px; }

/* ---------- bento: tiles of mixed size ---------- */

.fl-bento__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, auto);
    grid-auto-flow: dense;
    gap: 2px;
}

.fl-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--fl-surface);
    border-top: 2px solid transparent;
    transition: border-color 0.4s, transform 0.4s var(--fl-ease);
}

.fl-tile:hover { border-top-color: var(--fl-accent); }
.fl-tile__photo { flex: 1 1 auto; min-height: 160px; margin: 0; overflow: hidden; }
.fl-tile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--fl-ease); }
.fl-tile:hover .fl-tile__photo img { transform: scale(1.04); }

.fl-tile__body { margin-top: auto; padding: 34px 32px 38px; }
.fl-tile__body .fl-item__icon { width: auto; height: auto; margin-bottom: 18px; font-size: 30px; }
.fl-tile__title { margin-bottom: 10px; font-family: var(--fl-display); font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; line-height: 1.35; color: var(--fl-text); }
.fl-tile__text { font-size: 16px; line-height: 1.7; color: var(--fl-body); }

.fl-bento--mosaic .fl-tile:first-child { grid-column: span 2; grid-row: span 2; background: var(--fl-accent); }
.fl-bento--mosaic .fl-tile:first-child .fl-tile__title { font-size: clamp(28px, 3vw, 44px); line-height: 1.2; color: var(--fl-on-accent); }
.fl-bento--mosaic .fl-tile:first-child .fl-tile__text,
.fl-bento--mosaic .fl-tile:first-child .fl-item__icon { color: color-mix(in srgb, var(--fl-on-accent) 85%, var(--fl-accent)); }
.fl-bento--mosaic .fl-tile:first-child .fl-tile__text { font-size: 18px; }
.fl-bento--mosaic [data-count="3"] .fl-tile:not(:first-child),
.fl-bento--mosaic [data-count="4"] .fl-tile:nth-child(4),
.fl-bento--mosaic [data-count="7"] .fl-tile:nth-child(n + 6),
.fl-bento--mosaic [data-count="8"] .fl-tile:nth-child(6) { grid-column: span 2; }
.fl-bento--mosaic [data-count="6"] .fl-tile:nth-child(6) { grid-column: span 4; }

.fl-bento--even .fl-bento__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); grid-auto-rows: auto; }

/* ---------- logo-wall: clients, partners and awards ---------- */

.fl-logos__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    border-top: 1px solid var(--fl-line);
    border-left: 1px solid var(--fl-line);
}

.fl-logo {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 16px;
    padding: 36px 24px;
    border-right: 1px solid var(--fl-line);
    border-bottom: 1px solid var(--fl-line);
}

.fl-logo__image {
    width: auto;
    max-width: 150px;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.4s, opacity 0.4s;
}

.fl-logo:hover .fl-logo__image { filter: none; opacity: 1; }
.fl-logo__name { font-family: var(--fl-display); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fl-muted); text-align: center; }

/* row: one line of logos; with enough of them the script doubles the list and moves it sideways */
.fl-logos--row .fl-logos__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px clamp(48px, 7vw, 96px); border: 0; }
.fl-logos--row .fl-logo { padding: 8px 0; border: 0; }
.fl-logos--row .fl-logo__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fl-logos--row.is-moving .fl-logos__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.fl-logos--row.is-moving .fl-logos__list { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: fl-marquee var(--fl-marquee, 40s) linear infinite; }
.fl-logos--row.is-moving .fl-logos__viewport:hover .fl-logos__list { animation-play-state: paused; }

/* ---------- testimonials: quotes with the people who said them ---------- */

.fl-voices__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 2px; }

.fl-voice {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0;
    padding: 44px 40px 40px;
    background: var(--fl-surface);
    border-top: 2px solid var(--fl-accent);
}

.fl-voice__mark { display: block; height: 48px; }
.fl-voice__mark::before { content: "\201C"; font-family: var(--fl-display); font-size: 96px; font-weight: 600; line-height: 1; color: var(--fl-accent-strong); }
.fl-voice__quote { display: grid; gap: 12px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.78; color: var(--fl-text); }
.fl-voice__by { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--fl-line); }
.fl-voice__by:not(:has(.fl-voice__photo)):has(.fl-voice__who:empty) { display: none; }
.fl-voice__photo { flex: none; width: 52px; height: 52px; object-fit: cover; }
.fl-voice__who { display: grid; gap: 2px; }
.fl-voice__name { font-family: var(--fl-display); font-size: 15px; font-weight: 600; color: var(--fl-text); }
.fl-voice__role { font-size: 14px; color: var(--fl-muted); }

.fl-voices--carousel .fl-voices__track { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fl-voices--carousel .fl-voices__track::-webkit-scrollbar { display: none; }
.fl-voices--carousel .fl-voice { flex: 0 0 min(820px, 90%); padding: clamp(44px, 6vw, 80px); scroll-snap-align: start; }
.fl-voices--carousel .fl-voice__quote { font-family: var(--fl-display); font-size: clamp(21px, 2.2vw, 30px); font-weight: 400; line-height: 1.55; }

.fl-voices__nav { display: flex; gap: 2px; margin-top: 32px; }
.fl-voices__nav[hidden] { display: none; }

.fl-voices__step {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 0;
    background: var(--fl-surface);
    color: var(--fl-text);
    transition: background-color 0.3s, color 0.3s;
}

.fl-voices__step:hover { background: var(--fl-accent); color: var(--fl-on-accent); }

/* ---------- pricing: packages and their prices ---------- */

.fl-pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); align-items: stretch; gap: 2px; }

.fl-plan { display: flex; flex-direction: column; gap: 26px; padding: 44px 38px 40px; background: var(--fl-surface); }
.fl-plan__top { display: grid; gap: 14px; }
.fl-plan__name { font-family: var(--fl-display); font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fl-accent-text); }
.fl-plan__price { font-family: var(--fl-display); font-size: clamp(34px, 3.4vw, 50px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--fl-text); }
/* a price with terms (fitPrices in script.js) reads as text */
.fl-plan__price[data-fl-len="l"] { font-size: 19px; line-height: 1.45; letter-spacing: 0; }
.fl-plan__features { margin-top: 0; }
.fl-plan__features li { font-size: 16.5px; }
.fl-plan__note { font-size: 16px; color: var(--fl-muted); }
.fl-plan__button { margin-top: auto; }

/* three side by side: the middle one in the accent */
.fl-pricing--cards [data-count="3"] .fl-plan:nth-child(2) { background: var(--fl-accent); }
.fl-pricing--cards [data-count="3"] .fl-plan:nth-child(2) :is(.fl-plan__name, .fl-plan__price, .fl-plan__features li, .fl-plan__note) { color: var(--fl-on-accent); }
.fl-pricing--cards [data-count="3"] .fl-plan:nth-child(2) .fl-bullets li::before { background: var(--fl-on-accent); }
.fl-pricing--cards [data-count="3"] .fl-plan:nth-child(2) .fl-btn { border-color: var(--fl-on-accent); color: var(--fl-on-accent); }

.fl-pricing--rows .fl-pricing__grid { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--fl-line); }

.fl-pricing--rows .fl-plan {
    display: grid;
    grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.4fr) auto;
    align-items: start;
    gap: 18px 48px;
    padding: 36px 0;
    background: none;
    border-bottom: 1px solid var(--fl-line);
}

.fl-pricing--rows .fl-plan__note { grid-column: 2; }
.fl-pricing--rows .fl-plan__button { grid-column: 3; grid-row: 1; margin-top: 0; }

/* ---------- price-list: a menu or price list ---------- */

.fl-menu__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(48px, 7vw, 110px); }
.fl-menu--list .fl-menu__list { grid-template-columns: minmax(0, 1fr); max-width: 880px; }

.fl-dish { display: flex; align-items: flex-start; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--fl-line); }
.fl-dish__photo { flex: none; width: 76px; height: 76px; object-fit: cover; }
.fl-menu--list .fl-dish__photo { width: 110px; height: 110px; }
.fl-dish__body { display: grid; flex: 1; gap: 6px; min-width: 0; }
.fl-dish__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.fl-dish__name { font-family: var(--fl-display); font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--fl-text); }
.fl-dish__leader { flex: 1; min-width: 24px; border-bottom: 1px dashed var(--fl-line-2); transform: translateY(-5px); }
.fl-dish__leader:last-child { display: none; }
.fl-dish__price { flex: none; font-family: var(--fl-display); font-size: 18px; font-weight: 600; white-space: nowrap; color: var(--fl-accent-text); }
/* a price with sizes or terms (fitPrices in script.js) is a line of its own under the name, without the leader */
.fl-dish__price[data-fl-len="l"] { flex: 1 0 100%; font-size: 15px; letter-spacing: 0.02em; line-height: 1.5; white-space: normal; }
.fl-dish__line:has(> .fl-dish__price[data-fl-len="l"]) .fl-dish__leader { display: none; }
.fl-dish__text { font-size: 16px; line-height: 1.65; color: var(--fl-body); }

/* ---------- table: a table from our content ---------- */

.fl-table__frame { background: var(--fl-surface); border-top: 2px solid var(--fl-accent); }
.fl-table__frame table { font-size: 16.5px; line-height: 1.55; color: var(--fl-body); font-variant-numeric: tabular-nums; }
.fl-table__frame th { font-family: var(--fl-display); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fl-text); white-space: nowrap; }
.fl-table--striped tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--fl-text) 4%, transparent); }
.fl-table--comparison td:first-child { font-family: var(--fl-display); font-weight: 500; color: var(--fl-text); }
.fl-table--comparison th:last-child,
.fl-table--comparison td:last-child { background: color-mix(in srgb, var(--fl-accent) 16%, transparent); color: var(--fl-text); }
.fl-table__caption { margin-top: 16px; font-size: 14px; color: var(--fl-muted); }

/* a table in the stream, in Flare's line */
.fl-stream__media .sg-table { border-top: 2px solid var(--fl-accent); background: var(--fl-surface); }
.fl-stream__media .sg-table th { color: var(--fl-text); font-family: var(--fl-display); }

/* ---------- timeline: dated events ---------- */

.fl-timeline__track { position: relative; display: grid; gap: clamp(40px, 5vw, 64px); max-width: 880px; padding-left: 52px; }
.fl-timeline__track::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 7px; width: 1px; background: var(--fl-accent-deep); }

.fl-event { position: relative; display: grid; gap: 10px; }
.fl-event__dot { position: absolute; top: 9px; left: -50px; width: 14px; height: 14px; background: var(--fl-accent); }
.fl-event__date { font-family: var(--fl-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--fl-accent-strong); }
.fl-event__title { font-family: var(--fl-display); font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; line-height: 1.4; color: var(--fl-text); }
.fl-event__text { display: grid; gap: 10px; font-size: 17px; color: var(--fl-body); }
.fl-event__text:empty { display: none; }
.fl-event__photo { max-width: 440px; margin-top: 10px; }
.fl-event__photo img { width: 100%; height: auto; box-shadow: 0 40px 90px -40px var(--fl-shadow); }

.fl-timeline--horizontal .fl-timeline__track { display: flex; gap: 0; max-width: none; padding: 0 0 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.fl-timeline--horizontal .fl-timeline__track::before { display: none; }
.fl-timeline--horizontal .fl-event { flex: 0 0 min(310px, 80%); padding: 40px 32px 0 0; scroll-snap-align: start; }
.fl-timeline--horizontal .fl-event::before { content: ""; position: absolute; top: 7px; right: 0; left: 0; height: 1px; background: var(--fl-accent-deep); }
.fl-timeline--horizontal .fl-event__dot { top: 0; left: 0; z-index: 1; }

/* ---------- contact: how to reach us ---------- */

.fl-contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.fl-contact__grid:not(:has(.fl-contact__map)),
.fl-contact--stacked .fl-contact__grid { grid-template-columns: minmax(0, 1fr); }
.fl-contact--stacked .fl-contact__text { max-width: 820px; }

.fl-contact__intro { margin-top: clamp(20px, 3vw, 32px); }
.fl-contact__details { display: grid; gap: 12px; margin-top: 32px; }
.fl-contact__details:empty { display: none; }
.fl-contact__details li { position: relative; padding-left: 34px; font-family: var(--fl-display); font-size: 18px; font-weight: 500; color: var(--fl-text); }
.fl-contact__details li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 18px; height: 2px; background: var(--fl-accent); }
.fl-contact__hours { display: flex; align-items: flex-start; gap: 16px; margin-top: 28px; color: var(--fl-body); }
.fl-contact__hours > i { padding-top: 0.45em; color: var(--fl-accent-text); }
.fl-contact__hours > div { display: grid; gap: 2px; }
.fl-contact__hours:has(> div:empty) { display: none; }
.fl-contact__map { position: relative; min-width: 0; }
.fl-contact__map::before { content: ""; position: absolute; right: -26px; top: -26px; width: 196px; height: 126px; z-index: -1; background: var(--fl-dots); opacity: 0.3; }

/* ---------- tabs: one topic at a time ---------- */

.fl-tabs__list { display: flex; flex-wrap: wrap; gap: 0 40px; margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--fl-line); }
.fl-tabs__list[hidden] { display: none; }

.fl-tabs__tab {
    position: relative;
    padding: 0 0 20px;
    border: 0;
    background: none;
    color: var(--fl-muted);
    font-family: var(--fl-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.fl-page .fl-tabs__tab { text-transform: uppercase; letter-spacing: 0.22em; }
.fl-tabs__tab::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--fl-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--fl-ease); }
.fl-tabs__tab:hover,
.fl-tabs__tab[aria-selected="true"] { color: var(--fl-text); }
.fl-tabs__tab[aria-selected="true"]::after { transform: none; }

.fl-tabs__panels { display: grid; gap: clamp(48px, 6vw, 80px); }
.fl-tabs__panel { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.fl-tabs__panel:not(:has(.fl-tabs__photo)) { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.fl-tabs__label { grid-column: 1 / -1; font-family: var(--fl-display); font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fl-accent-text); }
.fl-page .fl-tabs__photo { margin-top: 0; }
.fl-tabs__photo img { aspect-ratio: 4 / 3; }
.fl-tabs__title { font-family: var(--fl-display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.4; color: var(--fl-text); }
.fl-tabs__copy { margin-top: 20px; }
.fl-tabs__text > .fl-tabs__copy:first-child { margin-top: 0; }

.fl-tabs__frame.is-tabbed .fl-tabs__panel:not(.is-on),
.fl-tabs__frame.is-tabbed .fl-tabs__label { display: none; }
.fl-tabs__frame.is-tabbed .fl-tabs__panel.is-on { animation: fl-rise 0.7s var(--fl-ease) both; }

.fl-tabs--side .fl-tabs__frame.is-tabbed { display: grid; grid-template-columns: minmax(200px, 0.3fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 72px); }
.fl-tabs--side .fl-tabs__frame.is-tabbed .fl-tabs__list { flex-direction: column; gap: 0; margin-bottom: 0; border-bottom: 0; border-left: 1px solid var(--fl-line); }
.fl-tabs--side .fl-tabs__tab { padding: 16px 0 16px 24px; text-align: left; }
.fl-tabs--side .fl-tabs__tab::after { top: 0; right: auto; bottom: 0; left: -1px; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; }
.fl-tabs--side .fl-tabs__tab[aria-selected="true"]::after { transform: none; }

/* ---------- banner: a one-line notice ---------- */

.fl-section.fl-banner { padding-block: 0; }
.fl-section.fl-banner::before,
.fl-section.fl-banner + .fl-section::before { display: none; }

.fl-banner__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 28px;
    background: var(--fl-surface);
    border-left: 2px solid var(--fl-accent);
}

.fl-banner__text { flex: 1; font-family: var(--fl-display); font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--fl-text); }

.fl-banner__link {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fl-accent-text);
    font-family: var(--fl-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.fl-page .fl-banner__link { text-transform: uppercase; letter-spacing: 0.24em; }
.fl-banner__link i { font-size: 12px; transition: transform 0.3s var(--fl-ease); }
.fl-banner__link:hover i { transform: translateX(4px); }

.fl-banner--highlight .fl-banner__inner { background: var(--fl-accent); border-left-color: var(--fl-on-accent); }
.fl-banner--highlight .fl-banner__text,
.fl-banner--highlight .fl-banner__link { color: var(--fl-on-accent); }

@keyframes fl-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .fl-logos--row.is-moving .fl-logos__list { animation: none; }
    .fl-tabs__frame.is-tabbed .fl-tabs__panel.is-on { animation: none; }
}

@media (max-width: 1000px) {
    .fl-bento__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fl-bento--mosaic .fl-tile:first-child { grid-column: span 2; grid-row: auto; }
    .fl-bento--mosaic .fl-bento__grid .fl-tile:not(:first-child) { grid-column: auto; }
}

@media (max-width: 900px) {
    .fl-row,
    .fl-contact__grid,
    .fl-tabs__panel { grid-template-columns: minmax(0, 1fr); }
    .fl-rows--alternate .fl-row:nth-child(even) .fl-row__media { order: 0; }

    .fl-mhero--split { align-items: flex-end; }
    .fl-mhero--split .fl-mhero__media { inset: 0 0 45% 0; }
    .fl-mhero--split .fl-mhero__media::after { background: linear-gradient(0deg, var(--fl-bg-2) 0%, transparent 45%); }
    .fl-mhero--split .fl-mhero__inner > * { max-width: none; }

    .fl-menu__list { grid-template-columns: minmax(0, 1fr); }
    .fl-pricing--rows .fl-plan { grid-template-columns: minmax(0, 1fr); }
    .fl-pricing--rows .fl-plan__note,
    .fl-pricing--rows .fl-plan__button { grid-column: auto; grid-row: auto; }

    .fl-tabs--side .fl-tabs__frame.is-tabbed { grid-template-columns: minmax(0, 1fr); }
    .fl-tabs--side .fl-tabs__frame.is-tabbed .fl-tabs__list { flex-direction: row; gap: 0 32px; border-left: 0; border-bottom: 1px solid var(--fl-line); }
    .fl-tabs--side .fl-tabs__tab { padding: 0 0 20px; }
    .fl-tabs--side .fl-tabs__tab::after { top: auto; right: 0; bottom: -1px; left: 0; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
}

@media (max-width: 640px) {
    .fl-bento__grid { grid-template-columns: minmax(0, 1fr); }
    .fl-bento--mosaic .fl-tile:first-child { grid-column: auto; }
    .fl-banner__inner { flex-wrap: wrap; }
    .fl-voice,
    .fl-plan { padding: 34px 26px 30px; }
    .fl-contact__map::before { display: none; }
}

/* ---------- actions: a component's links beside its buttons (contract 2) ---------- */

.fl-actions:empty,
.fl-cta__actions:empty { display: none; }
.fl-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.fl-cta .fl-cta__actions .fl-btn { margin-top: 0; }
.fl-btn--outline-light { background: transparent; border-color: var(--fl-on-accent); color: var(--fl-on-accent); }
.fl-btn--outline-light:hover,
.fl-btn--outline-light:focus-visible { background: var(--fl-on-accent); border-color: var(--fl-on-accent); color: var(--fl-accent); }
