/* ==========================================================================
   Muhab Benten — muhab.com
   Warm-dark + gold personal founder site. Shared stylesheet.
   ========================================================================== */

:root {
  /* Warm dark base */
  --bg:          #0F0D0A;
  --bg-2:        #1A1712;
  --card:        #17140F;
  --card-hover:  #201C15;
  --text:        #F4EFE6;
  --muted:       #B8AA96;
  --faint:       #7C7263;
  /* Gold accent */
  --accent:      #C9A45C;
  --accent-hi:   #E0BD73;
  --accent-soft: rgba(201, 164, 92, 0.12);
  --border:      rgba(201, 164, 92, 0.18);
  --border-soft: rgba(201, 164, 92, 0.10);
  /* Secondary product accent — used ONLY for the Forwardit card */
  --tech:        #57B6C7;
  --tech-soft:   rgba(87, 182, 199, 0.12);
  --tech-border: rgba(87, 182, 199, 0.32);
  /* Type */
  --serif: 'Fraunces', 'Georgia', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Metrics */
  --wrap: 1080px;
  --measure: 760px;
  --nav-h: 74px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
/* Fixed ambient glow — more performant than background-attachment: fixed */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(201, 164, 92, 0.10), transparent 70%),
    radial-gradient(ellipse 70% 50% at 108% 108%, rgba(201, 164, 92, 0.05), transparent 70%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }

/* ------- Skip link ------- */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: #1a1408; padding: 10px 16px;
  border-radius: 8px; font-weight: 600; font-size: 14px;
}
.skip:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 13, 10, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.25s ease, border-color 0.25s ease;
}
/* Home: transparent until scrolled */
.site-header.is-home:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--wrap); margin: 0 auto; padding: 0 32px;
}
.brand {
  font-family: var(--serif); font-weight: 600; font-size: 20px;
  color: var(--text); text-decoration: none; letter-spacing: -0.01em;
  line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: baseline; gap: 1px;
}
.brand .dot { color: var(--accent); }
.brand:hover { color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  position: relative; text-decoration: none; color: var(--muted);
  font-size: 14.5px; font-weight: 450; letter-spacing: 0.005em;
  transition: color 0.18s ease; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { color: var(--accent-hi); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border);
  background: transparent; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.nav-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(17, 15, 11, 0.98);
    backdrop-filter: saturate(140%) blur(16px);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px;
  }
  .nav-open .nav-links { display: flex; animation: navDrop 0.2s ease both; }
  .nav-links a {
    padding: 15px 4px; font-size: 16px; border-bottom: 1px solid var(--border-soft);
  }
  .nav-links a::after { display: none; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
}
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  padding: 12px 22px; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--border); color: var(--text); background: transparent;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hi); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn .a { transition: transform 0.2s ease; }
.btn:hover .a { transform: translateX(3px); }

.btn-primary {
  background: var(--accent); border-color: var(--accent); color: #1c1508; font-weight: 600;
}
.btn-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: #1c1508; }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Generic section / headings
   ========================================================================== */
.eyebrow {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.section { padding: 56px 0; }
.section-label {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); font-weight: 600; margin-bottom: 26px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }

.page-hero { padding: 64px 0 20px; }
.page-hero h1 { font-size: clamp(38px, 7vw, 62px); margin-bottom: 20px; }
.page-hero .lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 640px; line-height: 1.6; }
.page-hero .lede strong { color: var(--text); font-weight: 500; }

/* ==========================================================================
   Home
   ========================================================================== */
.home-hero { padding: clamp(60px, 12vh, 120px) 0 40px; }
.home-hero .name {
  font-family: var(--serif); font-size: clamp(46px, 11vw, 88px);
  line-height: 0.96; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 22px;
}
.home-hero .headline {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(20px, 3.4vw, 30px); color: var(--accent-hi);
  line-height: 1.3; margin-bottom: 24px; max-width: 760px;
}
.home-hero .intro {
  font-size: clamp(16px, 2.3vw, 19px); color: var(--muted);
  max-width: 620px; line-height: 1.7; margin-bottom: 34px;
}

/* Gateway cards */
.cards {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.gcard {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: 18px; padding: 30px 28px; text-decoration: none; color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  min-height: 210px;
}
.gcard:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--card-hover); }
.gcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gcard .g-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gcard .g-line { width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.gcard h3 { font-size: 24px; transition: color 0.18s ease; }
.gcard:hover h3 { color: var(--accent-hi); }
.gcard p { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1 1 auto; margin-bottom: 18px; }
.gcard .g-cta { color: var(--accent); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.gcard .g-cta .a { transition: transform 0.2s ease; }
.gcard:hover .g-cta .a { transform: translateX(3px); }

/* Highlight strip (Latest from Muhab Labs) */
.highlight {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(87,182,199,0.06), var(--card));
  border: 1px solid var(--border-soft); border-radius: 18px; padding: 28px 30px;
}
.highlight .h-logo { height: 30px; width: auto; flex: 0 0 auto; }
.highlight .h-body { flex: 1 1 300px; }
.highlight .h-kicker { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tech); font-weight: 600; margin-bottom: 8px; }
.highlight p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 4px; }
.highlight .btn { flex: 0 0 auto; }

