/* Tala Brand Advisory — reproduces the Claude Design handoff (design/project/Tala Site.dc.html).
   Values mirror the design's inline styles; boxes stay content-box like the prototype. */

@font-face { font-family: 'Author'; src: url('/assets/fonts/Author-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Author'; src: url('/assets/fonts/Author-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Author'; src: url('/assets/fonts/Author-Semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/ClashDisplay-Semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --cobalt: #1E40C4;
  --gold: #EFBF04;
  --cream: #F1EDE2;
  --red: #CA3027;
  --ink: #1A1A22;
  --font-body: 'Author', Georgia, serif;
  --font-display: 'Clash Display', Helvetica, sans-serif;
  --font-accent: 'Tala Accent', Georgia, serif;
  --pad-y: clamp(44px, 5.5vw, 72px);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
::selection { background: var(--gold); color: var(--ink); }
button { font-family: var(--font-body); }

/* ---------- Accessibility additions (not visible unless used) ---------- */
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--cobalt); color: var(--cream); padding: 10px 16px; border-radius: 999px;
  font-size: 15px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--cream); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.band--cobalt :focus-visible, .who-card :focus-visible { outline-color: var(--gold); }
.anchor { scroll-margin-top: 96px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 237, 226, 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 64, 196, 0.14);
}
.header-bar { max-width: 1280px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 58px; width: auto; display: block; margin: -9px 0; }

.nav-wide { display: none; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; letter-spacing: 0.01em; }
.nav-link, .nav-link:hover { text-decoration: none; }
.nav-link { color: var(--ink); }
.nav-link:hover { color: var(--cobalt); }
.nav-socials { display: flex; align-items: center; gap: 14px; }
.social-icon { color: var(--cobalt); display: flex; }
.social-icon:hover { color: var(--red); }
.social-icon svg { display: block; }

.btn-nav, .btn-nav:hover {
  background: var(--cobalt); color: var(--cream); text-decoration: none;
  padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap;
}
.btn-nav:hover { background: var(--red); }
.btn-nav--compact, .btn-nav--compact:hover { padding: 10px 16px; font-size: 14px; }

.nav-compact { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.burger {
  width: 48px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.burger span { width: 26px; height: 2px; background: var(--cobalt); display: block; }

.mobile-menu {
  display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px;
  padding: 8px 28px 24px; border-top: 1px solid rgba(30, 64, 196, 0.14); background: var(--cream);
}
.mobile-menu[hidden] { display: none; }
.mobile-link, .mobile-link:hover { text-decoration: none; font-size: 18px; padding: 6px 0; }
.mobile-link { color: var(--ink); }
.mobile-link:hover { color: var(--cobalt); }
.mobile-socials { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 18px; }

@media (min-width: 1040px) {
  .nav-wide { display: flex; }
  .nav-compact, .mobile-menu { display: none !important; }
}

/* ---------- Shared ---------- */
.h2 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.02em; color: var(--cobalt);
}
.h2--light { color: var(--cream); }
.h2--spaced { margin-bottom: 28px; }
.dot { color: var(--gold); }

.section { max-width: 1280px; margin: 0 auto; padding: var(--pad-y) 28px; }
.band { background: var(--cream); color: var(--ink); }
.band--cobalt { background: var(--cobalt); color: var(--cream); }
.band-inner { max-width: 1280px; margin: 0 auto; padding: var(--pad-y) 28px; }
.grid-2 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.prose { max-width: 34em; }
.prose p { margin: 0 0 22px; }
.prose p:last-child { margin-bottom: 0; }
picture { display: block; }
.portrait {
  width: 100%; max-width: 460px; aspect-ratio: 23 / 26; height: auto; object-fit: cover;
  display: block; border-radius: 6px;
}

.divider { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.divider-dots { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0; }
.divider-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); display: block; }

.btn-gold, .btn-gold:hover {
  background: var(--gold); color: var(--ink); text-decoration: none; border-radius: 999px;
  font-size: 17px; font-weight: 600; white-space: nowrap;
}
.btn-gold:hover { background: var(--cream); }

/* ---------- Hero ---------- */
.hero { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 48px; align-items: center; padding: 64px 0 40px;
}
.hero-copy { max-width: 620px; }
.eyebrow { margin: 0 0 26px; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cobalt); font-weight: 600; }
.hero-title {
  margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5.2vw, 50px);
  line-height: 1.15; letter-spacing: -0.01em; color: var(--cobalt); text-wrap: balance;
}
.hero-title strong { font-weight: inherit; background-image: linear-gradient(to top, rgba(239, 191, 4, 0.95) 36%, transparent 36%); }
.hero-intro { margin: 30px 0 0; font-size: 20px; line-height: 1.55; max-width: 32em; color: var(--ink); }
.btn-hero, .btn-hero:hover {
  display: inline-block; margin-top: 34px; background: var(--cobalt); color: var(--cream); text-decoration: none;
  padding: 17px 30px; border-radius: 999px; font-size: 17px; font-weight: 500;
}
.btn-hero:hover { background: var(--red); }
.hero-media { position: relative; }
.hero-img {
  width: 100%; height: min(74vh, 660px); object-fit: cover; object-position: 50% 75%;
  display: block; border-radius: 6px;
}

