/* smyxie.net · the person is in black and white, what she makes is in colour. */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/eb-garamond-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap; src: url(/fonts/eb-garamond-latin-wght-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); }

:root {
  --ink: #20201f;
  --ink-2: #171716;
  --bone: #f5f1ea;
  --paper: #fbf9f5;
  --blush: #e0c0c3;
  --oxblood: #6b2737;
  --rune: #8fe9f5;
  --dim: #a59f97;
  --mute: #6f6a64;
  --rule-n: rgba(245, 241, 234, .16);
  --rule-d: rgba(32, 32, 31, .16);
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 5vw, 64px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p, ol, ul, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--oxblood); color: var(--paper); }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; }
.letter :focus-visible { outline-color: var(--oxblood); }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gut); }
section[id] { scroll-margin-top: 20px; }
.skip { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 16px; background: var(--bone); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* header */
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.top img { width: 118px; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--dim); transition: color .15s; }
.top nav a:hover { color: var(--bone); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; font: 600 15px/1 var(--sans); text-decoration: none; border: 0; border-radius: 2px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-main { background: var(--bone); color: var(--ink); }
.btn-main:hover { background: var(--blush); }
.btn-line { border: 1px solid rgba(245, 241, 234, .42); color: var(--bone); }
.btn-line:hover { border-color: var(--bone); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.plain { color: var(--dim); text-underline-offset: 4px; text-decoration-color: var(--rule-n); }
.plain:hover { color: var(--bone); text-decoration-color: var(--bone); }

/* hero */
.hero { padding-block: clamp(24px, 5vh, 60px) clamp(56px, 9vh, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hero-say { padding-top: clamp(0px, 5vh, 64px); }
h1 { font: 400 clamp(42px, 6.6vw, 92px)/1 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
h1 span { display: block; color: var(--blush); }
.who { margin-top: 30px; max-width: 25em; font: 400 clamp(21px, 2.1vw, 28px)/1.36 var(--serif); color: #e6e0d6; }
.doors { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.door { display: inline-flex; align-items: center; min-height: 52px; padding: 0 12px; font: 600 15px/1 var(--sans); color: var(--bone); text-decoration: underline; text-decoration-color: rgba(245, 241, 234, .35); text-underline-offset: 6px; }
.door:hover { text-decoration-color: var(--blush); color: var(--blush); }
.hero-me img { width: 100%; }
.hero-me figcaption { margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: var(--dim); }

/* Eterniel: the picture rises out of the page, breathes, and sheds sparks */
.game { --h: clamp(520px, 58vw, 800px); position: relative; height: var(--h); overflow: hidden; background: #08141b; isolation: isolate; }
.art { position: absolute; left: 50%; top: 50%; width: max(100%, calc(var(--h) * 1.7768)); aspect-ratio: 1672 / 941;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px))) scale(1.03); will-change: transform; }
.art img { width: 100%; height: 100%; object-fit: cover; animation: breathe 26s ease-in-out infinite alternate; transform-origin: 62% 46%; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.05); } }
.glow { position: absolute; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; transform: translate(-50%, -50%); }
.glow-gem { left: 92.75%; top: 55.6%; width: 7%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(143, 233, 245, .95), rgba(143, 233, 245, .35) 38%, rgba(143, 233, 245, 0)); animation: pulse 3.6s ease-in-out infinite; }
.glow-temple { left: 38.6%; top: 39.6%; width: 6%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(143, 233, 245, .7), rgba(143, 233, 245, .22) 42%, rgba(143, 233, 245, 0)); animation: pulse 5.2s ease-in-out -1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: translate(-50%, -50%) scale(.82); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); } }
.rays { position: absolute; inset: -20% -10% 0 30%; pointer-events: none; mix-blend-mode: screen; opacity: .0;
  background: linear-gradient(118deg, rgba(255, 226, 170, 0) 38%, rgba(255, 226, 170, .16) 47%, rgba(255, 226, 170, 0) 55%, rgba(255, 226, 170, .1) 63%, rgba(255, 226, 170, 0) 72%);
  animation: rays 11s ease-in-out infinite; }
