@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/playfair-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/playfair-italic.woff2') format('woff2');
}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #9a9a9a;
  --muted-dim: #6f6f6f;
  --line: rgba(255, 255, 255, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --serif: 'Playfair Display', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --measure: 620px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- Background atmosphere ---------- */

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.55) 0%, transparent 60%),
    radial-gradient(1px 1px at 25% 65%, rgba(255,255,255,.4) 0%, transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 15%, rgba(255,255,255,.6) 0%, transparent 60%),
    radial-gradient(1px 1px at 60% 80%, rgba(255,255,255,.35) 0%, transparent 60%),
    radial-gradient(1px 1px at 75% 35%, rgba(255,255,255,.5) 0%, transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 55%, rgba(255,255,255,.45) 0%, transparent 60%),
    radial-gradient(1px 1px at 92% 90%, rgba(255,255,255,.4) 0%, transparent 60%),
    radial-gradient(1px 1px at 15% 90%, rgba(255,255,255,.3) 0%, transparent 60%),
    radial-gradient(1px 1px at 50% 45%, rgba(255,255,255,.35) 0%, transparent 60%);
  background-repeat: repeat;
  background-size: 800px 800px;
  opacity: 0.8;
}

.glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.glow--one {
  width: 620px; height: 620px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, #2b3a8f 0%, transparent 70%);
}
.glow--two {
  width: 700px; height: 700px;
  top: 20%; right: -220px;
  background: radial-gradient(circle, #6d3a8f 0%, transparent 70%);
}
.glow--three {
  width: 640px; height: 640px;
  bottom: -220px; left: 20%;
  background: radial-gradient(circle, #8a5a2b 0%, transparent 70%);
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- Glass ---------- */

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.eyebrow--card { margin-bottom: 0; }
.eyebrow--tight { margin-bottom: 10px; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.display em {
  font-style: italic;
  color: var(--muted);
  font-weight: 400;
}
.display--sm { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin-bottom: 20px; }
.section-title { margin-bottom: 0; }

.h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0;
  letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 12px;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: var(--measure);
  margin: 0 0 36px;
}
.lede--form { margin-top: 8px; margin-bottom: 0; }

.body-text {
  font-size: 1rem;
  color: var(--muted);
  max-width: var(--measure);
  margin: 0;
}

.tag {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Nav ---------- */

.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.nav {
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 14px 10px 20px;
  border-radius: var(--radius-pill);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  margin-right: auto;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--muted);
}
.nav-links a:hover { color: var(--fg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 20px; height: 1.5px;
  background: var(--fg);
  display: block;
}

.nav-cta { flex-shrink: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--solid {
  background: #ffffff;
  color: #0a0a0a;
}
.btn--solid:hover { background: #eaeaea; }

.btn--ghost {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--fg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.btn--ghost:hover { background: var(--glass-bg-strong); border-color: rgba(255,255,255,0.28); }

.btn-arrow { font-size: 1.05em; line-height: 1; }

/* ---------- Layout shells ---------- */

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 110px 24px;
}
.subpage-main { padding-top: 88px; min-height: calc(100vh - 120px); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 24px 0;
}

/* Scoped down from the base .display size so the (now two-line) headline
   clears the character in the background video instead of overlapping it. */
.hero .display {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 38%, transparent 60%),
    linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 30%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-inner .display { margin-bottom: 0; }

.hero-secondary {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  margin: 0 auto;
  width: max-content;
  z-index: 2;
}
.hero-secondary:hover { transform: none; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.card-grid--single {
  grid-template-columns: minmax(0, 480px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card { min-height: 100%; }
.service-card--featured {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.075);
}
.service-price {
  margin: 0 0 18px;
  color: var(--fg);
  font-family: var(--serif);
  font-size: 1.25rem;
}
.service-note {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-dim);
  font-size: 0.82rem;
  line-height: 1.55;
}
.estimate-list {
  display: grid;
  gap: 10px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}
.estimate-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}
.estimate-list strong {
  color: var(--fg);
  font-weight: 600;
  text-align: right;
}
.service-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.pricing-footnote {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}
.subpage-actions { margin-top: 32px; }
.nav-links a[aria-current="page"] { color: var(--fg); }

.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-art {
  height: 180px;
  position: relative;
}
.card-art--do {
  background:
    radial-gradient(circle at 30% 30%, rgba(80,120,255,0.5), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(140,90,255,0.4), transparent 60%),
    #0a0a10;
}
.card-art--build {
  background:
    radial-gradient(circle at 70% 30%, rgba(230,160,90,0.35), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(150,90,220,0.35), transparent 60%),
    #0a0a10;
}
.card-art--kalorie {
  background:
    radial-gradient(circle at 30% 30%, rgba(110,220,150,0.4), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(90,170,255,0.3), transparent 60%),
    #0a100c;
}
.card-art video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body { padding: 26px 28px 30px; }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.icon-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--muted);
  flex-shrink: 0;
}

.card-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 10px;
}
.card-text {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 22px;
}

.card-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.card-link:hover {
  color: var(--fg);
  border-color: var(--glass-border);
}

/* ---------- Split section (confidentiality) ---------- */

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.split-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #060608;
  border: 1px solid var(--line);
}
.split-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-visual-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 45%);
  pointer-events: none;
}

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

