/* ellanovaweb.com · Underpass */
:root {
  --bg: #15181a;
  --panel: #1c2023;
  --line: #282d31;
  --ink: #eae7e0;
  --muted: #a3a29b;
  --rose: #d79599;
  --shell: 1200px;
  --display: 'Bricolage Grotesque', 'Rethink Sans', system-ui, sans-serif;
  --body: 'Rethink Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16.5px; line-height: 1.7;
  overflow-x: clip; display: flex; flex-direction: column; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h2, h3 { font-family: var(--display); font-weight: 600; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 32px; }
.kicker {
  font-family: var(--display); font-size: .625rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--rose); margin: 0 0 22px;
}
.note { color: var(--muted); font-size: .85rem; margin: 1rem 0 0; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1rem 1.5rem; padding: 17px 32px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.04rem; letter-spacing: .01em; }
.main-nav { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.main-nav a { font-size: .875rem; color: var(--muted); transition: color .18s ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rose); color: #15181a; border: 1px solid var(--rose);
  font-family: var(--display); font-weight: 600; font-size: .9rem; letter-spacing: .01em;
  padding: .7rem 1.2rem; transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #15181a; }
.btn-sm { padding: .4rem .9rem; font-size: .8rem; }
.main-nav a.btn { color: #15181a; background: var(--rose); border-color: var(--rose); }
.main-nav a.btn:hover { color: #15181a; background: var(--ink); border-color: var(--ink); }

/* hero */
.hero { padding: 30px 0 46px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 600px; gap: 24px; align-items: start; }
.hero-text { padding-top: 26px; max-width: 520px; }
.hero-text .kicker { margin-bottom: 24px; }
.hero-title {
  font-family: var(--display); font-weight: 600; font-size: clamp(56px, 6.2vw, 76px); line-height: .98;
  letter-spacing: .005em; text-transform: uppercase; margin: 0 0 24px;
}
.hero-title span { display: block; }
.hero-intro { color: var(--muted); font-size: 1.02rem; line-height: 1.62; max-width: 34ch; margin: 0 0 30px; }
.hero-shot { justify-self: end; width: 600px; max-width: 100%;
             margin-right: min(0px, calc((1200px - 100vw) / 2 - 32px)); }
.hero-arch { display: block; color: var(--line); margin: 0 0 12px; }
.hero-photo { margin: 0; }
.hero-photo img { width: 600px; max-width: 100%; height: auto; aspect-ratio: 2 / 3;
                  object-fit: cover; object-position: 50% 32%; }

/* sections */
.section { padding: 52px 0; }
.section-last { padding-bottom: 64px; }
.sec-head { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin: 0 0 24px; }
.sec-num { font-family: var(--display); font-size: .68rem; letter-spacing: .18em; color: var(--rose); }
.sec-head h2 { font-size: 1.28rem; letter-spacing: .01em; margin: 0; }
.sec-note { color: var(--muted); font-size: .83rem; margin: 0 0 0 auto; max-width: 44ch; text-align: right; }

/* 01 partners */
.bay { width: 100%; max-width: 1120px; }
.bay-arch { display: block; width: 100%; height: 44px; color: var(--line); }
.partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.partner-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; height: 138px; padding: 9px 10px 8px;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .2s ease, background .2s ease;
}
.partner-card:hover { border-color: #3a4247; background: #202528; }
.pnum { position: absolute; left: 9px; top: 6px; font-family: var(--display);
        font-size: .56rem; letter-spacing: .14em; color: var(--muted); }
.partner-card:first-child .pnum { color: var(--rose); }
.partner-card img { max-width: 140px; max-height: 64px; width: auto; height: auto; margin-top: 15px; object-fit: contain; }
.pname { font-family: var(--display); font-size: .56rem; letter-spacing: .14em;
         text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* 02 facts */
.facts { list-style: none; margin: 0; padding: 0; display: grid;
         grid-template-columns: repeat(2, minmax(0, 348px)); gap: 22px 24px; max-width: 720px; }
.facts li { padding: 0 0 11px; border-bottom: 1px solid var(--line); }
.mini { display: block; color: var(--line); margin: 0 0 10px; }
.fk { display: block; font-family: var(--display); font-size: .56rem; letter-spacing: .18em;
      text-transform: uppercase; color: var(--muted); }
.fv { display: block; font-size: .95rem; margin-top: 3px; color: var(--ink); }

/* 03 about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.about-cols { columns: 2; column-gap: 40px; }
.about-cols p { margin: 0 0 1em; break-inside: avoid; max-width: 42ch; color: #d9d6cf; }
.about-note { font-size: .73rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin: 0; }
.about-figure { margin: 0; }
.about-arch { display: block; color: var(--line); margin: 0 0 12px; }
.about-figure img { width: 300px; height: 450px; object-fit: cover; object-position: 50% 26%; }

/* 04 bridge timeline */
.bridge { position: relative; height: 362px; max-width: 1120px; }
.deck { position: absolute; left: 0; right: 0; top: 300px; height: 1px; background: var(--line); }
.tl-item { position: absolute; top: 0; height: 362px; width: 0; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 120px; width: 1px; height: 180px;
                   background: var(--line); }
.tl-year { position: absolute; top: 310px; left: 0; transform: translateX(-50%);
           font-family: var(--display); font-size: 1rem; color: var(--ink); white-space: nowrap; }
.tl-year::after { content: ""; position: absolute; left: 50%; top: -12px; width: 5px; height: 5px;
                  margin-left: -2px; background: var(--rose); border-radius: 50%; }
.tl-event { position: absolute; width: 126px; font-size: .79rem; line-height: 1.38; color: var(--muted); }
.tl-event.above { bottom: 260px; right: 8px; text-align: right; }
.tl-event.below { top: 138px; left: 8px; }

/* 05 gallery */
.gal-plate { position: relative; width: 1180px; height: 520px; margin: 0 auto; }
.gal-arc { position: absolute; left: 0; top: 0; color: var(--line); }
.gal-item { position: absolute; margin: 0; background: var(--panel); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }

/* 06 social */
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--line); }
.social-col { display: flex; flex-direction: column; }
.social-col a { display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
                padding: 13px 2px; border-bottom: 1px solid var(--line); }
.pf { font-family: var(--display); font-size: .56rem; letter-spacing: .18em;
      text-transform: uppercase; color: var(--muted); }
.hd { font-size: .92rem; }
.social-col a:hover .hd { color: var(--rose); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 0 0 26px; }
.foot-arch { display: block; color: var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.35fr auto; gap: 12px 24px;
               align-items: center; padding: 14px 0 0; }
.brand-name { font-family: var(--display); font-weight: 600; display: block; }
.brand-line { display: block; color: var(--muted); font-size: .76rem; }
.language-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
                gap: .1rem .32rem; font-size: .76rem; }
.language-nav a { color: var(--muted); }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--rose); }
.sep { color: #3c4348; padding: 0 .1rem; }
.footer-legal { font-size: .76rem; color: var(--muted); text-align: right; margin: 0; }
.footer-notes { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line);
                font-size: .68rem; color: var(--muted); line-height: 1.6; }
