/* Dice Digital Media — one stylesheet, no JS, no third-party requests.
 *
 * The palette is sampled from the hero photograph: the Las Vegas valley seen
 * from orbit. Sodium-orange street grid, cool white arterials, black desert.
 *
 * Colour has one rule here: ORANGE IS GRAPHIC, BLUE IS INTERACTIVE. Sodium
 * never carries a link or small body text — it cannot reach 4.5:1 on paper.
 * It does display type, rules, marks and glow. Anything clickable is blue.
 */

/* ============================================================== fonts === */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-var-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrumentsans-var-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

/* ============================================================= tokens === */

:root {
  /* Surfaces that never flip. The hero sits on a black photograph in both
     colour schemes, so it gets its own scale rather than the themed one. */
  --void:        #08070c;
  --void-2:      #131119;
  --void-3:      #201c29;
  --on-void:     #f7f3ec;
  --on-void-2:   #b9b2c4;
  --on-void-3:   #8b8499;
  --void-line:   #2c2735;

  /* Themed surfaces. */
  --ink:         #16151b;
  --ink-2:       #43404d;
  --muted:       #6b6776;
  --paper:       #f6f4f1;
  --paper-2:     #eceae4;
  --line:        #d7d2ca;

  /* Accents. */
  --sodium:      #e8842b;  /* graphics, rules, marks, display type only */
  --sodium-deep: #a8530f;  /* the one orange safe for small text on paper */
  --sodium-lit:  #ffae5c;  /* orange on dark surfaces */
  --runway:      #2f5dc4;  /* every link and control on paper */
  --runway-lit:  #8fb6ff;  /* every link and control on dark */
  --runway-wash: #e8edfa;
  --btn-ink:     #ffffff;  /* text on a filled runway button */

  --wrap:        1180px;
  --r:           4px;

  --display: 'Archivo', 'Arial Narrow', Helvetica, Arial, sans-serif;
  --text:    'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:         #f2eee8;
    --ink-2:       #c3bdcb;
    --muted:       #948da0;
    --paper:       #0c0b10;
    --paper-2:     #15131b;
    --line:        #2b2634;

    --sodium-deep: #ffae5c;
    --runway:      #8fb6ff;
    --runway-wash: #171b2c;
    --btn-ink:     #0b0a10;
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =============================================================== type === */

/* The type signature of this site is the WIDTH axis, not the weight axis:
   headlines run wide (118%), utility labels run condensed (66%). Both come
   from the same variable file, so the contrast costs no extra bytes. */

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-stretch: 118%;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.8vw, 5.2rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h3 { font-size: 1.2rem;  font-stretch: 100%; font-weight: 700; letter-spacing: -0.02em; line-height: 1.22; }
h4 { font-size: 1rem;    font-stretch: 100%; font-weight: 700; letter-spacing: -0.015em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--runway); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

strong, b { font-weight: 600; color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }

/* Filenames and literals. Archivo condensed stands in for a mono face so the
   site never pays for a third typeface it would use eleven times. */
code {
  font-family: var(--display);
  font-stretch: 70%; font-weight: 600; font-size: .93em;
  letter-spacing: .01em;
  background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 3px;
  padding: .08em .34em;
  white-space: nowrap;
}
.band-dark code, .plaza code {
  background: var(--void-3); color: var(--on-void); border-color: var(--void-line);
}

/* The condensed utility voice: eyebrows, field labels, meta lines. */
.label {
  display: block;
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sodium-deep);
  margin: 0 0 14px;
}
.label-quiet { color: var(--muted); }

.lede {
  font-size: clamp(1.08rem, 2.1vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
}

/* ============================================================= layout === */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.band { padding: clamp(62px, 8.5vw, 112px) 0; }
/* Closes the gap when two dark bands sit back to back and should read as one. */
.band-flush { padding-top: 0; }
.band-tint { background: var(--paper-2); }
.band-dark { background: var(--void); color: var(--on-void-2); }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: var(--on-void); }
.band-dark .label { color: var(--sodium-lit); }
.band-dark .label-quiet { color: var(--on-void-3); }
.band-dark .lede { color: var(--on-void-2); }
.band-dark a { color: var(--runway-lit); }
.band-dark strong { color: var(--on-void); }

