/* Edvaris Studio design kit: shared styles for every example design. Colours and fonts come from each design's theme.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
.has-bar { --bar: 44px; }
html:has(.has-bar) { scroll-padding-top: 134px; }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.12; letter-spacing: var(--head-spacing); text-transform: var(--head-case); margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.k-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.k-skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--surface); color: var(--text); padding: 8px 12px; }
.k-skip:focus { left: 12px; }
.k-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Studio bar (demo only) */
.studio-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--bar); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; background: #0B1F3A; color: #fff; font: 500 14px/1.3 system-ui, sans-serif; }
.studio-bar p { margin: 0; }
.studio-bar .sb-links { display: flex; gap: 14px; flex: none; }
.studio-bar a { color: #fff; }
.studio-bar .sb-like { background: #FF6B4A; color: #0B1F3A; text-decoration: none; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.has-bar .k-header { top: var(--bar); }
.has-bar { padding-top: var(--bar); }
@media (max-width: 640px) {
  .has-bar { --bar: 64px; }
  .studio-bar { flex-direction: column; justify-content: center; gap: 4px; font-size: 13px; }
}

/* Buttons */
.k-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius); border: 2px solid transparent; font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.k-btn:hover { transform: translateY(-2px); }
.k-btn.primary { background: var(--primary); color: var(--on-primary); }
.k-btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.k-btn.small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.k-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Header */
.k-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.k-head { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.k-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: var(--head-weight) 20px/1.1 var(--font-head); letter-spacing: var(--head-spacing); text-transform: var(--head-case); margin: 0; }
.k-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: calc(var(--radius) * .7); background: var(--primary); color: var(--on-primary); font-size: 17px; flex: none; }
.k-nav { display: flex; align-items: center; gap: 22px; }
.k-nav a:not(.k-btn) { text-decoration: none; font-weight: 500; font-size: 15px; }
.k-nav a:not(.k-btn):hover { text-decoration: underline; }
.k-menu { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: inherit; }
.k-menu span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; }
@media (max-width: 900px) {
  .k-menu { display: block; }
  .k-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .k-nav.open { display: flex; }
  .k-nav a:not(.k-btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .k-nav .k-btn { margin-top: 14px; }
}

/* Hero */
.k-hero { background: var(--hero-bg); color: var(--hero-text); padding: clamp(48px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.k-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.k-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.k-hero .k-eyebrow { color: inherit; opacity: .85; }
.k-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; }
.k-hero-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.k-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 15px; }
.k-points li::before { content: "✓ "; color: var(--accent); }
.hero-full { padding: clamp(96px, 16vw, 200px) 0; }
.hero-full .k-hero-grid { grid-template-columns: 1fr; }
.hero-full .k-hero-text { max-width: 720px; }
.hero-full .k-hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-full { isolation: isolate; }
.hero-full .k-hero-media { z-index: -2; }
.hero-full::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--hero-bg) 0%, color-mix(in srgb, var(--hero-bg) 82%, transparent) 55%, color-mix(in srgb, var(--hero-bg) 45%, transparent) 100%); }
.hero-full .k-hero-media img { height: 100%; aspect-ratio: auto; border-radius: 0; }
.hero-centered .k-hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-centered .k-actions, .hero-centered .k-points { justify-content: center; }
.hero-centered .k-lead { margin-left: auto; margin-right: auto; }
.hero-centered .k-hero-media { width: 100%; max-width: 980px; }
.hero-centered .k-hero-media img { aspect-ratio: 16 / 8; }
.hero-arch .k-hero-media img { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .k-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-full::after { background: color-mix(in srgb, var(--hero-bg) 84%, transparent); }
  .hero-arch .k-hero-media img { aspect-ratio: 4 / 3; border-radius: 160px 160px var(--radius) var(--radius); }
}

/* Trust strip (plain text only) */
.k-trust { background: var(--dark-bg); color: var(--dark-text); padding: 16px 0; }
.k-trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-weight: 600; font-size: 15px; }
.k-trust li::before { content: "•"; margin-right: 10px; color: var(--accent); }

/* Sections */
.k-sec { padding: clamp(56px, 8vw, 96px) 0; }
.tone-alt { background: var(--alt); }
.tone-dark { background: var(--dark-bg); color: var(--dark-text); }
.tone-dark .k-card, .tone-dark .k-review, .tone-dark .k-tier { background: color-mix(in srgb, var(--dark-text) 7%, var(--dark-bg)); border-color: color-mix(in srgb, var(--dark-text) 18%, transparent); color: var(--dark-text); }
.k-sec-head { max-width: 720px; margin-bottom: 36px; }
.k-intro { font-size: 1.1rem; color: var(--muted); }
.tone-dark .k-intro, .tone-dark .k-card p, .tone-dark .k-review figcaption { color: inherit; opacity: .85; }
.tone-dark .k-eyebrow, .tone-dark .k-ticks li::before, .tone-dark .k-trust li::before { color: var(--dark-text); }
.k-note { font-size: 15px; color: var(--muted); margin-top: 20px; }
.k-small { font-size: 15px; color: var(--muted); }

