/* EUNUS Consulting — Growth Engine
   Design tokens: dark luxury, glass panels, bento layout ------------- */
:root {
  --void: #06070a;
  --void-2: #0c0e13;
  --void-3: #14161e;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-strong: rgba(255, 255, 255, 0.16);
  --paper: #f4f2ee;
  --paper-2: #e9e6df;
  --text-hi: #f2f1ee;
  --text-mid: rgba(242, 241, 238, 0.68);
  --text-lo: rgba(242, 241, 238, 0.42);
  --text-on-paper: #14151a;
  --text-on-paper-dim: rgba(20, 21, 26, 0.62);
  --violet: #7c6ff2;
  --violet-bright: #9d92ff;
  --violet-dim: rgba(124, 111, 242, 0.16);
  --champagne: #cbb896;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1220px;
  --radius: 16px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--void);
  color: var(--text-hi);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--violet); color: #fff;
  padding: 12px 20px; z-index: 1000; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

:focus-visible { outline: 2px solid var(--violet-bright); outline-offset: 3px; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  color: var(--text-hi);
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; max-width: 62ch; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }
.section-dek { font-size: 1.12rem; max-width: 58ch; color: var(--text-mid); }

/* Sections --------------------------------------------------------- */
.section { padding: 100px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--light { background: var(--paper); }
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--text-on-paper); }
.section--light p, .section--light .section-dek { color: var(--text-on-paper-dim); }
.section--light-2 { background: var(--paper-2); }
.section--light-2 h1, .section--light-2 h2, .section--light-2 h3, .section--light-2 h4 { color: var(--text-on-paper); }
.section--light-2 p, .section--light-2 .section-dek { color: var(--text-on-paper-dim); }
.section--void-2 { background: var(--void-2); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}
.section-eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--violet-bright); display: block; margin-bottom: 12px; text-transform: uppercase;
}
.section--light .section-eyebrow, .section--light-2 .section-eyebrow { color: #6558c4; }

/* Glass panel ------------------------------------------------------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass:hover { background: var(--glass-bg-strong); border-color: var(--glass-border-strong); }
.section--light .glass, .section--light-2 .glass { background: rgba(20,21,26,0.03); border-color: rgba(20,21,26,0.1); }
.section--light .glass:hover, .section--light-2 .glass:hover { background: rgba(20,21,26,0.05); border-color: rgba(20,21,26,0.18); }

/* Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-hi); }
.brand strong { color: var(--violet-bright); font-weight: 500; }

.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 10px 14px; font-size: 0.86rem; color: var(--text-mid); border-radius: var(--radius-sm);
}
.main-nav > ul > li > a:hover, .main-nav > ul > li.open > a { color: var(--text-hi); }

.nav-panel {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: rgba(20, 22, 30, 0.92);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-sm);
  padding: 10px; display: none;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}
.main-nav > ul > li.open .nav-panel { display: block; }
.nav-panel a { display: block; padding: 9px 12px; font-size: 0.85rem; color: var(--text-mid); border-radius: 6px; }
.nav-panel a:hover { background: rgba(255,255,255,0.06); color: var(--text-hi); }

.header-cta { display: none; }
@media (min-width: 980px) {
  .main-nav { display: block; }
  .header-cta {
    display: inline-block; font-size: 0.82rem; padding: 10px 20px;
    background: var(--violet); color: #fff; border-radius: 100px;
  }
  .header-cta:hover { background: var(--violet-bright); }
}
.nav-toggle {
  background: none; border: 1px solid var(--glass-border-strong); color: var(--text-hi);
  padding: 8px 12px; font-size: 0.85rem; cursor: pointer; border-radius: var(--radius-sm);
}
@media (min-width: 980px) { .nav-toggle { display: none; } }

.mobile-nav { display: none; background: var(--void-2); border-bottom: 1px solid var(--glass-border); padding: 8px 0 24px; }
.mobile-nav.open { display: block; }
.mobile-nav details { border-top: 1px solid var(--glass-border); }
.mobile-nav summary { padding: 14px 0; color: var(--text-hi); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav .sub-links { padding: 0 0 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav .sub-links a { color: var(--text-mid); font-size: 0.92rem; }
.mobile-nav .top-link { display: block; padding: 14px 0; border-top: 1px solid var(--glass-border); color: var(--text-hi); }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px;
  font-size: 0.92rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  border-radius: 100px; border: 1px solid transparent;
}
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: var(--violet-bright); }
.btn-ghost-dark { border-color: var(--glass-border-strong); color: var(--text-hi); background: var(--glass-bg); }
.btn-ghost-dark:hover { border-color: var(--violet-bright); color: var(--violet-bright); }
.btn-ghost-light { border-color: rgba(20,21,26,0.18); color: var(--text-on-paper); }
.btn-ghost-light:hover { border-color: #6558c4; color: #6558c4; }

/* Hero: Growth Command Center ------------------------------------------ */
.hero { padding: 64px 0 0; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60%; height: 70%;
  background: radial-gradient(circle, var(--violet-dim) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; padding-bottom: 64px; }
.hero h1 { margin-bottom: 22px; max-width: 16ch; }
.hero .section-dek { font-size: 1.2rem; margin-bottom: 36px; max-width: 54ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.flow-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--glass-border); border: 1px solid var(--glass-border); border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 720px) { .flow-strip { grid-template-columns: repeat(2, 1fr); } }
.flow-cell { background: var(--void-2); padding: 26px 22px; }
.flow-cell .flow-n { font-family: var(--font-mono); font-size: 0.72rem; color: var(--violet-bright); display: block; margin-bottom: 10px; }
.flow-cell .flow-label { font-family: var(--font-display); font-size: 1.15rem; }

/* Page hero (non-home) ---------------------------------------------- */
.page-hero { padding: 60px 0 72px; position: relative; }
.page-hero.on-light { background: var(--paper); }
.page-hero.on-light h1, .page-hero.on-light .crumbs { color: var(--text-on-paper); }
.page-hero.on-light .section-dek { color: var(--text-on-paper-dim); }
.page-hero h1 { margin-bottom: 18px; }
.crumbs { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--text-lo); }
.crumbs a { color: var(--text-lo); }
.crumbs a:hover { color: var(--violet-bright); }
.crumbs span { margin: 0 6px; }
.page-hero.on-light .crumbs, .page-hero.on-light .crumbs a { color: var(--text-on-paper-dim); }
.page-hero-media { margin-top: 40px; aspect-ratio: 21/8; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Bento grid ------------------------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }
.bento-card {
  padding: 28px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; min-height: 180px;
}
.bento-card h3 { font-size: 1.1rem; }
.bento-card p { font-size: 0.92rem; margin: 0; }
.bento-card .bento-index { font-family: var(--font-mono); font-size: 0.7rem; color: var(--violet-bright); }
.bento-card.span-2 { grid-column: span 2; }
@media (max-width: 980px) { .bento-card.span-2 { grid-column: span 2; } }
@media (max-width: 560px) { .bento-card.span-2 { grid-column: span 1; } }
.bento-card.photo { position: relative; min-height: 240px; overflow: hidden; }
.bento-card.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: brightness(0.65) saturate(1.05); }
.bento-card.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,7,10,0.85) 100%); }
.bento-card.photo > * { position: relative; z-index: 1; }
.bento-card.photo h3, .bento-card.photo span { color: #fff; }

/* Metric cards (Growth Intelligence Dashboard) --------------------------- */
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .metric-grid { grid-template-columns: repeat(2, 1fr); } }
.metric-card { padding: 26px; }
.metric-card .metric-label { font-size: 0.82rem; color: var(--text-mid); display: block; margin-bottom: 12px; }
.metric-card .metric-value { font-family: var(--font-mono); font-size: 2rem; color: var(--violet-bright); display: block; }
.metric-card .metric-note { font-size: 0.78rem; color: var(--text-lo); margin-top: 8px; }

