/* ellahollywoodweb.com
   The Sweep: a studio backdrop with one curved join.
   Palette: shop grey ground, ink, indigo used only as an accent. */

:root {
  --bg: #e6e2dc;
  --ink: #191817;
  --grey: #57534e;
  --accent: #3c4468;
  --line: #d3cec6;
  --panel: #efece7;
  --white: #fff;
  --display: 'Italiana', 'Times New Roman', serif;
  --text: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.76;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

.container {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

.kicker {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
}

.brand {
  font-family: var(--display);
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  display: block;
  margin-top: 6px;
  font-family: var(--text);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--grey);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover { border-bottom-color: var(--ink); }

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

.main-nav a.btn,
.main-nav a.btn:visited {
  color: var(--bg);
  background: var(--accent);
  border: 0;
  padding: 12px 17px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.main-nav a.btn:hover,
.main-nav a.btn:focus {
  color: var(--white);
  background: var(--ink);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 22px;
}

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

/* ----------------------------------------------------------------- hero --- */
.hero { padding: 56px 0 0; }

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

.hero-copy {
  grid-column: 1 / 7;
  position: relative;
  padding: 6px 0 196px;
}

.hero-copy .kicker { margin-bottom: 40px; }

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 82px;
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-title span { display: block; }

.lead {
  max-width: 30ch;
  color: var(--grey);
  margin-bottom: 34px;
}

.hero-media {
  grid-column: 7 / 12;
}

.hero-media img {
  display: block;
  width: calc(100% + 14px);
  max-width: 500px;
  height: auto;
}

/* The sweep: one quarter circle joining a vertical and a horizontal line. */
.arc {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 180px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-bottom-left-radius: 180px;
  pointer-events: none;
}

/* -------------------------------------------------------------- sections --- */
.section { padding-top: 92px; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 34px;
}

.sec-num {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--grey);
  transform: translateY(-2px);
}

.sec-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.partners { padding-top: 74px; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: 172px;
  height: 116px;
  padding: 4px 0 9px;
  text-decoration: none;
}

.partner-num {
  position: absolute;
  left: -12px;
  top: 4px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--grey);
}

.partner-card:first-child .partner-num { color: var(--accent); }

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 143px;
  height: 86px;
  margin-bottom: auto;
}

.partner-logo img {
  display: block;
  max-width: 143px;
  max-height: 86px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-name {
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.partner-card:hover .partner-name { color: var(--ink); }

/* ------------------------------------------------------------ quick profile */
.profile-block {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  row-gap: 32px;
}

.profile-item { height: 88px; }

.profile-label {
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
}

.profile-value {
  font-size: 16px;
  line-height: 1.4;
}

/* ---------------------------------------------------------------- about --- */
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  column-gap: 56px;
  align-items: start;
}

.about-photo img {
  display: block;
  width: 380px;
  height: 570px;
  object-fit: cover;
  object-position: 50% 28%;
}

.about-arc {
  position: absolute;
  left: 396px;
  top: 18px;
  width: 36px;
  height: 180px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top-right-radius: 36px;
  pointer-events: none;
}

.about-copy { max-width: 46ch; }

.about-copy p { margin-bottom: 20px; }

.pull {
  margin: 20px 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.pull p::before { content: '\201C'; }
.pull p::after { content: '\201D'; }

.pull cite {
  display: block;
  margin-top: 8px;
  font-family: var(--text);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.small-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--grey);
}

/* --------------------------------------------------------------- timeline --- */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 760px;
  background: var(--line);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 84px;
  align-items: start;
}

.tl-year {
  justify-self: end;
  padding-right: 40px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tl-event {
  padding-left: 40px;
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.5;
}

.tl-item::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 24px;
  height: 1px;
  background: var(--line);
}

.tl-odd::after { right: 50%; }
.tl-even::after { left: 50%; }

.tl-mark .tl-year { color: var(--accent); }

/* ---------------------------------------------------------------- gallery --- */
.gallery-row {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

.g-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.g-item img { display: block; }

.g-1 img,
.g-2 img { width: 300px; height: 450px; object-fit: cover; }

.g-3 img {
  width: 240px;
  height: 240px;
  object-fit: cover;
}

/* ----------------------------------------------------------------- social --- */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}

.social-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.social-row:hover .s-handle { text-decoration: underline; }

