/* Homepage. Editorial "letter on the table" direction: paper, indigo ink, embroidery red; one orchestrated load moment. */
:root { --band: #1B2340; --band-ink: #F7F3EA; --band-muted: #B9BDD0; --paper-shadow: 0 2px 4px rgba(27,35,64,.06), 0 18px 40px -12px rgba(27,35,64,.28) }
body { overflow-x: clip }
.home { display: grid; gap: 0 }
.home h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.015em; line-height: 1.08 }
.home h2 em, .home h1 em { font-style: italic; color: var(--red); font-weight: 600 }
.h-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red) }
.h-kicker::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url(/assets/stitch.svg) center / contain no-repeat; mask: url(/assets/stitch.svg) center / contain no-repeat }
.h-kicker.light { color: #F2A7B4 }

/* ---------------- hero (owner: idea 2 as the centre image) */
.h-hero { position: relative; display: grid; gap: 30px; justify-items: center; text-align: center; padding-block: 52px 10px; isolation: isolate }
.h-hero::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: linear-gradient(to bottom, rgba(247,243,234,.82), var(--linen) 78%), url(/assets/photos/transfagarasan.webp) center 30% / cover no-repeat; opacity: .55 }
.h-hero-copy { display: grid; gap: 20px; justify-items: center; max-width: 52rem }
.h-hero h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: 1.02; letter-spacing: -.025em; font-weight: 700 }
.h-lead { font-size: 1.18rem; color: var(--muted); max-width: 38rem }
.h-ctas { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: center }
.h-cta { width: auto; padding: 16px 28px; font-size: 1.1rem; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(179,18,46,.6) }
.h-cta:hover { transform: translateY(-1px) }
.h-alt { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px }
.h-alt:hover { border-color: var(--red) }
.h-legal { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink) }
.h-reassure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: .95rem; color: var(--muted) }
.h-reassure li { display: inline-flex; gap: 8px; align-items: center }
.h-reassure li::before { content: ""; width: 9px; height: 9px; background: var(--ok); -webkit-mask: url(/assets/stitch.svg) center / contain no-repeat; mask: url(/assets/stitch.svg) center / contain no-repeat }
.h-reassure li.h-who::before { content: none }
.h-who img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--line) }
.h-scape { position: relative; width: 100%; margin-top: 8px }
.h-scape svg { display: block; width: 100%; height: auto; overflow: visible }
.h-scape .ink, .h-scape .red, .h-scape .thread, .h-scape .ground { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round }
.h-scape .ink { stroke: var(--ink) } .h-scape .red { stroke: var(--red) } .h-scape .ground { stroke: var(--ink); stroke-width: 2 }
.h-scape .thread { stroke: var(--red); stroke-dasharray: 7 6 }
.h-chip { position: absolute; left: 50%; top: 4%; transform: translateX(-50%) rotate(-1.5deg); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; box-shadow: var(--paper-shadow); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; align-items: baseline; font-size: .95rem; max-width: 92% }
.h-chip-brand { font-family: var(--display); font-weight: 700; color: var(--red) }
a.h-chip { color: var(--ink); text-decoration: none; transition: box-shadow .2s }
a.h-chip:hover { box-shadow: 0 22px 44px -14px rgba(27,35,64,.38) }
.h-chip-go { font-weight: 700; color: var(--red); white-space: nowrap }
.h-deadline { font-family: var(--display); color: var(--red); font-size: 1.2rem }

@media (prefers-reduced-motion: no-preference) {
  .h-hero-copy > * { animation: h-rise .7s cubic-bezier(.2,.7,.2,1) both }
  .h-hero-copy > *:nth-child(2) { animation-delay: .06s } .h-hero-copy > *:nth-child(3) { animation-delay: .12s }
  .h-hero-copy > *:nth-child(4) { animation-delay: .18s } .h-hero-copy > *:nth-child(5) { animation-delay: .24s }
  .h-chip { animation: h-chip .8s .35s cubic-bezier(.2,.7,.2,1) both }
  .h-scape .thread { animation: h-dash 1.4s .5s linear both }
  .h-cta { transition: transform .15s, box-shadow .15s }
}
@keyframes h-rise { from { transform: translateY(14px) } to { transform: none } }
@keyframes h-chip { from { transform: translateX(-50%) translateY(14px) rotate(-1.5deg) } to { transform: translateX(-50%) rotate(-1.5deg) } }
@keyframes h-dash { from { stroke-dashoffset: 260 } to { stroke-dashoffset: 0 } }

/* ---------------- embroidered divider */
.h-stitch { height: 16px; background: var(--red); opacity: .55; -webkit-mask: url(/assets/stitch.svg) left center / 16px 16px repeat-x; mask: url(/assets/stitch.svg) left center / 16px 16px repeat-x; margin-block: 8px }

/* ---------------- steps */
.h-steps { padding-block: 56px 64px; display: grid; gap: 28px }
.h-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: s }
.h-steps li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink) }
.h-steps .n { font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: .9; color: var(--red) }
.h-steps h3 { font-size: 1.3rem }
.h-steps p { color: var(--muted) }

