/* cadenceluxweb.com · Sonata */
:root {
  --ivory: #FAF7F1;
  --card: #FFFDF9;
  --ink: #1B2A38;
  --ink-soft: #3B4B5A;
  --ink-mute: #6E7B87;
  --gold: #C49A3C;
  --staff: #DDD8CE;
  --shell: 1140px;
  --display: 'Vollkorn', Georgia, 'Times New Roman', serif;
  --body: 'Krub', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: #FAF7F1; }
body {
  margin: 0;
  background: var(--ivory);
  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 26px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.18; margin: 0 0 .55rem; }
p { margin: 0 0 1rem; }
.eyebrow {
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 .5rem;
}
.eyebrow .num { color: var(--gold); margin-right: .6rem; letter-spacing: .12em; }
.sec-sub { color: var(--ink-mute); max-width: 58ch; margin: .9rem 0 1.6rem; }
.note { color: var(--ink-mute); font-size: .88rem; margin: 1.1rem 0 0; }
.staff-rule {
  height: 5px;
  background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 2px);
  opacity: .85;
}

/* wave marks */
.wave { display: inline-flex; align-items: center; gap: 3px; height: 34px; }
.wave i { display: block; width: 2px; border-radius: 1px; background: var(--staff); }
.wave i.hot { background: var(--gold); }
.wave-sm { height: 20px; gap: 2.5px; }
.wave-sm i { width: 1.5px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 241, .93);
               border-bottom: 1px solid var(--staff); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.2rem; padding: .78rem 26px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display);
            font-weight: 700; font-size: 1.14rem; letter-spacing: -.01em; text-decoration: none; }
.mark { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 14px; }
.mark i { display: block; width: 2px; background: var(--gold); border-radius: 1px; }
.mark i:nth-child(1) { height: 55%; }
.mark i:nth-child(2) { height: 100%; }
.mark i:nth-child(3) { height: 72%; }
.main-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.main-nav a { color: var(--ink-soft); text-decoration: none; font-size: .9rem; padding: .1rem 0; }
.main-nav a.btn { color: var(--ivory); padding: .4rem .9rem; }
.main-nav a.btn:hover { color: #1B2A38; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center;
       background: var(--ink); color: var(--ivory); font-weight: 500; font-size: .92rem;
       border: 1px solid var(--ink); border-radius: 2px; padding: .62rem 1.15rem;
       text-decoration: none; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover { background: var(--gold); border-color: var(--gold); color: #1B2A38; }
.btn-sm { padding: .4rem .9rem; font-size: .84rem; }
.btn-lg { padding: .82rem 1.7rem; font-size: 1rem; letter-spacing: .02em; }

/* hero */
.hero { padding: 1.3rem 0 1.6rem; }
.hero-inner { text-align: center; }
.hero-mark { margin: 0 auto .55rem; }
.hero-mark .wave { height: 28px; }
.hero-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
               color: var(--ink-mute); margin: 0 0 .6rem; }
.hero-name { font-size: clamp(2.7rem, 6.4vw, 4.5rem); font-weight: 700; line-height: 1;
             margin: 0 0 .6rem; letter-spacing: -.02em; }
.hero-tagline { font-family: var(--display); font-size: clamp(1.05rem, 2.2vw, 1.3rem);
                color: var(--ink-soft); max-width: 40ch; margin: 0 auto .7rem; }
.hero-intro { color: var(--ink-mute); font-size: .97rem; max-width: 66ch; margin: 0 auto 1.1rem; }
.hero-action { margin: 0 0 1.25rem; }
.frame { margin: 0; background: var(--card); border: 1px solid var(--staff); padding: 9px; }
.frame img { display: block; width: 100%; height: auto; border: 1px solid var(--staff); }
.hero-figure { max-width: 440px; margin: 0 auto; box-shadow: 0 22px 48px rgba(27, 42, 56, .1); }
.hero-figure img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 12%; }

/* sections */
.section { padding: 2.9rem 0; }
.section-tight { padding-top: 1.1rem; }
.section-last { padding-bottom: 4rem; }
.sec-head { margin-bottom: 1.5rem; }
.sec-head .wave { margin: .35rem 0 .2rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 18px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                padding: 12px; background: var(--card); border: 1px solid var(--staff);
                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--gold); box-shadow: 0 12px 26px rgba(27, 42, 56, .1);
                      transform: translateY(-2px); }
.partner-card img { width: 100%; height: 100%; object-fit: contain; }

/* quick profile */
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.4rem;
              list-style: none; margin: 0; padding: 0; }
.fact { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
        padding: .72rem .1rem .78rem; border-bottom: 1px solid var(--staff);
        box-shadow: 0 4px 0 -3px rgba(221, 216, 206, .6); }
.fact .k { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
           color: var(--ink-mute); }
.fact .v { text-align: right; }

