/* edenmorweb.com · Eden Mor archive
   Motif: bedding. Contact lines 1px with 6px ticks, layer thickness 6/10/16.
   Palette: sandstone #ece5d8, ink #1d1a16, grey #5d564a, petrol teal #1f5c5a. */

:root {
  --bg: #ece5d8;
  --panel: #f4eee2;
  --ink: #1d1a16;
  --grey: #5d564a;
  --accent: #1f5c5a;
  --line: #d6cbb8;
  --tick: #b3a487;
  --mud: #ddd1bb;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Ropa Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
main { flex: 1 0 auto; }

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

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

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

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

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

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

.main-nav a.btn {
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1;
}

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

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: 'Ropa Sans', system-ui, sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 15px 26px;
  border: 1px solid var(--accent);
}

.btn:hover {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}

.btn:focus-visible,
.main-nav a:focus-visible,
.f-lang a:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.hero { padding: 44px 0 0; }

.hero-inner {
  --bleed: max(0px, calc((100vw - min(1180px, 100vw - 48px)) / 2));
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: calc(515px - var(--bleed)) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.hero-photo {
  width: 515px;
  margin-left: calc(-1 * var(--bleed));
}

.hero-photo img {
  width: 515px;
  height: 740px;
  object-fit: cover;
  object-position: 50% 0;
}

.hero-copy {
  padding-top: 4px;
  max-width: 640px;
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 20px;
}

.hero h1 {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.hero h1 span { display: block; }
.hero h1 .l2 { color: var(--accent); }

.lede {
  font-size: 18px;
  line-height: 1.6;
  max-width: 34ch;
  margin: 0 0 26px;
}

/* ---------- bedding signature ---------- */

.layer-stack { width: 300px; margin-top: 32px; }
.layer-stack.sm { width: 240px; margin-top: 26px; }
.layer-stack span { display: block; border-top: 1px solid var(--line); }
.layer-stack span:first-child { border-top: 0; }
.layer-stack span.accent { background: var(--accent); }
.layer-stack .sh-a { background: var(--panel); }
.layer-stack .sh-b { background: var(--bg); }
.layer-stack .h6 { height: 6px; }
.layer-stack .h10 { height: 10px; }
.layer-stack .h16 { height: 16px; }

.foot-rules { width: 220px; margin: 0 0 26px; }
.foot-rules span.sh-a { background: var(--panel); }
.foot-rules span.sh-b { background: var(--bg); }
.foot-rules span:last-child { width: 6px; background: var(--accent); }

.mud { display: block; height: 4px; background: var(--mud); position: relative; }
.mud::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 4px;
  background: var(--tick);
}
.mud-wide { width: 100%; }

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

.sec { padding: 72px 0 0; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
  margin-bottom: 26px;
}

.sec-head .num {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.sec-head .num-first { color: var(--accent); }

.sec-head h2 {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0;
}

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

.partners { max-width: 1080px; margin: 0 auto; }

.p-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  height: 104px;
}

.p-logo {
  width: 150px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--line);
}

.p-logo img { width: 100%; height: 100%; object-fit: contain; }

.p-name { font-size: 15px; letter-spacing: 0.02em; }
.p-row:hover .p-name { color: var(--accent); }

.p-num {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey);
}

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

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  column-gap: 60px;
  margin: 0 auto;
}

.fact {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  height: 88px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.fact::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 6px;
  background: var(--tick);
}

.fact.fact-first::after { background: var(--accent); }

.f-label {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  text-align: right;
  padding-right: 18px;
}

.f-value { font-size: 15px; }

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

.about-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.about-media img {
  width: 300px;
  height: 430px;
  object-fit: cover;
  object-position: 50% 12%;
}

.media-rule {
  display: block;
  height: 1px;
  background: var(--line);
  margin-top: 14px;
  position: relative;
}

.media-rule.right::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 6px;
  background: var(--tick);
}

.about-cols { column-count: 2; column-gap: 46px; max-width: 730px; }
.about-cols p { font-size: 16.5px; line-height: 1.75; margin: 0 0 16px; }

.note { font-size: 12px; line-height: 1.55; color: var(--grey); margin: 14px 0 0; }

