/* emily-cutie.com · Ceiling Bracket
   Palette: paper #eae4d9, ink #1c1816, grey #5c5148, pine #4a6152,
   rule #dcd2c4, panel #f5efe5. Display: Isometra. Body: Belanosima. */

:root {
  --paper: #eae4d9;
  --ink: #1c1816;
  --gray: #5c5148;
  --pine: #4a6152;
  --line: #dcd2c4;
  --panel: #f5efe5;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Belanosima", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { margin: 0; }

a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 1px solid var(--pine);
  outline-offset: 3px;
}

.wrap {
  width: 760px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

/* ------------------------------------------------------------- header ---- */
.site-header { padding-top: 14px; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: "Isometra", Georgia, serif;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-right: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.main-nav a { color: var(--ink); }
.main-nav a:hover { color: var(--pine); }
.main-nav a[aria-current="page"] {
  color: var(--pine);
  box-shadow: inset 0 -1px 0 var(--pine);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pine);
  color: var(--paper);
  border: 1px solid var(--pine);
  padding: 9px 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

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

.cb { display: block; color: var(--ink); flex: none; }
.cb rect { fill: var(--pine); }
.cb line { stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }

/* --------------------------------------------------------------- hero ---- */
.hero { padding-top: 22px; }

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}

.hero-rule { border-top: 1px solid var(--ink); }

.hero-titlerow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 24px;
}

.hero-title {
  font-family: "Isometra", Georgia, serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0.01em;
  max-width: 500px;
}
.hero-title span { display: block; }

.cb-hero { margin-bottom: 3px; }

.hero-body {
  display: grid;
  grid-template-columns: 480px 240px;
  gap: 20px;
  align-items: end;
  margin-top: 20px;
}

.hero-photo { border: 1px solid var(--line); background: var(--panel); }
.hero-photo img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: 50% 28%;
}

.hero-side { display: flex; flex-direction: column; align-items: stretch; }

.hero-lead {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray);
  margin-bottom: 26px;
}

.hero-facts { margin-bottom: 22px; }

.fact {
  border-top: 1px solid var(--line);
  padding: 9px 0 8px;
}
.fact dt {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}
.fact dd { font-size: 13px; margin-top: 2px; }

.btn-cta { width: 100%; padding: 11px 16px; }

/* ------------------------------------------------------------ sections ---- */
.block { padding-top: 54px; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.sec-num {
  font-family: "Isometra", Georgia, serif;
  font-size: 13px;
  color: var(--pine);
  letter-spacing: 0.06em;
}

.sec-head h2 {
  font-family: "Isometra", Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.sec-note {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ----------------------------------------------------------- 01 partners ---- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 110px);
  gap: 8px;
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 110px;
  padding: 6px 5px 7px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}
.partner-card:hover { border-color: var(--pine); color: var(--ink); }

.p-num {
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--gray);
  align-self: flex-start;
}
.p-num-first { color: var(--pine); }

.partner-card img {
  width: 90px;
  height: 54px;
  object-fit: contain;
  margin: auto 0;
  mix-blend-mode: multiply;
}

.p-name {
  font-size: 7px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
}

/* --------------------------------------------------------- 02 quick ---- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.quick-grid li {
  height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.q-k {
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}
.q-v { font-size: 12px; line-height: 1.35; }

/* ----------------------------------------------------------- 03 about ---- */
.about-grid {
  display: grid;
  grid-template-columns: 260px 440px;
  gap: 60px;
  align-items: start;
}

.about-photo { border: 1px solid var(--line); background: var(--panel); }
.about-photo img { width: 100%; height: 390px; object-fit: cover; object-position: 50% 20%; }

.about-text p {
  max-width: 38ch;
  font-size: 15px;
  margin-bottom: 14px;
}

.about-notes {
  margin-top: 22px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.about-notes p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray);
  margin: 0 0 4px;
  max-width: none;
}

