/* bruna-butterfly.com · Butterfly design
   white paper, deep ink, wing gradient used only on 1px lines, arcs and outlines */

:root {
  --paper: #FCFCFD;
  --ink: #26243A;
  --muted: #6E6C86;
  --line: #E8E7F0;
  --violet: #8E7BD8;
  --blue: #5E7CE2;
  --cyan: #5EC2C9;
  --grad: linear-gradient(90deg, #8E7BD8 0%, #5E7CE2 52%, #5EC2C9 100%);
  --display: 'DM Serif Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --body: 'Wix Madefor Text', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.shell { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.shell.narrow { max-width: 900px; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 252, 253, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--grad);
  opacity: .75;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  flex-wrap: wrap;
  padding: 15px 0;
}
.wordmark {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: .01em;
  white-space: nowrap;
}
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.main-nav a:not(.btn) {
  position: relative;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 5px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a:not(.btn)[aria-current="page"] { color: var(--ink); }
.main-nav a:hover::after, .main-nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -14px rgba(38, 36, 58, .7), 0 0 0 3px rgba(94, 124, 226, .16); }
.btn-outline {
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
  color: var(--ink);
}
.btn-outline:hover { background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--grad) border-box; color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 10.5px; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 54px 0 62px; text-align: center; }
.hero-kicker {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-name {
  margin: 0 0 28px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.005em;
}
.hero-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.6vw, 22px);
  max-width: 840px;
  margin: 0 auto 30px;
}
.wing { flex: 0 0 auto; width: clamp(52px, 12vw, 158px); }
.wing-svg { display: block; width: 100%; height: auto; }
.wing-r { transform: scaleX(-1); }
.hero-card {
  flex: 0 0 auto;
  width: clamp(180px, 27vw, 300px);
  margin: 0;
  border: 1px solid transparent;
  border-radius: 22px;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 60px -32px rgba(38, 36, 58, .45);
  overflow: hidden;
}
.hero-card img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 21px; }
.hero-tagline {
  max-width: 740px;
  margin: 0 auto 16px;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}
.hero-intro { max-width: 660px; margin: 0 auto 30px; color: var(--muted); font-size: 15.5px; line-height: 1.75; }