/* about */
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 2.6rem; align-items: start; }
.about-figure { max-width: 420px; }
.about-figure img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.about-cols { columns: 2; column-gap: 2.2rem; }
.about-cols p { color: var(--ink-soft); break-inside: avoid; margin: 0 0 1.05rem; }
.quote { margin: 1.2rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--staff); }
.quote p { font-family: var(--display); font-size: 1.12rem; line-height: 1.5; color: var(--ink);
           margin: 0 0 .4rem; }
.quote cite { font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
              color: var(--ink-mute); }

/* career */
.career-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.8rem; align-items: start; }
.career-text p { color: var(--ink-soft); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 0 1rem;
               padding: 0 0 1.25rem; }
.timeline li::before { content: ""; position: absolute; left: 12px; top: 24px; bottom: 0;
                       width: 1px; background: var(--staff); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.tl-node { grid-row: 1 / span 2; display: inline-flex; align-items: flex-end; gap: 1.5px;
           height: 16px; margin-top: .3rem; }
.tl-node i { display: block; width: 2px; background: var(--gold); border-radius: 1px; opacity: .85; }
.timeline .when { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
                  color: var(--ink-mute); margin-bottom: .12rem; }
.timeline .what { color: var(--ink-soft); font-size: .96rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.g-q { grid-area: auto; }
.gallery .g-a { grid-column: 1 / 7; }
.gallery .g-b { grid-column: 7 / 13; margin-top: 42px; }
.gallery .g-c { grid-column: 3 / 11; }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; }
.gallery .g-c img { object-position: center 26%; }

/* social */
.social-list { border-top: 1px solid var(--staff); }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
              padding: 1rem .2rem; border-bottom: 1px solid var(--staff); text-decoration: none;
              transition: padding .2s ease, background .2s ease, box-shadow .2s ease; }
.social-row .platform { font-family: var(--display); font-size: clamp(1.05rem, 2.2vw, 1.32rem);
                        font-weight: 600; }
.social-row .handle { color: var(--ink-mute); font-size: .92rem; }
.social-row:hover { background: #F4EFE4; box-shadow: inset 3px 0 0 var(--gold); padding-left: .8rem; }
.social-row:hover .platform { color: var(--ink); }

/* subpages */
.page-top { padding: 2.4rem 0 1.5rem; text-align: center; border-bottom: 1px solid var(--staff);
            margin-bottom: 2.5rem; }
.page-top h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.05; margin: .2rem 0 .7rem; }
.page-top .wave { margin: .2rem auto .6rem; }
.page-top .lead { color: var(--ink-mute); max-width: 64ch; margin: 0 auto; }
.reading { max-width: 60ch; }
.story { margin: 0 0 2.6rem; }
.story h2 { font-size: clamp(1.22rem, 2.4vw, 1.5rem); margin: 0 0 .8rem; }
.story h2::after { content: ""; display: block; width: 34px; height: 1px; background: var(--gold);
                   margin-top: .55rem; }
.story p { color: var(--ink-soft); }
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { color: var(--ink-soft); padding: .7rem 0 .7rem 1.15rem; position: relative;
                border-bottom: 1px solid var(--staff); }
.rule-list li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 5px; height: 5px;
                        border-radius: 50%; background: var(--gold); }
.credit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 2.4rem; margin-top: 1.2rem; }
.credit-col h3 { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
                 color: var(--ink-mute); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--ink-soft); font-size: .93rem; padding: .34rem 0;
                 border-bottom: 1px solid var(--staff); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.stat { border: 1px solid var(--staff); background: var(--card); padding: .9rem 1.2rem; min-width: 150px; }
.stat b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.stat span { color: var(--ink-mute); font-size: .85rem; }
.faq-list details { border-bottom: 1px solid var(--staff); padding: 1.05rem 0; }
.faq-list summary { font-family: var(--display); font-size: 1.08rem; line-height: 1.4; 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(--gold); font-family: var(--body);
                           transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer p { color: var(--ink-soft); margin: .75rem 0 0; }

/* footer */
.site-footer { padding: 0 0 2.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 1.2rem; align-items: center;
               padding-top: 1.7rem; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 700; }
.brand-line { color: var(--ink-mute); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .95rem; justify-content: center; }
.language-nav a { color: var(--ink-mute); text-decoration: none; font-size: .87rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--gold); }
.footer-legal { color: var(--ink-mute); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4.2rem 0 5rem; text-align: center; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .3rem 0 .9rem; }
.notfound .lead { color: var(--ink-mute); max-width: 56ch; margin: 0 auto 1.6rem; }
.notfound .wave { margin: .2rem auto .8rem; }

@media (max-width: 1020px) {
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.9rem; }
  .about-cols { columns: 1; }
  .about-figure { max-width: 360px; }
  .gallery .g-c { grid-column: 2 / 12; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .5rem 1rem; }
  .main-nav { gap: .55rem .8rem; }
  .main-nav a { font-size: .84rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 128px; }
  .facts-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-a, .gallery .g-b, .gallery .g-c { grid-column: auto; margin-top: 0; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .15rem; }
  .section { padding: 2.3rem 0; }
  .hero { padding-top: 1.5rem; }
}
@media (max-width: 420px) {
  .partner-grid { grid-template-columns: 1fr; }
}
