/* Elianar.shop — unique editorial 2026 | warm clay + sage */
:root {
  --bg: #F4EFE6;
  --bg-alt: #EBE4D7;
  --surface: #FFFCF7;
  --text: #1C241C;
  --text-soft: #4A554A;
  --accent: #9C6B4A;
  --accent-dark: #7A5238;
  --line: #D9CFC0;
  --sage: #8A9A7B;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(28, 36, 28, 0.07);
  --shadow-soft: 0 4px 20px rgba(28, 36, 28, 0.04);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*, *::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.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.logo {
  font-family: var(--font-serif); font-size: 1.55rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--text); display: flex; align-items: center; gap: 0.6rem;
}
.logo-mark {
  width: 34px; height: 34px; background: var(--accent); border-radius: 9px;
  display: grid; place-items: center; color: #fff; font-size: 0.95rem; font-weight: 700;
  font-family: var(--font-sans);
}
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--text-soft); position: relative;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--accent); transition: width 0.25s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

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

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

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center;
}
.hero-label {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem;
  background: rgba(156, 107, 74, 0.12); padding: 0.35rem 0.85rem; border-radius: 999px;
}
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 1.4rem;
}
.hero-lead { font-size: 1.15rem; color: var(--text-soft); max-width: 34rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem; font-size: 0.95rem; font-weight: 600;
  border-radius: 999px; border: none; cursor: pointer; transition: all 0.22s; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-aside {
  background: var(--surface); border-radius: calc(var(--radius) + 6px); padding: 2.2rem;
  box-shadow: var(--shadow); border: 1px solid var(--line); position: relative;
}
.hero-aside::before {
  content: ""; position: absolute; top: -12px; right: 28px; width: 48px; height: 48px;
  background: var(--sage); border-radius: 50%; opacity: 0.35;
}
.hero-aside-title { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: 1rem; }
.hero-aside p { color: var(--text-soft); font-size: 0.98rem; margin-bottom: 1.2rem; }
.hero-stat {
  display: flex; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.hero-stat div strong {
  display: block; font-family: var(--font-serif); font-size: 1.7rem; color: var(--accent); line-height: 1;
}
.hero-stat div span { font-size: 0.82rem; color: var(--text-soft); }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 2.8rem; max-width: 36rem; }
.section-head h2 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em; margin-bottom: 0.7rem;
}
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* Article cards */
.articles-list { display: flex; flex-direction: column; gap: 1.4rem; }
.article-card {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 1.6rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.8rem; transition: all 0.25s; text-decoration: none; color: inherit;
}
.article-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.article-num {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700;
  color: var(--accent); opacity: 0.55; line-height: 1;
}
.article-card h3 {
  font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.35rem; letter-spacing: -0.01em;
}
.article-card p {
  font-size: 0.95rem; color: var(--text-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; font-size: 1.1rem; color: var(--text-soft);
  transition: all 0.22s; flex-shrink: 0;
}
.article-card:hover .article-arrow {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

/* Author block */
.author-block {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center;
  background: var(--surface); border-radius: calc(var(--radius) + 8px); padding: 2.8rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.author-visual {
  aspect-ratio: 1; background: linear-gradient(145deg, var(--sage) 0%, var(--accent) 100%);
  border-radius: var(--radius); display: grid; place-items: center; position: relative; overflow: hidden;
}
.author-visual span {
  font-family: var(--font-serif); font-size: 4.5rem; color: rgba(255,255,255,0.9); font-weight: 700;
}
.author-visual::after {
  content: ""; position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px;
  background: rgba(255,255,255,0.12); border-radius: 50%;
}
.author-block h2 { font-family: var(--font-serif); font-size: 1.9rem; margin-bottom: 1rem; }
.author-block p { color: var(--text-soft); margin-bottom: 1.5rem; }

/* Page hero */
.page-hero {
  padding: 3.2rem 0 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem;
}
.page-hero .label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.8rem;
}
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.025em; line-height: 1.15; max-width: 18ch; margin-bottom: 1rem;
}
.page-hero .meta { color: var(--text-soft); font-size: 0.95rem; }

/* Article body */
.article-body { max-width: 680px; margin: 0 auto 4rem; }
.article-body p { margin-bottom: 1.35rem; font-size: 1.05rem; }
.article-body h2 {
  font-family: var(--font-serif); font-size: 1.55rem; margin: 2.6rem 0 1rem; letter-spacing: -0.015em;
}
.article-body h3 { font-family: var(--font-serif); font-size: 1.25rem; margin: 2rem 0 0.8rem; }
.article-body ul, .article-body ol { margin: 1.2rem 0 1.6rem 1.4rem; }
.article-body li { margin-bottom: 0.55rem; }
.article-body blockquote {
  margin: 2.2rem 0; padding: 1.4rem 1.8rem; background: var(--bg-alt);
  border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif); font-size: 1.2rem; font-style: italic; color: var(--text);
}
.pull-note {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.7rem; margin: 2rem 0;
}
.pull-note strong {
  display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); margin-bottom: 0.5rem;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-info h2 { font-family: var(--font-serif); font-size: 1.7rem; margin-bottom: 1rem; }