.stack-block { max-width: var(--measure); }

/* ---------- About (full-bleed glass-overlay) ---------- */

.about-full {
  max-width: 1320px;
  margin: 0 auto 140px;
  padding: 0 24px;
}

.about-bg {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 22%, rgba(90,110,255,0.4), transparent 55%),
    radial-gradient(circle at 78% 18%, rgba(150,90,220,0.32), transparent 50%),
    radial-gradient(circle at 55% 88%, rgba(230,160,90,0.22), transparent 50%),
    #050506;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 56px;
  overflow: hidden;
}
.about-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(1px 1px at 15% 30%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 85% 40%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 75% 80%, rgba(255,255,255,.5), transparent 60%);
  pointer-events: none;
}

.about-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-video-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.55) 100%),
    radial-gradient(circle at 20% 22%, rgba(90,110,255,0.18), transparent 55%);
  pointer-events: none;
}

.about-content { position: relative; z-index: 3; max-width: 640px; }
.about-heading { margin: 6px 0 0; }

.about-bottom-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.about-card {
  max-width: 380px;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.about-cta { flex-shrink: 0; }

/* ---------- Form ---------- */

.form-head { display: block; }

.idea-form {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}

.form-row { display: flex; flex-direction: column; gap: 10px; }
.form-row--full { grid-column: 1 / -1; }

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}
.optional { font-weight: 400; color: var(--muted-dim); }
.form-hint {
  margin: -2px 0 0;
  color: var(--muted-dim);
  font-size: 0.78rem;
  line-height: 1.4;
}

input[type="text"],
input[type="email"],
select,
textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
input::placeholder, textarea::placeholder { color: var(--muted-dim); }

input:focus, select:focus, textarea:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

textarea { resize: vertical; min-height: 120px; font-family: var(--sans); }

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9a9a' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
select option { background: #111; color: var(--fg); }

.confirm-row { margin-top: 4px; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}
.checkbox input {
  margin-top: 3px;
  width: 16px; height: 16px;
  accent-color: #ffffff;
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-note { color: var(--muted-dim); font-size: 0.85rem; margin: 0; }

.form-success, .form-error {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
}
.form-success .eyebrow, .form-success h3, .form-success p,
.form-error .eyebrow, .form-error h3, .form-error p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */

.footer {
  text-align: center;
  padding: 48px 24px 60px;
  color: var(--muted-dim);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-visual { width: 100%; max-width: 320px; margin: 0 auto; }
  .card-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .idea-form { grid-template-columns: 1fr; padding: 30px; }
  .section { padding: 80px 20px; }
  .about-bg { padding: 40px; min-height: auto; }
  .about-bottom-row { flex-direction: column; align-items: flex-start; }
  .about-card { max-width: none; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(10,10,10,0.9);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero { padding-top: 110px; padding-bottom: 60px; }
  .hero-secondary { bottom: 40px; }
}
