/* =========================================================
   Demon Powder Coating — Hero styles
   Palette pulled from the company logo
   ========================================================= */

:root {
  --black: #000000;
  --ink: #07050b;
  --purple: #5b4a8c;        /* logo "DEMON" purple */
  --purple-light: #8470bd;
  --purple-deep: #2e2450;
  --silver: #8c8c8c;        /* logo "POWDER COATING" grey */
  --silver-light: #c4c4c8;
  --red: #ff1a1a;           /* demon eyes */
  --red-deep: #b30000;
  --white: #f4f2f8;

  --font-display: "Cinzel", Georgia, serif;
  --font-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(132, 112, 189, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 44px; width: auto; display: block; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-light);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--white); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__link--cta {
  border: 1.5px solid var(--purple);
  padding: 8px 20px;
  border-radius: var(--radius);
  color: var(--white);
  transition: background 0.25s, border-color 0.25s;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--purple); border-color: var(--purple-light); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 28px) 0 120px;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(91, 74, 140, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 30% at 12% 90%, rgba(46, 36, 80, 0.35), transparent 70%);
}

.hero__embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}



.hero__slogan {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__slogan span {
  color: var(--red);
  text-shadow: 0 0 18px rgba(255, 26, 26, 0.55);
}

.hero__text {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--silver-light);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 3px; }

.btn--primary {
  background: linear-gradient(135deg, var(--purple-light), var(--purple) 55%, var(--purple-deep));
  color: var(--white);
  border-color: var(--purple-light);
  box-shadow: 0 8px 28px rgba(91, 74, 140, 0.45);
}
.btn--primary:hover {
  box-shadow: 0 12px 36px rgba(132, 112, 189, 0.6), 0 0 0 1px var(--red);
}
.btn--primary:hover svg { transform: translateX(5px); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--silver);
}
.btn--outline:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(255, 26, 26, 0.1);
  box-shadow: 0 0 24px rgba(255, 26, 26, 0.3);
}

/* ---------- Logo ---------- */
.hero__logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 0 22px;
}
.hero__logo-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 74, 140, 0.35), transparent 68%);
  filter: blur(30px);
  animation: pulse 5s ease-in-out infinite;
}
.hero__logo {
  position: relative;
  width: auto;
  height: min(46vh, 460px);
  max-width: 88vw;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

/* ---------- Scroll cue ---------- */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px; height: 44px;
  border: 2px solid var(--silver);
  border-radius: 14px;
  transform: translateX(-50%);
  opacity: 0.8;
  transition: border-color 0.25s, opacity 0.25s;
}
.hero__scroll:hover { border-color: var(--red); opacity: 1; }
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--red);
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.96); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}

/* Entrance (activated by JS adding .is-ready) */
.js .hero__content > *,
.js .hero__logo-wrap {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js.is-ready .hero__content > *,
.js.is-ready .hero__logo-wrap {
  opacity: 1;
  transform: none;
}
.js.is-ready .hero__content > :nth-child(2) { transition-delay: 0.12s; }
.js.is-ready .hero__content > :nth-child(3) { transition-delay: 0.24s; }
.js.is-ready .hero__content > :nth-child(4) { transition-delay: 0.36s; }
.js.is-ready .hero__content > :nth-child(5) { transition-delay: 0.48s; }
.js.is-ready .hero__logo-wrap { transition-delay: 0.2s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding-top: calc(var(--header-h) + 8px); }
}

@media (max-width: 760px) {
  /* Tabs stay visible on phones: logo on top, tab row underneath */
  :root { --header-h: 96px; }
  .site-header { background: rgba(0, 0, 0, 0.9); }
  .nav { flex-direction: column; justify-content: center; gap: 6px; }
  .nav__toggle { display: none; }
  .nav__menu {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 14px;
    padding: 0;
    background: none;
    border: 0;
    transform: none;
    visibility: visible;
  }
  .nav__link { display: block; padding: 4px 0; font-size: 0.82rem; letter-spacing: 0.08em; }
  .nav__link--cta { margin-top: 0; padding: 4px 10px; }
}

