/*
Theme Name: ЛАЙМА — Портфолио
Theme URI: https://layma.ru
Author: ООО «ЛАЙМА»
Description: Светлый элегантный одностраничный сайт о подборе товаров и оборудования из Китая.
Version: 1.0.0
License: Private
Text Domain: layma
Tags: custom, one-page, business
*/

:root {
  --bg: #FAF7F2;
  --bg-warm: #F4F0E9;
  --surface: #FFFFFF;
  --surface-alt: #F7F3EC;
  --ink: #1C1B17;
  --ink-2: #3A3832;
  --muted: #6E6A60;
  --muted-2: #8E887C;
  --line: #E6E1D6;
  --line-strong: #D8D1C2;
  --accent: #0E5B52;
  --accent-deep: #083C37;
  --brass: #B45309;
  --brass-soft: #C8A864;
  --maxw: 1180px;
  --shadow-sm: 0 1px 2px rgba(28,27,23,.04), 0 1px 1px rgba(28,27,23,.03);
  --shadow-md: 0 6px 18px rgba(28,27,23,.07), 0 2px 4px rgba(28,27,23,.04);
  --shadow-lg: 0 24px 50px rgba(28,27,23,.12), 0 6px 12px rgba(28,27,23,.05);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul, ol { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- progress bar ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 200;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--brass) 100%);
  transition: width .12s linear;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(250,247,242,.95); box-shadow: 0 4px 16px rgba(28,27,23,.05); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: .04em;
  color: var(--ink);
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  display: grid; place-items: center;
  color: #F3ECDD;
  font-family: var(--serif); font-weight: 700; font-size: 20px;
  box-shadow: 0 6px 16px rgba(14,91,82,.28);
}
.logo-sub { font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-tel { white-space: nowrap; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink); text-decoration: none; transition: color .25s; margin-right: 4px; }
.nav-tel:hover { color: var(--accent-deep); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #FCFBF7;
  box-shadow: 0 8px 22px rgba(14,91,82,.30);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14,91,82,.38); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(1100px 480px at 78% -12%, rgba(184,83,9,.12), transparent 60%),
    radial-gradient(800px 520px at -8% 40%, rgba(14,91,82,.14), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  padding: 7px 14px; border: 1px solid rgba(14,91,82,.25); border-radius: 999px;
  background: rgba(14,91,82,.06);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--accent); }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.06; letter-spacing: -.015em; font-weight: 700;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic; color: var(--accent);
  background-image: linear-gradient(transparent 64%, rgba(184,83,9,.22) 64%);
}
.hero p.lead { margin: 26px 0 32px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 34rem; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(14,91,82,.14); }

/* hero art */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 22px;
}
.hero-card img { border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-card .card-body { display: flex; flex-direction: column; gap: 6px; }
.hero-card .card-body strong { font-size: 17px; line-height: 1.35; }
.hero-card .card-body span { font-size: 13px; color: var(--muted); }
.hero-card .badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--accent-deep); color: #F4ECDB;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.hero-card .float-tag {
  position: absolute; bottom: 28px; left: -26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  animation: floatTag 5s ease-in-out infinite;
}
.hero-card .float-tag .num { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--accent-deep); line-height: 1; }
.hero-card .float-tag .lab { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); line-height: 1.3; }
@keyframes floatTag { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- stats strip ---------- */
.stats-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 36px 0;
}
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat { text-align: center; }
.stat .num { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--ink); line-height: 1; }
.stat .num .u { color: var(--accent); }
.stat .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 10px; }

