/* ============================================================================
   Logloop design chrome — shared styles for WP-rendered pages
   (blog index, single posts, privacy/terms/team). Mirrors the design system
   used by the static hand-designed pages.
   ========================================================================== */

:root{
  --bg:#FFFFFF;--surface:#FFFFFF;--surface-2:#F7F5F1;--surface-3:#EBE6DF;
  --text:#1A1614;--muted:#7A7268;--faint:#B0A898;--dim:#C8C2B8;
  --brand:#b8902e;--accent:#9a7520;
  --border:rgba(0,0,0,.09);--border-strong:rgba(0,0,0,.16);
  --r:14px;--r-sm:8px;
  --shadow:0 4px 24px rgba(0,0,0,.07);
  --shadow-lg:0 12px 40px rgba(0,0,0,.10);
  --font:'Inter',system-ui,-apple-system,sans-serif;
  --maxw:1080px;
}

/* Base — keep it light so wrapped Elementor content isn't disturbed. */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.ll-body{margin:0;font-family:var(--font);font-size:16px;background:var(--bg);color:var(--text);
  line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.ll-body img{max-width:100%;height:auto}
.ll-body a{color:var(--brand)}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
.ll-nav{position:sticky;top:0;z-index:100;padding:0 5vw;min-height:62px;display:flex;
  align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  background:rgba(255,255,255,.88);backdrop-filter:blur(12px) saturate(140%);
  border-bottom:1px solid var(--border)}
.ll-logo{display:flex;align-items:center;gap:9px;text-decoration:none;flex-shrink:0}
.ll-logo img{height:34px;width:auto;display:block}
.ll-logo .ll-word{font-weight:800;font-size:21px;letter-spacing:-.03em;color:var(--brand)}
.ll-links{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.ll-links a{font-size:16px;font-weight:500;color:var(--muted);padding:7px 13px;
  border-radius:var(--r-sm);text-decoration:none;transition:.15s;white-space:nowrap}
.ll-links a:hover{color:var(--text);background:var(--surface-2)}
.ll-links a.current{color:var(--brand)}
.ll-dd{position:relative;display:inline-flex}
.ll-dd-btn{font-family:inherit;font-size:16px;font-weight:500;color:var(--muted);background:none;
  border:none;cursor:pointer;padding:7px 13px;border-radius:var(--r-sm);display:inline-flex;
  align-items:center;gap:5px;transition:.15s}
.ll-dd-btn:hover{color:var(--text);background:var(--surface-2)}
.ll-caret{font-size:.7em;transition:transform .18s}
.ll-dd.open .ll-caret{transform:rotate(180deg)}
.ll-dd-menu{display:none;position:absolute;top:calc(100% + 8px);left:0;min-width:230px;
  flex-direction:column;gap:2px;padding:7px;background:var(--bg);border:1px solid var(--border-strong);
  border-radius:var(--r);box-shadow:0 12px 32px rgba(0,0,0,.14);z-index:200}
.ll-dd.open .ll-dd-menu{display:flex}
.ll-dd-menu a{padding:9px 12px;white-space:nowrap}
.ll-cta{font-size:16px;font-weight:700;padding:9px 18px;border-radius:var(--r-sm);
  background:var(--brand);color:#fff !important;border:1.5px solid var(--brand);
  text-decoration:none;transition:.15s;white-space:nowrap}
.ll-cta:hover{background:var(--accent);border-color:var(--accent)}

/* ── PAGE SHELL ──────────────────────────────────────────────────────────── */
.ll-main{min-height:50vh}
.ll-shell{max-width:var(--maxw);margin:0 auto;padding:0 28px}
.ll-page-head{max-width:var(--maxw);margin:0 auto;padding:64px 28px 8px}
.ll-page-title{font-size:clamp(30px,5vw,46px);font-weight:800;letter-spacing:-.03em;line-height:1.08;margin:0}
.ll-page-sub{color:var(--muted);font-size:17px;margin-top:14px;max-width:640px}
.ll-eyebrow{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);margin-bottom:14px}

/* ── BLOG CARD GRID ──────────────────────────────────────────────────────── */
.ll-blog{max-width:var(--maxw);margin:0 auto;padding:34px 28px 80px}
.ll-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:26px}
.ll-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r);overflow:hidden;text-decoration:none;color:inherit;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.ll-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--border-strong)}
.ll-card-media{aspect-ratio:16/9;background:var(--surface-3);overflow:hidden}
.ll-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.ll-card-media.is-empty{display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--surface-2),var(--surface-3))}
.ll-card-media.is-empty span{font-weight:800;font-size:26px;color:var(--faint);letter-spacing:-.03em}
.ll-card-body{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1}
.ll-card-date{font-size:12.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--faint);margin-bottom:9px}
.ll-card-title{font-size:19px;font-weight:700;line-height:1.3;letter-spacing:-.01em;margin:0 0 10px;color:var(--text)}
.ll-card-excerpt{font-size:14.5px;color:var(--muted);line-height:1.6;margin:0 0 16px}
.ll-card-more{margin-top:auto;font-size:13.5px;font-weight:700;color:var(--brand)}

/* ── ARTICLE / SINGLE POST ───────────────────────────────────────────────── */
.ll-article{max-width:1080px;margin:0 auto;padding:30px 28px 80px}
.ll-back{display:inline-block;font-size:13.5px;font-weight:600;color:var(--muted);
  text-decoration:none;margin-bottom:26px;transition:color .15s}
