/* Atelier Rang — theme layer.
   Load AFTER bootstrap.min.css. Works standalone too (variables + component classes).
   Generated from theme/design-tokens.json. */

:root {
  /* palette */
  --ar-canvas: #F7F8FA;
  --ar-surface: #FFFFFF;
  --ar-surface-muted: #EDF0F5;
  --ar-input: #FBFCFD;
  --ar-border: #E6E8EC;
  --ar-border-strong: #D8DDE5;
  --ar-border-faint: #EEF1F6;
  --ar-ink: #141A22;
  --ar-body: #4E5766;
  --ar-muted: #5C6675;
  --ar-accent: #1E3E6E;
  --ar-accent-hover: #14294B;
  --ar-on-accent: #FFFFFF;

  /* type */
  --ar-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ar-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* space */
  --ar-section-y: clamp(56px, 8vw, 112px);
  --ar-container: 1180px;
  --ar-container-x: clamp(20px, 5vw, 48px);
  --ar-gap: clamp(16px, 2vw, 22px);
  --ar-card-padding: clamp(24px, 2.6vw, 34px);

  /* shape */
  --ar-radius-control: 10px;
  --ar-radius-card: 16px;
  --ar-radius-panel: 18px;
  --ar-shadow-card: 0 1px 2px rgba(20, 26, 34, .05), 0 10px 30px rgba(20, 26, 34, .05);
  --ar-shadow-raised: 0 2px 4px rgba(10, 18, 30, .08), 0 18px 44px rgba(10, 18, 30, .16);

  /* --- Bootstrap 5 overrides --- */
  --bs-body-bg: var(--ar-canvas);
  --bs-body-color: var(--ar-ink);
  --bs-body-font-family: var(--ar-sans);
  --bs-body-font-size: 1.0625rem;   /* 17px */
  --bs-body-line-height: 1.6;
  --bs-font-monospace: var(--ar-mono);
  --bs-primary: #1E3E6E;
  --bs-primary-rgb: 30, 62, 110;
  --bs-link-color: var(--ar-accent);
  --bs-link-color-rgb: 30, 62, 110;
  --bs-link-hover-color: var(--ar-ink);
  --bs-border-color: var(--ar-border);
  --bs-border-radius: var(--ar-radius-control);
  --bs-border-radius-lg: var(--ar-radius-card);
  --bs-border-radius-xl: var(--ar-radius-panel);
  --bs-secondary-color: var(--ar-body);
  --bs-tertiary-color: var(--ar-muted);
  --bs-heading-color: var(--ar-ink);
}

/* base */
body { background: var(--ar-canvas); color: var(--ar-ink); font-family: var(--ar-sans); text-wrap: pretty; -webkit-font-smoothing: antialiased; }
a { color: var(--ar-accent); text-decoration: none; }
a:hover { color: var(--ar-ink); text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--ar-accent); color: var(--ar-on-accent); }
img, svg { max-width: 100%; height: auto; }

/* type scale */
.ar-display { font-size: clamp(38px, 6.6vw, 72px); line-height: .98; letter-spacing: -.035em; font-weight: 700; max-width: 15ch; }
.ar-h2 { font-size: clamp(27px, 3.6vw, 42px); line-height: 1.06; letter-spacing: -.025em; font-weight: 700; max-width: 24ch; }
.ar-h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.015em; font-weight: 600; }
.ar-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ar-body); max-width: 52ch; }
.ar-body { font-size: 16px; line-height: 1.5; color: var(--ar-body); }
.ar-eyebrow { font-family: var(--ar-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ar-muted); }
.ar-label { font-family: var(--ar-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ar-muted); }
.ar-caption { font-family: var(--ar-mono); font-size: 12px; color: var(--ar-muted); }
.ar-stat { font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -.03em; font-weight: 700; color: var(--ar-accent); }

