/* ==========================================================
   ATLAST TECHNOLOGY — SITE STYLES
   Black / white / Atlast yellow. Loaded after Bootstrap 5.3.
   ========================================================== */

:root {
    --atlast-yellow: #ffd400;
    --atlast-yellow-soft: rgba(255, 212, 0, 0.12);

    --bg: #000;
    --surface: #0a0a0a;
    --surface-2: #121212;
    --line: #1f1f1f;
    --line-strong: #2e2e2e;

    --text: #fff;
    --muted: #a6a6a6;
    --subtle: #7a7a7a;

    --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    --gutter: clamp(20px, 5vw, 64px);
    --max: 1280px;
    --section-y: clamp(80px, 11vw, 140px);
    --header-h: 112px;

    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin: 0;
}

p { margin: 0; }

a { color: inherit; }

::selection { background: var(--atlast-yellow); color: #000; }

:focus-visible {
    outline: 2px solid var(--atlast-yellow);
    outline-offset: 3px;
}

img, video { max-width: 100%; display: block; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    background: var(--atlast-yellow);
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus { top: 12px; }

.wrap {
    width: 100%;
    max-width: calc(var(--max) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section--flush { border-top: 0; }

/* ---------- Type helpers ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--atlast-yellow);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.display-xl {
    font-size: clamp(3rem, 7.4vw, 6.5rem);
    line-height: .95;
    letter-spacing: -0.045em;
}

.display-lg {
    font-size: clamp(2.5rem, 5.6vw, 4.75rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.display-md {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.lead-text {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--muted);
    max-width: 620px;
    line-height: 1.7;
}

.text-accent { color: var(--atlast-yellow); }

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px 64px;
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head .lead-text { justify-self: end; }
.section-head .head-action { justify-self: end; }

/* ---------- Buttons ---------- */

.btn-atlast,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.btn-atlast {
    background: var(--atlast-yellow);
    border-color: var(--atlast-yellow);
    color: #000;
}

.btn-atlast:hover,
.btn-atlast:focus-visible {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.btn-atlast:disabled { opacity: .6; cursor: progress; }

.btn-ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--atlast-yellow);
    color: var(--atlast-yellow);
}

.btn-atlast .arrow,
.btn-ghost .arrow,
.link-arrow .arrow { transition: transform .25s var(--ease); }

.btn-atlast:hover .arrow,
.btn-ghost:hover .arrow,
.link-arrow:hover .arrow { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .95rem;
    color: var(--text);
    text-decoration: none;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(0, 0, 0, .78);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}

.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(0, 0, 0, .9); }
.site-header.header-hidden { transform: translateY(-100%); }

.atlast-navbar { min-height: var(--header-h); padding: 0; }
.atlast-navbar > .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }

.atlast-navbar .navbar-brand { padding: 0; margin: 0; display: flex; align-items: center; }
.nav-logo { height: 104px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .nav-logo { height: 80px; }
@media (max-width: 991.98px) { .nav-logo, .site-header.is-scrolled .nav-logo { height: 84px; } }

.atlast-navbar .nav-link {
    position: relative;
    padding: 8px 14px !important;
    font-size: .94rem;
    font-weight: 500;
    color: #d4d4d4;
    transition: color .2s ease;
}

.atlast-navbar .nav-link:hover,
.atlast-navbar .nav-link:focus-visible,
.atlast-navbar .nav-link.show { color: #fff; }

.atlast-navbar .nav-link[aria-current="page"] { color: var(--atlast-yellow); }

.atlast-navbar .dropdown-toggle::after {
    border: 0;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    vertical-align: 3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.atlast-navbar .dropdown-toggle.show::after { transform: rotate(-135deg) translate(-2px, -2px); }

.atlast-navbar .dropdown-menu {
    --bs-dropdown-bg: var(--surface);
    margin-top: 14px !important;
    padding: 8px;
    min-width: 280px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}

.atlast-navbar .dropdown-item {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 12px 14px;
    color: #e5e5e5;
    font-weight: 500;
}

.atlast-navbar .dropdown-item small {
    color: var(--atlast-yellow);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.atlast-navbar .dropdown-item:hover,
.atlast-navbar .dropdown-item:focus,
.atlast-navbar .dropdown-item[aria-current="page"] {
    background: var(--atlast-yellow);
    color: #000;
}

.atlast-navbar .dropdown-item:hover small,
.atlast-navbar .dropdown-item:focus small,
.atlast-navbar .dropdown-item[aria-current="page"] small { color: #000; }

.nav-cta { margin-left: 18px; min-height: 44px; padding: 0 20px; font-size: .9rem; }

.navbar-toggler {
    border: 1px solid var(--line-strong);
    border-radius: 0;
    padding: 10px 12px;
}

.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
    .atlast-navbar .navbar-collapse {
        padding: 12px 0 24px;
        border-top: 1px solid var(--line);
        margin-top: 12px;
    }
    .atlast-navbar .nav-link { padding: 14px 0 !important; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
    .atlast-navbar .dropdown-menu { margin: 0 0 8px !important; border: 0; box-shadow: none; background: transparent; padding: 0; }
    .atlast-navbar .dropdown-item { padding: 12px 0 12px 12px; }
    .nav-cta { margin: 20px 0 0; width: 100%; min-height: 52px; }
}

/* ---------- Hero (home) ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(64px, 9vw, 120px) clamp(72px, 9vw, 120px);
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 620px;
    height: 620px;
    right: -120px;
    top: -160px;
    background: radial-gradient(circle, rgba(255, 212, 0, .14), transparent 65%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.hero h1 { margin-bottom: 28px; font-size: clamp(2.75rem, 5.4vw, 5.25rem); }
.hero h1 .line { display: block; }
.hero .lead-text { margin-bottom: 40px; }

/* Framed media with yellow corner marks */

.frame {
    position: relative;
    padding: 14px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
}

.frame::before,
.frame::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    border-color: var(--atlast-yellow);
    border-style: solid;
    pointer-events: none;
}

.frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.frame video {
    width: 100%;
    height: auto;
    background: #000;
}

.frame-caption {
    display: flex;
    white-space: nowrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--subtle);
}

.frame-caption .live::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--atlast-yellow);
    vertical-align: 1px;
}

/* ---------- Marquee ---------- */

.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--surface);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    padding: 22px 20px;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    color: #d4d4d4;
}

