/* cascaakashovaweb.com · Matryoshka design system */
:root {
  --paper: #fbf7f2;
  --panel: #fffdf9;
  --panel-2: #f7efe6;
  --ink: #2e3a4d;
  --navy: #243b55;
  --muted: #6b6660;
  --red: #b3342e;
  --red-dark: #8e2823;
  --gold: #c9a227;
  --line: #ecdfcd;
  --line-soft: #e6d4bd;
  --radius-frame: 22px 22px 8px 8px;
  --shell: 1120px;
  --display: 'Ruslan Display', 'Ruda', serif;
  --body: 'Ruda', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    repeating-radial-gradient(circle at 50% -8%, rgba(201, 162, 39, .05) 0 1px, rgba(0, 0, 0, 0) 1px 120px),
    radial-gradient(circle at 10% 8%, rgba(179, 52, 46, .035), rgba(0, 0, 0, 0) 44%),
    radial-gradient(circle at 90% 34%, rgba(36, 59, 85, .035), rgba(0, 0, 0, 0) 42%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100% 1400px, auto, auto;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
h1, h2 { color: var(--navy); margin: 0; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.25rem); line-height: 1.08; letter-spacing: .01em; }
h2 { font-family: var(--body); font-weight: 700; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.12rem; color: var(--navy); margin: 0 0 .5rem; }
.eyebrow { font-family: var(--body); font-weight: 600; font-size: .72rem; letter-spacing: .22em;
           text-transform: uppercase; color: var(--red); margin: 0 0 .7rem; }
.section-sub { color: var(--muted); max-width: 60ch; margin: .6rem auto 0; }
.note { color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }
.sec-head { text-align: center; margin-bottom: 1.9rem; }
.sec-head .section-sub { margin-left: auto; margin-right: auto; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(9px);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .82rem 24px; }
.wordmark {
  font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--navy);
  text-decoration: none; white-space: nowrap; padding: 0 .7rem; order: 0;
}
.main-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.nav-left { justify-self: end; justify-content: flex-end; }
.nav-right { justify-self: start; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: .88rem; padding: .18rem 0; position: relative; }
.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { color: var(--red); font-weight: 600; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); border-radius: 2px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #ffffff; font-family: var(--body); font-weight: 600; font-size: .95rem;
  border-radius: 999px; padding: .68rem 1.35rem; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--red-dark); color: #ffffff; transform: translateY(-1px); }
