/* evaadamsweb.com · site styles */

:root {
  --ink: #0e0e10;
  --paper: #e9e7e2;
  --gray: #a09e98;
  --celadon: #9aa06a;
  --line: #212124;
  --panel: #151518;
  --display: "Special Gothic Expanded One", "Arial Narrow", sans-serif;
  --body: "Sofia Sans Condensed", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-variation-settings: "wght" 400;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

figure { margin: 0; }

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

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

p { margin: 0 0 1.05em; max-width: 54ch; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

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

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

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

/* ---------- signature mark ---------- */

.crack {
  display: block;
  width: 30px;
  height: 24px;
  color: var(--gray);
  flex: none;
}
.crack .c-a, .crack .c-b, .crack .c-d { stroke: currentColor; }
.crack .c-c { stroke: var(--celadon); }

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

.site-header { position: relative; z-index: 30; }

.header-inner {
  position: relative;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 19px 0 15px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 26px;
}

.crack-head { position: absolute; left: 0; top: -12px; color: var(--paper); }

.brand {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  margin-right: auto;
  white-space: nowrap;
}

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

.main-nav a {
  display: inline-block;
  padding: 5px 0;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--paper); }
.main-nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--celadon); }

.btn {
  display: inline-block;
  padding: 11px 17px;
  border: 1px solid var(--celadon);
  background: var(--celadon);
  color: var(--ink);
  font-family: var(--body);
  font-size: 11.5px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

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

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

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

.hero-kicker {
  grid-column: 1 / 5;
  grid-row: 1;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  padding-top: 3px;
}

.hero-alias {
  grid-column: 10 / 13;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  padding-top: 3px;
}

.hero-media {
  grid-column: 4 / 10;
  grid-row: 2;
  margin-top: 32px;
  width: 100%;
  max-width: 480px;
  justify-self: center;
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 12%;
  border: 1px solid var(--line);
}

.hero-copy {
  grid-column: 1 / 6;
  grid-row: 2;
  margin-top: 390px;
  position: relative;
  z-index: 3;
  align-self: start;
}

.hero-title {
  display: inline-block;
  background: var(--panel);
  padding: 12px 14px;
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 0.96;
  color: var(--paper);
  white-space: nowrap;
}

.hero-lead {
  max-width: 32ch;
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray);
}

.hero-cta { margin-top: 24px; }

.hero-index {
  grid-column: 10 / 13;
  grid-row: 2;
  margin-top: 32px;
  align-self: start;
  text-align: right;
}

.hero-index span {
  display: block;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}

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

.sec { margin-top: 92px; }
.sec.first { margin-top: 64px; }

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

.sec-num {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--celadon);
}

.sec-head h2 {
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.1;
  color: var(--paper);
}

.sec-note {
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--gray);
  max-width: 62ch;
  margin-top: 18px;
}

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

.partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1104px;
}

.partner-card {
  position: relative;
  height: 104px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 6px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--paper);
}
.partner-card:hover { background: var(--panel); }

.partner-num {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  color: var(--line);
  width: 36px;
  flex: none;
}
.partner-card:first-child .partner-num { color: var(--celadon); }

.partner-logo {
  width: 100px;
  height: 60px;
  object-fit: contain;
  padding: 4px;
  background: var(--paper);
  flex: none;
}

.partner-name {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}
.partner-card:hover .partner-name { color: var(--paper); }

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

