/* ThreeToShip, threetoship.cloud. Brand: navy #0C1226, blue grid, orange #FF7A1A on one main word per page only. */
:root{
  --bg:#0C1226; --bg-deep:#070B18; --card:#141D3B; --blue:#1F88FF; --teal:#1FFFCB;
  --text:#FFFFFF; --soft:#D7DEEA; --muted:#94A3B8; --orange:#FF7A1A;
  --line:rgba(31,136,255,.28); --line-soft:rgba(31,136,255,.14);
  --wrap:1120px; --read:700px;
  --ease:cubic-bezier(.23,1,.32,1);
}
*{box-sizing:border-box}
html{color-scheme:dark;background:var(--bg);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  margin:0;color:var(--text);font:500 17px/1.65 Montserrat,system-ui,-apple-system,"Segoe UI",sans-serif;
  background-color:var(--bg);
  background-image:
    radial-gradient(ellipse 70% 420px at 50% -60px,rgba(31,136,255,.20),rgba(31,136,255,0)),
    linear-gradient(rgba(31,136,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(31,136,255,.06) 1px,transparent 1px);
  background-size:100% 100%,72px 72px,72px 72px;
  background-position:0 0,center -1px,center 0;
  min-height:100vh;min-height:100dvh;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px}
body{display:flex;flex-direction:column}
main{flex:1 0 auto}
.skip{position:absolute;left:-9999px;top:8px;background:var(--text);color:var(--bg);padding:10px 14px;border-radius:8px;font-weight:700;z-index:10}
.skip:focus{left:16px}

/* header */
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:22px}
.brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;font:800 17px/1 Unbounded,sans-serif;letter-spacing:.01em}
.brand img{border-radius:8px}
.brand svg{width:28px;height:28px;flex:none}
.social{display:flex;gap:6px;margin:0;padding:0;list-style:none}
.social a{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:var(--soft);text-decoration:none;
  transition:color .16s var(--ease),background-color .16s var(--ease),transform .16s var(--ease)}
.social a:active{transform:scale(.97)}
.social svg{width:20px;height:20px;fill:currentColor}
@media (hover:hover) and (pointer:fine){.social a:hover{color:var(--text);background:rgba(31,136,255,.14)}}

/* type */
h1,h2,h3{font-family:Unbounded,sans-serif;line-height:1.12;margin:0;text-wrap:balance}
.accent{color:var(--orange)}
.lead{font-size:clamp(18px,2.1vw,21px);line-height:1.55;color:var(--soft);max-width:36em;margin:18px 0 0;text-wrap:pretty}
.muted{color:var(--muted)}
p{margin:0 0 1em;text-wrap:pretty}

/* home hero */
.hero{padding-block:48px 8px}
.wordmark{font-weight:800;font-size:clamp(46px,10.4vw,128px);line-height:.94;letter-spacing:0;word-break:keep-all}
.wordmark > span{display:block;white-space:nowrap}
.rubrics{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;border-top:1px solid var(--line)}
.rubric{padding:22px 24px 4px 0}
.rubric + .rubric{padding-left:24px;border-left:1px solid var(--line-soft)}
.rubric h3{font-size:17px;font-weight:700;margin:0 0 8px}
.rubric p{color:var(--muted);font-size:15.5px;line-height:1.55;margin:0}

/* sections */
.section{padding-block:40px}
.section > h2{font-size:clamp(22px,2.6vw,28px);font-weight:700;margin:0 0 22px}

/* latest */
.latest{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(20px,4vw,48px);align-items:center;
  background:linear-gradient(180deg,rgba(20,29,59,.92),rgba(20,29,59,.72));border:1px solid var(--line);border-radius:20px;padding:clamp(16px,2.4vw,28px)}
.latest figure{margin:0}
.shot{border-radius:12px;overflow:hidden;border:1px solid var(--line-soft);background:var(--bg-deep)}
.meta{font-weight:600;font-size:14.5px;color:var(--teal);margin:0 0 10px}
.latest h3{font-size:clamp(24px,2.8vw,34px);font-weight:700}
.latest p.sum{color:var(--soft);margin:14px 0 22px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border-radius:12px;
  font:700 16px/1.2 Montserrat,sans-serif;text-decoration:none;cursor:pointer;border:1px solid transparent;
  transition:background-color .16s var(--ease),border-color .16s var(--ease),transform .16s var(--ease)}
.btn:active{transform:scale(.97)}
.btn-main{background:var(--text);color:var(--bg)}
.btn-line{background:transparent;color:var(--text);border-color:var(--line)}
@media (hover:hover) and (pointer:fine){
  .btn-main:hover{background:var(--soft)}
  .btn-line:hover{border-color:var(--blue);background:rgba(31,136,255,.10)}
}

