/* ============================================================
   Charlotte Sins · charlottesinsweb.com
   Design: Velvet · deep-wine velvet and gold thread on pale plaster
   ============================================================ */

:root {
  --bg: #f6f4f1;
  --bg-soft: #fbfaf7;
  --panel: #fffdfb;
  --ink: #2b2523;
  --muted: #6b625e;
  --line: #e4ded5;
  --velvet: #6e1f2e;
  --velvet-deep: #4f111e;
  --velvet-hi: #8a2b3d;
  --gold: #c9a227;
  --gold-ink: #7d620e;
  --light: #fdf6ef;
  --disp: 'Smythe', 'Palatino Linotype', 'Times New Roman', serif;
  --body: 'Sintony', 'Segoe UI', Verdana, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.66;
  font-weight: 400;
}

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

h1, h2, h3 {
  font-family: var(--disp);
  font-weight: 400;
  line-height: 1.14;
  margin: 0 0 0.55em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1.05em; }

a { color: var(--velvet); text-decoration: none; }
a:hover { color: var(--velvet-deep); text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--velvet); color: var(--light); }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------------------------------------------------- drape band ---- */
.drape {
  height: 9px;
  background-image: repeating-linear-gradient(93deg,
      #4b0f1c 0 20px, #6e1f2e 20px 46px, #5a1423 46px 64px, #4b0f1c 64px 84px);
  border-bottom: 1px solid var(--gold);
}

/* -------------------------------------------------------- header ---- */
.site-header {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--disp);
  font-size: 27px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--gold);
}
.wordmark:hover { color: var(--velvet); text-decoration: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14.5px;
  letter-spacing: 0.015em;
}

.main-nav a { color: #2b2523; padding: 4px 0; }
.main-nav a:hover { color: #6e1f2e; text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--velvet); box-shadow: 0 2px 0 0 var(--gold); }

/* buttons: explicit colors here are the contrast contract (>=4.5:1) */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  padding: 11px 20px;
  border-radius: 3px;
  border: 1px solid rgba(79, 17, 30, 0.55);
  background-color: #6e1f2e;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
  color: #fdf6ef;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover {
  background-color: #c9a227;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  color: #241f1d;
  border-color: rgba(125, 98, 14, 0.55);
  text-decoration: none;
}
.btn-lg { font-size: 15.5px; padding: 14px 27px; }
.btn-sm { font-size: 13.5px; padding: 9px 16px; }

.main-nav a.btn { color: #fdf6ef; background-color: #6e1f2e; }
.main-nav a.btn:hover { color: #241f1d; background-color: #c9a227; }

/* ---------------------------------------------------------- hero ---- */
.hero { padding: 52px 0 36px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.hero-figure { margin: 0; position: relative; }

.hero-figure img {
  position: relative;
  z-index: 2;
  width: 100%;
  border: 1px solid rgba(201, 162, 39, 0.6);
  box-shadow: 0 22px 44px -26px rgba(43, 37, 35, 0.5);
}

/* the photo presses down on a draped velvet hem */
.fold-band {
  position: relative;
  z-index: 1;
  height: 62px;
  margin: -18px -16px 0;
  border-top: 1px solid var(--gold);
  border-radius: 0 0 6px 6px;
  background-image:
    linear-gradient(180deg, rgba(15, 3, 7, 0.5), rgba(15, 3, 7, 0) 46%, rgba(15, 3, 7, 0.38)),
    repeating-linear-gradient(94deg,
      #4b0f1c 0 12px, #7d2637 12px 40px, #5e1826 40px 58px, #4b0f1c 58px 78px);
}

.hero-copy .eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 14px;
}
.hero-copy h1 { font-size: 58px; margin-bottom: 0.3em; }
.hero-lead { font-size: 17.5px; color: var(--ink); max-width: 30em; }
.hero-note {
  margin: 22px 0 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.hero-note strong { color: var(--velvet); font-weight: 700; }

/* ------------------------------------------------------- sections ---- */
.section { padding: 62px 0; }
.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-panel { background: var(--bg-soft); }

.sec-head { margin-bottom: 34px; max-width: 760px; }
.sec-head .sec-num {
  display: inline-block;
  font-family: var(--disp);
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--gold-ink);
  margin-bottom: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
}
.sec-head h2 { font-size: 34px; margin-bottom: 0.35em; }
.sec-head .sec-lead { margin: 0; color: var(--muted); font-size: 16.5px; }

/* ------------------------------------------------------- partners ---- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  gap: 22px;
  justify-content: space-between;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 22px -18px rgba(43, 37, 35, 0.45);
  transition: border-color 0.18s ease;
}
.partner-card:hover { border-color: var(--gold); text-decoration: none; }
.partner-card img { width: auto; max-width: 196px; height: 88px; object-fit: contain; }

/* -------------------------------------------------- quick profile ---- */
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 52px;
}
.facts li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.facts .f-k {
  flex: 0 0 168px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--velvet);
}
.facts .f-k::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 2px;
  background: var(--gold);
  margin-right: 9px;
  vertical-align: middle;
}
.facts .f-v { color: var(--ink); }

/* ------------------------------------- about · the velvet folds ---- */
.folds-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: start;
}

