/* Live Event Printing Services — "service-ledger" theme (v1, 2026-07-04)
   Dark account-book aesthetic: ruled baselines, gold entry numbers,
   dashed ledger separators, per-service spec tables. */

:root {
  --bg: #0f1315;
  --surface: #181e21;
  --surface-2: #1e2629;
  --ink: #eef4f2;
  --ink-dim: #9fb0ab;
  --accent: #06d6a0;
  --accent2: #ffd166;
  --rule: rgba(238, 244, 242, 0.14);
  --rule-dash: rgba(6, 214, 160, 0.35);
  --display: "Fraunces", Georgia, serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  /* ledger baseline ruling */
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 47px,
    rgba(238, 244, 242, 0.025) 47px,
    rgba(238, 244, 242, 0.025) 48px
  );
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; font-family: var(--body); font-weight: 700; }

/* ---------- progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1200;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(15, 19, 21, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px;
  background: var(--surface); color: var(--accent);
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  border: 1px solid var(--rule); box-shadow: inset 0 -3px 0 var(--accent2);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 0.98rem; letter-spacing: 0.01em; }
.brand-text small { color: var(--ink-dim); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule); color: var(--ink);
  font: 600 0.85rem var(--body); padding: 0.5rem 0.9rem; border-radius: 7px; cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: clamp(0.7rem, 1.6vw, 1.3rem); flex-wrap: wrap; }
.site-nav a { color: var(--ink-dim); font-weight: 600; font-size: 0.9rem; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav .nav-cta {
  color: #08110e; background: var(--accent); padding: 0.5rem 1rem; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--accent2); color: #16130a; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px dashed var(--rule-dash); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,19,21,0.55) 0%, rgba(15,19,21,0.85) 65%, var(--bg) 100%);
}
.hero-inner {
  position: relative; z-index: 2; max-width: 850px;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1rem, 4vw, 2.5rem) 2rem;
}
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent2); font-weight: 700; margin-bottom: 1rem;
}
.lede { color: var(--ink-dim); font-size: clamp(1.02rem, 2vw, 1.18rem); max-width: 62ch; margin-top: 1.1rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }

.button {
  display: inline-block; background: var(--accent); color: #08110e;
  font-weight: 700; font-size: 0.95rem; padding: 0.85rem 1.6rem; border-radius: 999px;
  border: 1px solid var(--accent); transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { background: var(--accent2); border-color: var(--accent2); color: #16130a; text-decoration: none; transform: translateY(-1px); }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.button-ghost:hover { background: var(--surface); color: var(--ink); }

/* hero service tiles — the ledger's opening entries */
.menu-tiles {
  position: relative; z-index: 2; list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--rule); border-top: 1px solid var(--rule);
  margin-top: clamp(1.5rem, 4vw, 3rem);
}
.menu-tiles li { background: rgba(24, 30, 33, 0.94); }
.menu-tiles a {
  display: flex; flex-direction: column; gap: 0.4rem; height: 100%;
  padding: 1.2rem 1.1rem 1.4rem; color: var(--ink);
  border-top: 3px solid transparent; transition: border-color 0.15s ease, background 0.15s ease;
}
.menu-tiles a:hover { text-decoration: none; background: var(--surface-2); border-top-color: var(--accent); }
.tile-no { font-family: var(--display); color: var(--accent2); font-size: 0.95rem; font-weight: 700; }
.menu-tiles strong { font-size: 1.02rem; line-height: 1.25; }
.menu-tiles em { font-style: normal; color: var(--ink-dim); font-size: 0.82rem; line-height: 1.45; }

/* ---------- sections ---------- */
.ledger-section, .photo-band, .page-head, .quote-band, .cta-strip, .gallery-grid, .ledger-rows.big, .case-photo {
  max-width: 1100px; margin: 0 auto;
}
.ledger-section { padding: clamp(2.2rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem); }
.ledger-section.alt { background: var(--surface); border-block: 1px dashed var(--rule-dash); max-width: none; }
.ledger-section.alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.ledger-section > p { max-width: 72ch; margin-top: 0.9rem; color: var(--ink-dim); }
.ledger-section > p strong { color: var(--ink); }

.sec-head { display: flex; align-items: baseline; gap: 1rem; border-bottom: 1px dashed var(--rule-dash); padding-bottom: 0.8rem; }
.sec-no {
  font-family: var(--display); color: var(--accent2); font-weight: 700;
  font-size: 0.95rem; white-space: nowrap; letter-spacing: 0.06em;
}

/* ledger rows */
.ledger-rows { margin-top: 1.4rem; }
.lrow {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.1rem 0.2rem; border-bottom: 1px dashed var(--rule-dash);
}
.lrow:first-child { border-top: 1px dashed var(--rule-dash); }
.lrow-no {
  font-family: var(--display); font-weight: 700; color: var(--accent2);
  min-width: 2.2rem; font-size: 1.1rem; text-align: center;
  border: 1px solid var(--rule); border-radius: 7px; padding: 0.15rem 0.3rem;
  background: var(--surface);
}
.lrow p { color: var(--ink-dim); font-size: 0.95rem; margin-top: 0.25rem; max-width: 68ch; }

