/* Sirevi Jutro — Swiss/Bauhaus design system */
:root{
  --cobalt:#1d3fd6;
  --cobalt-dark:#132a9c;
  --lemon:#f5e642;
  --ink:#101418;
  --white:#fdfdf8;
  --cream:#f4f1e6;
  --line:#101418;
  --grid-gap:1px;
  --maxw:1280px;
  --radius:2px;
  --font-display: "Avenir Next", "Futura", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Söhne Mono", "SFMono-Regular", Consolas, monospace;
}
*{box-sizing:border-box}
html,body{overflow-x:clip}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  font-size:16px;
  line-height:1.5;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:800;line-height:1.05;margin:0 0 .5em}
p{margin:0 0 1em}
ul{margin:0;padding:0}
button{font-family:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--cobalt);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important;transition-duration:.001ms !important;}
}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(24px);clip-path:inset(0 0 10% 0);transition:opacity .6s ease, transform .6s ease, clip-path .6s ease;}
.reveal.in-view{opacity:1;transform:translateY(0);clip-path:inset(0 0 0 0);}
.reveal.d1{transition-delay:.08s}
.reveal.d2{transition-delay:.16s}
.reveal.d3{transition-delay:.24s}
.reveal.d4{transition-delay:.32s}

/* ---------- layout helpers ---------- */
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:1.25rem}
.grid{display:grid;gap:1.25rem}
.grid-2{grid-template-columns:1fr 1fr}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.mt-0{margin-top:0}.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}.mb-3{margin-bottom:3rem}
@media (max-width:860px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
}

/* ---------- header ---------- */
.site-header{border-bottom:3px solid var(--ink);background:var(--white);position:sticky;top:0;z-index:40}
.site-header__inner{max-width:var(--maxw);margin-inline:auto;padding:.75rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{display:flex;align-items:center;gap:.6rem}
.logo__word{font-family:var(--font-display);font-weight:800;line-height:1;font-size:1rem;text-transform:uppercase;letter-spacing:.02em}
.logo__word--light{color:var(--white)}
.nav-toggle{display:none;background:none;border:2px solid var(--ink);border-radius:var(--radius);padding:.4rem;min-width:44px;min-height:44px}
.nav-close{display:none}
.main-nav{display:flex;align-items:center;gap:1.5rem;font-weight:600}
.main-nav a{position:relative;padding:.25rem 0}
.main-nav a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--cobalt);transition:width .25s ease}
.main-nav a:hover::after,.main-nav a.is-active::after{width:100%}
.nav-cart{display:flex;align-items:center;gap:.4rem;background:var(--ink);color:var(--white);padding:.5rem .9rem;border-radius:999px}
.nav-cart::after{display:none}
.cart-count{background:var(--lemon);color:var(--ink);border-radius:999px;min-width:1.5em;height:1.5em;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:800;padding:0 .3em}
.cart-count.bump{animation:bump .4s ease}
@keyframes bump{0%{transform:scale(1)}40%{transform:scale(1.4)}100%{transform:scale(1)}}

