/* ============================================================
   EBRPHA — Black & White wireframe (no color, no imagery)
   ============================================================ */
@font-face { font-family:"Inter"; font-weight:400; font-display:swap; src:url("../reference/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-weight:500; font-display:swap; src:url("../reference/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-weight:600; font-display:swap; src:url("../reference/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-weight:700; font-display:swap; src:url("../reference/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family:"Poppins"; font-weight:700; font-display:swap; src:url("../reference/fonts/poppins-700.woff2") format("woff2"); }

:root {
  --ink: #0a0a0a;
  --ink-2: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e3e3e3;
  --line-2: #cfcfcf;
  --bg: #ffffff;
  --bg-2: #f4f4f4;
  --footer-bg: #262320;
  --footer-ink: #ffffff;
  --footer-muted: #a6a29d;
  --footer-line: #45413c;
  --gut: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1400px;
}

*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 3000; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* buttons */
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: 0;
  padding: .8rem 1.6rem; font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em;
  transition: background .15s, color .15s;
}
.pill:hover { background: #fff; color: var(--ink); }
.pill--ghost { background: #fff; color: var(--ink); }
.pill--ghost:hover { background: var(--ink); color: #fff; }

/* ============ Announcement marquee ============ */
.announce {
  position: relative;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-2);
  font-size: .95rem;
  overflow: hidden;
}
.announce__viewport { overflow: hidden; padding-right: 3rem; }
.announce__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.announce:hover .announce__track { animation-play-state: paused; }
.announce__group { display: flex; flex: none; }
.announce__item { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; padding: 0 2.5rem; min-height: 3.5rem; }
.announce strong { font-weight: 700; }
.announce a { text-decoration: underline; }
.announce a:hover { color: var(--muted); }
.announce__x {
  position: absolute; right: 0; top: 0; height: 100%;
  background: linear-gradient(to right, transparent, var(--bg-2) 30%);
  border: none; width: 3.25rem; display: grid; place-items: center;
  color: var(--ink); padding-left: 1.25rem;
}
.announce__x:hover { color: var(--muted); }
.announce[hidden] { display: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce__track { animation: none; } }

/* ============ Navbar ============ */
.nav { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--line-2); }
.nav__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.logo { font-family:"Poppins", sans-serif; font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; border-bottom: 3px solid var(--ink); line-height: .95; padding-bottom: 1px; }
.nav__links { display: flex; align-items: center; gap: .25rem; }
.nav__dd { position: static; }
.nav__dd-toggle, .nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  background: transparent; border: none; color: var(--ink);
  padding: .65rem .9rem; font-size: 1.05rem; border-radius: 0;
}
.nav__dd-toggle:hover, .nav__link:hover { background: var(--bg-2); }
.nav__dd-toggle .caret { width: 1.05em; height: 1.05em; transition: transform .2s; }
.nav__dd[data-open="true"] .nav__dd-toggle .caret { transform: rotate(180deg); }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.icon-btn { background: transparent; border: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 0; color: var(--ink); }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 1.5rem; height: 1.5rem; }

