:root {
    --blue: #00629b;
    --deep: #073d61;
    --navy: #052c47;
    --cyan: #25b7d3;
    --gold: #edb72e;
    --ink: #172331;
    --muted: #647080;
    --line: #dbe5ec;
    --soft: #f3f7f9;
    --white: #fff;
    --shadow: 0 18px 50px rgba(3, 46, 74, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.65;
    background: #fff;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.ieee-bar { background: var(--navy); color: rgba(255,255,255,.72); font-size: 11px; }
.ieee-inner { display: flex; justify-content: flex-end; gap: 22px; height: 30px; align-items: center; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(15,69,99,.08);
    transition: .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(4, 44, 69, .12); }
.navbar { display: flex; align-items: center; min-height: 86px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: auto; height: 51px; object-fit: contain; }
.brand .ti4sd-logo { height: 57px; max-width: 112px; }
.main-nav { display: flex; align-self: stretch; align-items: stretch; margin-left: auto; }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-item > button, .nav-link {
    border: 0;
    background: none;
    color: #233541;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.nav-item > button i {
    width: 6px; height: 6px;
    border-right: 1.5px solid; border-bottom: 1.5px solid;
    transform: rotate(45deg) translateY(-2px);
}
.nav-item > button::after, .nav-link::after {
    content: "";
    height: 3px;
    position: absolute;
    left: 12px; right: 12px; bottom: 0;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform .2s;
}
.nav-item:hover > button::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-link { position: relative; max-width: 105px; white-space: normal; line-height: 1.25; }
.dropdown {
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    position: absolute;
    top: calc(100% - 1px); left: 0;
    min-width: 235px;
    background: #fff;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--blue);
    transition: .18s ease;
}
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { visibility: visible; opacity: 1; transform: none; }
.dropdown a { display: block; padding: 13px 18px; border-bottom: 1px solid #edf2f5; font-size: 13px; font-weight: 600; }
.dropdown a:hover { color: var(--blue); background: #f2f8fb; padding-left: 22px; }
.menu-toggle { display: none; border: 0; background: none; color: var(--deep); padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px; }
.menu-toggle b { display: none; }

.hero { min-height: 650px; position: relative; overflow: hidden; display: flex; align-items: center; color: #fff; }
.hero-slider, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1.1); }
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(3,39,62,.94) 0%, rgba(3,52,80,.77) 42%, rgba(3,42,65,.16) 75%),
        linear-gradient(0deg, rgba(2,35,55,.35), transparent 45%);
}
.hero-content { position: relative; z-index: 2; padding: 75px 0 92px; }
.hero-kicker {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    border-left: 4px solid var(--gold);
    padding-left: 15px;
    font-weight: 800;
    letter-spacing: .12em;
    font-size: 13px;
}
.hero-kicker b { color: #8fe3ee; }
.hero h1 {
    font-family: Montserrat, Inter, sans-serif;
    font-size: clamp(42px, 5.1vw, 72px);
    line-height: 1.06;
    max-width: 850px;
    letter-spacing: -.045em;
    margin: 22px 0 18px;
    text-shadow: 0 5px 25px rgba(0,0,0,.23);
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-content > p { max-width: 580px; color: rgba(255,255,255,.8); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.btn {
    min-height: 50px;
    padding: 12px 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 800;
    font-size: 12px;
    transition: .2s ease;
}
.btn-primary { background: var(--gold); color: #1d3440; border: 2px solid var(--gold); }
.btn-primary:hover { background: #ffd061; border-color: #ffd061; transform: translateY(-2px); }
.btn-primary.dark { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary.dark:hover { background: var(--deep); border-color: var(--deep); }
.btn-outline { color: #fff; border: 2px solid rgba(255,255,255,.62); }
.btn-outline:hover { background: #fff; color: var(--deep); }
.slider-dots { position: absolute; z-index: 4; bottom: 38px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; }
.slider-dots button { width: 30px; height: 4px; border: 0; background: rgba(255,255,255,.42); cursor: pointer; padding: 0; }
.slider-dots button.active { background: var(--gold); }

.section { padding: 92px 0; }
.section-heading { position: relative; margin-bottom: 42px; }
.section-heading.centered { text-align: center; max-width: 650px; margin-inline: auto; }
.eyebrow, .section-heading .eyebrow {
    display: block;
    color: var(--blue);
    letter-spacing: .17em;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 9px;
}
.eyebrow.light { color: #75d6e6; }
.section-heading h2, .call-copy h2, .simple-page h2, .venue-copy h2 {
    font-family: Montserrat, Inter, sans-serif;
    color: var(--deep);
    font-size: clamp(32px, 4vw, 47px);
    line-height: 1.12;
    letter-spacing: -.035em;
    margin: 0 0 12px;
}
.section-heading p { color: var(--muted); margin: 0; }
.text-link { position: absolute; right: 0; top: 30px; color: #fff; font-weight: 700; font-size: 13px; }
.text-link span { color: var(--gold); margin-left: 5px; font-size: 20px; }

.dates-section { background: var(--soft); position: relative; }
.dates-section::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(#0b6b9d 1px, transparent 1px);
    background-size: 22px 22px; opacity: .04; pointer-events: none;
}
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 31px; left: 11%; right: 11%; height: 2px; background: #b9ccd7; }
.date-card { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.date-icon {
    width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--blue); color: #fff;
    border: 8px solid var(--soft);
    font-size: 23px;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 2px #b7ccd7;
}
.date-card time { display: block; color: var(--deep); font-weight: 800; font-size: 16px; text-transform: uppercase; }
.date-card p { color: var(--muted); margin: 8px auto 0; font-size: 13px; max-width: 210px; }
.special-thanks { text-align: center; color: #84919a; font-style: italic; font-size: 13px; margin: 42px 0 0; }

.speakers-section { background: var(--deep); color: #fff; overflow: hidden; position: relative; }
.speakers-section::before {
    content: "ATMAE";
    font-family: Montserrat, sans-serif; font-weight: 800; font-size: 250px;
    position: absolute; right: -50px; top: -95px; line-height: 1;
    color: rgba(255,255,255,.025);
}
.speakers-section .section-heading h2 { color: #fff; }
.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 365px));
    justify-content: center;
    gap: 30px;
}
.speaker-card { background: #fff; color: var(--ink); box-shadow: 0 25px 50px rgba(0,0,0,.17); overflow: hidden; }
.speaker-photo { height: 330px; overflow: hidden; background: #cbdce5; position: relative; }
.speaker-photo::after { content:""; position:absolute; inset:auto 0 0; height: 35%; background: linear-gradient(transparent, rgba(2,33,52,.2)); }
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.speaker-card:hover .speaker-photo img { transform: scale(1.04); }
.speaker-info { padding: 24px 24px 28px; min-height: 170px; border-bottom: 5px solid var(--gold); }
.speaker-info span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.speaker-info h3 { color: var(--deep); font-family: Montserrat, sans-serif; font-size: 21px; margin: 6px 0 8px; }
.speaker-info p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.5; }

.call-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 82px; align-items: center; }
.call-copy .lead, .simple-page .lead { font-size: 17px; color: #334a59; font-weight: 500; }
.call-copy > p { color: var(--muted); }
.call-copy h3 { text-transform: uppercase; letter-spacing: .12em; color: var(--deep); margin-top: 31px; font-size: 13px; }
.topic-list { list-style: none; padding: 0; margin: 19px 0 30px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.topic-list li { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 14px 8px 14px 0; font-size: 12px; line-height: 1.4; }
.topic-list li:nth-child(odd) { border-right: 1px solid var(--line); margin-right: 13px; }
.topic-list b { color: var(--gold); font-size: 18px; font-family: Montserrat, sans-serif; }
.poster-wrap { position: relative; padding: 0 28px 28px 0; }
.poster-wrap img { position: relative; z-index: 2; box-shadow: var(--shadow); }
.poster-accent { position: absolute; inset: 28px 0 0 28px; background: var(--gold); }

.cta-strip { background: url("../images/pexels-kirandeepsingh-20539373.jpg") center 48%/cover fixed; color: #fff; position: relative; }
.cta-strip::before { content:""; position:absolute; inset:0; background: rgba(1,44,68,.87); }
.cta-inner { min-height: 220px; position: relative; display: flex; justify-content: space-between; align-items: center; }
.cta-inner span { color: var(--gold); font-weight: 800; font-size: 11px; letter-spacing: .15em; }
.cta-inner h2 { font-family: Montserrat, sans-serif; font-size: 34px; margin: 4px 0 0; }

.page-hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; padding: 85px 0 72px; }
.page-hero-bg { position:absolute; inset:0; background: linear-gradient(90deg,rgba(2,43,67,.98),rgba(2,55,82,.65)), url("../images/sea-5057487.jpg") center 57%/cover; }
.page-hero .container { position: relative; }
.page-hero span { color: #78d8e7; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.page-hero h1 { font-family: Montserrat, sans-serif; font-size: clamp(36px,5vw,57px); line-height: 1.05; margin: 9px 0 22px; letter-spacing: -.04em; }
.breadcrumbs { display: flex; gap: 9px; align-items: center; font-size: 12px; color: rgba(255,255,255,.65); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs i { color: var(--gold); }
.breadcrumbs b { color: #fff; }

.prose-wide { max-width: 1060px; }
.speaker-detail { display: grid; grid-template-columns: 310px 1fr; gap: 55px; padding: 0 0 65px; margin-bottom: 65px; border-bottom: 1px solid var(--line); }
.speaker-detail:last-child { border: 0; margin-bottom: 0; }
.speaker-detail > img { width: 100%; height: 355px; object-fit: cover; object-position: top; box-shadow: var(--shadow); }
.speaker-detail h2 { font-family: Montserrat, sans-serif; color: var(--deep); font-size: 31px; margin: 2px 0; }
.speaker-detail .institution { color: var(--blue); font-weight: 600; margin-top: 0; }
.speaker-detail h3 { font-size: 19px; line-height: 1.4; margin: 22px 0; }
.speaker-detail h4 { color: var(--deep); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; margin: 20px 0 4px; }
.speaker-detail p { color: var(--muted); }

.committee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member-card { padding: 27px 23px; border: 1px solid var(--line); min-height: 250px; transition: .25s; }
.member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.member-card > span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.member-avatar { width: 55px; height: 55px; margin: 24px 0 18px; display: grid; place-items: center; background: var(--deep); color: #fff; font-family: Montserrat; }
.member-card h3 { color: var(--deep); font-size: 16px; margin: 0 0 7px; }
.member-card p { color: var(--muted); font-size: 13px; margin: 0; }

.venue-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.venue-copy > p { color: var(--muted); }
.address-card { border-left: 4px solid var(--gold); padding: 23px 26px; margin-top: 34px; background: var(--soft); }
.address-card > span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.address-card h3 { margin: 5px 0; color: var(--deep); }
.address-card p { font-size: 13px; color: var(--muted); }
.venue-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.venue-gallery img { width: 100%; height: 190px; object-fit: cover; }
.venue-gallery .large { grid-column: 1 / -1; height: 370px; }

.simple-page { max-width: 880px; }
.simple-page > p { color: var(--muted); max-width: 730px; }
.info-panel { padding: 30px; margin-top: 35px; background: var(--soft); border-left: 4px solid var(--blue); }
.info-panel h3 { color: var(--deep); margin-top: 0; }
.info-panel a { color: var(--blue); font-weight: 700; }
.program-table { margin-top: 35px; border-top: 3px solid var(--blue); }
.program-table div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px; border-bottom: 1px solid var(--line); }
.program-table b { color: var(--blue); }
.sponsor-placeholders { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 35px; }
.sponsor-placeholders span { min-height: 130px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--deep); font-weight: 800; }

.site-footer { background: #052b44; color: rgba(255,255,255,.68); position: relative; padding-top: 70px; }
.footer-shape { position:absolute; inset:0; opacity:.05; background-image: linear-gradient(135deg, transparent 65%, #fff 65%); background-size: 60px 60px; }
.footer-grid { position:relative; display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 80px; padding-bottom: 54px; }
.footer-grid h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 17px; }
.footer-grid a:not(.footer-brand) { display: block; margin: 8px 0; font-size: 13px; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { font-size: 12px; line-height: 1.7; }
.footer-brand { display: inline-block; background: #fff; padding: 7px; }
.footer-brand img { width: 130px; height: 65px; object-fit: contain; }
.copyright { position:relative; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 25px; font-size: 11px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 42px; height: 42px; border: 0; background: var(--gold); color: var(--deep); font-weight: 800; opacity: 0; transform: translateY(20px); pointer-events: none; transition:.2s; }
.to-top.visible { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }

@media (max-width: 1180px) {
    .container { width: min(100% - 36px, 1000px); }
    .ieee-bar { display: none; }
    .navbar { min-height: 76px; }
    .brand img { height: 44px; }
    .brand .ti4sd-logo { height: 48px; }
    .menu-toggle { display: block; margin-left: auto; cursor: pointer; }
    .main-nav {
        display: block;
        position: fixed;
        inset: 76px 0 0 0;
        background: #fff;
        padding: 18px;
        transform: translateX(-100%);
        transition: transform .3s;
        overflow-y: auto;
    }
    .main-nav.open { transform: none; }
    .nav-item, .nav-link { display: block; max-width: none; border-bottom: 1px solid var(--line); }
    .nav-item > button, .nav-link { min-height: 52px; width: 100%; justify-content: space-between; padding: 0 10px; font-size: 14px; }
    .nav-item > button::after, .nav-link::after { display:none; }
    .dropdown { position: static; display: none; visibility: visible; opacity: 1; transform:none; box-shadow:none; border:0; padding-left: 16px; }
    .nav-item.expanded .dropdown { display: block; }
    .dropdown a { background: #f5f8fa; }
    .speaker-grid { gap: 15px; }
    .speaker-photo { height: 280px; }
    .committee-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 820px) {
    .container { width: min(100% - 32px, 720px); }
    .section { padding: 68px 0; }
    .hero { min-height: 620px; }
    .hero-overlay { background: linear-gradient(90deg,rgba(3,39,62,.92),rgba(3,52,80,.58)); }
    .hero-kicker { display: block; }
    .hero-kicker b { display: block; margin-top: 3px; }
    .hero h1 { font-size: clamp(39px, 9vw, 58px); }
    .timeline { grid-template-columns: 1fr 1fr; gap: 35px 0; }
    .timeline::before { display:none; }
    .speaker-grid { grid-template-columns: 1fr 1fr; }
    .speaker-card:last-child { grid-column: auto; width: 100%; justify-self: stretch; }
    .call-grid, .venue-grid { grid-template-columns: 1fr; gap: 55px; }
    .poster-wrap { max-width: 520px; margin-inline:auto; }
    .committee-grid { grid-template-columns: 1fr 1fr; }
    .speaker-detail { grid-template-columns: 220px 1fr; gap: 30px; }
    .speaker-detail > img { height: 280px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .navbar { min-height: 68px; }
    .main-nav { inset-top: 68px; }
    .brand { gap: 5px; }
    .brand img { height: 34px; }
    .brand .ti4sd-logo { height: 40px; max-width: 76px; }
    .main-nav { inset: 68px 0 0; }
    .hero { min-height: 590px; }
    .hero-content { padding: 60px 0 85px; }
    .hero h1 { font-size: 40px; }
    .hero-content > p { font-size: 15px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .btn { width: 100%; }
    .timeline, .speaker-grid, .committee-grid, .footer-grid { grid-template-columns: 1fr; }
    .speaker-card:last-child { grid-column: auto; width: 100%; }
    .speaker-photo { height: 340px; }
    .text-link { position: static; display: inline-block; margin-top: 10px; }
    .topic-list { grid-template-columns: 1fr; }
    .topic-list li:nth-child(odd) { border-right: 0; margin-right:0; }
    .cta-inner { min-height: 270px; flex-direction: column; align-items:flex-start; justify-content:center; gap:22px; }
    .cta-inner h2 { font-size: 29px; }
    .speaker-detail { grid-template-columns: 1fr; }
    .speaker-detail > img { width: min(100%, 320px); height: 360px; }
    .venue-gallery .large { height: 260px; }
    .venue-gallery img { height: 130px; }
    .program-table div { grid-template-columns: 75px 1fr; }
    .sponsor-placeholders { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
}

/* Faithful TI4SD homepage structure */
.site-header { top: 0; }
.navbar {
    width: 100%;
    max-width: none;
    min-height: 93px;
    padding: 0 26px;
    gap: 0;
}
.brand { gap: 4px; }
.brand img { height: 72px; width: 72px; object-fit: contain; }
.brand img:nth-child(2) { width: 82px; }
.brand .ti4sd-logo { width: 71px; max-width: 71px; height: 72px; }
.main-nav { margin-left: 49px; margin-right: auto; }
.nav-item > button, .nav-link {
    padding: 0 14px;
    font-size: 16px;
    font-weight: 600;
    color: #2f2f32;
}
.nav-link { max-width: none; white-space: nowrap; }
.nav-link .external-link { font-size: 16px; color: #60636a; }

.hero {
    display: block;
    min-height: 753px;
    height: 753px;
    color: #1f1f22;
    background: #fff;
}
.hero-main { position: relative; height: 617px; width: 100%; }
.hero-visual {
    position: absolute;
    inset: 0 auto 0 0;
    width: 58.6%;
    overflow: hidden;
    clip-path: polygon(0 0, 83.3% 0, 100% 100%, 0 100%);
}
.hero-slider, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
    background-position: center center;
    transform: none;
    transition: opacity .55s ease;
}
.hero-slide.active { transform: none; }
.hero-content {
    position: absolute;
    z-index: 3;
    left: 63.2%;
    top: 54px;
    width: min(590px, 31%);
    padding: 0;
    color: #202023;
}
.hero-logo {
    width: 500px;
    height: 340px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 18px;
}
.hero-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 9px; }
.date-badge {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    padding: 6px 15px;
    border: 1.5px solid #202023;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .015em;
}
.hero-meta b { font-size: 16px; letter-spacing: .01em; white-space: nowrap; }
.hero h1 {
    max-width: 590px;
    color: #202023;
    font-family: Inter, Arial, sans-serif;
    font-size: 24px;
    line-height: 1.75;
    letter-spacing: -.02em;
    margin: 0 0 25px;
    text-shadow: none;
}
.hero-contact {
    display: inline-flex;
    height: 38px;
    align-items: center;
    gap: 23px;
    padding: 0 14px 0 17px;
    color: #fff;
    background: #9b2636;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 700;
}
.hero-contact span { font-size: 27px; line-height: 1; font-weight: 300; }
.hero-arrow {
    position: absolute;
    z-index: 7;
    top: 358px;
    width: 38px;
    height: 38px;
    padding: 0 0 3px;
    border: 0;
    border-radius: 50%;
    background: rgba(211,211,211,.86);
    color: #666;
    display: grid;
    place-items: center;
    font-size: 39px;
    font-weight: 300;
    line-height: .8;
    cursor: pointer;
}
.hero-prev { left: 17px; }
.hero-next { left: 58.6%; }
.slider-dots {
    bottom: 12px;
    gap: 7px;
}
.slider-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d9d9d9;
}
.slider-dots button.active { background: #d9d9d9; }
.slider-dots button:nth-child(n+3) { display: none; }

.dates-section {
    background: #982638;
    color: #fff;
    min-height: 457px;
    padding: 55px 0 58px;
}
.dates-section .container { max-width: 1060px; }
.dates-section::before { display: none; }
.dates-section .section-heading { margin-bottom: 32px; }
.dates-section .section-heading h2 {
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.timeline { gap: 16px; }
.timeline::before { display: none; }
.date-card {
    padding: 0;
    background: #fff;
    color: #202023;
    min-height: 198px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}
.date-card > div { padding: 20px; }
.date-card time { color: #982638; font-size: 20px; }
.date-card p { color: #202023; font-weight: 700; font-size: 16px; margin-top: 7px; }

.speakers-section {
    min-height: 840px;
    padding: 165px 0 105px;
    background: #fff;
    color: #202023;
}
.speakers-section::before { display: none; }
.speakers-section .container { max-width: 930px; }
.speakers-section .section-heading { margin-bottom: 50px; }
.speakers-section .section-heading h2 {
    color: #202023;
    font-family: Inter, Arial, sans-serif;
    font-size: 42px;
    letter-spacing: -.03em;
}
.speakers-section .section-heading .eyebrow { color: #202023; }
.speaker-card {
    border-radius: 10px;
    box-shadow: 0 9px 26px rgba(0, 0, 0, .13);
}
.speaker-photo { height: auto; aspect-ratio: 1; }
.speaker-info {
    min-height: 150px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 0;
}
.speaker-info span { display: none; }
.speaker-info h3 {
    color: #202023;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    margin: 0 0 8px;
}
.speaker-info p { max-width: 310px; font-size: 16px; line-height: 1.45; }

.call-section {
    min-height: 850px;
    padding: 103px 0 102px;
    background: #f6f7f8;
    margin-bottom: 70px;
}
.call-section > .container { max-width: 1110px; }
.call-section .section-heading { margin-bottom: 62px; }
.call-section .section-heading h2 {
    color: #202023;
    font-family: Inter, Arial, sans-serif;
    font-size: 42px;
}
.call-section .section-heading .eyebrow { color: #202023; }
.call-grid {
    grid-template-columns: 1.55fr .75fr;
    gap: 95px;
    align-items: start;
}
.call-copy .lead { color: #202023; font-size: 17px; font-weight: 400; }
.call-copy > p { color: #202023; font-size: 17px; }
.call-copy h3 { color: #202023; font-size: 19px; letter-spacing: 0; }
.topic-list { display: block; border: 0; margin: 14px 0 30px; }
.topic-list li,
.topic-list li:nth-child(odd) {
    display: list-item;
    list-style: disc;
    border: 0;
    margin: 0 0 0 18px;
    padding: 5px 0;
    font-size: 16px;
}
.topic-list b { display: none; }
.poster-wrap { padding: 0; }
.poster-wrap img { max-height: 485px; width: auto; margin: 0 auto; box-shadow: 0 12px 26px rgba(0,0,0,.17); }
.poster-accent { display: none; }
.call-copy .btn { min-height: 38px; width: auto; padding: 7px 15px; background: #982638; border-color: #982638; border-radius: 6px; font-size: 12px; }

.site-footer {
    padding: 0;
    min-height: 84px;
    background: #982638;
    color: #fff;
    text-align: center;
}
.footer-links {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    font-size: 14px;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.copyright {
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,.22);
    font-size: 13px;
    background: #86212f;
}

@media (max-width: 1180px) {
    .navbar { min-height: 78px; padding: 0 18px; }
    .brand img { height: 48px; width: 58px; }
    .brand img:nth-child(2) { width: 65px; }
    .brand .ti4sd-logo { width: 63px; height: 48px; max-width: 63px; }
    .main-nav {
        margin: 0;
        inset: 78px 0 0;
    }
    .hero { height: auto; min-height: 0; }
    .hero-main { height: auto; display: flex; flex-direction: column; }
    .hero-visual {
        position: relative;
        width: 100%;
        height: min(62vw, 510px);
        clip-path: none;
    }
    .hero-content {
        position: relative;
        left: auto;
        top: auto;
        width: min(100% - 36px, 600px);
        margin: 0 auto;
        padding: 28px 0 46px;
    }
    .hero-logo { height: auto; max-height: 280px; margin: 0 auto 15px; }
    .hero-arrow { top: min(31vw, 255px); transform: translateY(-50%); }
    .hero-next { left: auto; right: 17px; }
    .slider-dots { bottom: 15px; }
    .dates-section { padding-top: 48px; }
    .speakers-section { min-height: 0; padding: 85px 0; }
    .call-section { min-height: 0; }
    .call-section { margin-bottom: 45px; }
}

@media (max-width: 560px) {
    .navbar { min-height: 68px; padding: 0 10px; }
    .brand { gap: 3px; }
    .brand img { height: 38px; width: 45px; }
    .brand img:nth-child(2) { width: 49px; }
    .brand .ti4sd-logo { width: 48px; height: 38px; max-width: 48px; }
    .main-nav { inset: 68px 0 0; }
    .hero-visual { height: 68vw; min-height: 270px; }
    .hero-content { padding-top: 15px; }
    .hero-logo { max-height: 220px; }
    .hero-meta { flex-wrap: wrap; gap: 8px 12px; }
    .date-badge, .hero-meta b { font-size: 12px; }
    .date-badge { min-height: 34px; }
    .hero h1 { font-size: 18px; line-height: 1.55; margin-bottom: 18px; }
    .hero-arrow { top: 34vw; }
    .dates-section .section-heading h2 { font-size: 34px; }
    .dates-section { min-height: 0; }
    .date-card { min-height: 150px; }
    .speakers-section { padding: 70px 0; }
    .speaker-info { min-height: 112px; }
    .call-section { padding: 70px 0; }
    .call-section { margin-bottom: 30px; }
    .call-grid { gap: 48px; }
    .footer-links { gap: 20px; }
}

/* Internal pages from the TI4SD layout */
.page-hero {
    height: 188px;
    padding: 0;
    display: flex;
    align-items: center;
    background: #982638;
    color: #fff;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, transparent 0 28px, rgba(255,255,255,.025) 28px 43px);
    clip-path: polygon(62% 0, 100% 0, 100% 100%, 53% 100%);
}
.page-hero .container {
    width: min(1098px, calc(100% - 40px));
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}
.page-hero h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-family: Montserrat, Inter, sans-serif;
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -.035em;
    transform: translateY(-5px);
}
.page-hero .page-hero-ghost {
    position: absolute;
    left: -170px;
    top: 113px;
    color: rgba(255,255,255,.055);
    font-family: Montserrat, Inter, sans-serif;
    font-size: 66px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.035em;
    text-transform: none;
    white-space: nowrap;
}
.inner-section { padding: 54px 0 65px; }
.inner-container { width: calc(100% - 112px); max-width: none; }
.inner-section h2, .inner-section h3, .inner-section h4 { font-family: Montserrat, Inter, sans-serif; }

.committee-section { padding-top: 55px; }
.committee-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.member-card {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 16px rgba(0,0,0,.12);
}
.member-card:hover { transform: none; border-color: transparent; box-shadow: 0 9px 22px rgba(0,0,0,.15); }
.member-card > img { width: 100%; height: 252px; object-fit: cover; object-position: top center; }
.member-info {
    min-height: 165px;
    padding: 18px 15px;
    text-align: center;
    background: repeating-linear-gradient(135deg,#fff 0 25px,#fafafa 25px 38px);
}
.member-card .member-info > span {
    display: block;
    min-height: 36px;
    color: #982638;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: uppercase;
}
.member-card h3 { margin: 5px 0 7px; color: #303034; font-size: 19px; line-height: 1.35; text-transform: none; }
.member-card p { margin: 0; color: #757579; font-size: 16px; line-height: 1.4; }

.committee-tables { display: grid; gap: 42px; }
.committee-table-section {
    padding: 28px 30px 32px;
    border: 1px solid #e4e7e9;
    border-radius: 14px;
    background: #fafafa;
}
.committee-table-section h2 {
    margin: 0 0 20px;
    color: #982638;
    font-size: 28px;
}
.committee-table-wrap { overflow-x: auto; }
.committee-data-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    color: #173f68;
    font-size: 16px;
    line-height: 1.45;
}
.committee-data-table th,
.committee-data-table td {
    padding: 9px 12px;
    border: 1px solid #e2e5e8;
    text-align: left;
    vertical-align: top;
}
.committee-data-table th {
    background: #f2f3f4;
    color: #07365f;
    font-family: Montserrat, Inter, sans-serif;
    font-size: 17px;
    font-weight: 800;
}
.committee-data-table tbody tr:nth-child(even) { background: #fff; }
.committee-data-table th:first-child,
.committee-data-table td:first-child { width: 58px; }
.committee-data-table th:nth-child(2) { width: 28%; }
.committee-data-table th:nth-child(3) { width: 44%; }
.committee-data-table th:nth-child(4) { width: 22%; }
.author-checklist-table th:nth-child(2) { width: auto; }
.author-checklist-table th:nth-child(3),
.author-checklist-table td:nth-child(3) { width: 82px; text-align: center; }

.speaker-page { padding-top: 54px; }
.speaker-detail {
    display: grid;
    grid-template-columns: 252px 1fr;
    gap: 28px;
    padding: 0;
    margin: 0 0 100px;
    border: 0;
    align-items: start;
}
.speaker-bio-card {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 16px rgba(0,0,0,.12);
}
.speaker-bio-card > img {
    width: 100%;
    height: 252px;
    object-fit: cover;
    object-position: top;
}
.speaker-bio-card > div {
    min-height: 132px;
    padding: 19px 17px;
    text-align: center;
    background: repeating-linear-gradient(135deg,#fff 0 25px,#fafafa 25px 38px);
}
.speaker-bio-card h2 { color: #303034; font-size: 20px; margin: 0 0 8px; }
.speaker-bio-card p { color: #777; font-size: 16px; line-height: 1.4; margin: 0; }
.speaker-article > h3 {
    margin: 0 0 28px;
    padding: 14px 15px;
    border-radius: 9px;
    background: #982638;
    color: #fff;
    font-size: 25px;
    line-height: 1.4;
}
.speaker-article h4 { margin: 0 0 4px; color: #242426; font-size: 17px; }
.speaker-article p { margin: 0 0 10px; color: #252528; font-size: 18px; line-height: 1.65; }

.program-document { width: 100%; background: #fff; }
.program-document iframe { display: block; width: 100%; height: 740px; border: 0; }

.venue-page { padding-top: 58px; }
.venue-row { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: start; }
.venue-gallery { display: block; }
.venue-gallery img { width: 100%; height: auto; margin: 0 0 20px; object-fit: contain; }
.venue-copy h2, .reach-copy h2 { color: #252528; font-size: 22px; line-height: 1.45; margin: 0; }
.venue-copy p, .reach-copy p { color: #333; font-size: 17px; line-height: 1.7; text-align: justify; }
.red-line { width: 75px; height: 3px; margin: 15px 0 22px; background: #982638; }
.venue-title { text-align: center; padding: 48px 0 36px; }
.venue-title span, .reach-copy > span { color: #982638; font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.venue-title h2 { margin: 3px 0; color: #252528; font-size: 29px; }
.venue-title .red-line { margin: 14px auto; }
.reach-row { grid-template-columns: 1.2fr .8fr; align-items: center; }
.reach-row iframe { width: 100%; height: 400px; border: 0; }

.instructions-page { background: #fff; }
.instruction-block {
    display: grid;
    grid-template-columns: 1.45fr .55fr;
    gap: 60px;
    padding: 25px 0 55px;
    border-bottom: 1px solid #e4e4e4;
}
.instruction-block.alt { display: block; }
.instruction-block > img { width: 100%; max-height: 440px; object-fit: contain; }
.instructions-page h2, .publication-page h2 { color: #982638; font-size: 30px; margin: 0 0 18px; }
.instructions-page p, .instructions-page li { font-size: 17px; line-height: 1.7; }
.instructions-page a, .publication-page a { color: #982638; font-weight: 700; }
.submission-links { columns: 2; }
.instruction-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-top: 48px; }
.clone-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 7px 14px;
    border-radius: 6px;
    background: #982638;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
}

.publication-page { min-height: 600px; }
.publication-intro { max-width: none; font-size: 18px; line-height: 1.7; }
.index-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin: 42px 0; }
.index-grid > div { height: 100px; padding: 15px; display: grid; place-items: center; border: 1px solid #e5e5e5; border-radius: 8px; }
.index-grid img { max-height: 62px; max-width: 160px; }
.editors { margin-top: 55px; border-left: 4px solid #982638; padding: 10px 22px; }
.editors h2 { margin: 0 0 5px; font-size: 22px; }
.editors p { margin: 0; }

.sponsor-page p { font-size: 18px; line-height: 1.55; text-align: left; }
.sponsor-list-page p { font-size: 17px; line-height: 1.7; text-align: justify; }
.sponsor-intro, .sponsor-package { display: grid; grid-template-columns: 1.3fr .7fr; gap: 55px; align-items: center; margin-bottom: 55px; }
.sponsor-intro img, .sponsor-package img { width: 100%; max-height: 520px; object-fit: contain; }
.sponsor-package { grid-template-columns: .7fr 1.3fr; }
.sponsor-package h3 { color: #982638; }
.sponsor-package a { color: #982638; font-weight: 700; }
.sponsor-vertical { width: 100%; max-width: none; margin: 0; }
.sponsor-copy p { margin: 0 0 27px; }
.sponsor-benefits { margin: 28px 0 44px; }
.sponsor-benefits img { display: block; width: 100%; height: auto; }
.sponsor-contact { padding: 22px 26px; border-left: 4px solid #982638; background: #f7f7f7; }
.sponsor-contact h3 { margin: 0 0 8px; color: #982638; }
.sponsor-contact p { margin: 0; }
.sponsor-contact a { color: #982638; font-weight: 700; }

.sponsor-level { margin: 10px 0 35px; color: #982638; font-size: 34px; text-align: center; }
.sponsor-entry {
    display: grid;
    grid-template-columns: 32% 1fr;
    gap: 45px;
    padding: 0 0 55px;
    margin: 0 0 55px;
    border-bottom: 1px solid #e0e0e0;
}
.sponsor-entry aside { min-height: 170px; padding: 20px; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: 0 7px 18px rgba(0,0,0,.11); }
.sponsor-entry aside img { max-height: 150px; width: 100%; object-fit: contain; }
.sponsor-entry h3 { margin: 0 0 12px; color: #303034; font-size: 23px; }

@media (min-width: 1181px) {
    .nav-item > button::after, .nav-link::after { display: none; }
    .nav-item > button:hover, .nav-link:hover { font-weight: 800; }
    .nav-item.current > button { font-weight: 800; }
    .has-menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 19px;
    }
    .dropdown {
        top: calc(100% + 15px);
        width: 224px;
        min-width: 224px;
        border-top: 4px solid #d6d6d6;
        transform: scale(.95);
        transform-origin: top;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    }
    .dropdown::after {
        content: "";
        position: absolute;
        left: 25%;
        bottom: 100%;
        border: 15px solid transparent;
        border-bottom-color: #d6d6d6;
    }
    .has-menu:hover .dropdown, .has-menu:focus-within .dropdown { transform: scale(1); }
    .dropdown a { position: relative; z-index: 1; padding: 12px 16px; font-size: 15px; }
    .dropdown a:hover { padding-left: 16px; background: #f1f1f1; color: #202023; }
    .dropdown a.active { background: #982638; color: #fff; }
}

@media (max-width: 900px) {
    .inner-container { width: calc(100% - 48px); }
    .committee-grid { grid-template-columns: repeat(2,1fr); }
    .speaker-detail { grid-template-columns: 220px 1fr; }
    .venue-row, .reach-row, .instruction-block, .sponsor-intro, .sponsor-package, .sponsor-entry { grid-template-columns: 1fr; }
    .index-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
    .inner-container { width: calc(100% - 32px); }
    .page-hero { height: 145px; }
    .page-hero h1 { font-size: 35px; }
    .page-hero .page-hero-ghost { font-size: 45px; top: 70px; }
    .committee-grid { grid-template-columns: 1fr; }
    .speaker-detail { grid-template-columns: 1fr; gap: 22px; }
    .speaker-bio-card { max-width: 280px; }
    .speaker-article > h3 { font-size: 18px; }
    .speaker-article p { font-size: 14px; }
    .instruction-columns { grid-template-columns: 1fr; }
    .submission-links { columns: 1; }
    .index-grid { grid-template-columns: 1fr; }
    .committee-table-section { padding: 22px 16px 24px; }
    .committee-table-section h2 { font-size: 21px; }
    .sponsor-page p { font-size: 16px; line-height: 1.65; }
}
