/* Cornell-endorsed Palatino headings; system fonts only, no redistributed font files. */
.profile-photo { position:relative; margin:0; min-width:0; height:100%; background:#F7F7F7; }
.profile-photo figcaption { position:absolute; bottom:0; left:0; right:0; padding:38px 18px 18px; background:linear-gradient(transparent,rgba(34,34,34,0.73)); color:#fff; font-size:.72rem; line-height:1.5; }
.equipment-details { margin-top:22px; border-top:1px solid rgba(34,34,34,0.16); border-bottom:1px solid rgba(34,34,34,0.16); padding:14px 0; }
.equipment-details summary { cursor:pointer; color:#B31B1B; font-size:.88rem; font-weight:700; }
.equipment-details h4 { font-size:.9rem; }
.equipment-details p { font-size:.86rem; }
.project-card a { color:#fff; text-decoration:none; }
.project-card a::after { content:""; position:absolute; inset:0; }
.project-card:focus-within { outline:3px solid #B31B1B; outline-offset:4px; }
.project-card:hover img { transform:scale(1.035); }
.project-card img { transition:transform .3s ease; }
.journey-list { max-width:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.journey-list article { grid-template-columns:1fr; padding:24px; margin:0; border:1px solid rgba(34,34,34,0.16); border-top:3px solid #B31B1B; border-radius:8px; background:#fff; }
.journey-list h3 { font-size:1.17rem; }
.journey-list p { font-size:.95rem; }
@media(max-width:760px) { .journey-list { grid-template-columns:1fr; gap:16px; }.profile-photo { height:280px; }.profile-photo .profile-image { height:100%; } }
:root { --header-height:88px; }
html { scroll-padding-top:calc(var(--header-height) + 24px); }
.site-header { display:block; min-height:var(--header-height); padding:0; background:#fff; border-top:4px solid var(--red); border-bottom:1px solid rgba(34,34,34,0.16); transition:box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow:0 4px 20px rgba(34,34,34,0.07); }
.header-inner { width:min(1320px,calc(100% - 64px)); min-height:84px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.brand { gap:0; flex-shrink:0; }
.brand .cornell-logo { display:block; width:164px; height:auto; }
.brand .brand-divider { display:block; width:1px; height:34px; margin:0 20px; background:rgba(34,34,34,0.16); }
.brand .site-name { display:block; font-size:1.1rem; font-weight:700; letter-spacing:-.025em; }
#primary-nav { position:static; display:flex; align-items:stretch; gap:24px; padding:0; border:0; background:transparent; box-shadow:none; }
#primary-nav a { position:relative; display:flex; align-items:center; padding:31px 0 27px; color:#222222; font-size:.9rem; font-weight:600; text-decoration:none; border-radius:0; white-space:nowrap; }
#primary-nav a::after { position:absolute; content:""; inset:auto 0 -1px; height:3px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
#primary-nav a:hover,#primary-nav a[aria-current="location"] { background:transparent; color:var(--red); }
#primary-nav a:hover::after,#primary-nav a[aria-current="location"]::after { transform:scaleX(1); }
.menu-button { align-items:center; gap:9px; border:1px solid rgba(34,34,34,0.16); color:var(--ink); background:#fff; padding:10px 12px; font-weight:600; }
.menu-lines,.menu-lines::before,.menu-lines::after { display:block; width:17px; height:2px; background:currentColor; position:relative; transition:transform .2s ease; }
.menu-lines::before,.menu-lines::after { content:""; position:absolute; }
.menu-lines::before { top:-5px; }.menu-lines::after { top:5px; }
.menu-button[aria-expanded="true"] .menu-lines { background:transparent; }
.menu-button[aria-expanded="true"] .menu-lines::before { top:0; transform:rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines::after { top:0; transform:rotate(-45deg); }
.content-width,.hero-inner { width:min(1240px,calc(100% - 64px)); }
.hero { background:var(--red); }
.hero-photo { background-image:url("assets/che-apparel-2023-1038-018.jpg"); background-position:37% center; }
.entry-card { transition:transform .18s ease,box-shadow .18s ease; }
.page-heading,.spaces-section,.profile-section,.space-profile,.make-section,.resources-section,.community-section,.faq-section { scroll-margin-top:0; }
.spaces-section .section-heading-row { justify-content:space-between; text-align:left; align-items:end; }
.spaces-section .section-intro { margin-left:0; max-width:720px; }
.spaces-section .carousel-controls { position:static; flex-shrink:0; }
.carousel-controls button:disabled,.carousel-edge:disabled { opacity:.35; cursor:default; box-shadow:none; }
.space-carousel,.project-carousel { grid-auto-columns:calc((100% - 40px)/3); gap:20px; }
.directory-card { min-height:390px; border-radius:12px; box-shadow:0 8px 24px rgba(34,34,34,0.07); }
.directory-card::after { background:linear-gradient(180deg,rgba(34,34,34,0.0) 5%,rgba(34,34,34,0.53) 38%,rgba(34,34,34,0.96) 100%); }
.directory-card h3 { font-size:1.48rem; }
.directory-card>div { padding:24px; }
.directory-card>div>span { color:#F7F7F7; font-size:.94rem; }
.directory-card.no-photo { background:#222222; min-height:390px; }
.directory-card.no-photo::before { content:""; width:140px; height:140px; border:1px solid #ffffff18; border-radius:50%; position:absolute; right:-30px; top:-30px; box-shadow:0 0 0 35px #ffffff08,0 0 0 70px #ffffff04; }
.capability-tags { display:flex; flex-wrap:wrap; gap:5px; padding:0; margin:14px 0 0; list-style:none; }
.capability-tags li { color:#fff; font-size:.73rem; padding:4px 8px; border:1px solid #ffffff45; border-radius:4px; background:rgba(34,34,34,0.31); line-height:1.4; }
.space-jump-links { display:flex; flex-wrap:wrap; gap:8px; padding:0 0 28px; margin:0; border:0; background:none; box-shadow:none; border-radius:0; position:static; }
.space-jump-links a { color:#222222; background:#F7F7F7; border:1px solid rgba(34,34,34,0.16); border-radius:5px; padding:9px 13px; text-decoration:none; font-size:.82rem; font-weight:600; }
.space-jump-links a:hover { color:var(--red); background:#F7F7F7; border-color:rgba(34,34,34,0.16); }
.profile-section { padding:64px 0 32px; }
.space-profile { padding:0; grid-template-columns:25% minmax(0,1fr) 29%; gap:0; border:1px solid rgba(34,34,34,0.16); border-radius:12px; overflow:hidden; margin-bottom:28px; background:#fff; box-shadow:0 5px 20px rgba(34,34,34,0.02); }
.space-profile.text-profile { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); border-left:4px solid var(--red); }
.profile-image { width:100%; min-height:100%; height:100%; max-height:none; border-radius:0; object-fit:cover; }
.profile-main { min-width:0; padding:30px; }
.profile-main h3 { font-size:1.8rem; line-height:1.17; margin-bottom:16px; }
.profile-main p { font-size:.94rem; line-height:1.65; }
.profile-main h4 { margin-top:22px; }
.space-college { letter-spacing:.08em; font-size:.7rem!important; margin-bottom:10px; }
.location { align-items:flex-start; font-weight:500; }
.detail-icon { width:20px; height:20px; flex:0 0 20px; fill:none; stroke:var(--red); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.location .detail-icon { margin-top:2px; }
.profile-facts { padding:26px 24px 26px 0; gap:16px; }
.text-profile .profile-facts { padding-left:12px; }
.profile-facts>div { padding:22px; border-radius:8px; }
.profile-facts h4 { align-items:flex-start; line-height:1.4; font-size:.97rem; }
.profile-facts li,.profile-facts p { font-size:.88rem; line-height:1.6; }
.profile-facts li:last-child { margin-bottom:0; }
.equipment-note { margin-top:14px; color:#222222!important; font-size:.8rem!important; }
.profile-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.profile-actions .button { margin:0; padding:10px 14px; font-size:.82rem; font-weight:600; align-items:center; gap:8px; border:1px solid var(--red); border-radius:6px; }
.profile-actions .button-secondary { background:#fff; color:var(--red); border-color:rgba(34,34,34,0.16); }
.profile-actions .button-secondary:hover { background:#F7F7F7; }
.space-contact a { color:var(--red); text-underline-offset:3px; overflow-wrap:anywhere; }
.profile-main .source-note { font-size:.73rem; color:#222222; margin:18px 0 0; }
.source-note a { text-underline-offset:3px; }
.prefooter { margin-top:0; background:#222222; }
footer { background:#222222; }
.footer-bottom { justify-content:center; }
@media(min-width:761px) and (max-width:1100px) {
  .header-inner { width:calc(100% - 40px); gap:20px; }.brand .cornell-logo { width:140px; }.brand .brand-divider { margin:0 12px; }.brand .site-name { font-size:.98rem; }
  #primary-nav { gap:16px; }#primary-nav a { font-size:.8rem; }
  .space-profile { grid-template-columns:30% minmax(0,1fr); }
  .profile-facts { grid-column:1/-1; grid-template-columns:1fr 1fr; padding:0 24px 24px; }
  .text-profile .profile-facts { grid-column:auto; grid-template-columns:1fr; padding:24px 24px 24px 0; }
  .hero-photo { right:7%; width:260px; height:260px; }
  .hero h1,.hero-intro { max-width:48%; }
}
@media(max-width:900px) {
  :root { --header-height:78px; }.header-inner { min-height:74px; }
  .menu-button { display:flex; }
  #primary-nav { display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; gap:0; background:#fff; border-bottom:1px solid rgba(34,34,34,0.16); box-shadow:0 15px 24px rgba(34,34,34,0.07); padding:12px 24px; }
  #primary-nav.open { display:flex; }
  #primary-nav a { padding:14px 12px; font-size:.95rem; border-radius:4px; }
  #primary-nav a::after { display:none; }
  #primary-nav a[aria-current="location"] { background:#F7F7F7; }
  .space-carousel,.project-carousel { grid-auto-columns:calc((100% - 20px)/2); }
}
@media(max-width:760px) {
  .header-inner { width:calc(100% - 32px); gap:10px; }.brand .cornell-logo { width:132px; }.brand .brand-divider { height:26px; margin:0 12px; }.brand .site-name { font-size:.96rem; }
  .content-width,.hero-inner { width:calc(100% - 32px); }
  .hero-photo { width:210px; height:210px; background-position:37% center; }
  .space-profile,.space-profile.text-profile { grid-template-columns:1fr; }
  .profile-image { height:260px; min-height:0; max-height:none; }
  .profile-main { padding:24px; }.profile-main h3 { font-size:1.65rem; }
  .profile-facts,.text-profile .profile-facts { grid-column:auto; grid-template-columns:1fr; padding:0 24px 24px; }
  .spaces-section .section-heading-row { display:block; }
  .spaces-section .carousel-controls { margin-top:22px; }
  .space-jump-links { position:static; display:flex; flex-direction:row; box-shadow:none; padding:0 0 24px; }
  .space-jump-links a { font-size:.78rem; padding:8px 10px; }
  .carousel-edge { display:grid; width:38px; height:38px; }.carousel-edge.previous { left:-10px; }.carousel-edge.next { right:-10px; }
}
@media(max-width:520px) {
  .brand .cornell-logo { width:111px; }.brand .brand-divider { margin:0 9px; }.brand .site-name { font-size:.88rem; }
  .menu-button { font-size:.8rem; padding:9px; }
  .space-carousel,.project-carousel { grid-auto-columns:88%; }
  .directory-card>div { padding:22px; }.directory-card h3 { font-size:1.42rem; }
  .profile-facts,.text-profile .profile-facts { padding:0 18px 18px; }.profile-main { padding:22px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none!important; }
}

/* Editorial hero with Cornell typography. */
body { font-family:var(--sans); }
h1,h2 { font-family:var(--serif); font-weight:400; letter-spacing:-.025em; }
.hero { display:block; min-height:0; padding:0; background:#fff; color:#222222; overflow:visible; }
.hero::after,.hero-overlay,.hero-photo { display:none; }
.hero-inner { padding:48px 0 40px; }
.hero-top { display:grid; grid-template-columns:1fr 1.05fr; gap:64px; align-items:center; }
.hero-copy { padding:24px 0; }
.hero-eyebrow { color:#B31B1B; font:700 .76rem/1.5 var(--sans); letter-spacing:.12em; text-transform:uppercase; margin:0 0 22px; }
.hero h1 { font-size:clamp(2.8rem,4.3vw,4.6rem); line-height:1.08; max-width:none; margin:0 0 24px; }
.hero .hero-intro { max-width:450px; font-size:1.12rem; line-height:1.65; color:#222222; }
.hero-link { display:inline-flex; align-items:center; gap:26px; margin-top:28px; padding-bottom:7px; border-bottom:2px solid #B31B1B; color:#B31B1B; font-weight:700; text-decoration:none; }
.hero-figure { margin:0; min-width:0; }
.hero-figure img { display:block; width:100%; height:440px; object-fit:cover; object-position:43% center; border-radius:0; }
.hero-figure figcaption { color:#222222; font-size:.75rem; padding-top:10px; }
.hero .entry-grid { margin-top:40px; gap:0; border-top:1px solid rgba(34,34,34,0.16); border-bottom:1px solid rgba(34,34,34,0.16); }
.entry-card,.entry-card.entry-primary { min-height:120px; border:0; border-right:1px solid rgba(34,34,34,0.16); border-radius:0; box-shadow:none; padding:22px 18px; }
.entry-card:last-child { border-right:0; }
.entry-card:hover,.entry-card:focus-visible { transform:none; box-shadow:none; background:#F7F7F7; }
.entry-icon { border-radius:0; background:transparent; color:#B31B1B; }
.entry-icon svg { stroke:#B31B1B; }
.page-heading { background:#F7F7F7; color:#222222; padding:36px 0; border-top:1px solid rgba(34,34,34,0.16); }
.page-heading .section-label { color:#B31B1B; }
.page-heading h2 { font-size:clamp(1.7rem,3vw,2.4rem); }
.journey-list article { display:block; padding:24px 0; border:0; border-top:2px solid #B31B1B; border-radius:0; }
.journey-icon { background:none; border-radius:0; margin-bottom:18px; justify-content:start; }
.journey-list h3 { margin-bottom:12px; }
.directory-card,.project-card,.space-profile { border-radius:3px; box-shadow:none; }
.directory-card.no-photo { background:#F7F7F7; border:1px solid rgba(34,34,34,0.16); color:#222222; }
.directory-card.no-photo::before,.directory-card.no-photo::after { display:none; }
.directory-card.no-photo>div { color:#222222; }
.directory-card.no-photo h3,.directory-card.no-photo>div>span { color:#222222; }
.directory-card.no-photo p,.directory-card.no-photo a { color:#B31B1B; }
.directory-card.no-photo .capability-tags li { background:transparent; color:#222222; border-color:rgba(34,34,34,0.16); }
.profile-facts>div,.space-jump-links a,.audience-tags span { border-radius:2px; }
.community-icon { background:transparent; border-radius:0; }
@media(max-width:980px) {
  .hero-top { gap:32px; }.hero-figure img { height:370px; }
  .hero .entry-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .entry-card:nth-child(2) { border-right:0; }.entry-card:nth-child(-n+2) { border-bottom:1px solid rgba(34,34,34,0.16); }
}
@media(max-width:760px) {
  .hero-inner { padding:26px 0 30px; }.hero-top { grid-template-columns:1fr; gap:24px; }
  .hero-copy { padding:10px 0 0; }.hero h1 { font-size:clamp(2.8rem,8vw,4rem); }
  .hero .hero-intro { max-width:540px; }.hero-figure img { height:360px; object-position:center 43%; }
  .hero .entry-grid { margin-top:28px; }.entry-card { padding:18px 12px; }
}
@media(max-width:480px) {
  .hero .entry-grid { grid-template-columns:1fr; }.entry-card { min-height:98px; border-right:0; border-bottom:1px solid rgba(34,34,34,0.16); }.entry-card:last-child { border-bottom:0; }
  .hero-figure img { height:290px; }
}

/* Red editorial field and an arched photographic edge, retaining the original photo. */
.hero { background:#B31B1B; color:#fff; }
.hero-inner { position:static; padding-top:52px; padding-bottom:0; }
.hero-top { gap:68px; }
.hero-eyebrow { color:#FFFFFF; }
.hero .hero-intro { color:#F7F7F7; }
.hero-link { color:#fff; border-color:#fff; }
.hero-figure img { height:440px; border-radius:48% 48% 0 0 / 38% 38% 0 0; object-position:43% center; }
.hero-figure figcaption { color:#F7F7F7; padding-top:12px; padding-bottom:6px; }
.hero .entry-grid { background:#fff; margin-top:38px; border:0; border-radius:4px 4px 0 0; overflow:hidden; box-shadow:0 -8px 24px rgba(179,27,27,0.16); }
.hero .entry-card { background:#F7F7F7; }
.hero .entry-card:hover,.hero .entry-card:focus-visible { background:#fff; }
.hero .entry-card { color:#222222; }
.page-heading { background:#F7F7F7; padding:30px 0; border:0; }
.getting-started { padding-top:32px; padding-bottom:40px; }
.getting-started .lead { margin-bottom:24px; max-width:none; font-size:1.2rem; text-align:left; }
.journey-list { gap:32px; }
.journey-list article { padding:18px 0 0; }
.journey-icon { margin-bottom:12px; }
.journey-list p { max-width:32ch; }
.profile-main { padding:26px; }
.profile-main h3 { font-size:1.65rem; margin-bottom:12px; }
.profile-main p { font-size:.9rem; line-height:1.55; }
.profile-image { max-height:640px; }
.visit-details { border-top:1px solid rgba(34,34,34,0.16); border-bottom:1px solid rgba(34,34,34,0.16); padding:12px 0; margin-top:18px; }
.visit-details summary,.open-to summary { cursor:pointer; font-size:.88rem; font-weight:700; color:#B31B1B; }
.visit-details p,.open-to details p { margin-top:12px; }
.profile-facts { padding-top:24px; padding-bottom:24px; gap:12px; }
.profile-facts>div { padding:18px; }
.profile-facts h4 { margin-bottom:12px; }
.profile-facts li { font-size:.85rem; line-height:1.5; margin-bottom:6px; }
.profile-facts .equipment-status { margin-top:14px; padding-top:12px; border-top:1px solid rgba(34,34,34,0.16); color:#222222; font-size:.78rem; line-height:1.5; }
.photo-source { position:absolute; top:14px; right:14px; z-index:4; padding:5px 10px; border-radius:20px; background:#fff; color:#222222; box-shadow:0 2px 8px rgba(34,34,34,0.13); font:600 11px/1.4 var(--sans); letter-spacing:.015em; }
.directory-card>.photo-source { color:#222222; }
.space-jump-links { gap:6px; }
.space-jump-links a { font-size:.76rem; }
@media(max-width:980px) { .hero-top { gap:32px; }.hero-figure img { height:370px; } }
@media(max-width:760px) {
 .hero-inner { padding-top:30px; }.hero-top { gap:28px; }
 .hero-figure { width:min(100%,520px); margin-inline:auto; }.hero-figure img { height:360px; }
 .hero .entry-grid { margin-top:28px; }.profile-image { max-height:none; }
 .getting-started .lead { font-size:1.05rem; }
}
@media(max-width:480px) { .hero-figure img { height:300px; } }

/* Hero split: preserve the left copy and let the supplied photo fill the right side. */
.hero-top { display:block; min-height:492px; }
.hero-copy { width:50%; padding:52px 40px 48px 0; }
.hero-figure { position:absolute; z-index:1; top:0; right:0; bottom:0; width:50vw; height:auto; margin:0; padding:0; }
.hero-figure img { width:100%; height:100%; margin:0; clip-path:polygon(13% 0,100% 0,100% 100%,0 100%); border-radius:0; object-fit:cover; object-position:43% center; }
.hero-figure::after { display:none; }
.hero-figure figcaption { display:none; }
@media(max-width:760px) {
  .hero-top { min-height:0; }
  .hero-copy { width:100%; padding:30px 0 24px; }
  .hero-figure { position:relative; top:auto; right:auto; bottom:auto; width:100%; height:330px; margin:0; }
 .hero-figure img { clip-path:polygon(8% 0,100% 0,100% 100%,0 100%); }
}

/* Header: Cornell logo + Make It Cornell mark. */
.brand .site-logo { display:block; height:56px; width:auto; }
@media(max-width:760px) { .brand .site-logo { height:36px; } }
@media(max-width:420px) { .brand .site-logo { height:30px; } }

/* Space profiles: one consistent, institutional template for every space. */
.space-profile { display:grid; grid-template-columns:280px minmax(0,1fr) 320px; gap:0; margin:0 0 20px; padding:0; border:1px solid rgba(34,34,34,0.16); border-radius:0; background:#fff; box-shadow:none; overflow:hidden; }
.space-profile .profile-photo { position:relative; margin:0; height:100%; min-height:300px; background:#F7F7F7; }
.space-profile .profile-photo .profile-image { position:absolute; inset:0; width:100%; height:100%; min-height:0; max-height:none; object-fit:cover; border-radius:0; }
.space-profile .profile-photo figcaption { position:absolute; left:0; right:0; bottom:0; padding:28px 14px 10px; background:linear-gradient(transparent,rgba(34,34,34,0.67)); color:#fff; font-size:.7rem; line-height:1.4; }
#aap-profile .profile-image { object-position:62% center; }
.space-profile .profile-main { padding:24px 28px; }
.space-profile .space-college { margin:0 0 6px; font-size:.72rem; }
.space-profile .profile-main h3 { margin:0 0 6px; font-size:1.5rem; line-height:1.2; }
.space-profile .location { display:block; margin:0 0 12px; color:#222222; font-size:.9rem; font-weight:600; }
.space-profile .profile-main > p:not(.space-college):not(.location):not(.source-note) { margin:0 0 16px; font-size:.92rem; line-height:1.6; color:#222222; }
.profile-meta { display:grid; grid-template-columns:76px minmax(0,1fr); gap:8px 16px; margin:0 0 18px; padding:14px 0 0; border-top:1px solid rgba(34,34,34,0.16); font-size:.86rem; line-height:1.55; }
.profile-meta dt { font-weight:700; color:#222222; }
.profile-meta dd { margin:0; color:#222222; }
.profile-meta a { color:var(--red); text-underline-offset:2px; overflow-wrap:anywhere; }
.space-profile .profile-actions { display:flex; flex-wrap:wrap; gap:10px; margin:0; }
.space-profile .profile-actions .button { border-radius:0; }
.space-profile .source-note { margin:16px 0 0; font-size:.72rem; color:#222222; }
.space-profile .source-note a { color:#222222; }
.profile-side { padding:24px 26px; border-left:1px solid rgba(34,34,34,0.16); background:#F7F7F7; font-size:.86rem; line-height:1.55; color:#222222; }
.profile-side h4 { margin:0 0 8px; font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#222222; }
.profile-side h4 ~ h4 { margin-top:20px; padding-top:16px; border-top:1px solid rgba(34,34,34,0.16); }
.side-list { margin:0; padding-left:16px; }
.side-list li { margin:0 0 4px; }
.side-list li::marker { color:var(--red); }
.side-note { margin:8px 0 0; font-size:.76rem; color:#222222; }
.side-text { margin:0; }
.side-more { margin-top:10px; }
.side-more summary { cursor:pointer; color:var(--red); font-size:.8rem; font-weight:700; }
.side-more summary:hover { text-decoration:underline; text-underline-offset:3px; }
.side-more-body { margin-top:8px; }
.side-more-body h4 { margin:10px 0 2px !important; padding:0 !important; border:0 !important; font-size:.78rem !important; letter-spacing:0 !important; text-transform:none !important; }
.side-more-body p { margin:0; font-size:.8rem; }
@media(max-width:1100px) {
 .space-profile { grid-template-columns:240px minmax(0,1fr); }
 .profile-side { grid-column:1/-1; border-left:0; border-top:1px solid rgba(34,34,34,0.16); display:grid; grid-template-columns:1fr 1fr; column-gap:32px; }
 .profile-side h4 ~ h4 { margin-top:0; padding-top:0; border-top:0; }
 .profile-side > h4:first-child, .profile-side .side-list, .profile-side .side-note, .profile-side > .side-more:not(:last-child) { grid-column:1; }
 .profile-side > h4:not(:first-child), .profile-side .side-text, .profile-side > .side-more:last-child { grid-column:2; }
 .profile-side > h4:not(:first-child) { grid-row:1; } .profile-side .side-text { grid-row:2; }
}
@media(max-width:700px) {
 .space-profile { grid-template-columns:1fr; }
 .space-profile .profile-photo { min-height:220px; }
 .space-profile .profile-main, .profile-side { padding:20px; }
 .profile-side { display:block; }
 .profile-side h4 ~ h4 { margin-top:18px; padding-top:14px; border-top:1px solid rgba(34,34,34,0.16); }
}
#beebe-profile .profile-image { object-position:80% center; }

/* Space jump links: secondary nav styled like the site header. */
.space-jump-links { display:flex; flex-wrap:nowrap; gap:28px; margin:0 0 28px; padding:0; border-top:1px solid rgba(34,34,34,0.16); border-bottom:1px solid rgba(34,34,34,0.16); overflow-x:auto; scrollbar-width:none; background:none; box-shadow:none; position:static; }
.space-jump-links::-webkit-scrollbar { display:none; }
.space-jump-links a { position:relative; flex:0 0 auto; padding:15px 0 13px; border:0; border-radius:0; background:none; color:#222222; font-size:.86rem; font-weight:600; white-space:nowrap; text-decoration:none; }
.space-jump-links a::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:3px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
.space-jump-links a:hover, .space-jump-links a:focus-visible { color:var(--red); background:none; }
.space-jump-links a:hover::after, .space-jump-links a:focus-visible::after { transform:scaleX(1); }
@media(max-width:1180px) { .space-jump-links { gap:22px; } .space-jump-links a { font-size:.82rem; } }
@media(max-width:1300px) { .space-jump-links { -webkit-mask-image:linear-gradient(90deg,#222222 88%,transparent); mask-image:linear-gradient(90deg,#222222 88%,transparent); padding-right:40px; } }
@media(max-width:700px) { #beebe-profile .profile-image { transform:scale(1.4); transform-origin:right bottom; } }

/* Community: aligned to the page margin, text + list on the left, photo on the right. */
.community-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; align-items:center; padding:72px 0; }
.community-section h2 { margin:0 0 14px; font-size:clamp(2rem,3.4vw,2.8rem); line-height:1.1; }
.community-section .community-intro { margin:0 0 24px; max-width:520px; color:var(--text); font-size:1.02rem; }
.community-list { list-style:none; margin:0; padding:0; border-top:1px solid rgba(34,34,34,0.16); }
.community-list li { border-bottom:1px solid rgba(34,34,34,0.16); }
.community-list a { position:relative; display:block; padding:16px 36px 16px 0; color:inherit; font-weight:400; text-decoration:none; }
.community-list a::after { content:"→"; position:absolute; right:4px; top:16px; color:var(--red); font-weight:700; transition:transform .15s ease; }
.community-list a:hover::after { transform:translateX(4px); }
.community-list strong { display:block; margin-bottom:3px; color:#222222; font-size:1rem; }
.community-list a:hover strong { color:var(--red); }
.community-list span { display:block; color:#222222; font-size:.88rem; line-height:1.5; }
.community-photo { margin:0; }
.community-photo img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.community-photo figcaption { margin-top:8px; font-size:.75rem; color:#222222; }
@media(max-width:860px) { .community-section { grid-template-columns:1fr; gap:32px; padding:56px 0; } .community-photo { order:-1; } }

/* Space jump links: corporate secondary bar. */
.space-jump-links { display:flex; align-items:stretch; gap:0; margin:0 0 28px; padding:0 8px 0 0; border:0; border-top:3px solid var(--red); background:#F7F7F7; }
.space-jump-links::before { content:"Jump to"; flex:0 0 auto; display:flex; align-items:center; padding:0 22px; margin-right:6px; background:#222222; color:#fff; font-size:.7rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.space-jump-links a { padding:16px 14px 14px; color:#222222; font-size:.74rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.space-jump-links a::after { left:14px; right:14px; bottom:0; }
.space-jump-links a:hover, .space-jump-links a:focus-visible { color:var(--red); }
@media(max-width:1300px) { .space-jump-links a { font-size:.7rem; padding:15px 10px 13px; } }
@media(max-width:700px) { .space-jump-links::before { padding:0 14px; } }
.space-jump-links a { padding:16px 12px 14px; letter-spacing:.04em; }
.space-jump-links a::after { left:12px; right:12px; }

/* Community: original copy, aligned left, photo right. */
.community-copy p:not(.section-label) { margin:0 0 22px; max-width:520px; color:var(--text); font-size:1.05rem; line-height:1.6; }
.community-link { color:var(--red); font-weight:800; text-decoration:none; }
.community-link:hover { text-decoration:underline; text-underline-offset:4px; }

/* Jump links: no label, thin vertical dividers, slim bar. */
.space-jump-links { padding:0; }
.space-jump-links::before { content:none; display:none; }
.space-jump-links a { padding:12px 14px 11px; }
.space-jump-links a:first-child { padding-left:18px; }
.space-jump-links a::after { left:14px; right:14px; }
.space-jump-links a:first-child::after { left:18px; }
.space-jump-links a + a::before { content:""; position:absolute; left:0; top:50%; width:1px; height:12px; background:rgba(34,34,34,0.16); transform:translateY(-50%); }

/* Header logos: Cornell logo at the 45px reduced-logo height, Make It Cornell balanced beside it. */
.brand .cornell-logo { width:auto; height:45px; }
.brand .brand-divider { height:40px; margin:0 22px; background:rgba(34,34,34,.16); }
.brand .site-logo { height:50px; }
@media(max-width:760px) { .brand .cornell-logo { height:36px; } .brand .brand-divider { height:30px; margin:0 14px; } .brand .site-logo { height:40px; } }
@media(max-width:420px) { .brand .cornell-logo { height:30px; } .brand .brand-divider { margin:0 10px; } .brand .site-logo { height:34px; } }

/* Decorative flowing waves (Cornell red / dark gray) along the bottom of light sections. */
.spaces-section, .faq-section { position:relative; overflow:hidden; }
.spaces-section::before, .faq-section::before { content:""; position:absolute; left:0; right:0; bottom:0; height:100%; background:url("assets/flow-bg.svg") center bottom/cover no-repeat; pointer-events:none; z-index:0;
  -webkit-mask-image:linear-gradient(180deg,transparent 30%,#000 70%); mask-image:linear-gradient(180deg,transparent 30%,#000 70%); }
.faq-section::before { transform:scaleX(-1); }
.spaces-section > *, .faq-section > * { position:relative; z-index:1; }

/* Compact footer. */
footer { padding:32px 0 14px; }
.footer-top { gap:48px; padding-bottom:20px; }
.footer-identity p { margin:8px 0 0; font-size:.86rem; }
.footer-links h3 { margin:0 0 6px; font-size:.86rem; }
.footer-links a { margin:4px 0; font-size:.84rem; }
.footer-bottom { padding-top:12px; }
.footer-bottom p { font-size:.76rem; }

/* Background: fine diagonal pinstripes in Cornell red, fading in toward the right. */
.spaces-section::before, .faq-section::before { top:0; bottom:0; height:auto; background:url("assets/flow-bg.svg") center/cover no-repeat; opacity:1; transform:none; -webkit-mask-image:none; mask-image:none; }

/* ===== Compact space cards: name, location, hours, equipment, who it's for, link. ===== */
.space-profile.compact { grid-template-columns:300px minmax(0,1fr) 340px; border:1px solid rgba(34,34,34,.12); border-top:3px solid #B31B1B; background:#FFFFFF; margin-bottom:24px; }
.space-profile.compact .profile-photo { min-height:320px; }
.space-profile.compact .profile-main { display:flex; flex-direction:column; padding:28px 32px; }
.space-profile.compact .space-college { margin:0 0 6px; color:#B31B1B; font-size:.74rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.space-profile.compact h3 { margin:0 0 10px; font-family:var(--serif); font-weight:400; font-size:1.85rem; line-height:1.15; }
.space-profile.compact .location { display:flex; align-items:center; gap:8px; margin:0 0 14px; color:#222222; font-size:.95rem; font-weight:600; }
.space-profile.compact .detail-icon { width:18px; height:18px; flex:0 0 18px; fill:none; stroke:#B31B1B; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.space-profile.compact .profile-desc { margin:0 0 18px; color:#222222; font-size:.98rem; line-height:1.6; max-width:560px; }
.profile-hours { display:flex; gap:10px; align-items:flex-start; margin:0 0 22px; padding:12px 14px; background:#F7F7F7; border-left:3px solid #B31B1B; }
.profile-hours .detail-icon { margin-top:2px; }
.hours-label { display:block; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#222222; margin-bottom:2px; }
.hours-value { display:block; font-size:.95rem; color:#222222; }
.space-profile.compact .profile-actions { margin-top:auto; display:flex; flex-wrap:wrap; gap:10px; }
.space-profile.compact .profile-actions .button { padding:11px 18px; font-size:.88rem; border-radius:0; }
.space-profile.compact .profile-side { display:flex; flex-direction:column; gap:14px; padding:24px 24px 24px 0; background:none; border:0; }
.side-card { padding:18px 20px; background:#F7F7F7; }
.side-card h4 { display:flex; align-items:center; gap:8px; margin:0 0 10px; font-size:1rem !important; font-weight:700; letter-spacing:0 !important; text-transform:none !important; color:#222222; border:0 !important; padding:0 !important; }
.side-card .side-list { margin:0; padding-left:18px; font-size:.92rem; line-height:1.7; }
.side-card .side-list li::marker { color:#B31B1B; }
.side-open { background:rgba(179,27,27,.06); }
.side-open p { margin:0; font-size:.92rem; font-weight:600; color:#222222; }
@media(max-width:1100px) {
 .space-profile.compact { grid-template-columns:260px minmax(0,1fr); }
 .space-profile.compact .profile-side { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; padding:0 24px 24px; }
}
@media(max-width:700px) {
 .space-profile.compact { grid-template-columns:1fr; }
 .space-profile.compact .profile-photo { min-height:220px; }
 .space-profile.compact .profile-main { padding:22px 20px; }
 .space-profile.compact .profile-side { grid-template-columns:1fr; padding:0 20px 20px; }
}
@media(max-width:1100px){ .space-profile.compact .profile-side { align-items:start; padding-top:24px; } }

/* ===== Space cards (design 1): rounded, no red rules, soft grey side panel. ===== */
.space-profile.card1 { display:grid; grid-template-columns:280px minmax(0,1fr) 320px; gap:0; margin:0 0 20px; padding:0; background:#FFFFFF; border:1px solid rgba(34,34,34,.1); border-top:1px solid rgba(34,34,34,.1); border-radius:16px; overflow:hidden; box-shadow:none; }
.space-profile.card1 .profile-photo { position:relative; margin:0; min-height:300px; height:100%; }
.space-profile.card1 .profile-photo .profile-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:0; }
.space-profile.card1 .profile-main { padding:26px 28px; }
.space-profile.card1 .space-college { margin:0 0 6px; color:#B31B1B; font-size:.74rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.space-profile.card1 h3 { margin:0 0 8px; font-family:var(--serif); font-weight:400; font-size:1.75rem; line-height:1.15; }
.space-profile.card1 .location { display:flex; align-items:center; gap:8px; margin:0 0 12px; font-size:.92rem; font-weight:600; color:#222222; }
.space-profile.card1 .detail-icon { width:18px; height:18px; flex:0 0 18px; fill:none; stroke:#B31B1B; stroke-width:1.8; }
.space-profile.card1 .profile-desc { margin:0 0 14px; font-size:.95rem; line-height:1.6; color:#222222; }
.space-profile.card1 .profile-meta { display:grid; grid-template-columns:72px minmax(0,1fr); gap:6px 14px; margin:0 0 18px; padding:0; border:0; font-size:.9rem; line-height:1.55; }
.space-profile.card1 .profile-meta dt { font-weight:700; }
.space-profile.card1 .profile-meta dd { margin:0; }
.space-profile.card1 .profile-meta a { color:#B31B1B; }
.space-profile.card1 .profile-actions { display:flex; flex-wrap:wrap; gap:10px; }
.space-profile.card1 .profile-actions .button { padding:10px 16px; border-radius:8px; font-size:.86rem; }
.space-profile.card1 .profile-actions .button-secondary { border-color:rgba(34,34,34,.2); color:#222222; background:#FFFFFF; }
.space-profile.card1 .profile-side { margin:18px 18px 18px 0; padding:20px 22px; background:#F7F7F7; border:0; border-radius:12px; font-size:.9rem; line-height:1.55; }
.space-profile.card1 .profile-side h4 { margin:0 0 6px; padding:0; border:0; font-size:.95rem; font-weight:700; letter-spacing:0; text-transform:none; color:#222222; }
.space-profile.card1 .profile-side h4 ~ h4 { margin-top:16px; padding-top:0; border-top:0; }
.space-profile.card1 .side-list { margin:0; padding-left:18px; }
.space-profile.card1 .side-list li { margin:0 0 3px; }
.space-profile.card1 .side-list li::marker { color:#B31B1B; }
.space-profile.card1 .side-text { margin:0; }
@media(max-width:1100px) {
 .space-profile.card1 { grid-template-columns:240px minmax(0,1fr); }
 .space-profile.card1 .profile-side { grid-column:1/-1; margin:0 18px 18px; display:block; }
}
@media(max-width:700px) {
 .space-profile.card1 { grid-template-columns:1fr; }
 .space-profile.card1 .profile-photo { min-height:220px; }
 .space-profile.card1 .profile-main { padding:20px; }
 .space-profile.card1 .profile-side { margin:0 14px 14px; }
}

/* Footer: a little more height. */
footer { padding:48px 0 20px; }
.footer-top { padding-bottom:28px; }
.footer-bottom { padding-top:16px; }

/* Equal card heights under "Find the tools". */
@media(min-width:1101px) { .space-profile.card1 { min-height:410px; } }
@media(min-width:701px) and (max-width:1100px) { .space-profile.card1 { min-height:650px; align-content:start; } .space-profile.card1 .profile-side { align-self:stretch; } }
@media(min-width:1101px) { .space-profile.card1 { min-height:470px; } }

/* Revert forced equal heights: cards size to their content. */
@media(min-width:1101px) { .space-profile.card1 { min-height:0; } }
@media(min-width:701px) and (max-width:1100px) { .space-profile.card1 { min-height:0; } }
.space-profile.card1 .side-note { margin:6px 0 0; font-size:.8rem; color:rgba(34,34,34,.7); }

/* "New to Makerspaces?" is informational, not a link. */
.entry-card.entry-static { cursor:default; }
.entry-card.entry-static:hover { background:inherit; transform:none; box-shadow:none; }

/* Maker Hub: smaller feature image. */

/* Access moved to the middle column; right panel is equipment only. */
.space-profile.card1 .profile-meta { grid-template-columns:72px minmax(0,1fr); row-gap:8px; }
.space-profile.card1 .side-list li { margin:0 0 2px; }
@media(min-width:1101px) {
 .space-profile.card1 { grid-template-columns:260px minmax(0,1fr) 420px; }
 .space-profile.card1 .side-list { columns:2; column-gap:22px; }
 .space-profile.card1 .side-list li { break-inside:avoid; }
}
@media(min-width:701px) and (max-width:1100px) { .space-profile.card1 .side-list { columns:2; column-gap:24px; } .space-profile.card1 .side-list li { break-inside:avoid; } }
@media(min-width:1101px) {
 .space-profile.card1 { grid-template-columns:260px minmax(0,1fr) 360px; }
 .space-profile.card1 .side-list { columns:1; }
}
@media(min-width:701px) and (max-width:1100px) { .space-profile.card1 .side-list { columns:2; } }
@media(min-width:1101px) {
 .space-profile.card1 { grid-template-columns:240px minmax(0,1fr) 340px; }
 .space-profile.card1 .profile-main { display:flex; flex-direction:column; }
 .space-profile.card1 .profile-actions { margin-top:auto; padding-top:4px; }
}
@media(min-width:1101px) { .space-profile.card1 { min-height:500px; } }
.faq-list details p { max-width:none; padding-right:3.3rem; }

/* Footer: taller, single row of non-duplicate links. */
footer { padding:64px 0 28px; }
.footer-top { display:flex; justify-content:space-between; align-items:center; gap:32px; padding-bottom:40px; }
.footer-links.footer-links-row { display:flex; flex-wrap:wrap; gap:12px 32px; }
.footer-links.footer-links-row a { margin:0; font-size:.95rem; }
.footer-bottom { padding-top:22px; }
@media(max-width:760px) { .footer-top { flex-direction:column; align-items:flex-start; } }
