/* ============================================================
   Darėja — Variant A (editorial). Plugin-free theme styles.
   ============================================================ */

:root {
	--ink:    #0F0F0F;
	--paper:  #FAF6EC;
	--bg:     #E8E4DA;
	--muted:  #3A332B;
	--faint:  #5E564B;
	--line:   #0F0F0F;
	--accent-a: #B8D838;
	--accent-b: #E8C53A;
	--accent: linear-gradient(135deg, #B8D838 0%, #E8C53A 100%);
	--maxw: 1380px;
	--pad: clamp(20px, 5vw, 56px);
	--mono: 'JetBrains Mono', ui-monospace, monospace;
	--sans: 'Manrope', system-ui, sans-serif;
	--shadow: 8px 8px 0 var(--ink);
	--radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

/* --- a11y helpers --- */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 100;
	background: var(--ink); color: var(--paper);
	padding: 10px 16px; border-radius: 0 0 6px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* --- typography primitives --- */
.eyebrow {
	font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
	text-transform: uppercase; color: var(--faint);
}
.eyebrow--ink  { color: var(--ink); }
.eyebrow--light { color: rgba(250,246,236,.7); }

.display {
	font-family: var(--sans); font-weight: 800; letter-spacing: -1px;
	line-height: .98; margin: 6px 0 0;
	font-size: clamp(34px, 5vw, 56px);
	overflow-wrap: break-word;
}
.display--xl { font-size: clamp(44px, 8vw, 92px); letter-spacing: -2px; line-height: .92; }

.lead { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; color: var(--muted); max-width: 56ch; }
.lead--ink   { color: var(--ink); }
.lead--light { color: rgba(250,246,236,.8); }

.link-underline {
	display: inline-block; margin-top: 22px; font-weight: 600;
	text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid var(--ink);
}

/* --- buttons --- */
.btn {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--sans); font-weight: 600; font-size: 14px;
	padding: 14px 24px; border-radius: 30px; text-decoration: none;
	border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--sm { padding: 9px 15px; font-size: 12px; font-weight: 700; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--accent { background: var(--accent); color: var(--ink); border-color: var(--ink); font-weight: 800; }
.btn--accent:hover { transform: translateY(-2px); }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* --- tag pills --- */
.tagpill {
	font-family: var(--mono); font-size: 10px; letter-spacing: 1px;
	padding: 3px 9px; border-radius: 30px; display: inline-block;
}
.tagpill--dark   { background: rgba(15,15,15,.85); color: var(--paper); }
.tagpill--accent { background: var(--accent); color: var(--ink); border: 1px solid var(--ink); font-weight: 700; }

/* ============================================================
   Masthead
   ============================================================ */
.masthead { background: var(--ink); color: var(--paper); }
.masthead__inner {
	max-width: var(--maxw); margin: 0 auto; padding: 16px var(--pad);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.masthead__logo img { height: 38px; width: auto; }
.masthead__nav { display: flex; align-items: center; gap: 28px; }
.navlink {
	font-size: 14px; font-weight: 500; text-decoration: none; color: rgba(250,246,236,.7);
	position: relative; padding: 4px 0; transition: color .15s ease;
}
.navlink:hover { color: var(--paper); }
.navlink.is-active { color: var(--paper); }
.navlink.is-active::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent-a);
}
.navlink--cta { border: 1px solid var(--paper); padding: 6px 14px; border-radius: 30px; color: var(--paper); }
.navlink--cta.is-active { background: var(--accent-a); color: var(--ink); border-color: var(--accent-a); }
.navlink--cta.is-active::after { display: none; }

/* language switcher */
.langswitch { position: relative; }
.langswitch__current {
	background: transparent; color: var(--paper); border: 1px solid rgba(250,246,236,.35);
	font-family: var(--mono); font-size: 12px; padding: 6px 12px; border-radius: 30px; cursor: pointer;
}
.langswitch__menu {
	position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
	background: var(--paper); border: 1px solid var(--ink); border-radius: 8px; min-width: 64px;
	display: none; z-index: 30;
}
.langswitch.is-open .langswitch__menu { display: block; }
.langswitch__menu a {
	display: block; padding: 6px 10px; font-family: var(--mono); font-size: 12px;
	color: var(--ink); text-decoration: none; border-radius: 5px;
}
.langswitch__menu a:hover { background: var(--bg); }

/* mobile toggle */
.masthead__toggle {
	display: none; flex-direction: column; gap: 4px; background: transparent;
	border: 0; cursor: pointer; padding: 6px;
}
.masthead__toggle span { width: 22px; height: 2px; background: var(--paper); display: block; }

/* ============================================================
   Sections / layout
   ============================================================ */
.site-main { display: block; }
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--pad); border-bottom: 1px solid var(--line); }
.section--narrow { max-width: 820px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.section__note { font-size: 13px; color: var(--muted); max-width: 320px; text-align: right; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.managed-note { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--faint); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-a); border: 1px solid var(--ink); }
.empty { font-size: 16px; color: var(--muted); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
	max-width: var(--maxw); margin: 0 auto;
	padding: clamp(40px, 6vw, 72px) var(--pad);
	border-bottom: 1px solid var(--line);
	display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
	gap: clamp(24px, 4vw, 56px);
}
.hero__media { position: relative; min-height: 320px; overflow: hidden; border-radius: 4px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag { position: absolute; bottom: 16px; left: 16px; }
.hero__copy { padding: 0; display: flex; flex-direction: column; justify-content: center; }
.hero--b2b { grid-template-columns: 1.1fr 1fr; }

.stats { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
.stat__n { font-size: clamp(34px, 4vw, 48px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stat__l { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.3; }

/* ============================================================
   Release cards
   ============================================================ */
.card__media { position: relative; aspect-ratio: 3/4; border-radius: 3px; overflow: hidden; background: var(--bg); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__fresh { position: absolute; top: 12px; left: 12px; }
.card__tag   { position: absolute; bottom: 12px; left: 12px; }
.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 14px; }
.card__title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
.card__date { font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap; }
.card__desc { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 8px 0 0; }
.card__meta { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; margin-top: 10px; color: var(--faint); }

/* ============================================================
   Shops
   ============================================================ */
.shops-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip {
	font-family: var(--mono); font-size: 12px; padding: 7px 14px; border-radius: 30px;
	background: var(--bg); border: 1px solid var(--ink); cursor: pointer; transition: background .15s ease, color .15s ease;
}
.chip.is-active { background: var(--ink); color: var(--paper); }

.store { display: grid; grid-template-columns: 160px 1fr; gap: 22px; }
.store.is-hidden { display: none; }
.store__media { position: relative; aspect-ratio: 3/4; border-radius: 3px; overflow: hidden; background: var(--bg); }
.store__media img { width: 100%; height: 100%; object-fit: cover; }
.store__region { position: absolute; top: 10px; left: 10px; }
.store__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.store__city { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -1px; line-height: .95; margin: 0; }
.store__street { font-size: 14px; color: var(--muted); margin-top: 2px; }

.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; white-space: nowrap; padding: 4px 10px; border-radius: 30px; border: 1px solid var(--ink); }
.status .dot { background: #B7B0A4; }
.status.is-open .dot { background: var(--accent-a); }
.status.is-closed { color: var(--faint); }

.store__grid { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.store__label { font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.hours { margin: 8px 0 0; font-size: 13px; }
.hours > div { display: flex; justify-content: space-between; }
.hours dt, .hours dd { margin: 0; }
.hours dd { font-family: var(--mono); }
.hours .muted { color: #8A8278; }
.refill { margin-top: 8px; font-family: var(--mono); font-size: 13px; line-height: 1.7; }
.store__actions { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; }

/* drop-off strip */
.dropoff { background: var(--accent); display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.dropoff__cta { text-align: right; }

/* ============================================================
   B2B: FAQ / steps / contact
   ============================================================ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq__intro { position: sticky; top: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); padding: 22px 0; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; background: var(--ink); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.qa__icon::before { width: 12px; height: 2px; }
.qa__icon::after { width: 2px; height: 12px; transition: transform .2s ease; }
.qa[open] .qa__icon { background: var(--ink); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--paper); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.qa p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; max-width: 600px; }

.steps__grid { margin-top: 36px; }
.step { padding-top: 18px; border-top: 2px solid var(--ink); }
.step__n { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--faint); }
.step__t { font-size: 28px; font-weight: 800; margin-top: 8px; }
.step__d { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; }

.contact { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact .display { color: var(--paper); }
.contact__direct { margin-top: 28px; padding-top: 22px; border-top: 1px solid #2A2A2A; display: grid; gap: 14px; font-size: 14px; }
.contact__direct .store__label { color: rgba(250,246,236,.6); display: block; margin-bottom: 4px; }
.contact__direct a { color: var(--paper); text-decoration: none; }

/* form */
.cform { display: flex; flex-direction: column; gap: 16px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform label { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: rgba(250,246,236,.6); text-transform: uppercase; }
.cform input, .cform textarea {
	font-family: var(--sans); font-size: 14px; color: var(--paper);
	background: transparent; border: 1px solid var(--faint); border-radius: 4px; padding: 13px 15px;
	text-transform: none; letter-spacing: normal;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--accent-a); }
.cform textarea { resize: vertical; }
.cform__interest { border: 0; padding: 0; margin: 0; }
.cform__interest legend { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: rgba(250,246,236,.6); text-transform: uppercase; margin-bottom: 8px; }
.checkpill { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; cursor: pointer; }
.checkpill { margin-right: 6px; }
.checkpill span { font-family: var(--sans); font-size: 13px; color: var(--paper); padding: 8px 14px; border: 1px solid var(--faint); border-radius: 30px; text-transform: none; letter-spacing: normal; }
.checkpill input { position: absolute; opacity: 0; }
.checkpill input:checked + span { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.consent { flex-direction: row !important; align-items: flex-start; gap: 10px; font-family: var(--sans) !important; font-size: 13px !important; letter-spacing: normal !important; text-transform: none !important; color: rgba(250,246,236,.8) !important; }
.consent input { flex-shrink: 0; margin-top: 3px; }
.cform .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }

.formmsg { padding: 14px 16px; border-radius: 6px; font-size: 14px; }
.formmsg--ok  { background: var(--accent); color: var(--ink); }
.formmsg--err { background: #6b1f1f; color: #fff; }

/* ============================================================
   Careers (jobs) + Premises
   ============================================================ */
.jobs { margin-top: 32px; border-top: 1px solid var(--line); }
.job { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.job__title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.job__rows { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 12px; }
.job__rows > div { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 600; }
.job__rows .store__label { font-weight: 800; }
.job__desc { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 12px 0 0; max-width: 640px; }
.job__cta { flex-shrink: 0; }
.tagpill--soft { background: var(--bg); border: 1px solid var(--ink); color: var(--ink); }

.reqlist { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; max-width: 720px; }
.reqlist li { display: flex; align-items: baseline; gap: 12px; font-size: clamp(16px, 1.8vw, 20px); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.reqlist .dot { flex-shrink: 0; }
.contact__direct--big { font-size: 18px; }

/* premises cards */
.pcards { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.pcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--paper); box-shadow: var(--shadow); }
.pcard__city { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.pcard__rows { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.pcard__rows > div { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 600; }
.pcard__rows .store__label { font-weight: 800; }
.pcard__note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

@media (max-width: 720px) {
	.job { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: var(--paper); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 48px var(--pad); display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; align-items: flex-start; }
.footer__brand img { height: 32px; width: auto; margin-bottom: 14px; }
.footer__brand p { font-size: 13px; line-height: 1.5; color: rgba(250,246,236,.6); max-width: 280px; }
.footer__h { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: rgba(250,246,236,.6); margin: 0 0 10px; font-weight: 500; text-transform: uppercase; }
.footer__col a { display: block; font-size: 13px; line-height: 2; color: var(--paper); text-decoration: none; }
.footer__col a:hover { color: var(--accent-a); }
.footer__legal { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--pad) 40px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 10px; color: rgba(250,246,236,.6); border-top: 1px solid #2A2A2A; }

/* ============================================================
   Language banner
   ============================================================ */
.langbanner {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
	max-width: 560px; margin: 0 auto;
	background: var(--paper); border: 1px solid var(--ink); border-radius: 10px;
	box-shadow: var(--shadow);
	padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	font-size: 14px;
}
.langbanner span { flex: 1; min-width: 180px; }

/* ============================================================
   Prose / 404
   ============================================================ */
.prose h1 { margin-top: 8px; }
.prose p { color: var(--muted); }
.notfound { text-align: center; }
.notfound .eyebrow { display: block; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
	.hero, .hero--b2b { grid-template-columns: 1fr; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.grid--2 { grid-template-columns: 1fr; }
	.shops-head { grid-template-columns: 1fr; gap: 20px; }
	.faq { grid-template-columns: 1fr; gap: 32px; }
	.faq__intro { position: static; }
	.contact { grid-template-columns: 1fr; gap: 32px; }
	.dropoff { grid-template-columns: 1fr; gap: 20px; }
	.dropoff__cta { text-align: left; }
	.footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	.masthead__toggle { display: flex; }
	.masthead__nav {
		position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
		background: var(--ink); flex-direction: column; align-items: flex-start;
		gap: 18px; padding: 20px var(--pad); border-top: 1px solid #2A2A2A;
		display: none;
	}
	.masthead { position: relative; }
	.masthead__nav.is-open { display: flex; }
	/* mobile: single solution — inline language links, no dropdown toggle */
	.langswitch__current { display: none; }
	.langswitch__menu,
	.langswitch.is-open .langswitch__menu { position: static; display: flex; gap: 6px; border: 0; background: transparent; padding: 0; }
	.langswitch__menu a { color: var(--paper); border: 1px solid rgba(250,246,236,.35); }
	.section__note { text-align: left; }
	.section__head { flex-direction: column; align-items: flex-start; }
	.grid--4 { grid-template-columns: 1fr 1fr; gap: 16px; }
	.store { grid-template-columns: 100px 1fr; gap: 14px; }
	.store__grid { grid-template-columns: 1fr; }
	.footer__inner { grid-template-columns: 1fr; }
	.footer__legal { flex-direction: column; }
}

@media (max-width: 420px) {
	.grid--4 { grid-template-columns: 1fr; }
	.cform__row { grid-template-columns: 1fr; }
	.stats { gap: 18px 16px; } /* stays 2x2 — short values fit even on narrow phones */
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