@media (max-width:860px){
  .nav-toggle{display:flex;align-items:center;justify-content:center}
  .main-nav{
    position:fixed;inset:0 0 0 auto;width:min(86vw,360px);
    background:var(--ink);color:var(--white);flex-direction:column;align-items:flex-start;
    padding:5rem 2rem 2rem;gap:1.5rem;
    transform:translateX(100%);visibility:hidden;transition:transform .35s ease, visibility .35s ease;
  }
  .main-nav.is-open{transform:translateX(0);visibility:visible}
  .main-nav a{color:var(--white);font-size:1.1rem}
  .nav-close{display:flex;position:absolute;top:1.25rem;right:1.25rem;background:none;border:2px solid var(--white);border-radius:var(--radius);color:var(--white);min-width:44px;min-height:44px;align-items:center;justify-content:center}
  .nav-cart{background:var(--lemon);color:var(--ink)}
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  border:2px solid var(--ink);border-radius:var(--radius);
  padding:.75rem 1.5rem;font-weight:700;background:var(--white);color:var(--ink);
  position:relative;overflow:hidden;isolation:isolate;min-height:44px;
  transition:color .3s ease;
}
.btn::before{content:"";position:absolute;inset:0;left:-100%;width:100%;background:var(--ink);z-index:-1;transition:left .3s ease}
.btn:hover::before{left:0}
.btn:hover{color:var(--white)}
.btn--lemon{background:var(--lemon);border-color:var(--ink)}
.btn--lemon::before{background:var(--ink)}
.btn--lemon:hover{color:var(--ink)}
.btn--cobalt{background:var(--cobalt);color:var(--white);border-color:var(--cobalt)}
.btn--cobalt::before{background:var(--ink)}
.btn--cobalt:hover{color:var(--white)}
.btn--ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn--small{padding:.5rem 1rem;font-size:.85rem}
.btn--full{width:100%}

/* ---------- hero ---------- */
.hero{position:relative;border-bottom:3px solid var(--ink);background:var(--cream);overflow:hidden}
.hero__grid{max-width:var(--maxw);margin-inline:auto;padding:3rem 1.25rem 4rem;display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:center;position:relative}
.hero__title{font-size:clamp(2.6rem,7vw,5.2rem);text-transform:uppercase;letter-spacing:-.01em}
.hero__title em{font-style:normal;color:var(--cobalt)}
.hero__lede{max-width:34ch;font-size:1.1rem}
.hero__media{position:relative;aspect-ratio:4/5}
.hero__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:3px solid var(--ink);transform:translate(-10px,-10px);transition:transform .8s cubic-bezier(.16,1,.3,1)}
.hero__shape{position:absolute;inset:0;width:100%;height:100%;transform:translate(14px,14px);transition:transform .8s cubic-bezier(.16,1,.3,1)}
.hero.is-settled .hero__photo{transform:translate(0,0)}
.hero.is-settled .hero__shape{transform:translate(28px,28px)}
.hero__card{
  position:absolute;bottom:-1.5rem;left:-1.5rem;background:var(--lemon);border:3px solid var(--ink);
  padding:1rem 1.25rem;max-width:220px;box-shadow:8px 8px 0 var(--ink);
}
@media (max-width:860px){
  .hero__grid{grid-template-columns:1fr;padding-top:2rem}
  .hero__card{position:static;margin-top:1.5rem;box-shadow:none}
}

/* continuous subtle element */
.ambient-wheel{position:fixed;right:-60px;bottom:-60px;width:160px;height:160px;opacity:.07;pointer-events:none;z-index:1;animation:spin 40s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){.ambient-wheel{animation:none}}

/* ---------- section dividers / patterns ---------- */
.divider{display:block;width:100%;height:36px}
.section{padding:4rem 0}
.section--ink{background:var(--ink);color:var(--white)}
.section--cobalt{background:var(--cobalt);color:var(--white)}
.section-head{max-width:46ch;margin-bottom:2rem}
.kicker{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.1em;font-size:.8rem;color:var(--cobalt);display:block;margin-bottom:.5rem}
.section--ink .kicker,.section--cobalt .kicker{color:var(--lemon)}

/* ---------- product card / strip ---------- */
.product-strip{display:flex;gap:1.25rem;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:1rem;margin:0 -1.25rem;padding-inline:1.25rem}
.product-strip .product-card{min-width:260px;scroll-snap-align:start}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.5rem}
.product-card{border:2px solid var(--ink);background:var(--white);transition:transform .3s ease, box-shadow .3s ease}
.product-card:hover{transform:translateY(-6px);box-shadow:6px 6px 0 var(--ink)}
.product-card__media{display:block;aspect-ratio:4/3;overflow:hidden}
.product-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.product-card:hover .product-card__media img{transform:scale(1.08)}
.product-card__body{padding:1rem}
.product-card__body h3{font-size:1.05rem;margin-bottom:.35rem}
.product-card__desc{font-size:.9rem;color:#333}
.product-card__row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.75rem}
.product-card__price{font-weight:800;font-family:var(--font-mono)}
.product-card__price small{font-weight:400;font-size:.75rem}

