/* ==========================================================================
   Veilio Co. — Design System
   White & champagne gold, premium B2B/B2C automation aesthetic
   Copied verbatim from server/public-site/css/style.css (Phase 0/1 vertical
   slice). Phase 7 will keep these in sync properly or fold the two public
   sites into one; for now this is a deliberate duplicate so the Firebase
   Hosting side doesn't depend on the still-live Railway deployment.
   ========================================================================== */

:root {
  /* Palette — legacy dark navy/teal tokens. Kept as-is (not just for
     compatibility): the admin dashboard (server/views/admin-*.html) also
     loads this stylesheet and its own admin.css builds directly on these
     values for buttons, cards, forms and body colour. Changing them here
     would silently re-theme the internal admin tool along with the public
     site, so the marketing rebrand below uses an entirely separate token
     set instead of repointing these. */
  --navy-950: #060c16;
  --navy-900: #0a1628;
  --navy-800: #0f1f36;
  --navy-700: #152945;
  --navy-600: #1c3554;
  --navy-border: #223a5c;

  --teal-600: #016b78;
  --teal-500: #028090;
  --teal-400: #04a3b6;
  --teal-300: #4fc3d1;
  --teal-glow: rgba(2, 128, 144, 0.35);

  --white: #f4f8fb;
  --gray-100: #dbe4ee;
  --gray-300: #aebccd;
  --gray-500: #7c8ba0;
  --gray-700: #4d5b70;

  /* Palette — white & champagne gold (public marketing site) */
  --pearl: #f0f8ff;
  --pearl-panel: #ffffff;
  --pearl-deep: #e4edf6;
  --gold: #edc967;
  --gold-dark: #c9a227;
  --gold-ink: #8a6914;
  --gold-soft: #f8ecc7;
  --gold-glow: rgba(237, 201, 103, 0.4);
  --ink: #1e2328;
  --ink-soft: #454c55;
  --mist: #7b8794;
  --hairline: #e6dec4;
  --shadow-card-light: 0 20px 50px -20px rgba(30, 35, 45, 0.16);
  --shadow-soft-light: 0 10px 28px -14px rgba(30, 35, 45, 0.1);

  --font-head: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 30px -12px rgba(0, 0, 0, 0.4);

  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy-900);
  color: var(--gray-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { color: var(--gray-300); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* ---------- White & champagne gold theme (marketing pages only) ----------
   Scoped with body:not(.admin-body) so every rule here overrides the base
   dark-theme rules above ONLY on pages whose <body> isn't the admin
   dashboard's (server/views/admin-*.html all use <body class="admin-body">,
   the public site's <body> has no class). This lets the public site and the
   internal admin tool share one stylesheet without one dragging the other's
   colours along with it. */
body:not(.admin-body) { background: var(--pearl); color: var(--ink-soft); }
body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3,
body:not(.admin-body) h4 { color: var(--ink); }
body:not(.admin-body) p { color: var(--ink-soft); }

/* Real logo assets (public/assets/images/Icon Mark.png + Primary Logo.png)
   replace the old placeholder SVG-in-a-gold-box mark and plain text
   wordmark on the public site — the icon art already includes its own
   dark rounded-square background, so the box background/shadow that used
   to compensate for a plain-line SVG icon is removed here. */
body:not(.admin-body) .brand-mark {
  overflow: hidden;
  background: none;
  box-shadow: none;
}
body:not(.admin-body) .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body:not(.admin-body) .brand-name {
  /* Same gold gradient used in the Canva-designed logo mark, not the
     darker --gold-ink used for small in-body accents. Applied to the
     whole wordmark (not just the nested "IO" span) per feedback. */
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body:not(.admin-body) .brand-name span {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body:not(.admin-body) .btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--ink);
  box-shadow: 0 12px 30px -10px var(--gold-glow);
}
body:not(.admin-body) .btn-primary:hover { box-shadow: 0 16px 36px -8px var(--gold-glow); }
body:not(.admin-body) .btn-outline { color: var(--ink); border-color: var(--hairline); }
body:not(.admin-body) .btn-outline:hover { border-color: var(--gold-dark); color: var(--gold-ink); }
body:not(.admin-body) .btn-ghost { color: var(--gold-ink); }
body:not(.admin-body) .btn-ghost:hover { border-color: var(--gold-dark); }

body:not(.admin-body) .card {
  background: var(--pearl-panel);
  border-color: var(--hairline);
  box-shadow: var(--shadow-soft-light);
}
body:not(.admin-body) .card:hover { border-color: var(--gold-dark); box-shadow: var(--shadow-card-light); }
/* Soft corner glow so plain cards (value cards, etc.) don't read as empty
   white boxes — same radial-gradient treatment already used on
   .visual-panel, just in the opposite corner for a bit of rhythm across
   the page. Explicitly excludes .card-photo: those already paint a
   ::before gradient scrim + real ::after glow-cursor effect, and this
   ::after would paint over their text (see the glow-cursor comment
   earlier in this file for the exact stacking-order reasoning). */
body:not(.admin-body) .card:not(.card-photo) {
  position: relative;
  overflow: hidden;
}
body:not(.admin-body) .card:not(.card-photo)::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  bottom: -90px; right: -60px;
  pointer-events: none;
  z-index: 0;
}
body:not(.admin-body) .card:not(.card-photo) > * {
  position: relative;
  z-index: 1;
}
body:not(.admin-body) .card-icon { background: var(--gold-soft); border-color: rgba(201, 162, 39, 0.35); }
body:not(.admin-body) .card-icon svg { stroke: var(--gold-ink); }
body:not(.admin-body) .card-tag { color: var(--gold-ink); background: var(--gold-soft); }
body:not(.admin-body) .card-list li { color: var(--ink-soft); }
body:not(.admin-body) .card-list svg { stroke: var(--gold-dark); }

body:not(.admin-body) .field label { color: var(--ink); }
body:not(.admin-body) .field label .req { color: var(--gold-dark); }
body:not(.admin-body) .field input,
body:not(.admin-body) .field textarea,
body:not(.admin-body) .field select {
  background: var(--pearl-panel);
  border-color: var(--hairline);
  color: var(--ink);
}
body:not(.admin-body) .field input::placeholder,
body:not(.admin-body) .field textarea::placeholder { color: var(--mist); }
body:not(.admin-body) .field input:focus,
body:not(.admin-body) .field textarea:focus,
body:not(.admin-body) .field select:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}
body:not(.admin-body) .field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a6914' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}
body:not(.admin-body) .field-note { color: var(--mist); }
body:not(.admin-body) .checkbox-row input { accent-color: var(--gold-dark); }
body:not(.admin-body) .checkbox-row label { color: var(--ink-soft); }

