/* crystalknightweb.com · Silk */
:root {
  --bg: #f8f6f4;
  --panel: #fffdfc;
  --header-bg: #fcfaf9;
  --footer-bg: #f4ebef;
  --ink: #5a3a52;
  --soft: #6b4a63;
  --muted: #6f5468;
  --accent: #d8a8c0;
  --accent-deep: #8a4f74;
  --plum: #5a3a52;
  --plum-deep: #3f2140;
  --nav: #6f5468;
  --nav-hover: #3f2440;
  --btn-ink: #fdf7fa;
  --btn-hover-ink: #3f2140;
  --line: #ece0e5;
  --line-strong: #d9c5cf;
  --radius-a: 4px 20px 4px 20px;
  --shell: 1150px;
  --display: 'Sacramento', 'Segoe Script', cursive;
  --body: 'David Libre', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.72;
  -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 { font-family: var(--display); font-weight: 400; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); line-height: 1.1; margin: 0 0 .6rem; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
           color: var(--accent-deep); margin: 0 0 .45rem; }
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.7rem; }
.note { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }
.silk-rule { display: block; width: 190px; height: 14px; margin: .35rem 0 .9rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg);
               border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.2rem; padding: .62rem 26px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.55rem; line-height: 1.1;
            color: var(--ink); text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a { color: var(--nav); text-decoration: none; font-size: .93rem; padding: .12rem 0;
              border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--nav-hover); border-bottom-color: var(--accent); }
.main-nav a[aria-current="page"] { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }
/* CTA override: .main-nav a wins on specificity, button colours must be explicit */
.main-nav a.btn { color: var(--btn-ink); background: var(--plum); border-bottom: none; }
.main-nav a.btn:hover { color: var(--btn-hover-ink); background: var(--accent); }
.btn { display: inline-flex; align-items: center; background: var(--plum); color: var(--btn-ink);
       font-family: var(--body); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
       border-radius: var(--radius-a); padding: .68rem 1.35rem; text-decoration: none;
       box-shadow: 0 10px 24px rgba(90, 58, 82, .18);
       transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn:hover { background: var(--accent); color: var(--btn-hover-ink);
             box-shadow: 0 12px 26px rgba(216, 168, 192, .35); transform: translateY(-1px); }
.btn-sm { padding: .38rem .9rem; font-size: .86rem; }
a:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }

/* hero */
.hero { position: relative; padding: 2rem 0 2.1rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
           background:
             radial-gradient(58% 46% at 50% 0%, rgba(216, 168, 192, .28), rgba(248, 246, 244, 0) 72%),
             radial-gradient(40% 30% at 12% 30%, rgba(216, 168, 192, .16), rgba(248, 246, 244, 0) 70%);
           }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -20px; width: 100%; height: 180px; opacity: .8; }
.hero-inner { position: relative; text-align: center; max-width: 780px; margin: 0 auto; }
.hero-kicker { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase;
               color: var(--accent-deep); margin: 0 0 .7rem; }
.hero-title { font-size: clamp(3.6rem, 8vw, 5rem); line-height: .95; margin: 0 0 .5rem; }
.hero-line { color: var(--soft); font-size: 1.08rem; max-width: 46ch; margin: 0 auto .6rem; }
.hero-intro { color: var(--muted); max-width: 62ch; margin: 0 auto 1.25rem; }
.hero-figure { position: relative; width: min(306px, 74vw); margin: 2rem auto 0; }
.hero-figure img { position: relative; z-index: 1; display: block; width: 100%; height: auto;
                   border-radius: var(--radius-a); border: 1px solid var(--line-strong);
                   box-shadow: 0 26px 60px rgba(90, 58, 82, .2), 0 0 0 9px var(--panel), 0 0 0 10px var(--line-strong); }
.ribbon { position: absolute; left: -9%; width: 118%; height: 46px; z-index: 0; }
.ribbon-top { top: -30px; }
.ribbon-bottom { bottom: -30px; }

/* sections */
.section { padding: 3rem 0; }
.section-tight { padding-top: .8rem; }
.section-last { padding-bottom: 4.4rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, 250px); gap: 18px;
                justify-content: center; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--line); border-radius: var(--radius-a); background: var(--panel);
                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--line-strong); box-shadow: 0 14px 30px rgba(90, 58, 82, .14);
                      transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* archive (silk edge, two columns) */
.archive { position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius-a);
           background: linear-gradient(180deg, #fffefd, #fbf3f7); padding: 2.4rem 2.6rem 2.1rem;
           box-shadow: 0 22px 48px rgba(90, 58, 82, .1); }
.archive::before { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--accent);
                   border-radius: 3px 16px 3px 16px; opacity: .6; pointer-events: none; }
.archive-knot { position: absolute; top: -19px; left: 50%; transform: translateX(-50%);
                background: var(--bg); padding: 0 14px; line-height: 0; }
.knot { width: 62px; height: 34px; }
.archive-cols { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; position: relative; }
.archive-cols li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
                   padding: .62rem .1rem; border-bottom: 1px dotted var(--line-strong);
                   break-inside: avoid; }