/* ---------- Sirni Kompas (signature feature) ---------- */
.compass{border:3px solid var(--ink);background:var(--white);box-shadow:10px 10px 0 var(--cobalt);padding:2rem;display:grid;gap:2rem;grid-template-columns:1fr 1fr}
.compass__controls{display:flex;flex-direction:column;gap:1.5rem}
.compass__slider label{display:block;font-weight:700;margin-bottom:.4rem}
.compass__slider input[type=range]{width:100%;accent-color:var(--cobalt)}
.compass__scale{display:flex;justify-content:space-between;font-size:.75rem;font-family:var(--font-mono);color:#555}
.compass__dial{position:relative;aspect-ratio:1;display:flex;align-items:center;justify-content:center}
.compass__dial svg{width:100%;height:100%}
.compass__needle{transition:transform .35s cubic-bezier(.16,1,.3,1);transform-origin:50% 50%}
.compass__result{border-top:2px dashed var(--ink);padding-top:1rem;margin-top:auto}
.compass__result h4{font-size:1.1rem;margin-bottom:.3rem}
@media (max-width:860px){.compass{grid-template-columns:1fr}}

/* ---------- page hero (inner pages) ---------- */
.page-hero{background:var(--cream);border-bottom:3px solid var(--ink);padding:3rem 0 2.5rem}
.page-hero h1{font-size:clamp(2rem,5vw,3.2rem);text-transform:uppercase}
.page-hero p{max-width:50ch;font-size:1.05rem}

/* ---------- breadcrumbs ---------- */
.breadcrumbs{font-family:var(--font-mono);font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;display:flex;gap:.5rem;color:#555;margin-bottom:1rem}
.breadcrumbs a{text-decoration:underline}
.breadcrumbs span{color:var(--ink)}

/* ---------- prose (legal pages) ---------- */
.prose{max-width:68ch;font-size:1.02rem}
.prose h2{font-size:1.4rem;margin-top:2rem;text-transform:uppercase}
.prose h3{font-size:1.1rem;margin-top:1.5rem}
.prose ul{margin:0 0 1em 1.25em;list-style:disc}
.prose li{margin-bottom:.4em}
.legal-toc{border:2px solid var(--ink);padding:1.25rem;margin-bottom:2rem}
.legal-toc h2{margin-top:0;font-size:1rem;text-transform:uppercase}
.legal-toc ul{list-style:none;margin:0;display:grid;gap:.4rem}
.legal-toc a{text-decoration:underline}

/* ---------- notice ---------- */
.notice{border:2px solid var(--ink);border-left:6px solid var(--cobalt);background:var(--cream);padding:1rem 1.25rem;margin:1.5rem 0}
.notice--warn{border-left-color:var(--lemon)}

/* ---------- forms ---------- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.field{display:flex;flex-direction:column;gap:.35rem}
.field--full{grid-column:1 / -1}
.field label{font-weight:700;font-size:.9rem}
.field input,.field textarea,.field select{
  border:2px solid var(--ink);border-radius:var(--radius);padding:.7rem .8rem;font-family:inherit;font-size:1rem;background:var(--white);accent-color:var(--cobalt);
}
.field input:focus,.field textarea:focus,.field select:focus{outline:3px solid var(--cobalt);outline-offset:1px}
.field-error{color:#b10021;font-size:.8rem;min-height:1.1em}
.form-msg{min-height:1.2em;font-weight:700}
.form-msg.is-success{color:var(--cobalt-dark)}
.form-msg.is-error{color:#b10021}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.field-row{display:flex;gap:.5rem}
.field-row input{flex:1}
@media (max-width:640px){.form-grid{grid-template-columns:1fr}.field-row{flex-direction:column}}

/* ---------- FAQ ---------- */
.faq{display:flex;flex-direction:column;gap:1rem;max-width:68ch}
.faq-item{border:2px solid var(--ink);border-radius:var(--radius)}
.faq-item summary{padding:1rem 1.25rem;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-item summary::after{content:"+";font-size:1.3rem;line-height:1}
.faq-item[open] summary::after{content:"\2212"}
.faq-item p{padding:0 1.25rem 1.25rem;margin:0;color:#333}

/* ---------- product detail ---------- */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
.product-detail__media{border:3px solid var(--ink);aspect-ratio:4/3;overflow:hidden}
.product-detail__media img{width:100%;height:100%;object-fit:cover}
.product-detail__price{font-family:var(--font-mono);font-size:1.8rem;font-weight:800;color:var(--cobalt-dark)}
.product-detail__meta{display:flex;gap:1rem;font-size:.85rem;font-family:var(--font-mono);text-transform:uppercase;color:#555;margin:1rem 0}
.qty-control{display:flex;align-items:center;border:2px solid var(--ink);width:fit-content}
.qty-control button{border:none;background:var(--cream);width:40px;height:44px;font-size:1.1rem}
.qty-control input{width:48px;height:44px;border:none;border-left:2px solid var(--ink);border-right:2px solid var(--ink);text-align:center;font-size:1rem}
@media (max-width:860px){.product-detail{grid-template-columns:1fr}}

/* ---------- cart / checkout ---------- */
.cart-table{width:100%;border-collapse:collapse;margin-bottom:2rem}
.cart-table th,.cart-table td{border-bottom:2px solid var(--ink);padding:.9rem .5rem;text-align:left}
.cart-table th{font-family:var(--font-mono);text-transform:uppercase;font-size:.8rem}
.cart-table img{width:64px;height:64px;object-fit:cover;border:2px solid var(--ink)}
.cart-summary{border:3px solid var(--ink);padding:1.5rem;max-width:380px;margin-left:auto;background:var(--cream)}
.cart-summary__row{display:flex;justify-content:space-between;margin-bottom:.6rem}
.cart-summary__row--total{font-weight:800;font-size:1.3rem;border-top:2px dashed var(--ink);padding-top:.6rem}
.cart-empty{text-align:center;padding:3rem 0}

/* ---------- contact layout ---------- */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
.contact-info{display:flex;flex-direction:column;gap:1.25rem}
.contact-info__item{display:flex;gap:.75rem;align-items:flex-start}
.contact-info__item svg{flex-shrink:0;margin-top:.15rem}
@media (max-width:860px){.contact-layout{grid-template-columns:1fr}}

/* ---------- grain / texture overlay ---------- */
.grain-overlay{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;opacity:.035;mix-blend-mode:multiply;z-index:2}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:var(--white);position:relative}
.footer-divider{display:block;margin-bottom:-1px}
.site-footer__inner{max-width:var(--maxw);margin-inline:auto;padding:1rem 1.25rem 2.5rem;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1.4fr;gap:1.5rem}
.footer-col h3{font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.9rem;color:var(--lemon)}
.footer-col a{display:block;margin-bottom:.5rem;opacity:.9}
.footer-col a:hover{opacity:1;text-decoration:underline}
.footer-col--brand p{opacity:.8;font-size:.9rem}
.footer-mail{display:flex;align-items:center;gap:.5rem;margin-top:.75rem}
.newsletter-form .field-row input{background:var(--white);color:var(--ink)}
.site-footer__bottom{border-top:1px solid rgba(255,255,255,.2);text-align:center;padding:1rem;font-size:.8rem;opacity:.7}
@media (max-width:860px){
  .site-footer__inner{grid-template-columns:1fr 1fr}
}
@media (max-width:480px){
  .site-footer__inner{grid-template-columns:1fr}
}

/* ---------- cookie banner ---------- */
.cookie-banner{
  position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:60;
  background:var(--ink);color:var(--white);border:2px solid var(--lemon);
  padding:1.25rem;display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;
  max-width:720px;margin-inline:auto;box-shadow:6px 6px 0 var(--cobalt);
}
.cookie-banner p{margin:0;font-size:.9rem}
.cookie-banner a{text-decoration:underline;color:var(--lemon)}
.cookie-banner__actions{display:flex;gap:.75rem;flex-shrink:0}
.cookie-banner .btn--ghost{color:var(--white);border-color:var(--white)}
.cookie-banner .btn--ghost::before{background:var(--white)}
.cookie-banner .btn--ghost:hover{color:var(--ink)}

/* =====================================================================
   COMPONENTS: .class - what it is
   .site-header - sticky top header bar
   .logo / .logo__mark / .logo__word - brand logo lockup
   .nav-toggle / .nav-close - mobile menu open/close buttons
   .main-nav - primary navigation (off-canvas on mobile)
   .nav-cart / .cart-count - cart link with live item badge
   .btn / .btn--lemon / .btn--cobalt / .btn--ghost / .btn--small / .btn--full - button variants with fill-sweep hover
   .hero / .hero__grid / .hero__title / .hero__lede / .hero__media / .hero__photo / .hero__shape / .hero__card - home hero composition
   .ambient-wheel - continuous slow-spinning decorative element
   .divider - full-width SVG section divider
   .section / .section--ink / .section--cobalt - colour-block page sections
   .section-head / .kicker - section heading group with small label
   .product-strip - horizontal scroll-snap product row (mobile)
   .product-grid - responsive product grid (catalog)
   .product-card - product preview card with hover lift + image zoom
   .compass / .compass__controls / .compass__slider / .compass__dial / .compass__needle / .compass__result - "Sirni Kompas" signature feature
   .page-hero - inner-page title banner
   .breadcrumbs - small page trail navigation
   .prose - readable long-form legal/content text block
   .legal-toc - table of contents box for legal pages
   .notice / .notice--warn - callout box for important info
   .form-grid / .field / .field--full / .field-error / .form-msg / .hp / .field-row - form layout and states
   .faq / .faq-item - accordion FAQ built on details/summary
   .product-detail - two-column product page layout
   .qty-control - quantity stepper input
   .cart-table / .cart-summary / .cart-empty - cart/checkout page layout
   .contact-layout / .contact-info - two-column contact page layout
   .grain-overlay - fixed full-viewport SVG noise texture
   .site-footer - footer with link columns and newsletter
   .cookie-banner - bottom cookie consent banner
   .reveal / .in-view / .d1-.d4 - scroll-reveal animation state and stagger delays
   ===================================================================== */

/* ---------- footer news column ---------- */
.footer-col--news .field-row input{font-size:.9rem;padding:.5rem .7rem}

/* ---------- quantity input ---------- */
.qty-input{border:2px solid var(--ink);border-radius:var(--radius);padding:.5rem .8rem;font-family:inherit;font-size:1rem;background:var(--white);text-align:center;accent-color:var(--cobalt)}
.qty-input:focus{outline:3px solid var(--cobalt);outline-offset:1px}

/* ---------- remove button ---------- */
.btn-remove{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:2px solid var(--ink);border-radius:var(--radius);padding:.5rem .75rem;min-width:44px;min-height:44px;font-weight:700;color:var(--ink);cursor:pointer;font-family:inherit;transition:background-color .3s ease}
.btn-remove:hover{background:var(--cream)}

/* wg-contrast-autofix */
article.product-card.reveal div.product-card__body h3 a { color: #111111 !important; }
article.product-card.reveal div.product-card__body div.product-card__row span.product-card__price { color: #111111 !important; }
div.product-card__body div.product-card__row span.product-card__price small { color: #111111 !important; }
