@font-face { font-family: "Linux Libertine G"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/LinLibertine-Regular.woff2") format("woff2"); }
@font-face { font-family: "Linux Libertine G"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/LinLibertine-Italic.woff2") format("woff2"); }
@font-face { font-family: "Linux Libertine G"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/LinLibertine-Semibold.woff2") format("woff2"); }
@font-face { font-family: "Linux Libertine G"; font-style: italic; font-weight: 600; font-display: swap; src: url("/fonts/LinLibertine-SemiboldItalic.woff2") format("woff2"); }
@font-face { font-family: "Linux Libertine G"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/LinLibertine-Bold.woff2") format("woff2"); }
@font-face { font-family: "Linux Libertine G"; font-style: italic; font-weight: 700; font-display: swap; src: url("/fonts/LinLibertine-BoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Linux Libertine Display G"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/LinLibertine-Display.woff2") format("woff2"); }

/* lynpublish.ing — single stylesheet
   Palette: ice paper + ink + deep teal, taken from the Ancient Soul cover. Dark mode follows the OS. */

:root {
  --paper:   #eef4f6;
  --paper-2: #e2ebef;
  --ink:     #0f171c;
  --ink-2:   #4b5d66;
  --rule:    #c9d6dc;
  --accent:  #156f86;   /* deep teal */
  --accent-2:#1f8fab;
  --link:    #156f86;
  --glow:    #78cde1;
  --max:     68rem;
  --serif:   "Linux Libertine G", "Linux Libertine", "Libertinus Serif", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:    "Linux Libertine G", "Linux Libertine", "Libertinus Serif", "Palatino Linotype", Palatino, Georgia, serif;   /* whole site in Libertine (Endi, 2026-08-19) */
  --display: "Linux Libertine Display G", "Linux Libertine G", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not(.theme-light) {
    --paper:   #0e161c;
    --paper-2: #141f26;
    --ink:     #e6eef1;
    --ink-2:   #9fb3bb;
    --rule:    #24333b;
    --accent:  #5fc0d6;
    --accent-2:#86d6e7;
    --link:    #78cde1;
    --glow:    #78cde1;
  }
}
html.theme-dark {
    --paper:   #0e161c;
    --paper-2: #141f26;
    --ink:     #e6eef1;
    --ink-2:   #9fb3bb;
    --rule:    #24333b;
    --accent:  #5fc0d6;
    --accent-2:#86d6e7;
    --link:    #78cde1;
    --glow:    #78cde1;
  }


*, *::before, *::after { box-sizing: border-box; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

h1, h2, h3, .display { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }

.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }

/* header / nav */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; }
.brand { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.brand span { color: var(--accent); }
.brand small { display: block; font-size: .8rem; font-weight: 400; font-style: italic; color: var(--ink-2); letter-spacing: .02em; line-height: 1.1; margin-top: .1rem; }
nav a small { display: block; text-align: center; font-size: .66rem; letter-spacing: .08em; font-weight: 600; opacity: .8; line-height: 1.1; margin-top: .1rem; }
nav ul { align-items: flex-start; }
h1.stacked { display: inline-block; text-align: center; }
h1 small.sub, h2 small.sub { display: block; font-size: .5em; font-weight: 400; color: var(--ink-2); letter-spacing: .04em; margin-top: .15em; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; flex-wrap: wrap; }
nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); color: var(--ink); padding: .35rem .6rem; border-radius: 4px; font: inherit; }
@media (max-width: 680px) {
  .nav-toggle { display: inline-block; }
  nav { display: none; width: 100%; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: .8rem; padding: .5rem 0 1rem; }
  .site-header .wrap { flex-wrap: wrap; }
}

/* hero */
.hero { padding: 4.5rem 0 3.5rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--accent); font-weight: 700; margin-bottom: .8rem; }
.cover { width: min(22rem, 100%); margin-inline: auto; border-radius: 3px; overflow: hidden;
         box-shadow: 0 22px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06); transform: rotate(-1.5deg); transition: transform .25s; }
.cover:hover { transform: rotate(0) scale(1.015); }
.cover img { width: 100%; height: auto; }
.hero-band { color: #e6eef1; background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 32%, rgba(170,230,245,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 14%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 77% 58%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 26%, rgba(170,230,245,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 84%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 7% 50%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 95% 80%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(ellipse at 72% 45%, rgba(95,192,214,.22), transparent 55%),
    linear-gradient(180deg, #0a1217 0%, #0f1d25 60%, #12232c 100%); }
.hero-band .eyebrow { color: #78cde1; }
.hero-band .muted { color: #9fb3bb; }
.hero-band a:not(.btn) { color: #9fd8e6; }
.hero-band .btn { background: #5fc0d6; border-color: #5fc0d6; color: #0a1217; }
.hero-band .btn:hover { background: #86d6e7; border-color: #86d6e7; color: #0a1217; }
.hero-band .btn.ghost { background: transparent; color: #9fd8e6; border-color: #5fc0d6; }
.hero-band .btn.ghost:hover { background: #5fc0d6; color: #0a1217; }
.hero-band .cover { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.6), 0 0 90px rgba(95,192,214,.28); }
.hero .series-title { font-family: var(--serif); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: clamp(1rem, 1.8vw, 1.25rem); color: #9fd8e6; margin: 0 0 .2rem; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3.2rem, 7.5vw, 5.6rem); margin-bottom: .4rem; }
.hero .lede { color: #c9dbe2; font-style: italic; font-family: var(--serif); font-size: 1.45rem; }
.hero p { color: #c9d6dc; }
.specs-strip { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.1); margin-top: 1.2rem; font-size: .85rem; color: #9fb3bb; letter-spacing: .04em; }
.specs-strip b { color: #e6eef1; font-weight: 600; }
.warn { border-left: 3px solid var(--accent); padding: .6rem .9rem; background: var(--paper-2); font-size: .9rem; color: var(--ink-2); border-radius: 0 4px 4px 0; }
.series { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding-top: 2.5rem; } .hero .cover-col { order: -1; } }

/* buttons */
.btn { display: inline-block; padding: .75rem 1.4rem; border-radius: 4px; font-weight: 700; text-decoration: none; letter-spacing: .02em;
       background: var(--accent); color: var(--paper); border: 2px solid var(--accent); transition: background .15s, color .15s; }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: var(--paper); }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.4rem 0 .6rem; }

/* sections */
section.band { padding: 3rem 0; border-top: 1px solid var(--rule); }
section.band.alt { background: var(--paper-2); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.6rem; }
.card { background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 6px; padding: 1.4rem; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
.card h3 { margin-top: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }

/* prose pages */
.prose { max-width: 42rem; }
.prose h1 { margin-top: 2.5rem; }
.prose h2 { margin-top: 2rem; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 3px solid var(--accent); color: var(--ink-2); font-family: var(--serif); font-size: 1.25rem; }
.meta { color: var(--ink-2); font-size: .9rem; margin-bottom: 1.8rem; }
dl.specs { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.4rem; margin: 1.5rem 0; }
dl.specs dt { color: var(--ink-2); } dl.specs dd { margin: 0; }

.product { display: grid; grid-template-columns: 11rem 1fr; gap: 1.6rem; align-items: start; padding: 1.6rem 0; border-top: 1px solid var(--rule); }
.product img { width: 100%; border-radius: 3px; box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.product h2 { margin-top: 0; }
.product .price { font-weight: 700; color: var(--accent); }
@media (max-width: 560px) { .product { grid-template-columns: 1fr; } .product img { max-width: 13rem; } }
.cover-inline { width: min(18rem, 100%); border-radius: 3px; box-shadow: 0 14px 32px rgba(0,0,0,.3); }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 1.2rem 0; border-bottom: 1px solid var(--rule); }
.post-list time { display: block; color: var(--ink-2); font-size: .85rem; margin-bottom: .2rem; }
.post-list a { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.post-list a:hover { color: var(--accent); }

/* forms */
form.stack { display: grid; gap: .9rem; max-width: 32rem; }
label { font-weight: 600; font-size: .95rem; }
input, textarea { width: 100%; font: inherit; padding: .6rem .7rem; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); color: var(--ink); }
textarea { min-height: 8rem; resize: vertical; }
.notice { background: var(--paper-2); border: 1px solid var(--rule); border-left: 4px solid var(--accent); padding: .9rem 1.1rem; border-radius: 4px; }

/* footer */
.site-footer { border-top: 1px solid var(--rule); padding: 2.2rem 0 2.6rem; color: var(--ink-2); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer .fnav { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; font-weight: 600; }
.site-footer a { color: var(--ink-2); }
.site-footer .legal { display: block; margin-top: 1rem; opacity: .8; } .site-footer .legal p { margin: 0; }

.placeholder { outline: 2px dashed var(--accent-2); outline-offset: 2px; }  /* remove once real content lands */