/* layout */
.ar-section { padding: var(--ar-section-y) 0; }
.ar-section--muted { background: var(--ar-surface-muted); }
.ar-section--accent { background: var(--ar-accent); color: var(--ar-on-accent); }
.ar-container { width: 100%; max-width: var(--ar-container); margin-inline: auto; padding-inline: var(--ar-container-x); }
.ar-grid { display: grid; gap: var(--ar-gap); }
.ar-grid--cards { grid-template-columns: repeat(auto-fit, minmax(min(272px, 100%), 1fr)); }
.ar-grid--steps { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.ar-grid--stats { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.ar-grid--split { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(28px, 4vw, 64px); }

/* components */
.ar-card { background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: var(--ar-radius-card); box-shadow: var(--ar-shadow-card); padding: var(--ar-card-padding); }
.ar-panel { background: var(--ar-surface); border-radius: var(--ar-radius-panel); box-shadow: var(--ar-shadow-raised); padding: clamp(26px, 3vw, 36px); }
.ar-chip { display: inline-block; background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: 999px; padding: 7px 14px; font-family: var(--ar-mono); font-size: 12px; color: var(--ar-body); }
.ar-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.ar-ticks li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; align-items: baseline; font-size: 15px; }
.ar-ticks li::before { content: "—"; color: var(--ar-accent); }

.ar-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 26px; border-radius: var(--ar-radius-control); font-size: 16px; font-weight: 500; border: 1px solid transparent; cursor: pointer; }
.ar-btn--primary { background: var(--ar-accent); color: var(--ar-on-accent); }
.ar-btn--primary:hover { background: var(--ar-accent-hover); color: var(--ar-on-accent); text-decoration: none; }
.ar-btn--ghost { border-color: var(--ar-ink); color: var(--ar-ink); background: transparent; }
.ar-btn--ghost:hover { background: var(--ar-ink); color: var(--ar-on-accent); text-decoration: none; }
.btn-primary { --bs-btn-bg: var(--ar-accent); --bs-btn-border-color: var(--ar-accent); --bs-btn-hover-bg: var(--ar-accent-hover); --bs-btn-hover-border-color: var(--ar-accent-hover); --bs-btn-border-radius: var(--ar-radius-control); --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.5rem; --bs-btn-font-weight: 500; }

/* forms */
.ar-field { display: flex; flex-direction: column; gap: 6px; }
.form-control, .form-select, .ar-field input, .ar-field select, .ar-field textarea {
  background: var(--ar-input); border: 1px solid var(--ar-border-strong); border-radius: var(--ar-radius-control);
  padding: 11px 12px; font-size: 16px; color: var(--ar-ink); width: 100%;
}
.form-control:focus, .form-select:focus, .ar-field input:focus, .ar-field select:focus, .ar-field textarea:focus {
  outline: none; border-color: var(--ar-accent); box-shadow: 0 0 0 3px rgba(30, 62, 110, .12);
}

/* table */
.ar-table-wrap { overflow-x: auto; background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: var(--ar-radius-card); box-shadow: var(--ar-shadow-card); }
.ar-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.ar-table th { text-align: left; font-family: var(--ar-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ar-muted); font-weight: 400; padding: 14px 18px; border-bottom: 1px solid var(--ar-border); white-space: nowrap; }
.ar-table td, .ar-table tbody th { padding: 16px 18px; border-bottom: 1px solid var(--ar-border-faint); font-size: 15px; color: var(--ar-body); white-space: nowrap; }
.ar-table tbody th { color: var(--ar-ink); font-weight: 600; font-size: 15px; text-transform: none; letter-spacing: 0; font-family: var(--ar-sans); }
.ar-table .is-after { color: var(--ar-accent); font-weight: 600; font-family: var(--ar-mono); }

/* accordion (native details) */
.ar-faq { display: flex; flex-direction: column; gap: 12px; }
.ar-faq details { background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: 14px; box-shadow: var(--ar-shadow-card); padding: 20px 22px; }
.ar-faq summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: baseline; justify-content: space-between; font-size: 18px; font-weight: 500; line-height: 1.35; }
.ar-faq summary h3 { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.ar-faq summary::-webkit-details-marker { display: none; }
.ar-faq summary::after { content: "+"; font-family: var(--ar-mono); color: var(--ar-accent); }
.ar-faq details[open] summary::after { content: "–"; }
.ar-faq p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--ar-body); max-width: 62ch; }

