/* =========================================================
   ivon.sk — coming soon
   Palette: ink / paper / satin / rose / gold / sage
   Display: Fraunces · Body: Inter · Ticket accents: Space Mono
   ========================================================= */

:root{
  --ink:      #2A1F2B;
  --ink-soft: #4A3C4C;
  --paper:    #F8F2E9;
  --paper-2:  #F1E8DA;
  --satin:    #E8D9C8;
  --rose:     #B5717C;
  --rose-dark:#8F4E5A;
  --gold:     #A6813F;
  --sage:     #6E7B5F;
  --line:     rgba(42,31,43,0.12);
  --shadow:   0 30px 60px -25px rgba(42,31,43,0.35);

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --max: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }

/* subtle paper grain, purely atmospheric */
.grain{
  position:fixed; inset:0; pointer-events:none; z-index:1;
  opacity:.5;
  background-image:radial-gradient(rgba(42,31,43,0.05) 0.6px, transparent 0.6px);
  background-size:3px 3px;
}

.eyebrow{
  display:flex; align-items:center; gap:.6em;
  font-family:var(--font-body);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--rose-dark);
  margin:0 0 1.1em;
}
.eyebrow-mark{
  width:16px; height:1px; background:var(--gold);
  display:inline-block;
}
.eyebrow-center{ justify-content:center; }
.eyebrow-light{ color:var(--satin); }
.eyebrow-light .eyebrow-mark{ background:var(--rose); }

/* ---------- header ---------- */
.site-header{
  position:relative; z-index:5;
  max-width:var(--max); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; row-gap:.6rem;
  padding:2.2rem 1.6rem;
  gap:1.5rem;
}
.wordmark{
  font-family:var(--font-display);
  font-style:italic;
  font-weight:500;
  font-size:1.5rem;
  text-decoration:none;
  color:var(--ink);
}
.wordmark-dot{ color:var(--rose); }

