/* =========================================================================
   Suitiee — the sign-in shell.

   One stylesheet for every screen a person sees before they are signed in: the
   five panels' Filament pages (sign in, create account, forgot / reset password),
   the two phone-code screens and the account-type chooser at /signin. The Filament
   pages load it after suitiee-panel.css through the STYLES_AFTER hook, on auth
   routes only; the plain Blade screens load it directly and use the same class
   names, so the two kinds of page are one design and not two.

   The design, in a sentence: paper, type and hairlines. No card, no gradient, no
   pattern. A slim brand row at the top, a narrow start-aligned column, a quiet
   footer; from 1024px the column shares the screen with the landing's photograph.
   Everything the eye is meant to land on is a weight or a size, not a shadow.

   Rules are written against Filament's own class names where a Filament page is
   the source (.fi-simple-*, .fi-fo-field, .fi-input-wrp, .fi-btn) and against
   .au-* classes for what this shell adds (brand row, footer, aside, doors, plain
   forms). Filament's compiled CSS is layered; these rules are not, so they win
   without !important. Specificity is raised only where Filament's own selector
   is compound (the focus ring).
   ========================================================================= */

.fi-simple-layout {
    --au-paper: #FAF7F0;
    --au-surface: #FFFFFF;
    --au-ink: #2B1D14;
    --au-ink-2: #5A3F2E;
    --au-ink-3: #8A6A52;
    --au-line: #E6DCC8;
    --au-line-strong: #C9BBA5;
    --au-accent: #C2703D;
    --au-accent-hover: #A85A30;
    --au-accent-active: #8A4727;
    --au-focus: rgba(194, 112, 61, 0.22);
    --au-error: #B3261E;
    --au-error-line: #EAC3BC;
    --au-error-bg: #FBF1EE;
    --au-ok: #1F6B4A;
    --au-ok-line: #BFD9CB;
    --au-ok-bg: #EFF7F2;
    --au-on-accent: #FFFFFF;
    --au-radius: 6px;
    --au-control: 2.75rem;
    --au-column: 25rem;
    --au-sans: 'Thmanyah Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --au-serif: 'Playfair Display', 'Thmanyah Sans', Georgia, serif;

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: stretch;
    min-height: 100dvh;
    background: var(--au-paper);
    background-image: none;
    color: var(--au-ink);
    font-family: var(--au-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.dark .fi-simple-layout {
    --au-paper: #17120D;
    --au-surface: #201913;
    --au-ink: #F1EAE1;
    --au-ink-2: #C9BBAA;
    --au-ink-3: #9C8D7B;
    --au-line: #33291F;
    --au-line-strong: #4D3F32;
    --au-accent: #CD8253;
    --au-accent-hover: #DBA07C;
    --au-accent-active: #C2703D;
    --au-focus: rgba(205, 130, 83, 0.32);
    --au-error: #F2A49A;
    --au-error-line: #5A2B26;
    --au-error-bg: #2A1A17;
    --au-ok: #8FD1AE;
    --au-ok-line: #24483A;
    --au-ok-bg: #16231D;
    --au-on-accent: #1A110B;
    background-image: none;
}
/* Arabic is a joined script: no tracking anywhere, and the display face has no
   Arabic glyphs, so headings fall through to Thmanyah Sans. */
[dir='rtl'] .fi-simple-layout { --au-serif: 'Thmanyah Sans', Georgia, serif; }

/* The plain Blade screens load no CSS reset; the few defaults the shell relies on
   are set here for both kinds of page. */
.fi-simple-layout, .fi-simple-layout *, .fi-simple-layout *::before, .fi-simple-layout *::after { box-sizing: border-box; }
.fi-simple-layout h1, .fi-simple-layout p { margin: 0; }
.fi-simple-layout img, .fi-simple-layout svg { display: block; }
.fi-simple-layout :where(button, input) { font-family: inherit; font-size: inherit; color: inherit; margin: 0; }

/* ---- The brand row ---------------------------------------------------- */
.au-top {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: calc(var(--au-column) + 3rem);
    margin-inline: auto;
    padding: 1.25rem 1.5rem 0;
}
.au-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--au-ink);
    text-decoration: none;
}
.au-brand__mark { height: 1.625rem; width: auto; flex: none; }
.au-brand__name { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.au-brand__img { height: 1.75rem; width: auto; }
.au-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--au-ink);
    text-decoration: none;
    padding: 0.38rem 0.8rem 0.38rem 0.6rem;
    border: 1px solid var(--au-line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.au-lang[dir='rtl'] { padding: 0.38rem 0.6rem 0.38rem 0.8rem; }
.au-lang svg { width: 1rem; height: 1rem; flex: none; color: #A85A30; }
.au-lang:hover { color: var(--au-ink); background: #fff; border-color: #DBA07C; }

/* ---- The column --------------------------------------------------------- */
.fi-simple-main-ctn {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 2rem 1.5rem 2.5rem;
}
.fi-simple-main {
    width: 100%;
    max-width: var(--au-column);
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
}
.fi-simple-page-content { display: grid; row-gap: 1.75rem; }

/* Header: a title and one line under it, both start-aligned. The panel logo is
   not drawn here -- the brand row above carries it -- but Filament's own pages
   would still emit it, so it is switched off for good measure. */
.fi-simple-header { display: flex; flex-direction: column; align-items: flex-start; text-align: start; gap: 0; }
.fi-simple-header .fi-logo { display: none; }
.fi-simple-header-heading {
    margin: 0;
    font-family: var(--au-serif);
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 1.2;
    letter-spacing: -0.012em;
    color: var(--au-ink);
    text-align: start;
    text-wrap: balance;
}
[dir='rtl'] .fi-simple-header-heading { font-weight: 800; line-height: 1.35; }
.fi-simple-header-subheading {
    margin: 0.625rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--au-ink-2);
    text-align: start;
    text-wrap: pretty;
}
.fi-simple-header-subheading a,
.au-note a,
.au-line-text a {
    color: var(--au-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--au-line-strong);
}
.fi-simple-header-subheading a:hover,
.au-note a:hover,
.au-line-text a:hover { text-decoration-color: currentColor; }

/* ---- Fields (Filament and plain) ---------------------------------------- */
.fi-simple-layout .fi-fo-field,
.au-field { display: grid; row-gap: 0.375rem; }
.fi-simple-layout .fi-fo-field-label-ctn { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.fi-simple-layout .fi-fo-field-label,
.au-label {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--au-ink);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.fi-simple-layout .fi-fo-field-label-content { color: var(--au-ink); }
/* A form where everything is required needs no asterisks; the one optional field
   says so in words (fields.email_optional_help). */
.fi-simple-layout .fi-fo-field-label-required-mark { display: none; }

.fi-simple-layout .fi-input-wrp,
.au-input {
    display: flex;
    align-items: center;
    min-height: var(--au-control);
    background: var(--au-surface);
    border: 1px solid var(--au-line-strong);
    border-radius: var(--au-radius);
    box-shadow: none;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    transition: border-color 0.15s;
}
.fi-simple-layout .fi-input-wrp:hover,
.au-input:hover { border-color: var(--au-ink-3); }
.fi-simple-layout .fi-simple-main .fi-fo-field .fi-input-wrp:not(.fi-disabled):focus-within,
.au-input:focus {
    border-color: var(--au-accent);
    box-shadow: 0 0 0 3px var(--au-focus);
    --tw-ring-shadow: 0 0 #0000;
    outline: none;
}
.fi-simple-layout .fi-input-wrp.fi-invalid,
.au-input[aria-invalid='true'] { border-color: var(--au-error); }
/* A field that cannot be edited (the address on the set-password page) reads as such. */
.fi-simple-layout .fi-input-wrp.fi-disabled { background: var(--au-paper); border-color: var(--au-line); }
.fi-simple-layout .fi-input-wrp.fi-disabled input.fi-input:not([type='checkbox']):not([type='radio']) { color: var(--au-ink-2); -webkit-text-fill-color: var(--au-ink-2); }
.fi-simple-layout .fi-simple-main .fi-fo-field .fi-input-wrp.fi-invalid:not(.fi-disabled):focus-within,
.au-input[aria-invalid='true']:focus { border-color: var(--au-error); box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.16); }
/* The border belongs to the wrapper alone. The panel theme gives every input.fi-input
   its own border and radius (a rule for bare inputs on the settings page, specificity
   .fi-body input.fi-input:not():not()), which inside the wrapper drew a second, rounder
   line; this selector outranks it. */
.fi-simple-layout .fi-input-wrp input.fi-input:not([type='checkbox']):not([type='radio']),
.fi-simple-layout .fi-input-wrp input.fi-input:not([type='checkbox']):not([type='radio']):focus {
    width: 100%;
    padding: 0 0.875rem;
    height: calc(var(--au-control) - 2px);
    line-height: calc(var(--au-control) - 2px);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--au-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}
.au-input {
    width: 100%;
    height: var(--au-control);
    padding: 0 0.875rem;
    font-size: 0.9375rem;
    color: var(--au-ink);
    outline: none;
    appearance: none;
}
.fi-simple-layout input.fi-input::placeholder,
.au-input::placeholder { color: var(--au-ink-3); opacity: 0.8; }
.fi-simple-layout .fi-input-wrp input.fi-input:read-only { color: var(--au-ink-2); }
.fi-simple-layout .fi-input-wrp-suffix { padding-inline-end: 0.5rem; border: 0; }
.fi-simple-layout .fi-input-wrp .fi-icon-btn { color: var(--au-ink-3); }
.fi-simple-layout .fi-input-wrp .fi-icon-btn:hover { color: var(--au-ink); }
/* The label's inline hint, which Filament uses for "Forgot password?". */
.fi-simple-layout .fi-fo-field-label-ctn .fi-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--au-ink-2);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--au-line-strong);
}
.fi-simple-layout .fi-fo-field-label-ctn .fi-link:hover { color: var(--au-ink); text-decoration-color: currentColor; }
.fi-simple-layout .fi-fo-field-label-ctn .fi-link .fi-link-label { color: inherit; }

