/* dillioncarterweb.com · Track Sheet design
   paper #e9e7d8 · ink #20241f · grey #5e6459 · plum #8a3f5e · rule #bcbfa9 */

:root {
  --paper: #e9e7d8;
  --paper-2: #f1efe2;
  --ink: #20241f;
  --grey: #5e6459;
  --plum: #8a3f5e;
  --rule: #bcbfa9;
  --max: 1160px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inria Sans', Georgia, serif;
  font-size: 17px;
  line-height: 1.62;
  font-kerning: normal;
}

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

a { color: var(--ink); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------- header --- */
.site-head {
  border-bottom: 1px solid var(--rule);
}

.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-family: 'Joan', Georgia, serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.main-nav a {
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

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

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

/* buttons: colour set explicitly so .main-nav a cannot win */
.btn {
  display: inline-block;
  background: var(--plum);
  border: 1px solid var(--plum);
  color: var(--paper-2);
  font-family: 'Inria Sans', Georgia, serif;
  font-size: 12.5px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.main-nav a.btn-nav {
  background: var(--plum);
  color: var(--paper-2);
  border-bottom: 1px solid var(--plum);
  padding: 11px 16px;
  margin-left: 4px;
}

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

/* --------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  padding: 26px 0 0;
}

.binding {
  position: absolute;
  top: 116px;
  left: calc((100% - var(--max)) / 2 - 26px);
  width: 12px;
  height: 480px;
  background-image: repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 32px);
  opacity: 0.55;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}

.hero-copy { grid-column: 1 / 7; padding-top: 4px; }

.kicker {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--grey);
}

.hero-title {
  margin: 26px 0 20px;
  font-family: 'Joan', Georgia, serif;
  font-weight: 400;
  font-size: clamp(48px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.005em;
}

.hero-title span { display: block; }

.hero-lead {
  margin: 0 0 28px;
  max-width: 34ch;
  font-size: 18px;
  line-height: 1.6;
}

.hl { color: var(--plum); }

.hero-photo { grid-column: 7 / 13; margin: 0; }

.frame {
  position: relative;
  width: 500px;
  max-width: 100%;
  margin-left: auto;
}

.frame img {
  display: block;
  width: 500px;
  max-width: 100%;
  height: 750px;
  object-fit: cover;
  border: 1px solid var(--ink);
}

.corner {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--paper);
  border: 1px solid var(--ink);
  z-index: 2;
}
.corner.tl { top: -5px; left: -5px; }
.corner.tr { top: -5px; right: -5px; }
.corner.bl { bottom: -5px; left: -5px; }
.corner.br { bottom: -5px; right: -5px; }

/* ----------------------------------------------------------- sections --- */
section + section { margin-top: 0; }

.sec-h {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: 'Joan', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}

.sec-num {
  font-family: 'Inria Sans', Georgia, serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--grey);
  border: 1px solid var(--rule);
  padding: 5px 6px 4px;
}

/* ---------------------------------------------------------- partners --- */
.partners { margin-top: 56px; }

.partners-title {
  margin: 0 0 12px;
  font-family: 'Joan', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}

.partners-head {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
}

.partners-head span {
  padding: 12px 20px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.partners-head span + span { border-left: 1px solid var(--rule); }

.partners-head span:first-child {
  color: var(--plum);
  letter-spacing: 0.22em;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.pcell {
  display: block;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
}

.pcell:not(:nth-child(3n + 1)) { border-left: 1px solid var(--rule); }

.pcell:hover { background: rgba(32, 36, 31, 0.035); }

.pnum {
  display: block;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--grey);
}

.pcell img {
  display: block;
  width: 250px;
  height: 150px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  margin: 14px 0 12px;
}

.ptake {
  display: block;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--grey);
}

/* ---------------------------------------------------------- quick card --- */
.profile { margin-top: 72px; }

.punch-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 34px 40px 30px;
}

.punch {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
}

.tape {
  position: absolute;
  right: -11px;
  bottom: -8px;
  width: 60px;
  height: 16px;
  background: rgba(207, 196, 163, 0.55);
  border-left: 1px solid rgba(188, 191, 169, 0.7);
  border-right: 1px solid rgba(188, 191, 169, 0.7);
  transform: rotate(-3deg);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  margin: 0;
}

.fact {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}

.fact dt {
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--grey);
}

.fact dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
}

/* -------------------------------------------------------------- about --- */
.about { margin-top: 72px; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
}