/* Challenges tabs -------------------------------------------------------- */
.challenge-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.challenge-tab {
  padding: 11px 20px; border-radius: 100px; font-size: 0.85rem; cursor: pointer;
  background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-mid); font-family: var(--font-sans);
}
.challenge-tab.active { background: var(--violet-dim); border-color: var(--violet); color: var(--violet-bright); }
.section--light .challenge-tab { background: rgba(20,21,26,0.04); border-color: rgba(20,21,26,0.12); color: var(--text-on-paper-dim); }
.section--light .challenge-tab.active { background: rgba(124,111,242,0.12); border-color: var(--violet); color: #5647c9; }
.challenge-panel { display: none; grid-template-columns: 1fr 1fr; gap: 32px; padding: 34px; }
.challenge-panel.active { display: grid; }
@media (max-width: 720px) { .challenge-panel { grid-template-columns: 1fr; } }
.challenge-panel .label-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; color: var(--violet-bright); letter-spacing: 0.06em; display: block; margin-bottom: 10px; text-transform: uppercase; }
.section--light .challenge-panel { background: #fff; border: 1px solid rgba(20,21,26,0.1); }
.section--light .challenge-panel .label-eyebrow { color: #6558c4; }

/* Architecture channel chips --------------------------------------------- */
.channel-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.channel-chip {
  padding: 14px 22px; border-radius: 100px;
  font-family: var(--font-mono); font-size: 0.85rem;
}

/* Photo grid (industries) ------------------------------------------------ */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-tile { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transition: transform 0.4s ease; }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile .tile-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px;
  background: linear-gradient(0deg, rgba(6,7,10,0.88), rgba(6,7,10,0));
  color: #fff; font-family: var(--font-display); font-size: 1.1rem;
}

/* Article / listing cards ------------------------------------------------- */
.article-list { display: flex; flex-direction: column; gap: 1px; }
.article-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 26px; }
@media (min-width: 720px) { .article-row { grid-template-columns: 140px 1fr 110px; gap: 24px; align-items: baseline; } }
.article-row .cat { font-family: var(--font-mono); font-size: 0.7rem; color: var(--violet-bright); letter-spacing: 0.03em; }
.section--light .article-row .cat, .section--light-2 .article-row .cat { color: #6558c4; }
.article-row h3 { font-size: 1.12rem; }
.article-row p { font-size: 0.92rem; margin: 4px 0 0; }
.article-row .cta { font-size: 0.8rem; text-align: right; color: var(--text-lo); }

/* Global perspective ------------------------------------------------------ */
.global-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .global-section { grid-template-columns: 1fr; } }
.global-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2; }
.global-media img { width: 100%; height: 100%; object-fit: cover; }
.point-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.point-list li { padding-left: 24px; position: relative; font-size: 0.96rem; color: var(--text-mid); }
.point-list li::before { content: "—"; position: absolute; left: 0; color: var(--violet-bright); }

