/* Eva Birsa – osebna znamka in AI seznam zainteresiranih
   Smer: Modern Editorial + Creative Digital Studio.
   Brez zunanjih pisav in sledilnikov. Sistemske pisave. */

:root {
  --ivory: #F9F5F0;       /* glavno ozadje */
  --blush: #F3D9DF;       /* rožnati poudarki in sekcije */
  --blue: #D5E8F2;        /* kontrastne pastelne sekcije */
  --lilac: #DCC8E5;       /* manjši dekorativni elementi */
  --plum: #39313A;        /* naslovi, besedilo, gumbi */
  --plum-soft: #5A4F5B;   /* sekundarno besedilo (7,2:1 na ivory) */
  --hair: rgba(57, 49, 58, .28);
  --field: #FFFDFB;
  --error: #8B2A3B;
  --ok: #2F6B4A;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn span { transition: none !important; } }

body {
  margin: 0; background: var(--ivory); color: var(--plum);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--plum); outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--plum); color: var(--ivory); padding: 10px 14px; border-radius: 8px;
  z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Demo opozorilo (vidno samo, dokler Brevo ni nastavljen) */
.demo-banner {
  background: var(--lilac); color: var(--plum); border-bottom: 1px solid var(--plum);
  padding: 10px 20px; text-align: center; font-size: 14px;
}
.demo-banner[hidden] { display: none; }

/* Glava */
.site-header { border-bottom: 1px solid var(--hair); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; gap: 16px; }
.mark { font-weight: 600; letter-spacing: .22em; font-size: 12.5px; text-decoration: none; }
.site-header nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.nav-cta { border: 1px solid var(--plum); border-radius: 999px; padding: 7px 16px; }

/* Skupni elementi */
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  text-transform: uppercase; letter-spacing: .22em; font-size: 11.5px; font-weight: 700;
}
.eyebrow::before { content: ""; width: 36px; flex: 0 0 auto; border-top: 1px solid var(--plum); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 { font-size: clamp(44px, 12vw, 92px); line-height: 1; letter-spacing: -.035em; margin-bottom: 28px; }
h1 em { font-style: italic; letter-spacing: -.03em; }
h2 { font-size: clamp(32px, 6vw, 56px); line-height: 1.06; letter-spacing: -.025em; }
.h1-line { display: block; }
.muted { color: var(--plum-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none;
  background: var(--plum); color: var(--ivory); border: 0; border-radius: 999px; cursor: pointer;
  padding: 16px 28px; font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2;
}
.btn span { font-family: var(--serif); font-size: 20px; line-height: 1; transition: transform .2s; }
.btn:hover span { transform: translateX(4px); }
.btn:hover { background: #2A232B; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-submit { width: 100%; margin-top: 10px; }

/* Hero */
.hero { position: relative; overflow-x: clip; padding: 44px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.hero-head { margin-bottom: 8px; order: 1; }
.hero-body { margin-top: 56px; order: 3; }
.intro { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.42; max-width: 31em; margin: 0 0 16px; }
.intro-sub { color: var(--plum-soft); max-width: 34em; margin: 0 0 32px; font-size: 16.5px; }
.hero-note { color: var(--plum-soft); font-size: 14px; margin: 14px 0 0; }

/* Portret: lok, lila krog in tanek zamaknjen okvir */
.portrait-wrap { order: 2; position: relative; width: 72%; margin: 34px 3% 0 auto; }
.portrait-wrap::before {
  content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: var(--lilac); left: -22%; bottom: -9%; z-index: 0;
}
.portrait-wrap::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--plum); border-radius: 999px 999px 26px 26px; z-index: 0;
}
.portrait {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 26px 26px;
  background: linear-gradient(170deg, var(--blush) 0%, #EBD0DC 55%, var(--lilac) 100%);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Trak področij */
.ticker { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.ticker .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 16px; padding-bottom: 16px;
  font-family: var(--serif); font-style: italic; font-size: 19px; }
.ticker .dot { opacity: .5; }

/* Področja (blush) */
.areas { background: var(--blush); padding: 76px 0 84px; position: relative; }
.areas::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px;
  background: linear-gradient(to bottom, var(--ivory), rgba(249, 245, 240, 0)); pointer-events: none;
}
.areas .wrap { position: relative; }
.section-label { margin-bottom: 34px; }
.area-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--plum); }
.area { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 26px 0 28px; border-bottom: 1px solid var(--hair); }
.area .num { font-family: var(--serif); font-style: italic; font-size: 18px; }
.area h3 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; letter-spacing: -.02em; }
.area p { margin: 6px 0 0; max-width: 34em; }