@media (max-width: 480px) {
  .nav__logo { height: 32px; }
  .nav__menu { gap: 8px; }
  .nav__link { font-size: 0.7rem; letter-spacing: 0.03em; }
  .nav__link--cta { padding: 4px 8px; }
  .hero__logo { height: min(44vh, 420px); }
  .btn { width: 100%; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__embers { display: none; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 56px) 0 96px;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
}
.contact__inner { position: relative; }

.contact__head { text-align: center; max-width: 920px; margin: 0 auto 52px; }
.contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--red);
}
.contact__eyebrow::before,
.contact__eyebrow::after {
  content: "";
  width: 34px; height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}
.contact__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  text-wrap: balance;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}
.contact__title span { color: var(--red); text-shadow: 0 0 18px rgba(255, 26, 26, 0.55); }
.contact__lead { margin: 18px auto 0; color: var(--silver-light); font-size: 1.05rem; max-width: 560px; }

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

/* Info cards */
.contact__info { display: grid; gap: 16px; }
.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: linear-gradient(145deg, rgba(91, 74, 140, 0.18), rgba(10, 8, 16, 0.9));
  border: 1px solid rgba(132, 112, 189, 0.35);
  border-radius: 8px;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.info-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 10px 30px rgba(91, 74, 140, 0.35), 0 0 0 1px rgba(255, 26, 26, 0.35);
}
.info-card:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 3px; }
.info-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--purple-deep);
  color: var(--purple-light);
  border: 1px solid var(--purple);
}
.info-card__body { display: flex; flex-direction: column; min-width: 0; }
.info-card__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
.info-card__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.2;
}
.info-card__value--small { font-size: clamp(0.82rem, 1.45vw, 1rem); letter-spacing: 0; overflow-wrap: anywhere; font-family: var(--font-body); font-weight: 600; margin-top: 3px; }
.contact__note { margin: 4px 4px 0; color: var(--silver); font-size: 0.95rem; }

/* Form */
.form {
  padding: 34px;
  background: linear-gradient(160deg, rgba(20, 15, 34, 0.92), rgba(5, 4, 9, 0.95));
  border: 1px solid rgba(132, 112, 189, 0.3);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(91, 74, 140, 0.18);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-light);
}
.field label span { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid #3a3350;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(135deg, var(--silver) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field select option { background: #0d0a14; color: var(--white); }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder,
.field textarea::placeholder { color: #6d6783; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple-light);
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 0 3px rgba(132, 112, 189, 0.3);
}
.field .is-invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 26, 26, 0.18); }
.field__error { min-height: 0; margin: 6px 0 0; font-size: 0.85rem; color: #ff6b6b; }
.field__error:empty { display: none; }

.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.btn.is-busy { opacity: 0.7; pointer-events: none; }
.btn:disabled { cursor: wait; }

.form__status { margin: 18px 0 0; font-size: 0.98rem; border-radius: var(--radius); }
.form__status:empty { display: none; }
.form__status.is-success { padding: 14px 16px; background: rgba(46, 160, 90, 0.14); border: 1px solid rgba(70, 200, 120, 0.5); color: #b9f0cf; }
.form__status.is-error { padding: 14px 16px; background: rgba(255, 26, 26, 0.1); border: 1px solid rgba(255, 26, 26, 0.5); color: #ffc9c9; }
.form__status a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form { padding: 22px 18px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .info-card__value { font-size: 1.45rem; }
  .info-card__value.info-card__value--small { font-size: 0.92rem; }
  .contact__eyebrow::before, .contact__eyebrow::after { display: none; }
}

/* =========================================================
   Our Work page
   ========================================================= */
.work {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 56px) 0 96px;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
}
.no-scroll { overflow: hidden; }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 40px;
}
.filter {
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-light);
  background: transparent;
  border: 1.5px solid #3a3350;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.filter:hover { color: var(--white); border-color: var(--purple-light); }
.filter:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 3px; }
.filter.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-light), var(--purple) 60%, var(--purple-deep));
  border-color: var(--purple-light);
  box-shadow: 0 6px 20px rgba(91, 74, 140, 0.4);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery__empty { grid-column: 1 / -1; text-align: center; color: var(--silver); padding: 40px 0; }