.quick {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.quick div {
  height: 88px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-top: 14px;
}

.quick b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.quick span {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: right;
}

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

.about {
  display: grid;
  grid-template-columns: 300px 560px;
  column-gap: 60px;
  align-items: start;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 8%;
  border: 1px solid var(--line);
}

.alias-table { margin-top: 24px; }
.alias-table .crack { margin-bottom: 10px; }

.alias-head {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  padding-bottom: 6px;
}

.alias-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  height: 34px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.alias-row i {
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.alias-row b {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.about-text { margin-top: 20px; }
.about-text p { max-width: 46ch; }

.about-note {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray);
  max-width: 54ch;
}

/* ---------- 04 timeline ---------- */

.timeline {
  position: relative;
  max-width: 1000px;
  margin-top: 6px;
}

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

.t-item {
  position: relative;
  width: 400px;
  min-height: 78px;
  padding: 7px 0;
  margin: 0;
}

.t-item:nth-child(odd) {
  margin-right: auto;
  text-align: right;
  padding-right: 28px;
}

.t-item:nth-child(even) {
  margin-left: auto;
  text-align: left;
  padding-left: 28px;
}

.t-item::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 6px;
  height: 1px;
  background: var(--line);
}
.t-item:nth-child(odd)::after { right: 0; }
.t-item:nth-child(even)::after { left: 0; }

.t-year {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.t-text {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--paper);
  margin-top: 2px;
}

.t-item.hl .t-year { color: var(--celadon); }
.t-item.hl::after { background: var(--celadon); }

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

.gallery {
  display: grid;
  grid-template-columns: 440px 496px;
  gap: 24px;
  max-width: 960px;
  align-items: start;
}

.gallery-main img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 22%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 22%;
}

.gallery-grid img.fit-contain {
  object-fit: contain;
  background: var(--panel);
}

.frame { position: relative; border: 1px solid var(--line); }
.frame::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -1px;
  width: 5px;
  height: 14px;
  background: var(--gray);
}
.gallery-main.frame::before { background: var(--celadon); }

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

.social { max-width: 720px; }

.social-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  text-decoration: none;
  color: var(--paper);
}
.social-row:last-of-type { border-bottom: 0; }
.social-list { border-bottom: 1px solid var(--line); }
a.social-row:hover .social-platform { color: var(--celadon); }

.social-platform {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  width: 96px;
  flex: none;
}

.social-handle {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--paper);
}

.social-status {
  margin-left: auto;
  font-size: 11px;
  color: var(--gray);
  text-align: right;
}

.social-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--gray);
  margin-top: 14px;
  max-width: 58ch;
}

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

.footer {
  margin-top: 108px;
  border-top: 1px solid var(--line);
  padding: 34px 0 26px;
}

.footer-inner { position: relative; }

.crack-foot { position: absolute; right: 0; top: -46px; color: var(--gray); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  column-gap: 44px;
  align-items: start;
}

.footer-brand {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}

.footer-tag {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--gray);
  max-width: 34ch;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.langs a, .langs span.lang-current { color: var(--gray); text-decoration: none; }
.langs a:hover { color: var(--paper); }
.langs span.lang-current { color: var(--paper); }
.langs .sep { color: var(--line); padding: 0 7px; }

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-align: right;
  white-space: nowrap;
}

.footer-notes {
  margin-top: 26px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--gray);
  max-width: 78ch;
}

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

.page-head { padding-top: 46px; }

.page-head .kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

.page-head h1 {
  margin-top: 20px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  max-width: 16ch;
}

.page-lead {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.68;
  color: var(--gray);
}

.prose { max-width: 62ch; margin-top: 10px; }
.prose p { max-width: 62ch; }

.bio-sec { margin-top: 54px; }
.bio-sec h2 {
  font-size: 21px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--paper);
}

.bio-note {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--gray);
  max-width: 56ch;
}

/* career page */

.career-timeline { margin-top: 44px; }

.studio-list {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 44px;
}

.studio-list div {
  border-top: 1px solid var(--line);
  padding: 11px 0;
  font-size: 14px;
  color: var(--paper);
}

/* filmography */

.film-list { margin-top: 34px; }

.film-group {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 26px;
  border-top: 1px solid var(--line);
  padding: 24px 0 8px;
  margin-top: 0;
}

.film-year {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
  color: var(--celadon);
  letter-spacing: 0.02em;
}

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

.film-title { font-size: 15px; color: var(--paper); }

.film-studio {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: right;
  white-space: nowrap;
}

/* faq */

.qa {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 22px 0 20px;
}

