/* =========================================================================
   The Student Journal of AI and Technology — stylesheet
   Aesthetic: editorial academic press — ivory paper, deep ink navy, brass accent
   ========================================================================= */

:root {
  /* Color */
  --paper:        #F7F5EF;
  --paper-deep:   #EFEBE0;
  --paper-edge:   #E4DFCF;
  --white:        #FFFFFF;
  --ink:          #1C2333;
  --ink-soft:     #4B5164;
  --ink-faint:    #8B8F9C;
  --rule:         #E1DDCE;
  --rule-soft:    #ECE8DB;
  --brass:        #9C6F2E;
  --brass-deep:   #7A5622;
  --brass-soft:   #C9A15E;

  /* Type */
  --font-display: "Newsreader", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Public Sans", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Sizing */
  --measure:      68ch;
  --measure-wide: 1180px;
  --measure-tight:540px;

  /* Rhythm */
  --step-1: 0.5rem;
  --step-2: 1rem;
  --step-3: 1.75rem;
  --step-4: 2.5rem;
  --step-5: 3.5rem;
  --step-6: 5rem;
}

/* ---- Reset & base ------------------------------------------------------- */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

@media (min-width: 1280px) {
  html { font-size: 17px; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(28, 35, 51, 0.03), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(156, 111, 46, 0.035), transparent 50%);
}

main, footer { position: relative; z-index: 1; }
header { position: relative; z-index: 2; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
}

p { margin: 0; }

abbr { text-decoration: none; border-bottom: 1px dotted var(--ink-faint); cursor: help; }

.wrap {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 600px) {
  .wrap { padding: 0 1.15rem; }
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--brass);
}

.eyebrow--faint { color: var(--ink-faint); }

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

hr.rule--hair {
  max-width: var(--measure-wide);
  margin: 0 auto;
}

/* ---- Reveal-on-scroll ---------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 640ms ease, transform 640ms ease;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

/* ---- Masthead / nav ------------------------------------------------------ */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand__mark { width: 32px; height: 32px; flex: none; }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }

.brand__top {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.brand__main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand__main em { font-style: italic; color: var(--brass); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.86rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.nav > a { position: relative; color: var(--ink-soft); padding-bottom: 0.25rem; }
.nav > a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}
.nav > a:hover, .nav > a[aria-current="page"] { color: var(--ink); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }

.nav__group { position: relative; display: inline-flex; align-items: center; }

.nav__trigger {
  text-decoration: none;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0 0 0.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  position: relative;
}
.nav__trigger::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}
.nav__trigger:hover,
.nav__group.is-open .nav__trigger,
.nav__trigger[aria-current="page"] { color: var(--ink); }
.nav__trigger:hover::after,
.nav__group.is-open .nav__trigger::after { transform: scaleX(1); }

.nav__chevron {
  display: inline-block;
  font-size: 0.6em;
  line-height: 1;
  color: var(--brass);
  transition: transform 220ms ease;
  margin-bottom: 0.1em;
}
.nav__group.is-open .nav__chevron { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 0;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--rule);
  display: none;
  z-index: 100;
  box-shadow: 0 14px 34px rgba(28, 35, 51, 0.12);
  padding: 0.35rem 0;
}
.nav__group.is-open .nav__menu { display: block; }

.nav__menu a {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.65rem 1.2rem;
  white-space: nowrap;
  transition: background 150ms, color 150ms;
}
.nav__menu a:hover, .nav__menu a[aria-current="page"] {
  background: var(--paper-deep);
  color: var(--brass-deep);
}

@media (max-width: 720px) {
  .masthead__inner { justify-content: center; text-align: center; }
  .brand { flex-direction: column; gap: 0.35rem; }
  .nav { justify-content: center; gap: 1.2rem 1.4rem; width: 100%; }
  .nav__menu { left: 50%; transform: translateX(-50%); }
}

/* ---- Buttons / CTA -------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--brass); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { border-color: var(--brass); color: var(--brass-deep); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  transition: background 160ms ease, color 160ms ease;
}
.cta:hover { background: var(--brass); }
.cta--secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.cta--secondary:hover { border-color: var(--brass); color: var(--brass-deep); background: transparent; }
.cta__arrow { transition: transform 160ms ease; }
.cta:hover .cta__arrow { transform: translateX(3px); }

/* ---- Hero / cover ---------------------------------------------------------- */

