/* ---------- Fonts (self-hosted, latin + latin-ext pre slovenčinu) ---------- */
@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/instrument-serif-latin-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/instrument-serif-latin-ext-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/instrument-serif-latin-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/instrument-serif-latin-ext-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(/assets/fonts/dm-sans-latin.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(/assets/fonts/dm-sans-latin-ext.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f7f2eb;
  --paper-2: #efe7db;
  --card: #fffdf9;
  --sand: #e8dfd2;
  --ink: #2a2f27;
  --ink-soft: #5c6553;
  --ink-faint: #8a927e;
  --olive: #363e2f;
  --olive-2: #444d3b;
  --terra: #af4127;
  --terra-deep: #8d311e;
  --gold: #ed8709;
  --sage: #bbc68a;
  --line: rgba(54, 62, 47, .12);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --shell: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -20px rgba(54, 62, 47, .28);
  --shadow-deep: 0 40px 90px -30px rgba(54, 62, 47, .42);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.shell { width: 100%; max-width: calc(var(--shell) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 10px; text-decoration: none; }
.skip:focus { top: 16px; }

.display {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.6vw + .6rem, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--terra); }
.lead { font-size: clamp(1.05rem, .5vw + .95rem, 1.25rem); color: var(--ink-soft); max-width: 36em; text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 4px rgba(175, 65, 39, .15); }
.eyebrow-light { color: rgba(247, 242, 235, .7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .93rem; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.btn-ink:hover { background: var(--olive-2); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--card); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--terra); white-space: nowrap; }
.link-arrow span { display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 235, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.header-inner .nav { margin-left: auto; }

.wordmark {
  font-family: var(--serif); font-size: 1.75rem; line-height: 1; letter-spacing: -.01em;
  text-decoration: none; color: var(--ink);
}
.wordmark em { font-style: italic; color: var(--terra); margin-left: .18em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--ink-soft); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }

.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang a {
  min-width: 38px; padding: 6px 10px; border-radius: 999px; text-align: center;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-decoration: none; color: var(--ink-soft);
  transition: background-color .2s, color .2s;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }

.menu-toggle { display: none; }

@media (max-width: 860px) {
  .header-inner { gap: 12px; }
  .lang { margin-left: auto; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 50%;
    background: transparent; cursor: pointer;
  }
  .menu-bar { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] .menu-bar:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(54, 62, 47, .25);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--ink); }
  .nav-cta { margin-top: 18px; min-height: 50px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(64px, 8vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .display { font-size: clamp(2.7rem, 5.6vw + .5rem, 5.4rem); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; max-width: 580px; width: 100%; justify-self: center; }
.blob {
  position: absolute; inset: 8% 6% 4% 10%;
  background: radial-gradient(circle at 30% 30%, #f1c9a5 0%, #e9b48c 30%, transparent 70%),
              radial-gradient(circle at 75% 70%, rgba(187, 198, 138, .75) 0%, transparent 60%);
  filter: blur(10px);
  border-radius: 46% 54% 52% 48% / 50% 44% 56% 50%;
}
.phone {
  position: absolute; left: 50%; top: 50%; width: 46%;
  transform: translate(-50%, -50%) rotate(-3deg);
  padding: 8px; border-radius: 38px;
  background: #1f231c;
  box-shadow: var(--shadow-deep), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
  z-index: 2;
  animation: float 7s ease-in-out infinite;
}
.phone img { border-radius: 30px; width: 100%; }
.plate { position: absolute; width: 38%; filter: drop-shadow(0 22px 26px rgba(54, 62, 47, .28)); }
.plate-1 { left: -2%; top: 8%; transform: rotate(-12deg); }
.plate-2 { right: -4%; top: 2%; width: 34%; transform: rotate(8deg); z-index: 3; }
.plate-3 { right: 0; bottom: 4%; width: 36%; transform: rotate(-6deg); z-index: 3; }

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); }
  50% { transform: translate(-50%, -52%) rotate(-2deg); }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-top: 8px; }
}

/* ---------- Evenyn ---------- */
.section-tight { padding-top: 0; }
.product {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end;
  padding: clamp(32px, 6vw, 80px);
  border-radius: clamp(24px, 3vw, 40px);
  background: var(--terra); color: var(--paper);
}
.product::after {
  content: ""; position: absolute; right: -12%; top: -45%; width: 65%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(237, 135, 9, .45), transparent 65%);
  pointer-events: none;
}
.product-copy { position: relative; z-index: 1; }
.evenyn-logo {
  display: block; width: clamp(180px, 24vw, 260px); aspect-ratio: 460 / 120;
  background: var(--paper);
  -webkit-mask: url(/assets/img/logo-mask.webp) left center / contain no-repeat;
  mask: url(/assets/img/logo-mask.webp) left center / contain no-repeat;
  margin: 4px 0 28px;
}
.product .display { font-size: clamp(2rem, 3vw + .8rem, 3.2rem); }
.product .display em { color: #ffd9b8; }
.product-text { margin: 20px 0 32px; color: rgba(247, 242, 235, .85); max-width: 32em; font-size: 1.08rem; }

.product-stats { position: relative; z-index: 1; display: grid; border-top: 1px solid rgba(247, 242, 235, .25); }
.product-stats li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(247, 242, 235, .25); }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 2vw + 1.2rem, 2.8rem); line-height: 1; }
.stat-label { color: rgba(247, 242, 235, .8); font-size: .95rem; text-align: right; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { padding-top: 0; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-copy .display { font-size: clamp(2rem, 3vw + .8rem, 3.2rem); margin-bottom: 24px; }
.about-copy > p:not(.eyebrow) { color: var(--ink-soft); max-width: 34em; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.pullquote { margin: 28px 0 0; padding-left: 22px; border-left: 3px solid var(--terra); font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.25; }
.values { display: grid; gap: 12px; }
.values li { display: grid; gap: 4px; padding: 22px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.values b { font-weight: 650; font-size: 1.08rem; }
.values span { color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--olive); color: var(--paper); }
.contact .eyebrow { color: rgba(247, 242, 235, .65); }
.contact .display em { color: #f0a98f; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy > p:not(.eyebrow) { margin: 20px 0 30px; color: rgba(247, 242, 235, .75); max-width: 28em; }
.contact-mail {
  display: inline-block; font-family: var(--serif); font-size: clamp(1.7rem, 2.5vw + 1rem, 2.6rem);
  text-decoration: none; border-bottom: 1px solid rgba(247, 242, 235, .35); line-height: 1.2;
  overflow-wrap: anywhere; transition: border-color .2s;
}
.contact-mail:hover { border-color: var(--paper); }

.company {
  margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-lg); border: 1px solid rgba(247, 242, 235, .14); overflow: hidden;
}
.company > div { padding: 22px 26px; border-bottom: 1px solid rgba(247, 242, 235, .12); }
.company > div:nth-child(odd):not(.company-wide) { border-right: 1px solid rgba(247, 242, 235, .12); }
.company-wide { grid-column: 1 / -1; border-bottom: 0 !important; }
.company dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(247, 242, 235, .55); margin-bottom: 6px; }
.company dd { margin: 0; font-size: 1.02rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .company { grid-template-columns: 1fr; }
  .company > div:nth-child(odd):not(.company-wide) { border-right: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--olive); color: rgba(247, 242, 235, .6); border-top: 1px solid rgba(247, 242, 235, .1); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: .9rem; }
.site-footer .wordmark { color: var(--paper); font-size: 1.5rem; }
.site-footer .wordmark em { color: #f0a98f; }
.site-footer a:not(.wordmark) { color: var(--paper); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