/* header (mirrored in header.php critical CSS) */
.ar-header { position: sticky; top: 0; z-index: 30; background: rgba(247, 248, 250, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ar-border); }
.ar-header__inner { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); flex-wrap: wrap; padding-block: 12px; }
.ar-brand { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; color: var(--ar-ink); text-decoration: none; min-width: 0; }
.ar-brand:hover { text-decoration: none; color: var(--ar-ink); }
.ar-brand__name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.ar-brand__tagline { text-transform: uppercase; letter-spacing: .12em; font-size: 9.5px; line-height: 1.35; max-width: 50ch; }
.ar-nav { margin-left: auto; display: flex; gap: clamp(12px, 1.8vw, 26px); align-items: center; flex-wrap: wrap; }
.ar-nav a { font-size: 14px; color: var(--ar-ink); }
.ar-nav-toggle { display: none; }
.ar-header__actions { display: flex; align-items: center; gap: 10px; }
.ar-header__cta { white-space: nowrap; }
.ar-header__cta-short { display: none; }
@media (max-width: 1080px) { .ar-brand__tagline { display: none; } }
@media (max-width: 880px) {
  .ar-nav { display: none; }
  .ar-nav-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px; background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: var(--ar-radius-control); font-size: 14px; font-weight: 500; margin-left: auto; order: 2; }
  .ar-header__actions { order: 1; margin-left: auto; }
  .ar-nav--open { order: 3; display: flex; flex-direction: column; width: 100%; margin: 0; border-top: 1px solid var(--ar-border); background: var(--ar-surface); padding: 4px var(--ar-container-x) 20px; }
  .ar-nav--open a { min-height: 52px; display: flex; align-items: center; font-size: 17px; border-bottom: 1px solid var(--ar-border-faint); }
}
@media (max-width: 520px) {
  .ar-header__inner { gap: 8px; padding-block: 10px; }
  .ar-header__cta { padding: 0 12px; font-size: 15px; }
  .ar-header__actions { gap: 6px; }
  .ar-header__actions a[hreflang] { padding: 6px 7px !important; }
  .ar-nav-toggle { padding: 0 12px; }
  .ar-brand__name { font-size: 16px; }
  .ar-header__cta-long { display: none; }
  .ar-header__cta-short { display: inline; }
}
@media (max-width: 400px) {
  .ar-nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .ar-nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ar-nav-toggle::before { content: "\2630"; font-size: 18px; line-height: 1; }
}

/* réalisations — archive */
.ar-grid--cases { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); align-items: stretch; }
.ar-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 3vw, 36px); }
.ar-filter__item { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ar-border-strong); border-radius: 999px; background: var(--ar-surface); color: var(--ar-ink); font-size: 14px; font-weight: 500; }
.ar-filter__item span { font-family: var(--ar-mono); font-size: 11px; color: var(--ar-muted); }
.ar-filter__item:hover { border-color: var(--ar-accent); color: var(--ar-accent); text-decoration: none; }
.ar-filter__item[aria-current] { background: var(--ar-accent); border-color: var(--ar-accent); color: var(--ar-on-accent); }
.ar-filter__item[aria-current] span { color: rgba(255, 255, 255, .7); }
.ar-pagination { margin-top: clamp(32px, 4vw, 48px); }
.ar-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ar-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ar-border); border-radius: var(--ar-radius-control); background: var(--ar-surface); color: var(--ar-ink); font-size: 15px; }
.ar-pagination .page-numbers.current { background: var(--ar-accent); border-color: var(--ar-accent); color: var(--ar-on-accent); }
.ar-pagination a.page-numbers:hover { border-color: var(--ar-accent); text-decoration: none; }