.band-head { max-width: 640px; margin: 0 0 clamp(32px, 4.2vw, 54px); }
.band-head p { color: var(--muted); margin-bottom: 0; }
.band-dark .band-head p { color: var(--on-void-2); }

.measure { max-width: 62ch; }

/* =============================================================== skip === */

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--runway); color: #fff; font-weight: 600;
  padding: 12px 20px; border-radius: var(--r); text-decoration: none;
  transition: top .15s ease;
}
.skip:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--runway); outline-offset: 3px; border-radius: 2px; }
.band-dark :focus-visible,
.hero :focus-visible,
.plaza :focus-visible,
.foot :focus-visible { outline-color: var(--sodium-lit); }

/* ============================================================= header === */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
/* Over the hero photograph the masthead is part of the night sky. */
.masthead-over { background: var(--void); border-bottom-color: var(--void-line); }

.masthead-in { display: flex; align-items: center; gap: 18px; min-height: 66px; flex-wrap: wrap; }

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  margin-right: auto; text-decoration: none; color: var(--ink);
  font-family: var(--display);
  font-stretch: 108%; font-weight: 800; font-size: 1.02rem;
  letter-spacing: -0.035em; line-height: 1;
}
.masthead-over .brand { color: var(--on-void); }
.brand-mark { flex: none; display: block; }
.brand em { font-style: normal; color: var(--muted); font-weight: 600; }
.masthead-over .brand em { color: var(--on-void-3); }

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a {
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; padding: 8px 13px; border-radius: var(--r);
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--sodium); }
.masthead-over .nav a { color: var(--on-void-2); }
.masthead-over .nav a:hover { color: var(--on-void); background: var(--void-3); }
.masthead-over .nav a[aria-current="page"] { color: var(--on-void); }

/* ============================================================ buttons === */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--text); font-size: .96rem; font-weight: 600;
  text-decoration: none; padding: 13px 22px; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--runway); color: var(--btn-ink); }
.btn-primary:hover { background: #244ba4; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn-row-tight { margin-top: 6px; }

.band-dark .btn-primary,
.hero .btn-primary,
.plaza .btn-primary { background: var(--sodium); color: #17120b; }
.band-dark .btn-primary:hover,
.hero .btn-primary:hover,
.plaza .btn-primary:hover { background: var(--sodium-lit); }
.band-dark .btn-ghost,
.hero .btn-ghost,
.plaza .btn-ghost { border-color: var(--void-line); color: var(--on-void); }
.band-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.plaza .btn-ghost:hover { border-color: var(--on-void-3); }

/* The arrow is drawn, not typed, so it can never render as an emoji. */
.btn .arw { width: 15px; height: 9px; flex: none; }

/* =============================================================== hero === */

.hero { position: relative; background: var(--void); color: var(--on-void-2); overflow: hidden; isolation: isolate; }
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 46%;
  filter: contrast(1.12) saturate(1.18);
  z-index: -2;
}
/* Two washes: one to seat the type, one to pull the sodium grid warmer. */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(104deg, var(--void) 2%, rgba(8,7,12,.90) 30%, rgba(8,7,12,.34) 62%, rgba(8,7,12,.52) 100%),
    radial-gradient(120% 90% at 80% 26%, rgba(232,132,43,.10), transparent 60%);
}
.hero-in { padding-top: clamp(76px, 11.5vw, 148px); padding-bottom: clamp(56px, 7.5vw, 100px); }
.hero h1 { color: var(--on-void); max-width: 13ch; }
.hero .lede { color: var(--on-void-2); max-width: 46ch; }
.hero .label { color: var(--sodium-lit); }

/* The line under the eyebrow reads as a lit filament. */
.hero-rule { width: 84px; height: 2px; margin: 0 0 26px; background: linear-gradient(90deg, var(--sodium-lit), rgba(255,174,92,0)); }