/* mega panel */
.nav__panel {
  position: absolute; top: calc(100% + 1px); left: 0; right: 0;
  transform: translateY(-8px);
  background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.35);
  padding: 2.5rem;
  opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s, visibility .16s;
  z-index: 950;
}
.nav__dd[data-open="true"] .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.mega__intro { max-width: 24rem; }
.mega__intro h2 { font-size: 2rem; margin-bottom: .9rem; }
.mega__intro p { color: var(--ink-2); margin-bottom: 1.5rem; }
.mega__col h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.mega__list { border-left: 1px solid var(--line-2); }
.mega__list li a { display: block; padding: .55rem 0 .55rem 1.1rem; font-size: 1.05rem; color: var(--ink-2); border-left: 2px solid transparent; margin-left: -1px; transition: color .12s, border-color .12s, padding-left .12s; }
.mega__list li a:hover { color: var(--ink); border-left-color: var(--ink); padding-left: 1.35rem; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background: #d8d8d8; }
.hero__bg image-slot { display: block; width: 100%; height: 100%; filter: grayscale(1) contrast(1.02); }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.45)); }
.hero__in { position: relative; z-index: 2; text-align: center; padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2rem, 4vw, 3rem); }
.hero__roles { position: relative; z-index: 2; text-align: center; padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: clamp(7rem, 13vw, 11rem); }
.iama__label { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin-bottom: 1.5rem; color: #fff; }
.hero p { font-size: clamp(1.05rem, 1.8vw, 1.375rem); color: #e6e6e6; max-width: 60rem; margin: 0 auto 2.5rem; }
.searchbar { display: flex; max-width: 38rem; margin-inline: auto; background: #fff; border: 1.5px solid #fff; border-radius: 0; overflow: hidden; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.searchbar .sfield { display: flex; align-items: center; gap: .6rem; flex: 1; padding: .85rem 1.25rem; }
.searchbar .sfield svg { width: 1.25rem; height: 1.25rem; color: var(--muted); flex: none; }
.searchbar input { border: none; outline: none; font: inherit; font-size: 1.05rem; width: 100%; background: transparent; }
.searchbar button { background: var(--ink); color: #fff; border: none; padding: 0 1.75rem; font-weight: 600; font-size: 1.05rem; }
.searchbar button:hover { background: var(--ink-2); }

/* ============ "I am a..." cards (overlap hero) ============ */
.iama { position: relative; z-index: 5; margin-top: -8.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.rolecard {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 17rem; padding: 1.6rem; color: #fff;
  transition: transform .15s;
}
.rolecard > image-slot { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; filter: grayscale(1) contrast(1.02); }
.rolecard__scrim { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.42); transition: background .15s; }
.rolecard__top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rolecard h3 { font-size: 1.5rem; }
.rolecard__top svg { width: 1.5rem; height: 1.5rem; flex: none; transition: transform .15s; }
.rolecard p { position: relative; z-index: 2; margin-top: auto; padding-top: 1.5rem; color: #f1f1f1; }
.rolecard:hover .rolecard__scrim { background: rgba(0,0,0,.6); }
.rolecard:hover .rolecard__top svg { transform: translateX(5px); }

/* ============ Footer ============ */
.footer { background: var(--footer-bg); color: var(--footer-ink); }
.footer__in { padding-block: 4rem 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand .logo { color: #fff; border-bottom-color: #fff; display: inline-block; margin-bottom: 1.25rem; }
.footer__brand address { font-style: normal; color: var(--footer-muted); font-size: .95rem; line-height: 1.7; }
.footer__brand a { color: var(--footer-muted); text-decoration: underline; }
.footer__brand a:hover { color: #fff; }
.footer__col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer__col li { padding-block: .4rem; }
.footer__col a { color: var(--footer-muted); font-size: .95rem; }
.footer__col a:hover { color: #fff; }
.footer__rule { height: 1px; background: var(--footer-line); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-top: 1.75rem; font-size: .9rem; color: var(--footer-muted); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a:hover { color: #fff; }

/* hamburger */
.burger { display: none; flex-direction: column; gap: 5px; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; background: transparent; border: none; }
.burger span { width: 1.5rem; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav[data-mobile-open="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav[data-mobile-open="true"] .burger span:nth-child(2) { opacity: 0; }
.nav[data-mobile-open="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Section heads (shared) ============ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-2); }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.sec-link { color: var(--ink); font-weight: 600; white-space: nowrap; }
.sec-link:hover { text-decoration: underline; }

/* ============ Call to action ============ */
.cta { background: var(--ink); color: #fff; }
.cta__in { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 24ch; margin-inline: auto; }
.cta p { color: #c9c9c9; margin-top: 1rem; max-width: 55ch; font-size: 1.1rem; margin-inline: auto; }
.cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.cta .pill { background: #fff; color: var(--ink); border-color: #fff; }
.cta .pill:hover { background: transparent; color: #fff; }
.cta .pill--ghost { background: transparent; color: #fff; border-color: #fff; }
.cta .pill--ghost:hover { background: #fff; color: var(--ink); }

/* ============ Public notices ============ */
.notices { padding-block: clamp(3rem, 6vw, 4.5rem); }
.notice-list { display: flex; flex-direction: column; }
.notice a { display: grid; grid-template-columns: 9.5rem 1fr auto auto; align-items: center; gap: 1.5rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.notice:last-child a { border-bottom: 1px solid var(--line); }
.notice__date { color: var(--muted); font-size: .95rem; }
.notice__title { font-weight: 600; font-size: 1.15rem; }
.notice__tag { border: 1px solid var(--line-2); border-radius: 0; padding: .25rem .8rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); white-space: nowrap; }
.notice svg { width: 1.25rem; height: 1.25rem; color: var(--muted); transition: transform .15s, color .15s; }
.notice a:hover .notice__title { text-decoration: underline; }
.notice a:hover svg { transform: translateX(4px); color: var(--ink); }

/* ============ Events ============ */
.events { padding-block: clamp(4rem, 7vw, 6rem); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.event { display: flex; gap: 1.25rem; border: 1px solid var(--line-2); padding: 1.5rem; transition: border-color .15s; }
.event:hover { border-color: var(--ink); }
.event__date { flex: none; width: 4.25rem; height: 4.25rem; border: 1.5px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.event__mo { font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.event__day { font-size: 1.6rem; font-weight: 700; margin-top: .15rem; }
.event__body h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.event__meta { color: var(--ink); font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.event__body p { color: var(--ink-2); font-size: .95rem; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .iama { margin-top: 0; }
  .hero__roles { padding-bottom: clamp(2rem, 6vw, 3rem); }
  .rolecard { min-height: 14rem; }
  .event-grid { grid-template-columns: 1fr; }
  .notice a { grid-template-columns: 1fr auto; row-gap: .35rem; }
  .notice__date { order: -1; grid-column: 1 / -1; }
  .notice svg { display: none; }
}
@media (max-width: 980px) {
  .burger { display: flex; }
  .nav__right .pill { display: none; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line-2);
    padding: .5rem var(--gut) 1.5rem;
    max-height: calc(100dvh - 4.75rem); overflow-y: auto;
    transform: translateY(-120%); transition: transform .3s;
  }
  .nav[data-mobile-open="true"] .nav__links { transform: translateY(0); }
  .nav__dd-toggle, .nav__link { width: 100%; justify-content: space-between; padding: .9rem .25rem; border-bottom: 1px solid var(--line); }
  .nav__panel {
    position: static; transform: none; width: 100%; opacity: 1; visibility: visible;
    box-shadow: none; border: none; padding: .5rem 0 1rem .5rem; display: none;
  }
  .nav__dd[data-open="true"] .nav__panel { display: block; }
  .mega { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .searchbar { flex-direction: column; border-radius: 0; }
  .searchbar button { padding: .85rem; }
}
