:root{--paper:#faf5ed;--ink:#332d2a;--muted:#76665f;--line:rgba(126,91,77,.2);--white:rgba(255,252,247,.9);--shadow:0 22px 60px rgba(78,55,44,.11)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Georgia,"Times New Roman",serif;line-height:1.6}a,button{-webkit-tap-highlight-color:transparent}.topbar{position:sticky;top:0;z-index:30;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 max(22px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--line);background:rgba(250,246,239,.91);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font:800 .92rem/1 system-ui,-apple-system,"Segoe UI",sans-serif}.brand img{width:52px;height:52px;object-fit:contain}.writer-nav{display:flex;align-items:center;gap:7px}.writer-nav a{padding:9px 14px;border:1px solid transparent;border-radius:999px;color:#68564f;text-decoration:none;font:700 .78rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;white-space:nowrap}.writer-nav a:hover,.writer-nav a:focus,.writer-nav a.active{border-color:var(--line);background:rgba(255,252,247,.78);outline:none}.nav-toggle{display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:rgba(255,252,247,.82);align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}.nav-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:#654b43;transition:transform .22s ease,opacity .18s ease}.topbar.menu-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}.topbar.menu-open .nav-toggle span:nth-child(2){opacity:0}.topbar.menu-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.kicker{color:#84574e;font:800 .7rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.2em;text-transform:uppercase}
.reading-section{width:min(80vw,1500px);margin:0 auto;padding:64px 0 82px}.reading-heading{max-width:920px;margin:0 auto 28px;display:flex;align-items:end;justify-content:space-between;gap:30px}.reading-heading h1{margin:9px 0 0;color:#5f4039;font-size:clamp(2rem,4vw,3.3rem);font-weight:500;line-height:1.08}.reading-heading p{max-width:340px;margin:0;color:var(--muted);font-size:.96rem}.reader-window{position:relative;border:1px solid #ddcec0;border-radius:4px;background:#eee3d6;box-shadow:0 18px 55px rgba(74,57,47,.12)}.reader-window::before{content:"";position:absolute;z-index:2;top:-16px;left:50%;width:116px;height:34px;transform:translateX(-50%) rotate(-1deg);background:rgba(232,216,194,.76);border:1px solid rgba(190,168,139,.3);box-shadow:0 2px 5px rgba(71,52,38,.08)}.reader-paper{min-height:530px;padding:68px clamp(28px,8vw,120px) 50px;background:linear-gradient(rgba(252,248,241,.7),rgba(252,248,241,.7)),url('/static/writers-reader-editorial-v1.webp') center/cover}.reader-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:790px;margin:0 auto 25px}.reader-badge{padding:5px 11px;border-radius:999px;background:#f0ded6;color:#744c44;font:800 .72rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}.reader-label{color:#79665e;font:700 .67rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.07em;text-transform:uppercase}.reader-paper article{max-width:790px;margin:auto}.reader-paper h2{margin:0 0 27px;color:#4e3b35;font:700 clamp(1.35rem,2.5vw,2rem)/1.35 "American Typewriter","Courier Prime","Courier New",monospace}.writer-text{color:#3f3935;font:1rem/1.92 "American Typewriter","Courier Prime","Courier New",monospace;white-space:pre-line}.writer-text.story{font-family:Georgia,"Times New Roman",serif;font-size:1.06rem;line-height:1.9}.writer-flourish{margin:28px 0 16px;text-align:center;color:#9f796e;font-size:1rem}.writer-author{color:#604d46;font:italic .92rem/1.5 Georgia,"Times New Roman",serif}.reader-actions{max-width:790px;margin:34px auto 0;padding-top:20px;border-top:1px solid rgba(148,115,97,.19);display:flex;align-items:center;justify-content:space-between;gap:18px}.text-link{color:#76534a;text-decoration:none;font:700 .75rem/1.3 system-ui,-apple-system,"Segoe UI",sans-serif}.read-again{border:0;border-radius:999px;background:#80534a;color:#fff;padding:11px 17px;cursor:pointer;font:750 .78rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 8px 20px rgba(105,66,57,.16)}.reader-tabs{display:flex;justify-content:center;border-top:1px solid rgba(155,125,105,.24);background:rgba(239,225,210,.75)}.reader-tab{min-width:142px;border:0;border-left:1px solid rgba(155,125,105,.2);background:transparent;color:#755e55;padding:10px 18px;cursor:pointer;font:700 .73rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}.reader-tab:last-child{border-right:1px solid rgba(155,125,105,.2)}.reader-tab.active{background:#795048;color:#fff}
.reading-invitation{position:relative;isolation:isolate;min-height:270px;margin:48px auto 0;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(139,94,79,.18);border-radius:28px;background:radial-gradient(circle at 18% 25%,rgba(225,191,176,.42),transparent 28%),radial-gradient(circle at 82% 76%,rgba(211,184,158,.35),transparent 31%),linear-gradient(135deg,#fffaf3,#f0dfd2);box-shadow:0 18px 48px rgba(84,57,45,.09)}.reading-invitation::before,.reading-invitation::after{content:"";position:absolute;z-index:-1;width:260px;height:260px;border:1px solid rgba(133,88,74,.12);border-radius:46% 54% 60% 40%;animation:paper-drift 12s ease-in-out infinite}.reading-invitation::before{left:-120px;top:-135px}.reading-invitation::after{right:-105px;bottom:-155px;animation-delay:-6s}.invitation-copy{max-width:720px;padding:54px 30px;text-align:center}.invitation-copy .kicker{display:flex;align-items:center;justify-content:center;gap:13px}.invitation-copy .kicker::before,.invitation-copy .kicker::after{content:"";width:48px;height:1px;background:#a78477}.invitation-copy h1{margin:12px 0 10px;color:#65443d;font:500 clamp(2rem,4.5vw,3.8rem)/1.08 Georgia,"Times New Roman",serif;letter-spacing:-.035em}.invitation-copy p{margin:0;color:#78645c;font-size:1rem}.ink-stroke{width:106px;height:7px;margin:23px auto 0;border-radius:50%;background:#8d5b51;opacity:.62;transform:rotate(-2deg);animation:ink-breathe 4s ease-in-out infinite}.invitation-art span{position:absolute;color:#9a6d61;opacity:.6;animation:literary-float 5s ease-in-out infinite}.invitation-art span:nth-child(1){left:9%;top:24%;font-size:1.15rem}.invitation-art span:nth-child(2){left:15%;bottom:18%;font-size:1.45rem;animation-delay:-1.2s}.invitation-art span:nth-child(3){right:12%;top:20%;font-size:1.5rem;animation-delay:-2.4s}.invitation-art span:nth-child(4){right:17%;bottom:19%;font-size:1rem;animation-delay:-3.3s}@keyframes literary-float{0%,100%{transform:translateY(0) rotate(-3deg);opacity:.45}50%{transform:translateY(-10px) rotate(4deg);opacity:.8}}@keyframes paper-drift{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(9deg) scale(1.06)}}@keyframes ink-breathe{0%,100%{transform:rotate(-2deg) scaleX(.88);opacity:.45}50%{transform:rotate(-2deg) scaleX(1.08);opacity:.72}}@media(prefers-reduced-motion:reduce){.reading-invitation::before,.reading-invitation::after,.invitation-art span,.ink-stroke{animation:none}}
.writer-loader{position:absolute;inset:0;z-index:12;display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 50% 42%,rgba(255,250,241,.98),rgba(236,216,201,.96));backdrop-filter:blur(5px)}.writer-loader[hidden]{display:none}.writing-magic{text-align:center;color:#6d5148}.magic-writing-mark{position:relative;width:138px;height:116px;margin:0 auto 18px}.magic-writing-mark b{position:absolute;left:50%;top:50%;width:70px;height:70px;transform:translate(-50%,-46%);border-radius:50%;display:grid;place-items:center;background:rgba(255,253,247,.95);font-size:2.1rem;font-weight:400;box-shadow:0 0 0 10px rgba(213,175,158,.16),0 12px 34px rgba(121,80,72,.18);animation:writing-nib 1.7s ease-in-out infinite}.magic-writing-mark span{position:absolute;color:#a76f61;text-shadow:0 0 13px rgba(184,126,106,.6);animation:writing-star 1.15s ease-in-out infinite}.magic-writing-mark span:nth-child(1){left:7px;top:18px;font-size:1.2rem}.magic-writing-mark span:nth-child(2){right:9px;top:4px;font-size:.9rem;animation-delay:.22s}.magic-writing-mark span:nth-child(3){right:0;bottom:13px;font-size:1.2rem;animation-delay:.45s}.magic-writing-mark span:nth-child(4){left:18px;bottom:2px;font-size:.78rem;animation-delay:.7s}.writer-loader-title{font-size:1.16rem;color:#68473f}.writer-loader-note{max-width:430px;margin:6px auto 0;color:#8d766e;font:500 .77rem/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}.writer-post-loader{display:none;padding:48px 28px 52px;text-align:center}.writer-post-loader h3{margin:5px 0 8px;color:#64453e;font-size:1.5rem;font-weight:500}.writer-post-loader p{max-width:430px;margin:auto;color:#806e66;font-size:.9rem}.writer-dialog.is-posting .writer-form,.writer-dialog.is-posting .writer-success{display:none}.writer-dialog.is-posting .writer-post-loader{display:block}@keyframes writing-nib{0%,100%{transform:translate(-50%,-46%) rotate(-4deg)}50%{transform:translate(-50%,-57%) rotate(5deg)}}@keyframes writing-star{0%,100%{opacity:.25;transform:scale(.7) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(20deg)}}@media(prefers-reduced-motion:reduce){.magic-writing-mark b,.magic-writing-mark span{animation:none}.magic-writing-mark span{opacity:.7}}
.hero{position:relative;isolation:isolate;min-height:560px;display:grid;align-items:center;overflow:hidden;background:#eaddce url('/static/writers-editorial-v1.webp') center/cover}.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(250,246,239,.96) 0%,rgba(250,246,239,.83) 43%,rgba(250,246,239,.2) 67%,rgba(250,246,239,.04) 100%)}.hero-inner{width:min(1180px,100%);margin:auto;padding:88px 24px}.hero h2{max-width:720px;margin:18px 0 17px;color:#744b43;font:500 clamp(4.2rem,9vw,8rem)/.86 "Brush Script MT","Segoe Script","Lucida Handwriting",cursive;letter-spacing:-.055em}.hero p{max-width:590px;margin:0;color:#665850;font-size:clamp(1.05rem,2vw,1.28rem);line-height:1.75}.hero-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:27px}.hero-menu{display:flex;gap:8px;flex-wrap:wrap}.hero-menu a{padding:10px 15px;border:1px solid rgba(130,85,72,.22);border-radius:999px;background:rgba(255,250,243,.75);color:#674b43;text-decoration:none;font:700 .78rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;backdrop-filter:blur(5px)}.post-writing-btn{border:1px solid #80534a;border-radius:999px;background:#80534a;color:#fff;padding:11px 18px;cursor:pointer;font:750 .8rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 10px 24px rgba(98,61,53,.2)}
.coffee-section{scroll-margin-top:95px;width:min(980px,calc(100% - 36px));margin:88px auto;display:grid;grid-template-columns:150px 1fr;align-items:center;gap:42px;padding:45px;border:1px solid var(--line);background:var(--white);box-shadow:var(--shadow)}.coffee-mark{width:122px;height:122px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#f2ded2,#fffaf3);color:#82564c;font-size:2.15rem}.coffee-section h2{margin:9px 0 10px;color:#60423b;font-size:clamp(1.9rem,4vw,3rem);font-weight:500;line-height:1.12}.coffee-section p{margin:0;color:var(--muted);font-size:1.02rem;line-height:1.8}.closing{padding:66px 24px;text-align:center;background:#eaddcf;color:#684a42}.closing span{display:block;margin-bottom:10px;font-size:1.4rem}.closing p{max-width:620px;margin:auto;font-size:1.08rem;line-height:1.8}.footer{padding:27px 24px;border-top:1px solid var(--line);background:#f7f0e7;color:#7b6d66;text-align:center;font:600 .76rem/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.collection-page{background:linear-gradient(rgba(250,246,239,.92),rgba(250,246,239,.97)),url('/static/writers-editorial-v1.webp') center top/cover fixed}.collection-main{width:min(80vw,1300px);margin:auto;padding:62px 0 90px}.collection-heading{max-width:800px;margin:0 auto 30px}.collection-heading h1{margin:8px 0;color:#6d463f;font:500 clamp(3.4rem,7vw,6.4rem)/.96 "Brush Script MT","Segoe Script","Lucida Handwriting",cursive}.collection-heading p{max-width:650px;margin:0;color:#6e5c55;font-size:1.04rem}.back-link{display:inline-block;margin-bottom:23px;color:#77544b;text-decoration:none;font:700 .76rem/1 system-ui,-apple-system,"Segoe UI",sans-serif}.single-reader{max-width:1050px;margin:auto}.single-reader .reader-paper{min-height:580px}
.writer-dialog{width:min(680px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:0;border:0;border-radius:22px;background:#fffaf3;color:var(--ink);box-shadow:0 30px 90px rgba(53,35,29,.28)}.writer-dialog::backdrop{background:rgba(46,34,29,.5);backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 23px;border-bottom:1px solid var(--line)}.dialog-head h2{margin:5px 0 0;color:#60423b;font-size:1.65rem;font-weight:500}.dialog-close{width:38px;height:38px;border:0;border-radius:50%;background:#f0e2d8;color:#6d4c43;cursor:pointer;font-size:1.35rem}.writer-form{padding:23px;display:grid;gap:14px}.writer-form label{display:grid;gap:6px;color:#705d55;font:700 .76rem/1.3 system-ui,-apple-system,"Segoe UI",sans-serif}.writer-form input,.writer-form select,.writer-form textarea{width:100%;border:1px solid #d9c9bd;border-radius:11px;background:#fffdf9;color:#3f3733;padding:11px 12px;outline:none;font:400 .9rem/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}.writer-form textarea{min-height:210px;resize:vertical;line-height:1.65}.writer-form input:focus,.writer-form select:focus,.writer-form textarea:focus{border-color:#a7796b;box-shadow:0 0 0 3px rgba(167,121,107,.12)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.privacy-note{margin:0;color:#8a7870;font:400 .73rem/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}.form-status{min-height:19px;color:#a03f3f;font:600 .77rem/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}.form-actions{display:flex;justify-content:flex-end;gap:9px}.form-cancel,.form-submit{border:0;border-radius:999px;padding:10px 17px;cursor:pointer;font:750 .79rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}.form-cancel{background:#eee2d9;color:#684e46}.form-submit{background:#80534a;color:#fff}.writer-success{display:none;padding:48px 30px;text-align:center}.writer-dialog.is-success .writer-form{display:none}.writer-dialog.is-success .writer-success{display:block}.success-mark{font-size:2rem;color:#926258}.writer-success h3{margin:14px 0 8px;color:#64453e;font-size:1.7rem;font-weight:500}.writer-success p{max-width:440px;margin:0 auto 23px;color:#796860}.writer-success .form-submit{min-width:110px}
@media(max-width:720px){.topbar{min-height:66px;padding:8px 15px;align-items:center;flex-direction:row;flex-wrap:wrap;gap:6px 14px}.brand img{width:44px;height:44px}.nav-toggle{display:flex;margin-left:auto}.writer-nav{display:none;order:4;width:100%;padding:7px 0 10px;flex-direction:column;align-items:stretch;gap:5px}.topbar.menu-open .writer-nav{display:flex}.writer-nav a{width:100%;padding:12px 14px;background:rgba(255,252,247,.65);border-color:var(--line);border-radius:10px}.reading-section,.collection-main{width:calc(100% - 30px);padding-top:48px}.reading-heading{display:block}.reading-heading p{margin-top:13px}.reader-paper{min-height:500px;padding:54px 23px 38px}.reader-meta{align-items:flex-start;flex-direction:column}.reader-actions{align-items:stretch;flex-direction:column}.read-again{width:100%}.reader-tab{min-width:0;flex:1}.reading-invitation{min-height:300px;margin-top:34px;border-radius:20px}.invitation-copy{padding:54px 22px}.invitation-copy h1{font-size:2.15rem}.invitation-art span:nth-child(2),.invitation-art span:nth-child(4){display:none}.hero{min-height:510px;background-position:68% center}.hero::before{background:linear-gradient(rgba(250,246,239,.9),rgba(250,246,239,.72))}.hero-inner{padding:70px 20px}.hero h2{font-size:5.3rem}.hero-actions{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.writer-dialog{max-height:calc(100vh - 18px)}.writer-form{padding:19px}.coffee-section{grid-template-columns:1fr;gap:22px;padding:32px 25px}.coffee-mark{width:82px;height:82px;font-size:1.65rem}.collection-heading h1{font-size:4.5rem}}

@media(max-width:720px){
  body{line-height:1.5}
  .topbar{min-height:58px;padding:6px 12px;gap:4px 10px}
  .brand{font-size:.82rem}.brand img{width:38px;height:38px}
  .nav-toggle{width:38px;height:38px;border-radius:10px}
  .writer-nav{padding:5px 0 7px;gap:4px}.writer-nav a{padding:9px 11px;font-size:.72rem}
  .reading-section,.collection-main{width:calc(100% - 20px);padding:30px 0 46px}
  .reading-heading,.collection-heading{margin-bottom:18px}
  .reading-heading h1{font-size:1.8rem;line-height:1.15}
  .reading-heading p,.collection-heading p{margin-top:8px;font-size:.86rem;line-height:1.5}
  .back-link{margin-bottom:14px}
  .collection-heading h1{font-size:3.25rem;line-height:.95}
  .reader-window{box-shadow:0 12px 30px rgba(74,57,47,.1)}
  .reader-window::before{top:-11px;width:82px;height:23px}
  .reader-paper,.single-reader .reader-paper{min-height:0;padding:38px 17px 24px}
  .reader-meta{gap:8px;margin-bottom:17px}
  .reader-badge{padding:4px 9px;font-size:.66rem}.reader-label{font-size:.61rem}
  .reader-paper h2{margin-bottom:16px;font:700 1.15rem/1.32 ui-monospace,"SFMono-Regular",Menlo,Consolas,"Liberation Mono","Courier New",monospace}
  .writer-text,.writer-text.story{font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,"Liberation Mono","Courier New",monospace;font-size:.9rem;line-height:1.62;letter-spacing:-.012em}
  .writer-text p{margin:0 0 .82em}.writer-text p:last-child{margin-bottom:0}
  .writer-flourish{margin:17px 0 10px}.writer-author{font-size:.8rem;line-height:1.4}
  .reader-actions{gap:9px;margin-top:19px;padding-top:13px}.read-again{padding:9px 13px;font-size:.72rem}
  .reader-tab{padding:8px 6px;font-size:.65rem}
  .reading-invitation{min-height:0;margin-top:24px;border-radius:16px}
  .invitation-copy{padding:28px 17px}.invitation-copy h1{margin:8px 0;font-size:1.68rem;line-height:1.15}.invitation-copy p{font-size:.84rem;line-height:1.5}.ink-stroke{margin-top:15px}
  .hero{min-height:390px}.hero-inner{padding:44px 17px}.hero h2{margin:12px 0;font-size:3.8rem;line-height:.88}.hero p{font-size:.9rem;line-height:1.55}.hero-actions{gap:8px;margin-top:18px}.hero-menu{gap:6px}.hero-menu a,.post-writing-btn{padding:9px 12px;font-size:.7rem}
  .coffee-section{width:calc(100% - 20px);margin:38px auto;gap:13px;padding:20px 17px}.coffee-mark{width:62px;height:62px;font-size:1.3rem}.coffee-section h2{font-size:1.62rem}.coffee-section p{font-size:.88rem;line-height:1.55}
  .closing{padding:31px 17px}.closing span{margin-bottom:6px;font-size:1.1rem}.closing p{font-size:.88rem;line-height:1.55}.footer{padding:19px 15px}
  .dialog-head{padding:14px 16px}.dialog-head h2{font-size:1.35rem}.dialog-close{width:34px;height:34px}
  .writer-form{gap:10px;padding:15px}.writer-form input,.writer-form select,.writer-form textarea{padding:9px 10px;font-size:.84rem}.writer-form textarea{min-height:155px;line-height:1.5}.privacy-note{line-height:1.4}.form-actions{gap:7px}.form-cancel,.form-submit{padding:9px 13px;font-size:.72rem}
  .writer-success,.writer-post-loader{padding:29px 18px}.writer-success h3,.writer-post-loader h3{font-size:1.35rem}.writer-success p,.writer-post-loader p{font-size:.84rem;line-height:1.5}
  .magic-writing-mark{width:108px;height:88px;margin-bottom:10px}.magic-writing-mark b{width:56px;height:56px;font-size:1.7rem}
}

@media(max-width:720px){
  .reader-paper h2{
    color:#4c423e;
    font-family:"American Typewriter","Courier New",Courier,monospace;
    font-size:1.12rem;
    font-weight:600;
    line-height:1.34;
    letter-spacing:0
  }
  .writer-text,.writer-text.story{
    color:#514a46;
    font-family:"American Typewriter","Courier New",Courier,monospace;
    font-size:.92rem;
    font-weight:400;
    line-height:1.58;
    letter-spacing:0;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased
  }
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.footer {
  width: 100%;
  margin-top: auto;
  flex: 0 0 auto;
}