.marquee-track span::after {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--atlast-yellow);
    transform: rotate(45deg);
}

@keyframes marquee { to { transform: translateX(-50%); } }

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: clamp(28px, 3.4vw, 44px);
    background: var(--bg);
    transition: background-color .35s var(--ease);
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: var(--atlast-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
}

.service-card:hover { background: var(--surface-2); }
.service-card:hover::before,
.service-card:focus-within::before { transform: scaleX(1); }

.service-card .num {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--atlast-yellow);
}

.service-card h3 {
    margin-top: auto;
    padding-top: 56px;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    letter-spacing: -0.03em;
}

.service-card h3 a { color: var(--text); text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }

.service-card p {
    margin-top: 14px;
    color: var(--muted);
    max-width: 440px;
}

.service-card .card-arrow {
    position: absolute;
    top: clamp(28px, 3.4vw, 44px);
    right: clamp(28px, 3.4vw, 44px);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    color: var(--text);
    transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.service-card:hover .card-arrow {
    background: var(--atlast-yellow);
    border-color: var(--atlast-yellow);
    color: #000;
    transform: rotate(-45deg);
}

/* ---------- About ---------- */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: start;
}

.about-lead {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 28px;
}

.about-body { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }

.cap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }

.cap-list li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line-strong);
}

.cap-list .num { color: var(--atlast-yellow); font-size: .8rem; font-weight: 700; letter-spacing: .14em; padding-top: 6px; }
.cap-list h3 { font-size: 1.5rem; margin-bottom: 8px; }
.cap-list p { color: var(--muted); }

/* ---------- Yellow statement band ---------- */

.band {
    background: var(--atlast-yellow);
    color: #000;
    padding-block: clamp(72px, 9vw, 120px);
}

.band .eyebrow { color: #000; }

.band h2 {
    color: #000;
    max-width: 980px;
    margin-bottom: 40px;
}

.band .btn-atlast {
    background: #000;
    border-color: #000;
    color: #fff;
}

.band .btn-atlast:hover,
.band .btn-atlast:focus-visible { background: #fff; border-color: #fff; color: #000; }

.band :focus-visible { outline-color: #000; }

.band-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px 64px;
    align-items: end;
}

.band-grid h2 { margin-bottom: 0; }

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

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    min-height: 340px;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.post-card:hover { border-color: var(--atlast-yellow); transform: translateY(-4px); }

.post-card .tag {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--atlast-yellow);
}

.post-card h3 {
    margin: 28px 0 14px;
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); }
.post-card .link-arrow { margin-top: auto; padding-top: 28px; }

/* ---------- Newsletter ---------- */

.newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px 72px;
    align-items: center;
    padding: clamp(32px, 5vw, 64px);
    border: 1px solid var(--line-strong);
    background:
        radial-gradient(circle at 100% 0, var(--atlast-yellow-soft), transparent 45%),
        var(--surface);
}

.newsletter h2 { margin-bottom: 16px; }
.newsletter p:not(.eyebrow):not(.form-status) { color: var(--muted); max-width: 520px; }

.subscribe-form label {
    display: block;
    margin-bottom: 10px;
    font-size: .85rem;
    font-weight: 600;
    color: #d4d4d4;
}

.subscribe-row { display: flex; gap: 0; }

