/* --- Author Card Layout --- */
.author-row {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--bg-alt);
  box-shadow: 0 1px 3px var(--shadow);
}

.author-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.author-row-header h4 {
  margin: 0;
  font-family: var(--f-main);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-mid);
}

.author-row .field-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.author-row .field-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.author-row .author-roles {
  display: flex;
  gap: 2rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--f-main);
  font-size: .85rem;
  color: var(--text-mid);
}

.author-row .author-roles label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: .85rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-mid);
  font-weight: 400;
}

.author-row .author-roles input[type="checkbox"],
.author-row .author-roles input[type="radio"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .author-row .field-3col {
    grid-template-columns: 1fr;
  }

  .author-row .field-2col {
    grid-template-columns: 1fr;
  }

  .author-row .author-roles {
    flex-direction: column;
    gap: 0.75rem;
  }

  .submit-layout {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ================================================================
   SCICCA2026 — Stylesheet
   Aesthetic: Professional and Clean
   Palette: Corporate blues and grays
   Fonts: Inter (sans-serif for all)
   ================================================================ */

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

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

:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --text: #212529;
  --text-mid: #495057;
  --text-dim: #6c757d;
  --primary: #f1552d;
  --primary-lt: #e3f2fd;
  --accent: #f1552d;
  --border: #dee2e6;
  --shadow: rgba(0, 0, 0, 0.1);

  --f-main: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: var(--f-main);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Remove film-grain overlay for professional look */

/* ── HEADER / NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 4px var(--shadow);
}

.header-ornament {
  text-align: center;
  font-size: .6rem;
  letter-spacing: .3em;
  color: var(--primary);
  padding: .35rem 0;
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 2rem;
}

.nav-logo {
  text-decoration: none;
  color: var(--text);
  font-family: var(--f-main);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
}

.logo-year {
  color: var(--primary);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--f-main);
  font-size: .78rem;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-cta {
  font-family: var(--f-main);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--primary);
  color: white;
  padding: .45rem 1.1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s;
}

.nav-cta:hover {
  background: #0056b3;
}

.header-rule {
  height: 2px;
  background: var(--primary);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--f-main);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .75rem 2rem;
  transition: all .2s;
  cursor: pointer;
  border: none;
  border-radius: 4px;
}

.btn-ink {
  background: var(--primary);
  color: white;
}

.btn-ink:hover {
  background: var(--accent);
}

.btn-outline {
  background: white;
  color: var(--primary);
  border: 1px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  border: 1px solid white;
}

.btn-lg {
  padding: .9rem 2.5rem;
  font-size: .85rem;
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, var(--bg-opacity));
  backdrop-filter: blur(var(--bg-blur));
  -webkit-backdrop-filter: blur(var(--bg-blur));
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-bg-text {
  /* Remove decorative background text */
  display: none;
}

.hero-kicker {
  font-family: var(--f-main);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--f-main);
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.75rem;
  letter-spacing: -.01em;
  color: #ffffff;
}

.hero-title em {
  font-style: italic;
  font-weight: 700;
  color: #ffffff;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-certificate {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-frame {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 2rem;
  position: relative;
  z-index: 1;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
}

.hero-frame::before {
  /* Remove decorative border */
  display: none;
}

.hf-caption {
  font-family: var(--f-main);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.hf-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin-bottom: 1rem;
}

.hf-item:last-child {
  margin-bottom: 0;
}

.hf-item span {
  font-family: var(--f-main);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
}

.hf-item strong {
  font-family: var(--f-main);
  font-size: .9rem;
  font-weight: 400;
}

/* ── SECTIONS ── */
.section {
  padding: 6rem 0;
}

.section-parchment {
  background: var(--bg-alt);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-tag {
  font-family: var(--f-main);
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--f-main);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 3rem;
  line-height: 1.1;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}

.about-pull blockquote {
  font-family: var(--f-main);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--accent);
  border-left: 2px solid var(--primary);
  padding-left: 1.5rem;
}

.about-body p {
  color: var(--text-mid);
  margin-bottom: 1.2rem;
  font-size: .95rem;
}

