/* Handy House Calls — styles. Tokens first, then components in page order. */

:root {
  --paper: #faf6ef;
  --paper-2: #f4ecdf;
  --card: #fffdf9;
  --ink: #1f1a17;
  --ink-2: #4b423b;
  --muted: #6b6057;
  --line: #e8dece;
  --line-2: #dccfb9;
  --wine: #7a1f2b;
  --copper: #b4482a;
  --brass: #b98a3e;
  --brass-ink: #86621f;
  --brass-light: #f1d79c;
  --night: #1c1714;

  --radius: 18px;
  --shadow: 0 1px 2px rgb(31 26 23 / .05), 0 10px 28px -12px rgb(31 26 23 / .14);
  --font-display: 'Fraunces Variable', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::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 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
svg { display: block; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* Top line */
.topline { background: var(--night); color: #efe6d6; font-size: 13px; font-weight: 600; }
.topline ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 30px; padding-block: 9px; }
.topline li { display: inline-flex; align-items: center; gap: 10px; }
.topline li::before { content: ""; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }
@media (max-width: 760px) { .topline li + li { display: none; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(250 246 239 / .9);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 28px; height: 38px; flex: none; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 650; font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__sub { margin-top: 3px; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav a:hover { color: var(--ink); background: rgb(31 26 23 / .05); }
.nav .nav__pill { background: var(--ink); color: var(--paper); }
.nav .nav__pill:hover { background: var(--wine); color: #fff; }
@media (max-width: 680px) {
  .nav li:not(:first-child) { display: none; }
  .brand__sub { display: none; }
}

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 14px;
  font: 700 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #9c2b3b 0%, #6a1824 100%);
  box-shadow: 0 12px 26px -12px rgb(122 31 43 / .75), inset 0 1px 0 rgb(255 255 255 / .18);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgb(122 31 43 / .85), inset 0 1px 0 rgb(255 255 255 / .22); }
.btn--ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { color: var(--paper); background: var(--ink); }
.btn--sm { min-height: 46px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
.btn .icon { width: 18px; height: 18px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--card); font-size: 13px; font-weight: 700; color: var(--ink-2);
}
.pill strong { color: var(--ink); }
.diamond { width: 7px; height: 7px; flex: none; background: var(--brass); transform: rotate(45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(55% 70% at 88% 34%, rgb(227 194 122 / .30), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgb(122 31 43 / .07), transparent 70%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(44px, 7vw, 96px) clamp(48px, 6vw, 84px);
}
.hero h1 { margin-top: 22px; font-size: clamp(2.6rem, 5.6vw, 4.75rem); line-height: 1; letter-spacing: -.025em; }
.grad {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--wine) 0%, var(--copper) 55%, #9a6b22 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.lead { margin-top: 22px; max-width: 37em; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--ink-2); }
.lead strong { color: var(--ink); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks .icon { color: var(--wine); }
.emblem { width: 100%; max-width: 440px; height: auto; margin-inline: auto; overflow: visible; }
.emblem__label { font: 800 11px/1 var(--font-body); letter-spacing: .26em; fill: var(--brass-light); }
.emblem__no { font: italic 500 22px/1 var(--font-display); fill: var(--brass-light); }
.emblem__num { font: 700 104px/1 var(--font-display); letter-spacing: -.02em; }
.emblem__key { transform-origin: 244.6px 121.2px; animation: swing 6s ease-in-out infinite; }
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 3.4s ease-in-out infinite; }
.spark:nth-of-type(2) { animation-delay: -.9s; }
.spark:nth-of-type(3) { animation-delay: -1.7s; }
.spark:nth-of-type(4) { animation-delay: -2.4s; }
.spark:nth-of-type(5) { animation-delay: -3s; }
@keyframes swing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.72); } 50% { opacity: 1; transform: scale(1); } }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .emblem { max-width: 290px; }
}

/* Ticker */
.ticker {
  overflow: hidden; background: var(--card); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; gap: 34px; padding: 14px 17px; }
.ticker a {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.ticker a:hover { color: var(--wine); }
.num {
  display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: #f3e6c8; color: var(--brass-ink); font-size: 12px; font-weight: 800;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink); }
.section h2 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 24px; margin-bottom: 36px; }
.section-lead { margin-top: 12px; max-width: 40em; color: var(--muted); }

/* The ten */
.hotels { display: grid; gap: 20px; }
.hotel {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 210px;
  grid-template-areas: "fob head actions" "fob body actions";
  gap: 6px 28px;
  padding: 28px 30px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.fob { grid-area: fob; position: relative; width: 76px; aspect-ratio: 80 / 112; }
.fob svg {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  fill: var(--fob); stroke: var(--fob); stroke-width: 10; stroke-linejoin: round;
  filter: drop-shadow(0 6px 10px rgb(31 26 23 / .18));
}
.fob__no, .fob__num { position: absolute; left: 0; right: 0; text-align: center; color: #f3dca6; font-family: var(--font-display); line-height: 1; }
.fob__no { top: 34%; font-size: 12px; font-style: italic; font-weight: 500; }
.fob__num { top: 47%; font-size: 30px; font-weight: 650; }
.hotel__head { grid-area: head; }
.hotel__where { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.hotel__name { margin-top: 6px; font-size: clamp(1.45rem, 2.2vw, 1.75rem); }
.hotel__body { grid-area: body; margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.tags .tag--casino { background: #f7e9e7; border-color: #ecd2cd; color: var(--wine); }
.hotel__text { margin-top: 14px; max-width: 46em; color: var(--ink-2); }
.hotel__note {
  display: flex; align-items: baseline; gap: 12px; margin-top: 16px; padding: 12px 16px;
  border-radius: 12px; background: var(--paper-2); font-size: 15px;
}
.hotel__note b { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.hotel__actions { grid-area: actions; display: flex; flex-direction: column; align-items: stretch; gap: 12px; align-self: center; }
.hotel__site {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px;
}
.hotel__site { text-align: center; text-wrap: balance; }
.hotel__site:hover { color: var(--wine); text-decoration-color: currentColor; }
.hotel__site .icon { width: 14px; height: 14px; }
@media (max-width: 960px) {
  .hotel { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "fob head" "fob body" ". actions"; }
  .fob { width: 60px; }
  .fob__no { font-size: 10px; }
  .fob__num { font-size: 24px; }
  .hotel__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
  .hotel__site { text-align: left; }
}
@media (max-width: 600px) {
  .hotel { grid-template-columns: 46px minmax(0, 1fr); grid-template-areas: "fob head" "body body" "actions actions"; gap: 4px 14px; padding: 22px 20px; }
  .fob { width: 44px; }
  .fob__no { font-size: 8px; }
  .fob__num { font-size: 18px; }
  .hotel__note { flex-direction: column; gap: 4px; }
}

/* How we picked */
.how { background: var(--card); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.step__num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--wine); color: #f3dca6; font: italic 600 18px/1 var(--font-display);
}
.step h3 { margin-top: 18px; font-size: 1.3rem; }
.step p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Before you book */
.print__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; gap: clamp(28px, 5vw, 72px); }
.print__intro p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }
.print__list { margin: 0; }
.print__item { padding: 22px 0; border-top: 1px solid var(--line-2); }
.print__item:last-child { border-bottom: 1px solid var(--line-2); }
.print__item dt { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.print__item dd { margin: 8px 0 0; color: var(--ink-2); }
.print__item a, .doc a { color: var(--wine); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 860px) { .print__grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding-block: 56px 28px; background: var(--night); color: #d9cfbf; }
.footer__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px 40px; }
.site-footer .brand__name { color: #f6efe3; }
.site-footer .brand__sub { color: #c9a663; }
.footer__tag { margin-top: 14px; max-width: 30em; font-size: 15px; color: #b9ad9b; }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__nav a { font-size: 15px; font-weight: 600; color: #efe6d6; text-decoration: none; }
.footer__nav a:hover { color: var(--brass-light); text-decoration: underline; }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .1);
  font-size: 13.5px; color: #a89c8a;
}

/* Privacy page */
.doc { max-width: 720px; padding-block: clamp(48px, 7vw, 88px); }
.doc h1 { margin-top: 10px; font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.doc h2 { margin-top: 40px; font-size: 1.5rem; }
.doc p:not(.eyebrow) { margin-top: 12px; color: var(--ink-2); }
.doc p.updated { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .emblem__key, .spark, .ticker__track { animation: none; }
  .ticker { overflow-x: auto; }
  .ticker__list[aria-hidden="true"] { display: none; }
  .btn { transition: none; }
}