/* ---------- Who This Is For ---------- */
.who-stack { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 44px); }
.who-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.who-card {
  border-radius: 8px; padding: clamp(26px, 3vw, 36px); min-height: 220px; height: 100%; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 28px;
}
.who-card img { width: 44px; height: auto; display: block; }
.who-card p { margin: 0; font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.who-card--cobalt { background: var(--cobalt); color: var(--cream); }
.who-card--gold { background: var(--gold); color: var(--cobalt); }
.who-card--red { background: var(--red); color: var(--cream); }
.who-body { display: flex; flex-direction: column; gap: 22px; width: 100%; }
.who-body p { margin: 0; color: var(--ink); }

/* ---------- What I Do ---------- */
.portrait--what { object-position: 50% 0%; }
.prose--what p { color: rgba(241, 237, 226, 0.94); }
.prose--what p:first-child { color: var(--cream); }

/* ---------- Testimonials carousel ---------- */
.testimonials { background: var(--cream); color: var(--ink); }
.testimonials-inner {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(44px, 5.5vw, 72px) clamp(28px, 5vw, 72px) clamp(28px, 3.2vw, 44px);
}
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; align-items: stretch; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.carousel-slide { flex: 0 0 100%; min-width: 0; padding: 4px; box-sizing: border-box; }
.quote-card {
  margin: 0; height: 100%; box-sizing: border-box; border: 1px solid rgba(30, 64, 196, 0.25); border-radius: 8px;
  padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.quote {
  margin: 0; font-family: var(--font-accent); font-weight: 700; font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.22; color: var(--red);
}
.quote-card figcaption { display: flex; align-items: center; gap: 16px; font-size: 16px; }
.quote-card figcaption img { width: 40px; height: auto; display: block; flex: 0 0 auto; }
.quote-meta { flex: 1 1 0; min-width: 0; color: rgba(26, 26, 34, 0.75); }
.quote-name { font-weight: 600; color: var(--cobalt); }
.carousel-controls { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(30, 64, 196, 0.3); background: transparent;
  color: var(--cobalt); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.carousel-btn svg { display: block; }
.carousel-btn:hover { background: var(--cobalt); color: var(--cream); border-color: var(--cobalt); }

/* ---------- Statement band ---------- */
.statement {
  max-width: 1280px; margin: 0 auto; padding: clamp(37px, 4.7vw, 64px) 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.statement-title {
  margin: 0; max-width: 18em; font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.12; letter-spacing: -0.01em; color: var(--cream); text-wrap: balance;
}
.statement-title strong {
  font-weight: inherit;
  background-image: linear-gradient(to top, rgba(239, 191, 4, 0.95) 0.14em, transparent 0.14em);
  padding-bottom: 0.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.statement-sub { margin: 0; font-size: 20px; line-height: 1.5; color: var(--cream); }
.btn-gold--statement, .btn-gold--statement:hover { margin-top: 14px; padding: 17px 30px; }
.btn-gold--statement:hover { color: var(--cobalt); }

/* ---------- How We Work Together ---------- */
.prose--how p:last-of-type { margin-bottom: 32px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-evenly; }
.pills li { border: 1px solid rgba(30, 64, 196, 0.35); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--cobalt); }

/* ---------- About ---------- */
.portrait--about { object-position: 58% 100%; }
.prose--about strong { color: var(--gold); font-weight: 600; }

/* ---------- Podcast ---------- */
.podcast-media { display: flex; flex-direction: column; gap: 16px; }
.label-heading { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cobalt); }
.podcast-gif { display: block; width: 100%; max-width: 460px; }
.podcast-gif img { width: 100%; height: auto; aspect-ratio: 1 / 1; display: block; }
.prose--podcast p { margin: 0 0 30px; }
.listen { display: flex; align-items: center; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; font-size: 16px; }
.listen-label { color: rgba(26, 26, 34, 0.7); margin-right: 4px; }
.platform {
  display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 8px;
  text-decoration: none; transition: transform 0.15s ease;
}
.platform:hover { transform: translateY(-2px); }
.platform img { height: 36px; width: auto; display: block; }
.platform img.platform-yt { height: 26px; }

/* ---------- For Teams ---------- */
.h2--teams { margin-bottom: 24px; }
.prose--teams { max-width: 26em; }
.teams-quote { margin: 0; border: 1px solid rgba(30, 64, 196, 0.25); border-radius: 8px; padding: clamp(28px, 4vw, 44px); max-width: 34em; }
.quote--teams { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.25; }
.teams-quote figcaption { margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 15px; }
.teams-quote figcaption img { width: 32px; height: auto; display: block; }
.quote-role { color: rgba(26, 26, 34, 0.75); }

/* ---------- Contact + footer ---------- */
.contact-inner { max-width: 1280px; margin: 0 auto; padding: clamp(52px, 6.5vw, 92px) 28px; }
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.contact-title {
  margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 60px);
  line-height: 0.98; letter-spacing: -0.025em; color: var(--cream); white-space: nowrap;
}
.contact-img { width: 100%; max-width: 440px; aspect-ratio: 10 / 11; height: auto; object-fit: cover; object-position: 50% 75%; display: block; border-radius: 4px; }
.contact-photo--stacked { margin-top: 28px; }
.contact-photo--split { justify-self: end; width: 100%; max-width: 440px; }
/* The photo sits between heading and copy once the two columns no longer fit
   (container < 640px + gap, i.e. viewport < ~733px), as in the design. */
@media (min-width: 733px) { .contact-photo--stacked { display: none; } }
@media (max-width: 732.98px) { .contact-photo--split { display: none; } }
.contact-body { margin: 30px 0 0; font-size: clamp(19px, 2vw, 22px); line-height: 1.5; max-width: 32em; color: rgba(241, 237, 226, 0.95); }
.contact-actions { margin-top: 36px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-gold--contact, .btn-gold--contact:hover { padding: 18px 32px; flex-shrink: 0; }
.contact-email { color: var(--cream); font-size: 17px; }
.contact-email:hover { color: var(--gold); }
.contact-logo { width: 100%; max-width: 120px; height: auto; display: block; margin-top: 28px; }
@media (min-width: 1040px) { .contact-logo { max-width: 150px; margin-top: 48px; } }

.site-footer {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(241, 237, 226, 0.28);
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; font-size: 14px; color: rgba(241, 237, 226, 0.8);
}
.footer-socials { display: flex; align-items: center; gap: 16px; }
.footer-socials a { color: rgba(241, 237, 226, 0.85); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.footer-socials svg { display: block; }
.footer-socials a:hover, .footer-legal:hover { color: var(--gold); }
.footer-legal { color: rgba(241, 237, 226, 0.8); }

/* ---------- Sub-pages (Mentions légales, blog) ---------- */
.subpage { font-size: 18px; line-height: 1.62; }
.sub-header { border-bottom: 1px solid rgba(30, 64, 196, 0.14); }
.sub-header-bar { max-width: 900px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sub-header .brand img { height: 38px; margin: 0; }
.sub-back, .sub-back:hover { margin-left: auto; font-size: 15px; text-decoration: none; }
.sub-back { color: var(--ink); }
.sub-back:hover { color: var(--cobalt); }
.sub-main { max-width: 900px; margin: 0 auto; padding: clamp(40px, 5.5vw, 72px) 28px clamp(56px, 7vw, 96px); }
.sub-title {
  margin: 0 0 clamp(32px, 4vw, 52px); font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04; letter-spacing: -0.02em; color: var(--cobalt);
}
.sub-h2 {
  margin: 0 0 clamp(24px, 3vw, 36px); font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.06; letter-spacing: -0.02em; color: var(--cobalt);
}
.legal-text { max-width: 38em; }
.legal-text h2, .legal-text h3 {
  margin: clamp(24px, 3vw, 34px) 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 20px;
  line-height: 1.62; letter-spacing: -0.01em; color: var(--cobalt);
}
.legal-text > :first-child { margin-top: 0; }
.legal-text p { margin: 0; }
.legal-sep { margin: clamp(44px, 5vw, 64px) 0; display: flex; align-items: center; gap: 18px; }
.legal-sep img { width: 30px; height: auto; display: block; }
.legal-sep span { height: 1px; background: rgba(30, 64, 196, 0.18); display: block; flex: 1 1 auto; max-width: 160px; }
.sub-footer { background: var(--cobalt); color: var(--cream); }
.sub-footer-bar {
  max-width: 900px; margin: 0 auto; padding: 32px 28px; display: flex; gap: 20px; flex-wrap: wrap;
  justify-content: space-between; align-items: center; font-size: 14px;
}
.sub-footer-bar span { color: rgba(241, 237, 226, 0.8); }
.sub-footer-bar a { color: rgba(241, 237, 226, 0.85); }
.sub-footer-bar a:hover { color: var(--gold); }
.sub-footer :focus-visible { outline-color: var(--gold); }

/* Blog (shares the sub-page shell until Design provides a blog layout) */
.post-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 40px); max-width: 38em; }
.post-list h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.01em; }
.post-list h2 a { color: var(--cobalt); text-decoration: none; }
.post-list h2 a:hover { color: var(--red); }
.post-list p { margin: 6px 0 0; }
.post-date { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cobalt); font-weight: 600; }
.post-body { max-width: 38em; }
.post-body > :first-child { margin-top: 0; }
.post-body h2, .post-body h3 { font-family: var(--font-display); font-weight: 600; color: var(--cobalt); letter-spacing: -0.01em; line-height: 1.15; margin: 1.6em 0 0.5em; }
.post-body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.post-body h3 { font-size: 22px; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 1em; }
.post-body img { max-width: 100%; height: auto; border-radius: 6px; }
.post-body blockquote { margin: 1.4em 0; font-family: var(--font-accent); font-weight: 700; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.25; color: var(--red); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track, .platform { transition: none; }
  .platform:hover { transform: none; }
}
