/* ═══════════════════════════════════════════════════════════════
   BLUE STAR CONSTRUCTION SERVICES — "The Drawing Set"
   Blueprint-package aesthetic: navy drafting sheets, fine grid
   linework, star-gold accents, plan-sheet numbering, dimension
   lines, job-site photo prints.
   Type: Big Shoulders (display) · Archivo (body) · IBM Plex Mono (annotations)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Blueprint palette */
  --ink-deep:    #081830;   /* darkest navy — header/footer */
  --ink:         #0d2342;   /* blueprint field */
  --ink-soft:    #16335c;   /* raised panels on navy */
  --line:        rgba(120, 180, 230, 0.05);   /* grid hairlines (whisper) */
  --line-strong: rgba(120, 180, 230, 0.30);   /* borders/dividers on navy */
  --grid-major:  rgba(120, 180, 230, 0.10);   /* large grid only */
  --cyan:        #7fc4ee;   /* blueprint linework / annotations */
  --star:        #f5b82e;   /* Blue Star gold */
  --star-deep:   #d99a10;
  --paper:       #f4f1ea;   /* warm drafting paper */
  --paper-edge:  #e7e2d6;
  --paper-ink:   #1d2733;   /* body text on paper */
  --paper-soft:  #5a6675;   /* secondary text on paper */
  --white:       #ffffff;

  --font-display: "Big Shoulders Display", "Big Shoulders", "Arial Narrow", sans-serif;
  --font-body:    "Archivo", "Helvetica Neue", sans-serif;
  --font-mono:    "IBM Plex Mono", "Courier New", monospace;

  --measure: 68ch;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--paper-ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ── Blueprint grid atmosphere ──────────────────────────────── */
.bp {
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px;
  color: var(--white);
  position: relative;
}

.bp::after { /* corner vignette + film grain for depth */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(4, 10, 22, 0.55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.bp > * { position: relative; z-index: 1; }

/* ── Utility ────────────────────────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.star-mark { display: inline-block; width: 1em; height: 1em; vertical-align: -0.1em; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 24, 48, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-strong);
}

.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem var(--gutter);
  max-width: 1180px; margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }

.brand svg { width: 38px; height: 38px; flex: none; }

.brand-text { line-height: 1.05; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-name em { color: var(--star); font-style: normal; }

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav > a, .nav-group > button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.nav-group > button { background: none; border: 0; cursor: pointer; }

.main-nav > a:hover, .nav-group > button:hover,
.main-nav > a[aria-current="page"] { color: var(--star); }

.main-nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--star); }

.nav-group { position: relative; }

.nav-group > button::after { content: " ▾"; font-size: 0.7em; color: var(--cyan); }

.nav-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 460px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
  background: var(--ink-deep);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--star);
  padding: 1.1rem 1.25rem 1.25rem;
  box-shadow: 0 18px 50px rgba(2, 8, 20, 0.6);
}

.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel { display: grid; }

.nav-panel h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.4rem;
  margin-bottom: 0.5rem;
}

.nav-panel a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white);
  text-decoration: none;
  padding: 0.32rem 0;
  transition: color 0.15s, transform 0.15s;
}

.nav-panel a:hover { color: var(--star); transform: translateX(3px); }

.nav-panel a .sheet-no {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--cyan);
  margin-right: 0.5em;
}

.nav-call {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-deep) !important;
  background: var(--star);
  padding: 0.55rem 1.1rem !important;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(245, 184, 46, 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.nav-call:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245, 184, 46, 0.5); color: var(--ink-deep) !important; }

/* mobile nav */
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-strong); border-radius: 3px;
  color: var(--white);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--line-strong);
    padding: 0.75rem var(--gutter) 1.25rem;
  }
  .main-nav.open { display: flex; }
  .nav-group > button { display: none; }
  .nav-panel {
    position: static; display: grid; min-width: 0;
    background: none; border: 0; box-shadow: none; padding: 0.5rem 0;
  }
  .nav-call { text-align: center; margin-top: 0.75rem; }
}

/* ── Hero (home) ────────────────────────────────────────────── */
.hero { padding: var(--section) 0 calc(var(--section) * 0.8); overflow: hidden; position: relative; }

/* giant drafting-star watermark drifting behind the hero */
.hero-star {
  position: absolute;
  right: clamp(-160px, -4vw, 0px);
  top: 50%;
  width: clamp(380px, 42vw, 640px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
  animation: drift 26s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translateY(-52%) rotate(-3deg); }
  to   { transform: translateY(-46%) rotate(4deg); }
}

