/* Casinos Online Arizona — Editorial Dossier preset
   Display: Playfair Display 900 | Body: Public Sans 400/600 | Mono: IBM Plex Mono 500 */

:root {
  --page: #FFFFFF;
  --section: #FAF7F0;
  --ink: #000000;
  --olive: #3E4A26;
  --orange: #D2601A;
  --action: #1B5FCB;
  --body-text: #4A4238;
  --border: #000000;
  --shadow-offset: 6px;
  --radius: 0px;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', -apple-system, Segoe UI, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
  --gap: 1.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--action); }
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (max-width: 700px) {
  .container { padding-inline: 14px; }
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 2.4em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin-top: 1.6em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* offset-shadow motif */
.box-shadow,
.op-card,
.method-card,
.editor-box,
.faq-item {
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 0 var(--ink);
  border: 2px solid var(--ink);
  background: #fff;
}

/* header */
header.site-header {
  border-bottom: 2px solid var(--ink);
  padding: 0.9rem 0;
  background: #fff;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--ink);
}
.brand-word .accent { color: var(--orange); }

.nav-toggle {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.nav-btn {
  display: none;
  border: 2px solid var(--ink);
  background: #fff;
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
}
.nav-btn span,
.nav-btn span::before,
.nav-btn span::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
}
.nav-btn span { top: 21px; }
.nav-btn span::before { top: -7px; }
.nav-btn span::after { top: 7px; }
.nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--action); }
.btn-label-open { display: inline; }
.btn-label-close { display: none; }
.nav-toggle:checked ~ .nav-wrap .nav-btn .btn-label-open { display: none; }
.nav-toggle:checked ~ .nav-wrap .nav-btn .btn-label-close { display: inline; }

.site-nav { display: block; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--orange); }

@media (max-width: 900px) {
  .nav-btn { display: block; }
  .nav-wrap { position: relative; }
  .site-nav {
    display: none;
    position: absolute;
    top: 54px;
    right: 0;
    background: #fff;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 0 var(--ink);
    padding: 1rem;
    min-width: 220px;
    z-index: 50;
  }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 0.7rem 0.2rem; min-height: 44px; }
}

/* hero */
.hero {
  padding-block: 2rem 1.4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: 1.5fr 1fr; }
}
.hero h1 { text-align: left; max-width: 24ch; }
.hero-lede {
  font-size: 1.05rem;
  max-width: 62ch;
  margin: 0 0 1.2rem;
}
.hero-byline {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  background: var(--section);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 620px;
}
.hero-byline img {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
  flex-shrink: 0;
}
.byline-text { line-height: 1.25; }
.byline-name { font-weight: 700; color: var(--ink); white-space: nowrap; }
.byline-role { font-size: 0.85rem; color: var(--body-text); }
.byline-role .role-short { display: none; }
.hero-stats {
  margin-left: auto;
  border-left: 2px solid var(--ink);
  padding-left: 0.8rem;
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}
.hero-stats div strong { display: block; font-size: 1rem; color: var(--orange); }

/* editor's choice hero widget (Editorial Dossier hero widget) */
.hero-widget {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 0 var(--ink);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.pick-banner {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem;
}
.pick-body { padding: 1.1rem; }
.pick-head { display: flex; align-items: center; gap: 0.7rem; }
.pick-logo { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.pick-titles { min-width: 0; }
.pick-name { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.pick-tagline { font-size: 0.78rem; color: var(--body-text); }
.pick-rating { margin: 0.6rem 0; font-size: 0.85rem; }
.pick-stars { color: var(--orange); letter-spacing: 0.05em; }
.pick-score { font-family: var(--font-mono); font-weight: 700; color: var(--ink); }
.pick-offer { margin: 0.8rem 0; }
.pick-offer strong { display: block; font-size: 1.3rem; color: var(--orange); font-family: var(--font-display); }
.pick-offer-sub { font-size: 0.78rem; color: var(--body-text); }
.pick-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 0.9rem 0; }
.pick-chip { border: 1px solid var(--ink); background: var(--section); padding: 0.5rem 0.3rem; text-align: center; }
.pick-chip strong { display: block; font-size: 0.72rem; color: var(--ink); }
.pick-chip span { font-size: 0.62rem; font-family: var(--font-mono); text-transform: uppercase; color: var(--body-text); }
.pick-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pick-cta:hover { opacity: 0.9; }
.pick-fine { margin: 0.6rem 0 0; font-size: 0.7rem; color: var(--body-text); text-align: center; }
@media (max-width: 900px) { .hero-widget { display: none; } }

/* ranked list — table mode */
.ranked-section { padding-block: 0.6rem 2rem; }
.ranked-caption-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ranked-caption-row h2 { margin-top: 0; }
table.ranked-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 2px solid var(--ink);
  margin-top: 1rem;
}
table.ranked-table thead th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.7rem 0.6rem;
  text-align: left;
}
table.ranked-table tbody td {
  padding: 0.9rem 0.6rem;
  border-top: 1px solid var(--border);
  vertical-align: middle;
  font-size: 0.92rem;
}
table.ranked-table tbody tr.top-pick td { background: var(--section); }
.op-name-cell { display: flex; align-items: center; gap: 0.6rem; }
.op-name-cell img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.op-name-cell .op-name-text { font-weight: 700; color: var(--ink); }
.badge-top {
  display: inline-block;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--orange);
  color: #fff;
  padding: 0.1rem 0.4rem;
  text-transform: uppercase;
}
.metric-value { font-family: var(--font-mono); font-weight: 700; color: var(--olive); }
.offer-cell strong { color: var(--orange); }
.btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--action);
  color: #fff;
  font-weight: 700;
  padding: 0.6rem 0.4rem;
  text-decoration: none;
  font-size: 0.85rem;
  border: none;
}
.btn:hover { opacity: 0.85; }

