/* =========================================================
   FIRST DRAFT — shared stylesheet
   An independent student magazine, AUBG.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg:        #fdfdfc;
  --ink:       #141311;
  --ink-soft:  #5a5751;
  --ink-faint: #928d84;
  --rule:      #e6e2d8;
  --placeholder: #edeae2;
  --placeholder-ink: #b7b1a4;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --measure: 82ch;
  --side-pad: clamp(20px, 5vw, 64px);
  --header-h: 104px;
}

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

html{ background: var(--bg); }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection{ background: var(--ink); color: var(--bg); }

:focus-visible{
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

.wrap{
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- header ---------- */
.site-header{
  position: relative;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap{
  min-height: var(--header-h);
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}

.logo .logo-mark{
  height: 132px;
  width: auto;
  display: block;
}

.logo-statement{
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: normal;
  max-width: 330px;
  line-height: 1.4;
}

.statement-line{ font-size: 15px; }

.main-nav{
  display: flex;
  gap: clamp(18px, 3vw, 36px);
}

.main-nav a{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
}

.main-nav a[aria-current="page"]::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
}

.nav-toggle{
  display: none;
  width: 28px; height: 20px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px; background: var(--ink);
}
.nav-toggle span{ top: 9px; }
.nav-toggle span::before{ top: -8px; }
.nav-toggle span::after{ top: 8px; }

@media (max-width: 720px){
  .nav-toggle{ display: block; }
  .logo{ gap: 14px; }
  .logo .logo-mark{ height: 84px; }
  .logo-statement{ max-width: 150px; }
  .statement-line{ font-size: 12px; }
  .main-nav{
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    gap: 0;
    padding: 8px var(--side-pad) 20px;
  }
  .main-nav.is-open{ display: flex; }
  .main-nav a{ padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .main-nav a:last-child{ border-bottom: none; }
}

/* ---------- footer ---------- */
.site-footer{
  border-top: 1px solid var(--rule);
  margin-top: clamp(64px, 10vw, 120px);
  padding: 40px 0 56px;
}
.site-footer .wrap{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  align-items: center;
}
.site-footer .foot-mark{
  height: 40px;
  width: auto;
  display: block;
}
.site-footer .foot-meta{
  font-size: 13px;
  color: var(--ink-faint);
}
.site-footer .foot-links{
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- placeholder image blocks ----------
   Swap these for real <img> tags — kept as labeled
   blocks so the layout is easy to preview and edit. */
.ph{
  background: var(--placeholder);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.ph::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent, transparent 11px, rgba(20,19,17,0.035) 11px, rgba(20,19,17,0.035) 12px);
}
.ph span{
  position: relative;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--placeholder-ink);
  font-weight: 600;
}
.ph.landscape{ aspect-ratio: 3/2; }
.ph.portrait{ aspect-ratio: 3/4; }
.ph.square{ aspect-ratio: 1/1; }
.ph.wide{ aspect-ratio: 16/7; }
.ph.cover{ aspect-ratio: 210 / 297; }

/* ---------- real photo blocks (same aspect ratios as .ph, once an image is set) ---------- */
.ph-image{
  position: relative;
  overflow: hidden;
}
.ph-image img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-image.landscape{ aspect-ratio: 3/2; }
.ph-image.portrait{ aspect-ratio: 3/4; }
.ph-image.square{ aspect-ratio: 1/1; }
.ph-image.wide{ aspect-ratio: 16/7; }
.ph-image.cover{ aspect-ratio: 210 / 297; }

/* =========================================================
   HOME
   ========================================================= */

.hero-story{
  padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--rule);
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-text .eyebrow{ margin-bottom: 14px; }

.hero-text h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.deck{
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 20px;
}

.byline{
  font-size: 13px;
  color: var(--ink-faint);
}
.byline strong{ color: var(--ink-soft); font-weight: 600; }

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

/* recent stories on home */
.recent-section{
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--rule);
}

.section-heading{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.section-heading .search-wrap{
  margin-top: 0;
  flex: 0 1 360px;
}

.section-heading h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
}

.recent-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 44px);
}

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

.story-card h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  margin: 14px 0 8px;
}

.story-card .meta{
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* in print preview */
.print-preview{
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}

.print-preview-grid{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.print-preview .ph.cover,
.print-preview .ph-image.cover{ width: 200px; }

.print-preview h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 8px;
}

.print-preview p{
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 0 16px;
}

.text-link{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  display: inline-block;
}

@media (max-width: 600px){
  .print-preview-grid{ grid-template-columns: 1fr; }
  .print-preview .ph.cover,
  .print-preview .ph-image.cover{ width: 140px; }
}

/* =========================================================
   STORIES (archive grid)
   ========================================================= */

.page-header{
  padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 4vw, 36px);
  border-bottom: 1px solid var(--rule);
}
.page-header h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
}
.page-header .lede{
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

.search-wrap{
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-top: 20px;
}

.search-icon{
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  pointer-events: none;
}

.search-input{
  display: block;
  width: 100%;
  padding: 10px 14px 10px 36px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 2px;
  -webkit-appearance: none;
  appearance: none;
}
.search-input::placeholder{ color: var(--ink-faint); }
.search-input:focus-visible{ outline: 2px solid var(--ink); outline-offset: 2px; }

.stories-grid #search-empty,
.recent-grid #search-empty{
  grid-column: 1 / -1;
  padding: 20px 0;
}

