/* codivoreweb.com · Cello: body curves, deep chestnut.
   Grenze display / Golos Text body. Amber is an accent only. */

:root {
  --bg: #221812;
  --bg-deep: #1a120e;
  --panel: #2b1f18;
  --panel-2: #251a14;
  --ink: #e8e0d0;
  --ink-soft: #cfc3ad;
  --amber: #b8863e;
  --amber-bright: #d9ab68;
  --line: rgba(184, 134, 62, .26);
  --line-soft: rgba(232, 224, 208, .09);
  --shell: 1200px;
  --radius: 10px;
  --display: 'Grenze', 'Golos Text', Georgia, serif;
  --body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(70% 38% at 12% 6%, rgba(184, 134, 62, .11), transparent 68%),
    radial-gradient(48% 30% at 96% 62%, rgba(184, 134, 62, .07), transparent 70%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.005em;
  margin: 0 0 .55rem;
}
h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 .5rem;
}
.eyebrow .num { color: var(--amber); margin-right: .55rem; letter-spacing: .1em; }
.lead { color: var(--ink-soft); font-size: 1.06rem; max-width: 68ch; }
.section-sub { color: var(--ink-soft); max-width: 66ch; margin: .2rem 0 0; }
.note { color: var(--ink-soft); font-size: .9rem; margin-top: .9rem; max-width: 74ch; }

/* arc ornament: the shallow bout line under headings */
.arc-orn { display: block; width: 150px; height: 12px; margin: .75rem 0 0; }
.arc-orn path { fill: none; stroke: var(--amber); stroke-width: 1.6; opacity: .75; }

/* ------------------------------------------------------------- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.4rem;
  padding: .72rem 22px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark span { color: var(--amber); }
.main-nav {
  display: flex;
  align-items: center;
  gap: .35rem .95rem;
  flex-wrap: wrap;
}
.main-nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: .91rem;
  padding: .18rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 6px;
  border-top: 1px solid transparent;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transition: border-color .2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--amber); }
.main-nav a:hover::after,
.main-nav a:focus-visible::after { border-color: var(--amber); }
.main-nav a[aria-current="page"] { color: var(--amber); }
.main-nav a[aria-current="page"]::after { border-color: var(--amber); }

/* buttons · explicit override of the nav link colour, both states */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1;
  padding: .72rem 1.15rem;
  border-radius: 9px;
  color: #221812;
  background: var(--amber);
  border: 1px solid var(--amber);
  box-shadow: inset 0 0 0 2px var(--bg);
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover, .btn:focus-visible {
  color: #221812;
  background: var(--ink);
  border-color: var(--ink);
}
.main-nav a.btn {
  color: #221812;
  background: var(--amber);
  border-color: var(--amber);
  padding: .58rem 1rem;
}
.main-nav a.btn::after { display: none; }
.main-nav a.btn:hover,
.main-nav a.btn:focus-visible {
  color: #221812;
  background: var(--ink);
  border-color: var(--ink);
}

/* --------------------------------------------------------------- hero ---- */
.hero { padding: 46px 0 30px; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: 44px;
  align-items: center;
}
.hero-copy { max-width: 40ch; }
.hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 4.6rem);
  margin: 0 0 .3rem;
}
.hero-lead { color: var(--ink-soft); font-size: 1.08rem; margin: .7rem 0 1.4rem; max-width: 44ch; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-stats li { min-width: 120px; }
.hero-stats .stat-arc {
  display: block;
  width: 46px;
  height: 9px;
  border-top: 2px solid var(--amber);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  margin-bottom: .5rem;
}
.hero-stats .k {
  display: block;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-stats .v { display: block; font-weight: 600; }

/* hero photo framed by the cello's two side curves */
.hero-media { position: relative; padding: 0 26px; }
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(34, 24, 18, .8);
  position: relative;
  z-index: 2;
}
.hero-media .bout {
  position: absolute;
  top: 3%;
  bottom: 3%;
  width: 30px;
  height: 94%;
  z-index: 1;
}
.hero-media .bout path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.7;
  opacity: .8;
}
.hero-media .bout-l { left: -2px; }
.hero-media .bout-r { right: -2px; transform: scaleX(-1); }

/* ----------------------------------------------------------- sections ---- */
.section { padding: 52px 0; }
.section-alt { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 1.9rem; }

/* 01 partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.partner-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  transition: border-color .18s ease, transform .18s ease;
}
.partner-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.partner-card img { display: block; width: 100%; height: auto; border-radius: 6px; }

/* 02 quick profile: the two-column archive with a waist line between */
.vault {
  position: relative;
  background-color: var(--panel);
  background-image: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 30px 22px;
}
.vault .facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3.2rem;
  background-image: linear-gradient(var(--line), var(--line));
  background-size: 1px 100%;
  background-position: 50% 0;
  background-repeat: no-repeat;
  margin: 0;
}
.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.fact .k {
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fact .v { text-align: right; font-weight: 500; color: var(--ink); }
.vault .waist {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 58px;
}
.vault .waist path { fill: none; stroke: var(--amber); stroke-width: 2; opacity: .9; }

/* 03 about */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.about-body p { max-width: 66ch; }
.quote-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
}
.quote-card blockquote {
  margin: 0 0 .7rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.28;
  color: var(--ink);
}
.quote-card .src { color: var(--ink-soft); font-size: .88rem; }
.quote-card .arc-orn { margin-top: 1rem; }