.ll-back:hover{color:var(--brand)}
.ll-article-head{margin:0 0 30px}
.ll-article-title{font-size:clamp(28px,4.4vw,42px);font-weight:800;letter-spacing:-.03em;line-height:1.12;margin:0 0 16px}
.ll-article-meta{font-size:13.5px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--faint)}
.ll-article-cover{max-width:1080px;margin:0 auto 36px;border-radius:var(--r);overflow:hidden}
.ll-article-cover img{width:100%;display:block}

/* Elementor-built bodies: just a centered container; Elementor styles its own content. */
.ll-elementor{max-width:1080px;margin:0 auto}

/* Classic/Gutenberg content: full reading typography. */
.ll-prose{margin:0;font-size:17px;line-height:1.75;color:#2a2521}
.ll-prose h1{font-size:30px}
.ll-prose h1,.ll-prose h2,.ll-prose h3,.ll-prose h4{font-weight:800;letter-spacing:-.02em;line-height:1.25;margin:1.8em 0 .6em;color:var(--text)}
.ll-prose h2{font-size:25px}
.ll-prose h3{font-size:20px}
.ll-prose h4{font-size:17px}
.ll-prose p{margin:0 0 1.15em}
.ll-prose a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
.ll-prose ul,.ll-prose ol{margin:0 0 1.15em;padding-left:1.4em}
.ll-prose li{margin:.35em 0}
.ll-prose img{border-radius:var(--r-sm);margin:1.4em 0}
.ll-prose blockquote{margin:1.5em 0;padding:.4em 0 .4em 1.2em;border-left:3px solid var(--brand);
  color:var(--muted);font-style:italic}
.ll-prose code{background:var(--surface-2);padding:.12em .4em;border-radius:5px;font-size:.9em}
.ll-prose hr{border:none;border-top:1px solid var(--border);margin:2.2em 0}

/* ── FOOTER (matches the static design pages) ────────────────────────────── */
.site-footer{background:#1C1812;margin-top:80px;padding:56px 0 0;position:relative;z-index:2}
.site-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--brand),#c4a050)}
.footer-inner{max-width:1080px;margin:0 auto;padding:0 28px}
.footer-top{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr;gap:48px;padding-bottom:40px;
  border-bottom:1px solid rgba(250,250,248,.07)}
.footer-brand .fb-logo{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.footer-brand .fb-logo img{height:32px;width:auto}
.footer-brand .fb-name{font-weight:800;font-size:20px;color:#FAFAF8;letter-spacing:-.03em}
.footer-brand .fb-tag{font-size:16px;line-height:1.65;color:rgba(250,250,248,.45);max-width:260px;font-weight:300;margin-bottom:22px}
.footer-social{display:flex;gap:10px}
.fsoc{font-size:16px;font-weight:600;color:rgba(250,250,248,.5);border:1px solid rgba(250,250,248,.12);
  border-radius:6px;padding:7px 14px;cursor:pointer;transition:.18s;background:none;
  font-family:var(--font);text-decoration:none;display:inline-block}
.fsoc:hover{color:#FAFAF8;border-color:rgba(250,250,248,.3)}
.footer-col h4{font-size:16px;font-weight:800;letter-spacing:.04em;color:rgba(250,250,248,.3);margin:0 0 16px}
.footer-col a{display:block;font-size:16px;font-weight:400;color:rgba(250,250,248,.55);
  text-decoration:none;margin-bottom:10px;transition:color .18s}
.footer-col a:hover{color:#FAFAF8}
.fe-footer-email{padding:36px 0;border-bottom:1px solid rgba(250,250,248,.07);margin-bottom:28px}
.fe-title{font-weight:700;font-size:18px;color:#FAFAF8;margin-bottom:6px;letter-spacing:-.01em}
.fe-sub{font-size:16px;color:rgba(250,250,248,.45);margin-bottom:18px;font-weight:300;max-width:480px}
.fe-row{display:flex;gap:10px;max-width:420px}
.fe-input{flex:1;background:rgba(250,250,248,.07);border:1px solid rgba(250,250,248,.16);border-radius:8px;
  padding:11px 16px;font-size:16px;color:#FAFAF8;font-family:var(--font);outline:none;transition:.18s}
.fe-input:focus{border-color:var(--brand)}
.fe-btn{flex-shrink:0;background:var(--brand);color:#fff;border:none;border-radius:8px;
  padding:11px 20px;font-size:16px;font-weight:700;cursor:pointer;font-family:var(--font);transition:.18s}
.fe-btn:hover{background:var(--accent)}
.fe-note{font-size:16px;color:rgba(250,250,248,.45);margin-top:10px;min-height:16px}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;padding:20px 0;flex-wrap:wrap;gap:12px}
.footer-copy{font-size:16px;color:rgba(250,250,248,.28);font-weight:400}
.footer-legal{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.footer-legal a{font-size:16px;color:rgba(250,250,248,.32);text-decoration:none;transition:color .18s}
.footer-legal a:hover{color:rgba(250,250,248,.65)}
.footer-legal span{font-size:16px;color:rgba(250,250,248,.22)}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media(max-width:860px){
  .footer-top{grid-template-columns:1fr 1fr;gap:32px}
}
@media(max-width:560px){
  .ll-links{display:none}            /* keep nav clean on small screens */
  .footer-top{grid-template-columns:1fr}
  .fe-row{flex-direction:column;max-width:100%}
}
