/* delia-delions.com: Movable Type. Wooden type case, ink, paper. */

:root {
  --wood: #c9a06a;
  --wood-deep: #b08850;
  --ink: #23201c;
  --paper: #f5f0e4;
  --paper-2: #ece3d0;
  --red: #a63b32;
  --ink-soft: #4a443a;
  --line: rgba(35, 32, 28, 0.22);
  --line-soft: rgba(35, 32, 28, 0.12);
  --display: "Epunda Slab", Georgia, "Times New Roman", serif;
  --text: "Elms Sans", "Helvetica Neue", Arial, sans-serif;
  --shell: 1180px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(35, 32, 28, 0.05) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.68;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--ink);
  text-decoration-color: var(--red);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

::selection {
  background: var(--red);
  color: var(--paper);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 50;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ------------------------------------------------------------- header ---- */

.site-header {
  border-top: 7px solid var(--wood);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  min-height: 78px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.wordmark em {
  font-style: normal;
  color: var(--red);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.main-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.btn {
  display: inline-block;
  font-family: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.85rem 1.35rem;
  line-height: 1.1;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.btn:hover,
.btn:focus-visible {
  color: var(--paper);
  background: var(--red);
  border-color: var(--red);
}

.main-nav a.btn {
  color: var(--paper);
  background: var(--ink);
  border-bottom: 0;
  padding: 0.68rem 0.95rem;
  letter-spacing: 0.08em;
}

.main-nav a.btn:hover,
.main-nav a.btn:focus-visible {
  color: var(--paper);
  background: var(--red);
  border-color: var(--red);
  border-bottom: 0;
}

.btn-lg {
  font-size: 0.86rem;
  padding: 1rem 1.7rem;
}

/* --------------------------------------------------------------- hero ---- */

.hero {
  padding: 26px 0 20px;
}

.type-tray {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 0.75fr 1.5fr 0.75fr;
  gap: 8px;
  width: min(690px, 78vw);
  margin: 0 auto;
  padding: 8px;
  background: var(--wood);
  border: 1px solid #8a6738;
  box-shadow: 0 20px 44px rgba(35, 32, 28, 0.18), inset 0 0 0 1px rgba(245, 240, 228, 0.25);
  aspect-ratio: 1 / 1;
}

.cell {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.9rem);
  line-height: 1;
  user-select: none;
}

.cell-red {
  background: var(--red);
  color: var(--paper);
}

.cell-wood {
  background: var(--wood-deep);
  color: var(--paper);
}

.flip {
  display: inline-block;
  transform: scaleX(-1);
}

.tray-photo {
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.tray-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.hero-copy {
  max-width: 790px;
  margin: 22px auto 0;
  text-align: center;
}

.kicker {
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.7rem);
  margin: 0 0 0.65rem;
}

.hero-lead {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 1.04rem;
  color: var(--ink-soft);
}

.hero-copy .btn {
  margin-top: 0.7rem;
}

.hero-meta {
  margin: 1rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #5c5548;
}

/* ----------------------------------------------------------- sections ---- */

.section {
  padding: 2.3rem 0 0.4rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.55rem;
  margin-bottom: 1.5rem;
}

.section-head .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--red);
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

/* ---------------------------------------------------------- partners ---- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  justify-content: center;
  gap: 14px;
}

.partner-card {
  display: block;
  width: 250px;
  height: 150px;
  padding: 10px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--wood);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.partner-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card:hover,
.partner-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--wood);
}

/* ------------------------------------------------------ quick profile ---- */

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
}

.quick-cell {
  border: 1px solid var(--ink);
  border-top: 5px solid var(--wood);
  background: var(--paper-2);
  padding: 0.95rem 1.15rem 1rem;
}

.quick-cell dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.25rem;
}

.quick-cell dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
}

/* ------------------------------------------------------------- about ---- */

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(1.8rem, 4vw, 3.6rem);
  align-items: start;
}

.about-text p {
  max-width: 62ch;
}

.about-text .drop {
  font-size: 1.08rem;
}

.about-figure {
  margin: 0;
  border: 1px solid var(--ink);
  padding: 9px;
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--wood);
}

.about-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

blockquote {
  margin: 1.6rem 0 0;
  padding: 0.35rem 0 0.35rem 1.15rem;
  border-left: 4px solid var(--red);
  font-family: var(--display);
  font-size: 1.32rem;
  line-height: 1.35;
  color: var(--ink);
}

blockquote p {
  margin: 0;
}

/* ------------------------------------------------------------ career ---- */

.sort-list {
  border-top: 1px solid var(--line);
}

.sort-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.6rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.sort-year {
  justify-self: start;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--paper);
  background: var(--ink);
  padding: 0.38rem 0.6rem;
}

.sort-row:nth-child(3n) .sort-year {
  background: var(--red);
}

