/* ══════════════════════ base-styles ══════════════════════ */
@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;500;600;700&family=Playfair+Display:ital,wght@1,500;1,600&display=swap";
      @layer theme {
        :root,
        :host {
          --font-sans:
            ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
            "Segoe UI Symbol", "Noto Color Emoji";
          --font-mono:
            ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
            monospace;
          --spacing: 0.25rem;
          --default-font-family: var(--font-sans);
          --default-mono-font-family: var(--font-mono);
        }
      }
      @layer base {
        *,
        :after,
        :before,
        ::backdrop {
          box-sizing: border-box;
          border: 0 solid;
          margin: 0;
          padding: 0;
        }
        ::file-selector-button {
          box-sizing: border-box;
          border: 0 solid;
          margin: 0;
          padding: 0;
        }
        html,
        :host {
          -webkit-text-size-adjust: 100%;
          tab-size: 4;
          line-height: 1.5;
          font-family: var(
            --default-font-family,
            ui-sans-serif,
            system-ui,
            sans-serif,
            "Apple Color Emoji",
            "Segoe UI Emoji",
            "Segoe UI Symbol",
            "Noto Color Emoji"
          );
          font-feature-settings: var(--default-font-feature-settings, normal);
          font-variation-settings: var(--default-font-variation-settings, normal);
          -webkit-tap-highlight-color: transparent;
        }
        hr {
          height: 0;
          color: inherit;
          border-top-width: 1px;
        }
        abbr:where([title]) {
          -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
          font-size: inherit;
          font-weight: inherit;
        }
        a {
          color: inherit;
          -webkit-text-decoration: inherit;
          -webkit-text-decoration: inherit;
          -webkit-text-decoration: inherit;
          -webkit-text-decoration: inherit;
          text-decoration: inherit;
        }
        b,
        strong {
          font-weight: bolder;
        }
        code,
        kbd,
        samp,
        pre {
          font-family: var(
            --default-mono-font-family,
            ui-monospace,
            SFMono-Regular,
            Menlo,
            Monaco,
            Consolas,
            "Liberation Mono",
            "Courier New",
            monospace
          );
          font-feature-settings: var(--default-mono-font-feature-settings, normal);
          font-variation-settings: var(--default-mono-font-variation-settings, normal);
          font-size: 1em;
        }
        small {
          font-size: 80%;
        }
        sub,
        sup {
          vertical-align: baseline;
          font-size: 75%;
          line-height: 0;
          position: relative;
        }
        sub {
          bottom: -0.25em;
        }
        sup {
          top: -0.5em;
        }
        table {
          text-indent: 0;
          border-color: inherit;
          border-collapse: collapse;
        }
        :-moz-focusring {
          outline: auto;
        }
        progress {
          vertical-align: baseline;
        }
        summary {
          display: list-item;
        }
        ol,
        ul,
        menu {
          list-style: none;
        }
        img,
        svg,
        video,
        canvas,
        audio,
        iframe,
        embed,
        object {
          vertical-align: middle;
          display: block;
        }
        img,
        video {
          max-width: 100%;
          height: auto;
        }
        button,
        input,
        select,
        optgroup,
        textarea {
          font: inherit;
          font-feature-settings: inherit;
          font-variation-settings: inherit;
          letter-spacing: inherit;
          color: inherit;
          opacity: 1;
          background-color: #0000;
          border-radius: 0;
        }
        ::file-selector-button {
          font: inherit;
          font-feature-settings: inherit;
          font-variation-settings: inherit;
          letter-spacing: inherit;
          color: inherit;
          opacity: 1;
          background-color: #0000;
          border-radius: 0;
        }
        :where(select:is([multiple], [size])) optgroup {
          font-weight: bolder;
        }
        :where(select:is([multiple], [size])) optgroup option {
          padding-inline-start: 20px;
        }
        ::file-selector-button {
          margin-inline-end: 4px;
        }
        ::placeholder {
          opacity: 1;
        }
        @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
          ::placeholder {
            color: currentColor;
          }
          @supports (color: color-mix(in lab, red, red)) {
            ::placeholder {
              color: color-mix(in oklab, currentcolor 50%, transparent);
            }
          }
        }
        textarea {
          resize: vertical;
        }
        ::-webkit-search-decoration {
          -webkit-appearance: none;
        }
        ::-webkit-date-and-time-value {
          min-height: 1lh;
          text-align: inherit;
        }
        ::-webkit-datetime-edit {
          display: inline-flex;
        }
        ::-webkit-datetime-edit-fields-wrapper {
          padding: 0;
        }
        ::-webkit-datetime-edit {
          padding-block: 0;
        }
        ::-webkit-datetime-edit-year-field {
          padding-block: 0;
        }
        ::-webkit-datetime-edit-month-field {
          padding-block: 0;
        }
        ::-webkit-datetime-edit-day-field {
          padding-block: 0;
        }
        ::-webkit-datetime-edit-hour-field {
          padding-block: 0;
        }
        ::-webkit-datetime-edit-minute-field {
          padding-block: 0;
        }
        ::-webkit-datetime-edit-second-field {
          padding-block: 0;
        }
        ::-webkit-datetime-edit-millisecond-field {
          padding-block: 0;
        }
        ::-webkit-datetime-edit-meridiem-field {
          padding-block: 0;
        }
        ::-webkit-calendar-picker-indicator {
          line-height: 1;
        }
        :-moz-ui-invalid {
          box-shadow: none;
        }
        button,
        input:where([type="button"], [type="reset"], [type="submit"]) {
          appearance: button;
        }
        ::file-selector-button {
          appearance: button;
        }
        ::-webkit-inner-spin-button {
          height: auto;
        }
        ::-webkit-outer-spin-button {
          height: auto;
        }
        [hidden]:where(:not([hidden="until-found"])) {
          display: none !important;
        }
      }
      @layer components;
      @layer utilities {
        .invisible {
          visibility: hidden;
        }
        .visible {
          visibility: visible;
        }
        .relative {
          position: relative;
        }
        .start {
          inset-inline-start: var(--spacing);
        }
        .end {
          inset-inline-end: var(--spacing);
        }
        .table {
          display: table;
        }
      }
      :root {
        --bg: #07101a;
        --bg2: #0d1725;
        --ink: #edf0f7;
        --muted: #9daabc;
        --faint: #6e7b90;
        --line: rgba(184,204,244,.14);
        --glass: rgba(30,42,80,.40);
        --glass-strong: #0d1826e0;
        --paper: #f1eee8;
        --paper-ink: #17202c;
        --accent: #b8b9f7;
        --rose: #edb7d4;
        --mint: #afe0d5;
        --blue: #a9ccf0;
        --amber: #f1d4a5;
        --sage: #bdcfb0;
        --shadow: 0 24px 80px #00000047;
      }
      :root[data-theme="light"] {
        --bg: #eef4f6;
        --bg2: #e1ecf0;
        --ink: #172331;
        --muted: #4c5a68;
        --faint: #64707e;
        --line: rgba(120,140,190,.22);
        --glass: rgba(255,255,255,.55);
        --glass-strong: #f4f8f9e8;
        --paper: #fffdf9;
        --paper-ink: #172331;
        --shadow: 0 20px 70px #445b6f29;
      }
      * {
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
        scroll-padding-top: 110px;
      }
      body {
        background: var(--bg);
        color: var(--ink);
        margin: 0;
        font-family: "Mali", Manrope, sans-serif;
        transition:
          background 0.45s,
          color 0.45s;
      }
      .reading {
        overflow: hidden;
      }
      button,
      a {
        font: inherit;
      }
      button {
        color: inherit;
      }
      a {
        color: inherit;
        text-decoration: none;
      }
      ::selection {
        background: var(--accent);
        color: #101420;
      }
      .atmosphere {
        z-index: -2;
        background:
          radial-gradient(ellipse at 18% 5%, #48599245, transparent 38%),
          radial-gradient(ellipse at 84% 34%, #1a486040, transparent 40%),
          linear-gradient(140deg, var(--bg), var(--bg2) 46%, #09121c);
        transition: background 0.5s;
        position: fixed;
        inset: 0;
        overflow: hidden;
      }
      :root[data-theme="light"] .atmosphere {
        background:
          radial-gradient(at 25% 18%, #fffffff2, #0000 36%),
          radial-gradient(at 80% 36%, #c0d7ec87, #0000 38%),
          linear-gradient(140deg, #f7fafb, #e8f0f4 48%, #dae8ec);
      }
      .atmosphere:after {
        content: "";
        opacity: 0.28;
        mix-blend-mode: soft-light;
        pointer-events: none;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
        position: absolute;
        inset: 0;
      }
      .paint-stroke {
        opacity: 0.25;
        filter: blur(24px);
        background: linear-gradient(90deg, #0000, #a8d8f2, #ceb6f4, #f4bbce, #f3daa1, #0000);
        border-radius: 45% 65% 40% 70%;
        width: 70vw;
        height: 145px;
        position: absolute;
        top: 18vh;
        right: -12vw;
        transform: rotate(-8deg);
      }
      :root[data-theme="light"] .paint-stroke {
        opacity: 0.36;
        mix-blend-mode: multiply;
      }
      .rain {
        background-image: repeating-linear-gradient(
          100deg,
          #0000 0 52px,
          #d2e5ff24 53px,
          #0000 55px
        );
        background-size: 92px 170px;
        animation: 11s linear infinite rainfall;
        position: absolute;
        inset: -100px;
        transform: skew(-4deg);
      }
      .rain-two {
        opacity: 0.55;
        background-size: 137px 220px;
        animation-duration: 17s;
        animation-delay: -6s;
      }
      :root[data-theme="light"] .rain {
        opacity: 0.22;
      }
      @keyframes rainfall {
        to {
          background-position: -150px 520px;
        }
      }
      .nav-wrap {
        z-index: 20;
        padding: 18px 24px;
        position: sticky;
        top: 0;
      }
      .nav {
        border: 1px solid var(--line);
        background: var(--glass);
        -webkit-backdrop-filter: blur(22px) saturate(125%);
        backdrop-filter: blur(22px) saturate(125%);
        border-radius: 22px;
        align-items: center;
        gap: 28px;
        max-width: 1180px;
        min-height: 62px;
        margin: auto;
        padding: 9px 12px 9px 22px;
        display: flex;
        box-shadow: 0 12px 40px #00000021;
      }
      .wordmark {
        font-family: "Pacifico", cursive;
        letter-spacing: 0;
        margin-right: auto;
        font-size: 22px;
        font-weight: 400;
        color: var(--ink);
        text-decoration: none;
      }
      .wordmark span:first-child {
        font-family:
          DM Mono,
          monospace;
        font-weight: 400;
      }
      .flash {
        color: var(--accent);
        margin-left: 7px;
        font-size: 12px;
      }
      .nav-links {
        align-items: center;
        gap: 26px;
        display: flex;
      }
      .nav-links a {
        letter-spacing: 0.08em;
        color: var(--muted);
        font:
          400 11px DM Mono,
          monospace;
        transition: all 0.2s;
      }
      .nav-links a:hover {
        color: var(--ink);
        transform: translateY(-1px);
      }
      .nav-links a { position: relative; }
      .nav-links a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 100%;
        bottom: -3px;
        height: 1px;
        background: #f2c879;
        transition: right .35s cubic-bezier(.22, .61, .36, 1);
      }
      .nav-links a:hover::after { right: 0; }
      .cat-toggle {
        cursor: pointer;
        background: 0 0;
        border: 0;
        padding: 0;
      }
      .toggle-track {
        border: 1px solid var(--line);
        background: #ffffff12;
        border-radius: 18px;
        width: 79px;
        height: 40px;
        display: block;
        position: relative;
        overflow: hidden;
      }
      .cat {
        font-size: 24px;
        line-height: 1;
        transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
        position: absolute;
        top: 7px;
        left: 7px;
      }
      :root[data-theme="light"] .cat {
        transform: translate(37px);
      }
      .toggle-stars,
      .toggle-sun {
        color: var(--accent);
        font-size: 12px;
        position: absolute;
        top: 12px;
      }
      .toggle-stars {
        right: 10px;
      }
      .toggle-sun {
        color: #bd9361;
        left: 11px;
      }
      .menu-button {
        background: 0 0;
        border: 0;
        font:
          11px DM Mono,
          monospace;
        display: none;
      }
      .site-shell {
        max-width: 1180px;
        margin: auto;
        padding: 0 24px 60px;
      }
      .hero {
        flex-direction: column;
        justify-content: center;
        min-height: 650px;
        padding: 105px 4% 60px;
        display: flex;
      }
      .eyebrow,
      .section-no,
      .category {
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--muted);
        font:
          400 10px DM Mono,
          monospace;
      }
      .live-dot {
        background: #e6a6c3;
        border-radius: 50%;
        width: 6px;
        height: 6px;
        margin-right: 8px;
        display: inline-block;
        box-shadow: 0 0 12px #e6a6c3;
      }
      .hero h1 {
        letter-spacing: -0.065em;
        max-width: 1000px;
        margin: 22px 0 30px;
        font-size: clamp(48px, 7.3vw, 92px);
        font-weight: 600;
        line-height: 0.98;
      }
      .hero h1 em {
        color: var(--accent);
        font-family:
          Playfair Display,
          serif;
        font-weight: 500;
      }
      .hero-copy {
        max-width: 680px;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.8;
      }
      .hero-actions {
        align-items: center;
        gap: 28px;
        margin-top: 36px;
        display: flex;
      }
      .primary-button,
      .summer-copy button {
        border: 1px solid var(--line);
        background: var(--ink);
        color: var(--bg);
        letter-spacing: 0.04em;
        border-radius: 12px;
        padding: 15px 19px;
        font:
          500 11px DM Mono,
          monospace;
      }
      .primary-button span {
        margin-left: 20px;
      }
      .text-button {
        color: var(--muted);
        cursor: pointer;
        background: 0 0;
        border: 0;
        font:
          400 11px DM Mono,
          monospace;
      }
      .text-button:hover {
        color: var(--ink);
      }
      .hero-meta {
        color: var(--faint);
        justify-content: space-between;
        margin-top: auto;
        padding-top: 60px;
        font:
          300 10px DM Mono,
          monospace;
        display: flex;
      }
      .card {
        background: var(--glass);
        border: 1px solid var(--line);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        box-shadow: var(--shadow);
        border-radius: 24px;
      }
      .journal-grid {
        grid-template-columns: 1.7fr 0.82fr;
        gap: 22px;
        display: grid;
      }
      .latest {
        cursor: pointer;
        grid-template-columns: 1fr 1fr;
        min-height: 570px;
        display: grid;
        position: relative;
        overflow: hidden;
      }
      .card-kicker {
        border-bottom: 1px solid var(--line);
        text-transform: uppercase;
        letter-spacing: 0.15em;
        height: 54px;
        color: var(--muted);
        grid-column: 1/-1;
        justify-content: space-between;
        align-items: center;
        padding: 0 22px;
        font:
          400 9px DM Mono,
          monospace;
        display: flex;
      }
      .latest-visual {
        background: linear-gradient(145deg, #707ead29, #54658408);
        justify-content: center;
        align-items: center;
        display: flex;
        position: relative;
        overflow: hidden;
      }
      .polaroid {
        color: #333;
        background: #f8f4ee;
        padding: 13px 13px 34px;
        box-shadow: 0 18px 42px #00000052;
      }
      .polaroid-main {
        width: 70%;
        transform: rotate(-5deg);
      }
      .shimmer-scene {
        background: linear-gradient(155deg, #182841, #6b638f 55%, #efa9c7);
        height: 240px;
        position: relative;
        overflow: hidden;
      }
      .shimmer-scene:after {
        content: "";
        background:
          radial-gradient(circle at 70% 25%, #fff6 0 2px, #0000 3px) 0 0/34px 34px,
          radial-gradient(circle at 25% 60%, #fff8 0 1px, #0000 2px) 0 0/24px 24px;
        position: absolute;
        inset: 0;
      }
      .shimmer-scene i {
        filter: blur(10px);
        background: #c9d3ff52;
        border-radius: 50%;
        width: 120%;
        height: 48px;
        position: absolute;
        bottom: 38px;
        left: -8%;
        transform: rotate(-8deg);
      }
      .shimmer-scene i:nth-child(2) {
        background: #f6b6d24d;
        bottom: 83px;
      }
      .shimmer-scene i:nth-child(3) {
        bottom: 6px;
      }
      .shimmer-scene span {
        z-index: 2;
        color: #fff;
        font:
          italic 28px/0.85 Playfair Display,
          serif;
        position: absolute;
        bottom: 18px;
        left: 18px;
      }
      .polaroid small {
        text-align: center;
        margin-top: 12px;
        font:
          10px DM Mono,
          monospace;
        display: block;
      }
      .tape {
        background: #d3d6b8b8;
        width: 100px;
        height: 28px;
        position: absolute;
        top: 48px;
        transform: rotate(8deg);
      }
      .scribble {
        color: var(--muted);
        font:
          italic 13px Playfair Display,
          serif;
        position: absolute;
        bottom: 20px;
        right: 15px;
        transform: rotate(-5deg);
      }
      .latest-copy {
        flex-direction: column;
        justify-content: center;
        padding: 50px 38px;
        display: flex;
      }
      .latest-copy h2 {
        letter-spacing: -0.045em;
        margin: 17px 0;
        font-size: 34px;
        line-height: 1.08;
      }
      .latest-copy p {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.75;
      }
      .read-link {
        border: 0;
        border-top: 1px solid var(--line);
        text-align: left;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        cursor: pointer;
        background: 0 0;
        margin-top: 32px;
        padding: 18px 0 0;
        font:
          10px DM Mono,
          monospace;
      }
      .read-link span {
        float: right;
      }
      .developing {
        padding-bottom: 18px;
      }
      .developing .card-kicker {
        margin-bottom: 20px;
      }
      .blink {
        color: #df9cae;
      }
      .progress-block,
      .mini-note,
      .calendar {
        border: 1px solid var(--line);
        background: #ffffff09;
        border-radius: 14px;
        margin: 0 18px 14px;
        padding: 18px;
      }
      .progress-block > div:first-child {
        justify-content: space-between;
        display: flex;
      }
      .progress-block strong,
      .mini-note strong {
        font-size: 13px;
      }
      .progress-block span,
      .progress-block small,
      .mini-note span,
      .mini-note small {
        color: var(--muted);
        font:
          9px DM Mono,
          monospace;
      }
      .progress {
        background: #ffffff14;
        border-radius: 10px;
        height: 5px;
        margin: 16px 0 12px;
        overflow: hidden;
      }
      .progress i {
        background: linear-gradient(90deg, var(--blue), var(--rose));
        width: 13%;
        height: 100%;
        display: block;
      }
      .mini-note {
        background: linear-gradient(125deg, #b8b9f71a, #edb7d40f);
        flex-direction: column;
        gap: 6px;
        display: flex;
      }
      .now-list {
        padding: 4px 20px 14px;
      }
      .now-list div {
        border-bottom: 1px dashed var(--line);
        justify-content: space-between;
        padding: 9px 0;
        display: flex;
      }
      .now-list span {
        color: var(--faint);
        font:
          9px DM Mono,
          monospace;
      }
      .now-list b {
        font-size: 10px;
        font-weight: 500;
      }
      .calendar-head {
        justify-content: space-between;
        margin-bottom: 15px;
        display: flex;
      }
      .calendar-head b {
        font:
          10px DM Mono,
          monospace;
      }
      .calendar-head span {
        font-size: 10px;
      }
      .days {
        text-align: center;
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
        display: grid;
      }
      .days i,
      .days span {
        color: var(--faint);
        padding: 4px 0;
        font:
          8px DM Mono,
          monospace;
      }
      .days span.marked {
        color: var(--ink);
        text-decoration: underline;
        -webkit-text-decoration-color: var(--rose);
        -webkit-text-decoration-color: var(--rose);
        -webkit-text-decoration-color: var(--rose);
        text-decoration-color: var(--rose);
      }
      .days span.today {
        background: var(--accent);
        color: #151923;
        border-radius: 50%;
      }
      .archive-section,
      .challenge-section {
        padding: 150px 0 30px;
      }
      .section-heading {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: end;
        gap: 60px;
        margin-bottom: 48px;
        display: grid;
      }
      .section-heading h2,
      .about-section h2 {
        letter-spacing: -0.055em;
        margin: 12px 0 0;
        font-size: clamp(38px, 5vw, 64px);
        line-height: 1;
      }
      .section-heading > p {
        color: var(--muted);
        max-width: 440px;
        font-size: 14px;
        line-height: 1.7;
      }
      .filters {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 24px;
        display: flex;
      }
      .filters button {
        border: 1px solid var(--line);
        background: var(--glass);
        color: var(--muted);
        cursor: pointer;
        border-radius: 99px;
        padding: 9px 13px;
        font:
          9px DM Mono,
          monospace;
      }
      .filters button.active {
        background: var(--ink);
        color: var(--bg);
      }
      .entry-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        display: grid;
      }
      .entry-card {
        text-align: left;
        border: 1px solid var(--line);
        background: var(--glass);
        cursor: pointer;
        border-radius: 18px;
        min-height: 430px;
        padding: 14px;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
      }
      .entry-card:hover {
        box-shadow: var(--shadow);
        transform: translateY(-6px) rotate(0.3deg);
      }
      .entry-index,
      .entry-cat {
        color: var(--faint);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font:
          9px DM Mono,
          monospace;
      }
      .entry-cat {
        float: right;
      }
      .entry-art {
        background: linear-gradient(145deg, #ffffff1f, #ffffff05);
        border: 1px solid #ffffff1a;
        border-radius: 10px;
        justify-content: center;
        align-items: center;
        height: 180px;
        margin: 28px 0 22px;
        display: flex;
        box-shadow: inset 0 0 50px #00000014;
      }
      .entry-art span {
        font:
          24px DM var(--font-mono)
          serif;
        transform: rotate(0deg);
      }
      .tone-blue .entry-art {
        background: linear-gradient(145deg, #8faec2, #4d627c);
      }
      .tone-rose .entry-art {
        background: linear-gradient(145deg, #eab6cc, #755b7c);
      }
      .tone-mint .entry-art {
        background: linear-gradient(145deg, #b5ded1, #4e7f79);
      }
      .tone-amber .entry-art {
        background: linear-gradient(145deg, #ead1a6, #896e5f);
      }
      .tone-sage .entry-art {
        background: linear-gradient(145deg, #bbccad, #617462);
      }
      .tone-lilac .entry-art {
        background: linear-gradient(145deg, #b6b5e3, #68668b);
      }
      .entry-body small {
        color: var(--faint);
        font:
          9px DM Mono,
          monospace;
      }
      .entry-body h3 {
        letter-spacing: -0.03em;
        margin: 10px 0;
        font-size: 21px;
        line-height: 1.2;
      }
      .entry-body p {
        color: var(--muted);
        margin-bottom: 20px;
        font-size: 12px;
        line-height: 1.6;
      }
      .entry-arrow {
        text-transform: uppercase;
        font:
          9px DM Mono,
          monospace;
        position: absolute;
        bottom: 18px;
      }
      .challenge-layout {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 18px;
        display: grid;
      }
      .challenge-big {
        grid-template-columns: 180px 1fr;
        align-items: center;
        padding: 40px;
        display: grid;
      }
      .counter {
        color: var(--accent);
        letter-spacing: -0.09em;
        font:
          300 86px DM Mono,
          monospace;
      }
      .challenge-big h3 {
        letter-spacing: -0.04em;
        margin: 12px 0;
        font-size: 34px;
      }
      .challenge-big p {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.7;
      }
      .code-line {
        border: 1px solid var(--line);
        background: #00000029;
        border-radius: 8px;
        margin-top: 22px;
        padding: 12px;
        font:
          9px DM Mono,
          monospace;
      }
      .code-line span {
        color: var(--rose);
        margin-right: 18px;
      }
      .challenge-notes {
        border-top: 1px solid var(--line);
      }
      .challenge-notes article {
        border-bottom: 1px solid var(--line);
        grid-template-columns: 50px 1fr;
        gap: 10px;
        padding: 18px 4px;
        display: grid;
      }
      .challenge-notes article > span {
        color: var(--faint);
        font:
          10px DM Mono,
          monospace;
      }
      .challenge-notes b {
        font-size: 13px;
      }
      .challenge-notes p {
        color: var(--muted);
        margin: 6px 0;
        font-size: 11px;
        line-height: 1.55;
      }
      .summerlore {
        color: #303548;
        min-height: 610px;
        box-shadow: var(--shadow);
        background: linear-gradient(135deg, #d7e8f1 0%, #f1dfec 45%, #f5eacb 100%);
        border-radius: 32px;
        grid-template-columns: 0.8fr 1.2fr;
        gap: 40px;
        margin: 150px 0 40px;
        padding: 65px;
        display: grid;
        position: relative;
        overflow: hidden;
      }
      .summerlore:before {
        content: "";
        opacity: 0.5;
        background-image: radial-gradient(#fff8 1px, #0000 1px);
        background-size: 22px 22px;
        position: absolute;
        inset: 0;
      }
      .summer-copy,
      .summer-board {
        z-index: 1;
        position: relative;
      }
      .summer-copy {
        flex-direction: column;
        justify-content: center;
        display: flex;
      }
      .summer-copy h2 {
        letter-spacing: -0.06em;
        margin: 18px 0;
        font-size: 53px;
        line-height: 1;
      }
      .summer-copy h2 em {
        color: #8b6c8d;
        font-family:
          Playfair Display,
          serif;
        font-weight: 500;
      }
      .summer-copy p {
        color: #606579;
        font-size: 14px;
        line-height: 1.8;
      }
      .summer-copy button {
        color: #fff;
        cursor: pointer;
        background: #34374a;
        border: 0;
        width: max-content;
        margin-top: 20px;
      }
      .summer-board {
        min-height: 440px;
      }
      .summer-polaroid {
        background: #fffcf5;
        width: 270px;
        padding: 13px 13px 35px;
        position: absolute;
        top: 2%;
        left: 13%;
        transform: rotate(-6deg);
        box-shadow: 0 18px 40px #765c7b33;
      }
      .sunset {
        color: #fff2a7;
        background: linear-gradient(#9fcbed, #e4b4d1 55%, #e6bc91);
        justify-content: center;
        align-items: center;
        height: 260px;
        font-size: 100px;
        display: flex;
      }
      .summer-polaroid small {
        text-align: center;
        margin-top: 10px;
        font:
          9px DM Mono,
          monospace;
        display: block;
      }
      .tea-note {
        background: #fff3ad;
        width: 220px;
        padding: 24px 20px;
        font:
          13px/1.8 DM Mono,
          monospace;
        position: absolute;
        bottom: 6%;
        right: 4%;
        transform: rotate(5deg);
        box-shadow: 0 12px 30px #765c7b22;
      }
      .tea-note b {
        font-size: 12px;
      }
      .tea-note span {
        float: right;
        font-size: 22px;
      }
      .flower {
        color: #fff;
        text-shadow: 0 4px 10px #8f759f44;
        font-size: 64px;
        position: absolute;
        top: 6%;
        right: 12%;
      }
      .summer-ticket {
        border: 1px dashed #856d83;
        padding: 12px 20px;
        font:
          14px DM Mono,
          monospace;
        position: absolute;
        bottom: 0;
        left: 0;
        transform: rotate(-3deg);
      }
      .summer-ticket small {
        font-size: 8px;
      }
      .about-section {
        border-top: 1px solid var(--line);
        grid-template-columns: 100px 1fr 1fr;
        gap: 50px;
        margin-top: 140px;
        padding: 150px 5% 110px;
        display: grid;
      }
      .about-mark {
        color: var(--rose);
        font-size: 52px;
      }
      .about-copy p {
        color: var(--muted);
        margin-top: 0;
        font-size: 14px;
        line-height: 1.8;
      }
      .about-links {
        flex-wrap: wrap;
        gap: 18px;
        margin-top: 30px;
        display: flex;
      }
      .about-links a,
      .about-links button {
        text-transform: uppercase;
        cursor: pointer;
        color: var(--ink);
        background: 0 0;
        border: 0;
        padding: 0;
        font:
          10px DM Mono,
          monospace;
      }
      footer {
        border-top: 1px solid var(--line);
        color: var(--faint);
        justify-content: space-between;
        padding: 30px 0;
        font:
          9px DM Mono,
          monospace;
        display: flex;
      }
      .reader-backdrop {
        z-index: 50;
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        background: #02060cb8;
        padding: 40px 20px;
        position: fixed;
        inset: 0;
        overflow: auto;
      }
      .reader {
        background: var(--paper);
        max-width: 760px;
        color: var(--paper-ink);
        border-radius: 20px;
        margin: auto;
        padding: 65px 80px;
        position: relative;
        box-shadow: 0 40px 100px #0007;
      }
      .reader-close {
        cursor: pointer;
        background: 0 0;
        border: 0;
        font:
          10px DM Mono,
          monospace;
        position: absolute;
        top: 20px;
        right: 22px;
      }
      .reader-meta {
        text-transform: uppercase;
        letter-spacing: 0.13em;
        color: #6f7580;
        justify-content: space-between;
        font:
          9px DM Mono,
          monospace;
        display: flex;
      }
      .reader h2 {
        letter-spacing: -0.055em;
        margin: 18px 0;
        font-size: 47px;
        line-height: 1.04;
      }
      .reader-dek {
        color: #666d78;
        font:
          italic 19px/1.6 Playfair Display,
          serif;
      }
      .reader-photo {
        background: linear-gradient(145deg, #a6bfce, #b5acd7 47%, #e6b4c8);
        justify-content: center;
        align-items: center;
        height: 260px;
        margin: 42px 0;
        display: flex;
        position: relative;
        transform: rotate(-1deg);
        box-shadow: 0 15px 30px #29344722;
      }
      .reader-photo span {
        color: #fff;
        font:
          italic 34px Playfair Display,
          serif;
      }
      .reader-photo i {
        color: #626875;
        font:
          9px DM Mono,
          monospace;
        position: absolute;
        bottom: -26px;
      }
      .reader section {
        margin: 52px 0;
      }
      .reader section small {
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: #656c77;
        font:
          500 9px DM Mono,
          monospace;
      }
      .reader section p {
        font:
          17px/1.85 Manrope,
          sans-serif;
      }
      .reader pre {
        color: #d8e2ee;
        background: #18202a;
        border-radius: 10px;
        padding: 18px;
        font:
          12px DM Mono,
          monospace;
        overflow: auto;
      }
      .reader-end {
        text-align: center;
        color: #8a8f98;
        padding-top: 20px;
        font:
          9px DM Mono,
          monospace;
      }
      @media (width<=900px) {
        .nav {
          gap: 12px;
        }
        .nav-links {
          gap: 13px;
        }
        .journal-grid,
        .section-heading,
        .challenge-layout,
        .summerlore,
        .latest {
          grid-template-columns: 1fr;
        }
        .latest-visual {
          min-height: 430px;
        }
        .entry-grid {
          grid-template-columns: repeat(2, 1fr);
        }
        .summerlore {
          padding: 45px;
        }
        .summer-board {
          min-height: 460px;
        }
        .about-section {
          grid-template-columns: 80px 1fr;
        }
        .about-copy {
          grid-column: 2;
        }
        .challenge-big {
          grid-template-columns: 150px 1fr;
        }
      }
      @media (width<=680px) {
        .nav-wrap {
          padding: 10px;
        }
        .nav {
          border-radius: 17px;
          padding-left: 15px;
          position: relative;
        }
        .menu-button {
          display: block;
        }
        .nav-links {
          background: var(--glass-strong);
          border: 1px solid var(--line);
          -webkit-backdrop-filter: blur(22px);
          backdrop-filter: blur(22px);
          border-radius: 16px;
          flex-direction: column;
          align-items: stretch;
          padding: 14px;
          display: none;
          position: absolute;
          top: 68px;
          left: 0;
          right: 0;
        }
        .nav-links.is-open {
          display: flex;
        }
        .nav-links a {
          padding: 11px;
        }
        .site-shell {
          padding: 0 14px 40px;
        }
        .hero {
          min-height: 680px;
          padding: 90px 5% 40px;
        }
        .hero h1 {
          font-size: 48px;
        }
        .hero-copy {
          font-size: 15px;
        }
        .hero-actions {
          flex-direction: column;
          align-items: flex-start;
        }
        .hero-meta {
          gap: 20px;
          line-height: 1.5;
        }
        .journal-grid {
          gap: 14px;
        }
        .latest {
          min-height: 0;
        }
        .latest-visual {
          min-height: 360px;
        }
        .latest-copy {
          padding: 36px 25px;
        }
        .latest-copy h2 {
          font-size: 30px;
        }
        .archive-section,
        .challenge-section {
          padding-top: 110px;
        }
        .section-heading {
          gap: 18px;
        }
        .entry-grid {
          grid-template-columns: 1fr;
        }
        .entry-card {
          min-height: 400px;
        }
        .entry-art {
          height: 200px;
        }
        .challenge-big {
          grid-template-columns: 1fr;
          padding: 30px;
        }
        .counter {
          font-size: 70px;
        }
        .summerlore {
          margin-top: 100px;
          padding: 38px 24px;
        }
        .summer-copy h2 {
          font-size: 42px;
        }
        .summer-board {
          min-height: 430px;
        }
        .summer-polaroid {
          width: 230px;
          left: 5%;
        }
        .sunset {
          height: 220px;
        }
        .tea-note {
          width: 180px;
        }
        .about-section {
          grid-template-columns: 1fr;
          gap: 20px;
          padding: 100px 10px 70px;
        }
        .about-copy {
          grid-column: 1;
        }
        .about-mark {
          display: none;
        }
        footer {
          flex-direction: column;
          gap: 12px;
        }
        .reader-backdrop {
          padding: 10px;
        }
        .reader {
          border-radius: 14px;
          padding: 60px 25px;
        }
        .reader h2 {
          font-size: 37px;
        }
        .reader-photo {
          height: 220px;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        * {
          scroll-behavior: auto !important;
        }
        .rain {
          animation: none;
        }
        .entry-card {
          transition: none;
        }
      }
      :focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 4px;
      }

/* ══════════════════════ tp-chunk1 ══════════════════════ */
/* fixed v1 background (rain + streak) — static, no scroll motion */
      .atmosphere {
        z-index: -3;
      }
      #rain {
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
      }
      .bow-fix {
        position: fixed;
        inset: 0;
        z-index: -2;
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .bow {
        flex: none;
        width: 160vw;
        opacity: 0.44;
        transform: rotate(-7deg);
      }
      /* hero: v1 wordmark, exact subline, centered H+V, GPT buttons kept */
      .hero {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
      }
      .hero .eyebrow {
        justify-content: center;
      }
      .tp-wordmark {
        font-family: "Pacifico", cursive;
        font-weight: 400;
        font-size: clamp(2.6rem, 10vw, 6.8rem);
        line-height: 1.08;
        letter-spacing: 0;
        margin: 12px 0 18px;
        max-width: none;
      }
      .tp-wordmark .d {
        color: #f2c879;
      }
      .tp-subline {
        font-family: "DM Mono", monospace;
        text-transform: uppercase;
        letter-spacing: 0.3em;
        font-size: clamp(0.72rem, 2vw, 0.95rem);
        color: var(--muted);
        max-width: none;
        margin: 0;
      }
      .hero-actions {
        justify-content: center;
      }
      .hero-meta {
        justify-content: center;
        gap: 24px;
      }

/* ══════════════════════ tp-chunk2 ══════════════════════ */
.tp-latest-section,
      .tp-exec-section {
        max-width: 1180px;
        margin: 0 auto;
        padding: 60px 24px;
      }
      .sec-label {
        font-family: "DM Mono", monospace;
        font-size: 9px;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 22px;
        display: flex;
        align-items: center;
        gap: 0.7rem;
      }
      .sec-label::before {
        content: "✦";
        color: #f2c879;
      }
      .tp-card {
        position: relative;
        border: 1px solid var(--line);
        background: var(--glass);
        border-radius: 24px;
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        overflow: hidden;
        transition:
          transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
          border-color 0.5s;
      }
      .tp-card:hover {
        transform: translateY(-4px);
        border-color: rgba(244, 171, 110, 0.4);
      }
      .tp-exposure {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 0;
      }
      .tp-txt {
        padding: clamp(1.6rem, 4vw, 2.8rem);
      }
      .tp-photo {
        background: linear-gradient(140deg, rgba(244, 171, 110, 0.14), rgba(184, 204, 244, 0.05));
        display: flex;
        align-items: flex-end;
        padding: 1.4rem;
        font-family: "DM Mono", monospace;
        font-size: 0.68rem;
        color: var(--muted);
        letter-spacing: 0.05em;
        min-height: 230px;
      }
      .exp-date {
        font-family: "DM Mono", monospace;
        font-size: 0.74rem;
        color: #f2c879;
        letter-spacing: 0.06em;
      }
      .exp-kicker {
        font-family: "DM Mono", monospace;
        font-size: 0.72rem;
        color: var(--muted);
        margin-top: 0.4rem;
        letter-spacing: 0.04em;
      }
      .exp-title {
        font-family: "Playfair Display", serif;
        font-style: italic;
        font-size: clamp(1.6rem, 4vw, 2.7rem);
        line-height: 1.08;
        margin: 0.9rem 0;
        color: var(--ink);
      }
      .exp-meta {
        font-family: "DM Mono", monospace;
        font-size: 0.72rem;
        color: var(--muted);
        letter-spacing: 0.04em;
      }
      .exp-dek {
        margin-top: 1.1rem;
        color: var(--muted);
        font-size: 1rem;
        line-height: 1.6;
        max-width: 44ch;
      }
      .exp-cta {
        display: inline-flex;
        margin-top: 1.6rem;
        font-family: "DM Mono", monospace;
        font-size: 0.8rem;
        color: var(--ink);
        border: 0;
        border-bottom: 1px solid #f2c879;
        padding: 0 0 2px;
        background: none;
        cursor: pointer;
      }
      .tp-rec {
        color: #ff6b7a;
        animation: tpblink 1.4s steps(2, end) infinite;
      }
      @keyframes tpblink {
        50% {
          opacity: 0.25;
        }
      }
      .glow {
        position: relative;
      }
      .glow::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        opacity: 0;
        pointer-events: none;
        border-radius: inherit;
        background: radial-gradient(
          340px circle at var(--mx, 50%) var(--my, 0%),
          rgba(244, 171, 110, 0.3),
          rgba(226, 132, 86, 0.12) 46%,
          transparent 66%
        );
        transition: opacity 0.55s;
      }
      .glow:hover::before {
        opacity: 1;
      }
      .glow > * {
        position: relative;
        z-index: 1;
      }
      @media (max-width: 720px) {
        .tp-exposure {
          grid-template-columns: 1fr;
        }
        .tp-photo {
          order: -1;
          min-height: 170px;
        }
        .tp-txt {
          order: 0;
        }
      }

/* ══════════════════════ tp-chunk4 ══════════════════════ */
/* summerlore: v2 card + overlay-glass (rainbow behind, frost on top) */
      .tp-summer-section {
        max-width: 1180px;
        margin: 0 auto;
        padding: 60px 24px;
      }
      .tp-summer {
        position: relative;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 24px;
        padding: clamp(2rem, 5vw, 3.4rem);
        min-height: 280px;
        display: flex;
        align-items: center;
      }
      .tp-summer-streak {
        position: absolute;
        inset: -12% -6%;
        z-index: 0;
        background: linear-gradient(
          115deg,
          transparent 10%,
          #a8d8f2,
          #ceb6f4,
          #f4bbce,
          #f3daa1,
          transparent 95%
        );
        opacity: 0.3;
        transform: rotate(-6deg);
      }
      .tp-summer-frost {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: rgba(16, 22, 42, 0.26);
        -webkit-backdrop-filter: blur(34px);
        backdrop-filter: blur(34px);
      }
      .tp-summer-content {
        position: relative;
        z-index: 2;
        max-width: 46ch;
      }
      .summer-eyebrow {
        font-family: "DM Mono", monospace;
        font-size: 0.68rem;
        letter-spacing: 0.26em;
        text-transform: uppercase;
        color: #e9d8a6;
      }
      .summer-title {
        font-family: "Playfair Display", serif;
        font-style: italic;
        font-size: clamp(1.9rem, 4.6vw, 3rem);
        margin: 0.5rem 0 0.9rem;
        color: var(--ink);
      }
      .tp-summer-content p {
        color: var(--ink);
        opacity: 0.9;
        line-height: 1.6;
        font-size: 0.98rem;
      }
      .summer-note {
        margin-top: 1.1rem;
        font-family: "DM Mono", monospace;
        font-size: 0.72rem;
        color: var(--muted);
        letter-spacing: 0.03em;
      }
      .summer-cta {
        display: inline-flex;
        margin-top: 1.4rem;
        font-family: "DM Mono", monospace;
        font-size: 0.8rem;
        color: var(--ink);
        border-bottom: 1px solid #f3daa1;
        padding-bottom: 2px;
      }
      /* colophon (my version), centered horizontally + vertically */
      .tp-colophon-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 60px 24px;
      }
      .tp-colophon {
        text-align: center;
        max-width: 640px;
        margin: 0 auto;
      }
      .tp-colophon .mark {
        color: #f2c879;
        font-size: 1.5rem;
      }
      .tp-colophon p {
        font-family: "Playfair Display", serif;
        font-style: italic;
        font-size: clamp(1.2rem, 3vw, 1.7rem);
        line-height: 1.5;
        margin: 1.2rem auto 0;
        color: var(--ink);
      }
      .tp-colophon .sig {
        margin-top: 1.1rem;
        font-family: "DM Mono", monospace;
        font-size: 0.78rem;
        color: var(--muted);
        letter-spacing: 0.03em;
      }
      .tp-colophon .links {
        margin-top: 1.6rem;
        display: flex;
        gap: 1.4rem;
        justify-content: center;
        font-family: "DM Mono", monospace;
        font-size: 0.8rem;
      }
      .tp-colophon .links a {
        color: var(--muted);
        border-bottom: 1px solid transparent;
        transition: 0.3s;
      }
      .tp-colophon .links a:hover {
        color: var(--ink);
        border-color: #f2c879;
      }
      .tp-colophon .rand {
        margin-top: 1.1rem;
        font-family: "DM Mono", monospace;
        font-size: 0.72rem;
        letter-spacing: 0.2em;
        color: var(--faint);
      }

/* ══════════════════════ tp-bg-v2 ══════════════════════ */
/* v2's exact background gradient */
      body {
        background: linear-gradient(160deg, #131a34, #060910 70%) !important;
        background-attachment: fixed !important;
      }
      :root[data-theme="light"] body {
        background: linear-gradient(160deg, #e7edf8, #f5f2ec 70%) !important;
        background-attachment: fixed !important;
      }
      .atmosphere {
        display: none !important;
      }
      /* v2's exact streak positioning (static, edges off-screen, no scroll/flow) */
      .bow-fix {
        position: fixed;
        inset: 0;
        z-index: -2;
        pointer-events: none;
      }
      .bow {
        position: fixed;
        left: 50%;
        top: 46%;
        width: 150vw;
        transform: translate(-50%, -50%) rotate(-7deg);
        opacity: 0.4;
        z-index: -2;
        pointer-events: none;
      }

/* ══════════════════════ tp-logo-preview ══════════════════════ */
.tp-logo-img {
    display: block;
    width: min(560px, 82vw);
    height: auto;
    margin: 10px auto 16px;
  }
  @media (max-width: 600px) {
    .tp-logo-img { width: 88vw; }
  }

/* ══════════════════════ tp-logo-nav-css ══════════════════════ */
.tp-logo-nav { height: 30px; width: auto; display: block; }
  @media (max-width: 600px) { .tp-logo-nav { height: 26px; } }

/* ══════════════════════ tp-quickfixes ══════════════════════ */
/* keep the hero tagline on one tidy line on phones (no orphaned "CODE") */
  .tp-subline { text-wrap: balance; }
  @media (max-width: 600px) {
    .tp-subline { letter-spacing: 0.14em; font-size: 0.68rem; }
  }

/* ══════════════════════ tp-cube ══════════════════════ */
  .tp-photo.gc-cell { position: relative; align-items: center; justify-content: center; font-family: "DM Mono", monospace; overflow: hidden; }
  .gc-wrap { width: 150px; height: 150px; perspective: 900px; }
  .gc-cube { width: 150px; height: 150px; position: relative; transform-style: preserve-3d; animation: gc-spin 22s linear infinite; }
  .gc-cube.paused { animation-play-state: paused; }
  @keyframes gc-spin { to { transform: rotateY(360deg); } }
  .gc-face { position: absolute; width: 150px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; border-radius: 14px; padding: 12px; background: rgba(16,22,40,0.55); border: 1px solid rgba(168,216,240,0.16); box-shadow: 0 0 26px rgba(168,216,240,0.05), inset 0 0 18px rgba(168,216,240,0.03); transition: box-shadow 0.35s, border-color 0.35s; -webkit-user-select: none; user-select: none; }
  .gc-face.front { transform: translateZ(75px); cursor: pointer; }
  .gc-face.back  { transform: rotateY(180deg) translateZ(75px); }
  .gc-face.left  { transform: rotateY(-90deg) translateZ(75px); }
  .gc-face.right { transform: rotateY(90deg) translateZ(75px); }
  /* golden-hour glow on hover — dusk-blue at rest, warm gold on touch */
  .gc-face:hover { box-shadow: 0 0 44px rgba(242,200,121,0.22), inset 0 0 22px rgba(242,200,121,0.08); border-color: rgba(242,200,121,0.42); }
  .gc-mark  { font-family: "DM Mono", monospace; font-size: 1.8rem; color: #f2c879; }
  .gc-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(168,216,240,0.7); }
  .gc-sub   { font-size: 8.5px; letter-spacing: 0.1em; color: rgba(168,216,240,0.3); }
  .gc-big   { font-family: "DM Mono", monospace; font-size: 2.6rem; color: #eaf1fb; line-height: 1; }
  .gc-cal   { text-align: center; color: rgba(168,216,240,0.75); }
  .gc-cal .m { font-size: 10px; letter-spacing: 0.22em; }
  .gc-cal .d { font-family: "DM Mono", monospace; font-size: 2.2rem; color: #eaf1fb; }
  .gc-cal .w { font-size: 9px; letter-spacing: 0.14em; color: rgba(168,216,240,0.4); }
  .gc-link  { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
  .gc-arrow { font-size: 12px; letter-spacing: 0.14em; color: #f2c879; }
  .gc-panel { position: absolute; inset: 0; z-index: 5; background: rgba(9,13,26,0.93); display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: clamp(1.4rem, 3vw, 2rem); }
  .gc-panel.open { opacity: 1; pointer-events: auto; }
  .p-kick  { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(168,216,240,0.5); }
  .p-title { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.7rem; margin: 8px 0 14px; color: #eaf1fb; }
  .p-body  { font-size: 0.8rem; line-height: 1.8; color: rgba(200,214,234,0.8); }
  .gc-close { margin-top: auto; align-self: flex-start; font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(168,216,240,0.8); background: rgba(168,216,240,0.06); border: 1px solid rgba(168,216,240,0.18); border-radius: 10px; padding: 9px 16px; cursor: pointer; transition: all 0.2s; }
  .gc-close:hover { background: rgba(168,216,240,0.13); color: #fff; }
  .gc-hint { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(168,216,240,0.22); pointer-events: none; }
  @media (max-width: 700px) { .tp-photo.gc-cell { min-height: 250px; } }
  @media (prefers-reduced-motion: reduce) { .gc-cube { animation: none; transform: rotateY(-20deg); } }
  /* pink variant — colors are placeholders, tweak freely */
  .summer-cube { position: relative; display: flex; align-items: center; justify-content: center; width: 220px; height: 220px; margin: 30px auto 6px; font-family: "DM Mono", monospace; }
  .gc-pink .gc-face { border-color: rgba(248,195,207,0.24); box-shadow: 0 0 26px rgba(248,195,207,0.06), inset 0 0 18px rgba(248,195,207,0.04); }
  .gc-pink .gc-face:hover { box-shadow: 0 0 44px rgba(248,195,207,0.3), inset 0 0 22px rgba(248,195,207,0.1); border-color: rgba(248,195,207,0.55); }
  .gc-pink .gc-mark, .gc-pink .gc-arrow { color: #f8c3cf; }
  .gc-pink .gc-label, .gc-pink .gc-cal { color: rgba(248,195,207,0.75); }
  .gc-pink .gc-sub, .gc-pink .gc-cal .w { color: rgba(248,195,207,0.4); }
  .gc-pink .p-kick { color: rgba(248,195,207,0.6); }
  .gc-panel { overflow-y: auto; }

  .shadow-3d {
    position:absolute;
    width:200px; height:200px;
    box-shadow:0 0 40px 40px pink, inset 0 0 40px 40px pink;
    transform:rotateX(90deg) translateZ(-200px) rotateY(180deg);
    pointer-events:none;
  }

/* ══════════════════════ tp-layout-fix ══════════════════════ */
/* summerlore: text left, pink cube right */
  .tp-summer { justify-content: space-between; gap: clamp(1.5rem, 4vw, 3rem); }
  .summer-cube { position: relative; z-index: 2; flex-shrink: 0; margin: 0 clamp(2rem, 8vw, 6rem) 0 0;
    display: flex; align-items: center; justify-content: center; width: 220px; height: 220px;
    font-family: "DM Mono", monospace; }
  @media (max-width: 760px) {
    .tp-summer { flex-direction: column; align-items: flex-start; }
    .summer-cube { margin: 22px auto 0; }
  }
  /* latest exposure: flip → polaroid (empty) left, text right (scoped so upcoming card is untouched) */
  .tp-latest-section .tp-exposure { grid-template-columns: 0.9fr 1.1fr; }
  .tp-latest-section .tp-txt { order: 2; }
  .tp-latest-section .tp-photo { order: 1; }
  .tp-polaroid-slot { min-height: 260px; }
  @media (max-width: 720px) {
    .tp-latest-section .tp-exposure { grid-template-columns: 1fr; }   /* stack on phone */
    .tp-latest-section .tp-txt { order: 0; }
    .tp-latest-section .tp-photo { order: 1; }
    .tp-polaroid-slot { min-height: 0; }   /* no empty gap on mobile until you add a polaroid */
  }

/* ══════════════════════ base-styles ══════════════════════ */
.ios-toggle{ width:46px; height:28px; border-radius:999px; border:none; padding:0; cursor:pointer;
    background:rgba(120,132,155,.42); transition:background .3s ease; position:relative; flex:none; }
  .ios-toggle[aria-checked="true"]{ background:#f2c879; }
  .ios-knob{ position:absolute; top:2px; left:2px; width:24px; height:24px; border-radius:50%;
    background:#fff; box-shadow:0 2px 5px rgba(0,0,0,.32); transition:transform .28s cubic-bezier(.22,.61,.36,1); }
  .ios-toggle[aria-checked="true"] .ios-knob{ transform:translateX(18px); }

/* ══════════════════════ tp-manifesto-css ══════════════════════ */
.tp-manifesto { min-height: 92vh; display: flex; align-items: center; justify-content: center; max-width: 1000px; margin: 0 auto; padding: 0 clamp(1.5rem, 6vw, 3rem); text-align: center; }
  .tp-manifesto p { font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 5.2vw, 3.6rem); line-height: 1.32; max-width: 24ch; margin: 0 auto; color: var(--ink); }
  .tp-manifesto .crease { color: #f2c879; }
  /* scroll reveal — rises + fades in when it enters view */
  .reveal-beat { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(.22,.61,.36,1), transform 0.9s cubic-bezier(.22,.61,.36,1); }
  .reveal-beat.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal-beat { opacity: 1; transform: none; transition: none; } }

/* ══════════════════════ tp-reveal ══════════════════════ */
.rv{opacity:0;transform:translateY(30px);transition:opacity .8s cubic-bezier(.22,.61,.36,1),transform .8s cubic-bezier(.22,.61,.36,1);}
  .rv.rv-in{opacity:1;transform:none;}
  @media(prefers-reduced-motion:reduce){.rv{opacity:1;transform:none;transition:none}}

/* ══════════════════════ tp-archive3 ══════════════════════ */
.entry-grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1rem,2.5vw,1.6rem); }
  @media(max-width:820px){ .entry-grid-3{ grid-template-columns:1fr; } }
  .archive-viewall{ text-align:center; margin-top:2rem; }
  .viewall-link{ font-family:"DM Mono",monospace; font-size:12px; letter-spacing:.16em; text-transform:uppercase;
    color:var(--muted); text-decoration:none; border-bottom:1px solid transparent; padding-bottom:3px; transition:color .25s,border-color .25s; }
  .viewall-link:hover{ color:var(--ink); border-color:#f2c879; }

/* ══════════════════════ tp-dev-css ══════════════════════ */
.tp-dev-section{ max-width:1180px; margin:0 auto; padding:60px 24px; }
  .tp-dev{ display:grid; grid-template-columns:1.3fr 1fr; gap:1.2rem; }
  @media(max-width:720px){ .tp-dev{ grid-template-columns:1fr; } }
  .rec-card{ padding:clamp(1.6rem,4vw,2.6rem); }
  .rec-top{ display:flex; align-items:center; gap:.6rem; font-family:"DM Mono",monospace; font-size:.74rem; letter-spacing:.14em; color:var(--muted); text-transform:uppercase; }
  .rec-dot{ width:8px; height:8px; border-radius:50%; background:#ff6b7a; box-shadow:0 0 0 0 rgba(255,107,122,.5); animation:tp-rec 1.8s ease-out infinite; }
  @keyframes tp-rec{ 0%{ box-shadow:0 0 0 0 rgba(255,107,122,.5);} 70%{ box-shadow:0 0 0 10px transparent;} 100%{ box-shadow:0 0 0 0 transparent;} }
  .dev-count{ font-family:"Playfair Display",serif; font-style:italic; font-size:clamp(2.2rem,6vw,3.4rem); margin:.7rem 0 .2rem; color:var(--ink); }
  .dev-count small{ font-family:"DM Mono",monospace; font-style:normal; font-size:.9rem; color:var(--muted); }
  .dev-today{ font-family:"DM Mono",monospace; font-size:.86rem; color:var(--ink); letter-spacing:.02em; }
  .dev-side{ display:flex; flex-direction:column; gap:1.2rem; }
  .challenge-card{ padding:1.5rem 1.6rem; }
  .challenge-card .k{ font-family:"DM Mono",monospace; font-size:.68rem; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); }
  .challenge-card .t{ font-family:"Playfair Display",serif; font-style:italic; font-size:1.3rem; margin:.5rem 0 1rem; color:var(--ink); }
  .bar-prog{ height:5px; border-radius:6px; background:var(--line); overflow:hidden; }
  .bar-prog i{ display:block; height:100%; width:0%; background:linear-gradient(90deg,#f2c879,#f8e0b0); }
  .chips{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.9rem; }
  .chip{ font-family:"DM Mono",monospace; font-size:.68rem; color:var(--muted); border:1px solid var(--line); border-radius:20px; padding:.32rem .7rem; }

/* ══════════════════════ tp-polaroid ══════════════════════ */
.tp-polaroid-slot{ display:flex; align-items:center; justify-content:center; padding:2rem; }
  .polaroid{ background:#fdfcf8; padding:14px 14px 26px; border-radius:3px; box-shadow:0 22px 45px -14px rgba(0,0,0,.55); transform:rotate(-3deg); width:min(500px,76%); transition:transform .35s ease; }
  .polaroid:hover{ transform:rotate(-1deg) scale(1.02); }
  .polaroid img{ width:100%; display:block; aspect-ratio:7/4; object-fit:cover; background:#dfe4ee; border-radius:1px; }
  .polaroid figcaption{ font-family:"Pacifico",cursive; text-align:center; margin-top:16px; color:#3b3b48; font-size:1.05rem; }

/* ══════════════════════ tp-golden-hover ══════════════════════ */
/* ── golden-hour hover ── */
  /* menu bar links */
  .nav-links a { transition: color .25s ease, text-shadow .25s ease; }
  .nav-links a:hover { color: #f2c879; text-shadow: 0 0 14px rgba(242,200,121,.5); }
  /* archive cards */
  .archive-section .entry-card { transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease; }
  .archive-section .entry-card:hover {
    border-color: rgba(242,200,121,.42);
    box-shadow: 0 18px 46px -14px rgba(242,200,121,.42), 0 0 0 1px rgba(242,200,121,.22);
    transform: translateY(-6px) rotate(.3deg);
  }
  /* summerlore */
  .tp-summer { transition: box-shadow .4s ease; }
  .tp-summer:hover { box-shadow: 0 24px 60px -22px rgba(242,200,121,.35); }
  .summer-cta { transition: color .25s ease, border-color .25s ease, text-shadow .25s ease; }
  .summer-cta:hover { color: #f2c879; border-bottom-color: #f2c879; text-shadow: 0 0 12px rgba(242,200,121,.4); }

/* ══════════════════════ cube → matches the cards + no backing ══════════════════════ */
/* kill the box behind the cubes so they float in the scene */
.tp-photo.gc-cell { background: transparent; }
.gc-cell.summer-cube { background: transparent; }

/* faces now look like your cards (translucent glass + card border), and follow the theme */
.gc-face {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.gc-label, .gc-cal { color: var(--muted); }
.gc-sub, .gc-cal .w { color: var(--faint); }
.gc-big, .gc-cal .d { color: var(--ink); }

/* keep the little marks as accents (upcoming = gold, summerlore = pink flower) */
.gc-mark, .gc-arrow { color: #f2c879; }
.gc-pink .gc-mark, .gc-pink .gc-arrow { color: #f8c3cf; }

/* summerlore cube also uses card colors (not its old pink faces) */
.gc-pink .gc-face { border-color: var(--line); box-shadow: 0 6px 22px -10px rgba(0, 0, 0, 0.4); }
.gc-pink .gc-label, .gc-pink .gc-cal { color: var(--muted); }
.gc-pink .gc-sub, .gc-pink .gc-cal .w { color: var(--faint); }

/* golden-hour hover on BOTH cubes */
.gc-face:hover, .gc-pink .gc-face:hover {
  box-shadow: 0 0 44px rgba(242, 200, 121, 0.22), inset 0 0 22px rgba(242, 200, 121, 0.08);
  border-color: rgba(242, 200, 121, 0.42);
}


/* ══════════════════════ cubes float free — cards wrap only the text ══════════════════════ */
/* UPCOMING: kill the card wrapper, give the card look to the text alone; cube floats on the page bg */
.tp-exec-section .tp-card { background: transparent; border: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tp-exec-section .tp-card:hover { transform: none; }
.tp-exec-section .tp-txt {
  background: var(--glass); border: 1px solid var(--line); border-radius: 24px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.tp-exec-section .tp-exposure { gap: clamp(1rem, 4vw, 2.5rem); align-items: center; }

/* SUMMERLORE: frosted card (text) beside the free-floating cube */
.tp-summer-row { display: flex; align-items: center; gap: clamp(1.5rem, 5vw, 3.5rem); }
.tp-summer-row .tp-summer { flex: 1; }
.tp-summer-row .summer-cube { flex: none; margin: 0; }
@media (max-width: 760px) {
  .tp-summer-row { flex-direction: column; align-items: stretch; }
  .tp-summer-row .summer-cube { margin: 12px auto 0; }
}

/* ══════════════════════ summerlore glass + cube intent ══════════════════════ */
/* summerlore frost → the same bluish card glass as every other card (no more white haze); rainbow streak stays */
.tp-summer-frost {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