@keyframes rays { 0%, 100% { opacity: .25; transform: translateX(-2%); } 50% { opacity: .9; transform: translateX(2%); } }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.game::before, .game::after { content: ""; position: absolute; inset-inline: 0; z-index: 2; pointer-events: none; }
.game::before { top: 0; height: 22%; background: linear-gradient(var(--ink), rgba(32, 32, 31, 0)); }
.game::after { bottom: 0; height: 62%; background: linear-gradient(0deg, var(--ink) 0%, rgba(20, 24, 27, .82) 34%, rgba(9, 20, 27, 0) 100%); }
.game .over { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; }
.game .over .wrap { width: 100%; padding-block: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.game h2 { font: 500 clamp(40px, 6.4vw, 92px)/1 var(--serif); letter-spacing: .2em; margin-right: -.2em; text-transform: uppercase; text-shadow: 0 0 44px rgba(143, 233, 245, .5), 0 2px 24px rgba(0, 0, 0, .5); }
.game p { margin-top: 14px; max-width: 27em; font: 400 clamp(19px, 1.7vw, 22px)/1.4 var(--serif); color: #dfe6e9; text-shadow: 0 1px 18px rgba(0, 0, 0, .6); }
.game p.mail { margin-top: 12px; font: 600 15px/1.4 var(--sans); }
.game p.mail a { color: var(--rune); text-underline-offset: 5px; text-decoration-color: rgba(143, 233, 245, .5); }
.game p.mail a:hover { color: var(--bone); text-decoration-color: var(--bone); }
.tag { position: absolute; z-index: 3; top: 24%; left: var(--gut); font-size: 13px; color: rgba(245, 241, 234, .82); background: rgba(7, 16, 23, .5); padding: 4px 9px; border-radius: 2px; }

/* webtoon */
.toon { padding-block: clamp(72px, 11vh, 132px); }
.toon .wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.toon figure img { width: 100%; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); transition: transform .3s; }
.toon figure a:hover img { transform: translateY(-4px); }
.toon h2 { font: 400 clamp(36px, 4.6vw, 60px)/1.04 var(--serif); letter-spacing: -.014em; }
.toon p.what { margin-top: 16px; max-width: 28em; font: 400 clamp(19px, 1.7vw, 22px)/1.42 var(--serif); color: #ddd6cc; }
.toon .acts { margin-top: 28px; }
.toon .when { margin-top: 20px; font-size: 14px; color: var(--dim); font-variant-numeric: tabular-nums; }
.toon .when b { font-weight: 600; color: var(--bone); }

/* week + socials */
.week { padding-block: 0 clamp(72px, 11vh, 132px); }
.week h2, .help h2, .collab h2 { font: 400 clamp(30px, 3.6vw, 44px)/1.08 var(--serif); letter-spacing: -.01em; }
.week ol { margin-top: 28px; border-top: 1px solid var(--bone); }
.week li a { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--rule-n); text-decoration: none; }
.week li a:hover .what { color: var(--blush); }
.week .when, .week .where { font-size: 14px; color: var(--dim); font-variant-numeric: tabular-nums; }
.week .what { font: 400 clamp(21px, 2.2vw, 27px)/1.2 var(--serif); transition: color .15s; }
.week .all { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--dim); }
.week .all a { color: var(--bone); text-decoration-color: rgba(245, 241, 234, .3); text-underline-offset: 4px; }
.week .all a:hover { color: var(--blush); }

/* letter */
.letter { background: var(--paper); color: var(--ink); color-scheme: light; padding-block: clamp(72px, 11vh, 132px); }
.letter .say { font: 400 clamp(23px, 2.5vw, 32px)/1.3 var(--serif); letter-spacing: -.006em; max-width: 25em; }
.letter .say + .say { margin-top: .7em; }
.sig { margin-top: 30px; width: 160px; }

/* help */
.help { padding-block: clamp(72px, 11vh, 132px) clamp(56px, 8vh, 96px); }
.help p.lead { margin-top: 12px; max-width: 34em; color: var(--dim); }
.help ul { margin-top: 28px; border-top: 1px solid var(--bone); }
.help li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule-n); text-decoration: none; }
.help li b { display: block; font: 400 clamp(21px, 2.2vw, 27px)/1.2 var(--serif); transition: color .15s; }
.help li span span { display: block; margin-top: 4px; font-size: 14px; color: var(--dim); }
.help li i { font-style: normal; font-size: 14px; color: var(--dim); }
.help li a:hover b { color: var(--blush); }