.cover {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.cover__photo-layer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 54%;
  min-width: 360px;
}
.cover__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
  display: block;
  filter: grayscale(0.1) contrast(1.02);
}
.cover__photo-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--paper) 0%, rgba(247,245,239,0.6) 16%, rgba(247,245,239,0.08) 40%, transparent 58%);
}

.cover__label {
  position: absolute;
  z-index: 2;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.9;
}
.cover__label--tl { top: 6%; left: 7%; }
.cover__label--br {
  bottom: 6%; right: 7%; text-align: right;
  color: var(--paper);
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}

.cover__grid { position: relative; z-index: 1; }

.cover__frame { max-width: 46ch; }

.cover__subline { margin-bottom: 1.2rem; }

.cover__title { font-size: clamp(2.1rem, 4.6vw, 3.35rem); line-height: 1.1; margin-bottom: 1.35rem; }
.cover__title em { font-style: italic; color: var(--brass); }

.cover__lede { font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 48ch; }

.cover__terms { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 1.9rem; }
.cover__terms .divider { margin: 0 0.6em; }

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

@media (max-width: 900px) {
  .cover { padding-top: 0; }
  .cover__photo-layer {
    position: relative;
    width: 100%;
    height: 220px;
    margin-bottom: 2rem;
  }
  .cover__photo-layer::before {
    background: linear-gradient(190deg, transparent 45%, var(--paper) 96%);
  }
  .cover__label--tl { top: 6%; left: 5%; }
  .cover__label--br { bottom: auto; top: 6%; right: 5%; color: var(--ink-faint); text-shadow: none; }
}

/* ---- Standards bar --------------------------------------------------------- */

.standards { border-bottom: 1px solid var(--rule); padding: 1.6rem 0; }
.standards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.standard {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.standard svg { flex: none; color: var(--brass); }

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

/* ---- Section scaffolding ---------------------------------------------------- */

.section { padding: var(--step-6) 0; }

.section__header { max-width: 62ch; margin-bottom: var(--step-4); }
.section__header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: none;
}
.section__title { font-size: 1.85rem; margin-top: 0.8rem; }
.section__title em { font-style: italic; color: var(--brass); }
.section__sub { font-size: 0.98rem; line-height: 1.7; color: var(--ink-soft); margin-top: 0.85rem; }

.section__more { font-size: 0.86rem; font-weight: 600; color: var(--brass-deep); }
.section__more:hover { color: var(--brass); }

/* ---- Page header (interior pages) -------------------------------------------- */

.page-header { padding: 3.4rem 0 2.6rem; border-bottom: 1px solid var(--rule); }
.page-header__eyebrow { margin-bottom: 1rem; }
.page-header__title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.page-header__title em { font-style: italic; color: var(--brass); }
.page-header__lede { font-size: 1.02rem; line-height: 1.7; max-width: 58ch; color: var(--ink-soft); }

/* ---- Why / feature cards ------------------------------------------------------ */

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.why-card { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.why-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; color: var(--brass);
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.55rem; font-weight: 600; font-family: var(--font-body); }
.why-card p { font-size: 0.9rem; line-height: 1.65; color: var(--ink-soft); }

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

/* ---- Numbered entries (About-style) --------------------------------------------- */

.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.entry__num { font-family: var(--font-display); font-style: italic; color: var(--brass); font-size: 1.2rem; margin-bottom: 0.6rem; }
.entry__title { font-size: 1.05rem; font-weight: 600; font-family: var(--font-body); color: var(--ink); margin-bottom: 0.6rem; line-height: 1.4; }
.entry__body { font-size: 0.9rem; line-height: 1.65; color: var(--ink-soft); }

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

/* ---- Stats band ------------------------------------------------------------- */

.stats { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 2.2rem 1rem; border-left: 1px solid var(--rule); }
.stat:first-child { border-left: none; }
.stat__num { font-family: var(--font-display); font-size: 2rem; color: var(--ink); font-weight: 500; }
.stat__dash { width: 22px; height: 1px; background: var(--brass); margin: 0.7rem 0; }
.stat__lab { font-size: 0.82rem; color: var(--ink-faint); line-height: 1.55; }
.stat__cite { display: block; font-size: 0.7rem; font-style: italic; color: var(--ink-faint); margin-top: 0.5rem; }