.card {
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  background: linear-gradient(160deg, rgba(20, 15, 34, 0.95), rgba(6, 5, 10, 0.98));
  border: 1px solid rgba(132, 112, 189, 0.28);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  animation: cardIn 0.5s var(--ease) both;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 14px 36px rgba(91, 74, 140, 0.35), 0 0 0 1px rgba(255, 26, 26, 0.35);
}
.card:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 3px; }

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d0a14;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%);
  pointer-events: none;
}
.card__tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
  padding: 4px 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--red);
  border-radius: 3px;
}
.card__body { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px; }
.card__cat {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

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

/* Call-to-action band */
.work__cta {
  margin-top: 72px;
  padding: 44px 24px;
  text-align: center;
  background: linear-gradient(160deg, rgba(46, 36, 80, 0.45), rgba(6, 5, 10, 0.95));
  border: 1px solid rgba(132, 112, 189, 0.35);
  border-radius: 10px;
}
.work__cta h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.work__cta p { margin: 8px 0 0; color: var(--silver-light); }
.work__cta .hero__actions { justify-content: center; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1100px, 80vw); text-align: center; }
.lightbox__figure img {
  max-width: 100%;
  max-height: 76vh;
  margin-inline: auto;
  border-radius: 6px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(91, 74, 140, 0.3);
}
.lightbox__figure figcaption { margin-top: 14px; color: var(--silver-light); font-size: 0.98rem; }
.lightbox__btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  background: rgba(20, 15, 34, 0.9);
  border: 1px solid var(--purple);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox__btn:hover { background: var(--purple); border-color: var(--purple-light); }
.lightbox__btn:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 3px; }
.lightbox__btn[hidden] { display: none; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; gap: 18px; }
  .filter { padding: 8px 16px; font-size: 0.9rem; }
  .lightbox { padding: 12px; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__prev { left: 20px; }
  .lightbox__next { right: 20px; }
  .lightbox__figure { max-width: 100%; margin-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
}

/* =========================================================
   Home: About / How we work
   ========================================================= */
.about {
  position: relative;
  padding: 96px 0 104px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(91, 74, 140, 0.22), transparent 70%);
  border-top: 1px solid rgba(132, 112, 189, 0.2);
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.about-card {
  padding: 34px 28px;
  text-align: center;
  background: linear-gradient(160deg, rgba(20, 15, 34, 0.95), rgba(6, 5, 10, 0.98));
  border: 1px solid rgba(132, 112, 189, 0.3);
  border-radius: 8px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-light);
  box-shadow: 0 14px 36px rgba(91, 74, 140, 0.3);
}
.about-card--size { border-color: rgba(255, 26, 26, 0.45); }
.about-card--size:hover { border-color: var(--red); box-shadow: 0 14px 36px rgba(255, 26, 26, 0.2); }
.about-card__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--purple-deep);
  border: 1px solid var(--purple);
  color: var(--purple-light);
}
.about-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.about-card p { margin: 0; color: var(--silver-light); font-size: 1rem; }

