/* briellen.shop — cool graphite + ice-blue editorial 2026 */
:root {
  --bg: #EEF2F6;
  --bg-alt: #E4EAF0;
  --surface: #FFFFFF;
  --text: #1A2332;
  --text-soft: #5A6878;
  --accent: #2F6B8A;
  --accent-hover: #24566F;
  --line: #C9D4DF;
  --sand: #C4A574;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 8px 30px rgba(26, 35, 50, 0.06);
  --shadow-hover: 0 14px 40px rgba(26, 35, 50, 0.1);
  --font-serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1080px;
  --header-h: 68px;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ========== HEADER — centered logo + underline nav ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 242, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.4rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-serif); font-size: 1.45rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text); display: flex; align-items: center; gap: 0.5rem;
}
.logo-dot {
  width: 10px; height: 10px; background: var(--accent); border-radius: 50%;
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-soft);
  letter-spacing: 0.01em; position: relative; padding-bottom: 2px;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after, .nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--accent);
}

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 34px; height: 34px; position: relative;
}
.menu-toggle span {
  display: block; width: 20px; height: 1.5px; background: var(--text);
  position: absolute; left: 7px; transition: 0.22s;
}
.menu-toggle span:nth-child(1) { top: 10px; }
.menu-toggle span:nth-child(2) { top: 16px; }
.menu-toggle span:nth-child(3) { top: 22px; }
.menu-toggle.open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

main { flex: 1; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }

/* ========== HERO — centered large type ========== */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}
.hero::after {
  content: ""; display: block; width: 48px; height: 3px;
  background: var(--accent); margin: 2rem auto 0; border-radius: 2px;
}
.hero-label {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.3rem, 5.5vw, 3.5rem);
  line-height: 1.15; letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto 1.4rem;
}
.hero-lead {
  font-size: 1.12rem; color: var(--text-soft); max-width: 36rem; margin: 0 auto 2.2rem;
}
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.6rem; font-size: 0.92rem; font-weight: 600;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text); border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ========== SECTIONS ========== */
.section { padding: 3.8rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center; margin-bottom: 2.8rem; max-width: 34rem; margin-left: auto; margin-right: auto;
}
.section-head h2 {
  font-family: var(--font-serif); font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  letter-spacing: -0.02em; margin-bottom: 0.6rem;
}
.section-head p { color: var(--text-soft); font-size: 1.02rem; }

/* ========== ARTICLE CARDS — vertical stacked with left bar ========== */
.articles-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.3rem;
}
.article-card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.7rem 1.9rem 1.7rem 1.6rem;
  transition: all 0.25s; text-decoration: none; color: inherit;
  border-left: 4px solid var(--accent); position: relative;
}
.article-card:hover {
  box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: transparent;
  border-left-color: var(--accent);
}
.article-card .num {
  font-family: var(--font-serif); font-size: 0.85rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em; margin-bottom: 0.5rem;
}
.article-card h3 {
  font-family: var(--font-serif); font-size: 1.28rem; margin-bottom: 0.45rem;
  letter-spacing: -0.01em; line-height: 1.3;
}
.article-card p {
  font-size: 0.95rem; color: var(--text-soft); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ========== AUTHOR ========== */
.author-wrap {
  display: grid; grid-template-columns: 180px 1fr; gap: 2.5rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.4rem; box-shadow: var(--shadow);
}
.author-avatar {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #4A8BA8 100%);
  display: grid; place-items: center; font-family: var(--font-serif);
  font-size: 3.2rem; color: #fff; font-weight: 700;
}
.author-wrap h2 { font-family: var(--font-serif); font-size: 1.7rem; margin-bottom: 0.7rem; }
.author-wrap p { color: var(--text-soft); margin-bottom: 1.3rem; font-size: 1rem; }

/* ========== PAGE HERO ========== */
.page-hero {
  padding: 3rem 0 1.8rem; border-bottom: 1px solid var(--line); margin-bottom: 2.4rem;
}
.page-hero .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.7rem;
}
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.025em; line-height: 1.18; max-width: 18ch; margin-bottom: 0.7rem;
}
.page-hero .meta { color: var(--text-soft); font-size: 0.92rem; }