.lang-switch{ display:flex; gap:.35rem; }
.lang-link{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.04em;
  text-decoration:none;
  color:var(--ink-soft);
  padding:.32rem .55rem;
  border-radius:100px;
  border:1px solid transparent;
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.lang-link:hover{ border-color:var(--line); }
.lang-link.is-active{
  color:var(--ink);
  border-color:var(--gold);
  background:rgba(166,129,63,0.08);
}

.header-cta{ display:none; white-space:nowrap; flex-shrink:0; }
@media (min-width:720px){ .header-cta{ display:inline-flex; } }
.btn.header-cta{ padding:.85em 2.3rem; }
@media (max-width:480px){
  .btn.header-cta{ padding:.6em 1.3em; font-size:.8rem; gap:.45em; }
}

.header-cta-short{ display:none; }
@media (max-width:600px){
  .header-cta .header-cta-full{ display:none; }
  .header-cta .header-cta-short{ display:inline; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.6em;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.92rem;
  text-decoration:none;
  padding:.85em 1.5em;
  border-radius:100px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-arrow{ transition:transform .25s ease; }
.btn:hover .btn-arrow{ transform:translateX(3px); }

.btn-primary{
  background:var(--ink);
  color:var(--paper);
}
.btn-primary:hover{
  background:var(--rose-dark);
  box-shadow:var(--shadow);
  transform:translateY(-2px);
}

.btn-ghost{
  background:transparent;
  color:var(--ink);
  border-color:var(--line);
}
.btn-ghost:hover{ border-color:var(--gold); background:rgba(166,129,63,0.08); }

/* ---------- hero ---------- */
.hero{
  max-width:var(--max); margin:0 auto;
  padding:3.2rem 1.6rem 5rem;
  display:grid;
  grid-template-columns:1fr;
  gap:3.5rem;
  align-items:center;
}
@media (min-width:900px){
  .hero{ grid-template-columns:1.05fr 0.95fr; padding-top:4.5rem; }
}

.hero-title{
  font-family:var(--font-display);
  font-style:italic;
  font-weight:500;
  font-size:clamp(3.6rem, 10vw, 6.4rem);
  line-height:.92;
  margin:0 0 .3rem;
  color:var(--ink);
}
.hero-title-dot{ color:var(--rose); }

.hero-sub{
  font-family:var(--font-display);
  font-weight:400;
  font-size:clamp(1.25rem, 2.4vw, 1.6rem);
  line-height:1.35;
  color:var(--ink-soft);
  margin:0 0 1.4rem;
  max-width:36ch;
  white-space:pre-line;
}

.hero-text{
  max-width:42ch;
  color:var(--ink-soft);
  margin:0 0 2.1rem;
}

.hero-actions{
  display:flex; align-items:center; gap:1.4rem; flex-wrap:wrap;
}

.status-pill{
  display:inline-flex; align-items:center; gap:.55em;
  font-size:.82rem; font-weight:600;
  color:var(--sage);
}
.status-dot{
  width:7px; height:7px; border-radius:50%;
  background:var(--sage);
  animation:pulse 2.2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(110,123,95,.45); }
  50%{ box-shadow:0 0 0 6px rgba(110,123,95,0); }
}

/* hero visual */
.hero-visual{ position:relative; }
.hero-photo-frame{
  position:relative;
  border-radius:6px 6px 100px 6px;
  overflow:hidden;
  box-shadow:var(--shadow);
  aspect-ratio:4/5;
}
.hero-photo{
  width:100%; height:100%; object-fit:cover; object-position:top center;
}
.hero-photo-frame::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(200deg, rgba(42,31,43,0) 40%, rgba(42,31,43,.55) 100%);
}

.stitch-line{
  position:absolute;
  left:-15%;
  top:2%;
  width:170px;
  height:calc(106% - 130px);
  z-index:2;
  pointer-events:none;
}
.stitch-path{
  stroke-dasharray:7 6;
  stroke-dashoffset:520;
  animation:draw 1.8s 1.35s ease-out forwards;
}
@keyframes draw{ to{ stroke-dashoffset:0; } }

.ticket-card{
  position:absolute;
  left:-27%;
  bottom:15%;
  z-index:3;
  width:230px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:4px;
  padding:1.1rem 1.2rem 1.2rem;
  box-shadow:0 24px 45px -20px rgba(42,31,43,.45);
  opacity:0;
  animation:cardIn .8s 1.5s cubic-bezier(.2,.8,.2,1) forwards, float 6s 2.4s ease-in-out infinite;
}
@keyframes cardIn{
  from{ opacity:0; transform:translateY(18px) rotate(-3deg); }
  to{ opacity:1; transform:translateY(0) rotate(-2deg); }
}
@keyframes float{
  0%,100%{ transform:translateY(0) rotate(-2deg); }
  50%{ transform:translateY(-9px) rotate(-1deg); }
}

.ticket-row{ display:flex; align-items:center; justify-content:space-between; }
.ticket-label{
  font-family:var(--font-mono);
  font-size:.68rem;
  letter-spacing:.03em;
  color:var(--rose-dark);
  text-transform:uppercase;
}
.ticket-pin{
  width:9px; height:9px; border-radius:50%;
  background:var(--gold);
}
.ticket-stage{
  font-family:var(--font-display);
  font-size:1.02rem;
  font-weight:500;
  margin:.55rem 0 .8rem;
  line-height:1.25;
  color:var(--ink);
}
.ticket-row-bottom{ margin-top:.2rem; }
.ticket-time{
  font-family:var(--font-mono);
  font-size:.72rem;
  color:var(--ink-soft);
}
.ticket-client{
  margin:.5rem 0 0;
  padding-top:.5rem;
  border-top:1px dashed var(--line);
  font-size:.74rem;
  color:var(--ink-soft);
}

@media (max-width:899px){
  .ticket-card{ width:200px; left:auto; right:6%; bottom:-6%; }
  .stitch-line{ display:none; }
}

/* ---------- reveal-on-load (hero) ---------- */
.reveal-a,.reveal-b,.reveal-c,.reveal-d,.reveal-e,.reveal-f{
  opacity:0;
  transform:translateY(16px);
  animation:riseIn .8s cubic-bezier(.2,.8,.2,1) forwards;
}
.reveal-a{ animation-delay:.05s; }
.reveal-b{ animation-delay:.18s; }
.reveal-c{ animation-delay:.32s; }
.reveal-d{ animation-delay:.44s; }
.reveal-e{ animation-delay:.56s; }
.reveal-f{ animation-delay:.4s; transform:translateY(24px); }
@keyframes riseIn{ to{ opacity:1; transform:translateY(0); } }

/* ---------- scroll reveal ---------- */
.reveal-on-scroll{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal-on-scroll.in-view{ opacity:1; transform:translateY(0); }

/* ---------- features ---------- */
.features{
  max-width:var(--max); margin:0 auto;
  padding:2rem 1.6rem 5rem;
  text-align:center;
}
.feature-grid{
  display:grid; gap:1.4rem;
  grid-template-columns:1fr;
  margin-top:2.2rem;
}
@media (min-width:760px){
  .feature-grid{ grid-template-columns:repeat(3,1fr); }
}
.feature-card{
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:10px;
  padding:2.1rem 1.7rem;
  text-align:left;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover{
  transform:translateY(-4px);
  border-color:var(--gold);
  box-shadow:0 20px 40px -28px rgba(42,31,43,.4);
}
.feature-icon{ color:var(--rose-dark); margin-bottom:1.1rem; }
.feature-card h3{
  font-family:var(--font-display);
  font-weight:500;
  font-size:1.25rem;
  margin:0 0 .5rem;
}
.feature-card p{
  margin:0; color:var(--ink-soft); font-size:.94rem;
}

/* ---------- image strip ---------- */
.strip{
  position:relative;
  height:min(56vw, 420px);
  min-height:260px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.strip-photo{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  object-position:center 30%;
  filter:saturate(.92);
}
.strip-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(42,31,43,.35), rgba(42,31,43,.6));
}
.strip-quote{
  position:relative; z-index:2;
  font-family:var(--font-display);
  font-style:italic;
  font-weight:400;
  color:var(--paper);
  font-size:clamp(1.5rem, 4vw, 2.4rem);
  max-width:22ch;
  text-align:center;
  padding:0 1.5rem;
}

/* ---------- demo / contact ---------- */
.demo{
  background:var(--ink);
  color:var(--paper);
  padding:5rem 1.6rem;
}
.demo-inner{
  max-width:var(--max); margin:0 auto;
  display:grid; gap:3rem;
  grid-template-columns:1fr;
}
@media (min-width:900px){
  .demo-inner{ grid-template-columns:1fr 1fr; align-items:start; }
}
.demo-title{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(2rem, 4vw, 2.7rem);
  line-height:1.15;
  margin:0 0 1rem;
}
.demo-text{
  color:var(--satin);
  max-width:36ch;
  margin:0;
}

.demo-form{
  background:rgba(248,242,233,0.04);
  border:1px solid rgba(248,242,233,0.16);
  border-radius:12px;
  padding:2rem;
}
.field{ margin-bottom:1.2rem; }
.field label{
  display:block;
  font-size:.78rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--satin);
  margin-bottom:.5rem;
}
.field input{
  width:100%;
  background:rgba(248,242,233,0.06);
  border:1px solid rgba(248,242,233,0.22);
  border-radius:6px;
  padding:.85em 1em;
  font-family:var(--font-body);
  font-size:.96rem;
  color:var(--paper);
  transition:border-color .2s ease, background .2s ease;
}
.field input::placeholder{ color:rgba(248,242,233,0.4); }
.field input:focus{
  outline:none;
  border-color:var(--gold);
  background:rgba(248,242,233,0.1);
}
.field-consent{ margin-bottom:1.4rem; }
.checkbox-label{
  display:flex;
  align-items:flex-start;
  gap:.7em;
  cursor:pointer;
  font-size:.86rem;
  line-height:1.45;
  color:var(--satin);
}
.checkbox-label input[type="checkbox"]{
  flex:none;
  width:18px; height:18px;
  margin-top:.15em;
  accent-color:var(--rose);
  cursor:pointer;
}
.checkbox-label .gdpr-link{
  color:var(--paper);
  text-decoration:underline;
  text-underline-offset:2px;
  white-space:nowrap;
}

.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }

