/* chantal-danielle.com · Rose Window: limestone ground, deep blue tracery, wine and gold in the small pane geometry */
:root {
  --bg: #f7f5f1;
  --panel: #fffdf9;
  --panel-2: #efece4;
  --ink: #23272e;
  --soft: #3d4249;
  --muted: #5f636a;
  --blue: #2e4a7a;
  --wine: #8e3b46;
  --gold: #c9a227;
  --line: #ded9cf;
  --line-blue: #c6d0e0;
  --shell: 1140px;
  --display: 'Kameron', Georgia, 'Times New Roman', serif;
  --body: 'Inconsolata', 'DejaVu Sans Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 22px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 241, .95); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.2rem; padding: .68rem 22px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.03rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark svg { width: 26px; height: 26px; flex: none; }
.main-nav { display: flex; align-items: center; gap: .3rem 1.05rem; flex-wrap: wrap; }
.main-nav a { color: #3a3f47; text-decoration: none; font-size: .9rem; padding: .15rem 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: #8e3b46; border-bottom-color: #8e3b46; }
.main-nav a[aria-current="page"] { color: #2e4a7a; border-bottom-color: #c9a227; }
.btn {
  display: inline-flex; align-items: center; background: #2e4a7a; color: #fffdf9;
  font-family: var(--display); font-weight: 600; font-size: .95rem; line-height: 1.2;
  padding: .62rem 1.2rem; text-decoration: none; border: 1px solid #2e4a7a;
}
.btn:hover { background: #8e3b46; border-color: #8e3b46; color: #fffdf9; }
.btn-sm { padding: .38rem .9rem; font-size: .83rem; }
/* nav CTA keeps its own colours: .main-nav a (0-1-1) would otherwise win over .btn (0-1-0) */
.main-nav a.btn { background: #2e4a7a; color: #fffdf9; border: 1px solid #2e4a7a; }
.main-nav a.btn:hover { background: #8e3b46; color: #fffdf9; border-color: #8e3b46; border-bottom-color: #8e3b46; }

/* hero */
.hero { padding: 2.4rem 0 1.5rem; text-align: center; }
.hero-kicker { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--wine); margin: 0 0 .8rem; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 6.4vw, 4.2rem); line-height: 1.02; margin: 0 0 1rem; }
.hero-lead { color: var(--soft); max-width: 64ch; margin: 0 auto 1.6rem; }
.rose { position: relative; width: min(420px, 72vw); margin: 0 auto 1.7rem; aspect-ratio: 1 / 1; filter: drop-shadow(0 20px 36px rgba(46, 74, 122, .16)); }
.rose svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rose img { position: absolute; inset: 9.5%; width: 81%; height: 81%; border-radius: 50%; object-fit: cover; object-position: center; }

/* sections */
.section { padding: 2.4rem 0; }
.section-first { padding-top: 1.5rem; }
.section-last { padding-bottom: 3.4rem; }
.eyebrow { font-size: .73rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); margin: 0 0 .5rem; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 2.8vw, 2rem); line-height: 1.14; margin: 0 0 .6rem; }
.section-sub { color: var(--muted); max-width: 68ch; margin: 0 0 1.3rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 14px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; }
.partner-card:hover { border-color: var(--line-blue); box-shadow: 0 10px 26px rgba(46, 74, 122, .12); }
.partner-card img { max-width: 186px; max-height: 62px; width: auto; height: auto; object-fit: contain; }

/* quick profile: window panes */
.profile-grid { display: grid; grid-template-columns: 216px 1fr; gap: 1.8rem; align-items: start; }
.profile-portrait { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); box-shadow: 0 0 0 9px var(--panel-2); margin: 0 auto; }
.pane { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pane-item { background: var(--panel); padding: .8rem 1rem; }
.pane-item .k { display: block; font-size: .69rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: .15rem; }
.pane-item .v { color: var(--soft); font-size: .95rem; }
.profile-note { color: var(--muted); font-size: .87rem; margin: 1rem 0 0; }

/* about */
.about-cols { columns: 2; column-gap: 2.4rem; }
.about-cols p { margin: 0 0 1rem; color: var(--soft); break-inside: avoid; }
.pull { margin: 1.5rem 0 0; padding: 1rem 1.2rem 1rem 1.4rem; border-left: 2px solid var(--gold); background: var(--panel); font-family: var(--display); font-weight: 400; font-size: 1.06rem; color: var(--ink); }
.pull .attrib { display: block; font-family: var(--body); font-size: .8rem; color: var(--muted); margin-top: .5rem; }

/* career split + timeline with radial ticks */
.career-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }
.tl { list-style: none; margin: 0; padding: 0 0 0 1.7rem; border-left: 1px solid var(--line-blue); }
.tl li { position: relative; padding: 0 0 1.2rem; }
.tl li:last-child { padding-bottom: 0; }
.tl .tick { position: absolute; left: -1.7rem; top: .3em; width: 19px; height: 19px; margin-left: -9.5px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, #2e4a7a 0deg 1.4deg, transparent 1.4deg 30deg); }
.tl .tick::after { content: ""; position: absolute; inset: 6.5px; border-radius: 50%; background: var(--gold); }
.tl .when { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .1rem; }
.tl .what { display: block; color: var(--soft); font-size: .97rem; }

/* gallery: 2x2 panes with corner ornaments */
.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gal figure { position: relative; margin: 0; padding: 9px; background: var(--panel); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.gal .ph { position: relative; width: 100%; overflow: hidden; background: var(--panel-2); }
.gal .tall .ph { aspect-ratio: 3 / 4; }
.gal .wide .ph { aspect-ratio: 5 / 3; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal .ph-top img { object-position: center top; }
.cornered { position: relative; }
.cornered .c { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.cornered .c::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--blue); border-right: 0; border-bottom: 0; border-top-left-radius: 100%; }
.cornered .c::after { content: ""; position: absolute; top: -1px; left: -1px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cornered .c-tr::before, .cornered .c-bl::before { border-color: var(--wine); }
.cornered .c-tl { top: 5px; left: 5px; }
.cornered .c-tr { top: 5px; right: 5px; transform: rotate(90deg); }
.cornered .c-br { bottom: 5px; right: 5px; transform: rotate(180deg); }
.cornered .c-bl { bottom: 5px; left: 5px; transform: rotate(270deg); }

/* wide figure used on the career page */
.figure-wide { position: relative; margin: 1.7rem 0 0; padding: 9px; background: var(--panel); border: 1px solid var(--line); }
.figure-wide img { width: 100%; height: auto; }

/* social */
.social-list { border-top: 1px solid var(--line); max-width: 780px; }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem .4rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .18s ease, padding .18s ease; }
.social-row .platform { font-family: var(--display); font-weight: 600; font-size: 1.04rem; }
.social-row .handle { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.social-row:hover { background: var(--panel); padding-left: .9rem; }
.social-row:hover .platform { color: var(--blue); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); padding: 1.8rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.2fr auto; gap: 1rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 700; letter-spacing: .01em; }
.brand-line { color: var(--muted); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .25rem .85rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.language-nav a:hover { color: var(--wine); }
.language-nav a[aria-current="page"] { color: var(--blue); }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* subpages */
.page-top { padding: 2.1rem 0 1.2rem; border-bottom: 1px solid var(--line); margin-bottom: 1.9rem; }
.page-top h1 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.05; margin: .1rem 0 .7rem; }
.page-top .lead { color: var(--muted); max-width: 72ch; margin: 0; }
.reading { max-width: 80ch; }
.reading-standalone { margin-top: 2rem; }
.story { margin: 0 0 2.1rem; }
.story h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin: 0 0 .7rem; }
.story p { color: var(--soft); margin: 0 0 .95rem; }
.story p:last-child { margin-bottom: 0; }
.subpage { padding-bottom: 3.2rem; }

/* stats, lists, credits */
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 1.8rem; }
.stat { flex: 1 1 200px; border: 1px solid var(--line); background: var(--panel); padding: .95rem 1.2rem; }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--blue); }
.stat span { color: var(--muted); font-size: .85rem; }
.cols2 { columns: 2; column-gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.cols2 li { color: var(--soft); padding: .32rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.credits { list-style: none; margin: 0; padding: 0; }
.credits li { display: grid; grid-template-columns: 104px 1fr; gap: 0 1rem; padding: .62rem 0; border-bottom: 1px solid var(--line); }
.credits .yr { color: var(--wine); font-size: .85rem; letter-spacing: .06em; }
.credits .ti { color: var(--ink); }
.credits .ti em { display: block; font-style: normal; color: var(--muted); font-size: .88rem; }
.note { color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: .95rem 0; }
.faq summary { font-family: var(--display); font-weight: 600; font-size: 1.06rem; line-height: 1.35; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--wine); font-family: var(--body); }
.faq details[open] summary::after { content: "\00b7"; color: var(--gold); }
.faq .answer p { color: var(--soft); margin: .6rem 0 0; max-width: 78ch; }

/* 404 */
.nf { padding: 3.2rem 0 4.2rem; }
.nf .mark { width: 68px; height: 68px; margin: 0 0 1.2rem; }
.nf p { color: var(--soft); max-width: 60ch; }

@media (max-width: 1020px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-portrait { width: 168px; height: 168px; }
  .about-cols { columns: 1; }
  .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .main-nav { gap: .25rem .85rem; }
  .main-nav a { font-size: .85rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .partner-card { width: auto; height: 124px; }
  .partner-card img { max-width: 140px; max-height: 52px; }
  .pane { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr; }
  .gal .tall .ph { aspect-ratio: 4 / 5; }
  .credits li { grid-template-columns: 88px 1fr; }
  .cols2 { columns: 1; }
  .section { padding: 2rem 0; }
  .rose { width: min(340px, 76vw); }
}