.hero-credit,
.plaza-credit {
  font-family: var(--display); font-stretch: 70%; font-size: .73rem;
  letter-spacing: .09em; text-transform: uppercase; color: var(--on-void-3);
  max-width: 52ch; line-height: 1.6;
}
.hero-credit { margin: 46px 0 0; }
.plaza-credit { margin: 30px 0 0; }
.hero-credit a, .plaza-credit a { color: var(--on-void-3); }
.hero-credit a:hover, .plaza-credit a:hover { color: var(--on-void-2); }

/* ============================================================ readout === */
/* THE SIGNATURE. A crawler's-eye view of the same business twice: what a
   themed template exposes, and what we hand over. Everything else on the
   page is deliberately quiet so this can be loud. */

.readout { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); align-items: start; }

.panel { border: 1px solid var(--void-line); border-radius: var(--r); background: var(--void-2); overflow: hidden; }
.panel-good {
  border-color: rgba(255,174,92,.34);
  background: linear-gradient(180deg, rgba(232,132,43,.10), rgba(232,132,43,0) 220px), var(--void-2);
}

.panel-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--void-line);
  background: rgba(0,0,0,.22);
}
.panel-top h3 { margin: 0; font-size: 1rem; color: var(--on-void); font-stretch: 100%; }
.panel-tag {
  font-family: var(--display); font-stretch: 66%; font-weight: 700;
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--on-void-3); white-space: nowrap;
}
.panel-good .panel-tag { color: var(--sodium-lit); }

.rows { margin: 0; padding: 4px 20px 18px; }
.rows > div { display: grid; gap: 3px; padding: 13px 0 12px; border-bottom: 1px solid var(--void-line); }
.rows > div:last-child { border-bottom: 0; padding-bottom: 4px; }

.rows dt {
  font-family: var(--display); font-stretch: 66%; font-weight: 700;
  font-size: .71rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--on-void-3);
}
.rows dd { margin: 0; font-size: .95rem; line-height: 1.42; color: var(--on-void-2); font-style: italic; }
.panel-good .rows dd { color: var(--on-void); font-style: normal; }

/* A drawn state marker — no icon font, no emoji. */
.rows dd::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 7px; height: 7px; margin-right: 9px; border-radius: 50%;
  background: transparent; border: 1px solid var(--on-void-3);
}
.panel-good .rows dd::before {
  background: var(--sodium-lit); border-color: var(--sodium-lit);
  box-shadow: 0 0 9px rgba(255,174,92,.75);
}

.readout-foot { margin: 26px 0 0; font-size: .95rem; color: var(--on-void-2); max-width: 64ch; }

/* ============================================================== cards === */

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.cell { background: var(--paper); padding: 30px 28px; }
.cell h3 { margin-bottom: .45em; }
.cell p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.cell-mark { width: 30px; height: 30px; margin-bottom: 18px; color: var(--sodium); display: block; }

/* =========================================================== runsheet === */
/* Numbered because the order genuinely carries information: real copy before
   build, build before upload, upload before the routing flip. Not decoration. */

.runsheet { counter-reset: run; border-top: 1px solid var(--line); }
.run {
  counter-increment: run;
  display: grid; gap: 5px 26px; grid-template-columns: 62px 1fr;
  padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.run::before {
  content: counter(run, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--display); font-stretch: 66%; font-weight: 800;
  font-size: 1.5rem; letter-spacing: .04em; color: var(--sodium-deep);
  line-height: 1; padding-top: 3px;
}
.run h3 { margin: 0; }
.run p { color: var(--muted); font-size: .96rem; margin: 0; grid-column: 2; }

@media (max-width: 560px) {
  .run { grid-template-columns: 44px 1fr; gap: 5px 16px; }
  .run::before { font-size: 1.2rem; }
}

/* ============================================================== plaza === */

.plaza { position: relative; overflow: hidden; background: var(--void); isolation: isolate; color: var(--on-void-2); }
.plaza h2 { color: var(--on-void); }
.plaza .label { color: var(--sodium-lit); }
.plaza .lede { color: var(--on-void-2); }
.plaza-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
  filter: grayscale(.5) contrast(1.08) brightness(.88);
  z-index: -2;
}
.plaza::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,7,12,.93) 4%, rgba(8,7,12,.74) 46%, rgba(8,7,12,.40) 100%),
    linear-gradient(180deg, rgba(200,100,26,.20), transparent 55%);
}
.plaza-in { padding-top: clamp(70px, 9.5vw, 124px); padding-bottom: clamp(70px, 9.5vw, 124px); }