/* ---------------------------------------------------------- 04 career ---- */
.timeline { width: 760px; max-width: 100%; }

.tl-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid var(--line);
}
.tl-row.tl-break { border-top: 2px solid var(--ink); }

.tl-year {
  font-family: "Isometra", Georgia, serif;
  font-size: 15px;
  line-height: 1.2;
  text-align: right;
  color: var(--ink);
}

.tl-event {
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60ch;
}

.timeline.long .tl-row { min-height: 46px; padding: 10px 0; align-items: start; }
.timeline.long .tl-year { padding-top: 1px; }
.timeline.long .tl-event { white-space: normal; overflow: visible; max-width: 66ch; }

/* --------------------------------------------------------- 05 gallery ---- */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(5, 140px);
  gap: 12px;
  width: 748px;
  max-width: 100%;
  margin: 0 auto;
}

.shot { position: relative; border: 1px solid var(--line); background: var(--panel); }
.shot::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -4px;
  width: 5px;
  height: 5px;
  background: var(--pine);
}
.shot img { width: 100%; height: 210px; object-fit: cover; object-position: 50% 22%; }

/* --------------------------------------------------------- 06 archive ---- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.arc-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 76px;
  padding: 14px 18px 12px 0;
}
.arc-cell + .arc-cell {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.arc-k {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}
.arc-v { font-size: 12px; line-height: 1.4; }

.arc-note { font-size: 11px; line-height: 1.5; color: var(--gray); margin-top: 6px; }

/* -------------------------------------------------------------- footer ---- */
.site-footer {
  margin-top: 66px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.cb-footer { margin-bottom: 18px; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.12fr) auto;
  gap: 24px;
  align-items: start;
}

.brand {
  display: block;
  font-family: "Isometra", Georgia, serif;
  font-size: 17px;
  line-height: 1.2;
}
.brand-line {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--gray);
}

.lang-nav { font-size: 11px; line-height: 1.6; color: var(--gray); }
.lang-nav a { color: var(--gray); }
.lang-nav a:hover { color: var(--ink); }
.lang-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lang-nav .sep { color: var(--line); padding: 0 1px; }

.footer-legal { font-size: 11px; line-height: 1.6; color: var(--gray); text-align: right; }
.footer-legal span { display: block; white-space: nowrap; }

.footer-credits {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.footer-credits p { font-size: 11px; line-height: 1.55; color: var(--gray); }

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

.page-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
}

.page-title {
  font-family: "Isometra", Georgia, serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.01em;
}

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

.page-body { padding-top: 40px; }

.prose p { max-width: 50ch; font-size: 15px; margin-bottom: 14px; }
.prose h3 {
  font-family: "Isometra", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  margin: 34px 0 10px;
}
.prose h3:first-child { margin-top: 0; }

.bio-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 34px;
}
.bio-facts div { background: var(--paper); padding: 12px 14px; min-height: 66px; }
.bio-facts dt {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}
.bio-facts dd { font-size: 13px; line-height: 1.4; margin-top: 5px; }

.film-group { margin-bottom: 38px; }
.film-group h3 {
  font-family: "Isometra", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 4px;
}
.film-note { font-size: 12px; color: var(--gray); margin-bottom: 12px; }

.film-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.film-table th {
  text-align: left;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 1px solid var(--ink);
  padding: 8px 12px 6px 0;
}
.film-table td {
  border-bottom: 1px solid var(--line);
  padding: 9px 12px 9px 0;
  vertical-align: top;
}
.film-table td:first-child { white-space: nowrap; color: var(--gray); width: 116px; }