.field,
.subscribe-row input {
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    background: #000;
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: 0;
    font: inherit;
    transition: border-color .2s ease;
}

.subscribe-row input { border-right: 0; }

.field::placeholder,
.subscribe-row input::placeholder { color: var(--subtle); }

.field:focus,
.subscribe-row input:focus {
    outline: none;
    border-color: var(--atlast-yellow);
}

.subscribe-row .btn-atlast { min-height: 56px; flex-shrink: 0; }

.form-status {
    min-height: 1.5em;
    margin-top: 12px;
    font-size: .9rem;
    color: var(--muted);
}

.form-status.is-success { color: var(--atlast-yellow); }
.form-status.is-error { color: #ff8a80; }

/* ---------- Service page ---------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(72px, 10vw, 140px) clamp(64px, 8vw, 110px);
    isolation: isolate;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 10%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 10%, transparent 70%);
}

.breadcrumb-trail {
    display: flex;
    gap: 10px;
    margin-bottom: 36px;
    font-size: .85rem;
    color: var(--subtle);
}

.breadcrumb-trail a { color: var(--muted); text-decoration: none; }
.breadcrumb-trail a:hover { color: var(--atlast-yellow); }

.page-hero h1 { max-width: 1050px; margin-bottom: 28px; }
.page-hero .lead-text { margin-bottom: 40px; max-width: 680px; }

.video-wrap { max-width: 1040px; margin-inline: auto; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line-strong);
}

.feature-grid article {
    padding: 36px 28px 8px 0;
    margin-right: 28px;
    border-right: 1px solid var(--line);
}

.feature-grid article:last-child { border-right: 0; margin-right: 0; }

.feature-grid .num { color: var(--atlast-yellow); font-size: .8rem; font-weight: 700; letter-spacing: .14em; }
.feature-grid h3 { margin: 40px 0 12px; font-size: 1.35rem; }
.feature-grid p { color: var(--muted); }

.other-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line-strong);
}

.other-services a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 28px 24px 28px 0;
    border-bottom: 1px solid var(--line-strong);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: color .2s ease, padding-left .3s var(--ease);
}

.other-services a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.other-services a:hover { color: var(--atlast-yellow); }

/* ---------- Contact page ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: start;
}

.contact-grid h1 { margin-bottom: 24px; }

.steps { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }

.steps li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line-strong);
}

.steps .num { color: var(--atlast-yellow); font-size: .8rem; font-weight: 700; letter-spacing: .14em; padding-top: 3px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.steps p { color: var(--muted); font-size: .95rem; }

.form-panel {
    padding: clamp(28px, 4vw, 48px);
    background: var(--surface);
    border: 1px solid var(--line-strong);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form-grid .span-2 { grid-column: 1 / -1; }

.form-field label {
    display: block;
    margin-bottom: 10px;
    font-size: .85rem;
    font-weight: 600;
    color: #d4d4d4;
}

.form-field label .opt { color: var(--subtle); font-weight: 500; }

textarea.field { resize: vertical; min-height: 170px; }

.form-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 28px;
}

.form-foot .form-status { margin-top: 0; }

/* ---------- Blog / article ---------- */

.article { padding-block: clamp(56px, 8vw, 100px) var(--section-y); }

.article-wrap { max-width: 760px; margin-inline: auto; }

.article-back {
    display: flex;
    width: fit-content;
    gap: 8px;
    margin-bottom: 48px;
    color: var(--muted);
    font-size: .92rem;
    text-decoration: none;
}

.article-back:hover { color: var(--atlast-yellow); }

.article h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.article-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding-block: 18px;
    margin-bottom: 40px;
    border-block: 1px solid var(--line);
    font-size: .85rem;
    color: var(--subtle);
}

.article-intro {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: #e5e5e5;
    margin-bottom: 16px;
}

.article-body h2 {
    position: relative;
    margin: 56px 0 14px;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    letter-spacing: -0.025em;
}

.article-body p {
    color: #bdbdbd;
    font-size: 1.075rem;
    line-height: 1.85;
}

.article-cta {
    margin-top: 72px;
    padding: clamp(28px, 4vw, 44px);
    background: var(--atlast-yellow);
    color: #000;
}

