/* Vievelia.shop – completely new design system 2026
   Cool Nordic Frost: ice-blue, soft slate, teal accent
   Soft large radii (20px), gentle shadows, clean vertical rhythm
   Totally different from previous Kerrilan site */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #F4F7F9;
  --bg-alt: #E8EEF2;
  --text: #1E293B;
  --muted: #64748B;
  --accent: #0D9488;
  --accent-hover: #0F766E;
  --accent-soft: #CCFBF1;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --radius: 20px;
  --radius-sm: 12px;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --max: 720px;
  --max-wide: 1100px;
  --shadow: 0 4px 24px rgba(30, 41, 59, 0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hover); }

/* ========== HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 247, 249, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.logo span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--accent); }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 30px; height: 22px; position: relative; z-index: 120;
}
.menu-toggle span {
  display: block; width: 100%; height: 2px; background: var(--text);
  position: absolute; left: 0; transition: all 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }
.menu-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  color: var(--text);
}
.hero-lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.6;
}
.hero-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ========== SECTIONS ========== */
.section { padding: 3.5rem 1.5rem; }
.section-inner { max-width: var(--max-wide); margin: 0 auto; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  text-align: center;
}
.section-intro {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto 2.8rem;
  text-align: center;
  font-size: 1.05rem;
}

/* ========== ARTICLE LIST (vertical, not grid) ========== */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 780px;
  margin: 0 auto;
}
.article-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow);
}
.article-item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.1);
}
.article-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-soft);
  line-height: 1;
  min-width: 2.2rem;
}
.article-item h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.article-item h2 a { color: var(--text); }
.article-item h2 a:hover { color: var(--accent); }
.article-item p {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 0.7rem;
}
.article-link {
  font-weight: 500;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.article-link::after { content: '→'; transition: transform 0.2s; }
.article-link:hover::after { transform: translateX(3px); }

/* ========== SINGLE ARTICLE ========== */
.article-hero {
  padding: 4rem 1.5rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.article-hero .label {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.article-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}
.article-meta {
  color: var(--muted);
  font-size: 0.93rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.article-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4.5rem;
}
.article-body p { margin-bottom: 1.45rem; font-size: 1.07rem; }
.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 2.6rem 0 1rem;
  letter-spacing: -0.02em;
}
.article-body blockquote {
  margin: 2.4rem 0;
  padding: 1.6rem 1.8rem;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-style: italic;
  color: var(--text);
  border-left: none;
}
.article-body ul { margin: 1.4rem 0 1.4rem 1.4rem; }
.article-body li { margin-bottom: 0.55rem; }
.drop-cap::first-letter {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.12em 0 0;
  color: var(--accent);
}

/* ========== ABOUT ========== */
.about-wrap {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 5.5rem;
}
.about-card h1 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.about-card .role {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.about-content p { margin-bottom: 1.4rem; font-size: 1.06rem; }

/* ========== CONTACT ========== */
.contact-wrap {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}
.contact-info h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.contact-info p { color: var(--muted); margin-bottom: 2rem; max-width: 36ch; }
.contact-details dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.contact-details dd { margin-bottom: 1.3rem; font-weight: 500; }
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.9rem 1.9rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s;
}
.btn:hover { background: var(--accent-hover); color: var(--white); }
.btn-block { width: 100%; text-align: center; }

/* ========== THANKS ========== */
.thanks-page {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.thanks-box { max-width: 480px; }
.thanks-box h1 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.thanks-box p { color: var(--muted); margin-bottom: 2rem; font-size: 1.1rem; }

/* ========== LEGAL ========== */
.legal-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
.legal-page h1 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  margin-bottom: 0.4rem;
}
.legal-page .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.3rem;
}
.legal-page h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 2.3rem 0 0.9rem;
}
.legal-page p, .legal-page li { margin-bottom: 0.95rem; font-size: 1.02rem; }
.legal-page ul { margin: 0.9rem 0 1.3rem 1.3rem; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--text);
  color: #94A3B8;
  padding: 3.5rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.footer-brand span { color: var(--accent); }
.footer-about { font-size: 0.93rem; line-height: 1.6; max-width: 30ch; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #94A3B8; font-size: 0.93rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding-top: 1.8rem;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
  color: #64748B;
}
.footer-address { line-height: 1.5; }
.footer-legal a { color: #64748B; margin-left: 1.1rem; }
.footer-legal a:hover { color: var(--white); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 2.2rem; }
  .about-card { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; top: 0; right: 0;
    width: min(290px, 82vw); height: 100vh;
    background: var(--bg);
    flex-direction: column; align-items: flex-start;
    padding: 5rem 1.8rem 2rem; gap: 1.3rem;
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 110;
  }
  .nav.open { transform: translateX(0); }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal a { margin-left: 0; margin-right: 1rem; }
  .article-item { flex-direction: column; gap: 0.6rem; }
}