.notes { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.notes p { font-size: 12px; line-height: 1.6; color: var(--gray); margin-bottom: 5px; max-width: 78ch; }

.faq-item {
  border-top: 1px solid var(--line);
  padding: 18px 0 16px;
  max-width: 680px;
}
.faq-item:first-child { border-top: 1px solid var(--ink); }
.faq-q {
  font-family: "Isometra", Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.faq-a { font-size: 15px; line-height: 1.65; max-width: 52ch; }

/* ------------------------------------------------------------- 404 ---- */
.lost { padding: 84px 0 40px; }
.lost-code {
  font-family: "Isometra", Georgia, serif;
  font-size: 88px;
  line-height: 1;
  color: var(--pine);
}
.lost h1 {
  font-family: "Isometra", Georgia, serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.15;
  margin: 10px 0 12px;
}
.lost p { font-size: 15px; color: var(--gray); max-width: 46ch; }
.lost a.plain { display: inline-block; margin-top: 22px; border-bottom: 1px solid var(--pine); }

/* ------------------------------------------------------------ responsive ---- */
@media (max-width: 1024px) {
  .wrap { width: 720px; }
  .hero-title { font-size: 56px; }
  .hero-body { grid-template-columns: 440px 1fr; gap: 18px; }
  .hero-photo img { height: 550px; }
  .partner-grid { grid-template-columns: repeat(3, 110px); width: auto; justify-content: center; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 240px 1fr; gap: 36px; }
  .about-photo img { height: 360px; }
  .gallery-row { width: 100%; grid-template-columns: repeat(5, 1fr); }
  .shot img { height: auto; aspect-ratio: 2 / 3; }
}

@media (max-width: 768px) {
  .wrap { width: 100%; max-width: none; padding: 0 24px; }
  .header-inner { gap: 12px; }
  .main-nav { gap: 11px; font-size: 10px; }
  .hero-body { grid-template-columns: 400px 1fr; }
  .hero-photo img { height: 520px; }
  .about-grid { grid-template-columns: 220px 1fr; gap: 28px; }
  .about-photo img { height: 330px; }
}

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 10px 14px; }
  .main-nav { order: 3; width: 100%; flex-wrap: wrap; gap: 10px 14px; padding-top: 4px; }
  .cb-header { display: none; }
  .hero { padding-top: 18px; }
  .hero-title { font-size: 44px; max-width: none; }
  .hero-titlerow { display: block; padding-top: 20px; }
  .cb-hero { margin: 10px 0 0; }
  .hero-body { display: flex; flex-direction: column; gap: 0; margin-top: 18px; }
  .hero-side { display: contents; }
  .hero-lead { order: 1; margin: 0 0 18px; }
  .hero-photo { order: 2; width: 100%; max-width: 480px; }
  .hero-photo img { height: auto; aspect-ratio: 4 / 5; }
  .hero-facts { order: 3; margin: 22px 0 18px; }
  .btn-cta { order: 4; }
  .block { padding-top: 42px; }
  .sec-head h2 { font-size: 23px; }
  .partner-grid { grid-template-columns: repeat(2, 110px); gap: 8px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-photo { max-width: 320px; }
  .about-photo img { height: auto; aspect-ratio: 2 / 3; }
  .about-text p { max-width: none; }
  .tl-row { grid-template-columns: 48px 1fr; gap: 10px; min-height: 44px; }
  .tl-row.tl-break { border-top-width: 2px; }
  .tl-event { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; padding: 6px 0; }
  .timeline.long .tl-row { min-height: 0; }
  .gallery-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .archive-grid { grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
  .arc-cell { min-height: 0; padding: 12px 0; }
  .arc-cell + .arc-cell { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 14px; }
  .footer-legal { text-align: left; }
  .site-footer { margin-top: 52px; }
  .page-title { font-size: 38px; }
  .page-lead { font-size: 15px; }
  .bio-facts { grid-template-columns: repeat(2, 1fr); }
  .film-table td:first-child { width: 96px; }
  .lost { padding-top: 56px; }
}

@media (prefers-reduced-motion: no-preference) {
  a, .partner-card { transition: color 120ms linear, border-color 120ms linear, background-color 120ms linear; }
}

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