.k-grid { display: grid; gap: 22px; }
.k-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.k-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.k-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .k-grid.cols-3, .k-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .k-grid.cols-2, .k-grid.cols-3, .k-grid.cols-4 { grid-template-columns: 1fr; } }

.k-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.k-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.k-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.k-card p { color: var(--muted); }
.k-card .k-price { margin-top: auto; }
.k-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: calc(var(--radius) * .8); background: color-mix(in srgb, var(--primary) 14%, var(--surface)); color: var(--text); font-size: 22px; margin-bottom: 14px; }
.k-price { font-weight: 700; color: var(--text); margin: 0; }

/* Split */
.k-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.k-split.flip .k-split-media { order: -1; }
.k-split-img { width: 100%; border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; }
.k-split .k-sec-head { margin-bottom: 18px; }
.k-split.form { align-items: start; }
@media (max-width: 860px) { .k-split { grid-template-columns: 1fr; gap: 32px; } .k-split.flip .k-split-media { order: 0; } }
.k-ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.k-ticks li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.k-ticks li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--accent); }

/* Price list */
.k-pl-group h3 { padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.k-pricelist { list-style: none; padding: 0; margin: 0 0 8px; }
.k-pricelist li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.k-pricelist small { display: block; color: var(--muted); font-size: 14px; }
.pl-price { font-weight: 700; white-space: nowrap; }

/* Tables */
.k-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.k-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.k-table th, .k-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.k-table thead th { background: var(--primary); color: var(--on-primary); }
.tone-dark .k-table-wrap, .tone-dark .k-table th, .tone-dark .k-table td { border-color: color-mix(in srgb, var(--dark-text) 20%, transparent); }

/* Chips, steps */
.k-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.k-chips li { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.k-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.k-steps li { counter-increment: step; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.k-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; margin-bottom: 14px; }
.k-steps p { color: var(--muted); margin: 0; }

/* Reviews: always labelled as examples */
.k-review { margin: 0; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.k-review-label { font-size: 12px; letter-spacing: .04em; color: var(--muted); margin: 0 0 8px; }
.tone-dark .k-review-label { color: inherit; }
.k-review blockquote { margin: 0 0 14px; font-size: 1.05rem; }
.k-review figcaption { margin-top: auto; font-weight: 600; color: var(--muted); }

/* FAQ */
.k-faq { max-width: 820px; }
.k-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.k-faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.k-faq summary::-webkit-details-marker { display: none; }
.k-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.k-faq details[open] summary::after { content: "−"; }
.k-faq details p { margin: 12px 0 0; color: var(--muted); }

/* Gallery, team, categories */
.k-gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.k-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius) * .6); }
@media (max-width: 700px) { .k-gallery { grid-template-columns: repeat(2, 1fr); } }
.k-team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.k-person { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.k-person p { margin: 0 0 6px; color: var(--muted); }
.k-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font: var(--head-weight) 26px var(--font-head); margin-bottom: 14px; }
.k-cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.k-cats a { display: block; position: relative; text-decoration: none; border-radius: var(--radius); overflow: hidden; }
.k-cats img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s; }
.k-cats a:hover img { transform: scale(1.04); }
.k-cats span { position: absolute; left: 12px; bottom: 12px; background: var(--surface); color: var(--text); padding: 6px 14px; border-radius: 999px; font-weight: 600; }
@media (max-width: 700px) { .k-cats { grid-template-columns: repeat(2, 1fr); } }

