/* Eveline Dellai · evelinedellaiweb.com
   Twill: three parallel diagonals, one perpendicular press mark. */

:root {
  --stone: #efeade;
  --ink: #1c1a16;
  --grey: #585349;
  --plum: #743f6a;
  --line: #dcd4c2;
  --panel: #f6f1e5;
  --display: 'Alyamama', Georgia, 'Times New Roman', serif;
  --body: 'Strichpunkt Sans', 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  font-variation-settings: 'wdth' 100, 'wght' 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--plum);
  outline-offset: 4px;
}

h1, h2, h3, p, dl, dd, dt, ul, ol, figure { margin: 0; }

ul { list-style: none; padding: 0; }

.shell {
  width: min(1104px, 100% - 64px);
  margin-inline: auto;
}

.display,
.wordmark,
h1,
h2,
.hero-title,
.pc-num,
.ch-num,
.qp-value,
.stat dd {
  font-family: var(--display);
  font-variation-settings: 'wght' 700;
  letter-spacing: 0.008em;
}

/* the mark: 24 x 24, three diagonals and one press tick */

.twill {
  display: block;
  width: 24px;
  height: 24px;
  color: var(--plum);
  pointer-events: none;
}

.twill svg { display: block; width: 24px; height: 24px; }

/* header */

.site-header { padding-top: 22px; }

.header-shell {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 26px 0 22px;
}

.twill-head { position: absolute; left: 0; top: -12px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.wordmark {
  font-size: 21px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0 3px;
  border-bottom: 1px solid transparent;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  background: var(--plum);
  color: var(--stone);
  border: 1px solid var(--plum);
  padding: 13px 21px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

/* the nav rule outranks .btn, so restate both states here */

.main-nav a.btn {
  color: var(--stone);
  background: var(--plum);
  border: 1px solid var(--plum);
  padding: 11px 17px;
  letter-spacing: 0.16em;
  font-size: 10px;
}

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

/* hero */

.hero { width: min(1200px, 100% - 64px); margin-inline: auto; padding-top: 52px; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 824px 340px;
  grid-template-rows: auto auto;
  column-gap: 36px;
  align-items: start;
}

.hero-media {
  position: relative;
  grid-row: 1 / span 2;
  height: 690px;
}

.photo-a {
  position: absolute;
  left: 0;
  top: 0;
  width: 460px;
  height: 690px;
  object-fit: cover;
  object-position: 50% 12%;
}

.photo-b {
  position: absolute;
  left: 484px;
  top: 120px;
  width: 340px;
  height: 510px;
  object-fit: cover;
}

.twill-hero { position: absolute; left: 476px; top: -40px; }

.hero-copy { padding-top: 0; }

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

.hero-title {
  margin-top: 22px;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: 0.008em;
  text-transform: uppercase;
}

.hero-title span { display: block; }

html[lang="de"] .hero-title { font-size: 60px; }
html[lang="es"] .hero-title { font-size: 64px; }

.hero-lead {
  margin-top: 26px;
  max-width: 28ch;
  font-size: 17px;
  line-height: 1.72;
}

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

.hero-stats { margin-top: 48px; grid-column: 2; }

.hero-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 9px 0 8px;
}

.hero-stats dt {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
}

.hero-stats dd { font-size: 13px; line-height: 1.4; text-align: right; }

/* sections */

.section { padding-top: 100px; }

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

.sec-num {
  font-family: var(--display);
  font-variation-settings: 'wght' 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--plum);
}

.sec-title {
  font-family: var(--body);
  font-variation-settings: 'wdth' 100, 'wght' 400;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sec-rule { flex: 1; height: 1px; background: var(--line); transform: translateY(-4px); }

/* 01 partners */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 0;
}

.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 128px;
  padding: 13px 0 16px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.18s ease;
}

.partner-card:hover { border-top-color: var(--plum); }

.pc-top { display: flex; align-items: baseline; gap: 16px; }

.pc-num {
  font-size: 48px;
  line-height: 0.9;
  color: var(--line);
  transition: color 0.18s ease;
}

.partner-card:first-child .pc-num,
.partner-card:hover .pc-num { color: var(--plum); }

.pc-name {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.pc-logo {
  align-self: flex-end;
  width: 96px;
  height: 58px;
  object-fit: contain;
  background: var(--panel);
  padding: 5px;
}

/* 02 quick profile */

.qp-grid {
  position: relative;
  display: grid;
  grid-template-columns: 480px 480px;
  column-gap: 40px;
  width: min(1000px, 100%);
}

.qp-grid::before {
  content: "";
  position: absolute;
  left: 500px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.qp-col { display: block; }

.qp-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: baseline;
  gap: 12px;
  height: 62px;
}

.qp-key {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.qp-value { font-size: 17px; line-height: 1.4; }

/* 03 about */

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 500px 500px;
  column-gap: 104px;
}

.about-grid::before {
  content: "";
  position: absolute;
  left: 552px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.twill-about { position: absolute; left: 540px; top: -12px; }

.about-col p + p { margin-top: 18px; }

.about-col p { max-width: 54ch; }

.about-notes {
  margin-top: 40px;
  max-width: 82ch;
  font-size: 12px;
  line-height: 1.65;
  color: var(--grey);
}

.about-notes p + p { margin-top: 6px; }

/* 04 career chapters */

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

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: 240px 800px;
  column-gap: 64px;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}

.twill-chapter { position: absolute; right: 0; top: 14px; }

.ch-left { display: flex; align-items: baseline; gap: 18px; }

.ch-num {
  font-size: 40px;
  line-height: 1;
  color: var(--line);
}

.chapter:nth-child(3) .ch-num { color: var(--plum); }

.ch-years {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--grey);
}

