/* crystalclarkcom.com · Starlight: night sky, star white, a glint of star gold */
:root {
  --night: #121420;
  --night-2: #181b2b;
  --night-3: #232842;
  --line: #2a2f47;
  --star: #e8e8f0;
  --star-bright: #f6f6fb;
  --gold: #c8b86a;
  --body-c: #ccd0e0;
  --dim: #9aa0bb;
  --footer-bg: #0e1019;
  --shell: 1200px;
  --display: 'Major Mono Display', ui-monospace, 'Courier New', monospace;
  --body: 'Gothic A1', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--body-c);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 2.6vw, 1.8rem);
     line-height: 1.24; margin: 0 0 .6rem; color: var(--star-bright); }
.eyebrow { font-family: var(--display); font-weight: 400; font-size: .78rem; letter-spacing: .14em;
           text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem; }
.section-sub { color: var(--dim); max-width: 64ch; margin: 0 0 1.8rem; }
.note { color: var(--dim); font-size: .88rem; margin: 1rem 0 0; }

/* header: night bar with a hairline of sky */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(18,20,32,.96);
               border-bottom: 1px solid var(--night-3); backdrop-filter: blur(3px); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.2rem; padding: .82rem 26px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-weight: 400; font-size: 1.02rem;
            letter-spacing: .05em; text-decoration: none; color: var(--star-bright);
            white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.main-nav a { color: var(--star); text-decoration: none; font-size: .9rem; font-weight: 400;
              padding: .15rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--star-bright); border-bottom-color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--star-bright); border-bottom-color: var(--gold); }
/* the button must beat .main-nav a (0-1-1): explicit rules for both states */
.btn { display: inline-flex; align-items: center; background: var(--gold); color: var(--night);
       font-family: var(--body); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
       padding: .72rem 1.5rem; text-decoration: none; border: 0; white-space: nowrap;
       border-radius: 2px; transition: background .18s ease, color .18s ease; }
.btn:hover { background: var(--star-bright); color: var(--night); }
/* .main-nav a (0-1-1) beats .btn / .btn-sm (0-1-0): restore the button box too */
.main-nav a.btn { color: var(--night); background: var(--gold); flex: 0 0 auto;
                  font-size: .84rem; padding: .44rem 1rem; }
.main-nav a.btn:hover { color: var(--night); background: var(--star-bright); }
.btn-sm { padding: .44rem 1rem; font-size: .84rem; }
.main-nav a.btn-sm { color: var(--night); font-size: .84rem; padding: .44rem 1rem; }
.main-nav a.btn-sm:hover { color: var(--night); }

/* hero: full-bleed photograph, copy kept to the left of the subject */
.hero { border-bottom: 1px solid var(--night-3); }
.hero-band { position: relative; display: flex; align-items: flex-end; background: var(--night);
             min-height: clamp(430px, 44vw, 900px); overflow: hidden; }
.hero-band img { position: absolute; inset: 0; width: 100%; height: 100%;
                 object-fit: cover; object-position: 50% 0%; display: block;
                 filter: brightness(.97) saturate(.94) contrast(1.02); }
.hero-veil { position: absolute; inset: 0; z-index: 1;
             background:
               linear-gradient(90deg, rgba(18,20,32,.97) 0%, rgba(18,20,32,.93) 26%,
                               rgba(18,20,32,.78) 40%, rgba(18,20,32,.5) 52%,
                               rgba(18,20,32,.2) 62%, rgba(18,20,32,0) 76%),
               linear-gradient(to top, rgba(18,20,32,.96) 0%, rgba(18,20,32,.74) 24%,
                               rgba(18,20,32,.34) 44%, rgba(18,20,32,.1) 56%,
                               rgba(18,20,32,0) 68%); }