.s-platform {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

.s-handle {
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------------- footer --- */
.site-footer {
  margin-top: 104px;
  padding-bottom: 40px;
}

.footer-line {
  position: relative;
  height: 1px;
  background: var(--line);
  margin-bottom: 34px;
}

.footer-line::before,
.footer-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 120px;
  height: 56px;
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

.footer-line::before {
  left: 0;
  border-left: 1px solid var(--line);
  border-bottom-left-radius: 120px;
}

.footer-line::after {
  right: 0;
  border-right: 1px solid var(--line);
  border-bottom-right-radius: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 40px;
  align-items: start;
}

.f-brand a {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.f-note {
  margin-top: 10px;
  max-width: 30ch;
  font-size: 10px;
  line-height: 1.6;
  color: var(--grey);
}

.f-label {
  display: block;
  margin-bottom: 10px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.f-langs nav {
  font-size: 12px;
  line-height: 1.9;
  color: var(--grey);
}

.f-langs a {
  color: var(--ink);
  text-decoration: none;
}

.f-langs a:hover { text-decoration: underline; }

.f-langs a[aria-current="page"] {
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.f-right {
  text-align: right;
  font-size: 12px;
  color: var(--grey);
}

.f-notes {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  max-width: 78ch;
  font-size: 11px;
  line-height: 1.7;
  color: var(--grey);
}

/* ------------------------------------------------------------- subpages --- */
.page { padding-top: 76px; }

.page-head {
  max-width: 860px;
  margin-bottom: 56px;
}

.page-head .kicker { margin-bottom: 26px; }

.page-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.standfirst {
  max-width: 56ch;
  font-size: 19px;
  line-height: 1.65;
  color: var(--grey);
}

.bio-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  column-gap: 72px;
  align-items: start;
}

.bio-figure img {
  display: block;
  width: 280px;
  height: 420px;
  object-fit: cover;
}

.bio-facts {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.fact {
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 4px;
}

.fact dd { font-size: 13px; line-height: 1.5; }

.bio-body { max-width: 60ch; }

.bio-body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 38px 0 14px;
}

.bio-body h2:first-child { margin-top: 0; }

.bio-body p { margin-bottom: 18px; }

/* --------------------------------------------------------------- career --- */
.career-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}

.stat-num {
  display: block;
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  max-width: 22ch;
  font-size: 11px;
  line-height: 1.5;
  color: var(--grey);
}

.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  column-gap: 72px;
  align-items: start;
}

.c-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.c-row:last-child { border-bottom: 1px solid var(--line); }

.c-when {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.4;
  color: var(--grey);
}

.c-what { font-size: 15px; line-height: 1.55; }

.side-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.studio-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.studio-row:last-child { border-bottom: 1px solid var(--line); }

.studio-name { font-size: 15px; }

.studio-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--grey);
}

.career-side .small-note { margin-top: 22px; }

/* ----------------------------------------------------------------- film --- */
.film-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  column-gap: 72px;
  align-items: start;
}

.year-table,
.title-table {
  width: 100%;
  border-collapse: collapse;
}

.year-table caption {
  text-align: left;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  padding-bottom: 10px;
}

.year-table th,
.year-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 400;
  text-align: left;
}

.year-table thead th {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.year-table .num { text-align: right; font-variant-numeric: tabular-nums; }

.bar-cell { width: 42%; padding-left: 18px !important; }

.bar {
  display: block;
  height: 1px;
  background: var(--accent);
  min-width: 2px;
}

.film-years .small-note { margin-top: 16px; }

.film-titles { min-width: 0; }

.table-wrap { overflow-x: auto; }

.title-table th {
  text-align: left;
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
}

.title-table td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  vertical-align: top;
}

.title-table .t-title { font-size: 14px; }

.title-table .t-year { white-space: nowrap; font-variant-numeric: tabular-nums; }

.title-table .t-note { color: var(--grey); }

.film-titles .small-note { margin-top: 18px; max-width: 62ch; }

/* ------------------------------------------------------------------ faq --- */
.faq-list { max-width: 80ch; }

.faq-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-num {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--grey);
  padding-top: 7px;
}

.faq-item h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey);
}

/* ------------------------------------------------------------------ 404 --- */
.not-found { padding: 110px 0 40px; min-height: 46vh; }

.not-found h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 18px 0 20px;
}

.not-found .standfirst { margin-bottom: 30px; }