.archive-cols .k { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
                   color: var(--accent-deep); white-space: nowrap; }
.archive-cols .v { color: var(--ink); text-align: right; font-size: .98rem; }

/* about */
.about-flow { max-width: 70ch; }
.about-flow p { color: var(--soft); margin: 0 0 1.05rem; }
.about-quote { max-width: 62ch; margin: 1.6rem 0 0; }
.about-quote .q { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 1.95rem);
                  line-height: 1.25; margin: .2rem 0 .4rem; }
.about-quote .q-src { color: var(--muted); font-size: .85rem; margin: 0; }

/* career / timeline */
.career-split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 2.8rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.7rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: .28rem; top: .5rem; bottom: .5rem; width: 12px;
                    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='30' viewBox='0 0 12 30'%3E%3Cpath d='M6 0C10 7.5 2 22.5 6 30' fill='none' stroke='%23d8a8c0' stroke-width='2'/%3E%3C/svg%3E");
                    background-repeat: repeat-y; background-size: 12px 30px; }
.timeline li { position: relative; padding: 0 0 1.35rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.7rem; top: .42em; width: 9px; height: 9px;
                       margin-left: .55rem; border-radius: 50%; background: var(--bg);
                       border: 2px solid var(--accent-deep); box-shadow: 0 0 0 3px rgba(216, 168, 192, .35); }
.timeline .when { font-weight: 700; font-size: .95rem; color: var(--accent-deep); }
.timeline .what { color: var(--soft); font-size: .98rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-tile { margin: 0; border-radius: var(--radius-a); overflow: hidden; background: var(--panel);
          border: 1px solid var(--line); }
.g-tile img { display: block; width: 100%; height: 100%; aspect-ratio: 5 / 7;
              object-fit: cover; object-position: center 22%; }
.g-orn { display: grid; place-items: center; border-style: dashed; border-color: var(--line-strong);
         background: linear-gradient(160deg, #fdf8fb, #f6ecf1); }
.orn-svg { width: 44%; max-width: 130px; height: auto; }
.credit { color: var(--muted); font-size: .84rem; margin: 1.1rem 0 0; }

/* subpages */
.page-top { padding: 2.5rem 0 1.3rem; }
.page-top h1 { font-size: clamp(3rem, 6.4vw, 4.1rem); line-height: 1; margin: .1rem 0 0; }
.page-top .lead { color: var(--muted); max-width: 64ch; margin: .2rem 0 0; }
.reading { max-width: 78ch; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 0 0 .7rem; }
.story p { color: var(--soft); margin: 0 0 1rem; }
.studio-line { color: var(--muted); font-size: .93rem; border-left: 3px solid var(--accent);
               padding: .35rem 0 .35rem 1rem; }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.9rem; margin-top: 1.2rem; }
.credit-col h3 { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
                 color: var(--accent-deep); margin: 0 0 .5rem; font-weight: 700; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .93rem; padding: .34rem 0;
                 border-bottom: 1px dotted var(--line-strong); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.stat { border: 1px solid var(--line-strong); border-radius: var(--radius-a); background: var(--panel);
        padding: .85rem 1.3rem; min-width: 170px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.9rem;
          line-height: 1.1; color: var(--accent-deep); }
.stat span { color: var(--muted); font-size: .85rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.faq-list summary { font-weight: 700; font-size: 1.06rem; line-height: 1.4; color: var(--ink);
                    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(--accent-deep); font-weight: 700;
                           transition: transform .18s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 74ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--footer-bg); padding: 2.1rem 0 2.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 1.2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; color: var(--ink); }
.brand-line { color: var(--muted); font-size: .85rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .95rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--accent-deep); }
.footer-legal { color: var(--muted); font-size: .85rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4.2rem 0 5.2rem; text-align: center; }
.notfound h1 { font-size: clamp(3.4rem, 8vw, 4.6rem); margin: .3rem 0 .7rem; }
.notfound .lead { color: var(--muted); max-width: 52ch; margin: 0 auto 1.6rem; }
.notfound .silk-rule { margin: .3rem auto 1rem; }

@media (max-width: 1020px) {
  .career-split { grid-template-columns: 1fr; gap: 2rem; }
  .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: 16.5px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .45rem 1rem; }
  .wordmark { font-size: 1.3rem; }
  .main-nav { gap: .65rem .85rem; }
  .main-nav a { font-size: .86rem; }
  .main-nav a.btn { font-size: .8rem; padding: .34rem .8rem; }
  .hero { padding-top: 1.6rem; }
  .hero-figure { width: min(280px, 78vw); margin-top: 1.8rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 124px; }
  .partner-card img { max-width: 132px; max-height: 54px; }
  .archive { padding: 1.9rem 1.3rem 1.5rem; }
  .archive-cols { columns: 1; }
  .archive-cols .v { text-align: right; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .credit-grid { grid-template-columns: 1fr; }
  .section { padding: 2.4rem 0; }
  .footer-grid { gap: 1rem; }
}