.ranked-compliance {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--body-text);
}

colgroup .col-op { width: 30%; }
colgroup .col-metric { width: 16%; }
colgroup .col-offer { width: 36%; }
colgroup .col-action { width: 18%; }

.offer-pill {
  display: inline-block;
  background: var(--section);
  border: 2px solid var(--orange);
  padding: 0.4rem 0.7rem;
  font-size: 1rem;
  line-height: 1.3;
}
.offer-pill strong { color: var(--orange); font-size: 1.08em; }

@media (max-width: 700px) {
  table.ranked-table, table.ranked-table thead, table.ranked-table tbody, table.ranked-table tr, table.ranked-table td {
    display: block;
    width: 100%;
  }
  table.ranked-table thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  table.ranked-table tr {
    border: 2px solid var(--ink);
    margin-bottom: 1rem;
  }
  table.ranked-table tr.top-pick { background: var(--section); }
  table.ranked-table td {
    border-top: none;
    padding: 0.6rem 0.9rem;
  }
  table.ranked-table td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.68rem;
    color: var(--body-text);
    margin-bottom: 0.3rem;
  }
  table.ranked-table td[data-label="Operator"] { padding-top: 0.9rem; }
  table.ranked-table .op-name-cell img { width: 40px; height: 40px; }
  table.ranked-table .offer-pill { width: 100%; box-sizing: border-box; }
  table.ranked-table td.action-cell { padding-bottom: 0.9rem; }
}

/* comparison table (scrolls sideways below 700px, deliberate) */
.compare-wrap { overflow-x: auto; margin-top: 1.2rem; }
table.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border: 2px solid var(--ink);
}
table.compare-table th, table.compare-table td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.7rem;
  text-align: left;
  font-size: 0.88rem;
}
table.compare-table thead th {
  background: var(--section);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

/* method section + page */
.method-section { padding: 2rem 0; background: var(--section); }
.method-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.4rem;
  justify-content: center;
}
.method-grid { grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 561px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 981px) { .method-grid { grid-template-columns: repeat(4, 1fr); } }
.method-card { padding: 1.1rem; }
.method-card h3 { margin-top: 0; font-size: 1.05rem; }
.method-card p { font-size: 0.88rem; margin: 0; }
.method-link { margin-top: 1.5rem; text-align: center; }

/* article */
.article-section { padding-block: 2.4rem; }
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1100px) {
  .article-grid { grid-template-columns: minmax(0,1fr) 260px; }
}
.article-head { margin-inline: 0; max-width: 68ch; }
.article-body { max-width: 68ch; }
.article-body h2 { scroll-margin-top: 90px; }
.toc {
  position: static;
  align-self: start;
}
@media (min-width: 1100px) {
  .toc { position: sticky; top: 1.5rem; }
}
.toc ol {
  list-style: none;
  counter-reset: toc;
  margin: 0;
  padding: 1rem;
  border: 2px solid var(--ink);
  font-size: 0.85rem;
}
.toc li { counter-increment: toc; margin-bottom: 0.5rem; }
.toc li a { color: var(--ink); text-decoration: none; }
.toc li a::before { content: counter(toc) ". "; color: var(--orange); font-weight: 700; }
@media (max-width: 1099px) { .toc { display: none; } }

/* faq */
.faq-section { padding-block: 1.5rem 2.6rem; }
.faq-item { padding: 1rem 1.2rem; margin-bottom: 1rem; }
.faq-item summary {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--orange);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0.8rem 0 0; font-size: 0.92rem; }
.faq-item:focus-within { outline: 2px solid var(--action); outline-offset: 2px; }