.ledger-rows.big { padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem); }
.linkrow { color: var(--ink); padding: 1.4rem 0.2rem; }
.linkrow:hover { text-decoration: none; background: rgba(6, 214, 160, 0.04); }
.linkrow h2 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
.linkrow:hover h2 { color: var(--accent); }
.lrow-go { margin-left: auto; color: var(--accent); font-size: 1.4rem; align-self: center; }

/* ---------- spec tables ---------- */
.table-wrap { overflow-x: auto; margin-top: 1.4rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--surface); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 480px; }
.spec-table th, .spec-table td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px dashed var(--rule-dash); vertical-align: top; }
.spec-table thead th {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent2); border-bottom: 1px solid var(--rule);
  font-family: var(--body); font-weight: 700;
}
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody th { color: var(--accent2); font-family: var(--display); font-weight: 600; white-space: nowrap; }
.spec-table td { color: var(--ink-dim); }
.spec-table td:first-child { color: var(--ink); font-weight: 600; }
.table-note { margin-top: 0.9rem; color: var(--ink-dim); font-size: 0.9rem; }

/* ---------- photos ---------- */
.photo-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}
.photo-band figure, .gallery-grid figure, .case-photo {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
}
.photo-band img, .gallery-grid img { width: 100%; height: 240px; object-fit: cover; }
figcaption {
  padding: 0.6rem 0.9rem; font-size: 0.8rem; color: var(--ink-dim);
  border-top: 1px dashed var(--rule-dash);
}

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}
.gallery-grid img { height: 300px; }

.case-photo { margin: 1.4rem auto; }
.case-photo img { width: 100%; max-height: 480px; object-fit: cover; }
.ledger-section .case-photo { margin-left: 0; }

/* ---------- page head ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) 0.5rem; }
.page-head .lede { margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.faq-list details { background: var(--surface-2); border: 1px solid var(--rule); border-radius: 10px; padding: 0.9rem 1.2rem; }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 1rem; color: var(--ink); }
.faq-list details p { margin-top: 0.7rem; color: var(--ink-dim); font-size: 0.95rem; }

/* ---------- quote band / form ---------- */
.quote-band {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem);
  border-top: 1px dashed var(--rule-dash);
}
.quote-intro p:not(.eyebrow) { color: var(--ink-dim); margin-top: 1rem; }

.lead-form {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 14px;
  padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: inset 0 3px 0 var(--accent);
}
.hp-wrap { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 0.9rem; }
.lead-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-dim); text-transform: uppercase; }
.lead-form input, .lead-form textarea {
  background: var(--bg); border: 1px solid var(--rule); border-radius: 8px;
  color: var(--ink); font: 400 1rem var(--body); padding: 0.7rem 0.85rem; width: 100%;
}
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-submit {
  margin-top: 1.1rem; width: 100%; background: var(--accent); color: #08110e;
  font: 700 1.02rem var(--body); padding: 0.95rem 1.4rem; border: none; border-radius: 999px; cursor: pointer;
  transition: background 0.15s ease;
}
.form-submit:hover { background: var(--accent2); }
.form-submit:disabled { opacity: 0.7; cursor: wait; }
.form-note { margin-top: 0.8rem; font-size: 0.85rem; color: var(--ink-dim); }
.lead-form.is-success { border-color: var(--accent); }

/* ---------- cta strip ---------- */
.cta-strip {
  padding: 1.6rem clamp(1rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
  font-size: 1.05rem;
}
.cta-strip p { border-left: 3px solid var(--accent2); padding-left: 1rem; color: var(--ink-dim); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule); background: var(--surface);
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1rem, 4vw, 2.5rem) 5.5rem;
}
.foot-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.foot-about p { color: var(--ink-dim); font-size: 0.92rem; margin-top: 0.7rem; max-width: 52ch; }
.foot-contact a { font-weight: 700; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 1.5rem; align-content: start; }
.foot-nav a { color: var(--ink-dim); font-size: 0.92rem; }
.foot-nav a:hover { color: var(--accent); }
.foot-line {
  max-width: 1100px; margin: 1.8rem auto 0; padding-top: 1.2rem;
  border-top: 1px dashed var(--rule-dash); color: var(--ink-dim); font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .menu-tiles { grid-template-columns: repeat(3, 1fr); }
  .photo-band, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-band { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--rule);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.9rem 1.4rem; border-bottom: 1px dashed var(--rule-dash); font-size: 1rem; }
  .site-nav .nav-cta { border-radius: 0; text-align: center; }
  .menu-tiles { grid-template-columns: 1fr; }
  .menu-tiles a { flex-direction: row; align-items: baseline; gap: 0.8rem; padding: 1rem 1.1rem; }
  .menu-tiles em { display: none; }
  .photo-band, .gallery-grid { grid-template-columns: 1fr; }
  .photo-band img { height: 220px; }
  .field-grid { grid-template-columns: 1fr; }
  .lrow { gap: 0.8rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; gap: 0.3rem; }
}
