/* emily18web.com : Reef Knot. Palette measured for WCAG AA. */
:root {
  --ink: #251f19;
  --paper: #f0e8db;
  --muted: #b6a992;
  --brass: #ab8b4e;
  --line: #3d3529;
  --panel: #2e2720;
  --deep: #1d1813;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Ropa Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.74;
  font-weight: 400;
}

img { max-width: 100%; }

a { color: inherit; }

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

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

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

.shell {
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 20;
  font-size: 12px;
}
.skip:focus { left: 12px; top: 12px; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--paper);
  font-family: "Bevan", Georgia, serif;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.wm-tag {
  font-family: "Ropa Sans", Arial, sans-serif;
  font-size: 7.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.main-nav a {
  display: inline-block;
  padding: 5px 0;
  color: var(--paper);
  text-decoration: none;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover {
  color: var(--brass);
  border-bottom-color: var(--brass);
}
.main-nav a[aria-current="page"] {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

/* buttons */
.btn {
  display: inline-block;
  padding: 13px 22px;
  background: var(--brass);
  border: 1px solid var(--brass);
  color: var(--ink);
  font-family: "Ropa Sans", Arial, sans-serif;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.main-nav a.btn {
  padding: 11px 17px;
  color: var(--ink);
  background: var(--brass);
  border: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
.main-nav a.btn:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
  border-bottom-color: var(--paper);
}

/* hero */
.hero { padding-top: 54px; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}
.hero-copy {
  grid-column: 1 / span 6;
  padding-top: 8px;
}
.kicker {
  margin: 0 0 24px;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-title-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-family: "Bevan", Georgia, serif;
  font-weight: 400;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
}
.hero h1 .l2 { display: block; }
.knot { display: inline-block; line-height: 0; color: var(--brass); }
.knot-title { margin-top: 13px; flex: 0 0 auto; }
.hero-lede {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}
.hero-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  margin-top: 24px;
}
.hero-note {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-figure {
  grid-column: 7 / span 6;
  justify-self: end;
  position: relative;
  width: 460px;
  max-width: 100%;
}
.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.hero-panel {
  position: absolute;
  left: -84px;
  bottom: 54px;
  width: 264px;
  padding: 16px 18px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.hero-panel .num {
  display: block;
  font-family: "Bevan", Georgia, serif;
  font-size: 34px;
  line-height: 1;
  color: var(--brass);
}
.hero-panel .lbl {
  display: block;
  margin-top: 7px;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}
.hero-panel .sub {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* sections */
.section { padding-top: 88px; }
.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
  margin-bottom: 26px;
}
.section-num {
  font-family: "Bevan", Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brass);
  flex: 0 0 auto;
}
.section-head h2 {
  font-family: "Bevan", Georgia, serif;
  font-weight: 400;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--paper);
}
.section-meta {
  margin-left: auto;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1052px;
}
.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 128px;
  padding: 8px 12px;
  background: rgba(46, 39, 32, 0.34);
  border: 1px solid var(--line);
  text-decoration: none;
}
.partner-card:hover { border-color: var(--brass); }
.partner-card .p-num {
  position: absolute;
  top: 10px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.partner-card:first-child .p-num {
  color: var(--brass);
  border-color: var(--brass);
}
.partner-card .knot {
  position: absolute;
  top: -10px;
  right: -10px;
}
.partner-card .knot svg { width: 18px; height: 10px; display: block; }
.partner-card img {
  width: 150px;
  height: 90px;
  object-fit: contain;
  margin-top: 8px;
}
.partner-card .p-name {
  margin-top: auto;
  padding-top: 4px;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.partner-card:hover .p-name { color: var(--paper); }

/* quick profile */
.profile {
  width: 100%;
  max-width: 720px;
  border-top: 1px solid var(--line);
}
.profile-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  height: 54px;
  padding: 13px 2px 0;
  border-bottom: 1px solid var(--line);
}
.profile-row .v {
  font-family: "Bevan", Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.profile-row .k {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  max-width: 1056px;
}
.about-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.about-copy { max-width: 44ch; }
.about-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.74;
}
.about-copy p:first-child { color: var(--paper); }
.about-notes {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.about-notes p {
  margin: 0 0 6px;
  max-width: 54ch;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

/* career log */
.log {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 64px;
  width: 100%;
  max-width: 1040px;
}
.log-rule { background: var(--line); }
.log-col li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 52px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.log-col .when {
  font-family: "Bevan", Georgia, serif;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.log-col li.hl .when { color: var(--brass); }
.log-col .what {
  font-size: 13px;
  line-height: 1.45;
  color: var(--paper);
}

/* gallery */
.gallery {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  max-width: 1064px;
}
.gallery figure {
  position: relative;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  line-height: 0;
}
.gallery img { display: block; width: 200px; height: auto; }
.gallery figure::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: -4px;
  width: 5px;
  height: 5px;
  background: var(--brass);
}

/* archive note */
.archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.archive-cell { padding: 18px 24px 20px; border-left: 1px solid var(--line); }
.archive-cell:first-child { padding-left: 0; border-left: 0; }
.archive-cell .k {
  display: block;
  margin-bottom: 8px;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.archive-cell .v {
  display: block;
  max-width: 30ch;
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper);
}
.archive-note {
  margin-top: 12px;
  max-width: 60ch;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.archive-disclaimer { color: var(--paper); }

/* footer */
.site-footer {
  position: relative;
  margin-top: 96px;
  border-top: 2px solid var(--paper);
  background: var(--deep);
}
.footer-inner { position: relative; }
.footer-knot {
  position: absolute;
  top: 0;
  left: 24px;
  color: var(--brass);
}
.footer-knot svg { width: 48px; height: 26px; display: block; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 40px;
  align-items: start;
  padding-top: 46px;
}
.footer-brand .brand-name {
  display: block;
  margin-bottom: 8px;
  font-family: "Bevan", Georgia, serif;
  font-size: 20px;
  line-height: 1.1;
  color: var(--paper);
}
.footer-brand .brand-line {
  display: block;
  max-width: 34ch;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.language-nav {
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.language-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 2px 3px;
}
.language-nav a:hover { color: var(--paper); }
.language-nav a[aria-current="page"] { color: var(--brass); }
.language-nav .sep { color: var(--line); padding: 0 1px; }
.footer-legal {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.footer-bottom {
  margin-top: 34px;
  padding: 14px 0 22px;
  border-top: 1px solid var(--line);
}
.footer-bottom p {
  margin: 0 0 4px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.footer-bottom .disclaimer { color: var(--paper); }

/* subpages */
.page { padding-top: 56px; }
.page-head {
  padding-bottom: 28px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.page-head .kicker { margin-bottom: 16px; }
.page-head-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.page-head-row .knot-title { margin-top: 10px; }
.page-head h1 {
  max-width: 24ch;
  font-family: "Bevan", Georgia, serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.03;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
}
.page-lede {
  max-width: 62ch;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}
.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 72px;
  align-items: start;
}
.prose p {
  max-width: 62ch;
  margin-bottom: 20px;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--muted);
}
.prose p:first-child { color: var(--paper); }
.prose p:last-child { margin-bottom: 0; }
.pull {
  max-width: 36ch;
  margin: 34px 0;
  padding: 22px 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pull p {
  margin: 0;
  font-family: "Bevan", Georgia, serif;
  font-size: 25px;
  line-height: 1.32;
  color: var(--paper);
  max-width: none;
}
.pull cite {
  display: block;
  margin-top: 12px;
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--muted);
}
.facts { border-top: 1px solid var(--paper); }
.facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  font-family: "Bevan", Georgia, serif;
  font-size: 11.5px;
  line-height: 1.5;
  text-align: right;
  color: var(--paper);
}
.page-note {
  max-width: 62ch;
  margin-top: 38px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

/* film stats and table */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 20px 24px 18px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b {
  display: block;
  font-family: "Bevan", Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  color: var(--brass);
}
.stat span {
  display: block;
  max-width: 22ch;
  margin-top: 8px;
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.table-wrap { overflow-x: auto; margin: 6px 0 26px; }
.table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}
.table th {
  padding: 0 14px 10px 0;
  border-bottom: 1px solid var(--paper);
  font-weight: 400;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}
.table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  vertical-align: top;
  color: var(--paper);
}
.table td.date {
  width: 104px;
  font-family: "Bevan", Georgia, serif;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}
.table td.set { width: 230px; }
.table td.note { color: var(--muted); }

/* faq */
.faq-list { max-width: 860px; border-top: 1px solid var(--paper); }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item h2 {
  margin-bottom: 8px;
  font-family: "Ropa Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  color: var(--paper);
}
.faq-item .qnum {
  margin-right: 10px;
  font-family: "Bevan", Georgia, serif;
  font-size: 11px;
  color: var(--brass);
}
.faq-item p {
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* 404 */
.error-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68vh;
  padding-top: 48px;
  padding-bottom: 48px;
}
.error-code {
  font-family: "Bevan", Georgia, serif;
  font-size: 132px;
  line-height: 0.9;
  color: var(--brass);
}
.error-page h1 {
  margin: 18px 0 12px;
  font-family: "Bevan", Georgia, serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.15;
  text-transform: uppercase;
}
.error-page p { max-width: 46ch; color: var(--muted); }
.error-page .btn { margin-top: 24px; }

/* responsive */
@media (max-width: 1024px) {
  .shell { max-width: 988px; }
  .hero h1 { font-size: 62px; }
  .hero-figure { width: min(380px, 44vw); }
  .hero-panel { left: -40px; bottom: 36px; width: 220px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); max-width: 696px; }
  .about-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; }
  .log { gap: 0 36px; }
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    max-width: 100%;
  }
  .gallery figure { width: auto; }
  .gallery img { width: 100%; }
  .bio-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 44px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 780px) {
  .header-inner { flex-wrap: wrap; gap: 14px; }
  .main-nav { justify-content: flex-start; gap: 14px; }
  .hero { padding-top: 34px; }
  .hero-grid { display: block; }
  .hero h1 { font-size: 56px; }
  .hero-figure { width: 100%; max-width: 430px; margin-top: 30px; }
  .hero-foot { display: block; margin-top: 22px; }
  .hero-foot .hero-lede { max-width: 46ch; }
  .hero-foot .btn { margin-top: 18px; }
  .hero-panel {
    position: static;
    width: auto;
    margin-top: 12px;
  }
  .knot-title { margin-top: 8px; }
  .partner-grid { grid-template-columns: 1fr; max-width: 420px; }
  .about-grid { display: block; }
  .about-photo { max-width: 400px; }
  .about-copy { margin-top: 26px; }
  .log { display: block; }
  .log-rule { display: none; }
  .log-col + .log-col { margin-top: 28px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:last-child { grid-column: 1 / -1; }
  .footer-knot { left: 24px; }
  .footer-grid { display: block; padding-top: 40px; }
  .language-nav { margin: 22px 0; }
  .footer-legal { text-align: left; white-space: normal; }
  .bio-grid { display: block; }
  .facts { margin-top: 34px; max-width: 420px; }
  .page-head h1 { font-size: 40px; }
  .page-lede { font-size: 16.5px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .archive { display: block; }
  .archive-cell { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .archive-cell:first-child { padding-top: 16px; border-top: 0; }
  .section-meta { display: none; }
  .section { padding-top: 64px; }
  .section-head h2 { font-size: 22px; }
  .site-footer { margin-top: 72px; }
}

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