/* review card CTA */
.review-cta { margin-top: 1.2rem; }
.review-cta .btn { width: auto; display: inline-block; padding-inline: 1.4rem; }

/* footer */
footer.site-footer {
  background: var(--ink);
  color: var(--section);
  padding: 2.2rem 0 1.4rem;
  font-size: 0.85rem;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-nav a { color: var(--section); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-legal { margin-top: 1.6rem; font-size: 0.75rem; color: var(--section); opacity: 0.7; max-width: 80ch; }

/* generic page content */
.page-section { padding-block: 2.4rem 3rem; }
.page-section .lede { max-width: 68ch; font-size: 1.02rem; }
.page-section .prose { max-width: 68ch; }
.prose h2:first-of-type { margin-top: 1.2em; }

/* back to top */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 42px; height: 42px;
  background: var(--ink);
  border: none;
  cursor: pointer;
  z-index: 60;
  opacity: 1;
}
.to-top::before {
  content: "";
  position: absolute;
  left: 50%; top: 58%;
  width: 10px; height: 10px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
@supports (animation-timeline: scroll()) {
  .to-top {
    opacity: 0;
    animation: reveal-top linear forwards;
    animation-timeline: scroll(root);
    animation-range: 400px 900px;
  }
}
@keyframes reveal-top { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .to-top { animation: none; opacity: 1; }
}

@media (max-width: 700px) {
  .hero-byline { flex-wrap: nowrap; }
  .byline-role .role-long { display: none; }
  .byline-role .role-short { display: inline; }
  .byline-name { overflow: hidden; text-overflow: ellipsis; }
  .hero-stats { gap: 0.7rem; }
  .hero-stats div strong { font-size: 0.9rem; }
}
@media (max-width: 360px) {
  .hero-byline { padding: 0.5rem 0.6rem; gap: 0.5rem; }
  .hero-byline img { width: 42px; height: 42px; }
  .byline-role { font-size: 0.76rem; }
  .hero-stats { font-size: 0.7rem; gap: 0.5rem; }
}
@media (max-width: 340px) {
  .brand img { width: 32px; height: 32px; }
  .brand-word { font-size: 1.1rem; }
}

/* detailed operator review cards */
.review-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 1.6rem; }
.review-card {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 0 var(--ink);
  background: #fff;
  padding: 1.4rem;
  scroll-margin-top: 90px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.review-rank {
  width: 34px; height: 34px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-logo { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.review-titles { flex: 1 1 auto; min-width: 0; }
.review-titles h3 { margin: 0; font-size: 1.2rem; }
.review-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange);
}
.review-score {
  text-align: right;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.review-score strong { font-size: 1.5rem; color: var(--ink); display: block; line-height: 1; }
.review-score span { font-size: 0.7rem; color: var(--body-text); }

.review-callout {
  border-left: 4px solid var(--action);
  background: var(--section);
  padding: 0.7rem 1rem;
  margin: 1rem 0;
  font-size: 0.92rem;
  color: var(--ink);
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  margin-bottom: 1rem;
}
.review-stats .stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--body-text);
  margin-bottom: 0.2rem;
}
.review-stats .stat-value { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
@media (max-width: 700px) {
  .review-stats { grid-template-columns: repeat(2, 1fr); }
}

.score-bars { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; margin-bottom: 1.2rem; }
.score-bar { flex: 1 1 160px; }
.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--body-text);
  margin-bottom: 0.3rem;
}
.score-bar-track { height: 5px; background: var(--section); border: 1px solid var(--ink); }
.score-bar-fill { height: 100%; background: var(--olive); }

.review-body p { font-size: 0.94rem; margin: 0 0 1rem; }

.review-proscons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 2px solid var(--ink);
  margin-top: 0.4rem;
}
@media (min-width: 561px) {
  .review-proscons { grid-template-columns: 1fr 1fr; }
}
.pros, .cons { padding: 1rem 1.1rem; }
.pros { border-top: 4px solid var(--olive); border-bottom: 1px solid var(--border); }
.cons { border-top: 4px solid var(--orange); }
@media (min-width: 561px) {
  .pros { border-bottom: none; border-right: 1px solid var(--border); }
}
.pros h4, .cons h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.7rem;
}
.pros h4 { color: var(--olive); }
.cons h4 { color: var(--orange); }
.pros ul, .cons ul { list-style: none; margin: 0; padding: 0; font-size: 0.86rem; }
.pros li, .cons li { padding: 0.35rem 0 0.35rem 1.1rem; position: relative; }
.pros li::before { content: "+"; position: absolute; left: 0; color: var(--olive); font-weight: 700; }
.cons li::before { content: "\2212"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.review-jump { text-align: right; font-size: 0.78rem; margin-top: 0.8rem; }