.nowrap { white-space: nowrap; }
.size-diagram { margin: -6px auto 10px; max-width: 220px; }
.size-diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.size-diagram__box { fill: rgba(91, 74, 140, 0.25); stroke: var(--purple-light); stroke-width: 2.5; }
.size-diagram__dim { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.size-diagram__label { fill: var(--silver); font-family: var(--font-heading); font-weight: 700; font-size: 22px; letter-spacing: 6px; }
.size-diagram__num { fill: var(--white); font-family: var(--font-heading); font-weight: 700; font-size: 20px; }

.about__note {
  margin: 40px auto 0;
  text-align: center;
  max-width: 560px;
  color: var(--silver-light);
  font-size: 1.05rem;
}
.about .hero__actions { justify-content: center; }

/* scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .about__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .about__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Ghost logo watermark (all pages)
   ========================================================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("logo-ghost.png") center 56% / min(86vw, 820px) auto no-repeat;
  opacity: 0.11;
  transition: opacity 0.8s var(--ease);
}
/* Home page: hide the watermark while the big hero logo is showing */
.page-home::before { opacity: 0; }
.page-home.ghost-on::before { opacity: 0.11; }

@media (max-width: 600px) {
  body::before { background-size: min(120vw, 560px) auto; background-position: center 58%; opacity: 0.1; }
  .page-home.ghost-on::before { opacity: 0.1; }
}
@media print { body::before { display: none; } }

/* ===== Colors page + minimum charge ===== */
.palette-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 8px; }
.palette-card {
  padding: 36px 30px;
  background: linear-gradient(160deg, rgba(20, 15, 34, 0.95), rgba(6, 5, 10, 0.98));
  border: 1px solid rgba(132, 112, 189, 0.3);
  border-radius: 8px;
  display: flex; flex-direction: column; gap: 14px;
}
.palette-card__tag { margin: 0; color: var(--red); font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.85rem; }
.palette-card h2 { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 2rem; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.palette-card p { margin: 0; color: var(--silver-light); }
.palette-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 10px; }
.min-charge {
  display: flex; align-items: center; gap: 24px;
  margin-top: 24px; padding: 28px 30px;
  background: rgba(255, 26, 26, 0.06);
  border: 1px solid rgba(255, 26, 26, 0.45);
  border-radius: 8px;
}
.min-charge__price { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--red); text-shadow: 0 0 18px rgba(255, 26, 26, 0.45); }
.min-charge h2, .min-charge h3 { margin: 0 0 6px; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; }
.min-charge p { margin: 0; color: var(--silver-light); }
.about__note--min strong { color: var(--red); }
.about__note a, .contact__note a { color: var(--purple-light); text-decoration: underline; text-underline-offset: 3px; }
.contact__note--min strong { color: var(--red); }
@media (max-width: 720px) {
  .palette-grid { grid-template-columns: 1fr; }
  .min-charge { flex-direction: column; text-align: center; gap: 12px; }
}

.about .min-charge { margin: 32px 0 0; }
.nav__link { white-space: nowrap; }

.colors__soon { margin: 28px 0 0; text-align: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-light); }
.palette-card h2 { margin-bottom: 0; }

