/* Decision Design — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --black:    #0C0B09;
  --charcoal: #161410;
  --surface:  #1C1A16;
  --border:   #2A2620;
  --muted:    #5C5648;
  --body:     #A09880;
  --heading:  #EDE8DF;
  --white:    #F5F1EA;
  --gold:     #C9A84C;
  --gold-dim: #8A6B2A;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: 48px;
}

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

html, body { background: var(--black); }

/* Subtle textured atmosphere on dark surfaces ---------------------------- */
html::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(201, 168, 76, 0.045), transparent 60%),
    radial-gradient(900px 600px at 95% 110%, rgba(201, 168, 76, 0.03), transparent 65%),
    radial-gradient(1400px 900px at 50% 50%, rgba(245, 241, 234, 0.012), transparent 70%);
}

html::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.93  0 0 0 0 0.86  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

body > * { position: relative; z-index: 2; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold-dim); color: var(--white); }

/* Typography ------------------------------------------------------------ */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.012em;
}

h1 {
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--white);
  font-weight: 400;
}

h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  color: var(--heading);
  letter-spacing: -0.014em;
  font-weight: 400;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  color: var(--heading);
}

em, .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--white);
}

p { color: var(--body); max-width: 60ch; }

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

.eyebrow, .label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.note-italic {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.005em;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.section {
  padding: 160px 0;
  position: relative;
}

.section--tight { padding: 120px 0; }
.section--hero { padding: 200px 0 160px; }

.surface {
  background:
    radial-gradient(1200px 600px at 70% 0%, rgba(201, 168, 76, 0.025), transparent 60%),
    linear-gradient(180deg, #181510 0%, #161410 50%, #141108 100%);
}

.surface-2 { background: var(--surface); }

/* Plain dark sections get a faint vertical fade for depth */
.section:not(.surface):not(.pullquote):not(.closing-cta) {
  background: linear-gradient(180deg, rgba(245,241,234,0.012) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.25) 100%);
}

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  width: 100%;
}

.hairline {
  display: block;
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  margin-bottom: 28px;
}

.hairline--solid {
  background: var(--gold);
  width: 36px;
  margin-bottom: 28px;
}

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

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 26px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 11, 9, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav__brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  color: var(--heading);
  letter-spacing: 0.005em;
}

.nav__brand .slash { color: var(--muted); margin: 0 6px; font-style: italic; }

.nav__links {
  display: flex;
  gap: 38px;
  align-items: center;
}

.nav__link {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms ease;
}

.nav__link:hover, .nav__link.is-active { color: var(--body); }

.nav__lang {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav__lang button {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--muted);
  transition: color 200ms ease;
}

.nav__lang button.is-active { color: var(--white); }
.nav__lang .sep { color: var(--muted); }

.nav__menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--body);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav { padding: 20px 24px; }
  .nav__links { display: none; }
  .nav__menu-toggle { display: inline-block; }
  :root { --gutter: 24px; }
  .section { padding: 110px 0; }
  .section--hero { padding: 140px 0 110px; }
}

/* Mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 28px 24px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__close-row { display: flex; justify-content: flex-end; margin-bottom: 80px; }
.mobile-nav__links { display: flex; flex-direction: column; gap: 28px; }
.mobile-nav__link {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 36px;
  color: var(--heading);
}
.mobile-nav__link.is-active { color: var(--white); }
.mobile-nav__lang { margin-top: auto; padding-top: 40px; border-top: 1px solid var(--border); }

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

.hero {
  padding: 220px 0 160px;
  position: relative;
}

.hero__eyebrow { margin-bottom: 32px; }

.hero h1 { max-width: 18ch; margin-bottom: 48px; }

.hero__lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  max-width: 520px;
  margin-bottom: 48px;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .hero { padding: 140px 0 100px; }
  .hero h1 { margin-bottom: 32px; }
}

/* CTA links ------------------------------------------------------------- */

.cta {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding-bottom: 6px;
}

.cta::after {
  content: '';
  position: absolute;
  left: 0; right: 28px;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  transition: opacity 200ms ease, right 280ms ease;
}

.cta:hover::after { opacity: 1; right: 0; }

.cta__arrow {
  display: inline-block;
  transition: transform 280ms ease;
  color: var(--gold);
  font-weight: 300;
}

.cta:hover .cta__arrow { transform: translateX(4px); }

.cta--small { font-size: 11px; letter-spacing: 0.14em; }

.link-ghost {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body);
  transition: color 200ms ease;
}
.link-ghost:hover { color: var(--gold); }

/* Section header pattern ------------------------------------------------ */

.section__head {
  margin-bottom: 80px;
  max-width: 760px;
}

.section__head .label { margin-bottom: 32px; }

.section__head h2 { max-width: 22ch; }

/* Body type */
.prose p { margin-bottom: 1.4em; max-width: 64ch; font-size: 16px; line-height: 1.75; }
.prose p:last-child { margin-bottom: 0; }
.prose em { color: var(--white); }

.lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  max-width: 60ch;
}

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

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards-3 .card {
  padding: 64px 48px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: transparent;
  position: relative;
  min-height: 420px;
}
.cards-3 .card:last-child { border-right: 0; }

