/* Archipel: a bright, friendly Québec city look (in the spirit of laval.ca). Navy and sky blue
   with a warm sun-yellow band, light large headings, pill buttons in ink that turn navy, and a
   banner whose right edge curves into a half-circle. */
@import url("../fonts/inter.9383489e9b1e.css");

:root {
  --font-body: Inter, system-ui, sans-serif;
  --font-heading: var(--font-body);
  --heading-weight: 500;
  --radius: 8px;
  --color-primary: #222d65; --color-primary-dark: #161e47; --color-primary-text: #ffffff;
  --color-accent: #8db7e1; --color-accent-text: #222d65;
  --color-bg: #ffffff; --color-surface: #f6f6f6; --color-text: #0a0a0a; --color-muted: #535353; --color-border: #cecece;
  --color-link: #222d65;
  --color-header-bg: #ffffff; --color-nav-bg: #ffffff; --color-nav-text: #0a0a0a; --color-footer-bg: #222d65;
  --archipel-ink: #0a0a0a; --archipel-ink-text: #ffffff; --archipel-ink-hover: #222d65; --archipel-ink-hover-text: #ffffff;
  --archipel-hero-bg: #8db7e1; --archipel-hero-text: #222d65;
  --archipel-sun: #ffb91e; --archipel-herb: #00505a;
  --archipel-tint: #e5eef6;
  --archipel-disc: #222d65; --archipel-sun-disc: #ffb91e;
}
@media (prefers-color-scheme: dark) {
  :root:not(.light-only):not([data-theme="light"]) {
    --color-bg: #0d1020; --color-surface: #171c36; --color-text: #eef0f7; --color-muted: #aab1cc; --color-border: #2c3458;
    --color-header-bg: #0d1020; --color-nav-bg: #0d1020; --color-nav-text: #eef0f7; --color-link: #a9c8ec; --color-footer-bg: #161d45;
    --color-primary: #8db7e1; --color-primary-dark: #c2d8f0; --color-primary-text: #0d1020;
    --archipel-ink: #8db7e1; --archipel-ink-text: #0d1020; --archipel-ink-hover: #c2d8f0; --archipel-ink-hover-text: #0d1020;
    --archipel-hero-bg: #222d65; --archipel-hero-text: #ffffff;
    --archipel-sun: #0b4a52; --archipel-herb: #ffffff;
    --archipel-tint: #171c36; --archipel-disc: #8db7e1; --archipel-sun-disc: #ffb91e;
  }
}
:root[data-theme="dark"]:not(.light-only) {
  --color-bg: #0d1020; --color-surface: #171c36; --color-text: #eef0f7; --color-muted: #aab1cc; --color-border: #2c3458;
  --color-header-bg: #0d1020; --color-nav-bg: #0d1020; --color-nav-text: #eef0f7; --color-link: #a9c8ec; --color-footer-bg: #161d45;
  --color-primary: #8db7e1; --color-primary-dark: #c2d8f0; --color-primary-text: #0d1020;
  --archipel-ink: #8db7e1; --archipel-ink-text: #0d1020; --archipel-ink-hover: #c2d8f0; --archipel-ink-hover-text: #0d1020;
  --archipel-hero-bg: #222d65; --archipel-hero-text: #ffffff;
  --archipel-sun: #0b4a52; --archipel-herb: #ffffff;
  --archipel-tint: #171c36; --archipel-disc: #8db7e1; --archipel-sun-disc: #ffb91e;
}

.theme-archipel { font-size: 17px; line-height: 1.6; }
.theme-archipel h1, .theme-archipel h2 { line-height: 1.2; letter-spacing: -.015em; }
.theme-archipel h3 { font-weight: 600; line-height: 1.3; }
.theme-archipel a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.theme-archipel a:hover { text-decoration-thickness: 2px; }

/* Header: white, with pill-shaped tools on the right */
.theme-archipel .site-header { border-bottom: 1px solid var(--color-border); }
.theme-archipel .site-brand strong { font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.theme-archipel .site-search input { border: 1px solid var(--color-text); border-radius: 40px 0 0 40px; padding-left: 20px; background: transparent; }
.theme-archipel .site-search button { border-radius: 0 40px 40px 0; padding-right: 20px; background: var(--archipel-ink); border-color: var(--archipel-ink); color: var(--archipel-ink-text); }
.theme-archipel .header-link { border: 1px solid var(--color-text); border-radius: 40px; padding: 8px 20px; text-decoration: none; }
.theme-archipel .header-link:hover { background: var(--archipel-ink-hover); border-color: var(--archipel-ink-hover); color: var(--archipel-ink-hover-text); }
.theme-archipel .lang-switch { border-color: var(--color-text); border-radius: 40px; }
.theme-archipel .lang-switch button[aria-pressed="true"] { background: var(--archipel-ink); color: var(--archipel-ink-text); font-weight: 500; }
.theme-archipel .theme-btn { border-radius: 50%; }

/* Menu: plain text links with a line that slides in underneath */
.theme-archipel .site-nav { border-bottom: 1px solid var(--color-border); }
.theme-archipel #site-menu { column-gap: 24px; }
.theme-archipel #site-menu > li > a:not(.button), .theme-archipel .menu-button { font-weight: 400; font-size: 1rem; padding: 16px 0; }
.theme-archipel #site-menu > li:not(.menu-cta) > a, .theme-archipel .menu-button {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 10px) / 0 2px;
  transition: background-size .3s;
}
.theme-archipel #site-menu > li:not(.menu-cta) > a:hover, .theme-archipel #site-menu > li > a[aria-current="page"],
.theme-archipel .menu-button:hover, .theme-archipel .menu-button.is-current { text-decoration: none; background-size: 100% 2px; }
.theme-archipel .dropdown { border-radius: 24px; padding: 14px; }