.footer-notes p { margin: 0; }

/* subpages */
.page-top { padding: 56px 0 30px; border-bottom: 1px solid var(--line); }
.page-top h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 4.4vw, 3.3rem);
               line-height: 1.02; letter-spacing: .002em; margin: 0 0 14px; }
.page-top .kicker { margin-bottom: 14px; }
.page-top .lead { color: var(--muted); max-width: 62ch; margin: 0; }
.reading { max-width: 74ch; padding: 40px 0 24px; }
.story { margin: 0 0 2.3rem; }
.story h2 { font-size: 1.18rem; letter-spacing: .01em; margin: 0 0 .7rem; }
.story p { color: #d9d6cf; margin: 0 0 1em; }
.tl { list-style: none; margin: .4rem 0 0; padding: 0 0 0 20px; border-left: 1px solid var(--line); }
.tl li { position: relative; padding: 0 0 15px; }
.tl li::before { content: ""; position: absolute; left: -23px; top: .55em; width: 5px; height: 5px;
                 background: var(--rose); border-radius: 50%; }
.tl .w { display: block; font-family: var(--display); font-size: .74rem; letter-spacing: .14em;
         color: var(--rose); }
.awards { list-style: none; margin: 0; padding: 0; }
.awards li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: #d9d6cf; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2rem 0 0; }
.stat { border: 1px solid var(--line); background: var(--panel); padding: 14px 18px; min-width: 150px; }
.stat b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--rose); }
.stat span { color: var(--muted); font-size: .76rem; }
.credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; margin-top: 1.2rem; }
.credit-col h3 { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { font-size: .88rem; color: #d9d6cf; padding: 5px 0; border-bottom: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 15px 0; }
.faq-list summary { font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.35;
                    cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--rose); font-family: var(--display);
                           transition: transform .18s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer p { color: #d9d6cf; margin: .65rem 0 0; max-width: 70ch; }

/* 404 */
.notfound { padding: 70px 0 90px; }
.notfound h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem);
               line-height: 1.02; margin: 0 0 16px; }
.notfound .lead { color: var(--muted); max-width: 52ch; margin: 0 0 26px; }

@media (max-width: 1240px) {
  .gal-plate { width: auto; height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .gal-arc { display: none; }
  .gal-item { position: static !important; width: auto !important; height: auto !important; }
  .gal-item img { aspect-ratio: 2 / 3; }
  .gal-item.g5 { grid-column: span 2; }
  .gal-item.g5 img { aspect-ratio: 16 / 9; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 520px; }
  .hero-shot { width: 520px; }
  .hero-photo img { width: 520px; aspect-ratio: 2 / 3; }
  .hero-title { font-size: 62px; }
  .hero-arch { width: 260px; }
  .about-grid { gap: 32px; }
  .about-cols { columns: 1; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-shot { width: 100%; justify-self: start; margin-right: 0; }
  .hero-photo img { width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure img { width: 100%; max-width: 300px; height: auto; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 1099px) {
  .bridge { height: auto; border-left: 1px solid var(--line); padding-left: 18px; }
  .deck { display: none; }
  .tl-item { position: static; width: auto; height: auto; padding: 0 0 18px; }
  .tl-item::before { display: none; }
  .tl-year { position: static; transform: none; display: block; margin-bottom: 3px; }
  .tl-year::after { display: none; }
  .tl-event { position: static; width: auto; margin: 0; text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 20px; padding-right: 20px; }
  .header-inner { padding-top: 13px; padding-bottom: 13px; }
  .main-nav { gap: .55rem .9rem; }
  .hero { padding: 22px 0 34px; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-text { padding-top: 0; max-width: none; }
  .hero-shot { order: 2; }
  .hero-arch { width: 240px; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .hero-photo img { aspect-ratio: 2 / 3; }
  .section { padding: 38px 0; }
  .sec-note { margin-left: 0; text-align: left; max-width: none; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { height: 122px; }
  .facts { grid-template-columns: 1fr; max-width: none; }
  .social { grid-template-columns: 1fr; gap: 0; }
  .credit-grid { grid-template-columns: 1fr; }
  .footer-notes { font-size: .66rem; }
  .page-top { padding: 36px 0 22px; }
  .reading { padding-top: 28px; }
}

/* partner logo plate: guarantee legibility of supplied marks on any ground */
a img[src*="/assets/partners/"] {
  background: #f4efe6;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}