/* ------------------------------------------------------------ breakpoints --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 66px; }
  .hero-copy { grid-column: 1 / 7; padding-bottom: 170px; }
  .hero-media { grid-column: 7 / 13; }
  .hero-media img { width: 440px; height: 660px; object-fit: cover; }
  .arc { height: 140px; border-bottom-left-radius: 140px; }
  .about-grid { grid-template-columns: 300px minmax(0, 1fr); column-gap: 48px; }
  .about-photo img { width: 300px; height: 450px; }
  .about-arc { left: 306px; }
  .partner-grid { gap: 18px; }
  .partner-num { left: -8px; }
  .career-layout,
  .film-layout { column-gap: 40px; }
  .bio-layout { column-gap: 44px; }
  .gallery-row { gap: 24px; }
}

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; padding: 16px 0; gap: 16px; }
  .main-nav { gap: 18px; flex-wrap: wrap; }
  .career-stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .career-layout,
  .film-layout { grid-template-columns: 1fr; row-gap: 48px; }
  .bio-layout { grid-template-columns: 1fr; row-gap: 34px; }
  .about-grid { grid-template-columns: 1fr; row-gap: 0; }
  .about-arc {
    position: static;
    width: 200px;
    height: 1px;
    margin: 28px 0 24px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .bio-side { display: grid; grid-template-columns: 200px 1fr; column-gap: 24px; align-items: start; }
  .bio-figure img { width: 200px; height: 300px; }
  .bio-facts { margin-top: 0; }
  .film-layout { display: block; }
  .film-years { margin-bottom: 48px; }
  .social-grid { column-gap: 32px; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }

  .site-header { border-bottom: 0; }
  .header-inner { display: block; padding: 18px 0 14px; }
  .brand { font-size: 20px; }
  .main-nav {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    overflow-x: auto;
    white-space: nowrap;
  }
  .main-nav a { font-size: 10px; }
  .main-nav a.btn { padding: 10px 12px; }

  .hero { padding-top: 30px; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { padding: 0; }
  .hero-copy .kicker { margin-bottom: 26px; }
  .hero-title { font-size: 52px; margin-bottom: 22px; }
  .lead { margin-bottom: 26px; }
  .hero-arc {
    position: static;
    width: 200px;
    height: 36px;
    margin-top: 34px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    border-bottom-left-radius: 36px;
    border-top-left-radius: 0;
  }
  .hero-media { margin: 30px 0 0; }
  .hero-media img { width: min(500px, 100%); height: auto; margin: 0 auto; }

  .section { padding-top: 64px; }
  .partners { padding-top: 54px; }
  .sec-head { margin-bottom: 26px; }
  .sec-title { font-size: 23px; }

  .partner-grid { grid-template-columns: 1fr 1fr; gap: 22px 24px; border-bottom: 0; }
  .partner-card { width: 100%; height: 104px; border-bottom: 1px solid var(--line); }
  .partner-num {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    align-self: flex-start;
    margin-bottom: 2px;
  }
  .partner-logo { width: 120px; height: 68px; }
  .partner-logo img { max-width: 120px; max-height: 68px; }
  .partner-name { font-size: 8px; }

  .profile-block { grid-template-columns: 1fr; row-gap: 26px; }
  .profile-item { height: auto; }

  .about-grid { display: flex; flex-direction: column; }
  .about-copy { order: 1; max-width: none; }
  .about-photo { order: 2; margin-top: 32px; }
  .about-photo img { width: 100%; height: auto; object-position: 50% 28%; }
  .about-arc {
    position: static;
    order: 3;
    width: 200px;
    height: 1px;
    margin-top: 26px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .timeline::before { left: 0; height: 100%; }
  .tl-item {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0 0 26px 26px;
  }
  .tl-year {
    display: block;
    padding-right: 0;
    margin-bottom: 4px;
    font-size: 16px;
  }
  .tl-event { display: block; padding-left: 0; font-size: 14px; }
  .tl-item::after { display: none; }

  .gallery-row { flex-wrap: wrap; gap: 20px; }
  .g-1,
  .g-2 { width: calc(50% - 10px); }
  .g-1 img,
  .g-2 img { width: 100%; height: auto; aspect-ratio: 2 / 3; }
  .g-3 { width: 100%; }
  .g-3 img { width: 100%; height: auto; aspect-ratio: 1 / 1; }

  .social-grid { grid-template-columns: 1fr; }
  .social-col + .social-col { margin-top: 0; }

  .site-footer { margin-top: 66px; }
  .footer-grid { display: block; }
  .f-langs { margin-top: 22px; }
  .f-right { text-align: left; margin-top: 18px; }
  .footer-line::before,
  .footer-line::after { width: 70px; height: 34px; }

  .page { padding-top: 44px; }
  .page-head { margin-bottom: 38px; }
  .page-head h1 { font-size: 40px; }
  .standfirst { font-size: 17px; }

  .bio-side { display: block; }
  .bio-figure img { width: 100%; height: auto; }
  .bio-facts { margin-top: 22px; }
  .bio-body h2 { font-size: 22px; }

  .career-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-num { font-size: 34px; }
  .c-row { grid-template-columns: 1fr; gap: 4px; }
  .c-when { font-size: 15px; }

  .faq-item { grid-template-columns: 28px minmax(0, 1fr); }
  .not-found { padding: 70px 0 30px; }
  .not-found h1 { font-size: 40px; }
}

/* partner logo plate: guarantee legibility of supplied marks on any ground */
a img[src*="/assets/partners/"] {
  background: #f4efe6;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}