.about-pillars {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.pillar {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  flex: 1;
  min-width: 120px;
}

.pillar-n {
  font-family: var(--f-main);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}

.pillar div {
  font-family: var(--f-main);
  font-size: .78rem;
  line-height: 1.5;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Dates */
.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
}

.date-card {
  border: 1px solid var(--border);
  padding: 1.75rem;
  margin: -1px 0 0 -1px;
  background: transparent;
  transition: background .2s;
  border-radius: 8px;
  box-shadow: 0 2px 4px var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.date-card:has(.dc-image) {
  padding: 0;
}

.dc-image {
  width: 100%;
}

.dc-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
}

.date-card:has(.dc-image) .dc-date,
.date-card:has(.dc-image) .dc-body {
  padding: 1.5rem 1.75rem;
}

.date-card:has(.dc-image) .dc-date {
  padding-bottom: 0.5rem;
}

.date-card:hover {
  background: var(--primary-lt);
}

.date-card-highlight {
  background: var(--primary);
  color: white;
}

.date-card-highlight:hover {
  background: #0056b3;
}

.dc-date {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .75rem;
}

.dc-day {
  font-family: var(--f-main);
  font-size: 1.8rem;
  font-weight: 300;
}

.dc-year {
  font-family: var(--f-main);
  font-size: .72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.date-card-highlight .dc-year {
  color: rgba(255, 255, 255, .5);
}

.dc-body strong {
  display: block;
  font-family: var(--f-main);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .35rem;
}

.dc-body p {
  font-family: var(--f-main);
  font-size: .8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.date-card-highlight .dc-body p {
  color: rgba(255, 255, 255, .6);
}

/* Tracks */
.tracks-list {
  display: flex;
  flex-direction: column;
}

.track-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .2s;
}

.track-row:has(.tr-image) {
  grid-template-columns: 60px 160px 1fr;
}

.tr-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 12px var(--shadow);
}

.track-row:first-child {
  border-top: 1px solid var(--border);
}

.track-row:hover {
  padding-left: .75rem;
}

.tr-letter {
  font-family: var(--f-main);
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
  padding-top: .1rem;
}

.tr-content strong {
  font-family: var(--f-main);
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-bottom: .4rem;
}

.tr-content p {
  font-family: var(--f-main);
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Organizers */
.organizers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.organizer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
  text-align: center;
  transition: transform .2s;
}

.organizer-card:hover {
  transform: translateY(-2px);
}

.org-photo {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.org-placeholder {
  width: 120px;
  height: 120px;
  background: var(--primary-lt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-main);
  font-size: 2rem;
  color: var(--primary);
  font-weight: 600;
}

.org-info {
  width: 100%;
}

.org-name {
  font-family: var(--f-main);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.org-title {
  font-family: var(--f-main);
  font-size: .85rem;
  color: var(--primary);
  line-height: 1.4;
}

/* Technical Committee */
.committee-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.committee-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--f-main);
  font-size: .95rem;
}

.committee-item strong {
  font-weight: 600;
}

.committee-item:last-child {
  border-bottom: none;
}

/* Speakers */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.speaker-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px var(--shadow);
  transition: transform .2s;
}

.speaker-card:hover {
  transform: translateY(-2px);
}

.sp-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.sp-monogram {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-main);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--primary);
  border-radius: 8px;
}

.sp-name {
  font-family: var(--f-main);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .2rem;
}

.sp-inst {
  font-family: var(--f-main);
  font-size: .75rem;
  color: var(--primary);
  margin-bottom: .5rem;
}

.sp-topic {
  font-family: var(--f-main);
  font-size: .78rem;
  color: var(--text-mid);
  font-style: italic;
}