.contact-info p { color: var(--text-soft); margin-bottom: 1.5rem; }
.contact-detail { margin-bottom: 1.2rem; }
.contact-detail span {
  display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-soft); margin-bottom: 0.25rem;
}
.contact-detail strong { font-size: 1.05rem; }
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); padding: 2.2rem; box-shadow: var(--shadow-soft);
}
.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text);
}
.form-group input, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg); font-family: inherit;
  font-size: 1rem; 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: 140px; resize: vertical; }
.form-error { color: #b33; font-size: 0.88rem; margin-top: 0.6rem; display: none; }

/* Thanks */
.thanks-wrap { text-align: center; padding: 5rem 1.5rem; max-width: 520px; margin: 0 auto; }
.thanks-wrap .icon {
  width: 72px; height: 72px; background: var(--sage); border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 1.8rem; font-size: 2rem; color: #fff;
}
.thanks-wrap h1 { font-family: var(--font-serif); font-size: 2.4rem; margin-bottom: 1rem; }
.thanks-wrap p { color: var(--text-soft); margin-bottom: 2rem; }

/* Footer */
.site-footer {
  background: var(--text); color: #d8d4cc; padding: 3.5rem 0 2rem; margin-top: auto;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-brand { font-family: var(--font-serif); font-size: 1.4rem; color: #fff; margin-bottom: 0.8rem; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 0.92rem; line-height: 1.6; max-width: 28ch; opacity: 0.85; }
.footer-col h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
  margin-bottom: 1rem; opacity: 0.7;
}
.footer-col a { display: block; color: #d8d4cc; font-size: 0.95rem; margin-bottom: 0.55rem; }
.footer-col a:hover { color: #fff; }
.footer-address { font-size: 0.95rem; line-height: 1.55; opacity: 0.9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem; opacity: 0.7;
}
.footer-bottom a { color: #d8d4cc; margin-left: 1.2rem; }
.footer-bottom a:hover { color: #fff; }
.disclaimer { font-size: 0.8rem; opacity: 0.65; max-width: 60ch; margin-top: 0.8rem; }

/* Legal */
.legal-body { max-width: 720px; margin: 0 auto 4rem; }
.legal-body h2 { font-family: var(--font-serif); font-size: 1.4rem; margin: 2.2rem 0 0.9rem; }
.legal-body p, .legal-body li { margin-bottom: 0.9rem; color: var(--text-soft); }
.legal-body ul { margin-left: 1.3rem; margin-bottom: 1.2rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .author-block { grid-template-columns: 1fr; }
  .author-visual { max-width: 220px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-card { grid-template-columns: 52px 1fr; }
  .article-arrow { display: none; }
}
@media (max-width: 680px) {
  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.2rem 1.5rem 1.5rem;
    gap: 0.9rem; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: 0.3s;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .menu-toggle { display: block; }
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 3rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin: 0 0.6rem; }
  .article-card { padding: 1.2rem 1.3rem; }
  .page-hero h1 { max-width: none; }
}