/* ==========================================================================
   Venture / project cards
   ========================================================================== */
.vcard {
  display: flex; align-items: center; gap: 22px;
  text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: 18px; padding: 26px 30px; margin-bottom: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.vcard:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--card-hover); }
.vcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.vcard .v-logo { flex: 0 0 auto; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; }
.vcard .v-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vcard .v-body { flex: 1 1 auto; min-width: 0; }
.vcard .v-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.vcard h3 { font-size: 24px; transition: color 0.18s ease; }
.vcard:hover h3 { color: var(--accent-hi); }
.vcard .v-cat { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); font-weight: 600; white-space: nowrap; }
.vcard .v-desc { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* Panel (non-link content block) */
.panel {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: 18px; padding: 32px 34px;
}
.panel h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 16px; }
.panel p { color: var(--muted); font-size: 16.5px; line-height: 1.75; max-width: 720px; }

/* ==========================================================================
   About — story, timeline, education, focus
   ========================================================================== */
.prose p { color: var(--muted); font-size: 17px; line-height: 1.85; margin-bottom: 24px; max-width: var(--measure); }
.prose p strong { color: var(--text); font-weight: 500; }

.timeline { position: relative; margin-top: 8px; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--accent), var(--border)); border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 34px 8px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 5px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(201,164,92,0.14);
}
.tl-period { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.tl-item h3 { font-size: 20px; margin-bottom: 6px; }
.tl-item p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 560px; }

.edu-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.edu {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; padding: 22px 24px;
}
.edu .e-deg { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 5px; }
.edu .e-meta { color: var(--muted); font-size: 14px; }

.focus-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.focus {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; padding: 24px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.focus:hover { border-color: var(--accent); transform: translateY(-3px); background: var(--card-hover); }
.focus .f-mark { width: 24px; height: 2px; background: var(--accent); border-radius: 2px; margin-bottom: 14px; }
.focus h3 { font-size: 18px; margin-bottom: 8px; }
.focus p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ==========================================================================
   Muhab Labs — product card
   ========================================================================== */
.product {
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, var(--tech-soft), transparent 60%),
    var(--card);
  border: 1px solid var(--tech-border); border-radius: 18px; padding: 32px 34px;
}
.product .p-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.product .p-logo { height: 30px; width: auto; }
.product .p-badge {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--tech); background: var(--tech-soft); border: 1px solid var(--tech-border);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.product .p-cat { color: var(--tech); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.product .p-desc { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 680px; margin-bottom: 20px; }
.p-points { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; list-style: none; }
.p-points li {
  font-size: 13px; color: var(--text); background: var(--tech-soft);
  border: 1px solid var(--tech-border); border-radius: 999px; padding: 6px 13px;
}
.product .btn-tech { border-color: var(--tech-border); color: var(--tech); }
.product .btn-tech:hover { background: var(--tech-soft); border-color: var(--tech); color: var(--tech); }
.product .btn-tech-primary { background: var(--tech); border-color: var(--tech); color: #05242a; }
.product .btn-tech-primary:hover { background: #6fc6d6; border-color: #6fc6d6; color: #05242a; }

/* Forwardit hover glow (labs product card + home highlight) */
.product, .highlight { transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.product:hover, .highlight:hover {
  border-color: var(--tech);
  box-shadow: 0 0 0 1px var(--tech-border), 0 16px 54px -14px rgba(87, 182, 199, 0.5);
  transform: translateY(-2px);
}

.coming {
  border: 1px dashed var(--border); border-radius: 16px; padding: 30px;
  text-align: center; color: var(--faint); font-family: var(--serif); font-style: italic; font-size: 16px;
}

/* Article feature strip */
.feature-article {
  display: block; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: 18px;
  padding: 30px 32px; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature-article:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--card-hover); }
.feature-article .fa-kicker { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.feature-article h3 { font-size: clamp(22px, 3.5vw, 28px); margin-bottom: 10px; transition: color 0.18s ease; }
.feature-article:hover h3 { color: var(--accent-hi); }
.feature-article p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 640px; }
.feature-article .fa-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--accent); font-size: 14.5px; font-weight: 500; }
.feature-article:hover .fa-cta .a { transform: translateX(3px); }
.feature-article .fa-cta .a { transition: transform 0.2s ease; }

/* ==========================================================================
   Thoughts — list + filters
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter {
  font-size: 13px; font-weight: 500; color: var(--muted); background: transparent;
  border: 1px solid var(--border-soft); border-radius: 999px; padding: 7px 15px; cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.filter:hover { color: var(--accent); border-color: var(--accent); }
.filter[aria-pressed="true"] { color: #1c1508; background: var(--accent); border-color: var(--accent); font-weight: 600; }

.post {
  display: block; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px;
  padding: 26px 30px; margin-bottom: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.post:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--card-hover); }
.post:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.post .p-meta { font-size: 12.5px; color: var(--faint); letter-spacing: 0.03em; margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.post .p-cat { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.post .p-dot { color: var(--faint); }
.post h3 { font-size: 23px; line-height: 1.25; margin-bottom: 8px; transition: color 0.18s ease; }
.post:hover h3 { color: var(--accent-hi); }
.post .p-ex { color: var(--muted); font-size: 15px; line-height: 1.6; }
.post .p-read { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--accent); font-size: 13.5px; font-weight: 500; }
.post .p-read .a { transition: transform 0.2s ease; }
.post:hover .p-read .a { transform: translateX(3px); }
.empty-state { color: var(--faint); font-family: var(--serif); font-style: italic; font-size: 16px; padding: 20px 2px; }

/* ==========================================================================
   Article page
   ========================================================================== */
.article-head { max-width: var(--measure); margin: 0 auto; padding: 56px 0 0; }
.back-link { display: inline-block; color: var(--faint); text-decoration: none; font-size: 14px; margin-bottom: 28px; transition: color 0.18s ease; }
.back-link:hover { color: var(--accent); }
.article-head .a-cat { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.article-head h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.04; margin-bottom: 18px; }
.article-head .a-dek { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(18px, 2.6vw, 22px); color: var(--muted); line-height: 1.4; margin-bottom: 22px; }
.article-head .a-byline { color: var(--faint); font-size: 14px; letter-spacing: 0.02em; }
.article-head .a-byline strong { color: var(--muted); font-weight: 500; }

.article-body { max-width: var(--measure); margin: 0 auto; padding: 8px 0 20px; }
.article-body p { color: var(--muted); font-size: 17.5px; line-height: 1.85; margin-bottom: 26px; }
.article-body p strong { color: var(--text); font-weight: 500; }
.article-body p.lead-line { color: var(--text); font-family: var(--serif); font-size: clamp(20px, 3vw, 25px); line-height: 1.4; font-weight: 500; }
.article-body h2 { font-size: clamp(24px, 4vw, 32px); margin: 12px 0 18px; color: var(--text); }
.article-figure { margin: 8px 0 30px; }
.article-figure img { width: 100%; border-radius: 14px; border: 1px solid var(--border-soft); }
.article-figure figcaption { color: var(--faint); font-size: 13.5px; margin-top: 10px; text-align: center; }

.divider { max-width: var(--measure); margin: 8px auto; border: none; border-top: 1px solid var(--border-soft); }

/* Share */
.share { max-width: var(--measure); margin: 0 auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.share.share-top { padding: 22px 0 4px; }
.share.share-bottom { padding: 30px 0 4px; border-top: 1px solid var(--border-soft); }
.share-label { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--border-soft); color: var(--muted);
  border-radius: 11px; cursor: pointer; text-decoration: none; padding: 0;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.share-btn:hover { color: var(--accent-hi); border-color: var(--accent); background: var(--card-hover); transform: translateY(-2px); }
.share-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.share-btn svg { width: 17px; height: 17px; display: block; }
.share-btn.copied { color: var(--accent); border-color: var(--accent); }

/* Related */
.related { max-width: var(--measure); margin: 0 auto; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; padding: 22px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--card-hover); }
.contact-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact-card .c-ic {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); border: 1px solid var(--border); color: var(--accent);
}
.contact-card .c-ic svg { width: 20px; height: 20px; }
.contact-card .c-k { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 3px; }
.contact-card .c-v { font-size: 16px; color: var(--text); font-weight: 500; word-break: break-word; }
.contact-card:hover .c-v { color: var(--accent-hi); }

