/* ==========================================================================
   edirinoke.com — shared design system
   Themed per venture via a body class: .theme-hub | .theme-cuisine | .theme-secure
   Replaces the dev-only Tailwind CDN with compiled, production CSS.
   ========================================================================== */

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Design tokens (defaults) ----------------------------------------- */
:root {
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg: #0a0a0a;
  --bg-2: #111111;
  --ink: #f5f5f4;
  --muted: #9ca3af;
  --line: rgba(255,255,255,.08);
  --accent: #006747;
  --accent-2: #d4af37;
  --paper: #ffffff;
  --paper-ink: #0a0a0a;
  --radius: 18px;
  --maxw: 1180px;
  --shadow: 0 24px 60px -24px rgba(0,0,0,.7);
}

/* Cuisine — emerald + gold, warm premium food */
.theme-cuisine {
  --accent: #006747;
  --accent-2: #d4af37;
  --bg: #0a0a0a;
}

/* Secure — navy + electric blue/cyan, clean tech */
.theme-secure {
  --font-head: 'Inter', -apple-system, sans-serif;
  --bg: #0b1220;
  --bg-2: #111c30;
  --ink: #e8eefc;
  --muted: #9fb0cc;
  --line: rgba(120,150,200,.16);
  --accent: #3b82f6;
  --accent-2: #22d3ee;
  --paper: #f4f7fc;
  --paper-ink: #0b1220;
}

/* Hub — neutral dark, both ventures */
.theme-hub { --bg: #08080a; }

/* ---- Base -------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.01em; }
.serif { font-family: var(--font-head); }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
section { padding: 96px 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 800;
  text-transform: uppercase; letter-spacing: .42em; font-size: .72rem; color: var(--accent-2);
}
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  padding: 15px 30px; border-radius: 12px; font-weight: 700; font-size: .98rem;
  letter-spacing: .01em; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  border: 1px solid transparent; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px var(--accent); }
.btn-primary:hover { box-shadow: 0 18px 40px -14px var(--accent); }
.btn-gold { background: var(--accent-2); color: var(--paper-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- Header / nav ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .name { font-weight: 900; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -.02em; color: var(--accent-2); font-style: italic; }
.brand .sub { font-size: .58rem; text-transform: uppercase; letter-spacing: .38em; color: var(--muted); font-weight: 700; margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-2); }
.nav-links a.nav-cta { padding: 11px 22px; border-radius: 10px; background: var(--accent); color: #fff; }
.nav-links a.nav-cta:hover { background: var(--accent-2); color: var(--paper-ink); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--accent-2); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 22px;
  }
  .nav-links.open { max-height: 80vh; padding: 14px 22px 26px; }
  .nav-links a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav-links a.nav-cta { margin-top: 14px; text-align: center; border-bottom: none; }
}

/* ---- Hero -------------------------------------------------------------- */
.hero { position: relative; display: flex; align-items: center; min-height: 88vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent), color-mix(in srgb, var(--bg) 80%, transparent) 55%, var(--bg)); }
.hero-inner { position: relative; z-index: 2; padding: 120px 0; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6.2rem); text-transform: uppercase; font-style: italic; }
.hero .tagline { font-size: clamp(1.1rem, 3vw, 2rem); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); margin-top: 18px; font-weight: 300; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ---- Cards / grids ----------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--bg-2), color-mix(in srgb, var(--bg-2) 60%, transparent));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

.media-card { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.media-card .ph { aspect-ratio: 4/3; overflow: hidden; }
.media-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.media-card:hover .ph img { transform: scale(1.08); }
.media-card .body { padding: 24px; }
.media-card h4 { font-size: 1.25rem; color: var(--accent-2); margin-bottom: 8px; text-transform: uppercase; }
.media-card p { color: var(--muted); font-size: .95rem; }

/* ---- Section header ---------------------------------------------------- */
.sec-head { max-width: 720px; margin-bottom: 50px; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 14px 0 16px; text-transform: uppercase; font-style: italic; }
.rule { width: 64px; height: 4px; background: var(--accent-2); border-radius: 4px; margin: 18px 0; }
.sec-head.center .rule { margin-inline: auto; }

/* ---- Split feature ----------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split img { border-radius: 24px; box-shadow: var(--shadow); }

/* ---- Pricing tiers ----------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.tier { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; }
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 26px 50px -28px var(--accent); }
.tier .tag { position: absolute; top: -13px; right: 22px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.tier h3 { font-size: 1.4rem; }
.tier .price { font-size: 2.6rem; font-weight: 900; margin: 8px 0; font-family: var(--font-body); }
.tier .price span { font-size: .9rem; color: var(--muted); font-weight: 500; }
.tier .blurb { color: var(--muted); font-size: .92rem; min-height: 40px; }
.tier ul { display: flex; flex-direction: column; gap: 11px; margin: 20px 0 28px; }
.tier li { font-size: .95rem; padding-left: 28px; position: relative; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }
.tier .btn { margin-top: auto; }

/* ---- Stats / proof ----------------------------------------------------- */
.stats { display: flex; flex-wrap: wrap; gap: 18px; }
.stat { flex: 1; min-width: 180px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.stat b { display: block; font-size: 2rem; font-weight: 900; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--font-body); }
.stat span { color: var(--muted); font-size: .85rem; }

/* ---- Forms ------------------------------------------------------------- */
.form-card { background: var(--paper); color: var(--paper-ink); border-radius: 28px; padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #6b7280; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #e5e7eb;
  background: #f9fafb; font: inherit; color: var(--paper-ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */
.form-status { margin-top: 16px; font-size: .95rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #047857; }
.form-status.err { color: #b91c1c; }
.form-note { font-size: .8rem; color: #6b7280; margin-top: 14px; }

/* contact info list */
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-item .ico { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-2); }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item .k { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 800; }
.contact-item .v { font-size: 1.15rem; font-weight: 700; }

/* ---- Gallery ----------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.1); }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band { text-align: center; background: radial-gradient(700px 240px at 50% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent); }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; font-style: italic; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: var(--accent-2); font-size: 1.7rem; text-transform: uppercase; font-style: italic; margin-bottom: 10px; }
.site-footer h5 { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 16px; font-family: var(--font-body); }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--muted); font-size: .9rem; }
.site-footer a:hover { color: var(--accent-2); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; }

/* ---- Helpers ----------------------------------------------------------- */
.section-dark { background: var(--bg); }
.section-paper { background: var(--paper); color: var(--paper-ink); }
.section-paper .lead, .section-paper .muted, .section-paper .card p { color: #4b5563; }
.section-paper .card { background: #fff; border-color: #eef0f3; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .btn:hover, .card:hover { transform: none; } }
