/*
 * Iris Casino Design System
 * Dark minimalist casino interface with rose-gold CandyCoins accents.
 */

/* ============================================
   TOKENS - Dark-first palette, typography, spacing
   ============================================ */

:root,
.dark {
    --background: #0b0f14;
    --foreground: #f4f0e8;
    --card: #151a20;
    --card-foreground: #f4f0e8;
    --popover: #10151b;
    --popover-foreground: #f4f0e8;
    --primary: #b87942;
    --primary-foreground: #11100e;
    --secondary: #1a2028;
    --secondary-foreground: #f4f0e8;
    --muted: #24303b;
    --muted-foreground: #c4ccd6;
    --accent: #d99a5b;
    --accent-foreground: #11100e;
    --destructive: #e11d48;
    --destructive-foreground: #ffffff;
    --border: #33404c;
    --input: #111820;
    --ring: #f0b46c;

    --rose: #d86f9f;
    --rose-soft: #f0a4c4;
    --gold: #d99a5b;
    --pearl: #f4f0e8;
    --smoke: #c4ccd6;
    --obsidian: #0b0f14;
    --graphite: #151a20;

    --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Playfair Display", Georgia, serif;

    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5.5rem;

    --radius-sm: 0.75rem;
    --radius-md: 1.125rem;
    --radius-lg: 1.5rem;
    --radius-full: 999px;

    --shadow-soft: 0 20px 70px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 36px rgba(217, 154, 91, 0.22);
    --container: 1180px;
    --header-height: 72px;
}

/* ============================================
   RESET & OVERFLOW SAFETY - Prevent viewport leaks
   ============================================ */

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

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: var(--background);
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--foreground);
    background:
        radial-gradient(circle at 15% 0%, rgba(216, 111, 159, 0.12), transparent 32rem),
        radial-gradient(circle at 85% 12%, rgba(217, 154, 91, 0.12), transparent 28rem),
        var(--background);
    overflow-x: hidden;
}

img,
video,
iframe,
embed,
object,
svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > *,
.card,
.feature-card,
.info-card {
    min-width: 0;
}

pre,
code,
.code-block,
[class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
    white-space: pre;
}

.table-wrapper,
[class*="table-"] {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
}

p,
li,
td,
th {
    overflow-wrap: break-word;
}

a {
    color: var(--rose-soft);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

a[href^="http"],
a[href*="://"] {
    word-break: break-all;
}

input,
textarea,
select,
button {
    font: inherit;
    max-width: 100%;
}

section,
.hero,
.cta-section {
    overflow: clip;
}

::selection {
    color: var(--primary-foreground);
    background: var(--gold);
}

/* ============================================
   ACCESSIBILITY - Skip links and screen reader text
   ============================================ */

.skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2000;
    transform: translateY(-160%);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--primary-foreground);
    background: var(--primary);
    transition: transform 180ms ease-out;
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip: rect(0, 0, 0, 0);
}

:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

/* ============================================
   TYPOGRAPHY - Playfair headings, Manrope body
   ============================================ */

h1,
h2,
h3,
h4 {
    margin: 0 0 var(--space-md);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.13;
    color: var(--pearl);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(1.875rem, calc(4vw + 0.7rem), 2.75rem);
}

h2 {
    font-size: clamp(1.625rem, calc(2.2vw + 0.9rem), 2.125rem);
}

h3 {
    font-size: clamp(1.3125rem, calc(1.2vw + 1rem), 1.5rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    margin: 0 0 var(--space-md);
    max-width: 72ch;
}

small,
.caption {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--muted-foreground);
}

.eyebrow,
.card-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.eyebrow::before,
.card-eyebrow::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border: 1px solid var(--rose);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(217, 154, 91, 0.28);
}

/* ============================================
   LAYOUT - Containers, sections, page rhythm
   ============================================ */

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.section {
    padding: var(--space-2xl) 0;
}

.section-heading {
    margin-bottom: var(--space-xl);
}

.section-heading p {
    color: var(--muted-foreground);
}

main {
    min-height: 56vh;
}

.page-hero,
.hero {
    position: relative;
    padding: clamp(3rem, calc(8vw + 1rem), 6rem) 0 var(--space-3xl);
}