.stars-left { position: absolute; left: 0; top: 0; bottom: 0; width: 24%; z-index: 2;
              pointer-events: none;
              background-image:
                radial-gradient(circle, rgba(232,232,240,.55) .8px, rgba(232,232,240,0) 1.6px),
                radial-gradient(circle, rgba(200,184,106,.5) .7px, rgba(200,184,106,0) 1.5px);
              background-size: 130px 110px, 190px 160px;
              background-position: 18px 26px, 84px 68px;
              -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,0) 100%);
              mask-image: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,0) 100%); }
svg.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
            pointer-events: none; opacity: .75; }
.hero-constellation { position: absolute; top: 6%; right: 3.5%; width: min(20vw, 250px);
                      z-index: 2; pointer-events: none; opacity: .92; }
.hero-constellation svg { width: 100%; height: auto; display: block; }
.hero-shell { position: relative; z-index: 3; display: flex; align-items: flex-end;
              margin: 0 auto; width: 100%; max-width: var(--shell); }
.hero-copy { max-width: 320px; padding-top: 2.2rem; padding-bottom: 2.6rem; }
.hero-kicker { font-weight: 700; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
               color: var(--gold); margin: 0 0 .8rem; }
.hero-title { font-family: var(--display); font-weight: 400; margin: 0 0 .9rem;
              font-size: clamp(1.95rem, 3.5vw, 2.9rem); line-height: 1.05; color: var(--star-bright); }
.hero-title span { display: block; }
.hero-tagline { font-weight: 400; font-size: 1.06rem; line-height: 1.5; margin: 0 0 1.5rem;
                color: var(--star); max-width: 30ch; }

/* sections */
.section { padding: 3rem 0; }
.section-tight { padding-top: 1.5rem; }
.section-last { padding-bottom: 4.2rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px;
                padding-top: 4px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px;
                height: 150px; border: 1px solid var(--night-3); border-radius: 2px;
                background: var(--night-2); transition: border-color .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile: three star-chart cards */
.charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-top: 14px; }
.chart-card { position: relative; overflow: hidden; border: 1px solid var(--night-3);
              background:
                radial-gradient(circle at 82% 8%, rgba(200,184,106,.10), rgba(200,184,106,0) 42%),
                linear-gradient(170deg, #1b1f31 0%, #171a29 60%, #141726 100%);
              padding: 20px 22px 20px; }
.chart-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
                      background: linear-gradient(90deg, var(--gold) 0%, rgba(200,184,106,.1) 55%, rgba(232,232,240,.5) 100%); }
.chart-glyph { margin: 0 0 .9rem; }
.chart-glyph svg { width: 118px; height: auto; display: block; }
.chart-name { font-family: var(--display); font-weight: 400; font-size: .9rem; letter-spacing: .1em;
              text-transform: uppercase; color: var(--gold); margin: 0 0 .3rem; }
.chart-card h3 { font-family: var(--body); font-weight: 700; font-size: 1.02rem; margin: 0 0 1rem;
                 padding-bottom: .7rem; border-bottom: 1px solid var(--night-3); color: var(--star-bright); }
.facts { margin: 0; }
.fact { padding: .5rem 0; border-bottom: 1px solid rgba(42,47,71,.7); }
.fact:last-child { border-bottom: 0; padding-bottom: 0; }
.fact dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
           color: var(--dim); }
.fact dd { margin: .1rem 0 0; font-size: .95rem; color: var(--body-c); }

/* about: text plus a decorative star map */
.about-grid { display: grid; grid-template-columns: 1.5fr .86fr; gap: 2.6rem; align-items: start; }
.about-text p { color: var(--body-c); margin: 0 0 1.05rem; }
.pull-quote { margin: 1.4rem 0 0; padding: 1.2rem 1.4rem 1.1rem; border: 1px solid var(--night-3);
              border-left: 3px solid var(--gold); background: var(--night-2); }
.pull-quote p { margin: 0 0 .5rem; font-size: 1.08rem; color: var(--star-bright); }
.pull-quote cite { font-style: normal; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
                   color: var(--dim); }
