/* Sukenik Lab — type carried over from the previous Wix site; the accent palette
   was changed from the Wix greens to orange #E08B2F / #F5D9B5 / #4A2A08.
   Navy #17384F, Raleway + Poppins. */

:root {
  --orange:        #e08b2f;
  --orange-light:  #f5d9b5;
  --orange-pale:   #fdf5ec;
  --orange-dark:   #a35d12;
  --orange-deep:   #4a2a08;
  --navy:          #17384f;
  --ink:           #2a2a2a;
  --muted:         #545454;
  --rule:          #e4e4e4;
  --wrap:          1080px;
  --sans:          'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --display:       'Poppins', 'Raleway', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--orange-dark); text-decoration: none; }
a:hover, a:focus { color: var(--orange-deep); text-decoration: underline; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.25; color: var(--navy); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */

.site-header { background: #fff; border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.wordmark {
  font-family: var(--display); font-weight: 600; font-size: 1.28rem;
  letter-spacing: .06em; color: var(--navy); white-space: nowrap;
}
.wordmark:hover { color: var(--orange-dark); text-decoration: none; }

.site-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-size: .8rem; font-weight: 600; letter-spacing: .09em;
  color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.current { color: var(--orange-dark); border-bottom-color: var(--orange); text-decoration: none; }

.btn-join {
  background: var(--orange); color: #fff !important;
  padding: 9px 18px !important; border-radius: 2px; border-bottom: none !important;
}
.btn-join:hover { background: var(--orange-dark); }

.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- footer ---------- */

.site-footer { margin-top: 72px; border-top: 1px solid var(--rule); background: #fff; }
.footer-inner { padding-top: 30px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; }
.footer-logo { width: 186px; height: auto; }
.copyright, .footer-address {
  margin: 0; font-size: .85rem; font-style: normal; color: var(--muted); line-height: 1.55;
}
.footer-address { margin-left: auto; text-align: right; }

/* ---------- page furniture ---------- */

.page { padding-top: 48px; }
.page-head { margin-bottom: 36px; }
.page-head h1 {
  margin: 0; font-size: 2.15rem; letter-spacing: .05em; text-transform: uppercase;
}
.page-head h1::after {
  content: ""; display: block; width: 62px; height: 4px;
  background: var(--orange); margin-top: 14px;
}
.subtitle { margin: 16px 0 0; font-size: 1.1rem; color: var(--muted); max-width: 62ch; }

.section { margin-bottom: 56px; }
.section > h2 {
  font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-dark); margin: 0 0 20px;
}

/* ---------- home ---------- */

.hero { background: var(--orange-pale); border-bottom: 1px solid var(--orange-light); padding: 68px 0 60px; }
.hero h1 {
  margin: 0; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-dark);
}
.hero p.lede {
  margin: 18px 0 28px; max-width: 22ch;
  font-family: var(--display); font-size: 2.5rem; font-weight: 600; line-height: 1.18; color: var(--navy);
}
.btn {
  display: inline-block; background: var(--orange); color: #fff;
  font-weight: 600; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase;
  padding: 13px 30px; border-radius: 2px;
}
.btn:hover { background: var(--orange-dark); color: #fff; text-decoration: none; }

.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about p { margin-top: 0; }

.collage-banner { width: 100%; border-radius: 3px; display: block; margin-bottom: 10px; }
.collage { columns: 3; column-gap: 10px; }
.collage img { width: 100%; border-radius: 3px; display: block; margin-bottom: 10px; break-inside: avoid; }

/* ---------- research ---------- */

.research-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.research-card {
  background: var(--orange-pale); border: 1px solid var(--orange-light);
  border-radius: 3px; padding: 26px 22px; text-align: center;
}
.research-card img { height: 62px; width: auto; object-fit: contain; margin-bottom: 14px; }
.research-card h3 {
  margin: 0 0 8px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark);
}
.research-card p { margin: 0; font-size: .95rem; color: var(--muted); }

.research-theme { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 52px; }
.research-theme:nth-child(even) .theme-figure { order: -1; }
.research-theme h2 { margin: 0 0 14px; font-size: 1.4rem; }
.research-theme p { margin: 0; }
.theme-figure img { width: 100%; border-radius: 3px; }

/* ---------- papers ---------- */

.pub-year {
  margin: 44px 0 18px; font-family: var(--display); font-size: 1.6rem; color: var(--orange);
  border-bottom: 2px solid var(--orange-light); padding-bottom: 6px;
}
.pub-year:first-of-type { margin-top: 24px; }

.pub {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px;
  padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.pub-figure img { width: 132px; height: 110px; object-fit: cover; border-radius: 3px; display: block; }
.pub-title { margin: 0 0 6px; font-size: 1.02rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.pub-authors { margin: 0; font-size: .93rem; color: var(--muted); }
.pub-venue { margin: 2px 0 0; font-size: .93rem; color: var(--muted); font-style: italic; }
.pub-link {
  display: inline-block; margin-top: 9px; font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-dark); border: 1px solid var(--orange); border-radius: 2px; padding: 4px 12px;
}
.pub-link:hover { background: var(--orange); color: #fff; text-decoration: none; }

/* ---------- team ---------- */

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 28px; }
.person-photo {
  width: 120px; height: 123px; object-fit: cover; border-radius: 3px;
  display: block; margin-bottom: 12px; background: var(--orange-pale);
}
.person h3 { margin: 0; font-size: 1.05rem; }
.person .role {
  margin: 2px 0 8px; font-size: .78rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: var(--orange-dark);
}
.person p.blurb { margin: 0 0 8px; font-size: .92rem; color: var(--muted); }
.person .person-links { font-size: .85rem; }
.person .person-links a { white-space: nowrap; }

.alumni { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 44px; }
.alumni li { break-inside: avoid; margin-bottom: 10px; font-size: .95rem; color: var(--muted); }
.alumni b { color: var(--ink); font-weight: 600; }

.join { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 32px; align-items: center;
  background: var(--orange-pale); border: 1px solid var(--orange-light); border-radius: 3px; padding: 30px; }
.join img { width: 188px; border-radius: 3px; }
.join h2 { margin-top: 0; }

/* ---------- news ---------- */

.news-item { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.news-date {
  margin: 0 0 6px; font-family: var(--display); font-size: .8rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: var(--orange-dark);
}
.news-item p { margin: 0 0 12px; }
.news-figures { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.news-figures figure { margin: 0; max-width: 300px; }
.news-figures img { border-radius: 3px; display: block; max-height: 250px; width: auto; }
.news-figures figcaption { font-size: .82rem; color: var(--muted); margin-top: 5px; }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.contact address { font-style: normal; line-height: 1.7; }
.contact img { border-radius: 3px; }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .about, .research-theme, .contact, .join { grid-template-columns: 1fr; gap: 26px; }
  .research-theme:nth-child(even) .theme-figure { order: 0; }
  .research-cards { grid-template-columns: 1fr; }
  .alumni { columns: 1; }
  .hero p.lede { font-size: 2rem; max-width: none; }
  .footer-address { margin-left: 0; text-align: left; }
}

@media (max-width: 700px) {
  .nav-toggle-label {
    display: block; width: 30px; height: 22px; cursor: pointer; position: relative;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; position: absolute; height: 2px; width: 26px; background: var(--navy); content: "";
  }
  .nav-toggle-label span { top: 10px; }
  .nav-toggle-label span::before { top: -8px; }
  .nav-toggle-label span::after { top: 8px; }

  .header-inner { flex-wrap: wrap; }
  .site-nav { display: none; width: 100%; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 16px; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--rule); width: 100%; }
  .btn-join { display: inline-block !important; width: auto; margin-top: 12px; }

  .pub { grid-template-columns: 1fr; }
  .pub-figure img { width: 100%; height: 180px; }
  .news-figures figure { max-width: 100%; }
}