.card__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.012em;
}

.card p { color: var(--body); font-size: 15px; line-height: 1.7; flex: 1; }

.card__cta { margin-top: 8px; }

@media (max-width: 880px) {
  .cards-3 { grid-template-columns: 1fr; }
  .cards-3 .card { border-right: 0; border-bottom: 1px solid var(--border); padding: 56px 0; min-height: auto; }
  .cards-3 .card:last-child { border-bottom: 0; }
}

/* Services list (vertical) --------------------------------------------- */

.services {
  border-top: 1px solid var(--border);
}

.service {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--gold);
  padding-top: 6px;
  letter-spacing: 0.04em;
}

.service__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.012em;
}

.service__body p { color: var(--body); font-size: 15px; line-height: 1.7; max-width: 60ch; }

.service__meta {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 12px;
  text-align: right;
}

.service__meta .price {
  display: block;
  color: var(--heading);
  font-weight: 400;
  font-style: normal;
  margin-bottom: 10px;
}

.service__meta .invitation {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.005em;
  color: var(--muted);
}

.service__cta { margin-top: 24px; }

@media (max-width: 880px) {
  .service { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .service__meta { text-align: left; padding-top: 0; }
}

/* Two-column compare ---------------------------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.two-col__item {
  padding: 64px 56px 64px 0;
  border-right: 1px solid var(--border);
}
.two-col__item:last-child { padding-left: 56px; padding-right: 0; border-right: 0; }

.two-col__item h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.two-col__item ul { list-style: none; padding: 0; }
.two-col__item li {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--heading);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.two-col__item li:last-child { border-bottom: 0; }

.two-col__item .closing {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--white);
}

@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col__item { padding: 48px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .two-col__item:last-child { padding-left: 0; border-bottom: 0; }
}

/* Pull quote ------------------------------------------------------------ */

.pullquote {
  text-align: center;
  padding: 180px 0;
  background:
    radial-gradient(900px 500px at 50% 50%, rgba(201, 168, 76, 0.04), transparent 65%),
    linear-gradient(180deg, #181510 0%, #161410 50%, #141108 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.pullquote::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.pullquote__text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.18;
  color: var(--white);
  max-width: 22ch;
  margin: 0 auto;
  letter-spacing: -0.012em;
}

.pullquote__attribution {
  display: block;
  margin-top: 48px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 880px) {
  .pullquote { padding: 110px 0; }
  .pullquote::before { top: 50px; }
}

/* Two col text body (about, etc) ---------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.split__label .label { display: block; }
.split__label h2 { margin-top: 24px; max-width: 16ch; }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* Closing CTA section --------------------------------------------------- */

.closing-cta {
  padding: 200px 0;
  text-align: left;
  background:
    radial-gradient(800px 500px at 0% 100%, rgba(201, 168, 76, 0.025), transparent 65%),
    linear-gradient(180deg, #0C0B09 0%, #100E0B 100%);
  border-top: 1px solid var(--border);
}

.closing-cta h2 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 56px;
  color: var(--white);
}

@media (max-width: 880px) {
  .closing-cta { padding: 120px 0; }
}

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

.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 56px;
  background: linear-gradient(180deg, #0C0B09 0%, #08070500 100%);
}

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  color: var(--heading);
  margin-bottom: 16px;
}

.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  max-width: 28ch;
}

.footer__col h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--body);
  letter-spacing: 0.005em;
  transition: color 200ms ease;
}
.footer__col a:hover { color: var(--gold); }

.footer__legal {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--muted);
}

/* Hero side meta -------------------------------------------------------- */

.hero__meta {
  position: absolute;
  right: var(--gutter);
  top: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  text-align: right;
}
.hero__meta-line {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta-line.is-gold { color: var(--gold); }
.hero__meta-line .num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--heading);
  margin-left: 12px;
}

@media (max-width: 1100px) { .hero__meta { display: none; } }

/* Reveal-on-scroll ------------------------------------------------------ */

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 1100ms ease, transform 1100ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-pending { opacity: 0; transform: translateY(14px); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Language visibility --------------------------------------------------- */
[data-lang]:not([data-lang=""]) { display: none; }
html[lang="en"] [data-lang="en"] { display: revert; }
html[lang="hu"] [data-lang="hu"] { display: revert; }

html[lang="en"] .nav__lang [data-set="en"],
html[lang="hu"] .nav__lang [data-set="hu"] { color: var(--white); }

/* Specific overrides for inline blocks where revert is problematic */
[data-lang-block] { display: none; }
html[lang="en"] [data-lang-block="en"] { display: block; }
html[lang="hu"] [data-lang-block="hu"] { display: block; }

[data-lang-inline] { display: none; }
html[lang="en"] [data-lang-inline="en"] { display: inline; }
html[lang="hu"] [data-lang-inline="hu"] { display: inline; }

/* Page-side index marker ------------------------------------------------ */
.page-marker {
  position: fixed;
  left: var(--gutter);
  bottom: 32px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  z-index: 10;
  pointer-events: none;
}
.page-marker .num { color: var(--gold); margin-right: 10px; }
@media (max-width: 880px) { .page-marker { display: none; } }