/* crop marks — the hero as a print sheet */
.hero .wrap { position: relative; }
.hero .wrap::before, .hero .wrap::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid rgba(127, 196, 238, 0.5);
  pointer-events: none;
}
.hero .wrap::before { top: -18px; left: calc(var(--gutter) * -0.4); border-right: 0; border-bottom: 0; }
.hero .wrap::after { bottom: -18px; right: calc(var(--gutter) * -0.4); border-left: 0; border-top: 0; }

.hero-kicker {
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--cyan);
  margin-bottom: 1.6rem;
  animation: rise 0.7s var(--ease-out) both;
}

.hero-kicker::before, .hero-kicker::after {
  content: ""; height: 1px; width: 48px; background: var(--line-strong);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 14ch;
  animation: rise 0.7s 0.08s var(--ease-out) both;
}

.hero h1 .gold { color: var(--star); }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(127, 196, 238, 0.65);
}

.hero-sub {
  max-width: 52ch;
  margin-top: 1.6rem;
  font-size: 1.1rem;
  color: rgba(244, 241, 234, 0.82);
  animation: rise 0.7s 0.16s var(--ease-out) both;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; animation: rise 0.7s 0.24s var(--ease-out) both; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 3px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-star {
  background: var(--star); color: var(--ink-deep);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); /* notched corner */
  filter: drop-shadow(0 6px 18px rgba(245, 184, 46, 0.35));
}
.btn-star:hover { transform: translateY(-3px); filter: drop-shadow(0 12px 26px rgba(245, 184, 46, 0.5)); }

.btn-line {
  color: var(--white);
  border: 1px solid var(--line-strong);
  background: rgba(13, 35, 66, 0.4);
}
.btn-line:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); }

.btn-ink {
  background: var(--ink); color: var(--white);
  box-shadow: 0 6px 24px rgba(8, 24, 48, 0.35);
}
.btn-ink:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(8, 24, 48, 0.45); }

/* stamp badges row */
.stamp-row {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-top: 2.8rem;
  animation: rise 0.7s 0.32s var(--ease-out) both;
}

.stamp {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.5rem 0.85rem;
  background: rgba(8, 24, 48, 0.5);
}

.stamp strong { color: var(--star); font-weight: 600; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ── Dimension-line divider ─────────────────────────────────── */
.dim-line {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-soft);
  margin-bottom: 2.2rem;
}

.dim-line::before, .dim-line::after {
  content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.45;
}

.bp .dim-line { color: var(--cyan); }

/* ── Paper sections ─────────────────────────────────────────── */
.paper {
  background:
    radial-gradient(140% 100% at 50% 0%, var(--white) 0%, var(--paper) 60%);
  color: var(--paper-ink);
  padding: var(--section) 0;
  border-top: 4px solid var(--star);
}

.paper h2, .bp h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin-bottom: 1.4rem;
}

.paper .lead { font-size: 1.16rem; max-width: var(--measure); color: var(--paper-ink); }
.paper p { max-width: var(--measure); margin-bottom: 1.1rem; }
.paper p:last-child { margin-bottom: 0; }

/* ── Services: plan-sheet index (home) ──────────────────────── */
.sheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
  margin-top: 2.4rem;
}

.sheet {
  position: relative;
  display: flex; flex-direction: column; gap: 0.55rem;
  background: var(--white);
  border: 1px solid var(--paper-edge);
  border-radius: 4px;
  padding: 1.4rem 1.3rem 1.2rem;
  text-decoration: none;
  color: var(--paper-ink);
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.07);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}

.sheet::before { /* sheet corner fold */
  content: "";
  position: absolute; top: 0; right: 0;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent var(--paper) transparent transparent;
  filter: drop-shadow(-2px 2px 2px rgba(20, 30, 45, 0.12));
  transition: border-color 0.25s;
}

.sheet:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(20, 30, 45, 0.14);
  border-color: var(--star);
}

.sheet:hover::before { border-right-color: var(--star); }

.sheet .sheet-no {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--star-deep);
}

.sheet h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.05;
  text-transform: uppercase;
  align-self: start;
  padding-bottom: 5px;
  background: linear-gradient(var(--star), var(--star)) no-repeat 0 100% / 0 3px;
  transition: background-size 0.35s var(--ease-out);
}

.sheet:hover h3 { background-size: 100% 3px; }