body:not(.admin-body) .form-status.success { background: var(--gold-soft); border: 1px solid var(--gold-dark); color: var(--gold-ink); }
body:not(.admin-body) .form-status.error { background: rgba(200, 60, 60, 0.08); border: 1px solid #c86a6a; color: #a03636; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 14px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-dark);
}
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  color: #fff;
  box-shadow: 0 12px 30px -10px var(--teal-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px var(--teal-glow); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--navy-border);
}
.btn-outline:hover { border-color: var(--teal-400); color: var(--teal-300); }
.btn-ghost {
  color: var(--teal-300);
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1.5px solid transparent;
}
.btn-ghost:hover { border-color: var(--teal-400); }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(240, 248, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.3s ease, box-shadow .3s ease;
}
.navbar.scrolled {
  background: rgba(240, 248, 255, 0.94);
  box-shadow: 0 10px 30px -20px rgba(30, 35, 45, 0.3);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal-400), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-weight: 800; font-size: 1.2rem; color: var(--white); letter-spacing: 0.01em; }
.brand-name span { color: var(--teal-300); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--gold-dark);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-cta .btn-primary { padding: 12px 24px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1100;
}
.nav-toggle span {
  height: 2px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(78vw, 340px);
    height: 100vh;
    background: var(--pearl-panel);
    border-left: 1px solid var(--hairline);
    box-shadow: -20px 0 50px -20px rgba(30, 35, 45, 0.2);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.35s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta { flex-direction: column-reverse; align-items: flex-start; gap: 16px; margin-top: 12px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
}
@media (min-width: 921px) { .nav-cta .btn-outline.mobile-only { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background:
    radial-gradient(circle at 82% 18%, var(--gold-glow), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(237,201,103,0.22), transparent 40%),
    linear-gradient(180deg, var(--pearl-deep) 0%, var(--pearl) 60%, var(--pearl) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,35,45,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,35,45,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-soft);
  border: 1px solid rgba(201,162,39,0.4);
  color: var(--gold-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dark); box-shadow: 0 0 10px var(--gold-dark); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-ink); }
.hero-sub { font-size: 1.12rem; max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--ink);
  font-weight: 800;
}
.hero-stats div span { font-size: 0.82rem; color: var(--mist); letter-spacing: 0.02em; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--pearl-panel), var(--pearl-deep) 80%);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card-light);
  overflow: hidden;
}
.hero-visual .glow {
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  top: -60px; right: -60px;
  filter: blur(10px);
}
.hero-visual .frame {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius-md);
}
.hero-visual .window {
  position: absolute;
  inset: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(237,201,103,0.2), rgba(255,255,255,0.9) 70%);
  display: flex;
  align-items: flex-end;
  padding: 26px;
}
.hero-visual .curtain-bars { position: absolute; top: 22px; left: 22px; right: 22px; height: 46%; display: flex; gap: 6px; }
.hero-visual .curtain-bars i {
  flex: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), var(--gold) 60%, var(--gold-dark));
  border-radius: 0 0 6px 6px;
  animation: sway 6s ease-in-out infinite;
}
.hero-visual .curtain-bars i:nth-child(2n) { animation-delay: -1.5s; }
.hero-visual .curtain-bars i:nth-child(3n) { animation-delay: -3s; }
@keyframes sway { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(0.92); } }
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  width: 100%;
  backdrop-filter: blur(6px);
}
.hero-card .row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hero-card .row:last-child { margin-bottom: 0; }
.hero-card .label { font-size: 0.78rem; color: var(--mist); }
.hero-card .val { font-family: var(--font-head); font-weight: 700; color: var(--gold-ink); font-size: 0.85rem; }
.hero-card .bar { height: 4px; border-radius: 4px; background: var(--hairline); overflow: hidden; margin-top: 10px; }
.hero-card .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); width: 72%; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
}

