:root {
  --cream: #f4ede0;
  --paper: #fbf7ef;
  --sand: #e8dcc6;
  --ink: #1f1d18;
  --muted: #6d665a;
  --moss: #3f4a32;
  --straw: #c9a85c;
  --pumpkin: #b9582a;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 8vw, 88px); }
h2 { font-size: clamp(30px, 4.6vw, 48px); }
h3 { font-size: 23px; }
em { font-style: italic; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .8em; font-weight: 500; }
section { padding: clamp(64px, 10vw, 120px) 0; }

/* Kohatäited prooviversioonis */
.tbd { background: color-mix(in srgb, var(--straw) 35%, transparent); border-bottom: 1px dashed var(--pumpkin); padding: 0 2px; }
.proto-bar { background: var(--ink); color: var(--cream); font-size: 13px; text-align: center; padding: 6px var(--gutter); }
.proto-bar .tbd { color: var(--ink); }

/* Nupud ja lingid */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px;
  background: var(--moss); color: var(--cream); border: 1.5px solid var(--moss); border-radius: 999px;
  font: 600 16px var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); background: #34402a; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn.wide { width: 100%; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--straw); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Päis */
.site-head {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 8px var(--gutter); background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--sand) 70%, transparent);
}
.logo { display: block; background: var(--ink); -webkit-mask: url(/img/logo.svg) center / contain no-repeat; mask: url(/img/logo.svg) center / contain no-repeat; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-karu { width: 64px; height: 62px; flex: none; background: url(/img/karu-160.webp) center / contain no-repeat; }
.brand-name { font: 600 22px/1 var(--serif); letter-spacing: .04em; display: flex; flex-direction: column; }
.brand-name small { font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--moss); }
.menu-btn { display: none; }

