:root { --background: #11151f; --foreground: #f5efe3; --card: #171d2a; --card-soft: #1d2433; --muted: #99a1ad; --primary: #f7ad24; --primary-ink: #11151f; --secondary: #35d7ff; --tertiary: var(--secondary); --border: rgba(245, 239, 227, 0.14); --shadow: 0 24px 80px rgba(0, 0, 0, 0.35); --serif: Georgia, "Times New Roman", serif; --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --grotesk: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--sans); line-height: 1.65; } img, iframe { max-width: 100%; } img { height: auto; } a { color: inherit; text-decoration-color: rgba(247, 173, 36, 0.45); text-underline-offset: 0.22em; } a:hover { color: var(--primary); } a:focus-visible, button:focus-visible { outline: 3px solid var(--secondary); outline-offset: 4px; } .visually-hidden, .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } .skip-link:focus { position: fixed; z-index: 1000; top: 1rem; left: 1rem; width: auto; height: auto; clip: auto; padding: 0.7rem 1rem; border-radius: 999px; background: var(--primary); color: var(--primary-ink); } .site-header { position: fixed; z-index: 100; inset: 0 0 auto; display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 1rem; padding: 1.25rem clamp(1.25rem, 5vw, 4rem); transition: background 180ms ease, border-color 180ms ease, padding 180ms ease; } .site-header.is-scrolled, .site-page .site-header { padding-block: 0.75rem; border-bottom: 1px solid var(--border); background: rgba(17, 21, 31, 0.92); backdrop-filter: blur(20px); } .brand { display: inline-flex; align-items: baseline; gap: 0.5rem; text-decoration: none; } .brand__primary { font-family: var(--serif); font-size: 1.45rem; font-weight: 900; line-height: 1; } .brand__secondary { color: var(--primary); font-family: var(--grotesk); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; } .site-nav { justify-self: end; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); } .site-nav a, .nav-link { color: var(--muted); font-family: var(--grotesk); font-size: 0.9rem; font-weight: 600; text-decoration: none; } .site-nav a:hover, .nav-link:hover { color: var(--foreground); } .nav-item { position: relative; display: flex; align-items: center; padding-block: 0.65rem; margin-block: -0.65rem; } .nav-dropdown { position: absolute; top: 100%; right: 0; display: grid; min-width: 16rem; padding: 0.55rem; border: 1px solid var(--border); border-radius: 0.75rem; background: rgba(17, 21, 31, 0.96); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-0.35rem); transition: opacity 160ms ease, transform 160ms ease; } .nav-dropdown a { padding: 0.55rem 0.65rem; border-radius: 0.45rem; font-size: 0.82rem; } .nav-dropdown a:hover { background: rgba(247, 173, 36, 0.12); color: var(--primary); } .nav-dropdown a:focus-visible { background: rgba(53, 215, 255, 0.14); color: var(--secondary); } .nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); } .button { display: inline-flex; gap: 0.45em; align-items: center; justify-content: center; min-height: 3rem; padding: 0.85rem 1.5rem; border: 1px solid rgba(247, 173, 36, 0.35); border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-family: var(--grotesk); font-size: 0.9rem; font-weight: 700; text-decoration: none; box-shadow: 0 14px 35px rgba(247, 173, 36, 0.16); } .button__icon { width: 1em; height: 1em; flex: 0 0 auto; } .button:hover { color: var(--primary-ink); filter: brightness(1.04); transform: translateY(-1px); } .button--secondary { background: var(--card-soft); color: var(--foreground); border-color: var(--border); box-shadow: none; } .button--secondary:hover { color: var(--foreground); background: #242c3d; } .button--small { min-height: 2.55rem; padding: 0.62rem 1.15rem; } .button--journey { background: var(--secondary); color: var(--primary-ink); border-color: rgba(53, 215, 255, 0.35); box-shadow: 0 14px 35px rgba(53, 215, 255, 0.16); } .button--journey:hover { color: var(--primary-ink); } .menu-toggle { display: none; width: 2.75rem; height: 2.75rem; min-height: 44px; min-width: 44px; border: 0; background: transparent; color: var(--foreground); cursor: pointer; } .menu-toggle span:not(.visually-hidden) { display: block; width: 1.3rem; height: 2px; margin: 0.25rem auto; background: currentColor; } .mobile-nav { position: fixed; z-index: 90; inset: 0; display: flex; flex-direction: column; gap: 0; padding: 6.5rem 2rem 2rem; background: rgba(17, 21, 31, 0.98); opacity: 0; pointer-events: none; transform: translateX(100%); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease; visibility: hidden; } .mobile-nav.is-open { opacity: 1; pointer-events: auto; transform: translateX(0); visibility: visible; } .mobile-nav a { padding: 1.15rem 0; border-bottom: 1px solid var(--border); font-family: var(--serif); font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 800; text-decoration: none; min-height: 44px; display: flex; align-items: center; } .mobile-nav__group { border-bottom: 1px solid var(--border); } .mobile-nav__group > a { border-bottom: 0; } .mobile-nav__children { display: grid; gap: 0.2rem; padding: 0 0 1rem 1rem; } .mobile-nav__children a { padding: 0.35rem 0; border-bottom: 0; color: var(--muted); font-family: var(--grotesk); font-size: 1rem; font-weight: 700; } .mobile-overlay { position: fixed; inset: 0; z-index: 85; background: rgba(0, 0, 0, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .mobile-overlay.is-open { opacity: 1; pointer-events: auto; } .section-inner { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; } .hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding-block: 8rem 5rem; } .hero__image, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; } .hero__image { object-fit: cover; opacity: 0.4; } .hero__shade { background: linear-gradient(90deg, rgba(17, 21, 31, 0.9), rgba(17, 21, 31, 0.28), rgba(17, 21, 31, 0.56)), linear-gradient(180deg, rgba(17, 21, 31, 0.62), rgba(17, 21, 31, 0.36), var(--background)); } .hero__content { position: relative; z-index: 1; } .eyebrow, .section-label, .force-card__label, .kicker { font-family: var(--grotesk); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; } .eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; width: fit-content; padding: 0.42rem 0.8rem; border: 1px solid rgba(247, 173, 36, 0.35); border-radius: 999px; background: rgba(247, 173, 36, 0.14); color: var(--primary); } .eyebrow span { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--primary); } .hero h1, .section h2, .archive-page h1 { margin: 0; font-family: var(--serif); font-weight: 900; line-height: 0.98; } .hero h1 { max-width: 8ch; margin-block: 1.3rem 1rem; font-size: clamp(4.2rem, 12vw, 8.8rem); /* The 8ch box sets where "Wild" wraps; it must not also let the global h1 break-word rule chop "Globalization" mid-word. The word overflows the box intact instead, and the mobile variant supplies the break. */ word-wrap: normal; overflow-wrap: normal; hyphens: manual; } .hero h1 span, .section h2 span, .author-card h2 span { color: var(--primary); font-style: italic; } .hero__dek { max-width: 42rem; color: var(--muted); font-family: var(--grotesk); font-size: clamp(1.05rem, 2vw, 1.25rem); } .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; } .section { padding-block: clamp(4.5rem, 10vw, 8rem); } .section--muted { background: rgba(255, 255, 255, 0.035); } .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr); gap: clamp(3rem, 8vw, 6rem); align-items: center; margin-bottom: 5rem; } .section-label { color: var(--primary); } .section h2 { margin-block: 0.8rem 1.2rem; font-size: clamp(3rem, 6vw, 5.4rem); } .section p { color: var(--muted); } .book-cover { position: relative; display: grid; place-items: center; } .book-cover::before, .author-card__media::before { content: ""; position: absolute; inset: -1rem; border-radius: 1.5rem; background: rgba(247, 173, 36, 0.1); filter: blur(18px); } .book-cover img, .author-card__media img { position: relative; border-radius: 1rem; box-shadow: var(--shadow); } .book-cover img { width: min(24rem, 82vw); } .force-grid, .about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } .force-card, .about-grid article, .archive-content { border: 1px solid var(--border); border-radius: 1rem; background: var(--card); } .force-card, .about-grid article { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.7rem; } .force-card { color: inherit; text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; } .force-card:hover { border-color: rgba(247, 173, 36, 0.45); transform: translateY(-3px); box-shadow: var(--shadow); } .force-card:focus-visible { outline: 3px solid rgba(247, 173, 36, 0.7); outline-offset: 4px; } .force-card__icon, .about-grid__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.8rem; background: rgba(247, 173, 36, 0.12); color: var(--primary); font-family: var(--grotesk); font-weight: 800; } .force-card__icon { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 2.45rem; font-weight: 400; line-height: 1; } .force-card h3, .about-grid h3, .site-footer h2 { margin: 0; font-family: var(--serif); line-height: 1.12; } .force-card h3 { font-size: 1.55rem; } .force-card__link { margin-top: auto; color: var(--primary); font-family: var(--grotesk); font-size: 0.84rem; font-weight: 700; text-decoration: none; } .image-banner { position: relative; min-height: clamp(16rem, 34vw, 25rem); margin: 4rem 0 0; overflow: hidden; border-radius: 1rem; } .image-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .image-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 21, 31, 0.86), rgba(17, 21, 31, 0.2)); } .image-banner figcaption { position: absolute; inset: 0 auto 0 0; z-index: 1; display: flex; align-items: center; width: min(80%, 58rem); padding: clamp(2rem, 6vw, 4rem); background: linear-gradient(90deg, rgba(17, 21, 31, 0.88), rgba(17, 21, 31, 0.62) 72%, rgba(17, 21, 31, 0)); font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); font-style: italic; font-weight: 700; line-height: 1.12; text-align: justify; } .section-heading { max-width: 48rem; text-align: center; } .pullquote { max-width: 58rem; margin-top: 4rem; text-align: center; } .pullquote p { color: rgba(245, 239, 227, 0.84); font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.25rem); font-style: italic; line-height: 1.3; } .pullquote cite { color: var(--primary); font-family: var(--grotesk); font-size: 0.8rem; font-style: normal; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; } .section-rule { padding-bottom: 1rem; border-bottom: 1px solid var(--border); } .author-card { display: grid; grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 7vw, 5rem); align-items: start; margin-top: 3rem; } .author-card__media { position: relative; } .author-card__media img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; } .author-card__media p { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; margin: 0; padding: 1rem; border: 1px solid var(--border); border-radius: 0.85rem; background: rgba(17, 21, 31, 0.9); backdrop-filter: blur(14px); } .author-card__media span { display: block; color: var(--muted); font-size: 0.8rem; } .author-card__media a { display: block; color: var(--foreground); font-weight: 700; text-decoration: none; } .author-card h2 { margin: 0 0 0.5rem; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1; } .author-card strong { color: var(--foreground); } .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 1.5rem; } .stats p { margin: 0; padding: 1rem; border: 1px solid var(--border); border-radius: 0.85rem; background: var(--card); text-align: center; } .stats strong, .stats span { display: block; } .stats strong { color: var(--foreground); font-family: var(--serif); font-size: 2rem; line-height: 1; } .stats span { margin-top: 0.3rem; font-size: 0.8rem; } .site-footer { padding-block: 4.5rem 2rem; border-top: 1px solid var(--border); background: var(--card); color: var(--muted); } .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; } .footer-brand { color: var(--primary); font-family: var(--grotesk); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; } .footer-brand span { color: var(--foreground); font-family: var(--serif); font-size: 1.8rem; letter-spacing: 0; text-transform: none; } .site-footer h2 { color: var(--foreground); font-family: var(--grotesk); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; } .site-footer ul { padding: 0; list-style: none; } .site-footer li { margin-block: 0.55rem; } .footer-subnav { margin: 0.35rem 0 0.8rem; padding-left: 1rem; border-left: 1px solid var(--border); } .footer-subnav li { margin-block: 0.35rem; font-size: 0.88rem; } .footer-bottom { width: min(1180px, calc(100% - 2rem)); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.82rem; } .footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 0.75rem 1.5rem; } .footer-bottom p { margin: 0; } .footer-bottom__copyright { display: inline-flex; gap: 0.75rem; align-items: center; justify-self: start; } .footer-feed-link { display: inline-flex; color: #fff; line-height: 1; } .footer-feed-link:hover { color: var(--secondary); } .footer-feed-link:focus-visible { outline: 2px solid var(--secondary); outline-offset: 0.25rem; border-radius: 0.25rem; } .footer-bottom__built-with { justify-self: center; text-align: center; } .footer-h-card { position: relative; justify-self: end; } .footer-h-card summary { display: inline-flex; gap: 0.45rem; align-items: center; color: var(--foreground); font-weight: 700; list-style: none; cursor: pointer; } .footer-h-card summary::-webkit-details-marker { display: none; } .footer-h-card summary:focus-visible { outline: 2px solid var(--secondary); outline-offset: 0.25rem; border-radius: 0.25rem; } .footer-h-card .p-name, .footer-h-card__menu .u-url { color: var(--foreground); font-weight: 700; } .footer-h-card__chevron { width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.1rem) rotate(45deg); transition: transform 160ms ease; } .footer-h-card[open] .footer-h-card__chevron { transform: translateY(0.1rem) rotate(225deg); } .footer-h-card__menu { display: grid; gap: 0.35rem; margin-top: 0.6rem; } .footer-h-card__menu .p-org { color: var(--muted); } .search-page { display: grid; gap: 1.25rem; } .search-page kbd { display: inline-block; padding: 0.12rem 0.38rem; border: 1px solid var(--border); border-radius: 0.35rem; background: var(--card-soft); color: var(--foreground); font-family: var(--grotesk); font-size: 0.82em; } .search-page__credit { color: var(--muted); font-size: 0.9rem; } .archive-page { padding-top: 9rem; } .archive-page h1 { margin-bottom: 1.5rem; font-size: clamp(2.8rem, 6vw, 5rem); } .archive-page__inner { max-width: 920px; } .archive-content { padding: clamp(1.25rem, 4vw, 2.4rem); background: #f7f2e8; color: #172033; font-size: 1.05rem; } .archive-content a { color: #9a5a00; } .archive-content h2, .archive-content h3, .archive-content h4 { color: #111827; font-family: var(--serif); line-height: 1.16; } .archive-content blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 4px solid var(--primary); color: #4b5563; font-family: var(--serif); font-size: 1.15rem; } .archive-content figure { margin: 2rem auto; text-align: center; } .archive-content figcaption { color: #667085; font-size: 0.88rem; } .archive-content img { border-radius: 0.5rem; } .archive-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 0.75rem; } .archive-list { padding-left: 1.2rem; } .archive-list li { margin-block: 0.8rem; } .archive-list span { display: block; color: var(--muted); font-size: 0.82rem; } .content-page { padding-top: 9rem; } .content-page h1, .timeline-page h1 { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; } .content-page__inner, .timeline-hero { max-width: 920px; } .content-card { padding: clamp(1.25rem, 4vw, 2.4rem); border: 1px solid var(--border); border-radius: 1rem; background: var(--card); color: var(--muted); } .content-card h2, .content-card h3 { color: var(--foreground); font-family: var(--serif); line-height: 1.16; } .content-card h2, .content-card h3, .content-card h4 { margin-top: 2rem; color: var(--foreground); } .content-card blockquote { margin-inline: 0; padding-left: 1.2rem; border-left: 4px solid var(--primary); color: rgba(245, 239, 227, 0.78); font-family: var(--serif); font-size: 1.12rem; } .content-card figure { margin: 2rem auto; text-align: center; } .content-card figure img { display: block; max-width: 100%; height: auto; margin-inline: auto; } .content-card figcaption { margin-top: 0.55rem; color: var(--muted); font-size: 0.88rem; } .content-card img { border-radius: 0.5rem; } .responsive-image img { display: block; width: 100%; height: auto; } .content-card iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 0.75rem; } .content-card hr { margin-block: 2rem; border: 0; border-top: 1px solid var(--border); } .post-list { display: grid; gap: 1rem; padding: 0; list-style: none; } .post-list li { padding: 1.2rem; border: 1px solid var(--border); border-radius: 0.85rem; background: rgba(255, 255, 255, 0.035); } .post-list a { color: var(--foreground); font-family: var(--serif); font-size: 1.4rem; font-weight: 800; text-decoration: none; } .post-list span { display: block; margin-top: 0.25rem; color: var(--primary); font-family: var(--grotesk); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; } .post-list p { margin-bottom: 0; } .timeline-page { padding-top: 9rem; } .timeline-hero p:not(.section-label) { max-width: 46rem; color: var(--muted); font-size: 1.1rem; } .timeline-shell { margin-top: 2.5rem; } .timeline-controls { position: sticky; top: 5rem; z-index: 5; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; padding: 0.9rem; border: 1px solid var(--border); border-radius: 1rem; background: rgba(17, 21, 31, 0.9); backdrop-filter: blur(18px); } .timeline-controls button { min-height: 2.4rem; padding: 0.55rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card-soft); color: var(--muted); font-family: var(--grotesk); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; } .timeline-controls button:hover, .timeline-controls button.is-active { border-color: rgba(247, 173, 36, 0.55); background: var(--primary); color: var(--primary-ink); } .timeline-list { position: relative; display: grid; gap: 1.2rem; margin: 0; padding: 0 0 0 1.2rem; list-style: none; } .timeline-list::before { content: ""; position: absolute; top: 0.6rem; bottom: 0.6rem; left: 1.65rem; width: 2px; background: linear-gradient(var(--primary), rgba(247, 173, 36, 0.05)); } .timeline-item { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; } .timeline-marker { position: relative; z-index: 1; width: 1rem; height: 1rem; margin-top: 1.35rem; margin-left: 0.95rem; border: 3px solid var(--background); border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 1px rgba(247, 173, 36, 0.55); } .timeline-item article { padding: clamp(1.2rem, 3vw, 1.7rem); border: 1px solid var(--border); border-radius: 1rem; background: var(--card); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18); } .timeline-meta { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0 0 0.6rem; } .timeline-meta span { display: inline-flex; padding: 0.25rem 0.55rem; border: 1px solid rgba(247, 173, 36, 0.25); border-radius: 999px; color: var(--primary); font-family: var(--grotesk); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; } .timeline-item h2 { margin: 0 0 0.65rem; font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 2.45rem); line-height: 1.08; } .timeline-item p { color: var(--muted); } .timeline-item a { color: var(--primary); font-family: var(--grotesk); font-size: 0.86rem; font-weight: 800; text-decoration: none; } .timeline-empty { padding: 1.2rem; border: 1px solid var(--border); border-radius: 0.85rem; background: var(--card); color: var(--muted); } @media (max-width: 820px) { .site-header { grid-template-columns: auto 1fr auto; padding: 0.75rem 1rem; } .site-nav, .site-header__cta { display: none; } .menu-toggle { display: block; justify-self: end; } .split, .author-card, .footer-grid { grid-template-columns: 1fr; } .footer-bottom { grid-template-columns: 1fr; text-align: center; } .footer-h-card { justify-self: center; } .force-grid, .about-grid { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr; } .image-banner figcaption { inset: 0; width: 100%; background: rgba(17, 21, 31, 0.72); text-align: left; } .timeline-controls { position: static; } .timeline-list { padding-left: 0; } .timeline-list::before { display: none; } .timeline-item { grid-template-columns: 1fr; } .timeline-marker { display: none; } .site-page .hero { padding-top: 6rem; } .archive-page, .content-page, .timeline-page { padding-top: 6rem; } } /* ============================================ MOBILE NAVIGATION ============================================ */ /* Menu Toggle */ .menu-toggle { display: none; flex-direction: column; gap: 5px; width: 2.75rem; height: 2.75rem; min-height: 44px; min-width: 44px; border: 0; background: transparent; color: var(--foreground); cursor: pointer; justify-content: center; align-items: center; padding: 8px; position: relative; z-index: 1001; } .menu-toggle span:not(.visually-hidden) { display: block; width: 1.5rem; height: 2px; background: currentColor; transition: all 0.25s ease; margin: 0; } .menu-toggle span:not(.visually-hidden):nth-child(2) { width: 1.2rem; margin-left: auto; } .menu-toggle.is-active span:not(.visually-hidden):nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .menu-toggle.is-active span:not(.visually-hidden):nth-child(2) { opacity: 0; transform: scale(0); } .menu-toggle.is-active span:not(.visually-hidden):nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); } /* Overlay */ .mobile-overlay { position: fixed; inset: 0; z-index: 999; background: rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); } .mobile-overlay.is-open { opacity: 1; pointer-events: auto; } /* Mobile Nav Container */ .mobile-nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 420px; height: 100vh; height: 100dvh; z-index: 1000; background: var(--background); box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5); transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; overflow: hidden; padding: 0; } .mobile-nav.is-open { right: 0; } .mobile-nav-header { flex-shrink: 0; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); background: var(--background); display: flex; align-items: center; justify-content: space-between; } .mobile-nav-header .brand { font-size: 1.1rem; } .mobile-nav-close { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; min-height: 44px; min-width: 44px; border: 0; background: transparent; color: var(--foreground); cursor: pointer; padding: 8px; border-radius: 8px; transition: background 0.2s ease; flex-shrink: 0; } .mobile-nav-close:hover { background: rgba(0, 0, 0, 0.05); } .mobile-nav-close:focus-visible { outline: 2px solid var(--primary, #e12026); outline-offset: 2px; } .mobile-nav-close svg { width: 24px; height: 24px; display: block; } :root[data-theme="dark"] .mobile-nav-close:hover { background: rgba(255, 255, 255, 0.08); } .mobile-nav-links { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding: 0.5rem 1.25rem 1rem; -webkit-overflow-scrolling: touch; } .mobile-nav-links::-webkit-scrollbar { width: 3px; } .mobile-nav-links::-webkit-scrollbar-track { background: transparent; } .mobile-nav-links::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; } .mobile-nav-links::-webkit-scrollbar-thumb:hover { background: rgba(247, 173, 36, 0.7); } .mobile-nav-links .nav-item { display: block !important; position: static !important; padding: 0 !important; margin: 0 !important; border-bottom: 1px solid var(--border) !important; } .mobile-nav-links .nav-item:last-child { border-bottom: none !important; } .mobile-nav-links .nav-link { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 0.9rem 0 !important; color: var(--foreground) !important; font-family: var(--serif) !important; font-size: 1.2rem !important; font-weight: 700 !important; text-decoration: none !important; min-height: 44px !important; border-bottom: 0 !important; background: transparent !important; } .mobile-nav-links .nav-link:hover { color: var(--primary) !important; background: transparent !important; } .mobile-nav-links .nav-item--has-children > .nav-link { cursor: pointer !important; } .mobile-nav-links .nav-item--has-children > .nav-link::after { content: "▸" !important; font-size: 1.1rem !important; color: var(--muted) !important; transition: transform 0.25s ease !important; margin-left: 0.5rem !important; flex-shrink: 0 !important; } .mobile-nav-links .nav-item--has-children.is-open > .nav-link::after { transform: rotate(90deg) !important; color: var(--primary) !important; } .mobile-nav-links .nav-dropdown { position: static !important; top: auto !important; right: auto !important; display: block !important; min-width: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; opacity: 1 !important; pointer-events: auto !important; transform: none !important; max-height: 0 !important; overflow: hidden !important; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important; padding-left: 0 !important; } .mobile-nav-links .nav-item--has-children.is-open .nav-dropdown { max-height: 800px !important; } .mobile-nav-links .nav-dropdown a { display: block !important; padding: 0.6rem 0 0.6rem 1rem !important; color: var(--muted) !important; font-family: var(--grotesk) !important; font-size: 0.92rem !important; font-weight: 600 !important; text-decoration: none !important; border-bottom: 0 !important; border-left: 2px solid transparent !important; transition: all 0.2s ease !important; background: transparent !important; border-radius: 0 !important; } .mobile-nav-links .nav-dropdown a:hover { color: var(--foreground) !important; border-left-color: var(--primary) !important; padding-left: 1.25rem !important; } .mobile-nav-links .nav-dropdown a:last-child { padding-bottom: 0.9rem !important; } .mobile-nav-buttons { flex-shrink: 0; padding: 1rem 1.25rem; border-top: 1px solid var(--border); background: var(--background); display: flex; flex-direction: column; gap: 0.65rem; } .mobile-nav-buttons .button { width: 100%; justify-content: center; text-align: center; min-height: 2.75rem; padding: 0.7rem 1.25rem; font-size: 0.85rem; } .button--learn { background: #7c3aed; color: #ffffff; border-color: rgba(124, 58, 237, 0.35); box-shadow: 0 14px 35px rgba(124, 58, 237, 0.2); } .button--learn:hover { background: #6d28d9; color: #ffffff; transform: translateY(-1px); box-shadow: 0 18px 40px rgba(124, 58, 237, 0.3); } .button--learn .button__icon { color: rgba(255, 255, 255, 0.9); } /* Body Lock */ body.menu-open { overflow: hidden; position: fixed; width: 100%; height: 100%; } /* ============================================ RESPONSIVE ============================================ */ @media (max-width: 820px) { .site-header { grid-template-columns: auto 1fr auto; padding: 0.75rem 1rem; gap: 0.75rem; } .site-header > .site-header__cta { display: none !important; } .site-nav { display: none !important; } .menu-toggle { display: flex !important; justify-self: end; } } @media (min-width: 821px) { .menu-toggle { display: none !important; } .mobile-nav, .mobile-overlay { display: none !important; } } @media (max-width: 480px) { .mobile-nav { width: 92%; max-width: 100%; } .mobile-nav-links { padding: 0.25rem 1rem 0.75rem; } .mobile-nav-links .nav-link { font-size: 1.05rem !important; padding: 0.75rem 0 !important; } } .hero-title { word-wrap: break-word !important; hyphens: auto !important; } h1 { word-wrap: break-word; hyphens: auto; overflow-wrap: break-word; } .button--tertiary { background: #7c3aed; color: #ffffff; border-color: rgba(124, 58, 237, 0.35); box-shadow: 0 14px 35px rgba(124, 58, 237, 0.2); } .button--tertiary:hover { background: #6d28d9; color: #ffffff; filter: brightness(1.1); transform: translateY(-1px); } /* Wrappers only switch variants -- the accent styling from `.hero h1 span` belongs to the inner span, so opt them out of it. */ .hero h1 .hero-title-desktop, .hero h1 .hero-title-mobile { color: inherit; font-style: normal; } .hero-title-desktop { display: inline; } .hero-title-mobile { display: none; } /* Below this width "Globalization" no longer fits the viewport, so the hero title switches to the manually hyphenated "Global-/ization" wording. */ @media (max-width: 640px) { .hero-title-desktop { display: none; } .hero-title-mobile { display: inline; } }