/* CTA band */
.cta-band {
  background: var(--primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.cta-ornament {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 1.5rem;
}

.cta-inner h2 {
  font-family: var(--f-main);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.cta-inner p {
  color: rgba(255, 255, 255, .6);
  font-family: var(--f-main);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn-ink {
  background: white;
  color: var(--primary);
}

.cta-band .btn-ink:hover {
  background: var(--bg);
}

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, .3);
  color: var(--primary);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-alt);
}

.footer-rule {
  height: 2px;
  background: var(--primary);
}

.footer-ornament {
  text-align: center;
  color: var(--primary);
  padding: 1rem 0;
  font-size: .8rem;
  letter-spacing: .2em;
  border-bottom: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-align: center;
}

.footer-name {
  font-family: var(--f-main);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-mid);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-family: var(--f-main);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-mid);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-family: var(--f-main);
  font-size: .72rem;
  color: var(--text-dim);
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--bg-alt);
  border-bottom: 2px solid var(--primary);
  padding: 7rem 0 3rem;
}

.page-header h1 {
  font-family: var(--f-main);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: .75rem;
  line-height: 1.1;
}

.page-header p {
  color: var(--text-mid);
  font-family: var(--f-main);
  font-size: .9rem;
  max-width: 560px;
}

/* ── SUBMIT PAGE ── */
.submit-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
  align-items: start;
}

@media(max-width:860px) {
  .submit-layout {
    grid-template-columns: 1fr;
  }
}

.aside-block {
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px var(--shadow);
}

.aside-block h3 {
  font-family: var(--f-main);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}

.format-item {
  margin-bottom: 1rem;
}

.format-item strong {
  font-family: var(--f-main);
  font-size: .9rem;
  display: block;
  margin-bottom: .25rem;
}

.format-item p {
  font-family: var(--f-main);
  font-size: .78rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.guide-list {
  list-style: none;
}

.guide-list li {
  font-family: var(--f-main);
  font-size: .78rem;
  color: var(--text-mid);
  padding: .35rem 0;
  border-bottom: 1px solid var(--border);
}

.guide-list li::before {
  content: '— ';
  color: var(--primary);
}

.deadline-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-main);
  font-size: .82rem;
}

.deadline-table td {
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}

.deadline-table td strong {
  color: var(--primary);
  font-weight: 700;
  float: right;
}

.aside-contact {
  font-family: var(--f-main);
  font-size: .8rem;
  color: var(--text-mid);
}

.aside-contact a {
  color: var(--primary);
  text-decoration: none;
}

/* Form */
.form-fieldset {
  border: 1px solid var(--border);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px var(--shadow);
}

.form-fieldset legend {
  font-family: var(--f-main);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  padding: 0 .5rem;
  margin-left: -.5rem;
}

.type-row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.type-card {
  flex: 1;
  border: 1px solid var(--border);
  padding: 1.25rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  border-radius: 8px;
}

.type-card input {
  display: none;
}

.type-card.active {
  border-color: var(--primary);
  background: var(--primary-lt);
}

.tc-mark {
  font-size: 1.2rem;
  color: var(--primary);
}

.tc-name {
  font-family: var(--f-main);
  font-weight: 700;
  font-size: .9rem;
}

.tc-desc {
  font-family: var(--f-main);
  font-size: .75rem;
  color: var(--text-dim);
}

.field {
  margin-bottom: 1.25rem;
}

.field-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media(max-width:600px) {
  .field-2col {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-family: var(--f-main);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-mid);
  margin-bottom: .4rem;
}

.field-hint {
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
}

.req {
  color: var(--accent);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .7rem .9rem;
  color: var(--text);
  font-family: var(--f-main);
  font-size: .9rem;
  transition: border-color .2s;
  -webkit-appearance: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
}

.field textarea {
  resize: vertical;
  min-height: 170px;
}

.char-row {
  font-family: var(--f-main);
  font-size: .72rem;
  color: var(--text-dim);
  text-align: right;
  margin-top: .25rem;
}

.file-zone {
  border: 1px dashed var(--border);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color .2s;
  background: var(--bg-alt);
  border-radius: 8px;
}

.file-zone:hover {
  border-color: var(--primary);
}

.file-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}

.fz-prompt {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  align-items: center;
  pointer-events: none;
}

.fz-icon {
  font-size: 1.8rem;
  color: var(--primary);
}

.fz-prompt strong {
  font-family: var(--f-main);
  font-size: .9rem;
}

.fz-prompt span {
  font-family: var(--f-main);
  font-size: .78rem;
  color: var(--text-dim);
}

