/* ========================================================================
   Conference 2026 CSS
   Ordered from top to footer. Media queries are at the end.
   ======================================================================== */

/* ========================================================================
   01. Variables and base
   ======================================================================== */
:root {
   --red: #9c1519;
   --red2:#7f1115;
   --ink: #2a2a2c;
   --text: #62615f;
   --muted: #8a8987;
   --paper: #ffffff;
   --paper-soft: #fbfaf8;
   --soft: #efeff1;
   --line: #ded9d7;
   --sand: #f7f3f1;
   --section-bg: #f5f1ee;
   --shadow: 0 18px 45px rgba(60, 55, 55, .09);
   --radius: 0;
}
* { box-sizing: border-box; }

html { font: 400 15px/1.55 Roboto, Arial, sans-serif; background: var(--soft); color: var(--text); scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; min-width: 320px; background: var(--soft); }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--ink); }
.wrap { width: min(1280px, calc(100% - 54px)); margin: 0 auto; }

/* ========================================================================
   02. Top strip
   ======================================================================== */
.top-strip { background: var(--red); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; height: 50px; }
.top-strip a, .top-strip span { color: #fff; }
.top-strip-inner { display: flex; align-items: center; justify-content: center; gap: 28px; text-align: center; height: 50px; }
.top-strip-inner a { flex: 0 0 auto; margin-left: 90px; white-space: nowrap; border: 1px solid #ffffff9e; padding: 8px 25px; }
.top-strip-inner span { flex: 1 1 auto; font-weight: 700; font-size: 13px; line-height: 1.3; text-align: center; }

/* ========================================================================
   03. Header and navigation
   ======================================================================== */
.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 4px solid var(--red); box-shadow: 0 2px 12px rgba(0, 0, 0, .05); }*
.site-header .wrap { width: min(1280px, calc(100% - 54px)); }
.masthead { min-height: 108px; display: flex; align-items: center; justify-content: flex-start; gap: 34px; }
.faculty-brand { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; min-width: 0; color: var(--ink); }
.faculty-brand img { width: 88px; max-height: 76px; object-fit: contain; }
.faculty-brand strong { display: block; color: var(--red); font-family: 'PT Sans', 'Roboto', Arial, sans-serif; font-size: 24px; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
.faculty-brand span strong { white-space: nowrap; }
.faculty-brand small { display: block; color: #555; font-size: 12px; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; }
.faculty-mark { display: none; }
.main-nav { margin-left: 28px; display: flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 10px; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 40px; margin-left: auto; padding: 0; background: #fff; border: 1px solid var(--red); cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--red); transition: transform .2s ease, opacity .2s ease; }
.site-header.is-menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-item.has-dropdown { flex: 0 0 auto; }
.nav-link { display: flex; align-items: center; height: 100%; padding: 12px 4px 13px; border-bottom: 2px solid transparent; color: #c00; font-family: 'Roboto Condensed', Arial, sans-serif; font-size: 14px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.nav-link:hover, .nav-link.active, .has-dropdown.is-active>.nav-link { color: var(--ink); border-color: var(--red); }
.nav-dropdown-toggle:after { content: ""; width: 0; height: 0; margin-left: 6px; margin-top: 2px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.nav-dropdown { position: absolute; top: 100%; left: 0; z-index: 80; min-width: 230px; padding: 8px 0; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 18px 40px rgba(35, 31, 32, .16); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .22s ease, transform .22s ease, visibility .22s ease; }
.has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown, .has-dropdown.is-open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 12px 18px; border-bottom: 1px solid #eee7e4; color: #5a5552; font-family: 'Roboto Condensed', Arial, sans-serif; font-size: 13px; line-height: 1.2; text-transform: uppercase; }
.nav-dropdown a:last-child { border-bottom: 0; }
.nav-dropdown a:hover { background: var(--red); color: #fff; }

/* ========================================================================
   04. Page shell and hero
   ======================================================================== */
.page-shell { overflow: hidden; }
.hero, .page-head { background: radial-gradient(circle at 82% 18%, rgba(156, 21, 25, .13), transparent 31%), linear-gradient(125deg, #fff 0%, #fff 43%, #f7f3f1 43%, #f7f3f1 72%, #ececef 72%); }
.hero { position: relative; padding: 58px 0 42px; border-bottom: 1px solid #ddd; }
.hero.balanced-hero { min-height: 82vh; display: flex; align-items: center; position: relative; padding-bottom: 50px; }
.hero:before, .page-head:after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(135deg, transparent 0 44%, rgba(156, 21, 25, .065) 44% 45%, transparent 45% 100%), repeating-linear-gradient(135deg, rgba(0, 0, 0, .028) 0 1px, transparent 1px 18px); opacity: .45; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) 440px; gap: 46px; align-items: center; }
.eyebrow, .section-kicker { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1, .page-head h1 { margin: 10px 0 18px; color: var(--ink); font-family: 'PT Sans', 'Roboto', Arial, sans-serif; font-size: 44px; font-weight: 400; line-height: 1.25; }
.hero h1 span { color: var(--red); font-family: 'PT Sans', 'Roboto', Arial, sans-serif; font-size: 44px; font-weight: 400; line-height: 1.25; }
.lead { color: #4d4b49; font-size: 19px; line-height: 1.5; font-style: italic; }
.hero-card { padding: 68px 38px; background: #fff; border: 1px solid #e5dfdc; box-shadow: var(--shadow); text-align: center; }
.hero-card img { max-width: 305px; }
.date-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.date-block span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.date-block strong { display: block; margin-top: 4px; color: var(--ink); font-size: 20px; }
.hero-actions-note { margin-top: 16px; color: #675f5b; font-size: 13px; }
.inner-hero-content { position: relative; z-index: 1; }

/* ========================================================================
   05. Buttons
   ======================================================================== */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .button-row .btn+.btn { margin-left: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 22px; border: 1px solid var(--red); border-radius: 0; box-shadow: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red2); color: #fff; }
.btn-secondary { background: #fff; color: var(--red); }
.btn-secondary:hover { background: #f8f1ef; color: var(--red2); }
.btn-block { display: flex; width: 100%; margin-bottom: 12px; }

/* ========================================================================
   06. Home blocks
   ======================================================================== */
.home-balance { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; margin-top: 34px; }
.intro-card, .content-card, .note-line, .gallery-placeholders>div { background: #fff; border: 1px solid #e8e3e0; box-shadow: 0 8px 25px rgba(80, 75, 75, .06); }
.intro-card, .content-card, .quick-list a, .three-cards article, .topic-grid li, .about-main, .about-aside, .contact-card, .date-box, .date-card { background: #fff; border: 1px solid rgba(224, 216, 210, .95); box-shadow: 0 16px 38px rgba(55, 45, 45, .08); }
.intro-card { padding: 38px; }
.content-card { padding: 42px; margin-top: 30px; margin-bottom: 34px; }
.content-card { position: relative; z-index: 2; background: #fff; }
.intro-card h2, .content-card h2 { margin: 0 0 16px; color: var(--ink); font-size: 28px; font-weight: 400; line-height: 1.2; }
.quick-list { display: grid; gap: 12px; }
.quick-list a { padding: 30px; border-left: 4px solid var(--red); color: var(--ink); }
.quick-list strong { display: block; color: var(--red); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.quick-list span { display: block; margin-top: 5px; color: var(--text); }
.three-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.three-cards article { padding: 24px; border-top: 3px solid var(--red); }
.num { display: block; color: var(--red); font-family: 'PT Sans', serif; font-size: 27px; }
.three-cards h3, .journal-list h3 { margin: 6px 0 8px; color: var(--ink); font-weight: 400; }

/* ========================================================================
   07. Inner page layout
   ======================================================================== */
.page-head { position: relative; z-index: 1; width: min(1280px, calc(100% - 54px)); margin: 0 auto; padding: 54px 0 42px; }
.page-head:before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: inherit; border-bottom: 1px solid #ddd; }
.page-head h1 { font-size: 42px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 42px; align-items: start; }
.note-panel, .download-panel { padding: 26px; background: var(--sand); border: 1px solid #e6ded8; }
.note-panel h3, .download-panel h3 { margin-top: 0; color: var(--ink); }
.note-panel dl { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px 16px; margin: 0; }
.note-panel dt { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.note-panel dd { margin: 0; color: var(--ink); font-weight: 700; }
.clean-list { padding-left: 20px; }
.clean-list li { margin-bottom: 9px; }
.note-line { padding: 20px 26px; margin-bottom: 34px; }
.note-line.inside { margin: 24px 0 0; }

/* ========================================================================
   08. One-page sections
   ======================================================================== */
.onepage-block { position: relative; display: flex; align-items: center; min-height: 100vh; padding: 88px 0 76px; overflow: hidden; background: var(--section-bg); scroll-margin-top: 0; }
.onepage-block.soft, .onepage-block.pattern { background: radial-gradient(circle at 86% 16%, rgba(156, 21, 25, .10), transparent 30%), linear-gradient(125deg, #fff 0%, #fff 42%, #f6f2ef 42%, #f6f2ef 72%, #ececef 72%); }
.onepage-block.soft:before, .onepage-block.pattern:before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0 44%, rgba(156, 21, 25, .06) 44% 45%, transparent 45% 100%), repeating-linear-gradient(135deg, rgba(0, 0, 0, .026) 0 1px, transparent 1px 18px); opacity: .58; pointer-events: none; }
.onepage-block>.wrap { position: relative; z-index: 1; align-self: center; width: min(1280px, calc(100% - 54px));  background: transparent; }
.onepage-title { max-width: 880px; margin: 0 0 34px; }
.onepage-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.onepage-title h2 { margin: 8px 0 12px; color: var(--ink); font-family: 'PT Sans', 'Roboto', Arial, sans-serif; font-size: 40px; font-weight: 400; line-height: 1.12; }
.onepage-title p { margin: 0; color: #55504d; font-size: 18px; line-height: 1.58; }
.home-anchor { scroll-margin-top: 0; }
.home-anchor .content-card { margin-bottom: 52px; }
.home-anchor .topic-grid { margin-top: 0; }
.menu-anchor { position: relative; top: -1px; height: 1px; scroll-margin-top: 0; }

/* ========================================================================
   09. About section
   ======================================================================== */
/*.about-section.soft { background: radial-gradient(circle at 14% 16%, rgba(156, 21, 25, .10), transparent 30%), linear-gradient(61deg, #fff 0%, #fff 42%, #f6f2ef 42%, #f6f2ef 72%, #ececef 72%); }*/
.about-section.soft:before { background: none; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) 360px; gap: 30px; align-items: start; }
.about-main { padding: 38px; }
.about-aside { padding: 28px; }
.about-main h3, .about-aside h3 { margin-top: 0; color: var(--ink); font-weight: 400; }
.about-main p { font-size: 16px; line-height: 1.7; }
.facts-list { margin: 0; padding: 0; list-style: none; }
.facts-list li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid #eee7e4; }
.facts-list li:last-child { border-bottom: 0; }
.facts-list span { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.facts-list strong { color: var(--ink); font-weight: 700; }

/* feature card */
.about-feature-card { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 34px; align-items: stretch; margin: 24px 0 34px; background: #fff; border: 1px solid rgba(224, 216, 210, .95); box-shadow: 0 16px 38px rgba(55, 45, 45, .08); }
.about-feature-photo { min-height: 410px; overflow: hidden; background: #f7f3f1; }
.about-feature-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-feature-content { padding: 34px 36px 34px 0; }
.about-feature-content h3 { margin: 8px 0 16px; color: var(--ink); font-family: 'PT Sans', 'Roboto', Arial, sans-serif; font-size: 28px; font-weight: 400; line-height: 1.2; }
.about-feature-content p { margin: 0 0 16px; color: #55504d; font-size: 16px; line-height: 1.7; }
.about-feature-content p:last-child { margin-bottom: 0; }
.scheduled-feature { display: none; }
.scheduled-feature.is-active { display: grid; }

@media (max-width: 980px) {
.about-feature-card { grid-template-columns: 1fr; }
.about-feature-photo { min-height: 0; }
.about-feature-photo img { height: auto; }
.about-feature-content { padding: 30px; }
}

@media (max-width: 620px) {
.about-feature-content { padding: 24px; }
.about-feature-content h3 { font-size: 24px; }
.about-feature-content p { font-size: 15px; }
}

/* ========================================================================
   10. Topics
   ======================================================================== */
#topics { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7f3f1 0%, #fbfaf8 48%, #f1ecea 100%); }
#topics::before { content: ""; position: absolute; z-index: 0; pointer-events: none; inset: 42px max(28px, calc((100% - 1180px) / 2)) 42px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(224, 216, 210, .75); box-shadow: 0 28px 70px rgba(80, 65, 65, .08); }
#topics::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(135deg, transparent 0 44%, rgba(156, 21, 25, .045) 44% 45%, transparent 45% 100%), repeating-linear-gradient(135deg, rgba(0, 0, 0, .022) 0 1px, transparent 1px 18px); opacity: .42; }
/*#topics > * { position: relative; z-index: 1; }*/
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.topic-grid li { display: grid; grid-template-columns: 45px 1fr; gap: 16px; padding: 20px; border-left: 4px solid rgba(156, 21, 25, .72); font-size: 18px;}
.topic-grid li.wide { grid-column: 1 / -1; }
.topic-grid span { display: grid; place-items: center; width: 45px; height: 45px; background: rgba(156, 21, 25, .72); border: 1px solid var(--red); color: #fff; font-size: 20px; }
.topic-grid p { margin: 0; color: var(--ink); }

/* ========================================================================
   11. Dates and timeline
   ======================================================================== */
.timeline { max-width: 850px; margin: 0 auto; }
.timeline-row { display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline-row:first-child { border-top: 1px solid var(--line); }
.timeline-row time { color: var(--red); font-family: 'PT Sans', serif; font-size: 20px; }
.timeline-row strong { color: var(--ink); font-size: 19px; }
.dates-timeline, #dates .dates-timeline { position: relative; max-width: 980px; margin: 12px auto 0; padding: 8px 0; }
.dates-timeline:before, #dates .dates-timeline:before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: linear-gradient(to bottom, transparent, var(--red), transparent); opacity: .55; transform: translateX(-50%); }
.date-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; margin: 0 0 34px; }
.date-item:last-child { margin-bottom: 0; }
.date-item:before { content: ""; position: absolute; top: 30px; left: 50%; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid var(--red); transform: translateX(-50%); box-shadow: 0 0 0 6px rgba(156, 21, 25, .09); }
.date-box, .date-card { padding: 24px 28px; border-left: 4px solid var(--red); transition: transform .28s ease, box-shadow .28s ease; }
.date-box:hover, .date-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(80, 75, 75, .12); }
.date-item.left .date-box { grid-column: 1; text-align: right; }
.date-item.right .date-box { grid-column: 2; text-align: left; }
.date-box time, .date-card time { display: block; margin-bottom: 7px; color: var(--red); font-family: 'PT Sans', 'Roboto', Arial, sans-serif; font-size: 24px; line-height: 1.15; }
.date-box strong, .date-card strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.35; }
.date-box p, .date-card p { margin: 8px 0 0; color: #6c6764; }

/* ========================================================================
   12. Publication, journal and steps
   ======================================================================== */
.content-card h2 { margin: 34px 0 16px; color: var(--ink); font-family: 'PT Sans', 'Roboto', Arial, sans-serif; font-size: 32px; font-weight: 400; line-height: 1.15; }
.content-card h2:first-child { margin-top: 0; }
.content-card > p { max-width: 1000px; color: #55504d; font-size: 17px; line-height: 1.7; }
.note-panel.inside { margin: 24px 0 36px; padding: 28px 30px; background: #fff; border: 1px solid rgba(224, 216, 210, .95); border-left: 5px solid var(--red); box-shadow: 0 14px 34px rgba(55, 45, 45, .07); }
.note-panel.inside h3 { margin: 0 0 12px; color: var(--ink); font-family: 'PT Sans', 'Roboto', Arial, sans-serif; font-size: 25px; font-weight: 400; line-height: 1.25; }
.note-panel.inside p { margin: 6px 0; color: #5d5754; font-size: 16px; line-height: 1.6; }
.journal-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.journal-list article { display: flex; flex-direction: column; min-height: 100%; padding: 26px; background: rgba(255, 255, 255, .96); border: 1px solid rgba(224, 216, 210, .95); border-top: 4px solid var(--red); box-shadow: 0 16px 38px rgba(55, 45, 45, .08); }
.journal-list h3 { margin: 0 0 12px; color: var(--ink); font-family: 'PT Sans', 'Roboto', Arial, sans-serif; font-size: 24px; font-weight: 400; line-height: 1.22; }
.journal-list p { margin: 0 0 12px; color: #5d5754; font-size: 15px; line-height: 1.6; }
.journal-list a { display: inline-flex; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--red); font-size: 14px; font-weight: 700; line-height: 1.35; word-break: break-word; }
.journal-list a:hover { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.steps article { padding: 28px; background: var(--sand); border: 1px solid #e6ded8; }
.steps span { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ========================================================================
   13. Committees
   ======================================================================== */
.committee-list { columns: 2; column-gap: 38px; }
.committee-list p { break-inside: avoid; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid #ece7e4; }
.committee-list.compact { columns: 1; max-width: 760px; }
.committee-list.single { columns: auto; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; z-index: 1; }
.committee-list.single p { margin: 0 0 11px; padding: 14px 18px; background: #fff; border: 1px solid #ece7e4; border-left: 4px solid var(--red); box-shadow: 0 8px 20px rgba(80, 75, 75, .045); z-index: 1; }

/* ========================================================================
   14. Previous conferences and gallery
   ======================================================================== */
.previous.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 700px; gap: 42px; align-items: start; }
.year-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.year-grid span { padding: 7px; background: #fff; border: 1px solid #e2dbd8; color: var(--ink); text-align: center; }
.gallery-placeholders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; margin-top: 34px; }
.gallery-placeholders>div { display: grid; place-items: center; height: 145px; background: linear-gradient(135deg, #fff, #f3eeee); color: #aaa; letter-spacing: .16em; text-transform: uppercase; }
/* Previous conferences: year buttons and gallery */
.year-buttons { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.year-buttons .year-button { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 10px; background: #fff; border: 1px solid #e2dbd8; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.year-buttons .year-button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.previous-gallery { margin-top: 34px; margin-bottom: 42px; }
.previous-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-card { position: relative; display: block; min-height: 210px; overflow: hidden; background: #fff; border: 1px solid rgba(224, 216, 210, .95); box-shadow: 0 16px 38px rgba(55, 45, 45, .08); }
.gallery-card img { display: block; width: 100%; height: 245px; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.gallery-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gallery-card:hover img { transform: scale(1.04); filter: brightness(.92); }
.conference-lightbox { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 34px; }
.conference-lightbox:target { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(20, 18, 18, .86); }
.conference-lightbox figure { position: relative; z-index: 1; width: min(1100px, 100%); margin: 0; background: #fff; border: 1px solid rgba(255, 255, 255, .45); box-shadow: 0 26px 80px rgba(0, 0, 0, .38); }
.conference-lightbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; background: #111; }
.conference-lightbox figcaption { padding: 12px 16px; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.lightbox-close { position: absolute; top: -16px; right: -16px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; background: var(--red); color: #fff; font-size: 28px; line-height: 1; }
.lightbox-close:hover { background: var(--red2); color: #fff; }
.ld-photo-section { margin-top: 34px; margin-bottom: 34px; }
.ld-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ld-photo-link { display: block; overflow: hidden; background: #fff; border: 1px solid #e8e3e0; box-shadow: 0 8px 25px rgba(80, 75, 75, .06); }
.ld-photo-link img { display: block; width: 100%; height: 190px; object-fit: cover; }
.ld-photo-link:hover img { transform: scale(1.04); }
.ld-photo-link img { transition: transform .25s ease; }

/* ========================================================================
   15. Submission
   ======================================================================== */
.submission-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 34px; align-items: start; }
.submission-info, .submission-form-card { background: #fff; border: 1px solid rgba(224, 216, 210, .95); box-shadow: 0 16px 38px rgba(55, 45, 45, .08); }
.submission-info { padding: 30px; border-left: 5px solid var(--red); }
.submission-form-card { padding: 34px; }
.submission-info h2, .submission-form-card h2 { margin: 0 0 16px; color: var(--ink); font-family: 'PT Sans', 'Roboto', Arial, sans-serif; font-size: 30px; font-weight: 400; line-height: 1.15; }
.submission-note { margin: -4px 0 24px; color: #6c6764; }
.submission-step { padding: 18px 0; border-top: 1px solid var(--line); }
.submission-step span { display: block; margin-bottom: 5px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.submission-step h3 { margin: 0 0 8px; color: var(--ink); font-size: 20px; font-weight: 400; }
.submission-step p { margin: 0; color: #5d5754; line-height: 1.6; }
.submission-rules { margin: 18px 0 0; padding-left: 19px; }
.submission-rules li { margin-bottom: 8px; }
.conference-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row-full { grid-column: 1 / -1; }
.form-row label, .conference-form legend { color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.form-row input, .form-row select, .form-row textarea { width: 100%; min-height: 44px; padding: 11px 13px; background: #fff; border: 1px solid #d9d1cc; border-radius: 0; color: var(--ink); font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-row textarea { min-height: 118px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(156, 21, 25, .09); }
.form-row small { color: #817a76; font-size: 12px; line-height: 1.4; }
.radio-group { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-group label { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; background: var(--sand); border: 1px solid #e3d9d4; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: none; }
.radio-group input { width: auto; min-height: 0; padding: 0; }
.form-fieldset { margin: 8px 0 0; padding: 24px; border: 1px solid #e5ddd8; background: #fbfaf8; }
.form-fieldset legend { padding: 0 8px; color: var(--red); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.paper-only.is-hidden { display: none; }
.consent-line { display: flex; gap: 10px; align-items: flex-start; padding: 18px; background: var(--sand); border: 1px solid #e6ded8; color: #5d5754; line-height: 1.55; }
.consent-line input { margin-top: 5px; }
.form-actions { display: flex; justify-content: flex-start; margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-message { grid-column: 1 / -1; padding: 14px 16px; border-left: 4px solid var(--red); background: #fff5f4; color: var(--ink); }

/* ========================================================================
   16. Contact
   ======================================================================== */
.contact-section { background: #f7f3f1; }
.contact-section.soft { background: radial-gradient(circle at 14% 16%, rgba(156, 21, 25, .10), transparent 30%), linear-gradient(52deg, #fff 0%, #fff 42%, #f6f2ef 42%, #f6f2ef 72%, #ececef 72%); }
.contact-section.soft:before { background: linear-gradient(42deg, transparent 0 44%, rgba(156, 21, 25, .06) 44% 45%, transparent 45% 100%), repeating-linear-gradient(55deg, rgba(0, 0, 0, .026) 0 1px, transparent 1px 18px); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; }
.contact-grid article { padding: 26px; background: var(--sand); border: 1px solid #e6ded8; }
.contact-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.contact-card { padding: 30px; border-top: 4px solid var(--red); }
.contact-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 22px; font-weight: 400; }
.contact-card p { line-height: 1.65; }
.contact-social-grid { display: flex; gap: 18px; align-items: center; }
.contact-social-grid a { display: inline-flex; align-items: center; justify-content: center; }
.social-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--red); }
.social-icon svg { width: 28px; height: 28px; fill: currentColor; }

/* ========================================================================
   17. Footer
   ======================================================================== */
.site-footer { margin-top: 30px; padding: 55px 0; background: #a70f16; color: #fff; }
.site-footer h3 { margin: 0 0 10px; color: #fff; font-size: 20px; line-height: 1.05; }
.site-footer h2 { margin: 0 0 10px; color: #fff; font-size: 26px; line-height: 1.05; }
.site-footer p { margin: 0 0 12px; font-size: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.1fr; gap: 34px; align-items: center; }
.footer-brand { text-align: right; }
.footer-brand img { display: block; max-height: 245px; margin: 0 0 15px auto; object-fit: contain; }

/* ========================================================================
   18. Back to top
   ======================================================================== */
.back-to-top { position: fixed; right: 24px; bottom: 28px; z-index: 850; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: #fff; border: 1px solid var(--red); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); color: var(--red); font-size: 32px; line-height: 1; font-weight: 700; opacity: .88; transition: opacity .2s ease, transform .2s ease, background .2s ease, color .2s ease; padding-top: 8px; }
.back-to-top:hover { background: var(--red); color: #fff; opacity: 1; transform: translateY(-2px); }
#top { position: absolute; top: 0; left: 0; }

/* ========================================================================
   19. Transitions and reveal effects
   ======================================================================== */
.page-transition { position: fixed; inset: 0; z-index: 9999; pointer-events: none; transform: none; opacity: 0; background: rgba(247, 243, 241, .96); border-top: 0; box-shadow: none; will-change: opacity; }
.page-transition span { display: none; }
.reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 0; will-change: transform, opacity, filter; }
.reveal { transform: none; }
.reveal-left { transform: translateX(-150px); }
.reveal-right { transform: translateX(150px); }
.reveal-scale { transform: scale(.92); }
.hero .reveal-left { transform: translateX(-120px); }
.hero .reveal-right { transform: translateX(120px); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: #8a827e; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue:after { content: ""; display: block; width: 1px; height: 34px; margin: 8px auto 0; background: rgba(156, 21, 25, .45); }

/* ========================================================================
   20. Media queries
   ======================================================================== */
@media (max-width: 1320px) {
.site-header .wrap { width: min(100% - 36px, 1440px); }
.masthead { gap: 22px; }
.main-nav { margin-left: 12px; gap: 7px; }
.nav-link { padding-left: 3px; padding-right: 3px; font-size: 13px; }
.faculty-brand img { width: 78px; }
.faculty-brand strong { font-size: 22px; }
}

@media (max-width: 1200px) {
.main-nav { flex-wrap: wrap; white-space: normal; }
.faculty-brand { min-width: 260px; }
}

@media (max-width: 1120px) {
.masthead { min-height: 0; display: flex; flex-wrap: wrap; padding: 16px 0 14px; }
.nav-toggle { display: block; }
.main-nav { display: none; width: 100%; margin-left: 0; margin-top: 14px; padding: 12px 0 4px; border-top: 1px solid var(--line); white-space: normal; }
.site-header.is-menu-open .main-nav { display: block; }
.nav-item { display: block; }
.nav-link { display: block; padding: 13px 0; border-bottom: 1px solid #eee7e4; font-size: 14px; }
.nav-dropdown-toggle:after { display: inline-block; vertical-align: middle; }
.nav-dropdown { position: static; display: none; min-width: 0; padding: 0; margin: 0 0 8px; background: #f8f1ef; border-top: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.has-dropdown.is-open .nav-dropdown { display: block; }
.nav-dropdown a { padding: 11px 16px; border-bottom: 1px solid #eadfdb;}
}
@media (max-width:1080px) {
.onepage-block { min-height: auto; display: block; padding: 62px 0; }
.about-layout, .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
.top-strip-inner { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.faculty-brand { min-width: 0; }
.hero-grid, .home-balance, .two-col, .contact-grid { grid-template-columns: 1fr; }
.hero-card { max-width: 100%; }
.three-cards, .journal-list, .steps, .gallery-placeholders { grid-template-columns: 1fr 1fr; }
.committee-list { columns: 1; }
.topic-grid { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr; }
.footer-brand { text-align: left; }
.footer-brand img { margin-left: 0; margin-right: 0; }
.page-head { width: min(100% - 44px, 1180px); }
.dates-timeline:before, #dates .dates-timeline:before { left: 20px; }
.date-item { display: block; padding-left: 52px; }
.date-item:before { left: 20px; }
.date-item.left .date-box, .date-item.right .date-box, .date-box, .date-card { margin-bottom: 22px; text-align: left !important; }
.committee-list.single { grid-template-columns: repeat(2, 1fr); }
.submission-layout { grid-template-columns: 1fr; }
.submission-info { border-left: 0; border-top: 5px solid var(--red); }
.previous-gallery-grid { grid-template-columns: repeat(2, 1fr); }
.ld-photo-grid { grid-template-columns: repeat(2, 1fr); }
.previous.two-col .note-panel { order: 2; }
.previous.two-col > div { order: 1; }
}

@media (max-width: 700px) {
.site-header .wrap { width: min(100% - 24px, 1180px); }
.onepage-block>.wrap { width: min(100% - 28px, 1180px); }
.onepage-title h2 { font-size: 30px; }
.facts-list li { grid-template-columns: 1fr; gap: 3px; }
.date-item { padding-left: 40px; }
.dates-timeline:before, .date-item:before, #dates .dates-timeline:before { left: 12px; }
.date-box time, .date-card time { font-size: 21px; }
.faculty-brand img { width: 68px; }
.contact-card { padding: 23px; }
.nav-dropdown { left: auto; right: 0; }
}

@media (max-width: 620px) {
.wrap { width: min(100% - 28px, 1180px); }
.top-strip-inner { height: auto; min-height: 34px; display: block; padding: 8px 0; }
.top-strip-inner span { display: none; font-size: 11px; }
.top-strip-inner a { font-size: 10px; margin-left: 0; }
.hero { padding-top: 34px; }
.hero h1, .page-head h1 { font-size: 32px; }
.three-cards, .journal-list, .steps, .gallery-placeholders { grid-template-columns: 1fr; }
.timeline-row { grid-template-columns: 1fr; gap: 5px; }
.nav-link { font-size: 13px; }
.content-card, .intro-card { padding: 26px; }
.topic-grid li { grid-template-columns: 36px 1fr; }
.topic-grid span { width: 36px; height: 36px; }
.footer-grid { display: block; }
.hero-card img { max-width: 220px; }
.faculty-brand img { width: 74px; }
.faculty-brand strong { font-size: 19px; }
.page-head { width: min(100% - 28px, 1180px); }
.committee-list.single { grid-template-columns: 1fr; }
.submission-form-card, .submission-info { padding: 24px; }
.conference-form, .form-grid { grid-template-columns: 1fr; }
.radio-group { display: grid; grid-template-columns: 1fr; }
.form-fieldset { padding: 20px; }
.year-buttons { grid-template-columns: repeat(2, 1fr); }
.previous-gallery-grid { grid-template-columns: 1fr; }
.gallery-card img { height: 230px; }
.conference-lightbox { padding: 18px; }
.lightbox-close { top: 8px; right: 8px; }
.ld-photo-grid { grid-template-columns: 1fr; }
.ld-photo-link img { height: auto; }
.previous .year-grid { grid-template-columns: repeat(2, 1fr); }
.back-to-top { right: 14px; bottom: 16px; width: 42px; height: 42px; font-size: 28px; }
}

@media (max-width: 420px) {
.previous .year-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
.reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
.page-transition { display: none; }
.btn { transition: none; }
}