/* Prijava (baby blue) */
.invite { background: var(--blue); padding: 76px 0 84px; scroll-margin-top: 0; }
.invite-inner { display: grid; grid-template-columns: 1fr; gap: 36px; }
.panel-lead { margin: 22px 0 0; max-width: 28em; font-size: 18px; }

.panel {
  background: var(--ivory); border: 1px solid var(--plum); border-radius: 28px;
  padding: clamp(22px, 5vw, 40px);
}
.form .field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.form label, .form legend { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.form legend { padding: 0; }
.form input[type="email"] {
  width: 100%; font: inherit; padding: 14px 16px; border: 1px solid var(--plum);
  border-radius: 12px; background: var(--field); color: var(--plum);
}
.form input[type="email"]::placeholder { color: #6F6470; }
.form input[type="email"][aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 10px; font-weight: 500 !important;
  border: 1px solid var(--plum); border-radius: 12px; padding: 12px; background: var(--field);
  cursor: pointer; margin: 0 !important;
}
.choice { line-height: 1.2; }
.choice:has(input:checked) { background: var(--blush); }
.choice input { margin: 0; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--plum); }
.choice-consent { align-items: flex-start; font-size: 14px; line-height: 1.5; font-weight: 400 !important; border-color: var(--hair); background: transparent; }
.choice-consent input { margin-top: 3px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--error); font-size: 14px; margin: 6px 0 0; font-weight: 600; }
.error:empty { display: none; }
.form-status { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-error { background: #F8E3E6; color: var(--error); border: 1px solid var(--error); }
.form-status.is-info { background: var(--lilac); color: var(--plum); border: 1px solid var(--plum); }
.form-status.is-ok { background: #E3F0E8; color: var(--ok); border: 1px solid var(--ok); }
.note { color: var(--plum-soft); font-size: 13.5px; margin: 16px 0 0; }

/* Kako bo potekalo */
.how { padding-top: 84px; padding-bottom: 24px; }
.how h2 { margin-bottom: 34px; }
.steps { list-style: none; counter-reset: s; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--plum); max-width: 860px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-style: italic; font-size: 20px; }
.steps strong { font-family: var(--serif); font-weight: 400; font-size: 22px; display: block; margin-bottom: 4px; }

/* FAQ */
.faq { padding-top: 56px; padding-bottom: 96px; }
.faq h2 { margin-bottom: 28px; }
.faq h2, .faq details { max-width: 860px; }
.faq details { border-top: 1px solid var(--hair); padding: 16px 0; }
.faq details:first-of-type { border-top-color: var(--plum); }
.faq details:last-of-type { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--plum-soft); margin: 10px 0 0; max-width: 42em; }

/* Noga */
.site-footer { background: var(--plum); color: var(--ivory); padding: 30px 0 44px; font-size: 13.5px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--ivory); }

/* Podstrani (hvala, potrjeno, zasebnost, 404) */
.page { padding-top: 56px; padding-bottom: 96px; max-width: 760px; }
.page h1 { font-size: clamp(40px, 8vw, 64px); margin-bottom: 22px; }
.page h2 { font-size: 28px; margin: 40px 0 12px; letter-spacing: -.01em; }
.page .intro { margin-bottom: 14px; }
.page p { max-width: 42em; }
.page table { border-collapse: collapse; width: 100%; font-size: 15px; }
.page th, .page td { border: 1px solid var(--hair); padding: 8px 10px; text-align: left; vertical-align: top; }
.page th { background: var(--blush); }
.draft-banner {
  background: var(--blush); color: var(--plum); border: 1px solid var(--plum);
  border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 28px;
}
mark.todo { background: var(--lilac); color: var(--plum); padding: 0 4px; border-radius: 3px; }

/* Namizje */
@media (min-width: 900px) {
  .wrap { padding-left: 40px; padding-right: 40px; }
  .hero { padding: 72px 0 110px; }
  .hero-grid {
    grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); column-gap: 64px;
    grid-template-areas: "head portrait" "body portrait";
    grid-template-rows: auto 1fr;
  }
  .hero-head { grid-area: head; margin-bottom: 0; }
  .hero-body { grid-area: body; margin-top: 0; align-self: end; }
  .portrait-wrap { grid-area: portrait; align-self: end; width: 88%; margin: 0 0 -34px auto; }
  .h1-line { white-space: nowrap; }
  .area { grid-template-columns: 90px minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: baseline; }
  .area p { margin: 0; }
  .invite-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
}

@media (max-width: 380px) {
  body { font-size: 16px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .site-header nav { gap: 10px; }
}