.qa-num {
  font-family: var(--display);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.qa h2 {
  font-family: var(--body);
  font-variation-settings: "wght" 400;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 17px;
  line-height: 1.4;
  color: var(--paper);
}

.qa p { margin-top: 8px; font-size: 15px; line-height: 1.66; color: var(--gray); max-width: 60ch; }

/* 404 */

.err {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 0 40px;
}
.err-code {
  font-family: var(--display);
  font-size: clamp(70px, 14vw, 150px);
  line-height: 0.9;
  color: var(--celadon);
}
.err h1 { margin-top: 22px; font-size: clamp(24px, 3vw, 34px); }
.err p { margin-top: 18px; color: var(--gray); max-width: 50ch; }
.err .btn { margin-top: 26px; }

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

@media (max-width: 1024px) {
  .wrap, .header-inner { width: min(960px, calc(100% - 48px)); }

  .hero { display: flex; flex-direction: column; }
  .hero-kicker { order: 1; }
  .hero-alias { order: 2; align-self: flex-start; margin-top: 4px; }
  .hero-media { order: 3; margin-top: 22px; width: 440px; max-width: 100%; align-self: flex-start; }
  .hero-copy { order: 4; margin-top: 26px; width: 100%; }
  .hero-title { font-size: clamp(34px, 6.4vw, 56px); }
  .hero-lead { max-width: 46ch; }
  .hero-index { order: 5; margin-top: 34px; text-align: left; width: 100%; max-width: 480px; }
  .hero-index span { text-align: left; }

  .partners { grid-template-columns: 1fr; max-width: 560px; }
  .partner-card { height: 92px; }

  .quick { grid-template-columns: 1fr; max-width: 560px; }
  .quick div { height: 76px; }

  .about { grid-template-columns: 300px minmax(0, 1fr); column-gap: 36px; }
  .about-photo { width: 300px; }
  .about-text p { max-width: 52ch; }

  .timeline::before { left: 8px; }
  .t-item, .t-item:nth-child(odd), .t-item:nth-child(even) {
    width: 100%;
    margin: 0;
    text-align: left;
    padding-left: 32px;
    padding-right: 0;
  }
  .t-item:nth-child(odd)::after, .t-item:nth-child(even)::after { left: 8px; right: auto; }

  .gallery { grid-template-columns: 380px minmax(0, 1fr); gap: 20px; max-width: 816px; }
  .gallery-main img { width: 100%; height: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery-grid img { width: 100%; height: auto; }

  .studio-list { column-gap: 30px; }

  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .footer-copy { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap, .header-inner { width: calc(100% - 40px); }

  .header-inner { flex-wrap: wrap; gap: 10px 18px; padding-bottom: 12px; }
  .brand { width: 100%; margin-right: 0; }
  .main-nav { gap: 6px 16px; width: 100%; }
  .main-nav a { font-size: 10px; letter-spacing: 0.12em; }
  .main-nav a.btn { margin-top: 6px; }

  .hero-media { width: 100%; max-width: 480px; }
  .hero-title { font-size: clamp(30px, 9vw, 46px); }
  .hero-copy { margin-top: 24px; }

  .sec { margin-top: 64px; }

  .partners { max-width: 100%; }
  .partner-card { height: 88px; }

  .quick div { height: 70px; }
  .quick b { font-size: 24px; }

  .about { display: flex; flex-direction: column; }
  .about-photo { width: 100%; max-width: 300px; }
  .about-text { margin-top: 30px; }
  .about-text p { max-width: 100%; }

  .timeline::before { height: 100%; }
  .t-item { height: auto; min-height: 64px; }

  .gallery { grid-template-columns: 1fr; max-width: 100%; }
  .gallery-main img { width: 100%; height: auto; aspect-ratio: 2 / 3; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { width: 100%; height: auto; aspect-ratio: 1 / 1; }

  .social-platform { width: 84px; }
  .social-status { font-size: 10px; }

  .footer-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .footer-copy { grid-column: auto; text-align: left; white-space: normal; }

  .film-group { grid-template-columns: 1fr; gap: 10px; }
  .film-row { flex-direction: column; gap: 2px; }
  .film-studio { text-align: left; white-space: normal; }

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

  .qa { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
}

/* mark spacing above headings */
.hero-copy > .crack,
.page-head > .crack,
.sec > .crack,
.bio-sec > .crack { margin-bottom: 22px; }

/* 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;
  filter: none;
  opacity: 1;
}