.fi-simple-layout .fi-fo-field-wrp-error-message,
.au-error {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--au-error);
}
.fi-simple-layout .fi-fo-field-wrp-helper-text,
.fi-simple-layout .fi-fo-field-helper-text,
.au-help {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--au-ink-3);
}

/* Checkboxes: the terms tick and "remember me". */
.fi-simple-layout .fi-checkbox-input {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.05rem;
    border: 1px solid var(--au-line-strong);
    border-radius: 4px;
    background-color: var(--au-surface);
    color: var(--au-accent);
    box-shadow: none;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    cursor: pointer;
}
.fi-simple-layout .fi-checkbox-input:checked { background-color: var(--au-accent); border-color: var(--au-accent); }
.fi-simple-layout .fi-checkbox-input:focus,
.fi-simple-layout .fi-checkbox-input:checked:focus { box-shadow: 0 0 0 3px var(--au-focus); --tw-ring-shadow: 0 0 #0000; border-color: var(--au-accent); outline: none; }
.fi-simple-layout .fi-fo-field-label:has(.fi-checkbox-input) { font-weight: 500; align-items: flex-start; line-height: 1.45; }
.fi-simple-layout .fi-fo-field-label:has(.fi-checkbox-input) .fi-fo-field-label-content { font-size: 0.875rem; color: var(--au-ink-2); }
.fi-simple-layout .fi-fo-field-label .fi-link { color: var(--au-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--au-line-strong); }
.fi-simple-layout .fi-fo-field-label .fi-link:hover { text-decoration-color: currentColor; }

/* Form rhythm: Filament's grid gap between fields, and the gap before the button. */
.fi-simple-layout .fi-sc-form > .fi-sc { row-gap: 1.125rem; }
.fi-simple-layout .fi-sc-form { display: grid; row-gap: 1.375rem; }
.fi-simple-layout .fi-sc-form .fi-ac.fi-width-full { gap: 0.75rem; }

/* ---- Buttons ------------------------------------------------------------- */
.fi-simple-layout .fi-btn,
.au-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: var(--au-control);
    padding: 0 1.125rem;
    border-radius: var(--au-radius);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    /* Colour eases; the focus ring does not -- a keyboard user should see it at once. */
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.fi-simple-layout .fi-btn:focus-visible,
.au-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--au-focus); }
.au-btn { width: 100%; border: 1px solid transparent; }
/* Flat. The panel theme gives its solid buttons a sheen, a glow and a press; the
   selectors here repeat its :not() chain so they outrank it in both themes. */