/* Avapilt */
.hero { position: relative; padding: 0; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero img { object-position: 70% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 18, 12, .78) 0%, rgba(20, 18, 12, .45) 45%, rgba(20, 18, 12, 0) 75%), linear-gradient(180deg, rgba(20, 18, 12, 0) 55%, rgba(20, 18, 12, .5) 100%); }
.hero-text { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 8vw, 88px); }
.hero .eyebrow { color: rgba(255, 255, 255, .85); }
.hero h1 { max-width: 12ch; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); max-width: 34ch; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero .btn:not(.ghost) { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* Hooaeg */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split > img.tall-img { aspect-ratio: 4 / 5; }
.split.reverse > img { order: -1; }
.intro { max-width: 46ch; margin: 0 auto; }
.groups { background: var(--paper); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.tags span { border: 1px solid var(--sand); background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.facts { display: grid; grid-template-columns: 90px 1fr; gap: 10px 16px; margin: 0 0 8px; padding: 16px 0; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.facts dt { color: var(--muted); font-size: 14px; padding-top: 2px; }
.facts dd { margin: 0; font-weight: 500; }
.events .event-list { margin-top: 48px; }

/* Kaardid */
.offer .cards { margin-top: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31, 29, 24, .1); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card h3 { margin: 20px 20px 8px; }
.card p { margin: 0 20px 16px; color: var(--muted); font-size: 16px; flex: 1; }
.card .link { margin: 0 20px 22px; align-self: flex-start; }

/* Lugu */
.story { background: var(--paper); }
.story-inner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; max-width: 980px; }
.logo.big { width: 100%; aspect-ratio: 354 / 402; }
.story p { font-size: 19px; }
.sign { font-family: var(--serif); font-style: italic; font-size: 22px !important; color: var(--moss); }

/* Fotograafile */
.photog { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.photog-img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.price { font-family: var(--serif); font-size: 26px; }
.price strong { font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { padding: 9px 0 9px 32px; border-bottom: 1px solid var(--sand); position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(-45deg); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; }
.steps li::before { content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--straw); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; }

/* Pildinurgad */
.corners { background: var(--ink); color: var(--cream); }
.corners .muted, .corners .eyebrow { color: #b9b1a1; }
.corner-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 14px; margin-top: 40px; }
.corner-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.corner-grid figure.tall { grid-row: span 2; }
.corner-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.corner-grid figure:hover img { transform: scale(1.04); }
.corner-grid figcaption {
  position: absolute; left: 12px; bottom: 12px; background: var(--cream); color: var(--ink);
  font-family: var(--serif); font-size: 17px; padding: 4px 14px; border-radius: 999px;
}

/* Sündmused */
.event-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.event { display: grid; grid-template-columns: 84px 1fr auto; gap: 24px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 22px 24px; }
.event .date { text-align: center; font-family: var(--serif); line-height: 1; border-right: 1px solid var(--sand); padding-right: 20px; }
.event .date b { display: block; font-size: 34px; font-weight: 600; }
.event .date span { font-size: 15px; color: var(--muted); }
.event h3 { margin-bottom: 4px; }
.event p { margin: 0; color: var(--muted); }
.event .meta { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--moss); }
.event.past { opacity: .6; }

/* Põhus tehtud */
.made { padding-bottom: clamp(48px, 8vw, 96px); }
.made-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 32px var(--gutter) 24px; scrollbar-width: thin; }
.made-strip img { height: clamp(280px, 40vw, 440px); width: auto; border-radius: var(--radius); scroll-snap-align: center; flex: none; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; padding-top: 0; }
.contact dl { display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; margin: 28px 0 0; }
.contact dt { color: var(--muted); font-size: 14px; padding-top: 3px; }
.contact dd { margin: 0; font-weight: 500; }
.enquiry { background: var(--paper); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.enquiry label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); flex: 1; min-width: 0; }
.enquiry input, .enquiry textarea {
  font: 16px var(--sans); color: var(--ink); background: var(--cream); border: 1px solid var(--sand); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.enquiry input:focus, .enquiry textarea:focus { outline: 2px solid var(--straw); border-color: transparent; }
.enquiry fieldset { border: 0; padding: 0; margin: 0; }
.enquiry legend { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.enquiry .row { display: flex; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { flex: none; position: relative; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--sand); border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 15px; cursor: pointer; }
.chips input:checked + span { background: var(--moss); border-color: var(--moss); color: var(--cream); }
.chips input:focus-visible + span { outline: 2px solid var(--straw); }

/* Jalus */
.site-foot { background: var(--moss); color: var(--cream); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot-inner p { margin: 0; }
.foot-inner a { text-decoration-color: var(--straw); }
.foot-logo { width: 72px; height: 70px; background: url(/img/karu-160.webp) center / contain no-repeat; }

/* Tahvel ja telefon */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1060px) {
  .menu-btn {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border: 0; background: none; cursor: pointer;
  }
  .menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-btn[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--sand);
    display: none; font-size: 20px; font-family: var(--serif);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--sand); }
  .nav .btn { margin-top: 16px; font-family: var(--sans); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand-karu { width: 60px; height: 58px; }
  .brand-name { font-size: 20px; }

  .hero { min-height: calc(100svh - 96px); }
  .hero img { object-position: center; }
  .hero::after { background: linear-gradient(180deg, rgba(20, 18, 12, 0) 25%, rgba(20, 18, 12, .82) 100%); }
  .hero .actions .btn { flex: 1 1 100%; }
  .split, .photog, .contact, .story-inner { grid-template-columns: 1fr; }
  .split > img, .split > img.tall-img { order: -1; aspect-ratio: 4 / 3; }
  .split .actions .btn { flex: 1 1 100%; }
  .story-inner .logo.big { width: 170px; margin: 0 auto; }
  .story h2 { text-align: center; }
  .story p { font-size: 17px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { flex-direction: row; }
  .card img { width: 38%; aspect-ratio: auto; flex: none; }
  .card > :not(img) { margin-left: 16px !important; margin-right: 16px !important; }
  .card { display: grid; grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
  .card h3 { hyphens: auto; overflow-wrap: break-word; }
  .card img { grid-row: 1 / 4; width: 100%; height: 100%; }
  .card h3 { margin-top: 16px; font-size: 20px; }
  .card p { font-size: 15px; margin-bottom: 10px; }
  .card .link { margin-bottom: 16px; font-size: 15px; justify-self: start; }
  .photog .actions .btn { flex: 1 1 100%; }
  .corner-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 10px; }
  .event { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .event .date { padding-right: 14px; }
  .event .date b { font-size: 28px; }
  .event .btn { grid-column: 1 / -1; }
  .contact dl { grid-template-columns: 90px 1fr; }
  .enquiry .row { flex-wrap: wrap; }
}

/* KKK */
.faq { max-width: 860px; }
.faq-list { margin-top: 28px; border-top: 1px solid var(--sand); }
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-size: 21px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; color: var(--moss); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 70ch; }
.foot-inner address { font-style: normal; }

/* Vintage pood */
.nav a[aria-current=page] { color: var(--moss); text-decoration: underline; text-decoration-color: var(--straw); text-underline-offset: 6px; }
.shop-hero { padding-bottom: 32px; }
.shop-hero h1 { font-size: clamp(42px, 7vw, 76px); }
.shop-hero .lead { font-size: clamp(18px, 2vw, 21px); max-width: 44ch; }
.shop-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.shop-facts li { background: var(--paper); border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.shop-facts b { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; }
.shop { padding-top: 0; }
.filters { margin-bottom: 24px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
.products { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product[hidden] { display: none; }
.product img, .product .ph { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product .ph { display: grid; place-items: center; background: var(--sand); }
.product .ph .logo { width: 45%; height: 55%; background: color-mix(in srgb, var(--ink) 70%, transparent); }
.product .cat { margin: 16px 18px 2px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.product h2 { font-size: 22px; margin: 0 18px 6px; }
.product .desc { margin: 0 18px 14px; color: var(--muted); font-size: 15px; flex: 1; }
.product .buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: auto 18px 18px; }
.product .price { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.product.sold img { filter: grayscale(.7); opacity: .7; }
.product.sold .price { text-decoration: line-through; color: var(--muted); }
.badge-sold { background: var(--ink); color: var(--cream); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.empty { margin-top: 24px; }
.how-steps { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-steps li { counter-increment: s; background: var(--paper); border-radius: var(--radius); padding: 24px; }
.how-steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--straw); font-family: var(--serif); font-weight: 600; margin-bottom: 14px; }
.how-steps b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 400; margin-bottom: 4px; }
.how-steps span { color: var(--muted); }
.shop-page .contact { padding-top: clamp(64px, 10vw, 120px); }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.teaser-grid img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 760px) {
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product h2 { font-size: 17px; margin: 0 12px 4px; }
  .product .cat { margin: 12px 12px 2px; font-size: 11px; }
  .product .desc { display: none; }
  .product .buy { flex-direction: column; align-items: stretch; margin: auto 12px 12px; }
  .product .price { font-size: 19px; }
  .product .buy .btn { width: 100%; }
  .badge-sold { text-align: center; }
  .how-steps { grid-template-columns: 1fr; }
  .shop-facts li { flex: 1 1 100%; }
  .split > .teaser-grid { order: -1; }
}
.product .price.ask { font-size: 16px; font-family: var(--sans); }

/* Karu sildid */
.karu { display: inline-block; width: 34px; height: 33px; flex: none; background: url(/img/karu-160.webp) center / contain no-repeat; }
.big-karu, .pidu-lahing .karu { background-image: url(/img/karu-480.webp); }
.product-img { position: relative; }
.karu-note {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 20px);
  background: var(--cream); color: var(--ink); border-radius: 999px; padding: 4px 12px 4px 6px;
  font: 600 19px/1.1 "Caveat", var(--serif); transform: rotate(-2deg); box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.badge-reserved { background: var(--straw); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.product.broneeritud img, .product.muudud img { filter: grayscale(.6); opacity: .75; }
.product.muudud .price { text-decoration: line-through; color: var(--muted); }
.item-story { margin: 0 18px 12px; font-size: 15px; }
.item-story summary { cursor: pointer; font-weight: 600; color: var(--moss); }
.item-story p { margin: 6px 0 0; color: var(--muted); }
.products-fallback { grid-column: 1 / -1; padding: 32px; text-align: center; background: var(--paper); border-radius: var(--radius); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reserved-ok { background: var(--paper); border-radius: var(--radius); padding: 32px; text-align: center; }
.reserved-ok .big-karu { width: 150px; height: 145px; margin-bottom: 12px; }
.reserved-ok h3 { font-size: 26px; }

/* Osta pildilt */
.scene-wrap { padding-top: 0; }
.scene-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.scene-head h2 { margin-bottom: 4px; }
.scene-head p:last-child { margin: 0; }
.scene { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); max-width: 1180px; }
.scene-frame { position: relative; }
.scene-img { width: 100%; height: auto; display: block; } /* ei kärbi: täpid on % pildist */
.spots { position: absolute; inset: 0; }
.spot {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 3px solid #fff; background: var(--pumpkin); box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.spot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid #fff; animation: pulse 2s infinite; }
.spot.taken { background: #8d877b; }
.spot.taken::after { animation: none; display: none; }
.spot.open { background: var(--moss); transform: scale(1.15); }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .spot::after { animation: none; } }
.scene-pop {
  position: absolute; z-index: 3; width: min(340px, 80%); background: var(--paper); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3); display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px;
}
.scene-pop[hidden] { display: none; }
.scene-pop img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; }
.scene-pop h3 { font-size: 20px; margin-bottom: 4px; }
.scene-pop .muted { font-size: 14px; margin-bottom: 8px; }
.scene-pop .buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.scene-pop .price { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.pop-note { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font: 600 19px/1 "Caveat", var(--serif); }
.pop-note .karu { width: 30px; height: 29px; }
.pop-close { position: absolute; top: 4px; right: 8px; border: 0; background: none; font-size: 24px; cursor: pointer; color: var(--muted); }
@media (max-width: 760px) {
  /* Telefonis avaneb kaart pildi alla, mitte pildi peale */
  .scene-pop { position: static; width: auto; border-radius: 0 0 var(--radius) var(--radius); box-shadow: none; border-top: 1px solid var(--sand); grid-template-columns: 90px 1fr; }
  .scene-pop img { width: 90px; height: 90px; }
  .karu-note { font-size: 16px; left: 6px; bottom: 6px; }
  .karu-note .karu { width: 26px; height: 25px; }
  .item-story { display: none; }
}

/* ---------- Kõrvitsapidu ---------- */
.event-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  background: #e8a33d; color: #2b1d0e; text-decoration: none; padding: 9px var(--gutter); font-size: 15px;
}
.event-bar[hidden] { display: none; }
.event-bar:hover .eb-go { text-decoration: underline; }
.eb-emoji { font-size: 20px; line-height: 1; }
.eb-count { background: #2b1d0e; color: #ffd66b; border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.eb-count.live { background: var(--pumpkin); color: #fff; }
.eb-go { font-weight: 700; }
.nav-hot { color: var(--pumpkin) !important; font-weight: 600; }

.featured { background: #2f2a22; color: var(--cream); padding: clamp(48px, 8vw, 96px) 0; }
.featured .eyebrow, .featured .muted { color: #c9bfa8; }
.featured-inner { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.featured-poster img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); transform: rotate(-2deg); transition: transform .3s; }
.featured-poster:hover img { transform: rotate(0) scale(1.02); }
.featured h2 { font-size: clamp(44px, 7vw, 84px); color: #ffd66b; margin-bottom: .15em; }
.featured-when { font-size: 20px; margin-bottom: 10px; }
.featured .btn:not(.ghost) { background: #ffd66b; color: #2b1d0e; border-color: #ffd66b; }
.featured .btn.ghost { color: var(--cream); }
.pidu-count { display: inline-block; font: 600 26px/1.1 "Caveat", var(--serif); background: var(--pumpkin); color: #fff; padding: 4px 16px; border-radius: 999px; transform: rotate(-2deg); margin: 4px 0 18px; }
.pidu-count:empty { display: none; }
.pidu-count.live { animation: wiggle 1.6s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .pidu-count.live { animation: none; } }
.pidu-tags { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pidu-tags li { border: 1px solid currentColor; border-radius: 999px; padding: 4px 14px; font-size: 15px; opacity: .9; }
.pidu-lahing { display: flex; align-items: center; gap: 10px; font: 600 28px/1.1 "Caveat", var(--serif); margin-bottom: 12px; }
.pidu-lahing .karu { width: 58px; height: 56px; }
.event.hot { background: #fff3dc; border: 2px solid #e8a33d; }

.pidu { display: grid; grid-template-columns: 1fr minmax(240px, 420px); gap: clamp(28px, 6vw, 72px); align-items: center; }
.pidu h1 { font-size: clamp(52px, 9vw, 104px); color: var(--pumpkin); margin-bottom: .1em; hyphens: manual; }
.pidu-when { font-size: 21px; margin-bottom: 8px; }
.pidu-poster img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 20px 50px rgba(31, 29, 24, .3); }
.pidu .facts { margin-bottom: 20px; }
.pidu-more { background: var(--paper); }
.pidu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 36px 0; }
.pidu-grid article { background: var(--cream); border-radius: var(--radius); padding: 22px; }
.pidu-grid h3 { color: var(--pumpkin); }
.pidu-grid p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .pidu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .event-bar { font-size: 14px; gap: 6px 8px; padding: 8px 12px; }
  .eb-go { display: none; }
  .featured-inner, .pidu { grid-template-columns: 1fr; }
  .featured-poster { max-width: 260px; margin: 0 auto; }
  .featured .actions .btn, .pidu .actions .btn { flex: 1 1 100%; }
  .pidu-poster { order: -1; max-width: 320px; margin: 0 auto; }
  .pidu-grid { grid-template-columns: 1fr; }
  .featured-when, .pidu-when { font-size: 18px; }
}

/* Toimunud Kasvuhoonekolmapäevad */
.season-past { margin-top: 40px; }
.season-past h3 { font-size: 24px; }
.season-past h3 .muted { font-family: var(--sans); font-size: 15px; }
.past-list { list-style: none; padding: 0; margin: 16px 0; border-left: 2px solid var(--sand); }
.past-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0 12px 22px; position: relative; }
.past-list li::before { content: ""; position: absolute; left: -7px; top: 19px; width: 12px; height: 12px; border-radius: 50%; background: var(--straw); }
.past-list time { font-family: var(--serif); font-weight: 600; color: var(--moss); padding-top: 1px; }
.past-list div { color: var(--muted); }
.past-list b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .past-list li { grid-template-columns: 1fr; gap: 2px; } }

@media (max-width: 760px) { .brand-karu { width: 50px; height: 48px; } .brand-name { font-size: 19px; } }

/* Grupi plokk: fotorida */
.group-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.group-gallery figure { margin: 0; }
.group-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.group-gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.photo-credit { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 760px) { .group-gallery { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; } }

/* Kontakt: helistamise kaart (päringuvormi asemel, kuni e-post on paigas) */
.call-card { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.brand-karu.big { width: 120px; height: 116px; margin-bottom: 6px; }
.call-label { margin: 0; color: var(--muted); }
.call-number { font: 600 clamp(34px, 5vw, 46px)/1.1 var(--serif); text-decoration: none; color: var(--moss); }
.call-card .actions { justify-content: center; margin-top: 14px; }

/* Küpsiste nõusoleku riba */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 100;
  max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 16px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--sand); border-radius: 16px;
  padding: 14px 18px; box-shadow: 0 14px 40px rgba(31, 29, 24, .22);
}
.cookie-bar p { margin: 0; font-size: 14px; flex: 1; }
.cookie-karu { width: 46px; height: 44px; flex: none; background: url(/img/karu-160.webp) center / contain no-repeat; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 600px) {
  .cookie-bar { flex-wrap: wrap; gap: 10px; padding: 14px; }
  .cookie-karu { display: none; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* Saabumine: soovituslik parkla ja jalgtee kaardil */
.saabumine { background: var(--paper); }
.saabumine-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.saabumine-steps { padding-left: 1.3em; margin: 18px 0; display: grid; gap: 8px; }
.p-mark, .kaart-p { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #2f5d9b; color: #fff; font: 700 14px/1 var(--sans, sans-serif); vertical-align: -3px; }
.kaart-p { width: 34px !important; height: 34px !important; font-size: 20px; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.kaart-karu { filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.kaart { width: 100%; aspect-ratio: 4 / 3; min-height: 300px; border-radius: var(--radius); overflow: hidden; background: #e8e1d2; z-index: 0; }
.kaart-viga::after { content: "Kaarti ei õnnestunud laadida — kasuta nuppe kõrval."; display: grid; place-items: center; height: 100%; padding: 20px; text-align: center; color: var(--muted); }
@media (max-width: 760px) { .saabumine-inner { grid-template-columns: minmax(0, 1fr); } .kaart { aspect-ratio: 1 / 1; } }
.saabumine + .contact { padding-top: clamp(64px, 10vw, 120px); }

/* Kõrvitsapeo kava ja õpitubadesse registreerimine */
.kava { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 32px 0; }
.kava article { background: var(--cream); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.kava h3 { color: var(--pumpkin); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.kava h3 span { font: 500 15px/1 var(--sans, sans-serif); color: var(--muted); white-space: nowrap; }
.kava ul { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.kava li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.kava time { font-weight: 600; font-variant-numeric: tabular-nums; }
.kava i { font-style: normal; color: var(--muted); }
.kava i::before { content: "· "; }
.kava .reg { display: inline-block; font-size: 13px; background: var(--straw, #c9a85c); color: #2b2a22; border-radius: 999px; padding: 1px 9px; text-decoration: none; white-space: nowrap; }
.registreeri { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.reg-list { padding-left: 1.2em; display: grid; gap: 14px; margin: 18px 0 0; }
.reg-card { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); text-align: center; display: grid; gap: 12px; justify-items: center; }
.reg-card p { margin: 0; }
.reg-alt { border-top: 1px solid var(--sand); padding-top: 14px; width: 100%; }
@media (max-width: 760px) { .kava, .registreeri { grid-template-columns: minmax(0, 1fr); } .kava li { grid-template-columns: 84px minmax(0, 1fr); } }

/* Peidetud elemendid (nt sündmuse reklaam pärast pidu) jäävad peitu ka siis, kui klassil on oma display */
[hidden] { display: none !important; }

/* QR-sildi leht (pohk.eu/e/KOOD): ese, hind ja lugu telefonis */
.silt-head-text { font: 600 20px/1 var(--serif); color: var(--moss); }
.silt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: start; padding-block: clamp(20px, 5vw, 56px); }
.silt-photo { position: relative; }
.silt-photo img, .silt-photo .ph { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--paper); display: grid; place-items: center; }
.silt-info h1 { font-size: clamp(30px, 6vw, 44px); margin: 4px 0 10px; }
.silt-price { font: 600 clamp(30px, 7vw, 40px)/1.1 var(--serif); color: var(--pumpkin); margin: 0 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.silt-price.sold { text-decoration: line-through; color: var(--muted); }
.silt-state { font: 600 14px/1 var(--sans, sans-serif); text-decoration: none; display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); }
.silt-state.ok { background: var(--moss); color: var(--cream); }
.silt-state.sold { background: var(--ink); color: var(--cream); }
.silt-desc { font-size: 18px; }
.silt-story { background: var(--paper); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }
.silt-story h2 { font-size: 20px; margin: 0 0 6px; }
.silt-story p { margin: 0; white-space: pre-line; }
.silt-buy { border-top: 1px solid var(--sand); margin-top: 20px; padding-top: 16px; }
.silt-code { margin-top: 22px; }
.silt-empty { grid-column: 1 / -1; text-align: center; max-width: 520px; margin: 0 auto; display: grid; gap: 10px; justify-items: center; padding-block: 24px; }
@media (max-width: 760px) { .silt { grid-template-columns: minmax(0, 1fr); } }

/* Päringuvorm kontaktis */
.enquiry h3 { margin: 0; }
.enquiry textarea { resize: vertical; }
.enquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-msg { margin: 0; font-weight: 600; }
.enquiry-msg:empty { display: none; }
.enquiry-msg.ok { color: var(--moss); }
.enquiry-msg.err { color: var(--pumpkin); }
.enquiry button[disabled] { opacity: .6; cursor: progress; }

/* Hõljuv kõrvits: kutse Kõrvitsapeole avalehe nurgas (kuni peo lõpuni) */
.korvits { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: flex-start; animation: korvits-sisse .5s ease-out both; }
.korvits[hidden] { display: none !important; }
.korvits-link { display: flex; align-items: center; gap: 10px; background: var(--paper); color: var(--ink); text-decoration: none; border: 1px solid var(--sand); border-radius: 999px; padding: 6px 16px 6px 6px; box-shadow: 0 10px 30px rgba(31, 29, 24, .2); transition: transform .2s; }
.korvits-link:hover { transform: translateY(-2px); }
.korvits-pilt { width: 52px; height: 49px; flex: none; transform-origin: 50% 90%; animation: korvits-ootsub 3.2s ease-in-out infinite; }
.korvits-pilt svg { width: 100%; height: 100%; display: block; }
.korvits-tekst { display: flex; flex-direction: column; line-height: 1.25; font-size: 13px; color: var(--muted); }
.korvits-tekst b { font: 600 17px/1.2 var(--serif); color: var(--pumpkin); }
.korvits-sulge { margin-left: -12px; margin-top: -8px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--sand); background: var(--paper); color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(31, 29, 24, .15); }
.korvits-sulge:hover { color: var(--ink); }
@keyframes korvits-ootsub { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-4px); } }
@keyframes korvits-sisse { from { opacity: 0; transform: translateY(24px) scale(.9); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .korvits-pilt { width: 42px; height: 40px; } .korvits-tekst { font-size: 12px; } .korvits-tekst b { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .korvits, .korvits-pilt { animation: none; } }