.about-panel { margin: 0; padding: 34px 22px; display: flex; align-items: center; justify-content: center;
               border: 1px solid var(--night-3); min-height: 320px;
               background:
                 radial-gradient(circle at 30% 20%, rgba(200,184,106,.08), rgba(200,184,106,0) 46%),
                 linear-gradient(200deg, #1b1f31 0%, #141726 100%); }
.chart { width: min(240px, 72%); height: auto; }

/* timeline: a star-orbit rail of stacked arcs with star-dot bullets */
.timeline { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 10px; bottom: 12px; width: 14px;
                    background-image: radial-gradient(circle at 7px 0,
                      rgba(200,184,106,0) 5px, rgba(200,184,106,.45) 5.6px,
                      rgba(200,184,106,.45) 6.6px, rgba(200,184,106,0) 7.2px);
                    background-size: 14px 11px; background-repeat: repeat-y; }
.timeline li { position: relative; padding: 0 0 1.35rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: .14em; width: 16px; height: 16px;
                       border: 1px solid rgba(200,184,106,.8);
                       border-color: rgba(200,184,106,.8) transparent transparent transparent;
                       border-radius: 50%; transform: rotate(40deg); }
.timeline li:nth-child(2n)::before { transform: rotate(220deg); }
.timeline li::after { content: ""; position: absolute; left: -24.5px; top: calc(.14em + 5.5px);
                      width: 7px; height: 7px; background: var(--star-bright);
                      clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.timeline .when { display: block; font-weight: 700; font-size: .84rem; letter-spacing: .04em;
                  color: var(--gold); margin-bottom: .1rem; }
.timeline .when::after { content: ":"; color: var(--dim); }
.lang-fr .timeline .when::after { content: " :"; }
.timeline .what { display: block; color: var(--body-c); font-size: .96rem; }
.career-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: start; }
.career-text p { color: var(--body-c); margin: 0 0 1rem; }

/* gallery: three-column sky of horizontal frames */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px;
           padding-top: 6px; }
.g-tile { margin: 0; border: 1px solid var(--night-3); overflow: hidden; background: var(--night-2); }
.g-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.g-span2 { grid-column: span 2; }
.g-span2 img { aspect-ratio: 8 / 5; }
.g-span3 { grid-column: span 3; }
.g-span3 img { aspect-ratio: 16 / 9; }

/* social rows */
.social-list { border-top: 1px solid var(--night-3); }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
              padding: 1rem .4rem; border-bottom: 1px solid var(--night-3); text-decoration: none;
              transition: background .2s ease, padding .2s ease; }
.social-row .platform { font-family: var(--display); font-weight: 400; font-size: .92rem;
                        letter-spacing: .08em; text-transform: uppercase; color: var(--star-bright); }
.social-row .handle { color: var(--star); font-size: .92rem; }
.social-row:hover { background: var(--night-2); padding-left: .9rem; }
.social-row:hover .platform { color: var(--gold); }

/* subpages */
.page-top { position: relative; padding: 2.6rem 0 1.5rem; border-bottom: 1px solid var(--night-3);
            margin-bottom: 2.4rem; }
.page-top::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 130px; height: 2px;
                    background: linear-gradient(90deg, var(--gold), rgba(200,184,106,0)); }
.page-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.5rem);
               line-height: 1.14; margin: .15rem 0 .8rem; color: var(--star-bright); }
.page-top .lead { color: var(--dim); max-width: 66ch; margin: 0; }
.reading { max-width: 76ch; }
.story { margin: 0 0 2.5rem; }
.story h2 { font-size: clamp(1.18rem, 2.3vw, 1.5rem); margin: 0 0 .8rem; }
.story p { color: var(--body-c); margin: 0 0 1rem; }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin: 1.2rem 0 0; }
.credit-col h3 { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
                 color: var(--dim); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--body-c); font-size: .92rem; padding: .32rem 0;
                 border-bottom: 1px solid rgba(42,47,71,.8); }
.award-h { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
           color: var(--dim); margin: 1.1rem 0 .4rem; }
