/* FC-06 Aviron Bayonnais FC · Basque Atlantic v1.0
   Tokens + baseline patterns; extend in component system.
   Source of truth: design spec. Don't use these to fabricate data/media.
*/
:root {
  --abfc-bg-0: #041523;
  --abfc-bg-1: #061D30;
  --abfc-surface-1: #08263E;
  --abfc-surface-2: #0C304C;
  --abfc-surface-3: #123F61;
  --abfc-sky: #49BFF2;
  --abfc-sky-light: #83D9FC;
  --abfc-sky-muted: #96DDF9;
  --abfc-ice: #EAF5FC;
  --abfc-text: #F5F9FD;
  --abfc-text-2: #BED1DF;
  --abfc-text-3: #8BA6B9;
  --abfc-stroke: #28516D;
  --abfc-stroke-strong: #3F84AA;
  --abfc-red: #DA3651;
  --abfc-ink: #061F30;
  --abfc-positive: #4DCBA3;
  --abfc-warning: #F6BC65;
  --abfc-font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --abfc-font-body: 'Manrope', 'Arial', sans-serif;
  --abfc-container: 1360px;
  --abfc-gutter: 48px;
  --abfc-header-h: 78px;
  --abfc-section-gap: 76px;
  --abfc-gap: 20px;
  --abfc-cut-s: 8px;
  --abfc-cut-m: 14px;
  --abfc-cut-l: 26px;
  --abfc-transition-fast: 180ms cubic-bezier(.2,.8,.2,1);
  --abfc-transition: 280ms cubic-bezier(.2,.8,.2,1);
  --abfc-shadow: 0 16px 42px rgba(0, 8, 19, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; background:var(--abfc-bg-0); color:var(--abfc-text); font-family:var(--abfc-font-body); font-size:16px; line-height:1.55; }
button, input, select, textarea { font:inherit; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--abfc-sky-light); }
:where(a, button, input, select, textarea, [role='button']):focus-visible { outline:3px solid var(--abfc-sky-light); outline-offset:3px; }
.abfc-container { width:min(calc(100% - 2 * var(--abfc-gutter)), var(--abfc-container)); margin-inline:auto; }
.abfc-section { padding-block:var(--abfc-section-gap); position:relative; }
.abfc-section--alternate { background:linear-gradient(180deg, var(--abfc-bg-1), var(--abfc-bg-0)); }
.abfc-heading, .abfc-page-title, .abfc-number, .abfc-score { font-family:var(--abfc-font-display); }
.abfc-page-title { font-size:clamp(44px, 6vw, 76px); font-weight:800; font-style:italic; line-height:.95; letter-spacing:-.025em; text-transform:uppercase; }
.abfc-heading { font-size:clamp(28px, 3vw, 38px); font-weight:800; font-style:italic; line-height:1.05; text-transform:uppercase; }
.abfc-section-heading { display:flex; align-items:center; gap:14px; }
.abfc-section-heading::before { content:''; width:5px; height:24px; background:var(--abfc-sky); transform:skewX(-24deg); flex:none; }
.abfc-eyebrow { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--abfc-sky-light); }
.abfc-meta { font-size:12px; font-weight:600; color:var(--abfc-text-2); }
.abfc-cut-s { clip-path:polygon(var(--abfc-cut-s) 0, 100% 0, 100% calc(100% - var(--abfc-cut-s)), calc(100% - var(--abfc-cut-s)) 100%, 0 100%, 0 var(--abfc-cut-s)); }
.abfc-cut-m { clip-path:polygon(var(--abfc-cut-m) 0, 100% 0, 100% calc(100% - var(--abfc-cut-m)), calc(100% - var(--abfc-cut-m)) 100%, 0 100%, 0 var(--abfc-cut-m)); }
.abfc-cut-l { clip-path:polygon(var(--abfc-cut-l) 0, 100% 0, 100% calc(100% - var(--abfc-cut-l)), calc(100% - var(--abfc-cut-l)) 100%, 0 100%, 0 var(--abfc-cut-l)); }
/* For consistent polygon border, use outer 'frame' with solid fill, inset by 1px inner panel */
.abfc-panel-frame { padding:1px; background:var(--abfc-stroke); clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px); transition:background var(--abfc-transition-fast), transform var(--abfc-transition-fast); }
.abfc-panel-frame:hover { background:var(--abfc-stroke-strong); transform:translateY(-2px); }
.abfc-panel-inner { min-height:100%; background:linear-gradient(145deg,var(--abfc-surface-2),var(--abfc-bg-1)); clip-path:polygon(13px 0,100% 0,100% calc(100% - 13px),calc(100% - 13px) 100%,0 100%,0 13px); }
.abfc-button { display:inline-flex; justify-content:center; align-items:center; gap:10px; min-height:46px; padding:0 22px; border:0; font-size:13px; font-weight:800; cursor:pointer; transition:transform var(--abfc-transition-fast), background var(--abfc-transition-fast), box-shadow var(--abfc-transition-fast); }
.abfc-button:hover { transform:translateY(-2px); }
.abfc-button[disabled],.abfc-button[aria-disabled='true'] { opacity:.48; cursor:not-allowed; transform:none; }
.abfc-button--primary { color:var(--abfc-ink); background:linear-gradient(105deg,var(--abfc-sky-light),var(--abfc-sky)); clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%); box-shadow:0 6px 18px rgba(73,191,242,.16); }
.abfc-button--secondary { color:var(--abfc-text); background:rgba(6,29,48,.8); border:1px solid var(--abfc-stroke-strong); clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%); }
.abfc-icon-button { display:grid; place-items:center; width:44px; height:44px; border:1px solid var(--abfc-stroke-strong); background:var(--abfc-surface-1); color:var(--abfc-text); cursor:pointer; clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); }
.abfc-chip { display:inline-flex; align-items:center; min-height:34px; padding:0 14px; color:var(--abfc-text-2); background:var(--abfc-surface-1); border:1px solid var(--abfc-stroke); cursor:pointer; clip-path:polygon(9px 0,100% 0,calc(100% - 9px) 100%,0 100%); }
.abfc-chip[aria-pressed='true'],.abfc-chip[aria-selected='true'] { color:var(--abfc-ink); background:var(--abfc-sky); border-color:var(--abfc-sky); }
.abfc-product { background:var(--abfc-ice); color:var(--abfc-ink); clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px); }
.abfc-product img { display:block; width:100%; aspect-ratio:4/5; object-fit:contain; }
.abfc-table { border-collapse:collapse; width:100%; font-variant-numeric:tabular-nums; }
.abfc-table th { font-size:11px; letter-spacing:.02em; color:var(--abfc-text-2); text-align:left; }
.abfc-table tr { border-bottom:1px solid rgba(166,216,244,.15); }
.abfc-table th,.abfc-table td { padding:9px 10px; }
.abfc-table tr[data-own-team='true'] { background:rgba(73,191,242,.16); box-shadow:inset 3px 0 0 var(--abfc-sky); }
@media (max-width:1199px) { :root { --abfc-gutter:32px; --abfc-section-gap:56px; --abfc-gap:16px; } }
@media (max-width:599px) { :root { --abfc-gutter:18px; --abfc-section-gap:44px; --abfc-header-h:64px; } body { font-size:15px; } .abfc-section-heading::before { height:20px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; } }