.hero::before,
.page-hero::before,
.cta-banner::before {
    content: "";
    position: absolute;
    inset: auto -18rem -10rem auto;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(217, 154, 91, 0.2);
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 45%, rgba(216, 111, 159, 0.09) 46%, transparent 47%),
        radial-gradient(circle, transparent 62%, rgba(217, 154, 91, 0.12) 63%, transparent 64%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-copy p {
    color: var(--muted-foreground);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.hero-media,
.art-card {
    position: relative;
    min-height: 280px;
    border: 1px solid rgba(217, 154, 91, 0.22);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(244, 240, 232, 0.08), rgba(216, 111, 159, 0.04)),
        var(--card);
    box-shadow: var(--shadow-soft);
    overflow: clip;
}

.hero-media img,
.art-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

/* ============================================
   HEADER - Sticky navigation and mobile drawer
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(217, 154, 91, 0.16);
    background: var(--background);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    width: min(100% - 1rem, var(--container));
    height: 100%;
    margin-inline: auto;
}

.site-brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    color: var(--foreground);
    font-weight: 800;
    text-decoration: none;
}

.logo {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    filter: drop-shadow(0 0 14px rgba(217, 154, 91, 0.22));
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.mobile-menu-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--foreground);
    background: var(--secondary);
    cursor: pointer;
}

.mobile-menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    margin-inline: auto;
    border-radius: 2px;
    background: var(--foreground);
    transition: transform 220ms ease-out, opacity 220ms ease-out;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: none;
    padding: var(--space-lg);
    background: var(--background);
    overflow-y: auto;
}

.primary-nav.is-open {
    display: block;
}

.primary-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--foreground);
    font-weight: 700;
    text-decoration: none;
    transition: background 220ms ease-out, color 220ms ease-out;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--gold);
    background: rgba(217, 154, 91, 0.1);
}

.header-actions {
    display: none;
    align-items: center;
    gap: var(--space-sm);
}

/* ============================================
   BUTTONS & LINKS - Thumb-friendly CTA styles
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.72rem 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 220ms ease-out, box-shadow 220ms ease-out, border-color 220ms ease-out, background 220ms ease-out;
}

.btn--primary {
    color: var(--primary-foreground);
    background: linear-gradient(135deg, var(--rose-soft), var(--gold));
    box-shadow: 0 12px 34px rgba(217, 154, 91, 0.23);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    transform: translateY(-1px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn--ghost {
    color: var(--foreground);
    border-color: rgba(244, 240, 232, 0.18);
    background: rgba(244, 240, 232, 0.04);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: rgba(217, 154, 91, 0.42);
    background: rgba(217, 154, 91, 0.1);
}

.btn--large {
    min-height: 54px;
    padding-inline: 1.6rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    margin-top: auto;
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
}

.text-link::after {
    content: "→";
    transition: transform 220ms ease-out;
}

.text-link:hover::after {
    transform: translateX(3px);
}

/* ============================================
   CARDS - Content containers and feature grids
   ============================================ */

.card,
.info-card,
.feature-card,
.review-card {
    min-width: 0;
    border: 1px solid rgba(217, 154, 91, 0.18);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(244, 240, 232, 0.055), rgba(216, 111, 159, 0.025)),
        var(--card);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}

.feature-grid,
.card-grid,
.social-proof-grid,
.stats-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    transition: transform 220ms ease-out, border-color 220ms ease-out, box-shadow 220ms ease-out;
}

.feature-card::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 4.5rem;
    height: 4.5rem;
    border: 1px solid rgba(216, 111, 159, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 154, 91, 0.48);
    box-shadow: var(--shadow-glow);
}

.feature-card__icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(217, 154, 91, 0.38);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(217, 154, 91, 0.08);
    font-weight: 900;
}

.feature-card p {
    color: var(--muted-foreground);
}

/* ============================================
   ENGAGEMENT PATTERNS - Summary, callouts, stats, quotes
   ============================================ */

.summary-box,
.callout-box {
    width: min(100% - 2rem, var(--container));
    margin: var(--space-xl) auto;
    padding: var(--space-lg);
    border: 1px solid rgba(217, 154, 91, 0.28);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(217, 154, 91, 0.12), rgba(216, 111, 159, 0.055)),
        var(--secondary);
}

.summary-box h2,
.callout-box h2 {
    font-size: 1.45rem;
}

.summary-box ul,
.callout-box ul {
    padding-left: 1.25rem;
    margin: 0;
}

.summary-box li + li {
    margin-top: 0.5rem;
}

.callout-box--warning {
    border-color: rgba(225, 29, 72, 0.45);
}

.stat-highlight {
    padding: var(--space-lg);
    border: 1px solid rgba(217, 154, 91, 0.22);
    border-radius: var(--radius-md);
    background: var(--card);
}

.stat-highlight strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, calc(4vw + 1rem), 3.25rem);
    line-height: 1;
    color: var(--gold);
}

.stat-highlight span {
    display: block;
    font-weight: 800;
    color: var(--foreground);
}

.stat-highlight small {
    display: block;
    margin-top: 0.35rem;
}

.pull-quote,
blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: rgba(217, 154, 91, 0.07);
    color: var(--pearl);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, calc(1.4vw + 1rem), 1.8rem);
    line-height: 1.35;
}