.form-submit{
  width:100%; justify-content:center; margin-top:.4rem;
  background:#e4b86a;
  color:var(--ink);
  border-color:#e4b86a;
  box-shadow:0 10px 30px -12px rgba(228,184,106,.55);
}
.form-submit:hover{
  background:#c9a25d;
  border-color:#c9a25d;
  color:var(--ink);
  box-shadow:0 14px 34px -12px rgba(201,162,93,.6);
}
.form-submit .btn-arrow{ margin-left:auto; }

.form-note{
  margin:1rem 0 0;
  font-size:.82rem;
  color:var(--satin);
}
.form-note a{ color:var(--paper); text-decoration:underline; text-underline-offset:2px; }

.form-message{
  margin:.8rem 0 0;
  font-size:.86rem;
  min-height:1.2em;
}
.form-message.is-success{ color:#B7C79A; }
.form-message.is-error{ color:#D99A9A; }

/* ---------- slot picker (book-demo.php) ---------- */
.slot-days{
  display:grid; gap:1.4rem;
  grid-template-columns:1fr;
  margin-bottom:1.6rem;
}
.slot-day-title{
  font-family:var(--font-display);
  font-weight:500;
  font-size:1.05rem;
  margin:0 0 .8rem;
  color:var(--paper);
}
.slot-options{ display:flex; flex-direction:column; gap:.6rem; }
.slot-option{ position:relative; display:block; }
.slot-option input[type="radio"]{
  position:absolute; opacity:0; width:1px; height:1px;
}
.slot-option span{
  display:flex; align-items:center; justify-content:space-between; gap:.6em;
  padding:.75em 1em;
  border-radius:8px;
  border:1px solid rgba(248,242,233,0.22);
  background:rgba(248,242,233,0.06);
  font-family:var(--font-body); font-weight:400; font-size:1.05rem; color:var(--paper);
  cursor:pointer;
  transition:border-color .2s ease, background .2s ease;
}
.slot-option input:checked + span{
  border-color:var(--sage);
  background:rgba(110,123,95,0.22);
}
.slot-option input:focus-visible + span{
  outline:2px solid var(--sage); outline-offset:2px;
}
.slot-option.is-taken span{
  cursor:not-allowed;
  text-decoration:line-through;
  color:rgba(248,242,233,0.45);
  background:rgba(217,154,154,0.1);
  border-color:rgba(217,154,154,0.3);
}
.slot-tag{
  font-family:var(--font-body); font-size:.68rem;
  text-transform:uppercase; letter-spacing:.04em;
  color:var(--satin);
  text-decoration:none;
}
.slot-option.is-taken .slot-tag{ color:#D99A9A; }

/* ---------- footer ---------- */
.site-footer{
  max-width:var(--max); margin:0 auto;
  padding:3rem 1.6rem 3.5rem;
  border-top:1px solid var(--line);
}
.footer-top{
  display:flex; flex-wrap:wrap; gap:1.2rem 2rem;
  align-items:flex-end; justify-content:space-between;
}
.footer-mark{
  font-family:var(--font-display); font-style:italic; font-size:1.3rem; color:var(--ink);
}
.footer-text p{ margin:.2rem 0; color:var(--ink-soft); font-size:.86rem; }
.footer-text a{ color:var(--ink); text-decoration:underline; text-underline-offset:2px; }

/* GDPR / company info — kept as a quiet, expandable panel */
.legal-details{
  margin-top:2rem;
  padding-top:1.6rem;
  border-top:1px dashed var(--line);
}
.legal-details summary{
  cursor:pointer;
  list-style:none;
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.03em;
  color:var(--rose-dark);
  display:flex;
  align-items:center;
  gap:.5em;
}
.legal-details summary::-webkit-details-marker{ display:none; }
.legal-details summary::before{
  content:"+";
  display:inline-flex;
  align-items:center; justify-content:center;
  width:16px; height:16px;
  border:1px solid var(--gold);
  border-radius:50%;
  font-size:.75rem;
  line-height:1;
  color:var(--gold);
  transition:transform .2s ease;
}
.legal-details[open] summary::before{
  content:"–";
  transform:rotate(180deg);
}
.legal-body{
  margin-top:1.1rem;
  max-width:62ch;
  color:var(--ink-soft);
  font-size:.82rem;
  line-height:1.65;
}
.legal-body p{ margin:0 0 .85em; }
.legal-company{ color:var(--ink); }

/* ---------- focus states ---------- */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid var(--rose);
  outline-offset:2px;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal-a,.reveal-b,.reveal-c,.reveal-d,.reveal-e,.reveal-f,
  .reveal-on-scroll,.ticket-card,.stitch-path,.status-dot{
    animation:none !important;
    transition:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}