.sort-body p {
  margin: 0;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------- gallery ---- */

.plates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plate {
  margin: 0;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(201, 160, 106, 0.55);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plate-ink,
.plate-wood {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  box-shadow: 6px 6px 0 rgba(201, 160, 106, 0.55);
  user-select: none;
}

.plate-ink {
  background: var(--red);
  color: var(--paper);
}

.plate-wood {
  background: var(--wood);
  color: var(--ink);
}

.plate-mono {
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
}

/* ------------------------------------------------------------ social ---- */

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.social-list li {
  border-bottom: 1px solid var(--line-soft);
}

.social-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.95rem 0.2rem;
  text-decoration: none;
}

.social-list .s-platform {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.social-list .s-handle {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  text-align: right;
}

.social-list a:hover .s-handle {
  color: var(--red);
}

/* ------------------------------------------------------------ footer ---- */

.site-footer {
  margin-top: 3.2rem;
  background: var(--ink);
  color: #e8e0cf;
  border-top: 7px solid var(--wood);
  padding: 2.2rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr auto auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand .wordmark {
  color: var(--paper);
  font-size: 1.35rem;
}

.footer-brand p {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #cfc6b2;
  max-width: 34ch;
}

.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.7rem;
  justify-content: center;
}

.footer-langs a {
  color: #e2d9c6;
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
}

.footer-langs a:hover,
.footer-langs a:focus-visible {
  color: var(--wood);
  border-bottom-color: var(--wood);
}

.footer-langs a[aria-current="page"] {
  color: var(--wood);
  border-bottom-color: var(--wood);
}

.footer-right {
  text-align: right;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: #cfc6b2;
  white-space: nowrap;
}

/* ---------------------------------------------------------- subpages ---- */

.page-head {
  padding: 2.4rem 0 1.4rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2.2rem;
}

.page-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--red);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
}

.page-head h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  max-width: 24ch;
}

.page-lede {
  max-width: 66ch;
  margin: 0.9rem 0 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.page-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
}

.bio-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.3rem;
  margin-top: 1.6rem;
}

.bio-section:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.bio-section h2 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  margin-bottom: 0.6rem;
}

.bio-section p {
  max-width: 64ch;
}

.factcase {
  position: sticky;
  top: 1.4rem;
  border: 1px solid var(--ink);
  border-top: 7px solid var(--wood);
  background: var(--paper-2);
  padding: 1.15rem 1.25rem 0.4rem;
}

.factcase h2 {
  font-size: 1.1rem;
  margin: 0 0 0.9rem;
}

.factcase dl {
  margin: 0;
}

.factcase dt {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 0.85rem;
}

.factcase dd {
  margin: 0.1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* timeline on the career page */

.tl {
  border-top: 1px solid var(--line);
}

.tl-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.tl-year {
  justify-self: start;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0.3rem 0.55rem;
  background: var(--wood);
  color: var(--ink);
}

.tl-row p {
  margin: 0;
  color: var(--ink-soft);
}

/* awards */

.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 3vw, 2.8rem);
  margin-top: 2.6rem;
}

.award-col h2 {
  font-size: 1.35rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.4rem;
  margin-bottom: 0.7rem;
}

.award-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.award-col li {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.7rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.award-col .y {
  font-family: var(--display);
  font-weight: 700;
  color: var(--red);
  font-size: 0.9rem;
}

.studio-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.studio-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
}

.studio-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  background: var(--red);
}

.section-sub {
  font-size: 1.35rem;
  margin: 2.6rem 0 0.9rem;
}

.outro {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--ink);
  font-size: 1.04rem;
  max-width: 70ch;
}

/* filmography table */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink);
}

.film-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.film-table th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 0.65rem 0.9rem;
}

.film-table td {
  padding: 0.9rem;
  border-top: 1px solid var(--line-soft);
  vertical-align: top;
  font-size: 0.94rem;
  line-height: 1.5;
}

.film-table td:first-child {
  font-family: var(--display);
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.film-table td:nth-child(2) {
  font-weight: 600;
}

.note-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.note-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 6px;
  height: 6px;
  background: var(--wood-deep);
}

/* faq */

.qa {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 1.1rem;
}

.qa:first-of-type {
  border-top: 0;
}

.qa h2 {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  font-size: clamp(1.15rem, 1.9vw, 1.35rem);
  margin: 0 0 0.5rem;
}

.qa-num {
  flex: none;
  font-size: 0.78rem;
  color: var(--red);
  letter-spacing: 0.06em;
}

.qa p {
  max-width: 76ch;
  color: var(--ink-soft);
  margin: 0 0 0 2.1rem;
}

/* 404 */

.nf {
  padding: 5rem 0 6rem;
  text-align: center;
}

.nf h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 0.7rem;
}

.nf p {
  color: var(--ink-soft);
  margin: 0 auto 1.6rem;
  max-width: 46ch;
}

/* ---------------------------------------------------------- responsive ---- */

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

  .about-figure {
    max-width: 420px;
  }

  .factcase {
    position: static;
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-right {
    grid-column: 1 / -1;
    text-align: left;
  }

  .footer-langs {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .main-nav {
    gap: 0.9rem;
    row-gap: 0.4rem;
  }

  .main-nav a.btn {
    margin-left: auto;
  }

  .type-tray {
    width: min(560px, 92vw);
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-card {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 3;
  }

  .plates {
    grid-template-columns: repeat(2, 1fr);
  }

  .plate-ink,
  .plate-wood {
    min-height: 0;
  }

  .sort-row,
  .tl-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }

  .studio-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .shell {
    padding: 0 18px;
  }

  .hero {
    padding-top: 20px;
  }

  .type-tray {
    grid-template-rows: 0.7fr 1.5fr 0.7fr;
    gap: 6px;
    padding: 6px;
  }

  .cell {
    font-size: 1.05rem;
  }

  .hero-lead,
  .page-lede {
    font-size: 0.98rem;
  }

  .quick-cell dd {
    font-size: 1.08rem;
  }

  .social-list a {
    flex-direction: column;
    gap: 0.15rem;
  }

  .social-list .s-handle {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .qa p {
    margin-left: 0;
  }
}

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