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

body {
  background-color: #171617;
  color: white;
  font-family: 'Cardo', Georgia, serif;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 80px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.loaded {
  opacity: 1;
}

.container {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.photo {
  width: 50%;
  display: block;
  margin: 0 auto 4px;
  aspect-ratio: 3616 / 3600;
  background-color: #171617;
}

.title-img {
  width: 100%;
  display: block;
  margin-bottom: 48px;
  aspect-ratio: 1668 / 379;
  background-color: #171617;
}

.divider {
  position: relative;
  height: 1px;
  margin-bottom: 28px;
}

.divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d4d0c8;
  opacity: 0;
  animation: dot-fade 1.1s ease 2s forwards;
}

.divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #d4d0c8;
  transform: scaleX(0);
  transform-origin: left center;
  animation: line-grow 0.85s cubic-bezier(0.22, 1, 0.36, 1) 2.1s forwards;
}

@keyframes dot-fade {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.divider-deferred::before {
  animation-play-state: paused;
  animation-delay: 0s;
}

.divider-deferred::after {
  animation-play-state: paused;
  animation-delay: 0.1s;
}

.divider-deferred.animate::before,
.divider-deferred.animate::after {
  animation-play-state: running;
}

nav {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  color: #c0bdb8;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: white;
}

/* ── index.html ── */

.content {
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
  color: white;
  text-align: left;
}

.content h2 {
  font-family: 'Cardo', Georgia, serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-style: normal;
  margin-bottom: 24px;
  text-align: center;
}

.content p {
  margin-bottom: 1.2em;
}

.content section {
  margin-bottom: 3em;
}

.content section:last-child {
  margin-bottom: 0;
}

/* ── submissions.html ── */

.blurb {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.75;
  color: white;
  text-align: left;
}

.blurb p {
  margin-bottom: 1.2em;
}

.blurb p:last-child {
  margin-bottom: 0;
}

.blurb ul {
  margin: 0.5em 0 1.2em 1.4em;
  text-align: left;
}

.blurb li {
  margin-bottom: 0.4em;
}

.blurb .meta {
  font-style: normal;
  font-size: 0.9rem;
  color: #c0bdb8;
  margin-top: 2em;
  border-top: 1px solid #3a3838;
  padding-top: 1.4em;
}

.blurb .meta p {
  margin-bottom: 0.5em;
}

/* ── blurb headings ── */

.blurb h3 {
  font-family: 'Cardo', Georgia, serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  text-align: center;
  margin-top: 2em;
  margin-bottom: 12px;
}

.blurb h4 {
  font-family: 'Cardo', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: #c0bdb8;
  text-align: left;
  margin-top: 1.6em;
  margin-bottom: 0.8em;
}

/* ── subtitle ── */

.subtitle {
  font-family: 'Cardo', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: #c0bdb8;
  text-align: center;
  margin-top: -16px;
  margin-bottom: 24px;
}

/* ── social links ── */

.social-links {
  margin-top: 2.5em;
  text-align: center;
}

.social-links a {
  display: inline-block;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 1;
}

.social-links img {
  width: 28px;
  height: 28px;
  /* Tint white SVG to #F78719 */
  filter: invert(58%) sepia(97%) saturate(600%) hue-rotate(1deg) brightness(103%) contrast(97%);
}

/* ── button ── */

.btn {
  display: inline-block;
  margin-top: 1.8em;
  padding: 0.65em 1.6em;
  font-family: 'Cardo', Georgia, serif;
  font-size: 1rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #F78719;
  border: 1px solid #F78719;
  transition: background-color 0.2s, color 0.2s;
}

.btn:hover {
  background-color: #F78719;
  color: #171617;
}

/* ── shared ── */

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
