/* Gen Z Mazdoor: shared styles for every page.
   Dark charcoal panels, centered type, wide letter-spacing. Monochrome everywhere; blue and red only on a few words.
   Header classes start with sh-, footer with sf-, so they never clash with page styles. */
*,*::before,*::after { box-sizing: border-box; }
:root {
  --bg: #0A0E18;
  --glow: rgba(46, 116, 255, .20);
  --glow-soft: rgba(30, 80, 190, .14);
  --panel: #111829;
  --ink: #E9ECF3;
  --muted: #8C95AB;
  --faint: #566079;
  --line: #222C42;
  --blue: #3D8BFF;
  --red: #E5332B;
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Montserrat", "Arial Black", system-ui, sans-serif;
  color-scheme: dark;
}
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-weight: 600; font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.caps { text-transform: uppercase; letter-spacing: .24em; font-size: 11px; font-weight: 700; }
.blue { color: var(--blue); }
.red { color: var(--red); }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip:focus { left: 8px; }

.site-bg {
  position: fixed; inset: -10vh 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 18% 12%, var(--glow), transparent 70%),
    radial-gradient(50% 45% at 85% 88%, var(--glow), transparent 70%),
    radial-gradient(90% 70% at 50% 50%, var(--glow-soft), transparent 80%),
    var(--bg);
}

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.sh {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.sh-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 14px max(24px, env(safe-area-inset-right, 0px)) 14px max(24px, env(safe-area-inset-left, 0px)); }
.sh-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.sh-brand img { width: 38px; height: auto; }
.sh-brand span { font-family: var(--display); font-weight: 800; letter-spacing: .16em; font-size: 12px; text-transform: uppercase; }
.sh-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.sh-nav a { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; transition: color .2s ease; }
.sh-nav a:hover, .sh-nav a[aria-current="page"] { color: var(--ink); }
.sh-cta {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: .2em;
  background: var(--ink); color: var(--bg); padding: 13px 18px; border: 1px solid var(--ink);
  transition: background .2s ease, transform .2s ease;
}
.sh-cta:hover { background: #fff; transform: translateY(-1px); }
.sh-menu { display: none; margin-left: auto; background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 10px 12px; font: 700 10px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 1020px) {
  .sh-menu { display: inline-flex; }
  .sh-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.5);
  }
  .sh-nav.open { display: flex; }
  .sh-nav a { padding: 16px 24px; border-top: 1px solid var(--line); font-size: 12px; }
  .sh-cta { padding: 11px 14px; }
}
@media (max-width: 460px) { .sh-brand span { display: none; } .sh-in { gap: 12px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer;
  font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: .24em;
  color: var(--ink); background: var(--panel); border: 1px solid var(--line);
  padding: 17px 28px; box-shadow: 0 14px 30px rgba(0,0,0,.35);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.btn:hover { border-color: var(--muted); transform: translateY(-1px); }
.btn.solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.solid:hover { background: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Page layout ---------- */
main { position: relative; z-index: 1; }
.page-hero { text-align: center; }
.page-hero .wrap { padding-block: 72px 64px; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; color: var(--faint); font-size: 10px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line); }
.kicker { color: var(--muted); display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; }
.kicker::before, .kicker::after { content: ""; width: 28px; height: 1px; background: var(--faint); }
.page-hero h1 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(30px, 5.2vw, 68px); line-height: 1.08; margin: 24px auto 0; max-width: 18ch;
  text-wrap: balance; text-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.page-hero .lead { color: var(--muted); max-width: 58ch; margin: 24px auto 0; font-size: 17px; line-height: 1.7; }
.page-hero .btns { margin-top: 40px; }

.sec { position: relative; }
.sec .wrap { padding-block: 72px; }
.sec.center { text-align: center; }
h2, h3 { font-family: var(--display); }
.sec h2 { font-weight: 800; font-size: clamp(22px, 3vw, 34px); letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; margin: 0; }
.sec .intro { color: var(--muted); max-width: 60ch; margin: 16px auto 0; font-size: 15px; }
.sec:not(.center) .intro { margin-left: 0; }

/* Cards and grids */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; text-align: left; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 44px; text-align: left; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
.card {
  background: color-mix(in srgb, var(--panel) 82%, transparent); border: 1px solid var(--line);
  padding: 28px 26px; box-shadow: 0 24px 50px rgba(0,0,0,.38); min-width: 0;
}
.card .idx { color: var(--faint); }
.card h3 { margin: 10px 0 0; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
a.card { display: block; transition: border-color .25s ease, transform .25s ease; }
a.card:hover { border-color: var(--blue); transform: translateY(-3px); }
a.card .more { display: inline-block; margin-top: 16px; color: var(--ink); font-size: 10px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--blue); }

/* Price box */
.price-box {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); padding: 40px; box-shadow: 0 30px 60px rgba(0,0,0,.5); margin-top: 44px; text-align: left;
}
.price-box .amt { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 44px); line-height: 1; }
.price-box .amt small { font-family: var(--font); font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 8px; letter-spacing: .06em; }
.price-box .side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-left: 40px; border-left: 1px solid var(--line); }
.price-box .note { color: var(--muted); font-size: 13px; margin: 0; }
.price-box .note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .price-box { grid-template-columns: 1fr; padding: 28px 22px; } .price-box .side { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; } }