/* réalisations — card */
.ar-case-card { padding: 0; overflow: hidden; display: flex; transition: transform .2s ease, box-shadow .2s ease; }
.ar-case-card:hover { transform: translateY(-2px); box-shadow: var(--ar-shadow-raised); }
.ar-case-card__link { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
.ar-case-card__link:hover { color: inherit; text-decoration: none; }
.ar-case-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: repeating-linear-gradient(135deg, var(--ar-surface-muted) 0 9px, var(--ar-canvas) 9px 18px); border-bottom: 1px solid var(--ar-border); }
.ar-case-card__media img { width: 100%; height: 100%; display: block; }
.ar-case-card__media img.is-cover { object-fit: cover; }
.ar-case-card__media img.is-contain { object-fit: contain; background: var(--ar-surface); padding: 4%; }
.ar-case-card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.2vw, 28px); }
.ar-case-card__meta { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; line-height: 1.5; }
.ar-case-card__excerpt { font-size: 15px; }
.ar-case-card__figures { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--ar-border-faint); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ar-case-card__figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; align-items: flex-start; min-width: 0; text-align: left; }
.ar-case-card__figures dd { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--ar-accent); overflow-wrap: anywhere; }
.ar-case-card__figures dt { font-weight: 400; font-size: 12px; line-height: 1.35; color: var(--ar-muted); }
.ar-case-card__ticks { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--ar-border-faint); gap: 6px; }
.ar-case-card__ticks li { font-size: 14px; line-height: 1.4; color: var(--ar-body); }
.ar-case-card__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
@media (max-width: 520px) {
  .ar-case-card__figures { grid-template-columns: 1fr; gap: 14px; }
  .ar-case-card__figures div { align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--ar-border-faint); }
  .ar-case-card__figures div:last-child { padding-bottom: 0; border-bottom: 0; }
}
.ar-case-card__foot .ar-chip { padding: 4px 10px; font-size: 11px; }
.ar-case-card__cta { font-size: 15px; font-weight: 500; color: var(--ar-accent); }