/* ---------------- price band (full bleed, same in both themes) */
.h-band { margin-inline: calc(50% - 50vw); background: linear-gradient(rgba(27,35,64,.9), rgba(27,35,64,.94)), url(/assets/photos/carpati-vale.webp) center / cover no-repeat, var(--band); color: var(--band-ink); padding: 72px max(16px, calc(50vw - 520px)); position: relative; overflow: hidden }
.h-band::after { content: ""; position: absolute; inset: auto -40px -40px auto; width: 260px; height: 260px; background: #B3122E; opacity: .16; -webkit-mask: url(/assets/stitch.svg) center / contain no-repeat; mask: url(/assets/stitch.svg) center / contain no-repeat }
.h-band-in { display: grid; gap: 32px; position: relative; z-index: 1 }
.h-band h2 { color: var(--band-ink) }
.h-band-head { display: grid; gap: 10px }
.h-ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end }
.h-ladder li { background: rgba(247,243,234,.06); border: 1px solid rgba(247,243,234,.16); border-radius: 16px; padding: 18px; display: grid; gap: 6px; align-content: start }
.h-ladder .s1 { min-height: 150px } .h-ladder .s2 { min-height: 190px } .h-ladder .s3 { min-height: 170px }
.h-ladder .s4 { min-height: 230px; background: var(--band-ink); color: var(--band); border-color: transparent }
.h-ladder .pr { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1 }
.h-ladder .s1 .pr { color: #8FD3AE }
.h-ladder b { font-size: 1.05rem }
.h-ladder li > span:last-child { font-size: .92rem; color: var(--band-muted) }
.h-ladder .s4 > span:last-child { color: #4A5170 }
.h-band-note { color: var(--band-muted); font-size: .95rem; max-width: 46rem }
.h-band-note a { color: var(--band-ink) }

/* ---------------- why */
.h-diff { padding-block: 72px 40px; display: grid; gap: 32px }
.h-diff-head { display: grid; gap: 10px; max-width: 40rem }
.h-vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: 22px; overflow: hidden; border: 1px solid var(--line) }
.h-vs-col { padding: 26px 28px; display: grid; gap: 14px; align-content: start; background: var(--surface) }
.h-vs-col.dim { background: transparent; color: var(--muted) }
.h-vs-col h3 { font-size: 1.15rem }
.h-vs-col:not(.dim) h3 { color: var(--red) }
.h-vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px }
.h-vs-col li { padding-left: 26px; position: relative; line-height: 1.45 }
.h-vs-col li::before { content: ""; position: absolute; left: 0; top: .3em; width: 13px; height: 13px; border-radius: 50%; border: 2px solid currentColor; opacity: .5 }
.h-vs-col:not(.dim) li { font-weight: 600 }
.h-vs-col:not(.dim) li::before { border: 0; border-radius: 0; opacity: 1; background: var(--red); -webkit-mask: url(/assets/stitch.svg) center / contain no-repeat; mask: url(/assets/stitch.svg) center / contain no-repeat }
.h-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px }
.h-points li { display: grid; gap: 8px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 20px }
.h-points li::before { content: ""; width: 18px; height: 18px; background: var(--red); -webkit-mask: url(/assets/stitch.svg) center / contain no-repeat; mask: url(/assets/stitch.svg) center / contain no-repeat }
.h-points h3 { font-size: 1.02rem; font-family: var(--body); font-weight: 700 }
.h-points p { color: var(--muted); font-size: .95rem; line-height: 1.5 }

/* ---------------- example */
.h-example { padding-block: 32px }
.h-example-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 28px; align-items: center; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 36px; transition: transform .2s, box-shadow .2s }
.h-example-card:hover { transform: translateY(-2px); box-shadow: var(--paper-shadow) }
.h-example-card p { color: var(--muted) }
.h-link { font-weight: 700; color: var(--red) }
.h-mini { justify-self: center; width: 150px; aspect-ratio: 3 / 4; background: var(--paper); border-radius: 4px; box-shadow: var(--paper-shadow); transform: rotate(5deg); padding: 16px 14px; display: grid; gap: 8px; align-content: start }
.h-mini i { display: block; height: 6px; border-radius: 3px; background: #E6E2D8 }
.h-mini b { font-family: var(--display); color: var(--red); font-size: 1.3rem }

/* ---------------- letter types */
.h-types { padding-block: 48px; display: grid; gap: 20px }
.h-env { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr)); gap: 10px }
.h-env li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 30px 14px 14px; display: grid; gap: 4px; font-weight: 600; line-height: 1.3; overflow: hidden }
.h-env li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: linear-gradient(to bottom right, transparent 49%, var(--line) 50%, transparent 51%), linear-gradient(to bottom left, transparent 49%, var(--line) 50%, transparent 51%); background-size: 50% 100%; background-position: left, right; background-repeat: no-repeat }
.h-env small, .h-badge { justify-self: start; align-self: start; font-weight: 700; font-size: .74rem; color: var(--red); background: var(--red-soft); border-radius: 999px; padding: 2px 9px; letter-spacing: .01em }

/* ---------------- final */
.h-final { margin-top: 24px; padding: 64px 24px; border-radius: 28px; text-align: center; display: grid; gap: 18px; justify-items: center; background: linear-gradient(rgba(247,243,234,.86), rgba(246,227,229,.9)), url(/assets/photos/biertan.webp) center / cover no-repeat; overflow: hidden }
.h-final h2 { font-size: clamp(1.8rem, 4vw, 2.8rem) }
.h-final .small { color: var(--muted); max-width: 40rem }

/* ---------------- responsive */
@media (max-width: 900px) {
  .h-hero { padding-block: 32px 4px; gap: 22px }
  .h-points { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .h-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .h-ladder li { min-height: 0 !important }
}
@media (max-width: 600px) {
  .h-chip { position: static; transform: none; margin: 0 auto 10px; animation: none }
  .h-steps ol, .h-vs, .h-points, .h-example-card { grid-template-columns: minmax(0, 1fr) }
  .h-ladder { grid-template-columns: minmax(0, 1fr) }
  .h-mini { display: none }
  .h-example-card { padding: 24px }
  .h-band { padding-block: 52px }
}
