/* Chat with Al — Albert Siha Capital Ventures
   Colors, type, and button language follow the live ASCV site. */

@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/familjen-grotesk-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Familjen Grotesk";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/familjen-grotesk-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Wix Madefor Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/wix-madefor-display-latin-400-normal.woff2") format("woff2");
}

:root {
  --ink: #0B1A2B;
  --navy: #005785;
  --navy-bright: #0082C7;
  --gold: #B9985B;
  --gold-on-light: #866833;
  --gold-dim: rgba(185, 152, 91, 0.45);
  --white: #FFFFFF;
  --paper: #F6F5F2;
  --hero: #0B1A2B;
  --hero-deep: #081422;
  --rule: rgba(11, 26, 43, 0.16);
  --font-display: "Familjen Grotesk", "Wix Madefor Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Wix Madefor Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-eyebrow: 16px;
  --fs-h1: clamp(40px, 6vw + 12px, 72px);
  --fs-body: 18px;
  --fs-button: 16px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html {
  background: var(--hero);
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; border: 0; }

a { color: inherit; text-decoration: none; }

h1, h2, p { margin: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 12px 16px;
  z-index: 100;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gold-dim);
  position: relative;
  z-index: 20;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand .flag {
  width: 30px;
  height: auto;
  flex: 0 0 auto;
}

.brand .logo {
  height: 40px;
  width: auto;
  max-width: min(280px, 58vw);
  object-fit: contain;
  object-position: left center;
}

.header-mark {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-on-light);
  white-space: nowrap;
}

/* Hero */
.hero {
  background: var(--hero);
  color: var(--white);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-copy {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero .lead {
  margin-top: 22px;
  max-width: 38em;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.hero .invite {
  margin-top: 16px;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: var(--gold);
  font-family: var(--font-body);
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  min-height: 52px;
}

.btn:hover,
.btn:focus-visible {
  background: #C9AA6A;
  border-color: #C9AA6A;
}

.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.session-note {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
}

.hero-links a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
}

.hero-links a:hover,
.hero-links a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.portrait-wrap {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  order: -1;
}

.portrait {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(185, 152, 91, 0.28);
}

/* Schedule */
.schedule {
  background: var(--paper);
  padding: 56px 20px 64px;
}

.schedule-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.schedule h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw + 12px, 36px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.schedule .sub {
  color: #3A4550;
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 40em;
}

.calendly-wrap {
  background: var(--white);
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  overflow: hidden;
  min-height: 700px;
}

.calendly-inline-widget {
  min-width: 320px;
  height: 700px;
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gold-dim);
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
  color: #3A4550;
}

.footer-inner a {
  color: var(--navy);
  font-weight: 600;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--gold-on-light);
}

@media (min-width: 800px) {
  :root { --header-h: 88px; }

  .header-inner {
    padding: 16px 40px;
  }

  .brand .flag { width: 34px; }
  .brand .logo { height: 48px; max-width: 340px; }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    padding: 72px 40px 80px;
    gap: 40px;
  }

  .hero .lead,
  .hero .invite {
    font-size: 19px;
  }

  .portrait-wrap {
    width: 160px;
    height: 160px;
    order: 0;
  }

  .portrait {
    width: 160px;
    height: 160px;
  }

  .schedule {
    padding: 72px 40px 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.embed-fallback {
  margin-top: 16px;
  font-size: 15px;
  color: #3A4550;
}

.embed-fallback a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dim);
}

.embed-fallback a:hover,
.embed-fallback a:focus-visible {
  color: var(--gold-on-light);
  border-bottom-color: var(--gold-on-light);
}