/* ---------- Trust bar ---------- */
.trust-bar { padding: 40px 0; border-bottom: 1px solid var(--hairline); border-top: 1px solid var(--hairline); }
.trust-bar .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.trust-bar .trust-label { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); white-space: nowrap; }
.trust-list { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.trust-list span { font-family: var(--font-head); font-weight: 700; color: var(--ink-soft); font-size: 1rem; opacity: 0.85; letter-spacing: 0.02em; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(79,195,209,0.4); box-shadow: var(--shadow-card); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(2,128,144,0.14);
  border: 1px solid rgba(2,128,144,0.35);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--teal-300); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-300);
  background: rgba(2,128,144,0.14);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  /* .card-photo is a column flex container, and flex's default
     align-items:stretch silently stretches inline-block children to the
     full cross-axis width — which turned this pill badge into a wide bar
     spanning the card instead of hugging its own text. align-self only
     takes effect when the element actually is a flex/grid item, so this
     is safe everywhere else .card-tag is used (plain block contexts). */
  align-self: flex-start;
}
.card-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.card-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--gray-300); }
.card-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; stroke: var(--teal-400); }

/* ---------- Card with photo backdrop (e.g. Products page category cards) ---------- */
.card-photo {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.card-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,9,12,0.05) 0%, rgba(5,7,10,0.42) 32%, rgba(4,6,8,0.72) 58%, rgba(3,4,6,0.88) 100%);
  z-index: 0;
}
.card-photo > * { position: relative; z-index: 1; }
.card-photo .card-icon { display: none; }
/* Higher specificity than the site-wide `body:not(.admin-body) h3/p { color: var(--ink) }`
   rules further up this file, which were winning over a plain `.card-photo h3` selector
   and silently keeping the heading/body text dark against the photo. */
body:not(.admin-body) .card-photo .card-tag { color: #fff; background: rgba(255,255,255,0.22); text-shadow: none; }
body:not(.admin-body) .card-photo h3 { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.75); }
body:not(.admin-body) .card-photo p { color: rgba(255,255,255,0.94); text-shadow: 0 1px 3px rgba(0,0,0,0.7); }

/* Text grows slightly on hover — anchored bottom-left (not centered) so it
   scales up from where it already sits rather than jumping around. Same
   align-self:flex-start fix as .card-tag above: .card-photo is a flex
   column, so without it these would stretch full-width and the transform
   would scale the whole stretched box instead of hugging the text. */
