:root {
  --ink: #0b1020;
  --ink-2: #151c33;
  --paper: #f4f1ea;
  --muted: #a8b0c4;
  --line: rgba(244, 241, 234, 0.12);
  --accent: #e21e51;
  --accent-2: #ff6b4a;
  --glow: #3d7cff;
  --font-display: "Syne", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --radius: 0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--paper);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(61, 124, 255, 0.22), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(226, 30, 81, 0.18), transparent 50%),
    linear-gradient(165deg, #070a14 0%, var(--ink) 45%, #10182c 100%);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-2); }
.shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.site-header.is-scrolled { background: rgba(7, 10, 20, 0.92); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.25rem; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 2.35rem; width: auto; display: block; }
.footer-logo img { height: 2.5rem; width: auto; display: block; margin-bottom: 0.75rem; }
.hero-logo {
  height: clamp(3.2rem, 8vw, 5rem); width: auto; margin-bottom: 1rem;
  opacity: 0; transform: translateY(14px); animation: rise 0.85s var(--ease) 0.05s forwards;
  filter: drop-shadow(0 12px 30px rgba(226, 30, 81, 0.35));
}
.hero-media {
  position: absolute; inset: 0; z-index: -3; overflow: hidden;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.28;
  transform: scale(1.08); animation: heroZoom 18s var(--ease) infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1); } }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; opacity: 0.9; }
.site-nav a:hover { opacity: 1; color: #fff; }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 0.55rem 1rem;
  border: 0; text-decoration: none !important;
}
.nav-cta:hover { background: var(--accent-2); color: #fff !important; }
.nav-toggle {
  display: none; background: transparent; border: 0; width: 2.5rem; height: 2.5rem;
  position: relative; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 0.45rem; right: 0.45rem; height: 2px; background: var(--paper);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span:first-of-type { top: 0.95rem; }
.nav-toggle span:last-of-type { top: 1.4rem; }
.nav-toggle[aria-expanded="true"] span:first-of-type { transform: translateY(0.22rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-of-type { transform: translateY(-0.22rem) rotate(-45deg); }

.hero {
  position: relative; min-height: min(92vh, 820px);
  display: grid; align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, transparent 20%, rgba(7, 10, 20, 0.55) 70%, rgba(7, 10, 20, 0.95) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(226, 30, 81, 0.35), transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(61, 124, 255, 0.28), transparent 45%),
    linear-gradient(120deg, #0b1020, #1a1030 50%, #0d1a2e);
}
.hero-wave {
  position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; opacity: 0.55;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 18px,
    rgba(244, 241, 234, 0.04) 18px,
    rgba(244, 241, 234, 0.04) 19px
  );
  mask-image: linear-gradient(180deg, transparent, #000 40%);
  animation: drift 18s linear infinite;
}
@keyframes drift { to { transform: translateX(-19px); } }
.hero-copy { padding: 7rem 0 4.5rem; max-width: 42rem; }
.hero-brand {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 0.95; letter-spacing: -0.04em; margin: 0 0 1rem;
  opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) 0.1s forwards;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.2; margin: 0 0 1rem;
  max-width: 18ch; opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) 0.25s forwards;
}
.hero p {
  margin: 0 0 1.75rem; color: var(--muted); max-width: 36ch; font-size: 1.125rem;
  opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) 0.4s forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; opacity: 0; animation: rise 0.9s var(--ease) 0.55s forwards; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.25rem; font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(244,241,234,0.35); }
.btn-ghost:hover { border-color: #fff; color: #fff; }

.section { padding: 4.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em; margin: 0 0 0.6rem; line-height: 1.1;
}
.section-head p { margin: 0; color: var(--muted); }
.section-alt {
  background: linear-gradient(180deg, rgba(21, 28, 51, 0.65), rgba(11, 16, 32, 0.2));
  border-block: 1px solid var(--line);
}

.work-grid, .biz-grid, .price-grid {
  display: grid; gap: 1.25rem;
}
.work-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.biz-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.price-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.work-item, .biz-item, .price-card, .service-row {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 1.25rem 1.35rem;
  transition: transform 0.35s var(--ease), border-color 0.25s, background 0.25s;
}
.work-item.has-media, .biz-item.has-media { padding: 0 0 1.25rem; overflow: hidden; }
.thumb {
  aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 1rem;
  background: #151c33; border-bottom: 1px solid var(--line);
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s var(--ease); filter: saturate(1.05) contrast(1.05);
}
.work-item.has-media .eyebrow,
.work-item.has-media h3,
.work-item.has-media p,
.biz-item.has-media .eyebrow,
.biz-item.has-media h3,
.biz-item.has-media p { padding-inline: 1.25rem; }
.live-hint { margin-top: 0.75rem; color: var(--accent-2); padding-inline: 1.25rem; }
a.work-item, a.biz-item, a.card-main { text-decoration: none; color: inherit; display: block; }
.work-item, .biz-item { display: block; }
.card-cta { margin: 0.85rem 0 0; padding-inline: 1.25rem; }
.visit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
  text-decoration: none;
}
.visit-link::after { content: "↗"; font-size: 0.85em; opacity: 0.85; }
.visit-link:hover { color: var(--accent-2); text-decoration: underline; }
.work-item:hover, .biz-item:hover, .price-card:hover {
  transform: translateY(-4px); border-color: rgba(226, 30, 81, 0.55); background: rgba(226, 30, 81, 0.07);
}
.work-item:hover .thumb img, .biz-item:hover .thumb img { transform: scale(1.06); }
.detail-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start;
}
.detail-media {
  margin: 0; border: 1px solid var(--line); overflow: hidden; background: #151c33;
}
.detail-media img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-2); font-weight: 700; margin-bottom: 0.55rem;
}
.work-item h3, .biz-item h3, .price-card h3 {
  font-family: var(--font-display); margin: 0 0 0.5rem; font-size: 1.25rem; letter-spacing: -0.02em;
}
.work-item p, .biz-item p, .price-card p, .service-row p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.tag {
  font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 0.2rem 0.45rem; color: var(--muted);
}
.price-card.featured { border-color: rgba(226, 30, 81, 0.55); background: rgba(226, 30, 81, 0.08); }
.price { font-family: var(--font-display); font-size: 1.8rem; margin: 0.4rem 0 0.2rem; }
.price-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem !important; }
.price-card ul { margin: 0 0 1.25rem; padding-left: 1.1rem; color: var(--muted); }
.price-card li { margin: 0.25rem 0; }
.service-block { margin-bottom: 3rem; }
.service-row {
  display: grid; grid-template-columns: 1.2fr 0.8fr 1.6fr; gap: 1rem; align-items: start; margin-bottom: 0.75rem;
}
.service-row strong { font-family: var(--font-display); font-size: 1.1rem; }
.service-price { color: var(--accent-2); font-weight: 700; }