.fz-chosen {
  font-family: var(--f-main);
  font-size: .82rem;
  color: var(--accent);
  margin-top: .5rem;
}

.form-errors {
  border: 1px solid #dc3545;
  background: rgba(220, 53, 69, .05);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 8px;
}

.form-errors ul {
  list-style: disc inside;
}

.form-errors li {
  font-family: var(--f-main);
  font-size: .82rem;
  color: #721c24;
  line-height: 1.8;
}

.form-foot {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.form-disclaimer {
  font-family: var(--f-main);
  font-size: .75rem;
  color: var(--text-dim);
}

/* Success */
.success-panel {
  border: 1px solid var(--border);
  padding: 3rem;
  text-align: center;
  background: var(--bg-alt);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
}

.sp-flourish {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.success-panel h2 {
  font-family: var(--f-main);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.success-panel p {
  font-family: var(--f-main);
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.sp-id {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: .2em;
  color: var(--rust);
  display: inline-block;
  border: 1px solid var(--border);
  padding: .5rem 2rem;
  margin-bottom: 1rem;
}

.sp-note {
  font-size: .8rem !important;
  font-style: italic;
}

.sp-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ── STATUS PAGE ── */
.status-wrap {
  max-width: 680px;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.sl-label {
  font-family: var(--f-ui);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-dim);
  display: block;
  margin-bottom: .5rem;
}

.sl-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.sl-row input {
  flex: 1;
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: .15em;
  border: 1px solid var(--border);
  padding: .65rem 1rem;
  background: var(--parchment);
  color: var(--ink);
  border-radius: 0;
  min-width: 200px;
}

.sl-row input:focus {
  outline: none;
  border-color: var(--ink);
}

.status-search-box {
  margin-bottom: 2.5rem;
}

.status-card {
  border: 1px solid var(--border);
  background: var(--parchment);
  padding: 2rem;
  position: relative;
}

.status-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--border-lt);
  pointer-events: none;
}

.sc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.sc-ref {
  font-family: var(--f-ui);
  font-size: .75rem;
  color: var(--ink-dim);
}

.sc-badge {
  font-family: var(--f-ui);
  font-size: .72rem;
  font-weight: 500;
  padding: .25rem .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.badge-pending {
  background: rgba(154, 122, 58, .1);
  color: var(--gold);
  border: 1px solid rgba(154, 122, 58, .3);
}

.badge-review {
  background: rgba(90, 78, 60, .08);
  color: var(--ink-mid);
  border: 1px solid var(--border);
}

.badge-accepted {
  background: rgba(42, 80, 50, .08);
  color: #3a6a44;
  border: 1px solid rgba(42, 80, 50, .2);
}

.badge-rejected {
  background: rgba(139, 74, 42, .08);
  color: var(--rust);
  border: 1px solid rgba(139, 74, 42, .2);
}

.sc-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.sc-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(212, 201, 181, .2);
}

.sc-meta div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.sc-meta dt {
  font-family: var(--f-ui);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-dim);
}

.sc-meta dd {
  font-family: var(--f-body);
  font-size: .88rem;
}

.sc-pipeline {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.pip-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.pip-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
}

.pip-label {
  font-family: var(--f-ui);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-dim);
  white-space: nowrap;
}

.pip-step.active .pip-dot {
  background: var(--ink);
  border-color: var(--ink);
}

.pip-step.active .pip-label {
  color: var(--ink);
}

.pip-connector {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 .5rem;
  margin-bottom: 1.5rem;
}

.status-missing {
  text-align: center;
  padding: 3rem 1rem;
}

.sm-ornament {
  font-size: 3rem;
  color: var(--border);
  margin-bottom: 1rem;
}

.status-missing h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: .5rem;
}

.status-missing p {
  font-family: var(--f-ui);
  font-size: .85rem;
  color: var(--ink-mid);
}

.status-missing a {
  color: var(--rust);
}

/* Utility */
.hidden {
  display: none !important;
}