/* CTA band ---------------------------------------------------------------- */
.cta-band { padding: 88px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, var(--violet-dim), transparent 60%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band ul { margin: 0 0 32px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cta-band li { padding-left: 22px; position: relative; font-size: 0.95rem; color: var(--text-mid); }
.cta-band li::before { content: "—"; position: absolute; left: 0; color: var(--violet-bright); }

/* Forms --------------------------------------------------------------- */
form.contact-form { display: grid; gap: 18px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; color: var(--text-mid); }
.section--light .field label { color: var(--text-on-paper-dim); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 0.95rem; padding: 13px 16px;
  border: 1px solid var(--glass-border-strong); background: var(--glass-bg); color: var(--text-hi);
  border-radius: var(--radius-sm);
}
.section--light .field input, .section--light .field select, .section--light .field textarea {
  background: #fff; border-color: rgba(20,21,26,0.16); color: var(--text-on-paper);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--void-2); padding: 72px 0 32px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; padding-bottom: 48px; border-bottom: 1px solid var(--glass-border); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: repeat(6, 1fr); } }
.footer-col h4 { font-size: 0.76rem; color: var(--violet-bright); margin-bottom: 16px; font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.87rem; color: var(--text-mid); }
.footer-col a:hover { color: var(--text-hi); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-top: 32px; font-size: 0.82rem; color: var(--text-lo); }
.footer-address { max-width: 40ch; }

/* Utilities --------------------------------------------------------------- */
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.body-copy { max-width: 68ch; }
.body-copy p { font-size: 1.02rem; }
.deliverables { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.deliverables li { padding-left: 22px; position: relative; font-size: 0.96rem; color: var(--text-mid); }
.section--light .deliverables li, .section--light-2 .deliverables li { color: var(--text-on-paper-dim); }
.deliverables li::before { content: "—"; position: absolute; left: 0; color: var(--violet-bright); }
.legal-section { padding: 28px 0; border-bottom: 1px solid var(--glass-border); }
.section--light .legal-section, .section--light-2 .legal-section { border-bottom-color: rgba(20,21,26,0.12); }
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: 1.25rem; margin-bottom: 12px; }
.updated-note { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-lo); }