/* --------------------------------------------------------------- sections */
.section { padding: 74px 0; border-top: 1px solid var(--line); }
.section-tight { padding: 42px 0 68px; }
.section-social { padding-bottom: 64px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .num { color: var(--blue); }
.section h2, .block h2, .block-head {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}
.section-sub { margin: 0 0 30px; color: var(--muted); font-size: 15px; }

/* -------------------------------------------------------------- partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 250px));
  justify-content: center;
  gap: 20px;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(#fff, #fff) padding-box, var(--line) border-box;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.partner-card:hover {
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: 0 16px 34px -22px rgba(38, 36, 58, .5);
  transform: translateY(-2px);
}
.partner-card img { width: auto; max-width: 190px; max-height: 68px; object-fit: contain; }

/* -------------------------------------------------------- quick profile */
.lattice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cell .k {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cell .v { font-family: var(--display); font-size: 19px; line-height: 1.3; }

/* ----------------------------------------------------------------- about */
.about-figure {
  width: clamp(240px, 40vw, 420px);
  margin: 6px auto 40px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
  overflow: hidden;
}
.about-figure img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 17px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.two-col .col { padding: 0 38px 0 0; }
.two-col .col + .col { padding: 0 0 0 38px; border-left: 1px solid var(--line); }
.two-col p { margin: 0 0 16px; }
.two-col p:last-child { margin-bottom: 0; }
.two-col-lists .col h2 { font-size: 22px; margin-bottom: 12px; }

/* ------------------------------------------- career timeline (wing veins) */
.tl { position: relative; max-width: 900px; margin: 0 auto; padding: 0; list-style: none; }
.tl::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 1px;
  background: var(--grad);
  opacity: .42;
}
.tl li { position: relative; width: 50%; padding: 0 52px 32px 0; }
.tl li:nth-child(even) { margin-left: 50%; padding: 0 0 32px 52px; }
.tl li::before {
  content: '';
  position: absolute;
  top: 9px;
  right: -4.5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
}
.tl li:nth-child(even)::before { left: -4.5px; right: auto; }
.tl li::after {
  content: '';
  position: absolute;
  top: 13px;
  right: 0;
  width: 52px;
  height: 1px;
  background: var(--grad);
  opacity: .5;
}
.tl li:nth-child(even)::after { left: 0; right: auto; }
.tl .when {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.tl .when::after { content: ' \00b7 '; color: var(--muted); letter-spacing: 0; }
.tl .wt { display: block; font-size: 15px; line-height: 1.6; }
html[lang="fr"] .tl .when::after { content: ' : '; }

/* --------------------------------------------------------------- gallery */
.gal { display: grid; grid-template-columns: 1.15fr .8fr .8fr; gap: 24px; align-items: start; }
.gal figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.gal img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gal .g1 { aspect-ratio: 4 / 3; }
.gal .g2 { aspect-ratio: 3 / 4; margin-top: 54px; border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.gal .g2 img { border-radius: 15px; }
.gal .g3 { aspect-ratio: 3 / 4; margin-top: 108px; }

/* ---------------------------------------------------------------- social */
.social-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 24px;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -20px rgba(38, 36, 58, .6); }
.pill .p { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pill .h { font-size: 14.5px; }

/* --------------------------------------------------------------- subpages */
.page-top { padding: 54px 0 4px; text-align: center; }
.page-arcs { display: block; width: 190px; height: auto; margin: 0 auto 20px; }
.page-top h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
}
.page-top .lead { max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 16.5px; line-height: 1.72; }
.block { margin: 0 0 48px; }
.block:last-of-type { margin-bottom: 0; }
.line-list { margin: 0; padding: 0; list-style: none; }
.line-list li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.62; }
.note {
  margin: 34px 0 0;
  padding: 18px 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
  color: var(--muted);
  font-size: 14.5px;
}
.qa { padding: 26px 0; border-top: 1px solid var(--line); }
.qa h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.3; }
.qa p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.72; }
.error-page { padding: 90px 0 110px; }
.error-page h1 { font-size: clamp(56px, 12vw, 110px); }
.error-page .btn { margin-top: 26px; }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; margin-top: 10px; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--grad); opacity: .6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px 28px; align-items: center; padding: 34px 0; }
.brand-name { display: block; font-family: var(--display); font-size: 19px; }
.brand-line { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.language-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 13px; }
.language-nav a { position: relative; color: var(--muted); text-decoration: none; padding-bottom: 2px; }
.language-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.language-nav a:hover, .language-nav a[aria-current="page"] { color: var(--ink); }
.language-nav a:hover::after, .language-nav a[aria-current="page"]::after { transform: scaleX(1); }
.footer-legal { margin: 0; text-align: right; color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .hero { padding: 40px 0 48px; }
  .section { padding: 58px 0; }
  .section-tight { padding: 34px 0 52px; }
  .two-col { grid-template-columns: 1fr; }
  .two-col .col { padding: 0; }
  .two-col .col + .col { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 18px; }
  .gal { grid-template-columns: 1fr; gap: 20px; }
  .gal .g2, .gal .g3 { margin-top: 0; }
  .gal .g1, .gal .g2, .gal .g3 { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; padding: 30px 0; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .tl li { padding-right: 34px; }
  .tl li:nth-child(even) { padding-left: 34px; }
  .tl li::after { width: 34px; }
  .tl li:nth-child(even)::after { width: 34px; }
}

@media (max-width: 720px) {
  .header-inner { gap: 10px 16px; }
  .main-nav { gap: 8px 14px; }
  .main-nav a:not(.btn) { font-size: 10.5px; letter-spacing: .12em; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .partner-card { width: auto; height: 112px; }
  .partner-card img { max-width: 132px; max-height: 52px; }
  .lattice { grid-template-columns: 1fr; }
  .cell { padding: 18px 20px; }
  .wing { width: clamp(34px, 11vw, 80px); }
  .hero-stage { gap: 6px; }
  .tl { padding-left: 16px; }
  .tl::before { left: 4px; }
  .tl li, .tl li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 26px 26px; }
  .tl li::before, .tl li:nth-child(even)::before { left: 0; right: auto; }
  .tl li::after, .tl li:nth-child(even)::after { left: 4px; right: auto; width: 18px; }
  .qa { padding: 20px 0; }
}