/* ---------- section scaffold ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-warm); }
.section.tight { padding: 56px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.service::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent), var(--brass)); opacity: 0; transition: opacity .35s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.service:hover::before { opacity: 1; }
.service .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--bg-warm); border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 16px;
  color: var(--accent);
}
.service h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; color: var(--ink); }
.service p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; text-align: center; padding: 26px 18px; }
.step .n {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--accent-deep);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step .n::after { content: ""; position: absolute; top: 50%; left: 100%; width: 26px; height: 1.5px; background: var(--line-strong); }
.step:last-child .n::after { display: none; }
.step h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- products / cases grid ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.product:hover img { transform: scale(1.06); }
.product .product-meta { padding: 18px 18px 22px; }
.product .product-meta h3 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.product .product-meta p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.product .product-num { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- calculator ---------- */
.calc {
  background: linear-gradient(160deg, #0E5B52 0%, #083C37 100%);
  color: #EDE7DA;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.calc::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(244,212,142,.18), transparent 70%);
  pointer-events: none;
}
.calc .calc-left h3 { font-family: var(--serif); font-size: 30px; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 12px; color: #FAF6ED; }
.calc .calc-left p { font-size: 14.5px; color: #C9CFBB; line-height: 1.6; margin-bottom: 18px; }
.calc .calc-left .muted { color: #9FB0A8; font-size: 12.5px; }
.calc-form { display: flex; flex-direction: column; gap: 14px; }
.calc-form label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #B8C2AC; }
.calc-form .field { display: flex; flex-direction: column; gap: 6px; }
.calc-form input[type="number"], .calc-form select {
  background: rgba(255,255,255,.08); color: #FAF6ED;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: 11px 14px; font-size: 14px;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.calc-form select option { color: var(--ink); }
.calc-form input:focus, .calc-form select:focus { outline: none; border-color: #F4D48E; background: rgba(255,255,255,.12); }
.calc-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-form .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.calc-result {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.calc-result .total { display: flex; flex-direction: column; gap: 4px; }
.calc-result .total .label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #B8C2AC; }
.calc-result .total .value { font-family: var(--serif); font-size: 38px; font-weight: 700; color: #FAE7BF; line-height: 1.05; }
.calc-result .breakdown { font-size: 12.5px; color: #C9D2B8; line-height: 1.7; }
.calc-result .breakdown .row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.calc-result .breakdown .row:last-child { border-bottom: 0; }

/* ---------- cases ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.case .case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.case .case-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.case h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.case p { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.case .case-foot { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; padding-top: 12px; border-top: 1px solid var(--line); }

/* ---------- faq ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 4px; }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-size: 17px; font-weight: 600; color: var(--ink);
  padding: 4px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform .3s var(--ease), background .3s, color .3s;
  color: var(--accent); font-size: 18px; line-height: 1;
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--accent); color: #FAF6ED; border-color: var(--accent); }
.faq-item .faq-answer { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.65; padding-right: 36px; }

/* ---------- CTA / contact ---------- */
.cta {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  box-shadow: var(--shadow-md);
}
.cta h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.01em; }
.cta p { color: var(--muted); margin-top: 14px; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea {
  background: var(--bg-warm); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 15px; font-size: 14px; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.contact-form textarea { min-height: 92px; resize: vertical; }
.form-note { font-size: 12px; color: var(--muted-2); }

/* ---------- footer ---------- */
.site-footer { background: #16140F; color: #B9B0A2; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo { color: #F5EFE2; }
.footer-brand .logo-sub { color: #8C8171; }
.footer-brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.65; color: #9C9282; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #6D6455; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 13.5px; color: #B9B0A2; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: #F5EFE2; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 12px; color: #6D6455; flex-wrap: wrap; gap: 12px; }
.footer-bottom .lic { font-size: 11.5px; color: #565044; }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-card .float-tag { animation: none; }
}

/* ---------- utility ---------- */
.text-accent { color: var(--accent); }
.serif { font-family: var(--serif); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 56px; }
  .hero-visual { max-width: 560px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process .step .n::after { display: none; }
  .calc { grid-template-columns: 1fr; padding: 32px; }
  .cta { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav { height: 60px; }
  .nav-links { display: none; }
  .nav-tel { font-size: 12px; margin-right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .service { padding: 22px 20px; }
  .services-grid, .products-grid, .cases-grid, .process, .calc .row3 { grid-template-columns: 1fr; }
  .calc-form .row { grid-template-columns: 1fr; }
  .cta { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .hero h1 { font-size: 36px; }
}

/* ---------- news (index) ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-thumb img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.news-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-date { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.news-card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.3; font-weight: 600; }
.news-card h3 a:hover { color: var(--accent); }
.news-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.news-more { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .02em; }
.news-more:hover { color: var(--accent-deep); }
.news-all { text-align: center; margin-top: 40px; }

/* ---------- archive page (/blog/) ---------- */
.page-hero { padding: 72px 0 36px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; letter-spacing: -.01em; margin-top: 14px; }
.page-hero .lead { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 560px; }
.archive-list { max-width: 820px; margin: 0 auto; }
.archive-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.archive-item:first-child { padding-top: 6px; }
.archive-date { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); padding-top: 5px; }
.archive-body h2 { font-family: var(--serif); font-size: 24px; line-height: 1.3; font-weight: 600; margin-bottom: 10px; }
.archive-body h2 a:hover { color: var(--accent); }
.archive-body p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.archive-more { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.archive-more:hover { color: var(--accent-deep); }

/* ---------- single post ---------- */
.post-page { padding: 72px 0 84px; }
.post-wrap { max-width: 780px; }
.post-back { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 28px; transition: color .25s; }
.post-back:hover { color: var(--accent); }
.post-head h1 { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 44px); line-height: 1.15; letter-spacing: -.01em; margin-top: 14px; }
.post-thumb { margin: 36px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.post-content p { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.3em; }
.post-content h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 1.8em 0 .7em; }
.post-content h3 { font-size: 19px; font-weight: 600; margin: 1.5em 0 .6em; }
.post-content ul, .post-content ol { margin: 0 0 1.3em; padding-left: 22px; list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: .5em; }
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-content blockquote { border-left: 3px solid var(--brass-soft); padding: 6px 0 6px 24px; margin: 1.6em 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--accent-deep); }
.post-content img { border-radius: var(--radius-sm); margin: 1.4em 0; }
.post-cta {
  margin-top: 56px; padding: 36px; background: var(--accent-deep); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #F4ECDB;
}
.post-cta p { font-size: 17px; line-height: 1.5; max-width: 480px; }

/* news/archive responsive */
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .archive-item { grid-template-columns: 1fr; gap: 8px; }
  .archive-date { padding-top: 0; }
  .post-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
}

/* ===== BRAND LOGO (favicon + header) ===== */
.logo-img { height: 58px; width: auto; border-radius: 14px; display: block; flex: 0 0 auto; }
@media (max-width: 760px) { .logo-img { height: 44px; } }

/* header email */
.nav-mail { white-space: nowrap; font-size: 13.5px; font-weight: 500; letter-spacing: .01em; color: var(--muted); text-decoration: none; transition: color .25s; margin-right: 20px; }
.nav-mail:hover { color: var(--accent-deep); }
@media (max-width: 900px) { .nav-mail { display: none; } }