.article-cta h2 { color: #000; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 24px; }
.article-cta .btn-atlast { background: #000; border-color: #000; color: #fff; }
.article-cta .btn-atlast:hover { background: #fff; border-color: #fff; color: #000; }

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding-block: 72px 32px;
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.footer-brand img { width: 190px; height: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); max-width: 320px; }

.footer-col h2 {
    margin-bottom: 18px;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--subtle);
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #d4d4d4; text-decoration: none; }
.footer-col a:hover { color: var(--atlast-yellow); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: .85rem;
    color: var(--subtle);
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .frame-caption span:last-child { display: none; }
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-grid article:nth-child(2) { border-right: 0; margin-right: 0; }
    .feature-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .hero-grid,
    .about-grid,
    .contact-grid,
    .newsletter,
    .section-head,
    .band-grid { grid-template-columns: minmax(0, 1fr); }

    .section-head .lead-text { justify-self: start; }
    .section-head .head-action { justify-self: start; }
    .services-grid { grid-template-columns: minmax(0, 1fr); }
    .service-card { min-height: 260px; }
    .other-services { grid-template-columns: minmax(0, 1fr); }
    .other-services a + a { padding-left: 0; border-left: 0; }
}

@media (max-width: 640px) {
    .post-grid,
    .feature-grid,
    .form-grid { grid-template-columns: minmax(0, 1fr); }

    .feature-grid article { border-right: 0; margin-right: 0; padding-right: 0; }
    .feature-grid article + article { border-top: 1px solid var(--line); }
    .feature-grid h3 { margin-top: 24px; }

    .subscribe-row { flex-direction: column; gap: 10px; }
    .subscribe-row input { border-right: 1px solid var(--line-strong); }

    .btn-row > * { flex: 1 1 100%; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cap-list li { grid-template-columns: 44px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Registered trademark in the footer */
.footer-bottom .brand-name { color: var(--text); font-weight: 600; }

.footer-bottom .reg {
    top: -0.7em;
    margin-left: 2px;
    font-size: 0.95em;
    font-weight: 700;
    color: var(--atlast-yellow);
}

/* ---------- Client portal ---------- */

.nav-link-client { display: inline-flex !important; align-items: center; gap: 8px; }

.client-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--atlast-yellow);
}

.portal-card h2 {
    margin-top: auto;
    padding-top: 56px;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    letter-spacing: -0.03em;
}

.portal-card .btn-atlast { align-self: flex-start; margin-top: 32px; }

.portal-status {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 18px;
    border: 1px solid var(--line-strong);
    border-left: 3px solid var(--atlast-yellow);
    background: var(--surface);
    color: #d4d4d4;
    font-size: .95rem;
}

.portal-status[hidden] { display: none; }

.secure-note {
    margin-top: 20px;
    font-size: .9rem;
    color: var(--muted);
}

/* Client portal: monthly service plans */

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3vw, 40px);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color .3s var(--ease);
}

.plan-card:hover { border-color: var(--atlast-yellow); }

.plan-card .num { color: var(--atlast-yellow); font-size: .8rem; font-weight: 700; letter-spacing: .14em; }
.plan-card h3 { margin-top: 40px; font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; }
.plan-desc { margin-top: 10px; color: var(--muted); }

.plan-price {
    margin-top: 28px;
    padding-block: 18px;
    border-block: 1px solid var(--line-strong);
    color: var(--muted);
    font-size: 1rem;
}

.plan-price strong {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.plan-list { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 12px; }

.plan-list li {
    position: relative;
    padding-left: 26px;
    color: #d4d4d4;
}

.plan-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--atlast-yellow);
    border-bottom: 2px solid var(--atlast-yellow);
    transform: rotate(-45deg);
}

.plan-card .link-arrow { margin-top: auto; }

@media (max-width: 1100px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } }

.plan-setup {
    display: block;
    margin-top: 6px;
    font-size: .85rem;
    color: var(--subtle);
}

.plan-setup[hidden] { display: none; }

.plan-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .plan-grid--two { grid-template-columns: minmax(0, 1fr); } }

/* Client sign-in */

.account-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    margin-bottom: 28px;
    font-size: .88rem;
    color: var(--muted);
}

.account-bar[hidden] { display: none; }
.account-bar a { color: var(--atlast-yellow); font-weight: 600; text-decoration: none; }
.account-bar a:hover { text-decoration: underline; }

.login-panel h2 { margin-bottom: 12px; }
.login-panel .login-denied { display: block; margin: 0 0 28px; }
.login-panel .login-denied[hidden] { display: none; }
.login-copy { color: var(--muted); margin-bottom: 28px; }
.login-btn { width: 100%; margin-bottom: 12px; }
.login-btn[hidden] { display: none; }
.login-help { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.login-help a { color: var(--atlast-yellow); }

.provider-mark {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 4px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: .75rem;
    font-weight: 700;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 20px;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--subtle);
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line-strong);
}

@media (max-width: 900px) { .login-panel { order: -1; } }

.portal-status a { color: var(--atlast-yellow); font-weight: 600; }

/* Legal pages */
.legal-body ul { margin: 12px 0 0; padding-left: 22px; color: #bdbdbd; }
.legal-body li { margin-bottom: 10px; line-height: 1.75; }
.legal-body strong { color: #e5e5e5; }
.legal-body a { color: var(--atlast-yellow); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--subtle); text-decoration: none; }
.footer-legal a:hover { color: var(--atlast-yellow); }