/* ========== ARTICLE BODY ========== */
.article-body { max-width: 660px; margin: 0 auto 3.8rem; }
.article-body p { margin-bottom: 1.3rem; font-size: 1.04rem; }
.article-body h2 {
  font-family: var(--font-serif); font-size: 1.45rem; margin: 2.4rem 0 0.9rem; letter-spacing: -0.015em;
}
.article-body h3 { font-family: var(--font-serif); font-size: 1.2rem; margin: 1.8rem 0 0.7rem; }
.article-body ul, .article-body ol { margin: 1.1rem 0 1.5rem 1.3rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
  margin: 2rem 0; padding: 1.3rem 1.6rem; background: var(--bg-alt);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif); font-size: 1.15rem; font-style: italic;
}
.note {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; margin: 1.8rem 0;
}
.note strong {
  display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--accent); margin-bottom: 0.4rem;
}

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-family: var(--font-serif); font-size: 1.55rem; margin-bottom: 0.9rem; }
.contact-info p { color: var(--text-soft); margin-bottom: 1.4rem; }
.contact-detail { margin-bottom: 1.1rem; }
.contact-detail span {
  display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-soft); margin-bottom: 0.2rem;
}
.contact-detail strong { font-size: 1.02rem; }
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.35rem;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 0.8rem 0.95rem; border: 1.5px solid var(--line);
  border-radius: var(--radius); background: var(--bg); font-family: inherit;
  font-size: 0.98rem; color: var(--text); 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; }
.form-error { color: #b33; font-size: 0.86rem; margin-top: 0.5rem; display: none; }

/* ========== THANKS ========== */
.thanks-wrap { text-align: center; padding: 5rem 1.4rem; max-width: 480px; margin: 0 auto; }
.thanks-icon {
  width: 68px; height: 68px; background: var(--accent); border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 1.6rem; font-size: 1.8rem; color: #fff;
}
.thanks-wrap h1 { font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: 0.9rem; }
.thanks-wrap p { color: var(--text-soft); margin-bottom: 1.8rem; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--text); color: #b8c2cc; padding: 3.2rem 0 1.8rem; margin-top: auto;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.2rem; margin-bottom: 2.2rem;
}
.footer-brand { font-family: var(--font-serif); font-size: 1.3rem; color: #fff; margin-bottom: 0.7rem; }
.footer-brand span { color: var(--sand); }
.footer-desc { font-size: 0.9rem; line-height: 1.55; max-width: 26ch; opacity: 0.85; }
.footer-col h4 {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
  margin-bottom: 0.9rem; opacity: 0.65;
}
.footer-col a { display: block; color: #b8c2cc; font-size: 0.92rem; margin-bottom: 0.5rem; }
.footer-col a:hover { color: #fff; }
.footer-address { font-size: 0.92rem; line-height: 1.5; opacity: 0.9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.3rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.9rem;
  font-size: 0.82rem; opacity: 0.7;
}
.footer-bottom a { color: #b8c2cc; margin-left: 1.1rem; }
.footer-bottom a:hover { color: #fff; }
.disclaimer { font-size: 0.78rem; opacity: 0.6; max-width: 58ch; margin-top: 0.6rem; }

/* ========== LEGAL ========== */
.legal-body { max-width: 700px; margin: 0 auto 3.5rem; }
.legal-body h2 { font-family: var(--font-serif); font-size: 1.35rem; margin: 2rem 0 0.8rem; }
.legal-body p, .legal-body li { margin-bottom: 0.85rem; color: var(--text-soft); }
.legal-body ul { margin-left: 1.2rem; margin-bottom: 1.1rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 880px) {
  .author-wrap { grid-template-columns: 1fr; text-align: center; }
  .author-avatar { margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  html { font-size: 16px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); flex-direction: column; padding: 1.1rem 1.4rem 1.4rem;
    gap: 0.85rem; transform: translateY(-130%); opacity: 0; pointer-events: none; transition: 0.28s;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .menu-toggle { display: block; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin: 0 0.55rem; }
  .page-hero h1 { max-width: none; }
}