.fi-simple-layout .fi-btn.fi-color-primary:not(.fi-btn-outlined):not(.fi-link),
.au-btn--primary {
    background: var(--au-accent);
    background-image: none;
    border-color: var(--au-accent);
    color: var(--au-on-accent);
    box-shadow: none;
    filter: none;
    transform: none;
}
.fi-simple-layout .fi-btn.fi-color-primary:not(.fi-btn-outlined):not(.fi-link):hover,
.au-btn--primary:hover { background: var(--au-accent-hover); background-image: none; border-color: var(--au-accent-hover); color: var(--au-on-accent); box-shadow: none; filter: none; }
.fi-simple-layout .fi-btn.fi-color-primary:not(.fi-btn-outlined):not(.fi-link):active,
.au-btn--primary:active { background: var(--au-accent-active); border-color: var(--au-accent-active); transform: none; }
.fi-simple-layout .fi-btn.fi-color-primary:not(.fi-btn-outlined):not(.fi-link):focus-visible { box-shadow: 0 0 0 3px var(--au-focus); }
.fi-simple-layout .fi-btn.fi-color-primary .fi-btn-label { color: inherit; }
.fi-simple-layout .fi-btn.fi-color-primary:disabled,
.fi-simple-layout .fi-processing .fi-btn.fi-color-primary,
.au-btn--primary:disabled,
.au-btn--primary[aria-busy='true'] { opacity: 0.65; cursor: progress; }
.fi-simple-layout .fi-btn .fi-loading-indicator { color: inherit; }