.form { max-width: 620px; }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.form input, .form textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: 10px;
  color: var(--text); font-family: var(--sans); font-size: 15px; padding: 12px 14px; transition: border-color 0.18s ease;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 130px; resize: vertical; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border-soft); margin-top: 40px; padding: 54px 0 46px; }
.footer-grid { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand .f-name { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.footer-brand .f-name .dot { color: var(--accent); }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 14.5px; margin-bottom: 10px; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; margin: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-soft); border-radius: 10px; color: var(--muted);
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; display: block; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-soft);
  color: var(--faint); font-size: 13px;
}
.footer-bottom .f-ar { font-family: var(--serif); }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.13s; } .d3 { animation-delay: 0.21s; }
.d4 { animation-delay: 0.29s; } .d5 { animation-delay: 0.37s; } .d6 { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 820px) {
  .footer-grid { gap: 28px; }
}
@media (max-width: 640px) {
  .wrap, .narrow, .nav { padding-left: 22px; padding-right: 22px; }
  .section { padding: 40px 0; }
  .page-hero { padding: 40px 0 12px; }
  .home-hero { padding: 48px 0 30px; }
  .vcard, .panel, .product, .highlight, .feature-article { padding: 24px 22px; }
  .vcard { gap: 16px; align-items: flex-start; }
  .vcard .v-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .vcard .v-cat { white-space: normal; }
  .footer-cols { gap: 40px; }
}
@media (max-width: 460px) {
  .wrap, .narrow, .nav { padding-left: 18px; padding-right: 18px; }
  .gcard { padding: 24px 22px; min-height: 0; }
  .highlight { flex-direction: column; align-items: flex-start; gap: 20px; }
  .highlight .h-body { flex: 0 1 auto; width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
