/* fortuna-casino.ca -- the whole stylesheet, linked once from /styles/lobby.css.
 *
 * No content hash in the filename, by profile. The .htaccess therefore caches
 * it for three days rather than a year: a long lifetime on an unhashed file
 * means an edit never reaches anyone who has already visited, and the build
 * refuses to ship that combination.
 *
 * Nothing here is shared with another site in the network. Class names carry the
 * lby- prefix, the type scale is this site's, and layout is a two-column grid
 * with no <header>/<footer> involved -- the page has four body-level landmarks
 * instead of the usual three.
 */

:root {
  --ink: #13262b;
  --ink-soft: #3b5a60;
  --paper: #f4f8f6;
  --paper-warm: #fbf7ec;
  --card: #ffffff;
  --rule: #d6e2de;
  --amber: #f6c81b;
  --amber-deep: #b78c00;
  --flag: #b4452c;
  --measure: 68ch;
  --gap: clamp(1rem, 3vw, 2.25rem);
  --radius: 14px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.0625rem)/1.68 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0f4c54;
  text-underline-offset: 0.18em;
  text-decoration-thickness: from-font;
}

a:hover,
a:focus-visible {
  color: var(--flag);
}

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

h1,
h2,
h3 {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  line-height: 1.16;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem);
  font-weight: 700;
  margin-top: 0;
}

h3 {
  font-size: clamp(1.07rem, 1rem + 0.4vw, 1.2rem);
  font-weight: 700;
  margin-top: 1.4em;
}

p {
  margin: 0 0 1.05em;
  max-width: var(--measure);
}

/* --- skip link ---------------------------------------------------------- */

.lby-jump {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9;
  background: var(--ink);
  color: var(--paper-warm);
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius) 0;
}

.lby-jump:focus {
  left: 0;
}

/* --- primary strip ------------------------------------------------------ */

.lby-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem var(--gap);
  padding: 0.85rem var(--gap);
  background: var(--ink);
  border-bottom: 4px solid var(--amber);
}

.lby-rail__mark {
  margin: 0;
  flex: 0 0 auto;
  line-height: 0;
}

.lby-rail__mark img {
  width: 154px;
  height: 22px;
}

.lby-rail__mark[href]:hover img,
.lby-rail__mark[href]:focus-visible img {
  opacity: 0.78;
}

.lby-rail__set {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 22rem;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 0.9rem;
}

.lby-rail__set a {
  color: #d9e8e4;
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.lby-rail__set a:hover,
.lby-rail__set a:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.lby-rail__here {
  color: var(--amber);
  font-weight: 700;
  border-bottom: 2px solid var(--amber);
  padding: 0.2rem 0;
}

.lby-rail__hop {
  flex: 0 0 auto;
  display: block;
  background: var(--amber);
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  text-decoration: none;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
}

.lby-rail__hop strong {
  display: block;
  font-size: 0.97rem;
}

.lby-rail__hop small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
}

.lby-rail__hop:hover,
.lby-rail__hop:focus-visible {
  background: var(--paper-warm);
  border-color: var(--amber);
  color: var(--ink);
}

/* --- breadcrumb --------------------------------------------------------- */

.lby-trail {
  padding: 0.65rem var(--gap) 0;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.lby-trail ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 76rem;
}

.lby-trail li + li::before {
  content: "\203A";
  margin-right: 0.5rem;
  color: var(--amber-deep);
}

/* --- the page ----------------------------------------------------------- */

.lby-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  max-width: 76rem;
  margin: 0 auto;
  padding: var(--gap);
  align-items: start;
}

@media (min-width: 62em) {
  .lby-stage {
    grid-template-columns: minmax(0, 1fr) 15rem;
  }
}

.lby-sheet {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.5vw, 2.4rem);
  min-width: 0;
}

.lby-kicker {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0 0 0.7rem;
}

.lby-plate {
  margin: 1.2rem 0 1.6rem;
}

.lby-plate img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  background: var(--paper-warm);
}

@media (max-width: 46em) {
  .lby-plate img {
    aspect-ratio: 4 / 5;
  }
}