@media(max-width:768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    display: none;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .speakers-grid {
    grid-template-columns: 1fr; /* Change to single column on mobile */
    gap: 1.5rem;
  }

  .speaker-card {
    flex-direction: column; /* Stack image and text vertically */
    text-align: center;
  }

  .sp-photo,
  .sp-monogram {
    align-self: center; /* Center the image/monogram */
    margin-bottom: 1rem;
  }
  
  .organizer-card {
    padding: 1.5rem; /* Adjust padding for mobile */
  }

  .track-row,
  .track-row:has(.tr-image) {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tr-letter {
    font-size: 2rem;
  }

  .nav-left {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }
  
  /* Mobile adjustments for video section */
  .video-wrapper {
    padding-bottom: 65%; /* Slightly higher aspect ratio for mobile */
  }
  
  .video-caption {
    font-size: .8rem; /* Smaller font on mobile */
  }
}

/* ── SCICCA ADDITIONS ── */

/* Thai subtitle in hero */
.hero-sub-th {
  font-family: var(--f-ui);
  font-size: .82rem;
  color: var(--gold);
  margin-bottom: .75rem;
  font-style: italic;
  line-height: 1.6;
}

/* TBA speakers box */
.tba-box {
  border: 1px dashed var(--border);
  padding: 3rem;
  text-align: center;
  background: rgba(154, 122, 58, .03);
}

.tba-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: .75rem;
}

.tba-box p {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink-mid);
}

/* City & Venue section */
.venue-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

@media(max-width:900px) {
  .venue-layout {
    grid-template-columns: 1fr;
  }
}

.city-image {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.city-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.venue-desc {
  color: var(--ink-mid);
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.venue-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.venue-list li {
  font-family: var(--f-ui);
  font-size: .88rem;
  color: var(--ink-mid);
  padding-left: 1.25rem;
  position: relative;
}

.venue-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.venue-card {
  border: 1px solid var(--border);
  padding: 1.75rem;
  background: var(--parchment);
  margin-bottom: 1rem;
  position: relative;
}

.venue-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--border-lt);
  pointer-events: none;
}

.vc-label {
  font-family: var(--f-ui);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: .5rem;
}

.vc-name {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: .2rem;
}

.vc-addr {
  font-family: var(--f-ui);
  font-size: .8rem;
  color: var(--ink-dim);
  margin-bottom: .75rem;
}

.vc-desc {
  font-family: var(--f-ui);
  font-size: .82rem;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.vc-map iframe {
  display: block;
}

.vc-map-placeholder {
  background: rgba(212, 201, 181, .3);
  border: 1px dashed var(--border);
  padding: 2rem;
  text-align: center;
}

.vc-map-placeholder span {
  font-family: var(--f-ui);
  font-size: .8rem;
  color: var(--ink-dim);
  font-style: italic;
}

.fees-card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: var(--cream);
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border-lt);
  font-family: var(--f-ui);
  font-size: .88rem;
}

.fee-row:last-child {
  border-bottom: none;
}

.fee-row span {
  color: var(--ink-mid);
}

.fee-row strong {
  color: var(--rust);
  font-family: var(--f-body);
}

/* Word count (replaces char count) */
.char-row {
  font-family: var(--f-ui);
  font-size: .72rem;
  color: var(--ink-dim);
  text-align: right;
  margin-top: .25rem;
}

/* Hero logo */
.hero-logo {
  margin-bottom: .5rem;
}

/* Video section */
.video-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9 / 16 = 0.5625) */
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px var(--shadow);
}

.video-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--text-mid);
  font-style: italic;
}

/* Closed Submissions styling */
.closed-panel {
  border: 1px solid var(--border);
  padding: 3rem;
  text-align: center;
  background: var(--bg-alt);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
}

.cp-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.closed-panel h2 {
  font-family: var(--f-main);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.closed-panel p {
  font-family: var(--f-main);
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.cp-note {
  font-size: .8rem !important;
  font-style: italic;
  color: var(--text-dim);
}

.cp-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.nav-cta-closed {
  background: var(--bg-alt);
  color: var(--text-dim) !important;
  border: 1px solid var(--border);
}

.nav-cta-closed:hover {
  background: var(--border);
  color: var(--text) !important;
}

.btn-closed {
  background: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.btn-closed:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}