/* Titles: big and light */
.theme-archipel main h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; }
.theme-archipel .section > .wrap > h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .8em; }

/* Banner: sky blue with a half-circle right edge, and round photos */
.theme-archipel .hero-band { background: var(--archipel-hero-bg); color: var(--archipel-hero-text); padding: 72px 0; }
.theme-archipel .hero-band h1, .theme-archipel .hero-band h2 { color: var(--archipel-hero-text); }
.theme-archipel .hero-band h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); }
.theme-archipel .hero-band .button-primary { background: var(--archipel-ink); color: var(--archipel-ink-text); border-color: var(--archipel-ink); }
.theme-archipel .hero-band .button-primary:hover { background: var(--archipel-ink-hover); color: var(--archipel-ink-hover-text); border-color: var(--archipel-ink-hover); }
.theme-archipel .hero-band .button:not(.button-primary), .theme-archipel .hero-band .button-outline-band { border-color: currentColor; color: inherit; background: transparent; }
.theme-archipel .hero-light { background: var(--archipel-tint); }
@media (min-width: 900px) {
  .theme-archipel .hero-band, .theme-archipel .hero-light { border-radius: 0 600px 600px 0; margin-right: 5vw; }
  .theme-archipel .hero-band .hero-copy, .theme-archipel .hero-light .hero-copy { padding-right: 4vw; }
  /* Two stacked half-discs sit in the curve, as on the city's own banner */
  .theme-archipel .hero-band:not(.has-image)::after, .theme-archipel .hero-light:not(.has-image)::after {
    content: ""; position: absolute; right: 18%; top: 50%; width: 120px; height: 240px; transform: translateY(-50%);
    background:
      radial-gradient(circle at 0 25%, var(--archipel-disc) 59px, transparent 60px),
      radial-gradient(circle at 0 75%, var(--archipel-sun-disc) 59px, transparent 60px);
  }
  .theme-archipel .hero-light:not(.has-image)::after { width: 70px; height: 140px; background:
    radial-gradient(circle at 0 25%, var(--archipel-disc) 34px, transparent 35px),
    radial-gradient(circle at 0 75%, var(--archipel-sun-disc) 34px, transparent 35px); }
}
.theme-archipel .hero-side { aspect-ratio: 1; border-radius: 50%; max-width: 440px; justify-self: center; }

/* Buttons: ink pills that turn navy */
.theme-archipel .button { border-radius: 40px; font-weight: 400; padding: 10px 24px; border: 1px solid var(--color-text); background: transparent; color: var(--color-text); transition: background-color .3s, color .3s; }
.theme-archipel .button:hover { background: var(--archipel-ink-hover); border-color: var(--archipel-ink-hover); color: var(--archipel-ink-hover-text); }
.theme-archipel .button-primary { background: var(--archipel-ink); border-color: var(--archipel-ink); color: var(--archipel-ink-text); }
.theme-archipel .button-primary:hover { background: var(--archipel-ink-hover); border-color: var(--archipel-ink-hover); color: var(--archipel-ink-hover-text); }
.theme-archipel .button-large { padding: 14px 30px; }

/* Cards: soft grey tiles, rounded photos, a line that grows under the title */
.theme-archipel .card { border: 0; background: var(--color-surface); border-radius: 16px; }
.theme-archipel .card img { border-radius: 16px 16px 0 0; }
.theme-archipel .card-body { padding: 22px 24px 24px; }
.theme-archipel .card h3 { font-size: 1.2rem; }
.theme-archipel .card h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px; transition: background-size .3s; }
.theme-archipel .card:hover h3 a, .theme-archipel .card h3 a:focus-visible { background-size: 100% 2px; }
.theme-archipel .kind-tag { display: inline-block; text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--color-text); background: var(--color-bg); border-radius: 4px; padding: 3px 8px; margin-bottom: 10px; }
.theme-archipel .notice { border-radius: 16px; }
.theme-archipel .search-panel { border-radius: 32px; background: var(--archipel-tint); }
.theme-archipel .search-panel input { border-radius: 40px; }
.theme-archipel .badge { border-radius: 4px; }
.theme-archipel blockquote { border-left-color: var(--color-accent); }

/* Call to action: the warm sun-yellow band */
.theme-archipel .cta { background: var(--archipel-sun); color: var(--archipel-herb); }
.theme-archipel .cta h2 { color: var(--archipel-herb); font-weight: 500; }
.theme-archipel .cta .button-on-band { background: var(--archipel-ink); color: var(--archipel-ink-text); border-color: var(--archipel-ink); }
.theme-archipel .cta-accent { background: var(--archipel-hero-bg); color: var(--archipel-hero-text); }
.theme-archipel .cta-accent h2 { color: var(--archipel-hero-text); }
.theme-archipel .cta-light { background: var(--archipel-tint); color: var(--color-text); }
.theme-archipel .cta-light h2 { color: var(--color-text); }

/* Footer: navy, with white underlined links */
.theme-archipel .site-footer { margin-top: 32px; }
.theme-archipel .footer-grid { padding-top: 56px; }
.theme-archipel .footer-title { font-weight: 500; font-size: 1.25rem; }
.theme-archipel .site-footer a { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(255, 255, 255, .6); }
.theme-archipel .site-footer a:hover { text-decoration-color: #ffffff; text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: reduce) {
  .theme-archipel #site-menu > li > a, .theme-archipel .menu-button, .theme-archipel .card h3 a, .theme-archipel .button { transition: none; }
}