.about-cols {
  columns: 2;
  column-gap: 44px;
  column-rule: 1px solid var(--rule);
  padding-right: 44px;
  font-size: 16px;
  line-height: 1.7;
}

.about-cols p {
  margin: 0 0 1.05em;
  break-inside: avoid;
}

.about-fig {
  margin: 0;
  padding-left: 44px;
  border-left: 1px solid var(--rule);
}

.about-fig img { display: block; width: 300px; max-width: 100%; height: auto; }

/* ----------------------------------------------------------- timeline --- */
.career-sum { margin-top: 72px; }

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

.tl li {
  display: grid;
  grid-template-columns: 90px 56px minmax(0, 1fr);
  align-items: baseline;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--rule);
  background-image: linear-gradient(to right, transparent 0 89px, var(--plum) 89px 90px, transparent 90px);
}

.tl li:nth-child(even) { background-color: rgba(32, 36, 31, 0.03); }

.tl .yr {
  font-family: 'Joan', Georgia, serif;
  font-size: 24px;
  line-height: 1.1;
  padding-right: 16px;
}

.tl .take {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.13em;
  color: var(--grey);
  padding-left: 16px;
}

.tl .ev { font-size: 15.5px; line-height: 1.5; }

.tl-page .ev { font-size: 16px; }

.tl-h {
  margin: 30px 0 12px;
  font-family: 'Joan', Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
}

/* ------------------------------------------------------------ gallery --- */
.gallery { margin-top: 72px; }

.sheet {
  display: grid;
  grid-template-columns: repeat(3, 350px);
  gap: 28px;
  align-items: start;
  padding: 34px 0 42px;
}

.shot { margin: 0; }

.shot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}

/* ------------------------------------------------------------- social --- */
.social { margin-top: 64px; }

.social-list { max-width: 660px; }

.social-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 26px;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}

.s-platform {
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--grey);
}

.s-handle {
  font-family: 'Joan', Georgia, serif;
  font-size: 20px;
  line-height: 1.2;
}

.social-row:hover .s-handle { color: var(--plum); }

/* ------------------------------------------------------- page heading --- */
.page-head { padding: 42px 0 30px; border-bottom: 1px solid var(--rule); }

.page-head h1 {
  margin: 20px 0 16px;
  max-width: 24ch;
  font-family: 'Joan', Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.08;
}

.page-lead {
  margin: 0;
  max-width: 64ch;
  font-size: 18px;
  line-height: 1.6;
}

.err-link { margin-top: 28px; }

.page-body { padding: 42px 0 24px; }

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

.prose { min-width: 0; }

.prose p { margin: 0 0 1.05em; max-width: 68ch; }

.prose h2 {
  margin: 34px 0 12px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: 'Joan', Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
}

.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.prose h3 {
  margin: 0 0 8px;
  font-family: 'Joan', Georgia, serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
}

.note {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--grey);
  max-width: 62ch;
}

/* --------------------------------------------------------------- slip --- */
.slip {
  position: relative;
  align-self: start;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 28px 22px 20px;
}

.slip h2 {
  margin: 0 0 14px;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  border: 0;
  padding: 0;
}

.slip-facts { margin: 0; display: block; }

.slip-facts .fact {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
}

.slip-facts .fact dd { font-size: 14.5px; }

.studio-list .srow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
}

.studio-list .n {
  font-family: 'Joan', Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
}

/* -------------------------------------------------------- film blocks --- */
.counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  margin: 0 0 28px;
  background: var(--paper-2);
}

.count {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.count + .count { border-left: 1px solid var(--rule); }

.c-n {
  font-family: 'Joan', Georgia, serif;
  font-size: 40px;
  line-height: 1;
}

.c-k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--grey);
}

.c-l { font-size: 13px; line-height: 1.4; color: var(--grey); }

table.series {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
  margin: 0 0 30px;
  font-size: 15.5px;
}

table.series th,
table.series td {
  text-align: left;
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}

table.series th { font-weight: 400; color: var(--ink); }

table.series td { color: var(--grey); width: 40%; }

.doc {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 22px 24px;
  margin: 26px 0 0;
}

.doc-k {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum);
}

.doc p { max-width: 68ch; }

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

/* ---------------------------------------------------------------- FAQ --- */
.qa-list { max-width: 72ch; }

.qa {
  padding: 18px 0 4px;
  border-bottom: 1px solid var(--rule);
}