.filter-row{
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.filter-row a{ color: var(--ink-faint); }
.filter-row a[aria-current="true"]{ color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

.stories-grid{
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(64px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px);
}

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

/* =========================================================
   ARTICLE PAGE
   ========================================================= */

.article-head{
  padding-top: clamp(32px, 5vw, 52px);
  padding-bottom: clamp(28px, 4vw, 40px);
  text-align: left;
}
.article-head .meta-row{
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.article-head .meta-row .dot{ color: var(--ink-faint); }
.article-head .meta-row span{ font-size: 12px; color: var(--ink-faint); letter-spacing: 0.04em; }

.article-head h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  max-width: 22ch;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.article-head .deck{ font-size: 19px; margin-bottom: 22px; }

.article-head .byline{ font-size: 13px; }
.article-head .byline strong{ color: var(--ink); }

.article-hero{
  margin-bottom: clamp(36px, 6vw, 64px);
}
.article-hero .ph,
.article-hero .ph-image{ aspect-ratio: 16/9; }
.article-hero figcaption{
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 10px;
  max-width: var(--measure);
}

.article-body{
  max-width: var(--measure);
  margin: 0 auto;
  padding-bottom: clamp(64px, 8vw, 100px);
}
.article-body > .bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.article-body p{
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 26px;
  color: var(--ink);
}

.article-body h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 27px;
  margin: 48px 0 20px;
}

.article-body figure{ margin: clamp(36px, 5vw, 56px) 0; }
.article-body figcaption{
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 10px;
}

.article-body .inline-float{
  margin-top: 6px;
  margin-bottom: 6px;
}
.inline-float img{ display: block; width: 100%; }
.inline-float figcaption{ font-size: 12px; }
.article-body .inline-float-left{
  float: left;
  width: 38%;
  margin-right: 24px;
}
.article-body .inline-float-right{
  float: right;
  width: 38%;
  margin-left: 24px;
}
@media (max-width: 560px){
  .article-body .inline-float-left,
  .article-body .inline-float-right{
    float: none;
    width: 60%;
    margin: 0 auto 20px;
  }
}

.two-up{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px){
  .two-up{ grid-template-columns: 1fr; }
}

.pull-quote{
  position: relative;
  margin: clamp(44px, 6vw, 72px) auto;
  max-width: 46ch;
  text-align: left;
  padding-left: 8px;
}
.pull-quote::before{
  content: "\201C";
  font-family: var(--font-display);
  font-style: italic;
  font-size: 90px;
  line-height: 0;
  position: absolute;
  left: -46px;
  top: 34px;
  color: var(--rule);
}
.pull-quote p{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 640px){
  .pull-quote::before{ left: -8px; top: -30px; }
}

.divider{
  border: none;
  border-top: 1px solid var(--rule);
  margin: clamp(44px, 6vw, 72px) 0;
  width: 40px;
}

.embed{
  aspect-ratio: 16/9;
  background: var(--placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
}
.embed span{ font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--placeholder-ink); }

/* ---------- author card, bottom of article ---------- */
.author-card{
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--rule);
  margin-top: clamp(24px, 4vw, 40px);
}
.author-card .ph,
.author-card .ph-image{ width: 96px; }
.author-card .eyebrow{ margin-bottom: 2px; }
.author-card h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin: 4px 0 6px;
}
.author-card p{ color: var(--ink-soft); font-size: 14px; margin: 0; max-width: 50ch; }
@media (max-width: 480px){
  .author-card{ grid-template-columns: 72px 1fr; gap: 16px; }
  .author-card .ph, .author-card .ph-image{ width: 72px; }
}

/* =========================================================
   PRINT — tight gallery grid
   ========================================================= */

.issues-list{
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(80px, 10vw, 120px);
}

.issue-grid{
  display: grid;
  grid-template-columns: repeat(4, 210px);
  gap: 40px 48px;
  justify-content: start;
}