/* ---------- 04 strata ---------- */

.strata { max-width: 1180px; }

.stratum {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  min-height: var(--h);
  padding: 4px 0 4px 14px;
  border-top: 1px solid var(--line);
  position: relative;
}

.stratum::before {
  content: '';
  position: absolute;
  left: 0;
  top: -3px;
  width: 1px;
  height: 6px;
  background: var(--tick);
}

.stratum.a { background: var(--panel); }
.stratum.b { background: transparent; }

.s-year {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.stratum.hi .s-year { color: var(--accent); }

.s-event {
  font-size: 15px;
  line-height: 1.45;
  margin-left: 24px;
  max-width: 70ch;
}

.strata-tall .stratum { grid-template-columns: 90px minmax(0, 1fr); }

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

.cores {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  max-width: 1180px;
}

.core {
  position: relative;
  margin: 0;
  width: var(--w);
  height: var(--h);
  border: 1px solid var(--line);
  background: var(--panel);
}

.core::before {
  content: '';
  position: absolute;
  left: 0;
  top: -8px;
  width: 6px;
  height: 1px;
  background: var(--ink);
}

.core img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 06 archive ---------- */

.arch-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  align-items: baseline;
}

.a-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.a-value { font-size: 13.5px; }

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

.site-foot {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  padding: 26px 0 30px;
}

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

.f-brand strong {
  display: block;
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.f-brand span { font-size: 12.5px; color: var(--grey); }

.f-lang {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--grey);
  text-align: center;
}

.f-lang a { color: var(--ink); padding: 0 2px; }
.f-lang a:hover { color: var(--accent); }
.f-lang .sep { color: var(--tick); padding: 0 4px; }

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

.foot-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--grey);
  margin: 18px 0 0;
}

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

.page-head { padding: 54px 0 12px; }
.page-head .kicker { margin-bottom: 16px; }

.page-head h1 {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.page-head .lede {
  max-width: 58ch;
  font-size: 18px;
  line-height: 1.65;
  color: var(--grey);
  margin: 0;
}

.bio-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.bio-media img {
  width: 320px;
  height: 470px;
  object-fit: cover;
  object-position: 50% 20%;
}

.prose { max-width: 760px; }
.bio-body.prose { max-width: none; }

.prose h2 {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 46px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  position: relative;
}

.prose h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: -3px;
  width: 1px;
  height: 6px;
  background: var(--tick);
}

.prose p { max-width: 62ch; font-size: 17px; line-height: 1.75; }

.studio-list li {
  font-size: 15.5px;
  padding: 10px 0 10px 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.studio-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--tick);
}

/* filmography table */

.film-table { margin-bottom: 34px; }

.film-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 290px;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.film-head {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0 0 9px;
}

.film-head span { font-size: 10px; }

.film-row .y {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 15px;
}

.film-row .t { font-size: 16.5px; }
.film-row .n { font-size: 13px; line-height: 1.55; color: var(--grey); }