@media (max-width: 900px) { .stats-row { grid-template-columns: 1fr; } .stat { border-left: none; border-top: 1px solid var(--rule); } .stat:first-child { border-top: none; } }

/* ---- Scope / discipline grid -------------------------------------------------- */

.disc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.disc-item { background: var(--paper); padding: 1.5rem 1.3rem; display: flex; flex-direction: column; gap: 0.85rem; }
.disc-item svg { color: var(--ink); }
.disc-item h4 { font-size: 0.92rem; font-weight: 600; color: var(--ink); font-family: var(--font-body); }
.disc-item span { font-size: 0.78rem; color: var(--ink-faint); }

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

/* ---- Purpose / two-column feature -------------------------------------------- */

.purpose { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.purpose-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
.purpose-visual {
  aspect-ratio: 4/5;
  background: var(--paper);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.purpose-visual svg,
.purpose-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.purpose-copy .section__title { font-size: 1.7rem; }

@media (max-width: 900px) { .purpose-grid { grid-template-columns: 1fr; } .purpose-visual { max-width: 320px; } }

/* ---- Latest issue CTA band (dark) --------------------------------------------- */

.issue-band { background: var(--ink); color: var(--paper); }
.issue-band-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.issue-band .eyebrow { color: var(--brass-soft); }
.issue-band h2 { color: var(--paper); font-size: 1.9rem; margin-top: 0.8rem; }
.issue-band p { color: #b9bdc8; font-size: 0.95rem; line-height: 1.7; margin-top: 0.9rem; max-width: 46ch; }
.issue-band .cta--secondary { border-color: #4a5164; color: var(--paper); }
.issue-band .cta--secondary:hover { border-color: var(--brass-soft); color: var(--brass-soft); }
.issue-band .cta { background: var(--brass); color: var(--ink); }
.issue-band .cta:hover { background: var(--brass-soft); }

.issue-cover {
  aspect-ratio: 3/4;
  max-width: 260px;
  justify-self: end;
  background: var(--paper);
  border: 1px solid #333a4d;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.issue-cover svg { width: 100%; height: 100%; }

@media (max-width: 900px) { .issue-band-grid { grid-template-columns: 1fr; } .issue-cover { justify-self: start; max-width: 200px; } }

/* ---- Prose (About / legal body copy) -------------------------------------------- */

.prose p { margin-bottom: 1.1rem; font-size: 0.98rem; line-height: 1.75; }
.prose p:last-child { margin-bottom: 0; }
.prose .lead { font-size: 1.1rem; color: var(--ink); }
.prose em { font-style: italic; color: var(--ink); }
.prose a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--brass); }

/* ---- Editorial board list -------------------------------------------------------- */

.board { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.board__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
.board__role { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-deep); font-weight: 600; margin-bottom: 0.3rem; }
.board__name { font-size: 1.1rem; font-weight: 500; }
.board__credentials { font-size: 0.86rem; color: var(--ink-faint); white-space: nowrap; }
.board__placeholder { font-style: italic; color: var(--ink-faint); }

/* ---- Invite / contact band -------------------------------------------------------- */

.invite { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.invite__inner { max-width: 56ch; }
.invite__title { font-size: 1.9rem; margin-top: 0.9rem; }
.invite__title em { font-style: italic; color: var(--brass); }
.invite__body { font-size: 0.98rem; line-height: 1.7; color: var(--ink-soft); margin: 1rem 0 1.6rem; }
.invite__email { margin-top: 1rem; font-size: 0.9rem; }
.invite__email a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- Pricing tracks (Submit) ----------------------------------------------------- */

.assurance { background: var(--white); border: 1px solid var(--rule); padding: 1rem 1.4rem; }
.assurance__text { font-size: 0.94rem; color: var(--ink); }

.tracks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.track { border: 1px solid var(--rule); background: var(--white); padding: 2rem; }
.track--featured { border-color: var(--ink); position: relative; }
.track__label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-deep); font-weight: 600; margin-bottom: 0.6rem; }
.track__name { font-size: 1.3rem; margin-bottom: 0.9rem; }
.track__price { font-family: var(--font-display); font-size: 2.6rem; color: var(--ink); margin-bottom: 0.3rem; }
.track__price sup { font-size: 1.2rem; top: -1em; }
.track__price-note { font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 1.4rem; }
.track__features { list-style: none; margin: 0; padding: 1.2rem 0 0; border-top: 1px solid var(--rule); font-size: 0.88rem; color: var(--ink-soft); }
.track__features li { padding: 0.5rem 0; padding-left: 1.3rem; position: relative; }
.track__features li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }

@media (max-width: 720px) { .tracks { grid-template-columns: 1fr; } }

/* ---- Requirements definition list -------------------------------------------------- */

.req-list { display: grid; grid-template-columns: 11rem 1fr; gap: 0.9rem 1.5rem; }
.req-list dt { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); padding-top: 0.15rem; }
.req-list dd { margin: 0; font-size: 0.94rem; line-height: 1.6; color: var(--ink-soft); padding-bottom: 0.9rem; border-bottom: 1px solid var(--rule); }
.req-list dd a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 640px) { .req-list { grid-template-columns: 1fr; } .req-list dt { padding-top: 0.9rem; } }

