:root {
    --paper: #fdfdfb;
    --ink: #101a33;
    --tape: #3573c4;
    --tape-light: #dbe7f6;
    --serif-display: "Cormorant Garamond", Georgia, serif;
    --serif-body: "EB Garamond", Georgia, serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    position: relative;
    overflow-x: hidden;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif-body);
    font-size: 1.28rem;
    line-height: 1.6;
  }
  a { color: inherit; }
  a:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
  .wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

  /* Scattered tape rectangles (generated by the script at the bottom) */
  #tape-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
  #tape-bg i { position: absolute; background: var(--tape); opacity: 0.2; }

  /* Header */
  header { border-bottom: 1px solid rgba(16, 26, 51, 0.08); }
  header .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .wordmark { font-family: var(--serif-display); font-size: 2.05rem; text-decoration: none; font-weight: 500; letter-spacing: -0.02em; }
  nav a { margin-left: 1.5rem; text-decoration: none; border-bottom: 2px solid transparent; transition: border-color 0.2s ease; }
  nav a:hover { border-bottom-color: var(--tape); }

  /* Hero */
  .hero { padding: 4rem 0 5rem; display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
  .hero img { width: 100%; height: auto; display: block; }
  .hero h1 { font-family: var(--serif-display); font-weight: 500; font-size: clamp(3.19rem, 6vw, 5.47rem); line-height: 1.02; margin: 0 0 1.5rem; letter-spacing: -0.01em; }
  .hero p { margin: 0; max-width: 32rem; font-size: 1.35rem; color: rgba(16, 26, 51, 0.85); font-style: italic; }

  /* Current Focus Section (white, with blue accents) */
  .week { background: transparent; color: var(--ink); padding: 5rem 0 6rem; }
  .week-label { display: inline-block; background: var(--tape); color: #fff; padding: 0.1rem 1rem; margin: 0 0 2rem; border-radius: 2px; text-transform: uppercase; font-size: 0.9rem; font-weight: 500; font-family: var(--serif-body); letter-spacing: 0.14em; }
  .week h2 { font-family: var(--serif-display); font-weight: 500; font-size: clamp(2.96rem, 6vw, 5.7rem); line-height: 1.05; margin: 0 0 0.5rem; max-width: 18ch; }
  .week .byline { font-style: italic; margin: 0 0 2.5rem; color: var(--tape); font-size: 1.1rem; }
  .week-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; }
  .week-body p { margin: 0 0 1.5rem; font-size: 1.25rem; }
  .week-body p:first-child::first-letter { font-family: var(--serif-display); float: left; font-size: 5.7rem; line-height: 0.8; padding: 0.35rem 0.6rem 0 0; }
  .week-body .read-link { display: inline-block; margin-top: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--tape); }
  .week aside { background: transparent; color: var(--ink); border-top: 1px solid rgba(16, 26, 51, 0.3); padding: 1.5rem 0 0; align-self: start; }
  .week aside h3 { font-family: var(--serif-display); font-weight: 500; font-size: 2.05rem; margin: 0 0 1rem; padding-bottom: 0; }
  .week aside ul { margin: 0; padding-left: 1.2rem; }
  .week aside li { margin-bottom: 0.75rem; }

  /* More sections */
  .more { padding: 5rem 0; }
  .more h2 { font-family: var(--serif-display); font-weight: 500; font-size: 2.96rem; margin: 0 0 2.5rem; }
  .blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 5rem; }
  .block { background: transparent; border-top: 1px solid rgba(16, 26, 51, 0.3); padding: 1.5rem 0 0; min-height: 14rem; display: flex; flex-direction: column; }
  .block h3 { font-family: var(--serif-display); font-weight: 500; font-size: 2.28rem; line-height: 1.1; margin: 0 0 0.75rem; }
  .block p { margin: 0 0 1rem; color: rgba(16, 26, 51, 0.85); }
  .block a { margin-top: auto; font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--tape); }

  /* Contact Form Section */
  .contact-section { background: #f4f4f0; padding: 5rem 0; border-radius: 4px; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
  .contact-info h2 { font-family: var(--serif-display); font-size: 3.19rem; font-weight: 500; margin: 0 0 1rem; }
  .contact-form-wrapper form { display: flex; flex-direction: column; gap: 1.25rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.5rem; }
  .form-group label { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(16, 26, 51, 0.7); }
  .form-group input, .form-group textarea { background: var(--paper); border: 1px solid rgba(16, 26, 51, 0.15); padding: 0.75rem 1rem; font-family: var(--serif-body); font-size: 1.1rem; color: var(--ink); border-radius: 4px; transition: border-color 0.2s; }
  .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--tape); box-shadow: 0 0 0 3px var(--tape-light); }
  .submit-btn { background: var(--ink); color: var(--paper); border: none; padding: 1rem 2rem; font-family: var(--serif-body); font-size: 1.1rem; font-weight: 600; cursor: pointer; border-radius: 4px; align-self: flex-start; transition: background 0.2s; }
  .submit-btn:hover { background: var(--tape); }


  /* Next Event */
  .event { padding: 5rem 0 1rem; }
  .event-label { display: inline-block; background: var(--tape); color: #fff; padding: 0.1rem 1rem; margin: 0 0 2rem; border-radius: 2px; text-transform: uppercase; font-size: 0.9rem; font-weight: 500; font-family: var(--serif-body); letter-spacing: 0.14em; }
  .event-grid { display: grid; grid-template-columns: 16rem 1fr; gap: 4rem; align-items: start; }
  .event-date { background: var(--tape); color: #fff; padding: 2rem 1.5rem; text-align: center; transform: rotate(-1.5deg); }
  .event-date .day { display: block; font-family: var(--serif-display); font-size: 6.84rem; line-height: 0.9; }
  .event-date .month { display: block; font-family: var(--serif-display); font-size: 2.28rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.5rem; }
  .event-date .time { display: block; margin-top: 1rem; font-size: 1rem; border-top: 1px solid rgba(255,255,255,0.5); padding-top: 0.75rem; }
  .event h2 { font-family: var(--serif-display); font-weight: 500; font-size: clamp(2.51rem, 5vw, 4.1rem); line-height: 1.05; margin: 0 0 0.5rem; }
  .event .venue { font-style: italic; color: var(--tape); margin: 0 0 1.5rem; }
  .event p { margin: 0 0 1.5rem; max-width: 40rem; font-size: 1.25rem; }
  .ticket-btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; padding: 1rem 2rem; font-weight: 600; border-radius: 4px; transition: background 0.2s; }
  .ticket-btn:hover { background: var(--tape); }

  /* About page */
  .page-title { padding: 4rem 0 2rem; }
  .page-title h1 { font-family: var(--serif-display); font-weight: 500; font-size: clamp(3.42rem, 7vw, 6.27rem); line-height: 1; margin: 0 0 1.5rem; }
  .page-title .lede { font-size: 1.5rem; font-style: italic; max-width: 38rem; margin: 0; color: rgba(16, 26, 51, 0.85); }
  .about-section { padding: 3rem 0; }
  .about-section h2 { font-family: var(--serif-display); font-weight: 500; font-size: 2.74rem; margin: 0 0 1rem; }
  .about-text { max-width: 42rem; }
  .about-text p { margin: 0 0 1.2rem; }
  .about-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .about-list .block { min-height: 0; }
  .about-list .block:nth-child(n) { margin-top: 0; }
  .about-cta { padding: 3rem 0 5rem; }

  /* ===== Experiment pages ===== */
  .exp-hero { position: relative; padding: 3rem 0 2.5rem; }
  .exp-ghost { position: absolute; right: 0; top: -1rem; z-index: 0; font-family: var(--serif-display); font-weight: 600; font-variant-numeric: lining-nums; font-size: clamp(9rem, 26vw, 22rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--tape); opacity: 0.55; user-select: none; }
  .exp-hero > *:not(.exp-ghost) { position: relative; z-index: 1; }
  .crumbs { margin: 0 0 1.5rem; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; }
  .crumbs a { text-decoration: none; color: var(--tape); }
  .crumbs a:hover { text-decoration: underline; }
  .exp-hero h1 { font-family: var(--serif-display); font-weight: 500; font-size: clamp(4.5rem, 15vw, 11rem); line-height: 0.88; letter-spacing: -0.02em; margin: 0 0 1.25rem; }
  .exp-hero .lede { font-size: 1.6rem; font-style: italic; margin: 0 0 1.5rem; }
  .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
  .exp-hero .tags { margin-bottom: 0; }
  .tag { border: 1px solid var(--ink); border-radius: 999px; padding: 0.05rem 0.9rem; font-size: 0.95rem; background: var(--paper); }

  .exp-meta { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid rgba(16, 26, 51, 0.3); background: var(--paper); }
  .exp-meta > div { padding: 1.25rem 1.25rem 1.25rem 0; }
  .exp-meta > div + div { padding-left: 1.25rem; border-left: 1px solid rgba(16, 26, 51, 0.2); }
  .exp-meta dt { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tape); margin: 0 0 0.25rem; }
  .exp-meta dd { margin: 0; font-family: var(--serif-display); font-weight: 500; font-size: 1.7rem; line-height: 1.15; }

  .exp-layout { display: grid; grid-template-columns: 13rem 1fr; gap: 4rem; padding-top: 3rem; padding-bottom: 3rem; }
  .exp-toc { position: sticky; top: 2rem; align-self: start; display: flex; flex-direction: column; gap: 0.25rem; }
  .toc-title { margin: 0 0 0.75rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(16, 26, 51, 0.6); }
  .exp-toc a { display: flex; gap: 0.75rem; align-items: baseline; text-decoration: none; padding: 0.4rem 0 0.4rem 0.9rem; border-left: 2px solid rgba(16, 26, 51, 0.15); transition: border-color 0.2s, color 0.2s; }
  .exp-toc a span { font-family: var(--serif-display); font-variant-numeric: lining-nums; font-weight: 600; color: var(--tape); }
  .exp-toc a:hover, .exp-toc a.active { border-left-color: var(--tape); color: var(--tape); }
  .exp-toc a.active { font-weight: 600; }

  .exp-section { padding: 0 0 5rem; scroll-margin-top: 2rem; }
  .exp-section > h2 { font-family: var(--serif-display); font-weight: 500; font-size: 3.2rem; line-height: 1; margin: 0 0 1.75rem; }
  .pull { margin: 2.5rem 0 0; padding: 0 0 0 1.5rem; border-left: 10px solid var(--tape); font-family: var(--serif-display); font-style: italic; font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; max-width: 30rem; }

  .prompt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
  .prompt-card { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 14rem; padding: 1.75rem; background: var(--paper); border: 1px solid rgba(16, 26, 51, 0.35); transition: transform 0.25s ease, border-color 0.25s ease; }
  .prompt-card:hover { transform: translateY(-4px) rotate(-0.4deg); border-color: var(--tape); }
  .prompt-card:nth-child(1) { grid-column: span 4; background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .prompt-card:nth-child(6), .prompt-card:nth-child(7) { grid-column: span 3; }
  .prompt-num { font-family: var(--serif-display); font-variant-numeric: lining-nums; font-weight: 600; font-size: 1.6rem; color: var(--tape); }
  .prompt-card:nth-child(1) .prompt-num { color: #8fb4e6; }
  .prompt-card p { margin: 0; font-family: var(--serif-display); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; }
  .prompt-card:nth-child(1) p { font-size: clamp(2.1rem, 3.6vw, 3.1rem); }

  .fieldnote { display: grid; grid-template-columns: 11rem 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
  .fieldnote-meta { display: flex; flex-direction: column; gap: 0.35rem; }
  .fieldnote:first-child .fieldnote-meta::before { content: "Latest"; align-self: flex-start; background: var(--tape); color: #fff; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0 0.6rem; margin-bottom: 0.4rem; }
  .fieldnote-date { font-family: var(--serif-display); font-weight: 500; font-size: 1.9rem; line-height: 1.05; }
  .fieldnote-loc { font-style: italic; color: var(--tape); }
  .fieldnote-body { position: relative; border-left: 1px solid rgba(16, 26, 51, 0.35); padding-left: 2.5rem; max-width: 44rem; }
  .fieldnote-body::before { content: ""; position: absolute; left: -7px; top: 0.35rem; width: 13px; height: 22px; background: var(--tape); transform: rotate(-4deg); }
  .fieldnote-body h3 { font-family: var(--serif-display); font-weight: 500; font-size: 2.3rem; line-height: 1.1; margin: 0 0 1rem; }
  .fieldnote-body p { margin: 0 0 1.2rem; }
  .fieldnote-body .tags { margin-bottom: 0.75rem; }
  .fieldnote-body .tag { font-size: 0.85rem; padding: 0 0.7rem; }

  .exp-next { border-top: 2px solid var(--ink); padding-top: 1.5rem; background: var(--paper); }
  .next-title { font-family: var(--serif-display); font-weight: 500; font-size: 2.4rem; line-height: 1.1; margin: 0 0 1.25rem; }

  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

  /* Experiments index */
  .exp-index { list-style: none; margin: 0 0 5rem; padding: 0; border-top: 2px solid var(--ink); }
  .exp-index li { border-bottom: 1px solid rgba(16, 26, 51, 0.3); background: var(--paper); }
  .exp-index a, .exp-index li.soon { display: grid; grid-template-columns: 6rem 1fr auto; gap: 1.5rem; align-items: center; padding: 2rem 0.5rem; text-decoration: none; }
  .exp-index a:hover .idx-text strong { color: var(--tape); }
  .idx-num { font-family: var(--serif-display); font-variant-numeric: lining-nums; font-weight: 500; font-size: 4rem; line-height: 1; color: var(--tape); }
  .idx-text strong { display: block; font-family: var(--serif-display); font-weight: 500; font-size: 2.6rem; line-height: 1.05; transition: color 0.2s; }
  .idx-text em { color: rgba(16, 26, 51, 0.8); }
  .idx-status { font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; }
  .exp-index li.soon { opacity: 0.55; }

  footer { border-top: 6px solid var(--tape); padding: 3rem 0; font-size: 1rem; background: var(--paper); }
  footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

  @media (max-width: 760px) {
    nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
    nav a { margin-left: 0; }
    .exp-layout { grid-template-columns: 1fr; gap: 2rem; }
    .exp-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1rem; }
    .exp-toc .toc-title { display: none; }
    .exp-toc a { border-left: 0; padding-left: 0; }
    .exp-meta { grid-template-columns: 1fr 1fr; }
    .exp-meta > div:nth-child(odd) { padding-left: 0; border-left: 0; }
    .exp-meta > div:nth-child(n+3) { border-top: 1px solid rgba(16, 26, 51, 0.2); }
    .prompt-grid { grid-template-columns: 1fr; }
    .prompt-card:nth-child(n) { grid-column: auto; min-height: 0; }
    .fieldnote { grid-template-columns: 1fr; gap: 1rem; }
    .fieldnote-body { padding-left: 1.5rem; }
    .exp-index a, .exp-index li.soon { grid-template-columns: 3.5rem 1fr; }
    .idx-status { grid-column: 2; }
    .exp-ghost { opacity: 0.35; }
    nav a:first-child { margin-left: 0; }
    .event-grid, .about-list { grid-template-columns: 1fr; gap: 2rem; }
    .event-date { max-width: 14rem; }
    .hero, .week-body, .blocks, .contact-grid { grid-template-columns: 1fr; }
    .block:nth-child(n) { margin-top: 0; min-height: 0; }
    .hero { gap: 2rem; padding: 2rem 0 3rem; }
    .contact-grid { gap: 2rem; }
    nav a { margin-left: 1rem; }
    header .wrap { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    nav a:first-child { margin-left: 0; }
  }
