/* The clean look: vintage sign painting. A painted sign by day, neon by night. */
html[data-style="clean"] {
  --paper: #fbf7ee;
  --ink: #1e1a16;
  --soft: #675e55;
  --rule: #e6dccb;
  --red: #c4122f;      /* the plaid shirt */
  --mustard: #e3a92b;  /* sign-painter's second color, decoration only */
  --link: #b3102b;
  --chip: #f3ead9;
  --on-red: #ffffff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  html[data-style="clean"]:not([data-theme="light"]) {
    --paper: #10131f; --ink: #f4efe4; --soft: #b8b1a4; --rule: #262b3d;
    --red: #ff5d66; --mustard: #f6c14b; --link: #ff8a90; --chip: #1a1f30; --on-red: #10131f;
    color-scheme: dark;
  }
}
html[data-style="clean"][data-theme="dark"] {
  --paper: #10131f; --ink: #f4efe4; --soft: #b8b1a4; --rule: #262b3d;
  --red: #ff5d66; --mustard: #f6c14b; --link: #ff8a90; --chip: #1a1f30; --on-red: #10131f;
  color-scheme: dark;
}

html[data-style="clean"] body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Figtree", system-ui, sans-serif;
}
html[data-style="clean"] a { color: var(--link); font-weight: 600; text-underline-offset: .2em; text-decoration-thickness: .08em; }
html[data-style="clean"] a:hover { text-decoration-thickness: .16em; }
html[data-style="clean"] :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px var(--mustard); }
html[data-style="clean"] ::selection { background: var(--mustard); color: #1e1a16; }

html[data-style="clean"] .page { max-inline-size: 46rem; margin-inline: auto; padding: 1rem clamp(1rem, 5vw, 2rem) 3rem; }

/* Controls */
html[data-style="clean"] .picker { border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px; }
html[data-style="clean"] .picker button,
html[data-style="clean"] .theme-toggle {
  font: 600 .85rem/1 "Figtree", system-ui, sans-serif;
  color: var(--ink); background: transparent; border: 0; border-radius: 999px; padding: .45rem .85rem;
}
html[data-style="clean"] .picker button[aria-pressed="true"] { background: var(--red); color: var(--on-red); }
html[data-style="clean"] .theme-toggle { border: 1.5px solid var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
/* The button shows where it takes you: a moon for dark, a sun for light */
html[data-style="clean"] .theme-toggle[data-to="dark"]::before { content: "\263E\FE0E"; font-size: .95rem; line-height: 1; }
html[data-style="clean"] .theme-toggle[data-to="light"]::before { content: "\2600\FE0E"; font-size: .95rem; line-height: 1; }

/* Hero: the sign */
html[data-style="clean"] .hero { text-align: center; padding-block: clamp(2.5rem, 8vw, 4.5rem) clamp(2rem, 6vw, 3.5rem); }
html[data-style="clean"] .hero .logo { display: none; }
html[data-style="clean"] .photo img {
  display: block; margin: 0 auto 1.25rem;
  inline-size: 7.5rem; block-size: 7.5rem; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--paper); box-shadow: 0 0 0 3px var(--red), 6px 6px 0 3px var(--mustard);
}
html[data-style="clean"] h1 {
  font: 400 clamp(3.4rem, 13vw, 6.5rem)/1 "Yellowtail", cursive;
  color: var(--red);
  margin: 0 0 1.5rem;
  transform: rotate(-3deg);
  text-shadow: 3px 3px 0 var(--mustard);
}
/* Neon at night */
html[data-style="clean"][data-theme="dark"] h1 { color: #ffe9ea; text-shadow: 0 0 2px #fff, 0 0 10px var(--red), 0 0 24px var(--red), 0 0 48px #ff2d3c; }
@media (prefers-color-scheme: dark) {
  html[data-style="clean"]:not([data-theme="light"]) h1 { color: #ffe9ea; text-shadow: 0 0 2px #fff, 0 0 10px var(--red), 0 0 24px var(--red), 0 0 48px #ff2d3c; }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-style="clean"] h1 { animation: sign-on 1.2s steps(1) .3s both; }
  html[data-style="clean"] h1.buzz { animation: sign-buzz .45s steps(1) both; }
  @keyframes sign-buzz { 0% { opacity: 1; } 20% { opacity: .5; } 45%, 100% { opacity: 1; } }
  @keyframes sign-on { 0% { opacity: 0; } 15% { opacity: 1; } 22% { opacity: .6; } 30%, 100% { opacity: 1; } }
}
html[data-style="clean"] .tagline {
  font: 400 clamp(1.15rem, 2.6vw, 1.4rem)/1.45 "Young Serif", Georgia, serif;
  max-inline-size: 30ch; margin: 0 auto 1.4rem;
}
/* Links: a pole full of motel signs */
html[data-style="clean"] .links { justify-content: center; align-items: center; gap: 1rem 1.1rem; margin-block-start: .5rem; }
html[data-style="clean"] .links a {
  display: inline-block; text-decoration: none; font-weight: 700; line-height: 1.1;
  transition: transform .35s cubic-bezier(.34, 1.8, .5, 1);
  box-shadow: 4px 5px 0 rgba(0,0,0,.22);
}
html[data-style="clean"] .links li:nth-child(odd) a { transform: rotate(-3deg); }
html[data-style="clean"] .links li:nth-child(even) a { transform: rotate(2.5deg); }
/* On hover or focus, each sign swings the other way, like it caught a breeze */
html[data-style="clean"] .links li:nth-child(odd) a:is(:hover, :focus-visible) { transform: rotate(2deg) translateY(-3px); }
html[data-style="clean"] .links li:nth-child(even) a:is(:hover, :focus-visible) { transform: rotate(-2.5deg) translateY(-3px); }

/* Changeable-letter marquee board */
html[data-style="clean"] [data-sign="letterboard"] {
  font: 700 .95rem/1 "Figtree", sans-serif; text-transform: uppercase; letter-spacing: .08em;
  color: #c4122f; padding: .7rem .9rem;
  background: repeating-linear-gradient(#fffdf6 0 1.15rem, #e9e2d2 1.15rem calc(1.15rem + 1px));
  border: 4px solid #2a2622; border-radius: 3px;
}
html[data-style="clean"] [data-sign="letterboard"] .letters span { display: inline-block; }
html[data-style="clean"] [data-sign="letterboard"] .letters span:nth-child(even) { transform: translateY(.07em); }
html[data-style="clean"] [data-sign="letterboard"] { padding-block: .6rem .85rem; }
/* Red sign box, white letters */
html[data-style="clean"] [data-sign="box"] {
  font: 800 1.15rem/1 "Figtree", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .1em;
  color: #fff; background: #bd3720; padding: .6rem .9rem;
  border: 3px solid #fff; outline: 3px solid #bd3720; outline-offset: 0; border-radius: 2px;
  text-shadow: 0 0 1px #fff;
}
/* Teal arrow, script lettering */
html[data-style="clean"] [data-sign="arrow"] {
  font: 400 1.55rem/1 "Yellowtail", cursive; color: #fff; background: #137a7f;
  padding: .45rem 2.1rem .55rem 1rem;
  clip-path: polygon(0 0, calc(100% - 1.4rem) 0, 100% 50%, calc(100% - 1.4rem) 100%, 0 100%, .55rem 50%);
  filter: drop-shadow(4px 5px 0 rgba(0,0,0,.22)); box-shadow: none;
}
/* COLOR TV: every letter its own color, on black */
html[data-style="clean"] [data-sign="colortv"] {
  font: 800 1.05rem/1 "Figtree", sans-serif; text-transform: uppercase; letter-spacing: .06em;
  background: #111; padding: .65rem .85rem; border: 3px solid #8d8d8d; border-radius: 4px;
}
html[data-style="clean"] [data-sign="colortv"] .letters span:nth-child(6n+1) { color: #ff4b4b; }
html[data-style="clean"] [data-sign="colortv"] .letters span:nth-child(6n+2) { color: #ff9f1c; }
html[data-style="clean"] [data-sign="colortv"] .letters span:nth-child(6n+3) { color: #ffe14d; }
html[data-style="clean"] [data-sign="colortv"] .letters span:nth-child(6n+4) { color: #3ddc62; }
html[data-style="clean"] [data-sign="colortv"] .letters span:nth-child(6n+5) { color: #4aa8ff; }
html[data-style="clean"] [data-sign="colortv"] .letters span:nth-child(6n) { color: #ff6ad5; }
html[data-style="clean"] .links a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }

/* Sections, separated by sign-painter's pinstripes */
html[data-style="clean"] .panel { padding-block: 2.25rem; }
html[data-style="clean"] .panel + .panel { border-block-start: 3px double var(--rule); }
html[data-style="clean"] h2 {
  font: 400 clamp(1.6rem, 4vw, 2rem)/1.15 "Young Serif", Georgia, serif;
  margin: 0 0 1.5rem;
}
html[data-style="clean"] h2::after {
  content: ""; display: block; inline-size: 3.5rem; block-size: 4px; margin-block-start: .6rem;
  background: var(--red); box-shadow: 0 7px 0 -1px var(--mustard);
}
html[data-style="clean"] .entry + .entry { margin-block-start: 1.75rem; }
html[data-style="clean"] h3 { font: 400 1.25rem/1.25 "Young Serif", Georgia, serif; margin: 0 0 .25rem; }
html[data-style="clean"] .meta { color: var(--soft); font-style: italic; margin-block-end: .4rem; }
html[data-style="clean"] .go { margin-block-start: .15rem; }

html[data-style="clean"] .footer { border-block-start: 3px double var(--rule); padding-block-start: 1.5rem; color: var(--soft); font-size: .95rem; text-align: center; }

@media (max-width: 34rem) {
  html[data-style="clean"] .photo img { inline-size: 6rem; block-size: 6rem; }
}