.award-list { list-style: none; margin: 0; padding: 0; }
.award-list li { color: var(--body-c); padding: .5rem 0 .5rem 1.4rem; position: relative;
                 border-bottom: 1px solid rgba(42,47,71,.8); }
.award-list li::before { content: ""; position: absolute; left: 0; top: 1.02em; width: 11px; height: 11px;
                         background: var(--gold); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { border: 1px solid var(--night-3); border-top: 2px solid var(--gold); background: var(--night-2);
        padding: .9rem 1.25rem; min-width: 160px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.22rem;
          color: var(--star-bright); }
.stat span { color: var(--dim); font-size: .84rem; }
.faq-list details { border-bottom: 1px solid var(--night-3); padding: 1.05rem 0; }
.faq-list summary { font-weight: 700; font-size: 1.04rem; line-height: 1.4; cursor: pointer;
                    list-style: none; display: flex; justify-content: space-between; gap: 1rem;
                    color: var(--star-bright); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "+"; color: var(--gold); font-weight: 700; order: 2; }
.faq-list details[open] summary::before { content: "·"; }
.faq-list .answer p { color: var(--body-c); margin: .7rem 0 0; max-width: 74ch; }

/* footer */
.site-footer { border-top: 1px solid var(--night-3); background: var(--footer-bg); padding: 2rem 0 2.3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 400; letter-spacing: .06em;
              text-transform: uppercase; font-size: .9rem; color: var(--star-bright); }
.brand-line { color: var(--dim); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .95rem; justify-content: center;
                justify-self: center; }
.language-nav a { color: #c9cede; text-decoration: none; font-size: .87rem; font-weight: 400; }
.language-nav a:hover { color: var(--star-bright); text-decoration: underline; }
.language-nav a[aria-current="page"] { color: var(--gold); }
.footer-legal { color: var(--dim); font-size: .82rem; margin: 0; text-align: right;
                max-width: 320px; justify-self: end; }

/* 404 */
.notfound { padding: 4.2rem 0 5.2rem; }
.notfound h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.7rem);
               margin: .2rem 0 1rem; color: var(--star-bright); }

@media (max-width: 1280px) {
  .hero-copy { max-width: 290px; }
}
@media (min-width: 1461px) {
  /* keep the hero copy anchored near the photograph's left edge on wide
     screens so the text column never drifts toward the subject */
  .hero-shell { max-width: 1400px; }
}
@media (min-width: 2001px) {
  .hero-shell { max-width: 1700px; }
}
@media (max-width: 1060px) {
  .hero-copy { max-width: 258px; }
}
@media (max-width: 1020px) {
  .charts { grid-template-columns: 1fr 1fr; }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; justify-self: start; }
  .footer-legal { text-align: left; max-width: none; justify-self: start; }
}
@media (max-width: 980px) {
  .hero-band { display: block; min-height: 0; }
  .hero-band img { position: static; height: auto; }
  .hero-veil, .stars-left, .hero-constellation { display: none; }
  svg.stars { display: none; }
  .hero-shell { display: block; }
  .hero-copy { max-width: none; padding-top: 1.7rem; padding-bottom: 2.1rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-title span { display: inline; }
  .hero-title span + span::before { content: " "; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .5rem 1rem; }
  .main-nav { gap: .6rem .85rem; }
  .main-nav a { font-size: .85rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 120px; }
  .partner-card img { max-width: 132px; max-height: 52px; }
  .charts { grid-template-columns: 1fr; gap: 22px; }
  .gallery { grid-template-columns: 1fr; }
  .g-span2, .g-span3 { grid-column: auto; }
  .g-span2 img, .g-span3 img { aspect-ratio: auto; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .15rem; }
  .section { padding: 2.3rem 0; }
}
@media (max-width: 560px) {
  /* stack the wordmark above the nav on small phones so nothing squeezes */
  .header-inner { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .main-nav { width: 100%; }
}