.issue-tile{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.issue-tile .ph.cover,
.issue-tile .ph-image.cover{
  position: relative;
  margin: 0 0 12px;
  max-width: 210px;
  width: 100%;
}
/* torn-corner signature detail on covers */
.issue-tile .ph.cover::after,
.issue-tile .ph-image.cover::after{
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 22px; height: 22px;
  background: var(--bg);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  box-shadow: -1px 1px 2px rgba(20,19,17,0.06);
}

.issue-tile .eyebrow{ margin-bottom: 5px; font-size: 11px; }
.issue-tile h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 6px;
  max-width: 210px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.issue-tile p{
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.45;
  margin: 0 0 10px;
  max-width: 210px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.issue-tile .tile-links{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}

.download-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
}
.download-link .arrow{ font-size: 13px; transform: translateY(1px); }

.issue-tile .text-link{ font-size: 12px; }

@media (max-width: 1000px){
  .issue-grid{ grid-template-columns: repeat(2, 210px); }
}
@media (max-width: 560px){
  .issue-grid{ grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 26px 14px; }
}

/* =========================================================
   INDIVIDUAL ISSUE PAGE
   ========================================================= */

.issue-head{
  padding-top: clamp(36px, 6vw, 64px);
  padding-bottom: clamp(36px, 6vw, 64px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.issue-head h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin: 12px 0 16px;
}
.issue-head p{ color: var(--ink-soft); max-width: 48ch; margin: 0 0 22px; }

@media (max-width: 720px){
  .issue-head{ grid-template-columns: 1fr; }
  .issue-head .ph.cover{ width: 60%; }
}

.spread-gallery{
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}
.spread-gallery .full{ width: 100%; }
.spread-gallery .full .ph{ aspect-ratio: 16/10; }
.spread-gallery .pair{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px){
  .spread-gallery .pair{ grid-template-columns: 1fr; }
}

.issue-download{
  padding: clamp(40px, 6vw, 64px) 0 clamp(72px, 9vw, 100px);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.issue-download .download-link{ font-size: 14px; }

/* =========================================================
   AUTHOR PAGE
   ========================================================= */

.author-head{
  padding-top: clamp(36px, 6vw, 64px);
  padding-bottom: clamp(36px, 6vw, 64px);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.author-head h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin: 8px 0 12px;
}
.author-head p{ color: var(--ink-soft); max-width: 48ch; margin: 0; }
@media (max-width: 720px){
  .author-head{ grid-template-columns: 1fr; }
  .author-head .ph.square, .author-head .ph-image.square{ width: 50%; }
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section{
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.about-section h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 42px);
  margin: 0 0 24px;
}
.about-section p{
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 62ch;
}

.team-section{
  padding-bottom: clamp(40px, 6vw, 56px);
  border-top: 1px solid var(--rule);
}
.team-list{
  padding-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  max-width: 760px;
}
.team-member .ph,
.team-member .ph-image{
  width: 96px;
  margin-bottom: 14px;
}
.team-member h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 4px;
}
.team-member .role{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.team-member p{
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}
@media (max-width: 560px){
  .team-list{ grid-template-columns: 1fr; }
}

/* ---------- authors gallery ---------- */
.authors-section{
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(64px, 9vw, 100px);
  border-top: 1px solid var(--rule);
  text-align: center;
}
.authors-grid{
  padding-top: clamp(24px, 4vw, 36px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 28px;
}
.author-tile{
  width: 130px;
  text-align: center;
}
.author-tile .ph,
.author-tile .ph-image{ margin: 0 0 10px; }
.author-tile h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  margin: 0;
}
.author-tile .role{
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 4px 0 0;
}
@media (max-width: 720px){
  .authors-grid{ gap: 24px 16px; }
  .author-tile{ width: 110px; }
}

/* =========================================================
   SUBMISSIONS PAGE
   ========================================================= */

.submissions-body{
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(64px, 9vw, 100px);
}
.submissions-body > *{ max-width: 640px; }
.submissions-body{ position: relative; }

/* soft pink lava bubbles that merge and glide with the scroll, beside the whole page */
.submissions-body > .lava{
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--side-pad) + 640px + 56px);
  right: var(--side-pad);
  max-width: none;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.lava-goo{
  position: absolute;
  inset: 0;
  filter: url(#goo);
}
.lava-blob{
  position: absolute;
  border-radius: 50%;
  background: #65002e;
}
@media (min-width: 1000px){
  .submissions-body > .lava{ display: block; }
}

.prose h2,
.submit-form h2,
.submit-thanks h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 14px;
}
.prose h2:not(:first-child){ margin-top: 44px; }
.prose h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin: 32px 0 8px;
}
.prose p,
.prose li{ font-size: 16px; line-height: 1.6; color: var(--ink); }
.prose p{ margin: 0 0 16px; }
.prose ul{ margin: 0 0 16px; padding-left: 20px; }
.prose li{ margin-bottom: 8px; }
.prose a{ border-bottom: 1px solid var(--ink-faint); overflow-wrap: anywhere; }
.prose a:hover{ border-bottom-color: var(--ink); }
.submit-form{
  display: grid;
  gap: 22px;
  margin: clamp(40px, 6vw, 56px) 0 0;
  padding-top: clamp(32px, 5vw, 44px);
  border-top: 1px solid var(--rule);
}
.submit-form[hidden]{ display: none; }
.submit-form h2{ margin: 0; }
.field label,
.field .label{
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input[type="text"],
.field input[type="email"],
.field textarea{
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.field textarea{ min-height: 130px; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible{ outline: 2px solid var(--ink); outline-offset: 2px; }
.field input[type="file"]{ font-family: var(--font-body); font-size: 14px; }
.field .hint{ margin: 6px 0 0; font-size: 13px; color: var(--ink-faint); }

.check{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
}
.check input{ margin-top: 4px; }

.submit-btn{
  justify-self: start;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
}
.submit-btn:hover{ background: var(--ink-soft); }

.hp{ position: absolute; left: -9999px; }

.submit-thanks h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 8px;
}
.submit-thanks p{ color: var(--ink-soft); margin: 0; }