.lby-lead {
  font-size: 1.07em;
  color: #22424a;
}

.lby-lead:first-of-type::first-line {
  font-variant-caps: small-caps;
  letter-spacing: 0.01em;
}

.lby-part {
  margin: 0 0 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule);
}

.lby-part:first-of-type {
  border-top: 3px double var(--amber-deep);
}

.lby-inset {
  margin: 0 0 2rem;
  padding: 0.75rem;
  background: var(--paper-warm);
  border-radius: calc(var(--radius) - 4px);
}

.lby-inset img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.lby-inset--square img {
  aspect-ratio: 1 / 1;
  max-width: 24rem;
  margin-inline: auto;
}

.lby-inset figcaption {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 0.6rem 0.25rem 0;
}

/* --- questions as a definition list ------------------------------------ */

.lby-asked {
  margin: 0 0 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule);
}

.lby-asked dl {
  margin: 0;
  display: grid;
  gap: 0.2rem;
}

.lby-asked dt {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  margin-top: 1.05rem;
  padding-left: 1.15rem;
  position: relative;
}

.lby-asked dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  color: var(--amber-deep);
  font-weight: 800;
}

.lby-asked dd {
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
  max-width: var(--measure);
  color: #22424a;
  border-left: 2px solid var(--rule);
}

/* --- handoff ------------------------------------------------------------ */

.lby-handoff {
  background: var(--ink);
  color: #e7f1ee;
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.4vw, 1.9rem);
}

.lby-handoff h2 {
  color: var(--amber);
}

.lby-handoff p {
  color: #cfe0dc;
}

.lby-handoff__hop {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--amber);
}

.lby-handoff__hop:hover,
.lby-handoff__hop:focus-visible {
  background: transparent;
  color: var(--amber);
}

/* --- flank -------------------------------------------------------------- */

.lby-flank {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.9rem;
  position: sticky;
  top: 1rem;
}

.lby-flank img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
}

.lby-flank__label {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0.7rem 0 0;
}

/* --- cross links -------------------------------------------------------- */

.lby-ways {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gap) var(--gap);
}

.lby-ways ul {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.lby-ways li {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.8rem 1rem;
}

.lby-ways a {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
}

.lby-ways span {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

/* --- colophon ----------------------------------------------------------- */

.lby-small {
  background: var(--ink);
  color: #a9c2bd;
  padding: var(--gap);
  font-size: 0.86rem;
}

.lby-small img {
  width: 118px;
  height: 17px;
  margin-bottom: 0.9rem;
}

.lby-small p {
  max-width: 62ch;
  margin-inline: auto;
}

.lby-small__sign {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  opacity: 0.7;
  margin-bottom: 0;
}

/* --- age gate ----------------------------------------------------------- */

.lby-ask {
  border: none;
  border-top: 6px solid var(--amber);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  max-width: 34rem;
  width: calc(100% - 2rem);
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 1.6rem 3rem rgba(19, 38, 43, 0.33);
}

.lby-ask::backdrop {
  background: rgba(19, 38, 43, 0.62);
}

.lby-ask__mark {
  width: 118px;
  height: 17px;
  margin-bottom: 1rem;
}

.lby-ask__q {
  font-size: 1.28rem;
}

.lby-ask__why {
  color: #2d4d54;
}

.lby-ask__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
}

.lby-ask button {
  font: inherit;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  padding: 0.68rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
}

.lby-ask__yes {
  background: var(--amber);
  border: 2px solid var(--amber);
  color: var(--ink);
  order: 2;
}

.lby-ask__no {
  background: transparent;
  border: 2px solid var(--rule);
  color: var(--ink-soft);
  order: 1;
}

.lby-ask__yes:hover,
.lby-ask__yes:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--amber);
}

.lby-ask__no:hover,
.lby-ask__no:focus-visible {
  border-color: var(--flag);
  color: var(--flag);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .lby-rail,
  .lby-ways,
  .lby-ask,
  .lby-flank {
    display: none;
  }
}