/* 04 career at a glance: arc bullets */
.milestones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.milestone { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line-soft); }
.milestone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 18px;
  height: 8px;
  border-top: 2px solid var(--amber);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.milestone .when {
  display: block;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--amber-bright);
}
.milestone .what { color: var(--ink); }

/* 05 gallery: three columns */
.gallery { columns: 3; column-gap: 16px; }
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  break-inside: avoid;
  transition: border-color .18s ease;
}
.gallery img:hover { border-color: var(--amber); }

/* 06 social */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 2.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-grid li { border-bottom: 1px solid var(--line-soft); }
.social-grid a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px 0 12px 22px;
  position: relative;
  text-decoration: none;
}
.social-grid a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 7px;
  border-top: 2px solid var(--amber);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.social-grid .platform { color: var(--ink-soft); font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
.social-grid .handle { font-weight: 600; }
.social-grid a:hover .handle { color: var(--amber-bright); }
.social-grid a:hover::before { border-color: var(--amber-bright); }

/* ------------------------------------------------------------ subpages --- */
.page-top {
  padding: 48px 0 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(43, 31, 24, .75), rgba(34, 24, 18, 0));
}
.page-top h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); margin-bottom: .5rem; }
.block { margin: 0 0 2.4rem; }
.block h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.block p { max-width: 76ch; color: var(--ink); }
.block ul { max-width: 76ch; padding-left: 1.1rem; margin: .4rem 0 1rem; }
.block li { margin-bottom: .5rem; }

/* career timeline: arcs down the left edge */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 82ch; }
.timeline li {
  position: relative;
  padding: 0 0 20px 34px;
  border-left: 1px solid var(--line);
  margin-left: 8px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 6px;
  width: 19px;
  height: 9px;
  border-top: 2px solid var(--amber);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--bg);
}
.section-alt .timeline li::before { background: var(--bg-deep); }
.timeline .when {
  display: block;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--amber-bright);
  margin-bottom: .1rem;
}

/* award and filmography rows */
.rows { list-style: none; margin: 0; padding: 0; max-width: 86ch; }
.rows li {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 1.4rem;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.rows .term { color: var(--amber-bright); font-weight: 600; }
.studio-rows { list-style: none; margin: 0; padding: 0; max-width: 60ch; }
.studio-rows li {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.studio-rows .count { color: var(--ink-soft); white-space: nowrap; }

/* FAQ */
.faq-list { max-width: 84ch; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.faq-item h2 { font-size: clamp(1.1rem, 2vw, 1.32rem); margin-bottom: .45rem; }
.faq-item p { color: var(--ink); }

/* ------------------------------------------------------------- footer ---- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 30px 0 34px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem 2rem;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; justify-self: start; }
.brand-name { font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.brand-line { color: var(--ink-soft); font-size: .9rem; }
.language-nav { display: flex; gap: .95rem; flex-wrap: wrap; justify-self: center; }
.language-nav a { color: var(--ink); text-decoration: none; font-size: .92rem; }
.language-nav a:hover, .language-nav a:focus-visible { color: var(--amber); text-decoration: underline; }
.language-nav a[aria-current="page"] { color: var(--amber); }
.footer-legal { margin: 0; color: var(--ink-soft); font-size: .9rem; text-align: right; justify-self: end; }

/* --------------------------------------------------------- 404 + misc ---- */
.center-page { min-height: 100vh; display: flex; flex-direction: column; }
.center-page .shell { margin: auto; max-width: 620px; padding: 70px 22px; }
.center-page .code {
  font-family: var(--display);
  font-size: clamp(3.4rem, 9vw, 5.4rem);
  line-height: 1;
  color: var(--amber);
  margin: 0 0 .4rem;
}

/* ------------------------------------------------------------ mobile ---- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-copy { max-width: 56ch; }
  .hero-media { max-width: 520px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr auto; }
  .language-nav { justify-self: end; }
  .footer-legal { grid-column: 1 / -1; text-align: left; justify-self: start; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .section { padding: 40px 0; }
  .gallery { columns: 2; column-gap: 12px; }
  .gallery img { margin-bottom: 12px; }
  .milestones { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vault { padding: 20px 20px 18px; }
  .vault .facts { grid-template-columns: minmax(0, 1fr); background-image: none; }
  .vault .waist { display: none; }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
}
@media (max-width: 560px) {
  .header-inner { gap: .6rem .9rem; padding: .7rem 18px; }
  .main-nav { gap: .3rem .8rem; }
  .main-nav a { font-size: .88rem; }
  .partner-grid { grid-template-columns: minmax(0, 1fr); }
  .social-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { columns: 1; }
  .language-nav { justify-self: start; }
  .hero { padding: 30px 0 22px; }
  .hero-media { padding: 0 18px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .page-top { padding: 34px 0 22px; }
}