/* ---- Process steps ------------------------------------------------------------------ */

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step__num { font-family: var(--font-display); font-style: italic; color: var(--brass); font-size: 1.2rem; margin-bottom: 0.7rem; }
.step__name { font-size: 1.02rem; font-weight: 600; font-family: var(--font-body); margin-bottom: 0.6rem; }
.step__body { font-size: 0.89rem; line-height: 1.65; color: var(--ink-soft); }

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

/* ---- Form (Submit) -------------------------------------------------------------------- */

.form { max-width: 640px; margin: 0 auto; }
.form__intro { margin-bottom: 1.8rem; padding: 1.1rem 1.3rem; background: var(--white); border: 1px solid var(--rule); }
.form__intro p { font-size: 0.9rem; line-height: 1.6; }
.form__intro a { color: var(--brass-deep); text-decoration: underline; }

.form__field { margin-bottom: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.4rem; }
.form__label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.req { color: var(--brass-deep); }
.form__input, .form__select, .form__textarea {
  width: 100%;
  font: inherit;
  font-size: 0.94rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
}
.form__input:focus, .form__select:focus, .form__textarea:focus { outline: none; border-color: var(--brass); }
.form__textarea { min-height: 120px; resize: vertical; }
.form__hint { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.4rem; }

.form__radios { display: grid; gap: 0.7rem; margin-top: 0.6rem; }
.form__radio { display: flex; align-items: center; gap: 0.7rem; border: 1px solid var(--rule); padding: 0.75rem 1rem; background: var(--white); cursor: pointer; }
.form__radio-name { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.form__radio-meta { display: block; font-size: 0.78rem; color: var(--ink-faint); }

.form__submit-row { border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.form__submit-note { font-size: 0.82rem; color: var(--ink-faint); line-height: 1.6; margin-bottom: 1.1rem; }
.form__submit-note a { color: var(--brass-deep); }
.form button[type="submit"] {
  font: inherit; font-size: 0.92rem; font-weight: 600;
  background: var(--ink); color: var(--paper);
  border: none; padding: 0.85rem 1.8rem; cursor: pointer;
  transition: background 160ms ease;
}
.form button[type="submit"]:hover { background: var(--brass); }

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

/* ---- Papers list (Current Issue / Past Issues / All Papers) --------------------------- */

.filter { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.filter__label { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.filter__input {
  flex: 1; min-width: 220px;
  font: inherit; font-size: 0.94rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--rule);
  background: var(--white);
}
.filter__input:focus { outline: none; border-color: var(--brass); }
.filter__count { font-size: 0.8rem; color: var(--ink-faint); white-space: nowrap; }

.paper-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.paper { border-bottom: 1px solid var(--rule); padding: 1.5rem 0; }
.paper__head { display: flex; gap: 1.5rem; }
.paper__date { flex: none; width: 8rem; font-size: 0.78rem; color: var(--ink-faint); padding-top: 0.2rem; }
.paper__body { flex: 1; }
.paper__title { font-size: 1.08rem; line-height: 1.4; font-weight: 500; margin-bottom: 0.5rem; }
.paper__title a:hover { color: var(--brass-deep); }
.paper__meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.84rem; color: var(--ink-soft); }
.paper__doi a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 2px; }
.paper__abstract-wrap { margin-top: 0.9rem; margin-left: 9.5rem; }
.paper__abstract-toggle {
  font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--brass-deep);
  background: none; border: none; padding: 0; cursor: pointer;
}
.paper__abstract-toggle::after { content: " +"; }
.paper--full.is-open .paper__abstract-toggle::after { content: " −"; }
.paper__abstract { display: none; margin-top: 0.8rem; font-size: 0.9rem; line-height: 1.7; color: var(--ink-soft); max-width: 68ch; }
.paper--full.is-open .paper__abstract { display: block; }