.velvet-panel {
  background-image:
    linear-gradient(180deg, rgba(15, 3, 7, 0.42), rgba(15, 3, 7, 0) 40%, rgba(15, 3, 7, 0.3)),
    repeating-linear-gradient(97deg,
      #4f111e 0 14px, #7a2534 14px 42px, #5e1826 42px 62px, #4b0f1c 62px 84px);
  border: 1px solid var(--velvet-deep);
  border-radius: 4px;
  padding: 32px 30px 26px;
  color: var(--light);
  box-shadow: 0 18px 34px -24px rgba(43, 37, 35, 0.6);
}
.velvet-panel .pull {
  font-family: var(--disp);
  font-size: 25px;
  line-height: 1.34;
  margin: 0 0 16px;
  color: #fdf3ec;
}
.velvet-panel .pull-by {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ede0c0;
  border-top: 1px solid rgba(201, 162, 39, 0.65);
  padding-top: 12px;
}

.folds-prose p:last-child { margin-bottom: 0; }

/* ------------------------------------------- career · gold ticks ---- */
.thread {
  list-style: none;
  margin: 4px 0 0;
  padding: 0 0 0 4px;
  border-left: 2px solid var(--gold);
}
.thread li {
  position: relative;
  padding: 0 0 22px 30px;
}
.thread li:last-child { padding-bottom: 4px; }
.thread li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 11px;
  width: 16px;
  height: 2px;
  background: var(--gold);
}
.thread .t-when {
  display: block;
  font-family: var(--disp);
  font-size: 19px;
  color: var(--velvet);
  margin-bottom: 2px;
}
.thread .t-what { color: var(--ink); }

/* -------------------------------------------------------- gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}
.gallery-grid figure {
  margin: 0;
  padding: 9px;
  background: var(--panel);
  border: 1px solid var(--gold);
  border-radius: 3px;
  box-shadow: 0 14px 26px -22px rgba(43, 37, 35, 0.5);
}
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 0;
}
.gallery-grid .mat-label {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

/* --------------------------------------------------------- social ---- */
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 26px;
}
.social-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
}
.social-list a:hover {
  border-color: var(--gold);
  color: var(--velvet);
  text-decoration: none;
}
.social-list .s-plat {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--velvet);
}
.social-list .s-hand { color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------- footer ---- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--gold);
  padding: 30px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: 18px 30px;
  align-items: center;
}
.footer-brand .brand-name {
  display: block;
  font-family: var(--disp);
  font-size: 22px;
  color: var(--ink);
}
.footer-brand .brand-line { display: block; font-size: 13.5px; color: var(--muted); }
.language-nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.language-nav a { color: var(--velvet); }
.language-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.footer-legal { margin: 0; text-align: right; font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------ subpages ---- */
.page-top {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--line);
  padding: 50px 0 34px;
}
.page-top h1 { font-size: 46px; margin-bottom: 0.3em; }
.page-top .lead { max-width: 780px; color: var(--muted); font-size: 17px; margin: 0; }
.page-top .rule { width: 84px; height: 3px; background: var(--velvet); margin-top: 20px; }

.article { max-width: 800px; padding: 48px 0 10px; }
.article h2 { font-size: 29px; margin-top: 1.6em; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 21px; margin-top: 1.7em; margin-bottom: 0.4em; }
.article ul { padding-left: 22px; margin: 0 0 1.05em; }
.article li { margin-bottom: 0.4em; }
.article .meta-line {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.2em;
}
.article .wide { max-width: 980px; }

.quote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--gold);
}
.quote p {
  font-family: var(--disp);
  font-size: 21px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--ink);
}
.quote cite {
  font-style: normal;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.thread-article { margin-top: 1em; }

.table-wrap { overflow-x: auto; margin: 1.2em 0 1.8em; }
.film-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
}
.film-table th {
  text-align: left;
  font-family: var(--body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--velvet);
  padding: 10px 14px 10px 0;
  border-bottom: 2px solid var(--gold);
}
.film-table td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.film-table td:first-child { font-weight: 700; }

.studio-list {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
}
.studio-list li {
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.studio-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 1.4em 0 1.9em;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  padding: 16px 18px;
  min-width: 0;
}
.stat .stat-v {
  display: block;
  font-family: var(--disp);
  font-size: 33px;
  line-height: 1.05;
  color: var(--velvet);
}
.stat .stat-k {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}

.qa { margin: 0 0 1.9em; }
.qa h3 { margin-bottom: 0.45em; }
.qa p { margin: 0; color: var(--ink); }

/* ----------------------------------------------------------- 404 ---- */
.notfound {
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 0;
}
.notfound .code {
  font-family: var(--disp);
  font-size: 88px;
  line-height: 1;
  color: var(--velvet);
  margin-bottom: 10px;
}
.notfound h1 { font-size: 34px; }
.notfound p { color: var(--muted); max-width: 34em; margin: 0 auto 1.6em; }

/* ------------------------------------------------------ responsive -- */
@media (max-width: 1080px) {
  .hero-copy h1 { font-size: 48px; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-card { width: 100%; }
  .facts { gap: 0 34px; }
  .facts .f-k { flex-basis: 140px; }
}

@media (max-width: 900px) {
  .hero { padding: 40px 0 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-figure { max-width: 640px; }
  .fold-band { margin: -14px -12px 0; height: 54px; }
  .folds-grid { grid-template-columns: 1fr; gap: 30px; }
  .facts { grid-template-columns: 1fr; }
  .social-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { text-align: left; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .g-wide { grid-column: span 2; }
  .section { padding: 52px 0; }
  .sec-head h2 { font-size: 30px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .shell { padding: 0 18px; }
  .header-inner { padding: 13px 0; }
  .wordmark { font-size: 23px; }
  .main-nav { gap: 13px; font-size: 13.5px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-lead { font-size: 16px; }
  .fold-band { margin: -12px 0 0; height: 46px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .partner-card { height: 108px; }
  .partner-card img { max-width: 118px; height: 58px; }
  .facts li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .facts .f-k { flex: 0 0 auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .g-wide { grid-column: span 1; }
  .page-top h1 { font-size: 36px; }
  .thread li { padding-left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