.card-photo h3, .card-photo p {
  align-self: flex-start;
  transform-origin: left bottom;
  transition: transform 0.3s ease;
}
.card-photo:hover h3 { transform: scale(1.08); }
.card-photo:hover p { transform: scale(1.03); }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-visual { order: 2; }
@media (max-width: 900px) { .split, .split.reverse .split-visual { grid-template-columns: 1fr; order: initial; } }

.visual-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: linear-gradient(160deg, var(--pearl-panel), var(--pearl-deep));
  padding: 36px;
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.visual-panel::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  bottom: -80px; left: -60px;
}

/* ---------- Feature list ---------- */
.feature-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.feature-row:last-child { border-bottom: none; }
.feature-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gold-ink);
  min-width: 52px;
}
.feature-row h4 { font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.feature-row p { font-size: 0.92rem; }

/* ---------- Process steps ---------- */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
@media (max-width: 980px) { .process-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-track { grid-template-columns: 1fr; } }
.process-step {
  background: var(--pearl-panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}
.process-step::after {
  content: "";
  position: absolute;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  bottom: -70px; right: -50px;
  pointer-events: none;
  z-index: 0;
}
.process-step > * {
  position: relative;
  z-index: 1;
}
.process-step .step-index {
  font-family: var(--font-head);
  color: var(--gold-ink);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}
.process-step h4 { font-family: var(--font-head); color: var(--ink); font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.86rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  background:
    radial-gradient(circle at 15% 20%, rgba(237,201,103,0.25), transparent 45%),
    linear-gradient(120deg, var(--pearl-panel), var(--pearl-deep));
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p { max-width: 480px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 768px) { .cta-banner { padding: 44px 28px; text-align: center; justify-content: center; } .cta-banner p { margin: 0 auto; } }

/* ---------- Projects ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--gold-dark); color: var(--ink); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.project-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--hairline); background: var(--pearl-panel); transition: transform .3s ease, box-shadow .3s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-light); }
.project-thumb {
  height: 200px;
  position: relative;
  background: linear-gradient(155deg, var(--pearl-deep), var(--pearl-panel));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.project-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(30,35,45,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(30,35,45,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.project-thumb svg { width: 46px; height: 46px; stroke: var(--gold-dark); opacity: 0.9; position: relative; }
.project-body { padding: 24px 22px; }
.project-body .card-tag { margin-bottom: 12px; }
.project-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.project-body p { font-size: 0.9rem; margin-bottom: 14px; }
.project-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--mist); border-top: 1px solid var(--hairline); padding-top: 14px; }
.project-meta strong { color: var(--ink-soft); display: block; font-size: 0.82rem; }

/* ---------- Stats strip ---------- */
.stats-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stats-strip .grid-4 { text-align: center; }
.stat-item strong { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--gold-ink); }
.stat-item span { font-size: 0.85rem; color: var(--mist); }

/* ---------- Values / About ---------- */
.value-card { text-align: left; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.timeline-item:last-child { border-bottom: none; }
.timeline-item .year { font-family: var(--font-head); font-weight: 800; color: var(--gold-ink); font-size: 1.1rem; }
.timeline-item h4 { color: var(--ink); font-family: var(--font-head); margin-bottom: 6px; }
.timeline-item p { font-size: 0.92rem; }
@media (max-width: 640px) { .timeline-item { grid-template-columns: 1fr; gap: 6px; } }

.quote-block {
  border-left: 3px solid var(--gold-dark);
  padding: 6px 0 6px 26px;
  margin: 40px 0;
}
.quote-block p { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); font-weight: 600; line-height: 1.5; }
.quote-block cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.85rem; color: var(--mist); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: var(--gray-100); }
.field label .req { color: var(--teal-400); }
.field input, .field textarea, .field select {
  background: var(--navy-800);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-500); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(2,128,144,0.2);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234fc3d1' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 40px;
}
.field-note { font-size: 0.78rem; color: var(--gray-500); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--teal-400); }
.checkbox-row label { font-size: 0.85rem; color: var(--gray-300); font-weight: 400; font-family: var(--font-body); }