/* collaborate */
.collab { padding-block: clamp(56px, 8vh, 96px) clamp(72px, 11vh, 120px); border-top: 1px solid var(--rule-n); }
.collab .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.collab p { margin-top: 10px; color: var(--dim); max-width: 30em; }
.form { display: flex; flex-direction: column; }
.form label { font-size: 14px; color: var(--dim); margin-bottom: 6px; }
.form input, .form textarea { width: 100%; min-height: 48px; padding: 10px 0; margin-bottom: 26px; border: 0; border-bottom: 1px solid rgba(245, 241, 234, .38); border-radius: 0; background: transparent; outline: 0; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus { border-bottom-color: var(--blush); }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--blush); outline-offset: 5px; }
.honeypot { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.send p { margin: 0; font-size: 13px; color: var(--dim); }

footer { color: var(--dim); border-top: 1px solid var(--rule-n); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding-block: 26px 34px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--bone); }

/* thank-you page */
.thanks { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.thanks main { flex: 1; display: flex; align-items: center; padding-block: 72px; }
.thanks h1 { font-size: clamp(42px, 6vw, 80px); }
.thanks p { margin: 22px 0 34px; max-width: 30em; font: 400 22px/1.4 var(--serif); color: #e6e0d6; }

@media (max-width: 860px) {
  .top nav { display: none; }
  .hero .wrap, .toon .wrap, .collab .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-say { padding-top: 8px; }
  .hero-me { max-width: 420px; }
  .doors .btn { flex: 1 1 100%; }
  .door { padding-left: 0; padding-right: 22px; }
  .toon figure { max-width: 230px; }
  .week li a { grid-template-columns: minmax(0, 1fr) auto; }
  .week .when { grid-column: 1 / -1; }
  .game { --h: 600px; }
  .art { left: 0; transform: translate(calc(-60.5% + var(--px, 0px)), calc(-50% + var(--py, 0px))) scale(1.03); }
  .game::after { height: 70%; background: linear-gradient(0deg, var(--ink) 0%, rgba(20, 24, 27, .9) 40%, rgba(9, 20, 27, 0) 100%); }
  .game .acts .btn { flex: 1 1 auto; }
  .tag { top: 15%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .art img, .glow, .rays { animation: none; }
  .rays { opacity: .4; }
  .btn, .toon figure img { transition: none; }
}


/* ================= phone cut (approved 18 Nov): one idea per screen, picture first, four doors under the thumb ================= */
.m-cover, .m-bio, .m-week, .m-letter, .m-open { display: none; }
.more { margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 13.5px/1.4 var(--sans); color: var(--bone); text-decoration: underline; text-decoration-color: rgba(245, 241, 234, .35); text-underline-offset: 5px; }
@media (max-width: 860px) {
  .top, .hero, .week ol, .d-letter, .toon .plain, .game .acts .btn-line, .week .all .lbl, .collab .wrap > div:first-child { display: none; }

  /* cover */
  .m-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100vh; height: 100svh; min-height: 640px; max-height: 920px; isolation: isolate; overflow: hidden; }
  .m-cover .me { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) both; }
  .m-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 23, 22, .5) 0%, rgba(23, 23, 22, 0) 16%, rgba(23, 23, 22, 0) 38%, rgba(32, 32, 31, .86) 63%, var(--ink) 80%); }
  .m-cover .sig { position: absolute; top: 18px; left: var(--gut); width: 104px; margin: 0; }
  .m-cover-in { padding: 0 var(--gut) 22px; }
  .m-h1 { font: 400 39px/1 var(--serif); letter-spacing: -.016em; }
  .m-h1 span { display: block; color: var(--blush); }
  .m-who { margin-top: 12px; font: 400 18.5px/1.34 var(--serif); color: #e6e0d6; }
  .doors { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .doors a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 58px; padding: 7px 10px 7px 7px; text-decoration: none; background: rgba(245, 241, 234, .07); border: 1px solid var(--rule-n); border-radius: 4px; }
  .doors a:active { background: rgba(245, 241, 234, .14); }
  .doors img, .doors i { width: 44px; height: 44px; border-radius: 3px; object-fit: cover; }
  .doors i { display: grid; place-items: center; background: rgba(245, 241, 234, .08); font: 400 22px/1 var(--serif); color: var(--blush); }
  .doors b { display: block; font: 600 14.5px/1.15 var(--sans); }
  .doors span span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.2; color: var(--dim); }
  .doors .first { background: var(--bone); color: var(--ink); border-color: var(--bone); }
  .doors .first span span { color: #5b5651; }

  /* bio */
  .m-bio { display: block; padding: 18px var(--gut) 30px; }
  .m-bio p { font-size: 14.5px; line-height: 1.6; color: var(--dim); }
  .m-bio p.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

  /* Eterniel: a full-screen card */
  .game { --h: clamp(600px, 92vh, 860px); }
  @supports (height: 1svh) { .game { --h: clamp(600px, 92svh, 860px); } }
  .game::before { height: 14%; }
  .game::after { height: 62%; background: linear-gradient(0deg, var(--ink) 0%, rgba(14, 20, 24, .88) 46%, rgba(9, 20, 27, 0) 100%); }
  .game .over .wrap { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; padding-block: 0 34px; }
  .game .over .wrap > div:first-child { display: contents; }
  .game h2 { order: 1; font-size: 38px; }
  .game .over p { order: 2; margin-top: 10px; font-size: 18.5px; line-height: 1.36; }
  .game .acts { order: 3; margin-top: 20px; }
  .game .acts .btn { flex: 1 1 100%; }
  .game .over p.mail { order: 4; margin-top: 14px; text-align: center; font: 600 14px/1.3 var(--sans); }

  /* webtoon: the cover on its own blurred light */
  .toon { position: relative; isolation: isolate; overflow: hidden; padding-block: 54px 56px; text-align: center; }
  .toon::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: url(/assets/cover.webp) center 30% / cover; filter: blur(34px) brightness(.34) saturate(1.1); }
  .toon .wrap { display: block; }
  .toon figure { width: 58%; max-width: none; margin: 0 auto; transform: rotate(-2.2deg); }
  .toon figure img { box-shadow: 0 26px 60px rgba(0, 0, 0, .6); }
  .toon h2 { margin-top: 30px; font-size: 33px; }
  .toon p.what { margin-top: 10px; font-size: 18.5px; line-height: 1.36; }
  .toon .acts { margin-top: 20px; }
  .toon .acts .btn { flex: 1 1 100%; }
  .toon .when { margin-top: 14px; font-size: 13.5px; color: #c9c2b9; }

  /* week: tap a day */
  .week { padding-block: 48px 44px; }
  .week h2, .help h2 { font-size: 30px; }
  .m-week { display: block; }
  .days { margin-top: 20px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
  .days button { position: relative; height: 54px; padding: 0; background: none; border: 1px solid var(--rule-n); border-radius: 4px; font: 600 13px/1 var(--sans); color: var(--dim); cursor: pointer; }
  .days button.has::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--blush); }
  .days button.today { color: var(--bone); border-color: rgba(245, 241, 234, .5); }
  .days button[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
  .days button[aria-pressed="true"].has::after { background: var(--oxblood); }
  .slot { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-items: start; min-height: 86px; padding: 16px; background: rgba(245, 241, 234, .06); border: 1px solid var(--rule-n); border-radius: 4px; text-decoration: none; }
  .slot small { font: 600 12.5px/1 var(--sans); color: var(--blush); }
  .slot b { font: 400 25px/1.1 var(--serif); }
  .slot i { font-style: normal; font-size: 13.5px; color: var(--dim); }
  .week .all { margin: 20px calc(-1 * var(--gut)) 0; padding-inline: var(--gut); flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .week .all::-webkit-scrollbar { display: none; }
  .week .all a { flex: none; padding: 10px 14px; border: 1px solid var(--rule-n); border-radius: 999px; font: 600 13.5px/1 var(--sans); text-decoration: none; }

  /* letter */
  .letter { padding-block: 48px 44px; }
  .m-letter { display: block; }
  .letter .say { font-size: 22px; }
  .letter .more { margin-top: 14px; color: var(--oxblood); text-decoration-color: rgba(107, 39, 55, .4); }
  .letter .sig { margin-top: 22px; width: 132px; }

  /* help + work */
  .help { padding-block: 48px 30px; }
  .help ul { margin-top: 18px; }
  .help li a { padding: 15px 0; }
  .help li b { font-size: 21px; }
  .collab { padding-block: 0 44px; border-top: 0; }
  .collab .wrap { gap: 22px; }
  .m-open { display: flex; width: 100%; }
  .js .collab:not(.open) .form { display: none; }
  .collab.open .m-open { display: none; }
}
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .m-cover .me { animation: none; } }