/* staggered card entrance */
.sheet-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.sheet-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.sheet-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.sheet-grid .reveal:nth-child(5) { transition-delay: 0.06s; }
.sheet-grid .reveal:nth-child(6) { transition-delay: 0.12s; }
.sheet-grid .reveal:nth-child(7) { transition-delay: 0.18s; }
.sheet-grid .reveal:nth-child(8) { transition-delay: 0.06s; }
.sheet-grid .reveal:nth-child(9) { transition-delay: 0.12s; }

.sheet p { font-size: 0.9rem; color: var(--paper-soft); line-height: 1.55; }

.sheet .sheet-go {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--star-deep);
}

.sheet .sheet-go::after { content: " →"; transition: margin-left 0.2s; }
.sheet:hover .sheet-go::after { margin-left: 5px; }

/* ── Title block (service pages) — like a drawing title block ─ */
.title-block { padding: calc(var(--section) * 0.85) 0; }

.tb-frame {
  border: 1px solid var(--line-strong);
  border-left: 6px solid var(--star);
  background: rgba(8, 24, 48, 0.55);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
}

.tb-main .mono { color: var(--cyan); display: block; margin-bottom: 0.9rem; }

.tb-main h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.tb-main .tb-intent {
  margin-top: 1rem;
  max-width: 56ch;
  color: rgba(244, 241, 234, 0.8);
}

.tb-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: right;
  line-height: 2.1;
  border-left: 1px solid var(--line-strong);
  padding-left: 1.5rem;
}

.tb-meta strong { color: var(--star); display: block; font-size: 1.6rem; font-family: var(--font-display); letter-spacing: 0.05em; }

@media (max-width: 720px) {
  .tb-frame { grid-template-columns: 1fr; }
  .tb-meta { text-align: left; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); padding-top: 1rem; }
}

/* ── Spec lists (materials etc.) ────────────────────────────── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.7rem;
  margin: 1.6rem 0;
  max-width: 860px;
}

.spec {
  display: flex; align-items: baseline; gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--paper-edge);
  border-radius: 3px;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
}

.spec::before {
  content: "★";
  color: var(--star);
  font-size: 0.8em;
  flex: none;
}

.spec small { display: block; color: var(--paper-soft); font-size: 0.8rem; }

/* two-col content blocks */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

/* note card (callouts like package discounts) */
.note-card {
  border: 1px dashed var(--star-deep);
  background: rgba(245, 184, 46, 0.09);
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
  max-width: 640px;
}

.note-card .mono { color: var(--star-deep); display: block; margin-bottom: 0.4rem; }

/* ── Job-site photo prints ──────────────────────────────────── */
.prints {
  display: flex; flex-wrap: wrap; gap: 1.3rem;
  margin-top: 2.4rem;
}

.print {
  background: var(--white);
  padding: 8px 8px 26px;
  border: 1px solid var(--paper-edge);
  box-shadow: 0 4px 14px rgba(20, 30, 45, 0.16);
  transform: rotate(var(--tilt, -1.2deg));
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
  position: relative;
}

.print:nth-child(2n) { --tilt: 1.4deg; }
.print:nth-child(3n) { --tilt: -0.6deg; }
.print:nth-child(4n) { --tilt: 1.9deg; }

.print::before { /* tape strip holding the print up */
  content: "";
  position: absolute;
  top: -9px; left: 50%;
  width: 64px; height: 18px;
  transform: translateX(-50%) rotate(-2.5deg);
  background: rgba(245, 228, 170, 0.55);
  border: 1px solid rgba(190, 168, 110, 0.3);
  box-shadow: 0 1px 2px rgba(20, 30, 45, 0.1);
  z-index: 1;
}

.print:nth-child(2n)::before { transform: translateX(-50%) rotate(2deg); }

.print { cursor: zoom-in; }

.print:hover, .print:focus-visible { transform: rotate(0deg) scale(1.06); box-shadow: 0 14px 34px rgba(20, 30, 45, 0.26); z-index: 2; outline: none; }

.print:focus-visible { box-shadow: 0 14px 34px rgba(20, 30, 45, 0.26), 0 0 0 3px var(--star); }

.print img { display: block; width: 196px; height: 147px; object-fit: cover; }

.print figcaption {
  position: absolute; bottom: 5px; left: 10px; right: 10px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Service-area / trust band on navy ──────────────────────── */
.band { padding: var(--section) 0; }

.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.band-cell h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--star);
  margin-bottom: 0.7rem;
}