/* The other doors: bordered, the same height as the primary, a mark at the start.
   The wrapper stacks the doors, the small print under them and the "or" line. */
.au-doors-wrap { display: grid; row-gap: 1rem; }
.au-doors { display: grid; row-gap: 0.625rem; }
.au-btn--secondary {
    background: var(--au-surface);
    border-color: var(--au-line-strong);
    color: var(--au-ink);
}
.au-btn--secondary:hover { border-color: var(--au-ink-3); background: var(--au-surface); }
.au-btn--secondary:active { background: var(--au-paper); }
.au-btn__icon { width: 1.125rem; height: 1.125rem; flex: none; }
.au-btn__icon--stroke { stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* One line of small print under a door that opens an account with no form. */
.au-fine {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--au-ink-3);
    text-align: start;
    text-wrap: pretty;
}
.au-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.au-fine a:hover { color: var(--au-ink); }
.au-doors + .au-fine { margin-top: -0.375rem; }

/* "or": a hairline broken by a word. */
.au-or {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin: 0;
    font-size: 0.8125rem;
    color: var(--au-ink-3);
}
.au-or::before, .au-or::after { content: ''; flex: 1; height: 1px; background: var(--au-line); }

/* Status rows: what a door said on its way back (a Google refusal, a number that
   is nobody's), and the one good message (a code was re-sent). */
.au-status {
    margin: 0;
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--au-error-line);
    border-radius: var(--au-radius);
    background: var(--au-error-bg);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--au-error);
}
.au-status--ok { border-color: var(--au-ok-line); background: var(--au-ok-bg); color: var(--au-ok); }
.au-status a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Plain text lines inside the column (the register offer, "not you?"). */
.au-line-text { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--au-ink-2); }
.au-note {
    margin: 0;
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--au-line);
    border-radius: var(--au-radius);
    background: var(--au-surface);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--au-ink-2);
}
.au-note strong { color: var(--au-ink); font-weight: 600; direction: ltr; unicode-bidi: isolate; }

/* Plain forms (the phone screens). */
.au-form { display: grid; row-gap: 1.125rem; }
.au-form > .au-btn { margin-top: 0.25rem; }
.au-input--code {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-align: center;
    font-variant-numeric: tabular-nums;
    height: 3.25rem;
    direction: ltr;
}
[dir='rtl'] .au-input--code { letter-spacing: 0.35em !important; }
.au-input--tel { direction: ltr; text-align: start; font-variant-numeric: tabular-nums; }
[dir='rtl'] .au-input--tel { text-align: right; }
.au-inline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.5rem; font-size: 0.875rem; color: var(--au-ink-2); }
.au-stack { display: grid; row-gap: 0.375rem; }
.au-stack--loose { row-gap: 0.875rem; }
.au-link {
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--au-ink);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--au-line-strong);
}
.au-link:hover { text-decoration-color: currentColor; }
.au-link:disabled { color: var(--au-ink-3); font-weight: 500; text-decoration: none; cursor: default; }
.au-link:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--au-focus); border-radius: 3px; }

