/*
Theme Name: Not World Wide Web
Theme URI: https://notworldwideweb.org/
Author: Not World Wide Web
Description: A lightweight, custom WordPress theme preserving the original notworldwideweb.org visual identity. Homepage copy and directory links can be edited on a static Home page by WordPress Editors.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: notworldwideweb
Tags: blog, custom-menu, featured-images, one-column, accessibility-ready
*/

:root {
  --paper: #f5f4ee;
  --ink: #171c16;
  --muted: #5e665b;
  --line: #c7c9bf;
  --lime: #d4fa5d;
  --orange: #ff744d;
  --night: #1d2922;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.wrap { width: min(100% - 96px, 1460px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--lime); }
.skip-link:focus { top: 12px; }
.site-header { height: 100px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--ink); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 900; letter-spacing: -.065em; white-space: nowrap; }
.domain { font-weight: 500; }
.brand-mark { width: 29px; height: 29px; background: var(--ink); color: var(--lime); border-radius: 50%; display: grid; place-items: center; }
.brand-mark span { width: 11px; height: 11px; border: 3px solid var(--lime); border-radius: 50%; position: relative; }
.brand-mark span::after { content: ''; position: absolute; left: 4px; top: -8px; width: 2px; height: 17px; background: var(--lime); transform: rotate(48deg); }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links a { font-size: 13px; font-weight: 700; transition: color .2s; }
.nav-links a:hover { color: #678c20; }
.site-status { font: 700 10px/1.3 'Courier New', monospace; letter-spacing: .025em; border: 1px solid var(--ink); border-radius: 99px; padding: 10px 11px; display: inline-flex; align-items: center; gap: 8px; margin-left: 18px; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #7cbb28; box-shadow: 0 0 0 3px #d9e9bd; }
.hero { padding-top: 34px; }
.hero-meta, .section-marker, .directory-head>span, .closing-top, .card-top, .closing-bottom>a { font: 700 12px/1.2 'Courier New', monospace; letter-spacing: .035em; }
.hero-meta, .closing-top { display: flex; justify-content: space-between; }
.hero-index { display: flex; gap: 45px; }
.hero-index span { font: 700 22px/12px Arial, sans-serif; }
.hero-stage { position: relative; padding-top: 41px; }
.hero h1 { margin: 0; font-size: clamp(70px, 12.35vw, 181px); line-height: .85; font-weight: 900; letter-spacing: -.105em; word-spacing: -.08em; }
.hero h1 .outlined { color: transparent; -webkit-text-stroke: 2.3px var(--ink); paint-order: stroke fill; }
.full-stop { color: var(--orange); }
.hero-asterisk { position: absolute; right: 5%; top: 21%; font-size: clamp(70px, 11vw, 155px); line-height: 1; transform: rotate(-12deg); color: var(--lime); -webkit-text-stroke: 2px var(--ink); }
.hero-bottom { margin-top: 52px; padding-top: 22px; padding-bottom: 60px; border-top: 1px solid var(--ink); display: grid; align-items: center; grid-template-columns: 1fr 1.05fr auto; }
.hero-symbol { width: 58px; height: 58px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 36px; line-height: 1; }
.hero-bottom p { margin: 0; font-size: clamp(19px, 2vw, 27px); line-height: 1.23; letter-spacing: -.055em; }
.hero-bottom p strong { font-weight: 800; }
.round-link { display: inline-flex; align-items: center; justify-content: center; gap: 26px; font: 800 12px/1.2 'Courier New', monospace; border: 1px solid var(--ink); background: var(--lime); border-radius: 99px; padding: 19px 19px 19px 25px; transition: transform .2s, box-shadow .2s; }
.round-link:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--ink); }
.round-link span { font: 22px/10px Arial, sans-serif; }
.ticker { background: var(--lime); border-block: 1px solid var(--ink); overflow: hidden; white-space: nowrap; }
.ticker-track { font: 900 clamp(16px, 2.3vw, 29px)/1 Arial, sans-serif; letter-spacing: -.055em; padding: 19px 0; width: max-content; animation: move-left 40s linear infinite; }
.ticker-track b { display: inline-block; padding: 0 20px; font-size: .85em; }
@keyframes move-left { to { transform: translateX(-45%); } }
.section-grid { display: grid; grid-template-columns: 1fr 2.15fr; gap: 40px; }
.idea-section { padding-top: 133px; padding-bottom: 147px; }
.section-marker { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.mini-cross { font: 85px/1 Arial, sans-serif; color: var(--orange); }
.section-content h2 { font-size: clamp(52px, 6.7vw, 98px); line-height: .99; letter-spacing: -.085em; margin: -12px 0 62px; max-width: 900px; font-weight: 800; }
.section-content h2 em { font-style: normal; position: relative; white-space: nowrap; }
.section-content h2 em::after { content: ''; height: .105em; width: 100%; background: var(--orange); position: absolute; bottom: -.08em; left: 0; transform: rotate(-2deg); }
.idea-bottom { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.idea-bottom p { max-width: 515px; margin: 0; font-size: 19px; line-height: 1.58; color: #495048; letter-spacing: -.02em; }
.stamp { border: 1.5px solid var(--ink); border-radius: 50%; height: 135px; width: 135px; flex: 0 0 135px; transform: rotate(-15deg); display: flex; align-items: center; justify-content: center; gap: 4px; flex-direction: column; font: 700 12px/1 'Courier New', monospace; }
.stamp strong { font: 55px/1 Arial, sans-serif; }
.directory-section { background: var(--night); color: var(--paper); padding: 105px 0 130px; }
.directory-head { display: grid; grid-template-columns: 1fr 1.65fr .7fr; gap: 30px; align-items: end; margin-bottom: 60px; }
.directory-head>span { align-self: start; }
.directory-head h2 { margin: -10px 0 0; font-size: clamp(55px, 6vw, 90px); letter-spacing: -.085em; line-height: .99; }
.orange-dot { color: var(--orange); }
.directory-head p { font-size: 16px; color: #c2cbbf; margin: 0; line-height: 1.55; }
.directory-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.directory-card { border: 1px solid #637065; padding: 25px 25px 27px; min-height: 490px; display: flex; flex-direction: column; transition: background .25s, transform .25s; }
.directory-card:hover { background: #28372c; transform: translateY(-5px); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-top span:last-child { font: 32px/20px Arial,sans-serif; }
.card-art { height: 208px; margin: 30px 0 16px; position: relative; display: grid; place-items: center; overflow: hidden; }
.card-art-notes { background: #d8e89a; }
.art-line { height: 9px; background: var(--ink); position: absolute; left: 17%; transform: rotate(-6deg); }
.art-line.l1 { top: 60px; width: 65%; }
.art-line.l2 { top: 90px; width: 48%; }
.art-line.l3 { top: 120px; width: 58%; }
.art-scribble { font-size: 145px; color: var(--orange); position: absolute; right: -12px; bottom: -50px; -webkit-text-stroke: 1px var(--ink); }
.card-art-build { background: #eaa693; }
.orb { border: 2px solid var(--ink); position: absolute; width: 120px; height: 120px; border-radius: 50%; }
.orb-a { transform: translate(-35px,-20px); background: var(--lime); }
.orb-b { transform: translate(38px,12px); background: #f5f4ee; mix-blend-mode: multiply; }
.orb-c { transform: translate(0,15px); border-radius: 12%; width: 105px; height: 105px; rotate: 24deg; }
.card-art-links { background: #acb8df; }
.link-ring { position: absolute; width: 140px; height: 78px; border: 22px solid var(--ink); border-radius: 80px; rotate: -30deg; }
.link-ring.r1 { transform: translateX(-49px); }
.link-ring.r2 { transform: translateX(49px); }
.link-spark { position: absolute; color: var(--lime); right: 13%; top: 10%; font-size: 65px; }
.directory-card h3 { margin: 0 0 12px; font-size: clamp(23px, 2.45vw, 36px); line-height: 1.12; letter-spacing: -.065em; }
.directory-card p { color: #c2cbbf; font-size: 15px; line-height: 1.5; max-width: 310px; margin: 0 0 26px; }
.card-tag { margin-top: auto; align-self: flex-start; color: #d4fa5d; border: 1px solid #79877a; border-radius: 40px; font: 700 11px/1 'Courier New',monospace; letter-spacing: .03em; padding: 10px 13px; }
.closing { padding-top: 95px; padding-bottom: 100px; }
.closing-top { border-bottom: 1px solid var(--ink); padding-bottom: 18px; }
.closing-top span:last-child { font: 30px/10px Arial,sans-serif; }
.closing h2 { margin: 78px 0 72px; font-size: clamp(65px, 9.5vw, 142px); line-height: .92; letter-spacing: -.095em; }
.closing h2 span { color: var(--orange); }
.closing-bottom { display: flex; justify-content: space-between; align-items: end; }
.closing-bottom p { margin: 0; font-size: 21px; letter-spacing: -.03em; line-height: 1.4; }
.closing-bottom>a { border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.site-footer { color: var(--paper); background: var(--ink); }
.footer-inner { min-height: 98px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.footer-brand { font-size: 20px; font-weight: 800; letter-spacing: -.06em; }
.footer-brand span { color: var(--lime); }
.footer-inner>span { font: 700 11px 'Courier New', monospace; }
@media (max-width: 1100px) { .wrap { width: min(100% - 62px, 1460px); } .nav-links { gap: 18px; } .site-status { margin-left: 0; } .directory-head { grid-template-columns: 1fr 1.8fr; } .directory-head p { grid-column: 2; } .directory-card { padding: 18px; } .card-art { height: 175px; } }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { height: 74px; gap: 8px; }
  .wordmark { font-size: 16px; gap: 8px; }
  .brand-mark { height: 25px; width: 25px; }
  .nav-links, .site-status { display: none; }
  .hero { padding-top: 26px; }
  .hero-meta { font-size: 9px; gap: 12px; }
  .hero-index { gap: 6px; white-space: nowrap; }
  .hero-stage { padding-top: 80px; }
  .hero h1 { font-size: clamp(56px, 12.2vw, 91px); -webkit-text-stroke: 0; }
  .hero h1 .outlined { -webkit-text-stroke: 1.35px var(--ink); }
  .hero-asterisk { font-size: 70px; top: 7px; right: 11px; }
  .hero-bottom { margin-top: 45px; padding-bottom: 35px; grid-template-columns: auto 1fr; gap: 17px; }
  .hero-bottom p { font-size: 19px; }
  .hero-symbol { width: 43px; height: 43px; font-size: 27px; }
  .round-link { grid-column: 1 / -1; margin-top: 10px; justify-self: stretch; justify-content: space-between; }
  .ticker-track { font-size: 20px; }
  .idea-section { grid-template-columns: 1fr; gap: 60px; padding-top: 75px; padding-bottom: 85px; }
  .section-marker { flex-direction: row; align-items: center; }
  .mini-cross { font-size: 45px; }
  .section-content h2 { font-size: clamp(45px, 10.5vw, 76px); margin: 0 0 35px; }
  .idea-bottom { align-items: start; }
  .idea-bottom p { font-size: 16px; }
  .stamp { height: 82px; width: 82px; flex-basis: 82px; font-size: 8px; }
  .stamp strong { font-size: 34px; }
  .directory-section { padding: 78px 0 85px; }
  .directory-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 35px; }
  .directory-head h2 { font-size: clamp(56px, 12vw, 82px); }
  .directory-head p { grid-column: 1; }
  .directory-cards { grid-template-columns: 1fr; }
  .directory-card { min-height: 440px; }
  .card-art { height: 190px; }
  .directory-card h3 { font-size: 31px; }
  .closing { padding-top: 65px; padding-bottom: 70px; }
  .closing h2 { font-size: clamp(55px, 10vw, 88px); margin: 72px 0 65px; }
  .closing-bottom p { font-size: 16px; }
  .footer-inner { padding: 30px 0; min-height: 135px; flex-wrap: wrap; justify-content: flex-start; }
  .footer-brand { flex-basis: 100%; }
  .footer-inner>span { font-size: 9px; }
}
@media (max-width: 390px) { .hero-meta { font-size: 8px; } .hero h1 { font-size: 12vw; } .idea-bottom { flex-direction: column; } .stamp { align-self: flex-end; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* WordPress integration. Homepage selectors above retain the original static design. */
.site-navigation { margin-left: auto; }
.site-navigation .nav-links { list-style: none; margin: 0; padding: 0; }
.site-navigation .nav-links li { margin: 0; }
.directory-card.has-link { cursor: pointer; }
.directory-card.has-link:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.directory-card.has-link:hover .card-top span:last-child { transform: translate(2px, -2px); }
.directory-card.has-link .card-top span:last-child { transition: transform .2s; }
.home-extra { padding-top: 100px; padding-bottom: 100px; border-top: 1px solid var(--line); }
.home-extra .content-body { max-width: 860px; }
.home-extra h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.065em; }
/* Interior pages and post listings */
.content-shell { padding-top: 90px; padding-bottom: 140px; min-height: 65vh; }
.content-eyebrow { font: 700 12px/1.2 'Courier New', monospace; letter-spacing: .035em; text-transform: uppercase; margin-bottom: 26px; }
.content-header { max-width: 1050px; margin-bottom: 68px; }
.content-header h1 { font-size: clamp(52px, 8vw, 116px); letter-spacing: -.085em; line-height: .94; margin: 0; overflow-wrap: anywhere; }
.content-header .post-meta { margin-top: 24px; color: var(--muted); font: 700 12px/1.5 'Courier New', monospace; }
.content-body { max-width: 850px; font-size: 19px; line-height: 1.7; color: #3b453c; overflow-wrap: anywhere; }
.content-body > :first-child { margin-top: 0; }
.content-body p, .content-body ul, .content-body ol { margin: 0 0 1.4em; }
.content-body h2, .content-body h3, .content-body h4 { color: var(--ink); line-height: 1.1; letter-spacing: -.055em; margin: 1.6em 0 .55em; }
.content-body h2 { font-size: clamp(32px, 4.2vw, 54px); }
.content-body h3 { font-size: clamp(26px, 3vw, 36px); }
.content-body a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.content-body img, .content-body video, .content-body iframe { max-width: 100%; height: auto; }
.content-body img { display: block; }
.content-body blockquote { border-left: 5px solid var(--orange); margin: 2em 0; padding: .25em 1.5em; font-style: italic; }
.content-body pre { overflow-x: auto; padding: 22px; background: var(--night); color: var(--paper); font: 15px/1.6 monospace; }
.content-body code { font-family: 'Courier New', monospace; }
.content-body hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.content-body .wp-block-image figcaption { color: var(--muted); font-size: 14px; }
.content-body .alignwide { max-width: 1100px; width: min(1100px, calc(100vw - 96px)); }
.content-body .alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.post-tile { border: 1px solid var(--ink); padding: 30px; min-height: 285px; display: flex; flex-direction: column; transition: background .2s, transform .2s; }
.post-tile:hover { background: #e9ecd9; transform: translateY(-3px); }
.post-tile .tile-meta { font: 700 12px/1.3 'Courier New', monospace; color: var(--muted); }
.post-tile h2 { margin: 28px 0 20px; font-size: clamp(29px, 3.7vw, 47px); line-height: 1.03; letter-spacing: -.06em; }
.post-tile p { font-size: 16px; line-height: 1.5; margin: 0 0 22px; color: #505a50; }
.post-tile .tile-arrow { font-size: 26px; margin-top: auto; align-self: flex-end; }
.pagination { display: flex; gap: 16px; padding-top: 50px; }
.pagination .nav-links { display: flex; gap: 12px; flex-wrap: wrap; }
.pagination a, .pagination .current { border: 1px solid var(--ink); padding: 10px 15px; display: inline-block; }
.pagination .current { background: var(--lime); }
.post-footer-links { margin-top: 60px; border-top: 1px solid var(--line); padding-top: 30px; }
.post-footer-links a { display: inline-block; margin-right: 20px; margin-bottom: 10px; text-decoration: underline; }
.wp-block-button__link { background: var(--ink); color: var(--paper) !important; border-radius: 999px; text-decoration: none !important; }
.wp-block-button__link:hover { background: #3b5039; }
.wp-block-quote { border-left: 5px solid var(--orange); }
.comment-list { padding-left: 20px; }
.comment-body { margin-bottom: 30px; }
.comment-form label { display: block; font-size: 15px; margin: 14px 0 6px; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { max-width: 100%; width: 100%; padding: 13px; border: 1px solid var(--line); background: white; font: inherit; }
.comment-form .submit { background: var(--lime); color: var(--ink); border: 1px solid var(--ink); border-radius: 25px; padding: 12px 22px; cursor: pointer; font-weight: 700; width: auto !important; }
@media (max-width: 760px) {
  .site-navigation { display: none; }
  .content-shell { padding-top: 60px; padding-bottom: 85px; }
  .content-header { margin-bottom: 42px; }
  .content-body { font-size: 17px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-tile { min-height: 260px; }
  .home-extra { padding-block: 70px; }
  .content-body .alignwide { width: calc(100vw - 36px); }
}