.comp { font-size: 16px; max-width: 66ch; }
.comp-y {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.comp strong { font-weight: 400; color: var(--accent); }

/* faq */

.qa { padding: 22px 0; border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }

.qa h3 {
  font-weight: 400;
  font-size: 17.5px;
  line-height: 1.5;
  margin: 0 0 8px;
  padding-left: 18px;
  position: relative;
}

.qa h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.qa p { max-width: 68ch; font-size: 16.5px; line-height: 1.75; margin: 0 0 0 18px; }

/* 404 */

.err-wrap { min-height: 66vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0; }
.err-wrap h1 {
  font-family: 'Bona Nova SC', Georgia, serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.err-wrap .lede { color: var(--grey); max-width: 42ch; }
.err-home { margin: 30px 0 0; }

.text-link {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}
.text-link:hover { color: var(--accent); }

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

@media (max-width: 1200px) {
  .cores {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
  }
  .core { width: 100%; height: auto; }
  .core img { height: auto; }
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 440px minmax(0, 1fr);
    gap: 32px;
  }
  .hero-photo { width: 440px; margin-left: 0; }
  .hero-photo img { width: 440px; height: 632px; }
  .hero h1 { font-size: 52px; }
  .hero-copy { max-width: none; }
  .layer-stack { width: 240px; }
  .about-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
  .about-media img { width: 280px; height: 400px; }
  .bio-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
  .bio-media img { width: 280px; height: 412px; }
  .film-row { grid-template-columns: 60px minmax(0, 1fr) 240px; gap: 18px; }
}

@media (max-width: 900px) {
  .head-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .main-nav { justify-content: flex-start; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { order: 1; max-width: none; }
  .hero-photo { order: 2; width: 440px; margin-left: 0; }
  .hero-photo img { width: 440px; height: 632px; aspect-ratio: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: 2; margin-top: 30px; width: 280px; }
  .about-cols { column-count: 1; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-media { order: 2; width: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .f-lang { text-align: left; }
  .f-copy { text-align: left; white-space: normal; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 36px); }

  .hero { padding-top: 26px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    width: calc(100% - 36px);
  }
  .hero-copy { order: 1; }
  .hero-photo { order: 2; width: 100%; max-width: 515px; margin-left: auto; margin-right: auto; }
  .hero-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: 50% 0;
  }
  .hero h1 { font-size: 44px; }
  .lede { font-size: 17px; max-width: 36ch; }
  .layer-stack { width: 220px; margin-top: 26px; }

  .sec { padding-top: 54px; }
  .sec-head { gap: 12px; margin-bottom: 20px; }
  .sec-head h2 { font-size: 19px; }

  .partners { max-width: none; }
  .p-row { grid-template-columns: 104px minmax(0, 1fr) auto; gap: 14px; height: 92px; }
  .p-logo { width: 104px; height: 62px; }
  .p-name { font-size: 14.5px; }

  .facts { grid-template-columns: 1fr; column-gap: 0; }
  .fact { height: auto; min-height: 74px; }

  .about-grid { grid-template-columns: 1fr; gap: 0; }
  .about-media { order: 2; margin-top: 28px; width: 100%; max-width: 300px; }
  .about-media img { width: 100%; height: auto; aspect-ratio: 3 / 4.3; }
  .about-cols { column-count: 1; }

  .stratum {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: calc(var(--h) * 0.6);
    padding: 6px 0 6px 12px;
  }
  .s-year { font-size: 14px; }
  .s-event { margin-left: 0; font-size: 14.5px; }

  .cores { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
  .core { width: calc(50% - 7px); height: auto; }
  .core::before { display: none; }
  .core img { height: auto; }
  .core-1 { order: 1; }
  .core-3 { order: 2; }
  .core-2 { order: 3; }
  .core-4 { order: 4; }
  .core-5 { order: 5; }

  .arch-row { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 14px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .f-lang { text-align: left; }
  .f-copy { text-align: left; white-space: normal; }
  .foot-rules { width: 180px; }
  .site-foot { margin-top: 62px; }

  .page-head { padding: 34px 0 8px; }
  .page-head h1 { font-size: 42px; }
  .page-head .lede { font-size: 17px; }

  .bio-grid { grid-template-columns: 1fr; gap: 28px; }
  .bio-media { order: 2; width: 100%; max-width: 320px; }
  .bio-media img { width: 100%; height: auto; aspect-ratio: 32 / 47; }
  .prose h2 { font-size: 21px; margin-top: 34px; }
  .prose p { font-size: 16.5px; }

  .film-row { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; padding: 12px 0; }
  .film-head span:nth-child(3) { display: none; }
  .film-row .n { grid-column: 2; }

  .qa h3 { font-size: 16.5px; }
  .qa p { font-size: 16px; }

  .err-wrap { padding: 60px 0; }
  .err-wrap h1 { font-size: 42px; }
}

@media (max-width: 420px) {
  .main-nav { gap: 6px 14px; }
  .main-nav a { font-size: 10.5px; color: var(--ink); }
  .main-nav a.btn { padding: 11px 14px; font-size: 10px; color: var(--bg); background: var(--accent); }
  .hero h1 { font-size: 38px; }
  .p-row { grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; }
  .p-logo { width: 92px; height: 55px; }
  .arch-row { grid-template-columns: 96px minmax(0, 1fr); }
}
