/* SERNA prints — brand: black / olive green / champagne gold */

/* Self-hosted brand fonts (Squartiqa 4F + Mr Dafoe, as used in the Canva logo) */
@font-face {
  font-family: 'Squartiqa 4F';
  src: url('fonts/Squartiqa4FLight.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mr Dafoe';
  src: url('fonts/MrDafoe-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;            /* matte black */
  --bg-alt: #0d0d0d;
  --card: #1a1a1a;          /* deep charcoal */
  --card-2: #202020;
  --border: #2a2a2a;
  --text: #e8eaf0;
  --muted: #9aa3b2;
  --accent: #D8B98A;        /* champagne gold — wordmark, tagline */
  --accent-strong: #E8CFA5; /* light gold — highlights */
  --olive: #7D8535;         /* olive green — script, accents */
  --olive-light: #A7AD5A;   /* light olive — highlights */
  --silver: #9A9A92;        /* printer hardware */
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Squartiqa 4F', Georgia, "Times New Roman", serif;
  font-weight: 400; font-size: 1.35rem; letter-spacing: 3px;
  color: var(--accent); text-decoration: none;
  text-shadow: 1px 1px 0 #000, 2px 2px 0 var(--card-2);
}
.brand-logo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.brand-script {
  font-family: 'Mr Dafoe', "Brush Script MT", cursive;
  font-size: 1.3rem; font-weight: 400; letter-spacing: 0;
  color: var(--olive); margin-left: 4px;
}
.brand-lab {
  font-family: 'Squartiqa 4F', Georgia, serif;
  font-size: 0.95rem; font-weight: 400; letter-spacing: 3px;
  color: var(--accent); margin-left: 8px; align-self: flex-end;
  text-shadow: 1px 1px 0 #000, 2px 2px 0 var(--card-2);
}
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
  color: var(--bg); background: var(--accent); padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem;
}
.nav .nav-cta:hover { background: var(--accent-strong); color: var(--bg); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-inner { text-align: center; }

.logo-img {
  width: 220px; height: 220px;
  margin: 0 auto 6px;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.8));
  background: #000; /* blends black canvas into black hero */
}

.est {
  font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--olive); margin-bottom: 18px;
}

.hero h1, .hero-title { line-height: 1.05; margin-bottom: 6px; }
.hero-title {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; margin-bottom: 8px;
}
.wordmark {
  font-family: 'Squartiqa 4F', Georgia, "Times New Roman", serif;
  font-weight: 400; font-size: clamp(3rem, 9vw, 5.2rem);
  letter-spacing: 8px; color: var(--accent);
  text-shadow:
    1px 1px 0 #000,
    2px 2px 0 var(--card-2),
    3px 3px 0 #000,
    4px 4px 0 var(--card-2),
    5px 5px 0 rgba(0, 0, 0, 0.85),
    8px 8px 22px rgba(0, 0, 0, 0.9);
}
.hero-script {
  font-family: 'Mr Dafoe', "Brush Script MT", cursive;
  font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 400;
  color: var(--olive); margin-top: -14px; /* overlap SERNA's baseline like the logo */
  text-shadow: 1px 1px 0 #000, 2px 2px 0 rgba(0, 0, 0, 0.8);
}
.lab {
  font-family: 'Squartiqa 4F', Georgia, serif;
  font-size: clamp(1.2rem, 3vw, 1.9rem); font-weight: 400;
  letter-spacing: 12px; color: var(--accent); margin-top: 2px;
  text-shadow:
    1px 1px 0 #000,
    2px 2px 0 var(--card-2),
    3px 3px 0 rgba(0, 0, 0, 0.85),
    5px 5px 16px rgba(0, 0, 0, 0.9);
}
.tagline {
  margin-top: 14px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 6px; text-transform: uppercase;
  color: var(--accent);
}
.hero .lede {
  margin: 26px auto 0; max-width: 600px;
  font-size: 1.12rem; color: var(--muted);
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: all 0.15s;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-title {
  font-size: 1.7rem; letter-spacing: -0.3px;
  text-shadow: 1px 1px 0 #000, 2px 2px 0 var(--card-2);
}
.section-sub { color: var(--muted); margin-top: 8px; margin-bottom: 32px; }

/* Gallery */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card {
  aspect-ratio: 1 / 1; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--card);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.9rem; overflow: hidden;
  position: relative;
}
.card.placeholder {
  background:
    linear-gradient(135deg, rgba(216, 185, 138, 0.07), rgba(125, 133, 53, 0.04)),
    var(--card);
  border-style: dashed;
}
.grid .grid-empty { grid-column: 1 / -1; }
.card img { width: 100%; height: 100%; object-fit: contain; background: var(--bg-alt); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--bg); font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* Form */
.order-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); padding: 11px 14px; font-size: 0.98rem; font-family: inherit;
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field input[type="file"] { padding: 8px; }
.hint { color: var(--muted); font-size: 0.8rem; }
.form-actions { margin-top: 6px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }
.form-status.wait { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.88rem; flex-wrap: wrap; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--accent); }