.page-hero { padding: 5.5rem 0 2rem; }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em; margin: 0 0 0.75rem; line-height: 1.05;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 40rem; }
.prose { max-width: 42rem; }
.prose h2, .prose h3 { font-family: var(--font-display); letter-spacing: -0.02em; }
.prose a { color: var(--accent-2); }
.filter-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter-btn {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  padding: 0.4rem 0.75rem; cursor: pointer; font: inherit;
}
.filter-btn.is-active, .filter-btn:hover { color: #fff; border-color: var(--accent); }

.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start;
}
.form label { display: block; font-weight: 600; margin: 0.85rem 0 0.35rem; }
.form input, .form textarea, .form select {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  color: #fff; padding: 0.75rem 0.85rem; font: inherit;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.flash { margin: 1rem auto; padding: 0.85rem 1rem; border: 1px solid var(--line); }
.flash-success { border-color: rgba(80, 200, 120, 0.5); background: rgba(80, 200, 120, 0.1); }
.flash-error { border-color: rgba(226, 30, 81, 0.5); background: rgba(226, 30, 81, 0.12); }

.site-footer {
  margin-top: 3rem; border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.25); padding: 3rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; margin: 0 0 0.5rem; }
.footer-tag, .footer-label + p { color: var(--muted); }
.footer-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.9rem;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed; inset: 4.25rem 0 auto 0; display: none; flex-direction: column;
    align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.5rem;
    background: rgba(7, 10, 20, 0.96); border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
  .service-row, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 5.5rem; }
}