.ch-events { font-size: 13px; line-height: 26px; }

.ch-events li { display: inline; }

.ch-events li + li::before { content: " · "; color: var(--grey); }

/* 05 gallery */

.gallery-grid {
  position: relative;
  display: grid;
  grid-template-columns: 560px 420px;
  column-gap: 40px;
  align-items: stretch;
}

.twill-gallery { position: absolute; left: 0; top: -40px; }

.gal-left { display: flex; flex-direction: column; gap: 24px; }

.gal-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding-top: 80px;
}

.gal-left figure:nth-child(1) { width: 100%; }
.gal-left figure:nth-child(2) { width: 400px; margin-left: 40px; }
.gal-right figure:nth-child(1) { width: 300px; align-self: flex-end; }
.gal-right figure:nth-child(2) { width: 290px; align-self: flex-end; }

.gallery-grid figure {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
}

.gallery-grid figure::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -10px;
  width: 1px;
  height: 5px;
  background: var(--ink);
}

/* 06 social */

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  width: min(1040px, 100%);
}

.soc-head {
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

.soc-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.soc-row:hover { border-bottom-color: var(--plum); }

.soc-platform {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.soc-handle { font-size: 12px; letter-spacing: 0.02em; }

/* footer */

.site-footer { padding-top: 110px; }

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

.footer-rule .thick {
  position: absolute;
  left: 0;
  top: -1px;
  width: 30%;
  height: 2px;
  background: var(--ink);
}

.twill-footer { position: absolute; left: calc(30% - 24px); top: -11px; }

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

.footer-brand { font-family: var(--display); font-variation-settings: 'wght' 700; font-size: 15px; line-height: 1.4; }

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

.lang-switch { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-size: 11px; letter-spacing: 0.06em; }

.lang-switch a { text-decoration: none; color: var(--grey); border-bottom: 1px solid transparent; }

.lang-switch a:hover { color: var(--plum); border-bottom-color: var(--plum); }

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

.lang-switch .sep { color: var(--line); }

.copyright { font-size: 11px; letter-spacing: 0.04em; color: var(--grey); text-align: right; white-space: nowrap; }

.credit {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.7;
  color: var(--grey);
  max-width: 92ch;
}

/* subpages */

.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;
}

.page { padding: 56px 0 120px; }

.page-head { border-top: 1px solid var(--line); padding-top: 24px; }

.page h1 {
  margin-top: 14px;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: 0.004em;
}

.page-lead {
  margin-top: 22px;
  max-width: 58ch;
  font-size: 19px;
  line-height: 1.62;
  color: var(--grey);
}

.sheet { margin-top: 64px; border-top: 1px solid var(--line); }

.sheet + .sheet { margin-top: 56px; }

.sheet-title {
  font-family: var(--display);
  font-variation-settings: 'wght' 700;
  font-size: 34px;
  line-height: 1.15;
  margin: 26px 0 26px;
}

.block {
  display: grid;
  grid-template-columns: 240px 800px;
  column-gap: 64px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
}

.block h2 {
  font-size: 19px;
  line-height: 1.35;
}

.block p { font-size: 17px; line-height: 1.72; max-width: 54ch; }

.block p + p { margin-top: 16px; }

.block .small { font-size: 13px; line-height: 1.6; color: var(--grey); }

.tl-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  column-gap: 40px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
}

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

.tl-when { font-size: 13px; letter-spacing: 0.04em; color: var(--grey); }

.award-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  column-gap: 28px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
}

.award-year { font-size: 13px; color: var(--grey); letter-spacing: 0.04em; }

.award-win .award-year { color: var(--plum); }

.tag {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum);
  margin-left: 10px;
}

.year-row {
  display: grid;
  grid-template-columns: 64px 96px 1fr;
  column-gap: 24px;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.4;
}

.year-count { text-align: right; color: var(--grey); }

.bar-track { height: 2px; background: var(--line); }

.bar { height: 2px; background: var(--ink); display: block; }

.studio-row {
  display: grid;
  grid-template-columns: 1fr 64px;
  column-gap: 24px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.studio-count { text-align: right; color: var(--grey); font-size: 13px; }

.faq-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  column-gap: 64px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
}

.faq-q { font-size: 17px; line-height: 1.45; }

.faq-a { font-size: 16px; line-height: 1.68; max-width: 54ch; }