blockquote cite,
.pull-quote cite {
    display: block;
    margin-top: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

/* ============================================
   DETAILS & FAQ - Native accessible accordions
   ============================================ */

details {
    border: 1px solid rgba(217, 154, 91, 0.18);
    border-radius: var(--radius-md);
    background: rgba(21, 26, 32, 0.92);
}

details + details {
    margin-top: var(--space-sm);
}

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    min-height: 56px;
    padding: 1rem;
    color: var(--foreground);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

.faq-accordion {
    padding: var(--space-sm);
    border: 1px solid rgba(217, 154, 91, 0.18);
    border-radius: var(--radius-lg);
    background: rgba(10, 15, 20, 0.72);
}

.faq-icon {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(217, 154, 91, 0.45);
    border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 220ms ease-out;
}

details[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    padding: 0 1rem 1rem;
    color: var(--muted-foreground);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION - Full-width conversion banner
   ============================================ */

.cta-section {
    padding: var(--space-2xl) 0;
}

.cta-banner {
    position: relative;
    padding: clamp(2rem, calc(4vw + 1rem), 4rem) var(--space-lg);
    border: 1px solid rgba(217, 154, 91, 0.28);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 50% 0%, rgba(216, 111, 159, 0.18), transparent 18rem),
        linear-gradient(135deg, rgba(217, 154, 91, 0.12), rgba(244, 240, 232, 0.03)),
        #0a0f14;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.cta-banner h2,
.cta-banner p {
    margin-right: auto;
    margin-left: auto;
}

.cta-banner p {
    color: var(--muted-foreground);
}

.cta-banner small {
    display: block;
    margin-top: var(--space-sm);
}

/* ============================================
   TRUST, SOCIAL PROOF & PAYMENT STRIPS
   ============================================ */

.trust-badges,
.footer-badges,
.payment-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.trust-badge,
.footer-badges span,
.payment-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(244, 240, 232, 0.16);
    border-radius: var(--radius-full);
    color: var(--foreground);
    background: rgba(244, 240, 232, 0.045);
    font-size: 0.9rem;
    font-weight: 800;
}

.review-card {
    padding: var(--space-lg);
}

.review-card p {
    color: var(--muted-foreground);
}

/* ============================================
   TABLES - Comparison and payment tables
   ============================================ */

table {
    width: 100%;
    border-collapse: collapse;
    color: var(--foreground);
    background: var(--card);
}

th,
td {
    padding: 0.95rem;
    border-bottom: 1px solid rgba(244, 240, 232, 0.12);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--gold);
    font-weight: 800;
    background: rgba(217, 154, 91, 0.08);
}

tr:last-child td {
    border-bottom: 0;
}

td.is-recommended,
th.is-recommended {
    background: rgba(216, 111, 159, 0.12);
}

/* ============================================
   FOOTER - Internal links, payments, compliance
   ============================================ */

.site-footer {
    margin-top: var(--space-3xl);
    border-top: 1px solid rgba(217, 154, 91, 0.16);
    background: #090d12;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    width: min(100% - 2rem, var(--container));
    padding: var(--space-2xl) 0;
    margin-inline: auto;
}

.site-brand--footer {
    margin-bottom: var(--space-md);
}

.site-footer p {
    color: var(--muted-foreground);
}

.footer-nav h2,
.site-footer__payments h2 {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-nav ul {
    display: grid;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--muted-foreground);
    font-weight: 700;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: var(--gold);
}

.footer-note {
    margin-top: var(--space-md);
    font-size: 0.9rem;
}

.site-footer__bottom {
    width: min(100% - 2rem, var(--container));
    padding: var(--space-md) 0 var(--space-lg);
    margin-inline: auto;
    border-top: 1px solid rgba(244, 240, 232, 0.1);
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.875rem;
}

/* ============================================
   ANIMATION - Subtle reveal with reduced motion support
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease-out, transform 520ms ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   TABLET - Two-column sections and roomier cards
   ============================================ */

@media (min-width: 768px) {
    body {
        font-size: 17px;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .feature-grid,
    .card-grid,
    .social-proof-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-lg);
    }

    .feature-card {
        padding: 1.75rem;
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    }
}

/* ============================================
   DESKTOP - Inline navigation and 3-column grids
   ============================================ */

@media (min-width: 1024px) {
    .site-header {
        background: rgba(11, 15, 20, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .mobile-menu-toggle {
        display: none;
    }

    .primary-nav {
        position: static;
        display: block;
        padding: 0;
        background: transparent;
        overflow: visible;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
    }

    .primary-nav a {
        min-height: 44px;
        padding: 0.55rem 0.8rem;
    }

    .header-actions {
        display: flex;
    }

    .feature-grid,
    .feature-grid--3,
    .card-grid,
    .social-proof-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-grid--2,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr) minmax(0, 1fr);
    }
}

/* ============================================
   LARGE SCREENS - Maximum width refinement
   ============================================ */

@media (min-width: 1280px) {
    .site-header__inner {
        width: min(100% - 2rem, var(--container));
    }
}