@media (max-width: 640px) {
  .paper__head { flex-direction: column; gap: 0.4rem; }
  .paper__date { width: auto; }
  .paper__abstract-wrap { margin-left: 0; }
}

/* ---- Empty state (no papers yet) ------------------------------------------------------- */

.empty-state {
  border: 1px dashed var(--rule);
  background: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.empty-state p { font-size: 0.94rem; color: var(--ink-soft); max-width: 46ch; margin: 0 auto 1.6rem; line-height: 1.65; }

/* ---- Blog list ------------------------------------------------------------------------- */

.blog-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.blog-list__item { padding: 2rem 0; border-bottom: 1px solid var(--rule); max-width: 68ch; }
.blog-list__date { font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 0.6rem; }
.blog-list__title { font-size: 1.3rem; margin-bottom: 0.7rem; }
.blog-list__title a:hover { color: var(--brass-deep); }
.blog-list__excerpt { font-size: 0.94rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 0.9rem; }
.blog-list__more { font-size: 0.86rem; font-weight: 600; color: var(--brass-deep); }
.blog-list__more:hover { color: var(--brass); }

.blog-post { max-width: 68ch; }
.blog-post .prose h2 { font-size: 1.3rem; margin: 1.8rem 0 0.8rem; }
.blog-post .prose ul, .blog-post .prose ol { padding-left: 1.3rem; margin: 0 0 1.1rem; }
.blog-post .prose li { font-size: 0.98rem; line-height: 1.7; margin-bottom: 0.4rem; }

/* ---- Legal ------------------------------------------------------------------------------ */

.legal { display: flex; flex-direction: column; gap: 3rem; max-width: 70ch; }
.legal article h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.legal article h3 { font-size: 1.02rem; margin: 1.3rem 0 0.5rem; color: var(--ink); }
.legal article h4 { font-size: 0.92rem; margin: 1rem 0 0.4rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 700; }
.legal article p { font-size: 0.94rem; line-height: 1.7; margin-bottom: 0.8rem; }
.legal article ul { padding-left: 1.3rem; margin: 0 0 0.8rem; }
.legal article li { font-size: 0.94rem; line-height: 1.65; margin-bottom: 0.3rem; }
.legal__updated { font-size: 0.82rem; color: var(--ink-faint); font-style: italic; }

/* ---- Footer -------------------------------------------------------------------------------- */

.foot { padding: 2.6rem 0; border-top: 1px solid var(--rule); }
.foot__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.6rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
}
.foot__brand { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 0.5rem; }
.foot__contact a { font-size: 0.88rem; color: var(--ink-soft); }
.foot__contact a:hover { color: var(--brass-deep); }
.foot__issn { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.4rem; }
.foot__nav { display: flex; gap: 1.6rem; font-size: 0.86rem; font-weight: 500; }
.foot__nav a:hover { color: var(--brass-deep); }
.foot__credit { font-size: 0.8rem; color: var(--ink-faint); }
.foot__credit a:hover { color: var(--brass-deep); }

@media (max-width: 640px) {
  .foot__inner { flex-direction: column; }
}

/* ---- Submit page: centered headers ------------------------------------------------------ */
/* Scoped to .submit-page rather than changing .section__header etc. globally, since only
   the Submit page's headers were reported as reading left-heavy on wide screens. */

.submit-page .page-header .wrap { text-align: center; }
.submit-page .page-header__lede { margin-left: auto; margin-right: auto; }
.submit-page .section__header { margin-left: auto; margin-right: auto; text-align: center; }
.submit-page .assurance { text-align: center; }
.submit-page .invite__inner { margin-left: auto; margin-right: auto; text-align: center; }
