/* ==========================================================================
   cumatozzweb.com : Tassel design
   Reenie Beanie (display) + Ranade (body)
   Off-white base, amber and tassel red accents
   ========================================================================== */

:root {
  --bg: #faf7f0;
  --panel: #f6f0e4;
  --ink: #2f2a24;
  --ink-soft: #5a5148;
  --amber: #b88a4a;
  --amber-deep: #8a6530;
  --tassel: #a85a4a;
  --tassel-deep: #8f4a3c;
  --deep: #2e2721;
  --cream: #f2ead9;
  --line: #e3d8c4;
  --card: #fffdf8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Ranade', system-ui, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--tassel-deep); }
a:hover { color: var(--tassel); }

h1, h2, .brand, .brand-name {
  font-family: 'Reenie Beanie', 'Segoe Script', cursive;
  font-weight: 400;
  letter-spacing: .01em;
}

h1 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.04; margin: 0 0 14px; }
h2 { font-size: clamp(29px, 3vw, 40px); line-height: 1.1; margin: 0 0 16px; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; }

.shell { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  padding-top: 6px;
}
.brand:hover { color: var(--tassel-deep); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 3px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover { color: var(--tassel); }

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

/* buttons: explicit overrides after the nav rules so the CTA keeps its
   own colours in both states (.main-nav a.btn / :hover win on order) */
.btn {
  display: inline-block;
  background: var(--amber);
  color: #2b2117;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.2;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
}
.btn:hover { background: var(--tassel); color: #faf7f0; }

.btn-sm { padding: 8px 15px 7px; font-size: 14px; border-radius: 8px; }

.main-nav a.btn {
  color: #2b2117;
  background: var(--amber);
  border-bottom: none;
}
.main-nav a.btn:hover {
  color: #faf7f0;
  background: var(--tassel);
}

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

.hero { padding: 42px 0 6px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 26px 52px;
  align-items: center;
}

.hero-copy { order: 1; }
.hero-photo { order: 2; margin: 0; }

.hero-photo img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.tassel-hero { display: block; margin: 0 0 6px -8px; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 700;
}

.lead {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.6;
}

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

.section { padding: 30px 0; }

.section-label {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 700;
}

/* 01 partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.partner-card:hover { border-color: var(--amber); }

.partner-card img {
  display: block;
  width: 100%;
  max-width: 250px;
  height: 128px;
  object-fit: contain;
}

/* 02 quick profile: three hanging tassel cards */
.tassel-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 16px;
}

.tcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px 22px 20px;
}

.tcard svg { display: block; margin: 0 auto 2px; }

.tcard h3 {
  text-align: center;
  font-family: 'Reenie Beanie', 'Segoe Script', cursive;
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 12px;
}

.facts { margin: 0; }
.facts dt {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 700;
  margin: 12px 0 2px;
}
.facts dd { margin: 0; font-size: 15.5px; line-height: 1.5; }

/* 03 about */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 44px; }
.duo p { margin: 0; }

/* 04 digest */
.digest { list-style: none; margin: 4px 0 0; padding: 0; max-width: 860px; }
.digest li {
  position: relative;
  padding: 0 0 14px 34px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 14px;
}
.digest li:last-child { border-bottom: none; margin-bottom: 0; }
.digest li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tassel);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--amber);
}
.digest .when { font-weight: 700; color: var(--amber-deep); }

/* 05 gallery: wide lead plus a two by two grid */
.gallery-wrap { max-width: 940px; margin: 16px auto 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--card);
}

.gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }

.g-wide { grid-column: 1 / -1; aspect-ratio: 1200 / 560; }
.g-tile { aspect-ratio: 1 / 1; }

/* 06 social */
.social-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 4px 30px;
}

.social-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 2px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.social-list a:hover { color: var(--tassel); border-bottom-color: var(--tassel); }
.social-list .pf { font-weight: 700; font-size: 15.5px; }
.social-list .hdl { color: var(--ink-soft); font-size: 14.5px; }

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

.page-top { padding: 38px 0 2px; }

.reading { max-width: 780px; margin: 0 auto; }

.story { margin: 0 0 26px; }
.story h2 { font-size: 31px; margin: 0 0 10px; }
.story p { margin: 0 0 14px; }

/* career: the hanging tassel cord */
.timeline { list-style: none; margin: 10px 0 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--amber), var(--tassel));
}
.timeline li { position: relative; padding: 0 0 26px 48px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tassel);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--amber);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 24px;
  width: 9px;
  height: 15px;
  background: repeating-linear-gradient(90deg, var(--tassel) 0 1.6px, rgba(168, 90, 74, 0) 1.6px 4.2px);
}
.timeline .when {
  display: block;
  font-weight: 700;
  color: var(--amber-deep);
  font-size: 15.5px;
  letter-spacing: .02em;
}
.timeline .what { display: block; margin-top: 2px; }

/* filmography */
.stats { display: grid; grid-template-columns: minmax(130px, 190px) 1fr; gap: 0 26px; margin: 12px 0 0; }
.stats dt {
  font-weight: 700;
  color: var(--amber-deep);
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.stats dd { margin: 0; border-top: 1px solid var(--line); padding: 12px 0; }

.titles { list-style: none; margin: 12px 0 0; padding: 0; }
.titles li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}
.titles .t-name { font-weight: 700; }
.titles .t-views { color: var(--ink-soft); font-size: 14.5px; white-space: nowrap; }

/* faq */
.qa { border-top: 1px solid var(--line); padding: 18px 0 6px; }
.qa h3 { font-family: 'Ranade', system-ui, sans-serif; font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.qa p { margin: 0 0 10px; }

/* ----------------------------------------------------------------- 404 -- */

.notfound { padding: 90px 0 110px; text-align: center; }
.notfound h1 { font-size: clamp(52px, 7vw, 88px); }
.notfound p { max-width: 560px; margin: 0 auto 26px; color: var(--ink-soft); }

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

.site-footer {
  background: var(--deep);
  color: var(--cream);
  margin-top: 64px;
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px 34px;
  align-items: center;
}

.brand-name { display: block; font-size: 29px; line-height: 1.1; color: #f7efdd; }
.brand-line { display: block; margin-top: 4px; font-size: 14.5px; color: #d9cdb4; }

.language-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.language-nav a {
  color: #e6dcc7;
  text-decoration: none;
  font-size: 14.5px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.language-nav a:hover { color: #dfb98a; }
.language-nav a[aria-current="page"] { border-bottom-color: #b88a4a; }

.footer-legal { margin: 0; text-align: right; font-size: 14.5px; color: #e8dfcd; }

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

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-photo { order: 1; }
  .hero-copy { order: 2; }
  .hero-photo img { max-height: 460px; }
  .tassel-cards { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .main-nav { gap: 6px 16px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-card { height: 128px; }
  .partner-card img { height: 104px; }
  .tassel-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stats dt { border-top: 1px solid var(--line); padding-bottom: 0; }
  .stats dd { border-top: none; padding-top: 2px; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .titles li { flex-wrap: wrap; gap: 2px 18px; }
}

@media (max-width: 460px) {
  .shell { padding: 0 18px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-wide { grid-column: auto; }
  .main-nav { font-size: 15px; }
}