/* content containers used by the four subpages */

.blocks, .faq-list, .tl, .awards, .studios, .years, .notes { margin-top: 56px; }

.tl, .years, .awards, .studios, .faq-list { margin-top: 0; }

.block:last-child,
.faq-item:last-child,
.award-row:last-child,
.studio-row:last-child { border-bottom: 1px solid var(--line); }

.note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--grey);
  max-width: 80ch;
}

.notes p { font-size: 16px; line-height: 1.7; max-width: 72ch; }

.notes p + p { margin-top: 14px; }

.bar-track { display: block; height: 2px; background: var(--line); }

.soc-col { min-width: 0; }

/* 404 */

.err {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 96px;
  border-top: 1px solid var(--line);
}

.err-code {
  font-family: var(--display);
  font-variation-settings: 'wght' 700;
  font-size: 120px;
  line-height: 1;
  color: var(--plum);
}

.err h1 { font-size: 34px; line-height: 1.2; margin-top: 20px; }

.err p { margin-top: 16px; max-width: 46ch; color: var(--grey); }

.err .btn { margin-top: 30px; align-self: flex-start; }

/* responsive */

@media (max-width: 1279px) {
  .hero { width: min(100% - 48px, 1000px); }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; }
  .hero-media {
    order: 1;
    height: auto;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 44px;
  }
  .photo-a { position: static; width: min(400px, 56%); height: auto; aspect-ratio: 2 / 3; }
  .photo-b { position: static; width: min(300px, 40%); height: auto; aspect-ratio: 2 / 3; margin-top: 120px; }
  .twill-hero { left: auto; right: 0; top: -40px; }
  .hero-copy { order: 2; max-width: 560px; }
  .hero-stats { order: 3; margin-top: 40px; max-width: 560px; }
  .hero-title { font-size: 64px; }

  .about-grid { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .about-grid::before { left: calc(50% - 0.5px); }
  .twill-about { left: calc(50% - 12px); }
  .chapter { grid-template-columns: 200px 1fr; column-gap: 40px; }
  .gallery-grid { grid-template-columns: 1fr 340px; column-gap: 32px; }
  .gal-left figure:nth-child(1) { width: 100%; }
  .gal-left figure:nth-child(2) { width: 82%; }
  .gal-right figure:nth-child(1) { width: 260px; }
  .gal-right figure:nth-child(2) { width: 250px; }
  .block, .faq-item { grid-template-columns: 200px 1fr; column-gap: 40px; }
  .qp-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .qp-grid::before { left: calc(50% - 0.5px); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .copyright { text-align: left; }
}

@media (max-width: 820px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .main-nav { gap: 4px 18px; }
  .partner-grid { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .qp-grid { grid-template-columns: 1fr; }
  .qp-grid::before { display: none; }
  .about-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .about-grid::before { display: none; }
  .twill-about { display: none; }
  .chapter { grid-template-columns: 1fr; row-gap: 10px; }
  .ch-left { gap: 14px; }
  .gal-right { padding-top: 0; justify-content: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .gal-left figure:nth-child(2) { margin-left: 0; }
  .soc-row { grid-template-columns: 110px 1fr; }
  .page h1 { font-size: 44px; }
  .sheet-title { font-size: 28px; }
}

@media (max-width: 720px) {
  .shell, .hero { width: calc(100% - 40px); }
  .header-shell { padding-top: 22px; }
  .hero { padding-top: 34px; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; flex-direction: column; gap: 20px; margin: 34px 0 0; }
  .hero-stats { order: 3; }
  .photo-a { width: 100%; max-width: 440px; height: auto; aspect-ratio: 2 / 3; }
  .photo-b { width: 100%; max-width: 340px; height: auto; aspect-ratio: 2 / 3; margin-top: 0; }
  .twill-hero { top: -34px; }
  .hero-title { font-size: 52px; }
  html[lang="de"] .hero-title { font-size: 46px; }
  html[lang="es"] .hero-title { font-size: 50px; }
  .hero-lead { max-width: none; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .partner-card { height: 120px; }
  .pc-num { font-size: 40px; }
  .pc-logo { width: 84px; height: 51px; }
  .section { padding-top: 72px; }
  .sec-rule { display: none; }
  .gal-left figure:nth-child(2) { width: 100%; }
  .gal-right figure:nth-child(1),
  .gal-right figure:nth-child(2) { width: 100%; align-self: stretch; }
  .social-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; row-gap: 22px; }
  .copyright { white-space: normal; }
  .page { padding: 36px 0 84px; }
  .page h1 { font-size: 36px; }
  .page-lead { font-size: 17px; }
  .block, .faq-item { grid-template-columns: 1fr; row-gap: 10px; }
  .tl-row { grid-template-columns: 1fr; row-gap: 2px; }
  .award-row { grid-template-columns: 62px 1fr; column-gap: 16px; }
  .year-row { grid-template-columns: 48px 72px 1fr; column-gap: 14px; }
  .err-code { font-size: 88px; }
}

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

/* 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;
}