/* ============================================================= ledger === */

.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--void-line); }
.ledger li {
  display: grid; grid-template-columns: 24px 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--void-line);
  align-items: start; color: var(--on-void-2); font-size: 1rem;
}
.ledger svg { width: 20px; height: 20px; color: var(--sodium-lit); margin-top: 3px; }
.ledger b { color: var(--on-void); font-weight: 600; }

/* ============================================================ service === */

.service { border-top: 1px solid var(--line); padding: 40px 0; scroll-margin-top: 88px; }
.service:last-of-type { border-bottom: 1px solid var(--line); }
.service-in { display: grid; gap: 12px 48px; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); align-items: start; }
.service h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.service .label { margin-bottom: 8px; }
.service ul { margin: 14px 0 0; padding: 0 0 0 20px; color: var(--muted); font-size: .96rem; }
.service li { margin-bottom: 7px; }
.service li::marker { color: var(--sodium-deep); }

@media (max-width: 780px) { .service-in { grid-template-columns: 1fr; gap: 14px; } }

/* =============================================================== form === */

.contact-grid h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-bottom: 22px; }
.contact-grid { display: grid; gap: clamp(34px, 5vw, 60px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

label { font-size: .89rem; font-weight: 600; color: var(--ink); }
.req { color: var(--sodium-deep); font-weight: 700; }
.hint { font-size: .84rem; color: var(--muted); font-weight: 400; }

input, textarea, select {
  font-family: var(--text); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 14px; width: 100%;
}
select { appearance: none; padding-right: 40px; }
.select-wrap { position: relative; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 12px; height: 8px; color: var(--muted); pointer-events: none; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--runway); box-shadow: 0 0 0 3px var(--runway-wash); }
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }

.form-note {
  font-size: .9rem; color: var(--muted); background: var(--paper-2);
  border-left: 2px solid var(--sodium); padding: 14px 16px;
  border-radius: 0 var(--r) var(--r) 0; margin: 0;
}

.expect { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.expect li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.expect .label { margin-bottom: 6px; }
.expect p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ================================================================ cta === */

.cta-in { display: grid; gap: 24px 56px; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: end; }
@media (max-width: 780px) { .cta-in { grid-template-columns: 1fr; align-items: start; } }
.cta-in h2 { margin: 0; max-width: 15ch; }
.cta-in p { color: var(--on-void-2); margin: 0; }

/* ============================================================= footer === */

.foot { background: var(--void); color: var(--on-void-3); padding: 58px 0 34px; font-size: .93rem; }
.foot a { color: var(--on-void-2); text-decoration: none; }
.foot a:hover { color: var(--on-void); text-decoration: underline; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1.5fr 1fr 1fr; margin-bottom: 40px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot h3 {
  font-family: var(--display); font-stretch: 66%; font-weight: 700;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-void-3); margin: 0 0 14px;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot-brand .brand { color: var(--on-void); margin: 0 0 14px; }
.foot-brand p { max-width: 34ch; margin: 0; }
.foot-bar {
  border-top: 1px solid var(--void-line); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--display); font-stretch: 70%; font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase;
}

/* =============================================================== misc === */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .masthead-in { min-height: 58px; padding-top: 9px; padding-bottom: 9px; }
  .brand { margin-right: 0; }
  .nav { width: 100%; margin: 0 -13px; }
  .hero-photo { object-position: 62% 44%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .masthead, .nav, .btn-row, .hero-photo, .plaza-photo { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
}