.band-cell p, .band-cell li { color: rgba(244, 241, 234, 0.82); font-size: 0.97rem; }

.band-cell ul { list-style: none; columns: 2; gap: 1.5rem; }

.band-cell li { padding: 0.18rem 0; }

.band-cell li::before { content: "★ "; color: var(--star); font-size: 0.72em; }

/* video feature */
.video-feature {
  margin-top: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-deep);
  box-shadow: 0 24px 60px rgba(2, 8, 20, 0.5);
}

.video-feature video { display: block; width: 100%; height: auto; }

/* ── CTA band — construction-tape edges ─────────────────────── */
.cta-band {
  position: relative;
  background:
    linear-gradient(135deg, var(--star) 0%, #ffd35c 100%);
  color: var(--ink-deep);
  padding: calc(var(--section) * 0.75 + 16px) 0;
}

.cta-band::before, .cta-band::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 14px;
  background: repeating-linear-gradient(-45deg,
    var(--ink-deep) 0 16px, var(--star) 16px 32px);
}

.cta-band::before { top: 0; }
.cta-band::after { bottom: 0; }

.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.8rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  max-width: 18ch;
}

.cta-band .cta-meta { font-size: 0.95rem; max-width: 38ch; margin-top: 0.6rem; opacity: 0.85; }

.cta-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: 0.02em;
  color: var(--ink-deep);
  text-decoration: none;
  display: block;
  line-height: 1;
}

.cta-phone:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }

.cta-phone-label { display: block; margin-bottom: 0.5rem; color: rgba(8, 24, 48, 0.75); }

/* ── Contact page ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--paper-edge);
  border-top: 4px solid var(--star);
  border-radius: 4px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.07);
}

.contact-card .mono { color: var(--star-deep); display: block; margin-bottom: 0.8rem; }

.contact-card .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
  color: var(--paper-ink);
  text-decoration: none;
  word-break: break-word;
}

.contact-card .big:hover { color: var(--star-deep); }

.contact-card p { font-size: 0.92rem; color: var(--paper-soft); margin-top: 0.7rem; }

/* ── Contact form ───────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border: 1px solid var(--paper-edge);
  border-top: 4px solid var(--star);
  border-radius: 4px;
  padding: 1.8rem 1.6rem;
  max-width: 760px;
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.07);
}

.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-soft);
  margin-bottom: 1.1rem;
}

.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--paper-ink);
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 3px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--star);
  box-shadow: 0 0 0 3px rgba(245, 184, 46, 0.25);
  background: var(--white);
}

.contact-form textarea { resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 1rem;
}

.contact-form button { cursor: pointer; border: 0; font-size: 1.05rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line-strong);
  padding: calc(var(--section) * 0.7) 0 2rem;
  color: rgba(244, 241, 234, 0.75);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.9rem;
}

.footer-grid a { color: rgba(244, 241, 234, 0.85); text-decoration: none; display: block; padding: 0.16rem 0; }
.footer-grid a:hover { color: var(--star); }

.footer-brand .brand-name { font-size: 1.6rem; }

.footer-brand p { margin-top: 0.8rem; max-width: 34ch; font-size: 0.9rem; }

.footer-legal {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(127, 196, 238, 0.65);
}

/* ── Lightbox (job prints) ──────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  gap: 1rem;
  background: rgba(5, 13, 28, 0.92);
  backdrop-filter: blur(6px);
  padding: 2rem;
}

.lightbox.open { display: flex; animation: lbIn 0.25s var(--ease-out); }

@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox figure {
  position: relative;
  background: var(--white);
  padding: 12px 12px 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: rotate(-0.5deg);
  max-width: min(680px, 86vw);
}

.lightbox figure::before { /* tape */
  content: "";
  position: absolute; top: -11px; left: 50%;
  width: 90px; height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(245, 228, 170, 0.6);
  border: 1px solid rgba(190, 168, 110, 0.35);
}

.lightbox img { display: block; width: 100%; height: auto; }

.lightbox figcaption {
  position: absolute; bottom: 10px; left: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-soft);
}

.lightbox button {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  width: 52px; height: 52px;
  cursor: pointer;
  flex: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.lightbox button:hover { border-color: var(--star); color: var(--star); transform: scale(1.08); }

.lightbox .lb-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: 1.6rem; width: 44px; height: 44px;
}

@media (max-width: 640px) {
  .lightbox { gap: 0.5rem; padding: 1rem; }
  .lightbox button { width: 42px; height: 42px; font-size: 1.5rem; }
}

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
