
/* ===== Base layout & typography ===== */
/* Editorial restyle inspired by markjkohler.com */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap');
:root {
  --maxw: 1200px;
  --pad: 16px;
  --text: #101828;
  --muted: #475467;
  --bg: #ffffff;
  --bg-subtle: #f7f9fc;
  --border: #e6e6e6;
  --primary: #0B3E91;       /* navy */
  --primary-600: #09397F;
  --primary-700: #072f6a;
  --accent: #C6922F;        /* gold accent */
  --radius: 12px;
  --shadow: 0 10px 30px rgba(16,24,40,0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
/* Headings: editorial serif for H1/H2 */
h1, h2 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; color: #0f172a; letter-spacing: -0.01em; }
h1 { font-size: 44px; line-height: 1.15; }
h2 { font-size: 32px; line-height: 1.2; }
@media (max-width: 640px) { h1 { font-size: 34px; } h2 { font-size: 26px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto auto; gap: 0;
  align-items: center;
  width: 100%; margin: 0; padding: 10px var(--pad);
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #000; }
.brand span {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 20px;
  transition: color .18s ease;
}
.brand:hover span, .brand:focus-visible span { color: var(--primary); }
.brand:focus-visible { outline: 2px solid #a8c7ff; outline-offset: 2px; border-radius: 6px; }
@media (min-resolution: 2dppx) {
  .brand span { letter-spacing: 0.1px; }
}
.brand-logo { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.site-nav a {
  margin: 0 2px; text-decoration: none; color: #000; font-weight: 600;
}
.site-nav a.social { display: inline-flex; align-items: center; margin-left: 1px; }
.site-nav a.social img { display: block; width: 20px; height: 20px; }
.site-nav .btn { margin-left: 1px; color: #fff; }
.nav-toggle { display: none; }
.lang-switch select { padding: 3px 6px; border-radius: 6px; border: 1px solid var(--border); background: #fff; }

@media (max-width: 840px) {
  .site-header { grid-template-columns: 1fr auto; grid-template-areas: "brand lang" "nav nav"; }
  .brand { grid-area: brand; }
  .lang-switch { grid-area: lang; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; }
  .site-nav.open { display: block; padding: 10px 0; }
  .site-nav a { display: inline-block; margin: 8px 8px 0 0; }
}

/* Hero */
.hero {
  padding: 80px var(--pad) 64px;
  border-bottom: 1px solid var(--border);
  background-image: url('https://static.wixstatic.com/media/e94cff_479747f1b21b4e048a54a4338d04f1ad~mv2.jpg/v1/fill/w_1349,h_900,al_c,q_85,enc_avif,quality_auto/e94cff_479747f1b21b4e048a54a4338d04f1ad~mv2.jpg');
  background-size: cover;
  background-position: center;
  position: relative; /* for background video layering */
  overflow: hidden;   /* clip the video to hero bounds */
}
.hero .hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;  /* like background-size: cover */
  z-index: 0;
  pointer-events: none; /* allow clicks to pass through */
}
.hero > .hero-grid { position: relative; z-index: 1; }
.hero-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; min-height: 60vh; }
.hero-copy { text-align: center; }
.hero .logo { display: none; }
.hero h1 { margin: 8px 0 8px; font-size: clamp(36px, 6vw, 64px); color: #fff; }
.hero h1 .hero-head { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; font-weight: 800; }
.hero h1 .hero-em { font-style: italic; color: #0e6bff; }
.hero .subhead { color: #fff; font-size: clamp(18px, 2.2vw, 22px); }
.subhead { color: var(--muted); max-width: 70ch; font-size: 18px; margin-left: auto; margin-right: auto; font-style: italic; }
.actions { margin-top: 12px; }
.hero-art { display: none; }
.hero .actions .btn { background: rgba(255,255,255,0.95); color: #101828; border-color: #111; box-shadow: none; }
.hero .actions .btn:hover { background: #fff; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Sections */
section { padding: 40px var(--pad); }
.about-grid, .founder-inner {
  max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: center;
}
.about-figure img, .portrait img { border-radius: 8px; }
.about p { color: #222; }

@media (max-width: 900px) {
  .about-grid, .founder-inner { grid-template-columns: 1fr; }
}

/* Vision/Mission */
.vision-mission { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.vision-mission .vm-block { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.vision-mission .vm-block { padding: 12px 0; }
.vision-mission .vm-block + .vm-block { border-top: 1px dashed var(--border); }
.vision-mission h2 { margin: 0 0 6px; }

/* Home choices (Consulting vs AI Partner) */
.home-choices { border-top: 0; border-bottom: 1px solid var(--border); background: var(--bg-subtle);
  /* Overlap upward by lifting the grid, not shrinking the hero */
  position: relative; z-index: 3;
  margin-top: 0;
  --raise: clamp(40px, 10vh, 120px);
  padding-top: 0; /* remove default section top padding */
  /* Keep the vertical spacing beneath the cards reasonable at all sizes */
  padding-bottom: clamp(16px, 2.5vh, 40px);
}
.home-choices .choices-grid {
  max-width: min(1160px, 96vw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, minmax(528px, 1fr));
  gap: 40px; justify-content: center; justify-items: stretch; align-items: stretch;
  transform: translateY(calc(-1 * var(--raise)));
}
.home-choices .choice {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: 22px; background: transparent; box-shadow: var(--shadow);
  display: grid; place-items: center; text-align: center; padding: 24px; gap: 10px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
  aspect-ratio: 4 / 3; /* a bit taller than square */
  color: var(--text);
  background-image: var(--choice-bg);
  background-size: cover; background-position: var(--choice-pos, center); background-repeat: no-repeat;
  /* Fill grid track to keep inter-card gap fixed */
  width: auto;
  box-sizing: border-box;
}
.home-choices .choice::before, .home-choices .choice::after { content: none; }
.home-choices .choice:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(16,24,40,0.18); }
.home-choices .choice .choice-inner { position: relative; z-index: 1; display: grid; gap: 6px; align-content: center; justify-items: center; padding: 8px; }
.home-choices .choice h3 { margin: 4px 0 6px; font-size: clamp(24px, 3.6vw, 34px); color: var(--text); }
.home-choices .choice p { margin: 0; max-width: 42ch; color: var(--muted); font-size: clamp(14px, 1.6vw, 16px); }
.home-choices .choice p.lead { color: var(--text); font-weight: 700; }
.home-choices .choice .btn.choice-btn { margin-top: 10px; border-radius: 12px; padding: 10px 16px; font-weight: 800; letter-spacing: 0.2px; box-shadow: 0 8px 22px rgba(0,0,0,0.18); }

/* Variants */
.home-choices .choice.consulting::after { content: none; }
.home-choices .choice.consulting .btn.choice-btn { background: rgba(255,255,255,0.92); color: #0B3E91; border-color: transparent; }
.home-choices .choice.consulting .btn.choice-btn:hover { background: #fff; }

.home-choices .choice.ai::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  /* Light sky-blue overlay at 85% opacity for readability */
  background: linear-gradient(180deg, rgba(167,211,255,0.85) 0%, rgba(14,107,255,0.85) 100%);
}
.home-choices .choice.ai h3 { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.home-choices .choice.ai p, .home-choices .choice.ai p.lead { color: #f0f4ff; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.home-choices .choice.ai .btn.choice-btn { background: #0B3E91; border-color: #0B3E91; color: #fff; }
.home-choices .choice.ai .btn.choice-btn:hover { background: #09397F; }
/* Consulting image: cover entire square (no letterboxing) */
.home-choices .choice.consulting {
  background-size: cover; /* fill the whole card */
  background-position: var(--choice-pos, center);
}
/* Add brand blue overlay and match AI text styling */
.home-choices .choice.consulting::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(11,62,145,0.85) 0%, rgba(7,47,106,0.85) 100%);
}
.home-choices .choice.consulting h3 { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.home-choices .choice.consulting p, .home-choices .choice.consulting p.lead { color: #f0f4ff; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
@media (max-width: 800px) {
  .home-choices .choices-grid { grid-template-columns: 1fr; gap: 12px; max-width: min(620px, 96vw); }
  .home-choices { --raise: clamp(24px, 8vh, 64px); padding-bottom: calc(var(--raise) + 24px); }
  .home-choices .choice { width: auto; }
}

/* Services Grid */
.services h2, .testimonials h2 { text-align: center; margin: 0 0 18px; }
.services .grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.services article {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: #fff;
  display: flex; flex-direction: column; /* allow footer button to sit at bottom */
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  text-align: center; align-items: center;
}
.services article h3 { text-align: center; white-space: pre-line; margin: 10px 0 16px; line-height: 1.28; }
.services article:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(16,24,40,0.12); }
.services article[role="link"] { cursor: pointer; }
.services .icon {
  --icon-size: clamp(52px, 6vw, 64px);
  width: var(--icon-size);
  height: var(--icon-size);
  margin: 0 auto 16px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) brightness(1.35) contrast(0.8);
  opacity: 0.88;
}
.services article p { margin: 0 auto 12px; text-align: center; max-width: 64ch; }
.services article .pay-cta { margin-top: auto; text-align: center; }
.muted { color: var(--muted); }

@media (max-width: 980px) { .services .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services .grid { grid-template-columns: 1fr; } }

/* Founder */
.founder .bio h2 { margin-top: 0; }
.socials a { display: inline-block; margin-right: 8px; }

/* Team & Partners */
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.team, .partners { border-top: 1px solid var(--border); }
.team-inner, .partners-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 32px;
}
.team-header, .partners-header { text-align: center; max-width: 80ch; margin: 0 auto; }
.team-header h2, .partners-header h2 { margin: 6px 0 12px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.team-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 12px 12px 0 0;
}
.team-card div { padding: 18px; }
.team-card h3 { margin: 0 0 6px; font-size: 22px; }
.team-card .role { font-weight: 600; color: var(--primary); margin: 0 0 10px; }
.team-card .blurb { margin: 0; color: var(--muted); font-size: 15px; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
}
.partner-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #E6EAF0;
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  min-height: 300px;
  box-shadow: 0 14px 32px rgba(15,23,42,0.08);
  transition: transform .18s ease, box-shadow .18s ease;
  align-items: center;
  text-align: center;
}
.partner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin: 0 0 12px;
}
.partner-card .partner-logo {
  max-width: 160px;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-logo--voatz {
  height: 100%;
}
.partner-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
}
.partner-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
  text-align: center;
}
.partner-card .partner-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  justify-content: center;
}
.partner-card .partner-link:hover,
.partner-card .partner-link:focus {
  text-decoration: underline;
}
.partner-card.placeholder {
  border-style: dashed;
}
.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(15,23,42,0.12);
}

@media (min-width: 640px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { padding: 24px; }
  .partner-logo-box { height: 48px; }
}

@media (min-width: 1024px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-card { padding: 28px; }
  .partner-logo-box { height: 56px; }
}

@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card img {
    height: 220px;
    object-position: center 25%;
  }
}

/* Contact */
.contact-card {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.contact-item { display: flex; gap: 12px; border: 1px solid var(--border); border-radius: 12px; padding: 14px; align-items: center; }
.contact-item h3 { margin: 0 0 4px; }

@media (max-width: 900px) { .contact-card { grid-template-columns: 1fr; } }

.pay-cta { text-align: center; margin-top: 12px; }
.services .grid article .pay-cta { margin-top: auto; padding-top: 12px; display: flex; justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 18px var(--pad); text-align: center; color: var(--muted); }
.site-footer nav a { display: inline-block; margin: 0 6px; }
.site-footer nav img { filter: invert(1) grayscale(1); opacity: 0.9; }
.site-footer nav a:hover img { opacity: 1; }


/* ===== Crypto UI styles (from upload) ===== */
/* Minimal styles needed for crypto pay buttons and modal */

.pay-cta { text-align: center; margin-top: 0.75rem; }

.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--primary-600);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(11, 62, 145, 0.18);
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--primary-600); box-shadow: 0 10px 22px rgba(11,62,145,0.22); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus { outline: 2px solid #a8c7ff; outline-offset: 2px; }
.btn-primary { background: #111; border-color: #111; }
.btn-primary:hover { background: #000; }
.btn-sm { padding: 0.4rem 0.6rem; font-size: 0.9rem; }

.payment-modal[hidden] { display: none; }
.payment-modal { position: fixed; inset: 0; z-index: 1000; }
.payment-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.payment-dialog {
  position: relative;
  max-width: 640px;
  margin: 5vh auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute; top: 8px; right: 10px;
  background: transparent; border: 0; font-size: 1.5rem; cursor: pointer;
}
.payment-subtitle { margin-top: -0.25rem; color: #555; }

.currency-select { display: flex; gap: 0.5rem; margin: 0.75rem 0 1rem; }
.currency-btn {
  padding: 0.45rem 0.8rem; border-radius: 6px; border: 1px solid #ddd; background: #f6f7f9;
  cursor: pointer; font-weight: 600;
}
.currency-btn.active { background: #0e6bff; color: #fff; border-color: #0e6bff; }

.payment-body { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; align-items: start; }
.qr-wrap { display: flex; align-items: center; justify-content: center; background: #f6f7f9; border-radius: 8px; padding: 0.5rem; }
.address-wrap { font-size: 0.95rem; }
.address-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.address-label { color: #555; }
.tag-row { margin: 0.5rem 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.payment-note { font-size: 0.85rem; color: #666; margin-top: 0.75rem; }

@media (max-width: 640px) {
  .payment-dialog { margin: 0; min-height: 100vh; border-radius: 0; }
  .payment-body { grid-template-columns: 1fr; }
}

/* ===== Testimonials rotator ===== */
.testimonials { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testimonials h2 { text-align: center; }
.testi-rotator { position: relative; max-width: 900px; margin: 0 auto; min-height: 180px; padding: 16px 40px 48px; }
/* Fade stack */
.testi-rotator .testi { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease-in-out; margin: 0; padding: 4px 0; }
.testi-rotator .testi.active { opacity: 1; }
.testimonials blockquote { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonials blockquote p { font-style: italic; font-size: 18px; color: var(--text); }
.testimonials blockquote p::before { content: '“'; font-family: 'Playfair Display', serif; font-size: 42px; line-height: 0; vertical-align: -0.4em; color: var(--accent); margin-right: 9px; }
.testimonials blockquote p::after { content: '”'; font-family: 'Playfair Display', serif; font-size: 42px; line-height: 0; vertical-align: -0.4em; color: var(--accent); margin-left: 0; }
.testimonials blockquote footer { margin-top: 8px; color: var(--muted); }
/* Rotator controls */
.testi-prev, .testi-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: #fff; border: 1px solid var(--border); border-radius: 50%; width: 36px; height: 36px;
  display: grid; place-items: center; cursor: pointer; font-size: 22px; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.testi-prev { left: 0; }
.testi-next { right: 0; }
.testi-prev:hover, .testi-next:hover { background: #f6f7f9; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; position: relative; z-index: 1; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #d0d5dd; cursor: pointer; }
.testi-dot.active { background: #0e6bff; }
@media (max-width: 640px) {
  /* Switch to natural flow so height grows with content on small screens */
  .testi-rotator { min-height: unset; padding: 16px 20px 56px; }
  .testi-rotator .testi { position: static; inset: auto; opacity: 1; transition: none; display: none; }
  .testi-rotator .testi.active { display: block; }
  .testi-prev, .testi-next { top: auto; bottom: 10px; transform: none; }
}

/* ===== Contact CTA (end section) ===== */
.contact-cta { background: #1f1f1f; color: #fff; padding: 48px var(--pad); }
.contact-cta a { color: #fff; text-decoration: none; }
.contact-cta a:hover { text-decoration: underline; }
.contact-cta-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; justify-items: center;
}
.contact-cta-item {
  text-align: center; max-width: 34ch; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 180px; padding: 8px 6px;
}
.contact-cta-item .icon-white { width: 72px; height: 72px; margin-bottom: 12px; display: block; }
.contact-cta-item svg.icon-white circle, .contact-cta-item svg.icon-white path { stroke: #fff; fill: none; stroke-width: 1.8; }
/* Icons are provided as white SVGs; no filter needed */
.contact-cta-item img.icon-white { filter: none; }
@media (max-width: 900px) { .contact-cta-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Links default */
a { color: var(--primary); }
a:hover { color: var(--primary-600); }