/* ===== Branded CAPTCHA pop-up ===== */
.captcha[hidden] { display: none; }
.captcha { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
body.has-modal { overflow: hidden; }
.captcha__box { width: min(100%, 330px); padding: 22px 22px 18px; text-align: center; background: linear-gradient(160deg, rgba(30, 22, 52, 0.98), rgba(6, 5, 10, 0.99)); border: 1px solid var(--purple); border-top: 3px solid var(--red); border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(91, 74, 140, 0.35); }
.captcha__logo { display: block; width: 52px; height: auto; margin: 0 auto 6px; }
.captcha__title { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.captcha__title span { color: var(--red); }
.captcha__text { margin: 4px 0 12px; font-size: 0.88rem; color: var(--silver-light); }
.captcha__canvas { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto 12px; border: 1px solid var(--purple); border-radius: 6px; }
.captcha__input { width: 100%; padding: 11px 12px; text-align: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.3em; text-transform: uppercase; color: #fff; background: #0b0814; border: 1.5px solid var(--purple); border-radius: 6px; }
.captcha__input:focus { outline: 3px solid var(--purple-light); outline-offset: 2px; }
.captcha__error { min-height: 1.2em; margin: 8px 0 0; font-size: 0.85rem; color: #ff6b6b; }
.captcha__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; margin-top: 8px; }
.captcha__btn { flex: 1 1 100%; padding: 12px 18px; }
.captcha__link { background: none; border: 0; padding: 4px; font: inherit; font-size: 0.85rem; color: var(--purple-light); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.captcha__link:hover { color: #fff; }
.captcha__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Reviews page ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 56px; }
.review-empty { grid-column: 1 / -1; padding: 36px 24px; text-align: center; background: linear-gradient(160deg, rgba(20, 15, 34, 0.95), rgba(6, 5, 10, 0.98)); border: 1px dashed rgba(132, 112, 189, 0.45); border-radius: 8px; }
.review-empty h2 { margin: 0 0 8px; font-family: var(--font-heading); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.review-empty p { margin: 0 auto; max-width: 520px; color: var(--silver-light); }
.review-card { padding: 22px; background: linear-gradient(160deg, rgba(20, 15, 34, 0.95), rgba(6, 5, 10, 0.98)); border: 1px solid rgba(132, 112, 189, 0.3); border-radius: 8px; }
.rev-stars { display: inline-flex; gap: 2px; color: #3a3350; }
.rev-stars .is-on { color: var(--red); filter: drop-shadow(0 0 6px rgba(255, 26, 26, 0.45)); }
.review-card__text { margin: 12px 0; color: var(--silver-light); }
.review-card__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-bottom: 12px; }
.review-card__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 1px solid rgba(132, 112, 189, 0.35); }
.review-card__by { margin: 0; font-size: 0.9rem; color: var(--silver); }
.review-card__by strong { color: #fff; }
.review-form-wrap { max-width: 760px; margin: 0 auto; }
.review-form__title { margin: 0 0 18px; text-align: center; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.review-form__title span { color: var(--red); }
.field__hint { margin: 6px 0 0; font-size: 0.8rem; color: var(--silver); }
.field__label { display: block; margin-bottom: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-light); }
.field__label span { color: var(--red); }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { display: block; margin: 0; padding: 2px; cursor: pointer; color: #3a3350; transition: color 0.15s, transform 0.15s; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: var(--red); }
.stars label:hover { transform: scale(1.12); }
.stars input:focus-visible + label { outline: 3px solid var(--purple-light); outline-offset: 2px; border-radius: 4px; }
.photo-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-drop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 16px; margin: 0; cursor: pointer; text-align: center; color: var(--purple-light); background: rgba(46, 36, 80, 0.25); border: 1.5px dashed var(--purple); border-radius: 8px; transition: background 0.2s, border-color 0.2s; }
.photo-drop:hover, .photo-input:focus-visible + .photo-drop { background: rgba(91, 74, 140, 0.35); border-color: var(--purple-light); }
.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.photo-previews:empty { display: none; }
.photo-thumb { position: relative; }
.photo-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 1px solid var(--purple); display: block; }
.photo-thumb__x { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; padding: 0; line-height: 1; font-size: 1.1rem; color: #fff; background: var(--red-deep); border: 1.5px solid #000; border-radius: 50%; cursor: pointer; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 22px; font-size: 0.92rem; color: var(--silver-light); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; flex: none; }
.review-frame { position: absolute; width: 0; height: 0; border: 0; visibility: hidden; }
@media (max-width: 760px) { .stars svg { width: 34px; height: 34px; } }

/* ===== Reviews: fit six menu tabs on small phones + small fixes ===== */
.photo-drop span { color: var(--purple-light); }
.btn .btn__label { white-space: nowrap; }
@media (max-width: 480px) {
  .nav__menu { gap: 7px; }
  .nav__link { font-size: 0.66rem; letter-spacing: 0.02em; }
  .nav__link--cta { padding: 4px 7px; }
  #reviewBtn { letter-spacing: 0.1em; padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 360px) {
  .nav__menu { gap: 5px; }
  .nav__link { font-size: 0.6rem; letter-spacing: 0; }
  .nav__link--cta { padding: 3px 5px; }
}