/* episode list */
.eps{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.eps a{display:grid;grid-template-columns:160px 170px minmax(0,1fr) auto;gap:16px;align-items:baseline;padding:18px 0;
  border-bottom:1px solid var(--line-soft);text-decoration:none;transition:background-color .16s var(--ease)}
.eps .d{color:var(--muted);font-size:15px}
.eps .r{color:var(--teal);font-weight:600;font-size:15px}
.eps .t{font-weight:700;font-size:18px}
.eps .k{color:var(--muted);font-size:15px;font-weight:600}
.eps a:active{background:rgba(31,136,255,.12)}
@media (hover:hover) and (pointer:fine){.eps a:hover{background:rgba(31,136,255,.07)}}
.next-note{color:var(--muted);margin:16px 0 0;font-size:15.5px}

/* follow */
.follow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.follow a{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:14px;border:1px solid var(--line);
  background:rgba(20,29,59,.7);text-decoration:none;min-height:64px;
  transition:border-color .16s var(--ease),background-color .16s var(--ease),transform .16s var(--ease)}
.follow a:active{transform:scale(.97)}
.follow svg{width:26px;height:26px;fill:currentColor;flex:none}
.follow b{display:block;font-weight:700}
.follow b{font-size:16px;color:var(--text)}
.follow span span{color:var(--muted);font-size:15px}
@media (hover:hover) and (pointer:fine){.follow a:hover{border-color:var(--blue);background:rgba(31,136,255,.10)}}

/* episode page */
.ep-head{padding-block:28px 8px;max-width:820px}
.ep-head h1{font-size:clamp(32px,5.2vw,58px);font-weight:800}
.ep-media{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:32px 0 8px;max-width:820px}
.ep-media figcaption{color:var(--muted);font-size:15px}
.ep-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:18px 0 0}
.ai-note{color:var(--soft);font-size:15px;margin:0}
.article{max-width:var(--read);padding-block:24px 8px}
.article h2{font-size:clamp(20px,2.3vw,24px);font-weight:700;margin:44px 0 14px}
.article ul{padding-left:1.2em;margin:0 0 1em}
.article li{margin:0 0 .45em}
.article li::marker{color:var(--blue)}
.article strong{font-weight:700;color:var(--text)}
.article a{color:var(--text);text-decoration-color:var(--blue);text-underline-offset:3px;text-decoration-thickness:1.5px}
.article code{font:500 .9em/1.4 "IBM Plex Mono",ui-monospace,monospace;background:rgba(31,136,255,.12);padding:2px 6px;border-radius:6px}
.copybox{position:relative;margin:14px 0 22px;background:var(--bg-deep);border:1px solid var(--line);border-radius:14px}
.copybox pre{margin:0;padding:18px 20px 18px;white-space:pre-wrap;word-break:break-word;font:500 15px/1.65 "IBM Plex Mono",ui-monospace,monospace;color:var(--soft)}
.copybox .bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px 0 20px}
.copybox .bar span{color:var(--muted);font-size:14px;font-weight:600}
.copy{display:inline-grid;place-items:center;min-height:44px;min-width:96px;padding:8px 14px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--text);
  font:700 14px/1 Montserrat,sans-serif;cursor:pointer;
  transition:background-color .16s var(--ease),color .16s var(--ease),border-color .16s var(--ease),transform .16s var(--ease)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.copy:active{transform:scale(.97)}
.copy[data-done]{background:var(--teal);color:var(--bg);border-color:var(--teal)}
.small{color:var(--muted);font-size:15px}
.pager{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-block:8px 0}

/* legal */
.legal{max-width:calc(var(--read) + 48px);padding-block:28px 24px}
.legal h1{font-size:clamp(30px,4.4vw,46px);font-weight:800;margin:0 0 24px}
.legal h2{font-size:20px;font-weight:700;margin:36px 0 12px}
.legal address{font-style:normal;line-height:1.75}

/* footer */
.foot{border-top:1px solid var(--line-soft);margin-top:56px;padding-block:28px 40px;color:var(--muted);font-size:15px}
.foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px}
.foot nav{display:flex;flex-wrap:wrap;gap:0 20px}
.foot a{display:inline-flex;align-items:center;min-height:44px;color:var(--soft);text-underline-offset:3px}

@media (max-width:900px){
  .latest{grid-template-columns:1fr}
  .eps a{grid-template-columns:auto minmax(0,1fr);column-gap:16px;grid-template-areas:"d r" "t t" "k k";row-gap:4px}
  .eps .d{grid-area:d}.eps .r{grid-area:r}.eps .t{grid-area:t}.eps .k{grid-area:k}
  .follow{grid-template-columns:repeat(3,1fr);gap:10px}
  .follow a{flex-direction:column;justify-content:center;text-align:center;gap:8px;padding:14px 8px;min-height:92px}
  .follow span span{display:none}
}
@media (max-width:720px){
  .wrap{padding:0 16px}
  .hero{padding-block:24px 0}
  .rubrics{grid-template-columns:1fr}
  .rubric p{font-size:15px}
  .rubric,.rubric + .rubric{padding:18px 0;border-left:0;border-bottom:1px solid var(--line-soft)}
  .rubric:last-child{border-bottom:0}
  .top{padding-block:14px}
  .brand span{font-size:15px}
  .section{padding-block:28px}
  .ep-actions .btn,.latest .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .btn:active,.copy:active,.social a:active,.follow a:active{transform:none}
}
.wordmark{text-transform:uppercase}