/* Steps */
.steps { list-style: none; margin: 44px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; }
.steps li { padding: 8px 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; text-align: center; }
.steps li + li { border-left: 1px solid var(--line); }
.steps .idx { color: var(--faint); }
.steps h3 { margin: 0; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; max-width: 30ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 24px; } }

/* Work thumbnails */
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 40px; }
.thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: #0d1322; color: var(--ink); font: inherit; text-align: left;
  transition: border-color .2s ease, transform .2s ease;
}
.thumb:hover { border-color: var(--muted); transform: translateY(-3px); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .pl { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent 50%, rgba(10,14,24,.7)); }
.thumb .pl span { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; background: rgba(10,14,24,.45); }
.thumb .lbl { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.thumbs.big { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; }
.lb::backdrop { background: rgba(5,8,15,.9); backdrop-filter: blur(4px); }
.lb[open] { display: grid; place-items: center; }
.lb .stage { display: grid; place-items: center; gap: 14px; padding: 56px 16px 24px; max-width: 100%; }
.lb img.media { width: auto; height: auto; max-width: min(92vw, 1000px); max-height: 78dvh; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb .video { width: min(92vw, 960px); aspect-ratio: 16 / 9; background: #000; }
.lb .video.tall { width: auto; height: min(78dvh, 720px); aspect-ratio: 9 / 16; }
.lb .video iframe { width: 100%; height: 100%; border: 0; }
.lb .cap { color: var(--muted); font-size: 13px; text-align: center; margin: 0; }
.lb .cap a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lb .x, .lb .nb { position: fixed; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.lb .x { top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; }
.lb .nb { top: 50%; transform: translateY(-50%); }
.lb .prev { left: 12px; } .lb .next { right: 12px; }

/* FAQ */
.faq { max-width: 820px; margin: 40px auto 0; text-align: left; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .02em; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 22px; font-weight: 500; transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 70ch; }
.faq .a a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Prose (legal, about, blog) */
.prose { max-width: 760px; margin: 0 auto; text-align: left; }
.prose h2 { font-weight: 800; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; margin: 48px 0 0; }
.prose h3 { font-size: 16px; margin: 28px 0 0; }
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.8; font-weight: 500; }
.prose p { margin: 14px 0 0; }
.prose ul { padding-left: 20px; margin: 14px 0 0; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.updated { color: var(--faint); }

/* CTA band */
.cta-band .wrap { padding-block: 88px; text-align: center; }
.cta-band .box { background: var(--panel); border: 1px solid var(--line); padding: 56px 32px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.cta-band h2 { font-weight: 800; font-size: clamp(22px, 3.2vw, 36px); letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; margin: 0; }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 16px auto 0; }
.cta-band .btns { margin-top: 32px; }

/* Related links */
.related { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.related a { border: 1px solid var(--line); padding: 10px 14px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: color .2s ease, border-color .2s ease; }
.related a:hover { color: var(--ink); border-color: var(--muted); }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; text-align: left; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.details { display: grid; gap: 22px; margin: 28px 0 0; }
.details dt { font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.details dd { margin: 4px 0 0; color: var(--ink); font-size: 15px; }
.details dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.book-box { margin-top: 32px; padding: 28px; border: 1px solid var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--panel)); }
.book-box h2 { font-size: 18px; letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.book-box p { color: var(--muted); font-size: 14px; margin: 10px 0 20px; }
.form-card { background: var(--panel); border: 1px solid var(--line); padding: 44px 40px 40px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.form-card h2 { text-align: center; margin: 0 0 32px; font-weight: 800; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
form { display: grid; gap: 22px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label, .field .lab { color: var(--faint); }
input, textarea {
  width: 100%; font: 500 15px/1.5 var(--font); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0 10px;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus { outline: none; border-bottom-color: var(--ink); }
input[aria-invalid="true"] { border-bottom-color: var(--red); }
.opt { text-transform: none; letter-spacing: .02em; color: var(--muted); }
.err { color: var(--red); font-size: 12px; }
.err:empty { display: none; }
textarea { resize: vertical; min-height: 80px; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.needs label { cursor: pointer; }
.needs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.needs span { display: inline-block; padding: 9px 12px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; transition: border-color .2s ease, color .2s ease; }
.needs input:checked + span { border-color: var(--blue); color: var(--ink); background: color-mix(in srgb, var(--blue) 14%, transparent); }
.needs input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.form-card .btn { justify-self: center; margin-top: 8px; }
.form-card .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send-err { margin: 0; text-align: center; color: var(--muted); font-size: 13px; }
.send-err a { color: var(--ink); text-decoration: underline; }
.thanks { text-align: center; padding-block: 24px; }
.thanks p { color: var(--muted); margin: 14px auto 28px; max-width: 34ch; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .form-card { padding: 32px 20px; } }

/* Empty state */
.empty-state { border: 1px dashed var(--line); padding: 48px 24px; text-align: center; color: var(--muted); margin-top: 40px; }
.empty-state strong { display: block; color: var(--ink); font-family: var(--display); letter-spacing: .04em; text-transform: uppercase; font-size: 16px; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.sf { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: 40px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.sf-in { max-width: 1200px; margin: 0 auto; padding: 56px max(24px, env(safe-area-inset-right, 0px)) 28px max(24px, env(safe-area-inset-left, 0px)); }
.sf-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 860px) { .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sf-about { grid-column: 1 / -1; } }
.sf-about p { color: var(--muted); font-size: 14px; max-width: 36ch; margin: 14px 0 0; font-weight: 500; }
.sf h2 { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.sf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sf ul a { color: var(--muted); font-size: 14px; font-weight: 500; }
.sf ul a:hover { color: var(--ink); }
.sf-mail { display: inline-block; margin-top: 16px; color: var(--ink); font-size: 14px; }
.sf-social { display: flex; gap: 10px; margin-top: 16px; }
.sf-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: color .2s ease, border-color .2s ease; }
.sf-social a:hover { color: var(--ink); border-color: var(--muted); }
.sf-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.sf-bottom a:hover { color: var(--ink); }

/* Cookie consent (only shown when tracking IDs are set) */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  max-width: 560px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.6);
  padding: 20px 22px; display: grid; gap: 14px;
}
.consent p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.consent p a { color: var(--ink); text-decoration: underline; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { padding: 13px 18px; }

.rise { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .1s; } .rise.d2 { animation-delay: .25s; } .rise.d3 { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Post designs are slightly wider than 4:5 after cropping: show them whole */
.thumb.post { aspect-ratio: 1278 / 1350; }
.thumb.post img { object-fit: contain; }