/* Products */
.k-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }
.k-product { position: relative; display: flex; flex-direction: column; }
.k-product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--radius) * .6); margin-bottom: 14px; }
.k-product h3 { font-size: 1.05rem; margin-bottom: 4px; }
.k-product .k-price { margin-bottom: 12px; }
.k-product .k-btn { margin-top: auto; align-self: flex-start; }
.k-tag { position: absolute; top: 10px; left: 10px; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.k-basket { margin-top: 28px; font-weight: 600; }
@media (max-width: 960px) { .k-products { grid-template-columns: repeat(2, 1fr); } }

/* Pricing tiers */
.k-tier { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.k-tier.featured { border: 2px solid var(--primary); box-shadow: 0 20px 40px color-mix(in srgb, var(--primary) 18%, transparent); }
.k-tier-badge { align-self: flex-start; font-size: 13px; font-weight: 700; background: var(--primary); color: var(--on-primary); padding: 3px 12px; border-radius: 999px; }
.k-tier-price span { font: var(--head-weight) 2.4rem/1 var(--font-head); }
.k-tier .k-btn { margin-top: auto; }
@media (max-width: 960px) { .k-tiers { grid-template-columns: 1fr !important; } }

/* Drawn app screen */
.k-mock { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px color-mix(in srgb, var(--text) 18%, transparent); overflow: hidden; }
.m-top { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.m-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.m-body { display: grid; grid-template-columns: 56px 1fr; min-height: 300px; }
.m-side { background: var(--alt); padding: 14px 12px; display: grid; gap: 12px; align-content: start; }
.m-side b { height: 28px; border-radius: 8px; background: color-mix(in srgb, var(--primary) 30%, var(--surface)); }
.m-side b:first-child { background: var(--primary); }
.m-main { padding: 18px; }
.m-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.m-stats div { padding: 12px; border-radius: 10px; background: var(--alt); }
.m-stats small { display: block; color: var(--muted); font-size: 12px; }
.m-stats strong { font: var(--head-weight) 1.4rem var(--font-head); }
.m-chart { height: 90px; display: flex; align-items: flex-end; gap: 8px; margin-bottom: 14px; }
.m-chart span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(var(--primary), var(--accent)); }
.m-chart .h10 { height: 10%; } .m-chart .h20 { height: 20%; } .m-chart .h30 { height: 30%; } .m-chart .h40 { height: 40%; } .m-chart .h50 { height: 50%; }
.m-chart .h60 { height: 60%; } .m-chart .h70 { height: 70%; } .m-chart .h80 { height: 80%; } .m-chart .h90 { height: 90%; } .m-chart .h100 { height: 100%; }
.m-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.m-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.m-line { height: 8px; border-radius: 4px; background: var(--line); }
.m-line.w1 { width: 40%; } .m-line.w2 { width: 55%; } .m-line.w3 { width: 30%; }
.m-pill { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 14%, var(--surface)); font-weight: 600; }

/* Menu tabs */
.k-tabs [role=tablist] { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.k-tabs [role=tab] { font: 600 16px var(--font-body); padding: 10px 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.k-tabs [role=tab][aria-selected=true] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.k-menu-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 48px; }
.k-menu-list li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.k-menu-list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.k-menu-list p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .k-menu-list { grid-template-columns: 1fr; } }

/* Visit */
.k-hours { border-collapse: collapse; margin: 8px 0 18px; min-width: 260px; }
.k-hours caption { text-align: left; font-weight: 700; margin-bottom: 6px; }
.k-hours th, .k-hours td { text-align: left; padding: 6px 24px 6px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.k-hours th { font-weight: 600; }
.k-address { font-weight: 600; }
.k-map { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-weight: 600;
  background: repeating-linear-gradient(45deg, var(--alt) 0 18px, var(--surface) 18px 36px); }
.k-map span { background: var(--surface); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); }

/* Forms (examples: they never send) */
.k-form { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.k-form-warn { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.k-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.k-field.wide { grid-column: 1 / -1; }
.k-field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.k-field input, .k-field select, .k-field textarea, .k-inline-form input { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: calc(var(--radius) * .6); background: var(--bg); color: var(--text); }
.k-field input:focus, .k-field select:focus, .k-field textarea:focus, .k-inline-form input:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.k-form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.5em; }
@media (max-width: 560px) { .k-fields { grid-template-columns: 1fr; } }

/* CTA, newsletter */
.k-cta-box { text-align: center; max-width: 760px; margin: 0 auto; }
.k-cta-box .k-actions { justify-content: center; }
.k-inline-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
@media (max-width: 520px) { .k-inline-form { flex-direction: column; } }

/* Footer */
.k-footer { background: var(--dark-bg); color: var(--dark-text); padding: 56px 0 28px; font-size: 15px; }
.k-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.k-footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-body); font-weight: 700; }
.k-footer p { margin: 0 0 8px; opacity: .9; }
.k-foot-nav { display: grid; gap: 8px; }
.k-legal, .k-made { font-size: 13px; opacity: .85; border-top: 1px solid color-mix(in srgb, var(--dark-text) 25%, transparent); padding-top: 18px; margin: 0; }
.k-made { border: 0; padding-top: 6px; }
@media (max-width: 760px) { .k-foot-grid { grid-template-columns: 1fr; } }

/* Example notice */
.k-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 120; max-width: calc(100% - 32px); background: #0B1F3A; color: #fff; padding: 12px 18px; border-radius: 12px; font: 500 15px/1.4 system-ui, sans-serif; box-shadow: 0 12px 30px rgba(0,0,0,.3); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