/* réalisations — single */
.ar-case__crumbs { display: flex; flex-wrap: wrap; gap: 8px; text-transform: uppercase; letter-spacing: .08em; }
.ar-case__crumbs a { color: var(--ar-muted); }
.ar-case__crumbs a:hover { color: var(--ar-accent); }
.ar-case__facts { margin: clamp(24px, 3vw, 36px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 18px; padding: 20px 0; border-top: 1px solid var(--ar-border); border-bottom: 1px solid var(--ar-border); }
.ar-case__facts dd { margin: 6px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.ar-case__hero { margin: clamp(24px, 3vw, 40px) 0 0; aspect-ratio: 16 / 9; border: 1px solid var(--ar-border); border-radius: var(--ar-radius-card); overflow: hidden; background: var(--ar-surface); }
.ar-case__hero img { width: 100%; height: 100%; display: block; }
.ar-case__hero img.is-cover { object-fit: cover; }
.ar-case__hero img.is-contain { object-fit: contain; padding: clamp(12px, 3vw, 40px); }
.ar-case__figures { margin-top: clamp(24px, 3vw, 40px); }
.ar-case__figure { background: var(--ar-surface-muted); border-radius: var(--ar-radius-card); padding: var(--ar-card-padding); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ar-case__figure .ar-stat { font-size: clamp(28px, 3vw, 40px); overflow-wrap: anywhere; margin: 0; }
.ar-case__figure p { margin: 0; }
.ar-case__layout { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 960px) { .ar-case__layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.ar-case__aside { align-self: start; background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: var(--ar-radius-card); padding: clamp(20px, 2.2vw, 28px); }
@media (min-width: 960px) { .ar-case__aside { position: sticky; top: 96px; } }
.ar-case__aside h2 { margin: 0; }
.ar-case__deliverables { list-style: none; margin: 10px 0 0; padding: 0; }
.ar-case__deliverables li { padding: 12px 0; border-bottom: 1px solid var(--ar-border-faint); display: flex; flex-direction: column; gap: 3px; }
.ar-case__deliverables li:last-child { border-bottom: 0; padding-bottom: 0; }
.ar-case__deliverables strong { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ar-ink); }
.ar-case__deliverables span { font-size: 13px; line-height: 1.4; color: var(--ar-muted); }
.ar-case__stack { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ar-case__stack .ar-chip { padding: 5px 11px; font-size: 12px; }
.ar-case__section { margin-top: clamp(48px, 6vw, 88px); }
.ar-case__next { margin: clamp(48px, 6vw, 88px) 0 clamp(56px, 8vw, 112px); }
.ar-case__next-card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.ar-case__next-card:hover { color: inherit; text-decoration: none; border-color: var(--ar-accent); }
.ar-case__next-card .ar-case-card__cta { margin-top: auto; }
.ar-case__cta { background: var(--ar-accent); color: var(--ar-on-accent); border-radius: var(--ar-radius-card); padding: var(--ar-card-padding); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ar-case__cta h2 { color: var(--ar-on-accent); font-size: 24px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; margin: 0; }
.ar-case__cta p { font-size: 15px; line-height: 1.55; opacity: .85; max-width: 38ch; margin: 0; }
.ar-case__cta .ar-btn { background: var(--ar-on-accent); color: var(--ar-accent); margin-top: 6px; }
.ar-case__cta .ar-btn:hover { background: var(--ar-canvas); color: var(--ar-accent-hover); text-decoration: none; }

/* long-form copy (case story) */
.ar-prose { max-width: 68ch; color: var(--ar-body); font-size: 17px; line-height: 1.65; }
.ar-prose > :first-child { margin-top: 0; }
.ar-prose h2 { color: var(--ar-ink); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin: 1.9em 0 .55em; }
.ar-prose h3 { color: var(--ar-ink); font-size: 19px; font-weight: 600; margin: 1.5em 0 .4em; }
.ar-prose p { margin: 0 0 1em; }
.ar-prose ul, .ar-prose ol { margin: 0 0 1.1em; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ar-prose li { position: relative; padding-left: 26px; }
.ar-prose li::before { content: "—"; position: absolute; left: 0; color: var(--ar-accent); }
.ar-prose strong { color: var(--ar-ink); font-weight: 600; }

/* screenshot gallery */
.ar-gallery { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: var(--ar-gap); grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); grid-auto-flow: dense; align-items: start; }
@media (max-width: 460px) { .ar-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ar-gallery__item { margin: 0; min-width: 0; }
.ar-gallery__item.is-wide { grid-column: span 2; }
.ar-gallery__item.is-pano { grid-column: 1 / -1; }
.ar-gallery__item a { position: relative; display: block; border: 1px solid var(--ar-border); border-radius: 14px; overflow: hidden; background: var(--ar-surface); box-shadow: var(--ar-shadow-card); }
.ar-gallery__item img { display: block; width: 100%; }
.ar-gallery__item.is-tall img { aspect-ratio: 3 / 4; height: auto; object-fit: cover; object-position: top; }
.ar-gallery__item.is-phone img { aspect-ratio: 9 / 19; height: auto; object-fit: cover; object-position: top; }
.ar-gallery__item.is-wide img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: top; }
.ar-gallery__item.is-pano img { height: auto; }
.ar-gallery__zoom { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(20, 26, 34, .78); color: #fff; font-size: 12px; opacity: 0; transition: opacity .15s ease; }
.ar-gallery__item a:hover .ar-gallery__zoom, .ar-gallery__item a:focus-visible .ar-gallery__zoom { opacity: 1; }
.ar-gallery__item .ar-caption { margin: 8px 0 0; }

.ar-table--compact { min-width: 0; }
.ar-table--compact td, .ar-table--compact tbody th { white-space: normal; }
@media (max-width: 560px) {
  .ar-table--compact th, .ar-table--compact td { padding: 12px 10px; font-size: 14px; }
}

/* cookie consent banner (inc/analytics-consent.php + js/consent.js) */
.ar-consent { position: fixed; z-index: 50; left: 50%; bottom: clamp(12px, 2vw, 24px); transform: translateX(-50%); width: min(640px, calc(100% - 24px)); background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: var(--ar-radius-card); box-shadow: var(--ar-shadow-raised); }
.ar-consent[hidden] { display: none; }
.ar-consent__inner { padding: clamp(18px, 2.4vw, 24px); display: flex; flex-direction: column; gap: 10px; }
.ar-consent__title { margin: 0; font-size: 16px; font-weight: 600; color: var(--ar-ink); }
.ar-consent__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ar-body); }
.ar-consent__text a { text-decoration: underline; text-underline-offset: 3px; }
.ar-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.ar-consent__btn { background: var(--ar-accent); color: var(--ar-on-accent); padding: 0 16px; width: 100%; }
.ar-consent__btn:hover { background: var(--ar-accent-hover); color: var(--ar-on-accent); }
@media (min-width: 560px) { .ar-consent__actions { grid-template-columns: repeat(2, minmax(140px, max-content)); justify-content: end; } }
.ar-consent-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ar-muted); text-align: left; cursor: pointer; }
.ar-consent-link:hover { color: var(--ar-ink); text-decoration: underline; text-underline-offset: 3px; }

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