.contact-panel {
  background: var(--pearl-panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .card-icon { width: 44px; height: 44px; margin-bottom: 0; flex-shrink: 0; }
.contact-info-item .card-icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { font-family: var(--font-head); color: var(--ink); font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.88rem; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(2,128,144,0.15); border: 1px solid var(--teal-500); color: var(--teal-300); }
.form-status.error { background: rgba(200,60,60,0.12); border: 1px solid #a04444; color: #e8a3a3; }

/* Honeypot field — hidden from real visitors, catches basic form bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding-top: 160px;
  padding-bottom: 70px;
  background:
    radial-gradient(circle at 85% 0%, var(--gold-glow), transparent 45%),
    linear-gradient(180deg, var(--pearl-deep), var(--pearl));
  border-bottom: 1px solid var(--hairline);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--mist); margin-bottom: 18px; font-family: var(--font-head); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-ink); }
.page-hero h1 { max-width: 760px; }
.page-hero .hero-sub { margin-top: 18px; margin-bottom: 0; }

/* ---------- Footer ---------- */
footer {
  background: var(--pearl-deep);
  border-top: 1px solid var(--hairline);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.9rem; margin: 16px 0 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.footer-social a:hover { border-color: var(--gold-dark); color: var(--gold-ink); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--font-head); color: var(--ink); font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--gold-ink); }
.footer-address { font-size: 0.9rem; color: var(--ink-soft); font-style: normal; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--mist);
}
.footer-bottom a:hover { color: var(--gold-ink); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Product curtain reveal ---------- */
.curtain-stage {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--pearl-deep), var(--pearl-panel) 55%);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft-light);
  overflow: hidden;
  padding: 72px 28px 48px;
  min-height: 480px;
}
.curtain-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.curtain-rod {
  position: absolute;
  top: 34px; left: 28px; right: 28px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  box-shadow: 0 2px 6px rgba(30,35,45,0.2);
  z-index: 5;
}
.curtain-finial {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8e6, var(--gold-dark));
  box-shadow: 0 1px 4px rgba(30,35,45,0.25);
}
.curtain-finial.left { left: -10px; }
.curtain-finial.right { right: -10px; }
.curtain-ring {
  position: absolute;
  top: -5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--pearl-panel);
  border: 3px solid var(--gold-dark);
  z-index: 6;
}

.curtain-panel {
  position: absolute;
  top: 38px; bottom: 0;
  width: 52%;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,0.4) 0 6px,
    var(--gold) 6px 26px,
    var(--gold-dark) 26px 32px);
  box-shadow: inset 0 0 50px rgba(30,35,45,0.12);
  transition: transform 1s cubic-bezier(.65,0,.35,1);
  z-index: 4;
}
.curtain-panel.left { left: 0; transform-origin: top left; border-radius: 0 0 0 var(--radius-lg); }
.curtain-panel.right { right: 0; transform-origin: top right; border-radius: 0 0 var(--radius-lg) 0; }
.curtain-input:checked ~ .curtain-panel.left { transform: translateX(-94%) scaleX(0.82); }
.curtain-input:checked ~ .curtain-panel.right { transform: translateX(94%) scaleX(0.82); }

.curtain-cord {
  position: absolute;
  top: 38px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
  z-index: 7;
  padding: 6px 24px;
}
.curtain-cord-line { width: 2px; height: 44px; background: var(--gold-dark); }
.curtain-tassel {
  width: 18px; height: 26px;
  margin-top: -2px;
  border-radius: 4px 4px 9px 9px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  box-shadow: 0 3px 8px rgba(30,35,45,0.22);
  transition: transform .3s ease;
}
.curtain-cord:hover .curtain-tassel { transform: translateY(4px); }
.curtain-input:checked ~ .curtain-cord .curtain-tassel { transform: translateY(4px) rotate(10deg); }
.curtain-input:focus-visible ~ .curtain-cord { outline: 2px solid var(--gold-dark); outline-offset: 6px; border-radius: 8px; }
.curtain-cord-label {
  margin-top: 10px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-ink);
  transition: opacity .3s ease;
}
.curtain-input:checked ~ .curtain-cord .curtain-cord-label { opacity: 0; }

.curtain-showcase {
  position: relative;
  z-index: 1;
  padding-top: 56px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .6s ease .35s, transform .6s ease .35s;
}
.curtain-input:checked ~ .curtain-showcase { opacity: 1; transform: translateY(0); pointer-events: auto; }
.showcase-card.coming-soon { position: relative; }
.showcase-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: var(--gold-soft);
  border: 1px solid rgba(201,162,39,0.35);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .curtain-panel, .curtain-tassel, .curtain-showcase { transition: none; }
}
@media (max-width: 640px) {
  .curtain-stage { padding: 60px 18px 36px; min-height: 420px; }
  .curtain-cord-label { font-size: 0.7rem; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