.btn-sm { padding: .42rem 1rem; font-size: .84rem; }
.main-nav a.btn { color: #ffffff; }
.main-nav a.btn:hover { color: #ffffff; }

/* hero */
.hero { padding: 2.1rem 0 1.8rem; }
.hero-inner { text-align: center; }
.badge {
  display: inline-block; margin: 0 0 .85rem; padding: .42rem 1.05rem;
  border: 1px solid var(--gold); border-radius: 999px;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.hero-title { margin: 0 0 .7rem; }
.hero-tagline { font-size: 1.06rem; color: var(--muted); max-width: 52ch; margin: 0 auto 1.15rem; }
.hero-photo {
  max-width: 960px; margin: 0 auto; border-radius: var(--radius-frame);
  overflow: hidden; border: 1px solid var(--line); background: var(--panel-2);
  box-shadow: 0 26px 60px rgba(74, 55, 35, .14), 0 4px 14px rgba(74, 55, 35, .08);
}
.hero-photo img { display: block; width: 100%; height: clamp(300px, 44vw, 540px); object-fit: cover; object-position: center 12%; }
.hero-intro { max-width: 64ch; margin: 1.05rem auto 0; color: var(--ink); }
.hero-cta { margin: 1rem 0 0; }

/* sections */
.section { padding: 3.2rem 0; border-top: 1px solid var(--line); }
.section-tight { border-top: 0; padding-top: 1.5rem; }
.section-last { padding-bottom: 4.6rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px; justify-content: center; }
.partner-card {
  display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
  border: 1px solid var(--line); border-radius: 16px 16px 6px 6px; background: var(--panel);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.partner-card:hover { border-color: var(--gold); box-shadow: 0 10px 26px rgba(74, 55, 35, .12); transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile */
.profile-panel {
  max-width: 900px; margin: 0 auto; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius-frame);
  outline: 1px dashed var(--line-soft); outline-offset: -10px;
  padding: 1.35rem;
}
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.fact { border: 1px dashed var(--line-soft); margin: -.5px; padding: 1.05rem .9rem; text-align: center; }
.fact .k { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: .32rem; }
.fact .v { display: block; font-size: .97rem; color: var(--navy); font-weight: 500; line-height: 1.35; }

/* about: layered story */
.about-stack { max-width: 1020px; margin: 0 auto; }
.about-row { display: grid; grid-template-columns: 1.14fr .86fr; gap: 2.5rem; align-items: center; }
.about-row.rev { grid-template-columns: .86fr 1.14fr; }
.about-row.rev .about-copy { order: 2; }
.about-row.rev .about-photo, .about-row.rev .orn { order: 1; }
.about-copy p { color: var(--ink); margin: 0 0 1rem; }
.about-copy p:last-child { margin-bottom: 0; }
.layer { display: flex; align-items: center; gap: .6rem; font-family: var(--body); font-weight: 700;
         font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--navy);
         margin: 0 0 .55rem !important; }
.layer::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.about-photo { margin: 0; border-radius: var(--radius-frame); overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.orn { position: relative; min-height: 400px; border: 1px solid var(--line); border-radius: var(--radius-frame); background: var(--panel-2); overflow: hidden; }
.orn-rings::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 50% 47%, #f7efe6 0 24px, #e8d7c0 24px 25.5px, #f7efe6 25.5px 50px, #ddc6a8 50px 51.5px);
}
.orn-rings::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 47%, rgba(179, 52, 46, .14), rgba(179, 52, 46, 0) 36%);
}
.ring-core {
  position: absolute; left: 50%; top: 47%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px;
  border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(179, 52, 46, .14);
}
.orn-dolls { display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding: 44px 26px 36px; }
.doll { position: relative; display: block; border-radius: 50% 50% 44% 44% / 60% 60% 40% 40%; }
.doll::after {
  content: ""; position: absolute; left: 50%; top: 15%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%;
}
.d1 { width: 56px; height: 102px; border: 1.5px dashed var(--gold); }
.d1::after { background: var(--gold); }
.d2 { width: 86px; height: 150px; border: 1.5px solid var(--red); }
.d2::after { background: var(--red); }
.d3 { width: 118px; height: 198px; border: 1.5px solid #ccb08a; }
.d3::after { background: #ccb08a; }
.seam { display: flex; align-items: center; gap: 10px; margin: 2.6rem 0; }
.seam::before, .seam::after { content: ""; flex: 1; border-top: 1px dashed var(--line-soft); }
.seam span { display: block; border-radius: 50%; background: var(--line-soft); }
.seam span:nth-child(1) { width: 6px; height: 6px; }
.seam span:nth-child(2) { width: 10px; height: 10px; background: var(--gold); }
.seam span:nth-child(3) { width: 6px; height: 6px; }
.pull-quote { max-width: 780px; margin: 3rem auto 0; text-align: center; }
.pull-quote blockquote {
  margin: 0; font-size: clamp(1.12rem, 2.3vw, 1.4rem); line-height: 1.55; color: var(--navy);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.6rem 0;
}
.quote-attr { color: var(--muted); font-size: .85rem; margin: .8rem 0 0; }

/* career */
.career-cols { display: grid; grid-template-columns: 1.06fr .94fr; gap: 2.6rem; align-items: start; max-width: 1020px; margin: 0 auto; }
.career-text p { color: var(--ink); margin: 0 0 1.05rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 1px dashed var(--line-soft); }
.timeline li { position: relative; padding: 0 0 1.15rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -1.4rem; top: .5em; width: 8px; height: 8px; margin-left: -4.5px;
  border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(179, 52, 46, .12);
}
.timeline .when { font-weight: 700; color: var(--navy); }
.timeline .what { color: var(--ink); }
.awards-block { max-width: 860px; margin: 2.6rem auto 0; }
.awards-block h3 { text-align: center; margin-bottom: 1rem; }
.award-list { list-style: none; margin: 0; padding: 0; }
.award-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.6rem; padding: .78rem .15rem; border-bottom: 1px dashed var(--line-soft); }
.award-text { color: var(--ink); }
.award-year { color: var(--red); font-weight: 700; font-variant-numeric: tabular-nums; flex: none; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius-frame); overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); }
.gallery img { display: block; width: 100%; }
.g-tall img { height: 540px; object-fit: cover; object-position: center 14%; }
.g-tall-2 img { object-position: center 18%; }
.g-wide { grid-column: 1 / -1; }
.g-wide img { height: auto; }

