/* Bédard Capital Inc. — site styles
   Palette: navy #0A192D · gold #C9A96E · ivory #F4F1EA · ink #1A1A1A · grey #8A8580 · hairline #D8D2C5 */

:root {
  --navy: #0A192D;
  --gold: #C9A96E;
  --ivory: #F4F1EA;
  --ink: #1A1A1A;
  --grey: #8A8580;
  --hairline: #D8D2C5;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 40rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

.wrap { width: min(100% - 3rem, 64rem); margin-inline: auto; }

/* Header */
.site-header { padding: 1.5rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; text-decoration: none; }
.brand img { width: 88px; height: auto; }
.lang { font-size: .9rem; color: var(--grey); text-decoration: none; padding: .35rem .6rem; border: 1px solid var(--hairline); }
.lang:hover { color: var(--navy); border-color: var(--navy); }

/* Hero — ivory, centered, the wordmark leads */
.hero { background: var(--ivory); color: var(--navy); text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 5.5rem); border-bottom: 1px solid var(--hairline); }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(64vw, 22rem); height: auto; margin: 0 auto 2.5rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -.005em;
  max-width: 22ch;
  margin: 0 auto 1.5rem;
}
.hero p { max-width: 38rem; font-size: 1.15rem; color: var(--ink); margin: 0 auto 2.25rem; }
.hero .cta { background: var(--navy); color: var(--ivory); }
.hero .cta:hover { background: #142744; }

/* Buttons */
.cta {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: .9rem 1.5rem;
  background: var(--navy);
  color: var(--ivory);
  text-decoration: none;
  transition: background .15s ease;
}
.cta:hover { background: #142744; }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
section + section { border-top: 1px solid var(--hairline); }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 .75rem;
  color: var(--navy);
}
.section-title::after { content: ""; display: block; width: 2.5rem; height: 1px; background: var(--gold); margin-top: 1rem; }
.lede { max-width: var(--measure); font-size: 1.15rem; margin: 1.25rem 0 0; }

.two-col { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* Lists of work */
.work { list-style: none; padding: 0; margin: 2.5rem 0 0; max-width: 48rem; }
.work li { padding: 1.5rem 0; border-top: 1px solid var(--hairline); }
.work li:last-child { border-bottom: 1px solid var(--hairline); }
.work h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin: 0 0 .4rem; color: var(--navy); }
.work p { margin: 0; max-width: var(--measure); }

/* Who */
.who { max-width: var(--measure); margin: 2rem 0 0; padding-left: 1.2rem; }
.who li { margin-bottom: .6rem; }
.who li::marker { color: var(--gold); }

/* Sub-title inside a section */
.sub-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--navy); margin: 2.5rem 0 0; }
.lede + .sub-title { margin-top: 2rem; }

/* About */
.portrait { width: 100%; max-width: 18rem; }
.about-text p { max-width: var(--measure); }
.about-text p:first-child { margin-top: 0; }

/* Licensing */
.licence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; margin-top: 2rem; max-width: 52rem; }
@media (max-width: 720px) { .licence-grid { grid-template-columns: 1fr; } }
.licence-grid h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); margin: 0 0 .5rem; }
.licence-grid p { margin: 0; }
.note { color: var(--grey); font-size: .95rem; max-width: var(--measure); margin-top: 2rem; }

/* Contact */
.contact { background: var(--navy); color: var(--ivory); }
.contact-logo { width: 9rem; height: auto; margin-bottom: 2.5rem; }
.contact .section-title { color: var(--ivory); }
.contact .lede { color: #D9D4C8; }
.contact .cta { background: var(--gold); color: var(--navy); margin-top: 2rem; }
.contact .cta:hover { background: var(--ivory); }
.contact address { font-style: normal; margin-top: 2.5rem; color: #D9D4C8; line-height: 1.8; }
.contact a { color: var(--ivory); }

/* Footer / disclosure */
.site-footer { padding: 3rem 0 4rem; font-size: .875rem; color: var(--grey); line-height: 1.6; }
.site-footer h2 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); margin: 0 0 .75rem; }
.site-footer p { max-width: 56rem; margin: 0 0 .9rem; }
.site-footer .fine { padding-top: 1.5rem; border-top: 1px solid var(--hairline); margin-top: 1.5rem; }
