:root {
  --bg: #131209;
  --core: #1A1810;
  --line: rgba(255, 240, 220, 0.09);
  --line-2: rgba(255, 240, 220, 0.16);
  --text: #F4EFE6;
  --muted: #A39C8F;
  --gold: #E3A857;
  --gold-hi: #F3D29A;
  --error: #F09595;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 96px;
  /* one left edge for every block: content column max 1152px, centered */
  --edge: max(var(--gutter), calc((100vw - 1152px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 24px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* film grain: fixed, never scrolls, never catches clicks */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
main { position: relative; z-index: 0; overflow-x: clip; }
main:focus { outline: none; }
.nw { white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: 16px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 8px 16px; border-radius: 9999px;
  font-weight: 600; text-decoration: none; transform: translateY(-200%); transition: transform 300ms var(--ease);
}
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Buttons: pill with the icon in its own bubble */
.btn-primary {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 24px; border: 0; border-radius: 9999px; cursor: pointer;
  background: var(--text); color: var(--bg); font: inherit; font-weight: 600; text-decoration: none;
  transition: transform 500ms var(--ease), background-color 300ms var(--ease);
}
.btn-bubble {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 9999px; background: var(--bg); color: var(--gold); font-size: 20px;
  transition: transform 500ms var(--ease);
}
.btn-primary:hover { background: #FFFFFF; }
.btn-primary:hover .btn-bubble { transform: translate(2px, -2px) scale(1.05); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 9999px;
  border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-weight: 500;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease);
}
.btn-ghost .ph-light { font-size: 20px; color: var(--gold); }
.btn-ghost:hover { background: rgba(255, 240, 220, 0.06); border-color: rgba(227, 168, 87, 0.5); }
.btn-ghost:active { transform: scale(0.98); }

/* Nav: floating glass island */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 32px;
  padding: 8px 8px 8px 24px; border-radius: 9999px;
  border: 1px solid var(--line-2); background: rgba(26, 24, 16, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 240, 220, 0.06);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.nav-brand { font-family: var(--serif); font-size: 24px; line-height: 32px; text-decoration: none; }
.nav-brand em { color: var(--gold); }
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: none; transition: color 300ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--text); }
.nav-links a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }
.nav-cta {
  font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none;
  padding: 8px 16px; border-radius: 9999px; background: var(--text); color: var(--bg);
  transition: background-color 300ms var(--ease);
}
.nav-cta:hover { background: #FFFFFF; }
.nav-toggle { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 9999px; background: transparent; cursor: pointer; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform 500ms var(--ease); }
.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; padding: 112px 24px 48px;
  background: rgba(19, 18, 9, 0.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mobile-menu a { font-family: var(--serif); font-size: 48px; line-height: 1; text-decoration: none; }
.mobile-menu li:last-child a { color: var(--gold); font-style: italic; }
.mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 128px var(--edge) 192px; overflow: hidden; }
.hero-photo {
  position: absolute; top: 0; right: 0; height: 100%; width: 60%;
  object-fit: cover; object-position: 74% 30%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%), linear-gradient(to top, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 35%), linear-gradient(to top, transparent 0%, #000 30%);
  mask-composite: intersect;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; color: var(--muted); margin-bottom: 24px; }
.pill { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--line-2); border-radius: 9999px; background: rgba(255, 240, 220, 0.04); }
.pill a {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9999px;
  font-size: 18px; text-decoration: none; color: var(--text); transition: background-color 300ms var(--ease);
}
.pill a:hover { background: rgba(255, 240, 220, 0.1); }
.hero h1 { font-family: var(--serif); font-size: 96px; line-height: 0.95; letter-spacing: -0.02em; }
.hero h1 .line { display: block; padding-bottom: 0.08em; }
.gold em, .display em, .call-title em {
  font-style: italic;
  background-image: linear-gradient(90deg, var(--gold-hi), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.08em; /* italic overhang stays inside the clipped box */
}
.hero-sub { margin-top: 32px; max-width: 520px; font-size: 18px; line-height: 28px; color: #CFC8BB; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* The signature: the name runs across the bottom of the hero, over the photo */
.marquee { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 1; overflow: hidden; pointer-events: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { flex: none; font-family: var(--serif); font-size: 160px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; color: rgba(244, 239, 230, 0.9); }
/* shortcut: linear is right for an endless ticker (eased loops visibly pause at the seam) */
@keyframes marquee { to { transform: translateX(-50%); } }

/* Hero entrance (only when JS runs) */
.js .hero-photo { opacity: 0; transform: scale(1.06); transition: opacity 1400ms var(--ease), transform 1800ms var(--ease); }
.js .enter { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
.js .enter.pop { transform: scale(0.6); }
.is-loaded .hero-photo, .is-loaded .enter, .is-loaded .enter.pop { opacity: 1; transform: none; }
.is-loaded .pill a.enter { transition: opacity 800ms var(--ease) var(--d), transform 300ms var(--ease), background-color 300ms var(--ease); }

/* Proof strip right under the hero */
.proof { margin: 0 var(--edge); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-row { display: flex; align-items: center; justify-content: center; gap: 48px; padding: 32px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.proof-label { font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.proof-marks { list-style: none; margin: 0; padding: 0; display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.proof-marks a { font-family: var(--serif); font-size: 36px; line-height: 40px; text-decoration: none; color: var(--muted); transition: color 300ms var(--ease); }
.proof-marks a:hover { color: var(--gold-hi); }
.trust { list-style: none; margin: 0; padding: 24px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust li { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.trust .ph-light { font-size: 24px; color: var(--gold); flex: none; }
.trust b { color: var(--text); font-weight: 600; }

/* Sections: centered serif title, then content */
.section { position: relative; padding: 128px var(--edge); }
.display { font-family: var(--serif); font-size: 72px; line-height: 1; letter-spacing: -0.02em; max-width: 880px; margin: 0 auto; text-align: center; }
.section-note { margin: 32px auto 0; max-width: 640px; text-align: center; color: var(--muted); }
.section-note a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 4px; }
/* warm light leaking into the dark, like the hero photo */
#lucrari::before, .contact-section::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 168, 87, 0.10), transparent);
}
#lucrari::before { right: -300px; top: 0; }
.contact-section::before { left: 50%; bottom: -300px; transform: translateX(-50%); }

/* The one card: a dark plate in a hairline tray, used everywhere */
.card {
  display: block; padding: 6px; border-radius: 24px; border: 1px solid var(--line-2); background: rgba(255, 240, 220, 0.03);
  text-decoration: none; color: inherit; transition: transform 500ms var(--ease), border-color 300ms var(--ease);
}
.card-core {
  height: 100%; display: flex; flex-direction: column; padding: 24px; border-radius: 18px;
  background: var(--core); box-shadow: inset 0 1px 1px rgba(255, 240, 220, 0.08);
}
a.card:hover, .cards-4 .card:hover { transform: translateY(-6px); border-color: rgba(227, 168, 87, 0.45); }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-n { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 28px; color: var(--muted); transition: color 300ms var(--ease); }
.card:hover .card-n { color: var(--gold); }
.card-tag { font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin-top: 16px; font-family: var(--serif); font-size: 30px; line-height: 36px; }
.card-desc { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 20px; }
.card-gold { border-color: rgba(227, 168, 87, 0.45); }
.card-gold h3 { color: var(--gold-hi); }

.cards-4 { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* Prices inside cards */
.offer-price { margin-top: 24px; font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--gold-hi); }
.offer-cta { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--text); }
.offer-cta .ph-light { color: var(--gold); transition: transform 300ms var(--ease); }
.offer-cta:hover .ph-light { transform: translateX(4px); }

/* Works: bento of the same cards, the newest product big */
.works { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: auto auto; gap: 16px; }
.work-big { grid-row: span 2; }
.work .card-core { padding: 8px 8px 24px; }
.work img { width: 100%; height: auto; border-radius: 12px; }
.work-big .card-core { height: 100%; }
.work-big img { flex: 1; min-height: 0; height: 100%; object-fit: cover; object-position: left top; }
.work-text { display: block; padding: 16px 16px 0; }
.work-name { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--serif); font-size: 36px; line-height: 40px; }
.work-big .work-name { font-size: 48px; line-height: 1; }
.work-name .ph-light { font-size: 24px; color: var(--gold); transition: transform 300ms var(--ease); }
.work:hover .work-name .ph-light { transform: translate(2px, -2px); }

/* Tagline: words light up one by one while scrolling */
.tagline-section { padding: 96px var(--edge); }
.tagline { max-width: 900px; margin: 0 auto; text-align: center; font-family: var(--serif); font-size: 72px; line-height: 1; letter-spacing: -0.02em; }
.js .tagline .w { opacity: 0.22; transition: opacity 600ms var(--ease); }
.js .tagline .w.on { opacity: 1; }

/* FAQ next to the 15-minute call card */
.faq-wrap { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.faq { margin: 0; border-top: 1px solid var(--line); }
.faq > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--serif); font-size: 30px; line-height: 36px; }
.faq dd { margin: 8px 0 0; color: var(--muted); }
.call-card { position: sticky; top: 112px; }
.call-card .card-core { padding: 32px; gap: 16px; }
.call-title { font-family: var(--serif); font-size: 48px; line-height: 1; }
.call-card .btn-primary { align-self: flex-start; margin-top: 8px; }
.call-mail { font-size: 14px; line-height: 20px; color: var(--muted); text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.call-mail:hover { color: var(--text); }

/* Contact */
.display.huge { font-size: 128px; }
.contact-lead { margin: 24px auto 0; max-width: 560px; text-align: center; font-size: 18px; line-height: 28px; color: var(--muted); }
.contact-card { max-width: 820px; margin: 64px auto 0; }
.contact-form { padding: 40px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 20px; line-height: 28px; color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 12px 0; transition: border-color 300ms var(--ease);
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5E594F; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--gold); }
.field [aria-invalid="true"], .field [aria-invalid="true"]:focus-visible { border-color: var(--error); }
.field-error { min-height: 20px; margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--error); }
.form-foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.contact-status { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--muted); min-height: 20px; }
.socials { display: flex; gap: 8px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 9999px;
  border: 1px solid var(--line-2); font-size: 20px; text-decoration: none; transition: background-color 300ms var(--ease);
}
.socials a:hover { background: rgba(255, 240, 220, 0.08); }

/* Floating WhatsApp, gold to match the page */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 56px; height: 56px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  background: var(--gold); color: var(--bg); font-size: 28px;
  box-shadow: 0 16px 40px -12px rgba(227, 168, 87, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transition: transform 500ms var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); }
.wa-float:active { transform: scale(0.96); }

/* Footer */
.footer {
  margin: 0 var(--edge); padding: 48px 0; display: flex; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 20px;
}
.footer-top { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.footer-top:hover { color: var(--text); }

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero h1 { font-size: 72px; }
  .display, .tagline { font-size: 60px; }
  .display.huge { font-size: 96px; }
  .marquee span { font-size: 128px; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li { justify-content: flex-start; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav { gap: 16px; width: 100%; justify-content: space-between; }
  .hero { flex-direction: column; align-items: stretch; padding: 0 var(--gutter) 112px; min-height: 0; }
  .hero-photo {
    position: relative; width: calc(100% + 48px); max-width: none; height: 64svh; margin: 0 -24px; object-position: 74% 25%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 45%); mask-image: linear-gradient(to top, transparent 0%, #000 45%);
  }
  .hero-content { margin-top: -120px; }
  .hero h1 { font-size: 60px; }
  .marquee { bottom: 16px; }
  .marquee span { font-size: 72px; }
  .section { padding: 96px var(--gutter); }
  .display, .tagline { font-size: 48px; }
  .display.huge { font-size: 72px; }
  .proof-row { gap: 16px; }
  .proof-marks { gap: 24px; }
  .proof-marks a { font-size: 30px; line-height: 36px; }
  .works { grid-template-columns: minmax(0, 1fr); }
  .work-big { grid-row: auto; }
  .work-big .work-name { font-size: 36px; line-height: 40px; }
  .cards-4 { grid-template-columns: minmax(0, 1fr); }
  .offer-price { font-size: 48px; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .call-card { position: static; }
  .faq dt { font-size: 24px; line-height: 32px; }
  .contact-form { padding: 24px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .wa-float { right: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 48px; }
  .trust { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero-actions .btn-primary { width: 100%; justify-content: space-between; }
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .call-title { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-property: opacity, color, background-color, border-color !important; }
  .marquee-track { animation: none; }
  .js .reveal, .mobile-menu li, .js .hero-photo, .js .enter, .js .enter.pop { transform: none !important; }
  a:hover, a:active, button:active, a:hover .btn-bubble, button:hover .btn-bubble, .cards-4 .card:hover { transform: none !important; }
}

/* Legal pages: one readable column in the same look */
.legal-bar { max-width: 720px; margin: 0 auto; padding: 32px 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: none; }
.legal-back:hover { color: var(--text); }
.legal { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.legal .display { text-align: left; margin: 0; font-size: 60px; }
.legal-updated { margin-top: 16px; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legal h2 { margin-top: 48px; font-family: var(--serif); font-size: 30px; line-height: 36px; }
.legal p, .legal li { margin-top: 12px; color: #CFC8BB; font-size: 18px; line-height: 28px; }
.legal ul { margin: 0; padding-left: 24px; }
.legal b { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.not-found { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.not-found .btn-primary { color: var(--bg); text-decoration: none; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.form-legal { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.form-legal a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (max-width: 900px) { .legal .display { font-size: 48px; } .footer { flex-wrap: wrap; } }