/* social */
.social-wrap { max-width: 760px; margin: 0 auto; }
.social-list { list-style: none; margin: 0; padding: 0; }
.social-list li { border-bottom: 1px dashed var(--line-soft); }
.social-list li:first-child { border-top: 1px dashed var(--line-soft); }
.social-item { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; padding: 1rem .4rem 1rem 1.35rem; text-decoration: none; position: relative; transition: padding .18s ease, background .18s ease; }
.social-item::before {
  content: ""; position: absolute; left: .2rem; top: 1.45rem; width: 9px; height: 9px;
  border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(179, 52, 46, .1);
}
.social-item .platform { font-weight: 700; color: var(--navy); font-size: 1.04rem; }
.social-item .handle { color: var(--muted); font-size: .92rem; }
.social-item:hover { background: rgba(201, 162, 39, .08); }
.social-item:hover .platform { color: var(--red); }

/* subpages */
.page-top { text-align: center; padding: 3rem 0 2.2rem; border-bottom: 1px solid var(--line); }
.page-top h1 { margin: .1rem 0 .9rem; }
.page-top .lead { color: var(--muted); max-width: 60ch; margin: 0 auto; }
.reading { max-width: 78ch; margin: 0 auto; padding: 2.6rem 0 1rem; }
.story { margin: 0 0 2.6rem; }
.story h2 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); margin: 0 0 .8rem; }
.story p { color: var(--ink); margin: 0 0 1rem; }
.studio-list { list-style: none; margin: .4rem 0 0; padding: 0; }
.studio-list li { padding: .5rem .2rem .5rem 1.2rem; position: relative; border-bottom: 1px dashed var(--line-soft); color: var(--ink); }
.studio-list li::before { content: ""; position: absolute; left: .15rem; top: 1.1em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: 14px; margin: 0; padding: 0; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px 16px 6px 6px; padding: 1rem .95rem; text-align: center; }
.stat b { display: block; font-size: 1.5rem; color: var(--red); }
.stat span { color: var(--muted); font-size: .84rem; line-height: 1.35; display: block; }
.credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; margin-top: .6rem; }
.credit-col h3 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 .45rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--ink); font-size: .94rem; padding: .38rem 0; border-bottom: 1px dashed var(--line-soft); }
.faq-list details { border-bottom: 1px dashed var(--line-soft); padding: 1.05rem 0; }
.faq-list details:first-of-type { border-top: 1px dashed var(--line-soft); }
.faq-list summary { font-weight: 600; font-size: 1.04rem; line-height: 1.4; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--red); font-weight: 700; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer p { color: var(--ink); margin: .7rem 0 0; max-width: 72ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #f4ece1; padding: 2.1rem 0 2.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr auto 1.1fr; gap: 1.2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: .15rem; }
.brand-name { font-family: var(--display); font-size: 1.14rem; color: var(--navy); }
.brand-line { color: var(--muted); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .95rem; justify-content: center; }
.language-nav a { color: var(--ink); text-decoration: none; font-size: .86rem; }
.language-nav a:hover { color: var(--red); }
.language-nav a[aria-current="page"] { color: var(--red); font-weight: 600; }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 5rem; text-align: center; }
.notfound .orn { max-width: 340px; margin: 0 auto 2rem; min-height: 300px; }

@media (max-width: 1020px) {
  .about-row, .about-row.rev { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-row.rev .about-copy { order: 0; }
  .about-row.rev .about-photo, .about-row.rev .orn { order: 0; }
  .orn { min-height: 300px; }
  .career-cols { grid-template-columns: 1fr; gap: 1.8rem; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-header { position: static; }
  .header-inner { grid-template-columns: 1fr; justify-items: center; gap: .5rem; padding: .75rem 18px; }
  .wordmark { order: -1; font-size: 1.16rem; padding: 0; }
  .nav-left, .nav-right { justify-self: center; justify-content: center; gap: .55rem 1rem; }
  .main-nav a { font-size: .82rem; }
  .btn-sm { padding: .38rem .9rem; font-size: .8rem; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { text-align: left; padding: .85rem .7rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 124px; }
  .partner-card img { max-width: 138px; max-height: 56px; }
  .gallery { grid-template-columns: 1fr; }
  .g-tall img { height: auto; aspect-ratio: 4 / 5; }
  .g-wide img { aspect-ratio: auto; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-item { flex-direction: column; gap: .1rem; padding-left: 1.2rem; }
  .social-item::before { top: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; text-align: left; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .section { padding: 2.4rem 0; }
  .award-row { gap: .8rem; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}
