/* Ashford Group: same paper, ink and navy as Casestead. One accent, serif headings, mono labels. */
:root {
  --paper: #f6f4ef;
  --paper-2: #efece5;
  --card: #fbfaf7;
  --ink: #15171a;
  --ink-2: #33363c;
  --muted: #6b6e74;
  --rule: #d9d5cc;
  --rule-soft: #e6e2d9;
  --accent: #1f3a5f;
  --accent-2: #3d5f8a;
  --steel: #9fb3cc;
  --accent-soft: #e4e9f0;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.narrow > * { max-width: 760px; } /* text column stays left-aligned with the other sections */
main, footer { position: relative; z-index: 2; }
main { overflow-x: clip; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ---------- Backdrop: silk canvas + veil + grid (as on Casestead) ---------- */
#silk { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease); }
#silk.on { opacity: 1; }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(110% 62% at 50% -10%, rgba(246,244,239,.78), rgba(246,244,239,.12) 62%),
              radial-gradient(60% 40% at 85% 10%, rgba(159,179,204,.18), transparent 70%); }
.grid { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(21,23,26,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(21,23,26,.045) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(100% 70% at 50% 30%, #000 25%, transparent 85%);
          mask-image: radial-gradient(100% 70% at 50% 30%, #000 25%, transparent 85%); }

/* ---------- Floating header ---------- */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 16px; transition: transform .5s var(--ease); }
.nav.tucked { transform: translateY(-140%); }
.nav-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 24px; border-radius: 999px;
  background: rgba(251,250,247,.62); border: 1px solid rgba(217,213,204,.7);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: max-width .5s var(--ease), background .3s, box-shadow .4s; }
.nav.scrolled .nav-inner { max-width: 900px; background: rgba(251,250,247,.86);
  box-shadow: 0 1px 0 rgba(21,23,26,.03), 0 18px 40px -22px rgba(21,23,26,.28); }
.wordmark { font-family: var(--serif); font-size: 25px; letter-spacing: -.01em; line-height: 1; white-space: nowrap;
  color: var(--ink) !important; text-decoration: none !important; }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: 14.5px; }
.nav-links a:not(.pill) { color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.nav-links a:not(.pill):hover, .nav-links a[aria-current] { background: rgba(21,23,26,.05); text-decoration: none; }
.nav-links .lang { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }

.pill, .btn { display: inline-block; font-size: 14.5px; font-weight: 500; padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper) !important; border: 1px solid var(--ink);
  transition: background .25s, transform .25s var(--ease), box-shadow .25s; }
.pill:hover, .btn:hover { background: var(--accent); border-color: var(--accent); text-decoration: none; box-shadow: 0 10px 24px -12px rgba(31,58,95,.6); }
.btn { font-size: 15.5px; padding: 12px 22px; }
.btn-ghost { background: rgba(251,250,247,.5); color: var(--ink) !important; border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(251,250,247,.8); box-shadow: none; }
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
h1 { font-size: clamp(46px, 6.6vw, 84px); line-height: 1; }
h2 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.05; margin-bottom: 18px; }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.tag::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 640px; margin-top: 26px; }
.block-intro { font-size: 18px; color: var(--ink-2); max-width: 680px; }
.rise { opacity: 0; transform: translateY(16px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.05s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding-top: 168px; padding-bottom: 20px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.page-hero h1 { font-size: clamp(42px, 5.6vw, 72px); max-width: 900px; }
.ticket { border-radius: 16px; background: rgba(251,250,247,.84); border: 1px solid var(--rule-soft); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(21,23,26,.03), 0 50px 90px -40px rgba(21,23,26,.35), 0 0 0 8px rgba(251,250,247,.35); overflow: hidden; }
.ticket-head { display: flex; justify-content: space-between; padding: 11px 18px; border-bottom: 1px solid var(--rule-soft);
  background: rgba(239,236,229,.7); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ticket dl { padding: 6px 22px; }
.ticket dl > div { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); }
.ticket dl > div:last-child { border-bottom: 0; }
.ticket dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.ticket dd { font-size: 15.5px; }
.ticket .hidden-row dd { color: var(--muted); }
.ticket .hidden-row b { color: var(--accent); font-weight: 500; }
.ticket-foot { padding: 12px 22px; border-top: 1px solid var(--rule-soft); font-size: 13px; color: var(--muted); }
.toc { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.toc a { display: inline-block; font-size: 14px; color: var(--ink-2); padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: rgba(251,250,247,.55); }
.toc a:hover { border-color: var(--ink); text-decoration: none; }

/* ---------- Sections ---------- */
section.block { padding-top: 112px; }
.points, .checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 40px; border-top: 1px solid var(--rule); }
.points li, .checks li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.points b, .checks b, .steps b, .fact b { display: block; font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.2; margin-bottom: 6px; }
.points span, .checks span, .steps span, .fact span { color: var(--ink-2); font-size: 16px; }
.trades { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.trades li { font-size: 15px; padding: 7px 15px; border: 1px solid var(--rule); border-radius: 999px; background: rgba(251,250,247,.6); color: var(--ink-2); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.steps li { counter-increment: s; border: 1px solid var(--rule-soft); border-radius: 16px; padding: 26px 26px 24px; background: rgba(251,250,247,.72); backdrop-filter: blur(6px); }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 14px; }
.nocharge { display: grid; grid-template-columns: 220px 1fr; margin-top: 16px; border: 1px solid var(--rule-soft); border-radius: 16px; overflow: hidden; background: rgba(251,250,247,.72); }
.nocharge-head { background: var(--ink); color: var(--paper); padding: 26px; }
.nocharge-head b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.nocharge-body { padding: 24px 28px; }
.nocharge-body ul { list-style: none; margin-bottom: 12px; }
.nocharge-body li { padding: 6px 0 6px 26px; position: relative; color: var(--ink-2); }
.nocharge-body li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.nocharge-body p { color: var(--muted); font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--rule); }
.fact { padding: 24px 22px 0 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--rule); }
.band { margin: 120px auto 0; max-width: 1120px; padding: 0 28px; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; border-radius: 24px; padding: 56px 48px; color: var(--paper);
  background: radial-gradient(700px 260px at 80% 130%, rgba(61,95,138,.55), transparent 70%), linear-gradient(170deg, #15171a 0%, #1b2330 60%, #1f3a5f 140%); }
.band h2 { color: var(--paper); font-size: clamp(32px, 3.6vw, 44px); }
.band p { color: rgba(246,244,239,.72); max-width: 560px; }
.btn-dark { background: var(--paper); color: var(--ink) !important; border-color: var(--paper); white-space: nowrap; }
.btn-dark:hover { background: #fff; border-color: #fff; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }

/* verify page */
.who { margin-top: 26px; border-top: 1px solid var(--rule); }
.who > div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.who dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.who dd { color: var(--ink-2); }
.note { margin-top: 22px; padding: 18px 22px; border-radius: 14px; background: var(--accent-soft); color: var(--ink-2); font-size: 15.5px; }
.sites { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 30px; border-top: 1px solid var(--rule); }
.sites li { padding: 11px 0; border-bottom: 1px solid var(--rule-soft); font-size: 14.5px; }
.sites a { font-family: var(--mono); font-size: 13px; display: block; }
.sites span { color: var(--muted); }
figure { margin-top: 30px; max-width: 600px; }
figure img { display: block; border-radius: 16px; border: 1px solid var(--rule-soft); box-shadow: 0 40px 80px -44px rgba(21,23,26,.4); }
figcaption { font-size: 14px; color: var(--muted); margin-top: 14px; }
.contact p { color: var(--ink-2); margin-bottom: 10px; }

/* privacy + 404 */
.prose { padding-top: 160px; }
.prose h1 { font-size: clamp(44px, 5.6vw, 68px); margin-bottom: 14px; }
.prose h2 { font-size: 32px; margin: 52px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-bottom: 14px; }
.prose ul { list-style: none; margin: 4px 0 18px; }
.prose ul li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--rule-soft); position: relative; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.prose .meta { font-size: 14px; color: var(--muted); }
.lost { text-align: center; padding-bottom: 60px; }
.lost .code { font-family: var(--serif); font-size: 150px; line-height: 1; color: var(--steel); }
.lost .lead { margin: 20px auto 0; }
.lost .btns { justify-content: center; }

/* ---------- Footer ---------- */
footer { padding: 120px 0 56px; font-size: 14px; color: var(--muted); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; }
.foot-top nav a { color: var(--ink-2); margin-left: 22px; }
.foot-top nav a:first-child { margin-left: 0; }
footer .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 22px; }
footer .row a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .points, .checks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nocharge { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .band .wrap { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .sites { grid-template-columns: 1fr 1fr; }
  .nav-links .pill { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .band { padding: 0 16px; }
  .nav { padding: 0 10px; }
  .nav-inner { padding-left: 18px; }
  .wordmark { font-size: 23px; }
  .hide-sm { display: none; }
  .sites { grid-template-columns: 1fr; }
  .who > div { grid-template-columns: 1fr; gap: 2px; }
  .ticket dl > div { grid-template-columns: 1fr; gap: 2px; }
  .foot-top nav a { margin: 0 18px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .js [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
}
