
:root {
  --shell: 1280px;
  --line: #34404c;
  --recipe-component-button-standard-typography-font-size: .875rem;
  --recipe-component-button-standard-typography-letter-spacing: .01em;
}
html { background: var(--recipe-color-canvas); color: var(--recipe-color-text); }
body { overflow-wrap: break-word; }
a { color: var(--recipe-color-primary); text-decoration-thickness: 1px; }
a:hover { color: var(--recipe-color-primary-hover); background: transparent; }
a:active { color: var(--recipe-color-accent); background: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--recipe-color-accent); outline-offset: 4px; box-shadow: none; }
h1, h2, h3 { color: var(--recipe-color-text); font-weight: 900; }
h1 { max-width: 23ch; font-size: clamp(40px, 4.5vw, 60px); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; }
h3 { font-size: 25px; line-height: 1.2; margin-top: 32px; margin-bottom: 12px; }
p, ul, ol { line-height: 1.75; }
strong { color: var(--recipe-color-text); }
.site-header {
  background: color-mix(in srgb, var(--recipe-color-canvas) 96%, transparent);
  border-color: var(--line);
  box-shadow: 0 8px 32px #09070a30;
  backdrop-filter: blur(16px);
}

.header-inner { min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--recipe-color-text); font-size: 18px; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; }
.brand small { display: block; font-size: 10px; text-transform: uppercase; color: var(--recipe-color-accent); letter-spacing: .18em; margin-top: 5px; }
.brand:hover { color: #fff; }
.desktop-nav { gap: 4px; font-size: 14px; }
.site-header a { text-decoration: none; }
.desktop-nav>a, .nav-group>summary { border-radius: 10px; padding: 10px 13px; color: #c2c6cf; }
.desktop-nav>a:hover, .nav-group>summary:hover, .nav-group[open]>summary { background: #241f29; color: var(--recipe-color-text); }
.desktop-nav [data-current-group], .desktop-nav>a[aria-current] { color: var(--recipe-color-accent); text-decoration: none; }
.site-header .desktop-nav > a[aria-current="page"] { background: #30271e; color: #f2bd4e; text-decoration: none; }
.site-header .desktop-nav > a[aria-current="page"]:is(:hover, :focus) { background: #3d3022; color: #f2bd4e; }
.site-header .desktop-nav > a[aria-current="page"]:active { background: #493826; color: #f2bd4e; }
.nav-popover { background: #192733; border: 1px solid #526773; border-radius: 12px; padding: 8px; box-shadow: 0 18px 36px #09070a90; }
.nav-popover a { color: #d7e0e5; border-radius: 8px; font-size: 14px; }
.nav-popover a:hover, .nav-popover [aria-current] { color: var(--recipe-color-primary); background: #263946; }
.skip-link { color: #082f36; background: #8cebfa; }
.page-shell { padding-top: calc(var(--header) + 54px); }
.home-hero { grid-template-columns: .94fr 1.06fr; gap: 42px; margin-bottom: 60px; }
.home-hero h1 { font-size: clamp(52px, 5.25vw, 76px); line-height: 1; max-width: 13ch; margin-bottom: 24px; text-wrap: initial; }
.home-hero h1 span { display: block; color: var(--recipe-color-accent); font-size: .54em; margin-top: 14px; }
.home-hero p { color: #c4c9d0; font-size: 17px; line-height: 1.65; max-width: 43ch; margin-bottom: 25px; }
.home-hero figure { align-self: center; padding-top: 8px; }
.page-media { display: block; width: 100%; height: auto; object-fit: contain; background: transparent; }
.home-hero .page-media { border-radius: 12px; outline: 1px solid #526773; outline-offset: 7px; box-shadow: 0 22px 70px #09070a85; }
figcaption { color: #a9b3be; font-size: 12px; line-height: 1.6; margin-top: 16px; }
.home-hero figcaption { padding: 0 2px; margin-top: 21px; max-width: 78ch; }
.home-hero:has(figure[hidden]) { grid-template-columns: 1fr; }
.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 14px; padding-bottom: 7px; }
.home-hero .hero-actions { max-width: none; }
.hero-actions .ui-button { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; min-height: 48px; }
.content-section { border-color: var(--line); margin-top: 44px; padding-top: 34px; }
.home .content-section { margin-top: 60px; padding-top: 36px; }
.home-directory { gap: 0 40px; }
.directory-item { border-color: var(--line); padding: 24px 0; }
.directory-item>div:first-child { font-family: var(--recipe-type-h3-font-family); font-size: 24px; letter-spacing: .01em; font-weight: 900; line-height: 1.2; margin-bottom: 10px; color: var(--recipe-color-text); }
.directory-item>div:last-child { color: #b8bec5; font-size: 15px; line-height: 1.7; }
.directory-item a { text-underline-offset: 4px; }
.directory-item>div:first-child a { text-decoration: none; }
.directory-item>div:first-child a:hover { text-decoration: underline; }
.content-section[aria-labelledby="about-shape-of-dreams"] { color: #b8bec5; }
.home .content-section p { max-width: 82ch; }
.home .sources { font-size: 14px; }
.breadcrumbs { color: #a9b3be; font-size: 13px; }
.breadcrumbs a { color: #c7b17f; text-decoration: none; }
.breadcrumbs a:hover { color: var(--recipe-color-accent); text-decoration: underline; }
.inner .page-shell { padding-top: calc(var(--header) + 34px); }
.inner article { max-width: 864px; font-size: 17px; }
.article-intro>p { color: #c7ced6; font-size: 18px; }
.article-intro h1 { max-width: 27ch; font-size: clamp(38px, 3.6vw, 48px); }
.inner h2 { font-size: clamp(30px, 3vw, 36px); }
.inner .content-section>p, .inner .content-section>ul, .inner .content-section>ol { max-width: 73ch; }
.inner figure { max-width: 700px; }
.inner .page-media { outline: 1px solid #526773; outline-offset: 5px; border-radius: 4px; }
.inner figcaption { font-size: 13px; }
.toc-desktop { background: transparent; border-color: var(--line); padding-right: 20px; }
.toc-desktop strong { color: #c7b17f; text-transform: uppercase; font-size: 11px; letter-spacing: .13em; }
.toc-desktop a { color: #acb5c0; text-decoration: none; font-size: 13px; line-height: 1.5; border-radius: 6px; padding: 10px 8px; }
.toc-desktop a:hover { background: #192733; color: #58dff2; }
.table-scroll { border: 1px solid #3e505e; border-radius: 12px; background: #151d26; }
th, td { padding: 15px; border: 0; border-bottom: 1px solid #34404c; border-right: 1px solid #34404c; line-height: 1.65; }
th { color: #d9e6eb; background: #223440; font-size: 12px; letter-spacing: .02em; }
th:last-child, td:last-child { border-right: 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #19232e; }
td:first-child { color: #f5f6f2; }
.sources { color: #b8bec5; font-size: 14px; }
.sources a { font-weight: 400; }
.site-footer { display: block; width: 100%; max-width: none; margin-inline: 0; background: #0e1018; color: #b8bec5; border-top: 1px solid #43515e; padding-top: 48px; padding-bottom: 48px; }
.site-footer .footer-inner { grid-template-columns: minmax(250px, 1fr) minmax(0, 3fr); }
.site-footer .footer-brand { display: block; min-width: 0; min-height: 0; color: #c8d0d7; font-size: 14px; font-weight: 400; letter-spacing: normal; }
.site-footer .footer-brand p { color: #b8c5cf; line-height: 1.65; margin: 0 0 12px; }
.site-footer a { color: #aebdca; text-decoration: none; }
.site-footer a:hover { color: var(--recipe-color-primary); text-decoration: underline; }
.footer-brand>a:first-child { display: block; margin-bottom: 14px; font-size: 20px; line-height: 1.3; color: #f5f6f2; }
.footer-brand>a:last-child { color: #58dff2; font-size: 12px; }
.site-footer nav strong { color: #f2bd4e; font-size: 13px; }
.site-footer nav a { font-size: 13px; }
@media (max-width: 1100px) {
  .site-footer .footer-inner { grid-template-columns: 1fr; }
}




@media (max-width: 1100px) {
  .home-hero { gap: 28px; }
  .home-hero h1 { font-size: 60px; }
  .mobile-menu>summary { border: 1px solid #526773; border-radius: 10px; color: #d7e0e5; }
  .mobile-menu>summary:hover, .mobile-menu[open]>summary { background: #192733; }
  .mobile-menu>nav { background: #130d14; border-color: #526773; }
  .mobile-menu .nav-group { border-color: #34404c; }
  .mobile-menu .nav-popover { box-shadow: none; border-radius: 10px; }
  .mobile-menu nav>a { color: #d7e0e5; }
}
@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; gap: 34px; }
  .home-hero h1 { font-size: 68px; max-width: 19ch; }
  .home-hero h1 span { margin-top: 10px; }
  .home-hero p { max-width: 58ch; }
  .home-hero figure { max-width: 720px; }
  .toc-mobile { color: #c4cbd3; background: #19212c; border-color: #3e505e; }
  .toc-mobile summary:hover { background: #263946; }
  .toc-mobile nav { background: #151d26; border-color: #3e505e; }
  .inner .page-shell { padding-top: calc(var(--header) + var(--toc) + 24px); }
}
@media (max-width: 600px) {
  .header-inner { min-height: 65px; gap: 10px; }
  .brand { font-size: 16px; max-width: 214px; gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .brand small { font-size: 9px; margin-top: 4px; }

  .page-shell { padding-top: calc(var(--header) + 32px); }
  .home-hero { gap: 25px; margin-bottom: 38px; }
  .home-hero h1 { font-size: clamp(45px, 12vw, 64px); max-width: 13ch; margin-bottom: 22px; }
  .home-hero h1 span { font-size: .57em; }
  .home-hero p { font-size: 16px; margin-bottom: 24px; }
  .hero-actions { gap: 12px; }
  .hero-actions .ui-button { flex: 1 1 146px; }
  .home-hero .page-media { outline-offset: 4px; border-radius: 8px; }
  .home-hero figcaption { margin-top: 14px; font-size: 11px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  .home .content-section { margin-top: 38px; padding-top: 28px; }
  .directory-item { padding: 21px 0; }
  .directory-item>div:first-child { font-size: 23px; }
  .inner article { font-size: 16px; }
  .article-intro>p { font-size: 17px; }
  .table-scroll { border: 0; background: transparent; border-radius: 0; }
  tr { border: 1px solid #3e505e; border-radius: 12px; overflow: hidden; background: #151d26; }
  td { padding: 14px; border: 0; border-top: 1px solid #34404c; }
  td:before { color: #b5c7d2; font-size: 11px; letter-spacing: .025em; }

}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .ui-button:hover, .ui-button:active { transform: none; }
}

@media (max-width: 1100px) {
  body .site-header .mobile-menu {
    position: static;
    z-index: auto;
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  body .site-header .mobile-menu:not([open]) > nav { display: none; }
  body .site-header .mobile-menu[open] > nav {
    display: block;
    position: fixed;
    top: var(--header);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    height: calc(100dvh - var(--header));
    overflow-y: auto;
  }
  body .site-header .mobile-menu [aria-current="page"] {
    background: #263946;
    color: #58dff2;
    border-radius: 8px;
  }
  body .site-header .mobile-menu > nav > a[aria-current="page"] { background: #30271e; color: #f2bd4e; }
  body .site-header .mobile-menu > nav > a[aria-current="page"]:is(:hover, :focus) { background: #3d3022; color: #f2bd4e; }
  body .site-header .mobile-menu > nav > a[aria-current="page"]:active { background: #493826; color: #f2bd4e; }
}