.qa:first-child { border-top: 0; }

.qa h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-family: 'Joan', Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
}

.qa p { margin: 0 0 14px; max-width: 66ch; }

/* -------------------------------------------------------------- footer --- */
.site-foot { margin-top: 84px; }

.dbl {
  height: 8px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.foot-in {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 40px;
}

.foot-brand { display: flex; flex-direction: column; gap: 5px; }

.foot-name {
  font-family: 'Joan', Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
}

.foot-tag {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--grey);
  max-width: 34ch;
}

.langs {
  text-align: center;
  font-size: 12.5px;
  line-height: 1.8;
}

.langs a {
  text-decoration: none;
  color: var(--ink);
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}

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

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

.langs .sep { color: var(--grey); margin: 0 7px; }

.foot-legal {
  margin: 0;
  text-align: right;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--grey);
}

/* ------------------------------------------------------------ 1024px --- */
@media (max-width: 1200px) {
  .binding { display: none; }
}

@media (max-width: 1024px) {
  .frame img { width: 440px; height: 660px; }
  .frame { width: 440px; }
  .hero-title { font-size: 54px; }
  .about-grid { grid-template-columns: minmax(0, 1fr) 305px; }
  .about-fig { padding-left: 30px; }
  .about-cols { column-gap: 30px; padding-right: 30px; }
  .page-grid { gap: 36px; }
}

/* ------------------------------------------------------------- 860px --- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; row-gap: 34px; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-photo { grid-column: 1 / -1; }
  .frame { margin: 0 auto; }
  .frame img { width: 440px; height: 660px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-cols { padding-right: 0; }
  .about-fig {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding: 26px 0 0;
    margin-top: 24px;
  }
  .about-fig img { width: 300px; }
  .page-grid { grid-template-columns: 1fr; gap: 34px; }
  .slip { max-width: 420px; }
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; }
}

/* ------------------------------------------------------------- 720px --- */
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px; }
  .head-in { flex-wrap: wrap; gap: 10px 16px; padding-top: 14px; padding-bottom: 12px; }
  .brand { font-size: 20px; }
  .main-nav { gap: 2px 14px; }
  .main-nav a { font-size: 11.5px; letter-spacing: 0.08em; }
  .main-nav a.btn-nav { padding: 10px 12px; margin-left: 0; order: 6; }
  .hero { padding-top: 20px; }
  .hero-title { font-size: 46px; margin: 20px 0 16px; }
  .hero-lead { font-size: 17px; }
  .frame, .frame img { width: 100%; }
  .frame img { height: auto; aspect-ratio: 2 / 3; }
  .partners { margin-top: 44px; }
  .partners-head { display: none; }
  .pgrid { grid-template-columns: 1fr; }
  .pcell { border-left: 0 !important; padding: 16px 14px; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .pcell img { grid-column: 2; grid-row: 1 / span 2; margin: 0; width: 250px; height: 150px; }
  .pnum { grid-column: 1; }
  .ptake { grid-column: 1; }
  .profile, .about, .career-sum, .gallery { margin-top: 52px; }
  .punch-card { padding: 28px 20px 24px; }
  .facts { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 96px minmax(0, 1fr); }
  .about-cols { columns: 1; }
  .tl li { grid-template-columns: 66px 52px minmax(0, 1fr); min-height: 64px; padding: 10px 6px 10px 0; background-image: linear-gradient(to right, transparent 0 65px, var(--plum) 65px 66px, transparent 66px); }
  .tl .yr { font-size: 20px; padding-right: 10px; }
  .tl .take { padding-left: 10px; }
  .tl .ev { font-size: 14.5px; }
  .sheet { column-gap: 18px; row-gap: 18px; }
  .foot-in { grid-template-columns: 1fr; gap: 16px; padding-bottom: 32px; }
  .langs, .foot-legal { text-align: left; }
  .foot-legal { margin-top: 4px; }
  .page-head { padding: 30px 0 24px; }
  .page-head h1 { font-size: 34px; }
  .page-lead { font-size: 16.5px; }
  .page-body { padding: 30px 0 18px; }
  .counts { grid-template-columns: 1fr; }
  .count + .count { border-left: 0; border-top: 1px solid var(--rule); }
  .c-n { font-size: 32px; }
  .social-row { padding: 14px 0 20px; }
  .s-handle { font-size: 18px; }
  .site-foot { margin-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