/* Filament's links elsewhere in the column ("Have a referral code?", "Not you?"). */
.fi-simple-layout .fi-sc-actions .fi-link,
.fi-simple-layout .fi-sc-text .fi-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--au-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--au-line-strong);
}
.fi-simple-layout .fi-sc-actions .fi-link:hover,
.fi-simple-layout .fi-sc-text .fi-link:hover { text-decoration-color: currentColor; }
.fi-simple-layout .fi-sc-actions .fi-link .fi-link-label,
.fi-simple-layout .fi-sc-text .fi-link .fi-link-label { color: inherit; }
.fi-simple-layout .fi-sc-text { font-size: 0.875rem; line-height: 1.5; color: var(--au-ink-2); }

/* The account-type list at /signin. */
.au-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--au-line); }
.au-list__item { border-bottom: 1px solid var(--au-line); }
.au-list__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0.25rem;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.15s;
}
.au-list__link:hover { background: color-mix(in srgb, var(--au-surface) 60%, transparent); }
.au-list__link:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--au-focus); border-radius: var(--au-radius); }
.au-list__title { display: block; font-size: 1rem; font-weight: 700; color: var(--au-ink); }
.au-list__desc { display: block; margin-top: 0.15rem; font-size: 0.875rem; line-height: 1.45; color: var(--au-ink-2); }
.au-list__arrow { flex: none; width: 1.125rem; height: 1.125rem; color: var(--au-ink-3); transition: color 0.15s; }
.au-list__link:hover .au-list__arrow { color: var(--au-ink); }
[dir='rtl'] .au-list__arrow { transform: scaleX(-1); }

/* ---- The footer --------------------------------------------------------- */
.au-foot {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    width: 100%;
    max-width: calc(var(--au-column) + 3rem);
    margin-inline: auto;
    padding: 0 1.5rem 1.5rem;
    font-size: 0.8125rem;
    color: var(--au-ink-3);
}
.au-foot__links { display: flex; align-items: center; gap: 0.5rem 1rem; }
.au-foot__switch { margin-inline-start: auto; }
.au-foot a { color: var(--au-ink-3); text-decoration: none; transition: color 0.15s; }
.au-foot a:hover { color: var(--au-ink); }

/* ---- The photograph, from 1024px ----------------------------------------- */
.au-aside { display: none; }
@media (min-width: 1024px) {
    .fi-simple-layout { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
    .au-top, .fi-simple-main-ctn, .au-foot { grid-column: 1; }
    .fi-simple-main-ctn { align-items: center; padding: 2.5rem 2rem 3rem; }
    .au-aside {
        display: block;
        position: sticky;
        top: 0;
        align-self: start;
        grid-column: 2;
        grid-row: 1 / span 3;
        height: 100dvh;
        overflow: hidden;
        background: #3B2A1E;
    }
    .au-aside__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 60% 50%;
    }
    .au-aside::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(28, 18, 11, 0.62) 0%, rgba(28, 18, 11, 0.18) 38%, rgba(28, 18, 11, 0) 60%);
    }
    .au-aside__caption {
        position: absolute;
        inset-inline: 0;
        bottom: 0;
        z-index: 1;
        margin: 0;
        padding: 2.25rem 2.5rem 2.25rem;
        max-width: 34rem;
        color: #FFFFFF;
    }
    .au-aside__line {
        margin: 0;
        font-family: var(--au-serif);
        font-weight: 600;
        font-size: 1.625rem;
        line-height: 1.3;
        letter-spacing: -0.01em;
        text-wrap: balance;
    }
    [dir='rtl'] .au-aside__line { font-weight: 800; line-height: 1.5; }
    .au-aside__sub { margin: 0.6rem 0 0; font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
}
@media (min-width: 1440px) {
    .fi-simple-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* From a tablet up the column sits in the middle of the height; on a phone it starts
   at the top, so the keyboard does not shove it about. */
@media (min-width: 640px) {
    .fi-simple-main-ctn { align-items: center; }
}

/* ---- Small screens -------------------------------------------------------- */
@media (max-width: 639px) {
    .fi-simple-header-heading { font-size: 1.625rem; }
    .au-top { padding: 1rem 1.25rem 0; }
    .fi-simple-main-ctn { padding: 1.75rem 1.25rem 2rem; }
    .au-foot { padding: 0 1.25rem 1.25rem; }
}

/* ---- Motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .fi-simple-layout *, .fi-simple-layout *::before, .fi-simple-layout *::after { transition: none !important; }
}
