@font-face{font-family:"Dawning of a New Day";src:url("/pow/assets/dawning.ttf") format("truetype");font-style:normal;font-weight:400;font-display:block}
:root {
  --paper:#fcfaf3; --graphite:#55534f; --rule:rgba(121,157,179,.27);
  --margin-rule:rgba(175,108,111,.28); --line-height:30px; --poem-font:33px;
  font-synthesis:none;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:radial-gradient(ellipse at 52% 44%,#f4f1e9 0,transparent 78%),linear-gradient(120deg,#e2dfd7,#edebe4 55%,#dcdad1);color:#4b504d;font-family:'DM Sans',Arial,sans-serif}
.site-shell{min-height:100vh;display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1160px;width:100%;margin:0 auto;padding:29px 36px 0}
.wordmark{font-size:12px;letter-spacing:.1em;text-transform:lowercase}
.header-note{font-size:10px;color:#878780;letter-spacing:.11em}
.main-content{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px 25px 15px}
.notebook-scene{width:min(1090px,100%);position:relative;padding:4px 0 15px}
.book-shadow{position:absolute;bottom:14px;left:5%;right:5%;height:45px;border-radius:50%;filter:blur(21px);background:rgba(62,57,47,.29);pointer-events:none}
.book{height:clamp(585px,76vh,765px);width:100%;position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;filter:drop-shadow(1px 2px 2px rgba(64,57,46,.14))}
.book::before,.book::after{content:'';position:absolute;top:5px;bottom:-5px;background:#eee9db;border:1px solid rgba(105,94,74,.1);z-index:-1}
.book::before{left:8px;width:49.3%;transform:rotate(-.4deg)}
.book::after{right:8px;width:49.3%;transform:rotate(.45deg)}
.paper{min-width:0;position:relative;overflow:hidden;background-color:var(--paper);background-image:linear-gradient(to right,transparent 0,transparent 64px,var(--margin-rule) 64px,var(--margin-rule) 65px,transparent 65px),repeating-linear-gradient(to bottom,transparent 0,transparent 29px,var(--rule) 29px,var(--rule) 30px);box-shadow:inset 0 0 28px rgba(125,112,90,.055)}
.paper::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.12;background-image:url('data:image/svg+xml,%3Csvg viewBox=%220 0 170 170%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.7%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 opacity=%22.19%22 filter=%22url(%23n)%22/%3E%3C/svg%3E')}
.paper-left{border-radius:5px 0 0 5px;box-shadow:inset -26px 0 34px -25px rgba(75,63,44,.25),inset 0 0 25px rgba(137,122,94,.05);background-image:linear-gradient(to right,transparent 0,transparent calc(100% - 64px),var(--margin-rule) calc(100% - 64px),var(--margin-rule) calc(100% - 63px),transparent calc(100% - 63px)),repeating-linear-gradient(to bottom,transparent 0,transparent 29px,var(--rule) 29px,var(--rule) 30px)}
.paper-right{border-radius:0 5px 5px 0;box-shadow:inset 24px 0 37px -26px rgba(75,63,44,.25),inset 0 0 25px rgba(137,122,94,.05)}
.spine{position:absolute;z-index:3;pointer-events:none;width:16px;top:0;bottom:0;left:calc(50% - 8px);background:linear-gradient(to right,rgba(69,60,45,.14),rgba(69,60,45,.04) 28%,transparent 48%,rgba(69,60,45,.07) 74%,rgba(69,60,45,.15))}
.sheet-inner{padding:44px 40px 39px 89px;position:relative;height:100%;display:flex;flex-direction:column;min-height:0}
.paper-left .sheet-inner{padding-left:43px;padding-right:93px}
.poem-number{font-family:'Dawning of a New Day',cursive;font-size:49px;line-height:1.08;font-weight:400;transform:rotate(-3deg);color:#505651;min-height:88px;flex:none}
.mobile-number{display:none}
.poem-copy{flex:1;min-height:0;font-family:'Dawning of a New Day',cursive;color:var(--graphite);font-weight:400;font-size:var(--poem-font);line-height:var(--line-height);text-shadow:none;overflow:visible;overflow-wrap:anywhere}
.poem-copy strong{position:relative;display:inline-block;font-weight:400;color:inherit}
.poem-copy strong::after{content:'';position:absolute;inset:1px -5px 0;border:1.1px solid currentColor;border-radius:47% 53% 49% 51% / 54% 45% 55% 46%;transform:rotate(-5deg);pointer-events:none;opacity:.85}
/* A pencil stroke follows each wrapped fragment without changing the text layout. */
.poem-copy em{font-style:normal;text-decoration:none;padding-bottom:.18em;background-image:var(--pencil-underline);background-repeat:no-repeat;background-size:100% 9px;background-position:left bottom;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.poem-line{--pencil-underline:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%229%22%20viewBox%3D%220%200%20200%209%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M2%205.6%20C28%206.8%2051%203.1%2079%204.5%20S124%206.1%20150%204.3%20S181%203.8%20198%204.7%22%20fill%3D%22none%22%20stroke%3D%22%2355534f%22%20stroke-width%3D%220.95%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.8%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3Cpath%20d%3D%22M5%206.5%20C42%206.3%2065%204.6%2091%205.2%20S151%204.1%20193%205.3%22%20fill%3D%22none%22%20stroke%3D%22%2355534f%22%20stroke-width%3D%220.55%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.23%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fsvg%3E")}
.poem-line:nth-child(3n){--pencil-underline:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%229%22%20viewBox%3D%220%200%20200%209%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M2%204.7%20C24%203.3%2052%206.6%2088%205.1%20S141%203.1%20166%204.8%20S188%206.1%20198%205.3%22%20fill%3D%22none%22%20stroke%3D%22%2355534f%22%20stroke-width%3D%220.95%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.8%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3Cpath%20d%3D%22M6%205.4%20C46%205.5%2073%206.3%20103%205.1%20S162%204.7%20194%205.9%22%20fill%3D%22none%22%20stroke%3D%22%2355534f%22%20stroke-width%3D%220.55%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.23%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fsvg%3E")}
.poem-line:nth-child(3n + 1){--pencil-underline:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%229%22%20viewBox%3D%220%200%20200%209%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M2%206.2%20C27%204.1%2062%204.2%2095%205.4%20S142%205.9%20166%204.2%20S188%204.5%20198%203.8%22%20fill%3D%22none%22%20stroke%3D%22%2355534f%22%20stroke-width%3D%220.95%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.8%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3Cpath%20d%3D%22M6%206.7%20C49%204.7%2075%205.1%20108%206%20S166%204.5%20192%204.8%22%20fill%3D%22none%22%20stroke%3D%22%2355534f%22%20stroke-width%3D%220.55%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.23%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fsvg%3E")}
.poem-line{min-height:var(--line-height);display:block;white-space:pre-wrap}
.poem-line.stanza-gap{min-height:var(--line-height);height:var(--line-height)}
.under-note{font-size:11px;font-style:italic;letter-spacing:.045em;color:#898983;margin:11px 0 0;text-align:center}
.footer-note{font-size:10px;color:#a09e96;letter-spacing:.03em;text-align:center;margin-top:auto;padding:14px 20px 23px}
@keyframes arrive{from{opacity:0;transform:perspective(1800px) rotateX(4deg) scale(.985)}to{opacity:1;transform:perspective(1800px) rotateX(0) scale(1)}}
@media (max-width:780px){
  :root{--poem-font:31px;--line-height:31px}
  .topbar{padding:22px 18px 0;justify-content:center}
  .header-note{display:none}
  .wordmark{font-size:11px}
  .main-content{padding:20px 0 11px;justify-content:flex-start}
  .notebook-scene{width:100%;max-width:none;padding:0}
  .book{display:block;height:auto;min-height:calc(100svh - 76px);filter:none}
  .book::before,.book::after,.book-shadow{display:none}
  .paper-left,.spine{display:none}
  .paper-right{min-height:calc(100svh - 76px);border-radius:0;overflow:visible;box-shadow:none}
  .sheet-inner{height:auto;min-height:calc(100svh - 76px);padding:29px max(25px,env(safe-area-inset-right)) 45px max(77px,env(safe-area-inset-left))}
  .mobile-number{display:block;min-height:86px;font-size:44px}
  .poem-copy{overflow:visible;flex:auto;padding-bottom:5px}
  .footer-note{padding-bottom:16px}
  .under-note{margin-top:22px}
}
@media (max-width:360px){:root{--poem-font:29px;--line-height:30px}.sheet-inner{padding-left:73px;padding-right:15px}}
@media (prefers-reduced-motion:reduce){.book{animation:none}}

/* Fine graphite strokes with subtle paper grain. */
.pencil-filter{position:absolute;pointer-events:none;overflow:hidden}
.poem-copy,.poem-number{filter:url(#pencil-grain);-webkit-font-smoothing:antialiased}

.refresh-note{display:block;font-style:normal;margin-top:7px;font-size:10px;letter-spacing:.025em}
