/* Manatee Post — playful coastal community blog */
/* Self-hosted fonts (SIL Open Font License), latin subset, variable weights */
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --gulf: #1e6f82;
  --gulf-2: #2a8fa3;
  --teal: #2bb3c0;
  --teal-dark: #1a7a86;
  --seafoam: #7edce8;
  --sun: #ffd56a;
  --sand: #fff6e8;
  --sand-2: #ffe9c8;
  --paper: #fffdf9;
  --ink: #243038;
  --muted: #55646e;
  --accent: #ff7a4d;
  --accent-text: #c94a22;
  --blush: #ffb4a2;
  --line: #f0d9b8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 2px 6px rgba(30,111,130,.07), 0 10px 28px rgba(30,111,130,.10);
  --shadow-hover: 0 4px 10px rgba(30,111,130,.10), 0 16px 36px rgba(30,111,130,.14);
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1200px;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20q60-20 120 0t120 0 120 0 120 0 120 0 120 0 120 0 120 0 120 0 120 0 120 0 120 0V40H0z' fill='%23fff6e8'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(126,220,232,.22) 0, transparent 45%),
    radial-gradient(ellipse at 90% 8%, rgba(255,213,106,.25) 0, transparent 40%);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: .15em; }
a:hover { color: var(--gulf); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; color: var(--gulf); margin: 0 0 .5em; }
main { display: block; padding-bottom: 3rem; }
main:focus { outline: none; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--gulf); color: #fff; padding: .6rem 1rem; z-index: 10; border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Masthead (compact) ---------- */
.masthead { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; justify-content: center; padding: 1.1rem 0; }
.wordmark { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--gulf); }
.wordmark-mark { width: 84px; height: 84px; flex: none; filter: drop-shadow(0 4px 10px rgba(30,111,130,.2)); transition: transform .2s ease; }
.wordmark:hover .wordmark-mark { transform: rotate(-6deg) scale(1.04); }
.wordmark-text { display: flex; flex-direction: column; }
.wordmark-name { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; letter-spacing: -.02em; color: var(--gulf); }
.wordmark-tag { font-size: .95rem; color: var(--muted); margin-top: .35rem; font-weight: 600; font-style: italic; }
.wordmark-tag::before { content: ""; display: inline-block; width: 1.1em; height: 1.1em; margin-right: .4em; vertical-align: -0.15em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sun), var(--accent)); }

/* ---------- Common bits ---------- */
.kicker { margin: 0 0 .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.meta { color: var(--muted); font-size: .88rem; margin: 0; }
.btn, .btn-outline {
  display: inline-block; font-weight: 700; text-decoration: none; border-radius: 999px;
  padding: .7rem 1.35rem; font-size: .95rem; border: 2px solid var(--gulf); cursor: pointer; font-family: var(--sans);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn { background: var(--gulf); color: #fff; box-shadow: 0 4px 0 #154e5c; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { color: var(--gulf); background: transparent; }
.btn-outline:hover { background: var(--gulf); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); box-shadow: 0 4px 0 #c94a22; }
.btn-accent:hover { background: #ff6333; border-color: #ff6333; }

/* ---------- Page heads ---------- */
.page-head { padding: 2.4rem 0 .6rem; border-bottom: 2px dashed var(--line); margin-bottom: 1.8rem; }
.page-title { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .3rem; }
.page-dek { color: var(--muted); font-size: 1.15rem; margin: 0 0 1rem; }
.page-head-narrow { padding: 2.4rem 0 .5rem; }
.empty-state { background: var(--paper); border: 2px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted); }

/* ---------- Post ---------- */
.post-header { padding: 2.6rem 0 1.2rem; }
.post-title { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .6rem; letter-spacing: -.01em; }
.post-dek { font-size: 1.25rem; color: #3a4a52; margin: 0 0 1rem; font-family: var(--serif); }
.byline { border-top: 2px dashed var(--line); padding-top: .8rem; }
.author { font-weight: 700; color: var(--ink); }
.post-figure { margin: 0 0 2rem; }
.post-figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5em; }
.prose blockquote {
  margin: 1.6em 0; padding: .75em 1.3em; border-left: 5px solid var(--teal);
  background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #2c3a3d;
  box-shadow: var(--shadow);
}
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 1rem; border-radius: var(--radius-sm); overflow: hidden; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .8rem; text-align: left; }
.prose th { background: var(--sand-2); color: var(--gulf); }
.prose code { background: var(--sand-2); padding: .1em .35em; border-radius: 6px; font-size: .9em; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 3rem 0 1rem; }
.notfound img { margin: 0 auto 1rem; filter: drop-shadow(0 6px 14px rgba(30,111,130,.2)); }

/* ---------- Older posts (tiny) ---------- */
.back { margin: 2rem 0 0; font-weight: 700; }
.older { margin-top: 2.5rem; padding: 1rem 1.2rem; border: 2px dashed var(--line); border-radius: var(--radius-sm); font-size: .92rem; }
.older-h { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .4rem; }
.older ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.older a { font-weight: 600; text-decoration: none; }
.older a:hover { text-decoration: underline; }
.older time { color: var(--muted); font-size: .82rem; margin-left: .35rem; }

/* ---------- Footer (single line) ---------- */
.site-footer {
  background: var(--gulf); color: #d5eef2; margin-top: 3rem; font-size: .85rem; text-align: center;
}
.site-footer::before {
  content: ""; display: block; height: 14px; margin-top: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20q60 20 120 0t120 0 120 0 120 0 120 0 120 0 120 0 120 0 120 0 120 0 120 0 120 0V0H0z' fill='%23fff6e8'/%3E%3C/svg%3E") center top / 100% 14px no-repeat;
}
.site-footer p { margin: 0; padding: .8rem 0 1rem; }
.site-footer a { color: #fff; font-weight: 700; }
.site-footer a:hover { color: var(--sun); }

/* ---------- Share row ---------- */
.share { margin: 2.2rem 0 0; padding: 1.1rem 1.2rem 1rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.share-h { margin: 0 0 .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.share-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.share-list li:has(> [hidden]) { display: none; }
.share-btn { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border-radius: 999px; border: 2px solid var(--gulf); background: #fff; color: var(--gulf); font: 700 .9rem/1 var(--sans); text-decoration: none; cursor: pointer; }
.share-btn:hover, .share-btn.is-copied { background: var(--gulf); color: #fff; }
.share-native { background: var(--gulf); color: #fff; }
.share-note { margin: .75rem 0 0; font-size: .88rem; color: var(--muted); }

/* ---------- Edition nav + archive link ---------- */
.edition-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 2rem; }
.edition-nav-link { display: flex; flex-direction: column; gap: .2rem; padding: .85rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); background: rgba(255,253,249,.6); }
.edition-nav-link:hover { border-color: var(--teal); background: var(--paper); }
.newer-link { text-align: right; }
.edition-nav-dir { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.edition-nav-title { font-family: var(--serif); font-weight: 700; color: var(--gulf); line-height: 1.25; }
.archive-link { margin: .9rem 0 0; font-weight: 700; font-size: .95rem; }

/* ---------- Overnight Roundup ---------- */
.edition-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem; margin: 1.4rem 0 0; padding: .55rem .9rem;
  background: var(--gulf); color: #e6f6f8; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
}
.edition-strip time { color: #fff; font-weight: 700; }
.edition-strip .sep::before { content: "·"; color: var(--seafoam); margin-right: .5rem; }
.roundup-header { padding-top: 1.4rem; }
.roundup-intro { font-size: 1.1rem; }
.roundup-intro { margin-bottom: 1.6rem; }
.roundup-intro p:first-child::first-line { font-weight: 600; }
.kicker-mascot { display: flex; align-items: center; gap: .4rem; }
.kicker-mascot img { width: 22px; height: 22px; }

.glance { margin: .4rem 0 1.6rem; padding: 1.1rem 1.2rem 1rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--sun); }
.glance-h { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 .5rem; }
.glance-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.glance-list a { display: flex; gap: .7rem; align-items: flex-start; padding: .45rem .3rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; }
.glance-list a:hover { background: var(--sand); color: var(--gulf); }
.glance-list li + li a { border-top: 1px dashed var(--line); border-radius: 0; }
.glance-num { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--gulf); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700; margin-top: .05rem; }
.glance-text { display: flex; flex-direction: column; }
.glance-seg { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.item { position: relative; margin: 0 0 1.3rem; padding: 1.2rem 1.3rem 1rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 1rem; }
.item:target { outline: 3px solid var(--sun); outline-offset: 2px; }
.item-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .45rem; }
.item-num { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--sun); color: var(--gulf); display: grid; place-items: center; font: 800 1.05rem/1 var(--serif); }
.item-serious .item-num { background: var(--sand-2); color: var(--ink); }
.item-labels { margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.segment { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: #e3f6f8; color: var(--teal-dark); font-size: .75rem; font-weight: 700; }
.item-cat { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.item-serious .item-cat { color: var(--muted); }
.item-h { font-size: clamp(1.3rem, 3.2vw, 1.6rem); margin: 0 0 .5rem; }
.item-body p { margin: 0 0 .7rem; }
.why { padding: .55rem .8rem; background: var(--sand); border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0; font-size: .98rem; }
.why strong { color: var(--gulf); }
.item-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem .8rem; margin: .2rem 0 0; padding-top: .6rem; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); }
.item-source a { font-weight: 700; }
.item-link { display: inline-flex; align-items: center; gap: .3rem; min-height: 36px; padding: .2rem .7rem; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--teal-dark); border: 1.5px solid transparent; }
.item-link:hover, .item-link.is-copied { border-color: var(--teal); background: #fff; }
.signoff { margin: 1.6rem 0 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--gulf); text-align: center; }
.signoff p { margin: 0; }

/* ---------- Archive ---------- */
.archive-month { margin-bottom: 1.8rem; }
.archive-month-h { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 .5rem; }
.archive-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.archive-list li { display: flex; gap: 1rem; align-items: baseline; padding: .75rem 1.1rem; }
.archive-list li + li { border-top: 1px dashed var(--line); }
.archive-list time { flex: none; width: 4.5rem; font-weight: 700; color: var(--muted); font-size: .9rem; }
.archive-entry { display: flex; flex-direction: column; }
.archive-tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.archive-entry a { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; text-decoration: none; line-height: 1.3; }
.archive-entry a:hover { text-decoration: underline; }


/* ---------- Lead images ---------- */
.post-lead { margin: 1.6rem 0 0; }
.post-lead + .post-header { padding-top: 1.4rem; }
.post-lead img { box-shadow: var(--shadow); }
@media (min-width: 1040px) { .post-lead { margin-inline: -100px; } .post-lead figcaption { margin-inline: 100px; } }
.roundup-figure { margin: 0 0 1.2rem; }
.roundup-figure img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Fresh from Sandy (feature cards on the home page) ---------- */
.fresh { margin-top: 2.8rem; padding-top: 1.6rem; border-top: 3px dashed var(--line); }
.fresh-head { margin-bottom: 1rem; }
.fresh-h { display: flex; align-items: center; gap: .55rem; font-size: clamp(1.6rem, 4vw, 2rem); margin: 0; }
.fresh-h img { width: 34px; height: 34px; flex: none; }
.fresh-dek { margin: .2rem 0 0; color: var(--muted); font-style: italic; }
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.card:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: .9rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; }
.card-kicker { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.card-title { font-size: 1.3rem; margin: 0; line-height: 1.25; }
.card-title a { color: var(--gulf); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.card-title a:hover { text-decoration: underline; }
.card-meta { margin: 0; font-size: .82rem; font-weight: 700; color: var(--muted); }
.card-summary { margin: .2rem 0 0; font-size: .96rem; line-height: 1.55; color: #3a4a52; }
.card:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Follow on X (only rendered when site.x is set) ---------- */
.x-icon { display: inline-block; vertical-align: -0.15em; }
.x-follow { white-space: nowrap; }
.share-follow { margin: .75rem 0 0; }
.share-x { gap: .45rem; background: #111; border-color: #111; color: #fff; }
.share-x:hover { background: var(--gulf); border-color: var(--gulf); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand { padding: .55rem 0; justify-content: flex-start; }
  .wordmark { gap: .55rem; }
  .wordmark-mark { width: 44px; height: 44px; }
  .wordmark-name { font-size: 1.65rem; }
  .wordmark-tag { display: none; }
  .prose, .roundup-intro { font-size: 1.03rem; }
  .post-header { padding-top: 1.3rem; padding-bottom: .9rem; }
  .roundup-header { padding-top: .9rem; }
  .roundup .post-dek { display: none; } /* the "In today's roundup" box covers the same stories */
  .post-title { font-size: 1.85rem; }
  .post-dek { font-size: 1.08rem; }
  .edition-strip { margin-top: .9rem; border-radius: 14px; font-size: .76rem; }
  .glance { margin: .2rem -.25rem 1.3rem; padding: .9rem .9rem .8rem; }
  .item { margin-left: -.25rem; margin-right: -.25rem; padding: 1rem 1rem .85rem; }
  .edition-nav { grid-template-columns: 1fr; }
  .newer-link { text-align: left; }
  .archive-list li { gap: .7rem; padding: .7rem .9rem; }
  .archive-list time { width: 3.6rem; }
  .post-lead { margin: .9rem -.25rem 0; }
  .post-lead + .post-header { padding-top: 1rem; }
  .roundup-figure { margin: 0 -.25rem .9rem; }
  .roundup-figure img { aspect-ratio: auto; height: 96px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-title { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, .wordmark:hover .wordmark-mark, .btn:hover { transition: none !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Site nav (header) ---------- */
.brand { flex-direction: column; align-items: center; gap: .6rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.site-nav a { display: inline-block; padding: .3rem .9rem; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--gulf); border: 2px solid transparent; }
.site-nav a:hover { border-color: var(--teal); background: #fff; }
.site-nav a[aria-current="page"] { background: var(--gulf); color: #fff; }
.site-nav .site-nav-contact:not([aria-current]) { background: var(--sun); }

/* ---------- Contact page ---------- */
.contact-head { display: flex; align-items: center; gap: 1.4rem; }
.contact-mascot { flex: none; width: 120px; height: 120px; filter: drop-shadow(0 6px 14px rgba(30,111,130,.2)); transform: rotate(-6deg); }
.contact-wants { padding-left: 1.2rem; }
.contact-wants li + li { margin-top: .5rem; }
.contact-mail { margin: 1.8rem 0; padding: 1.1rem 1.3rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--sun); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.contact-mail-label { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--gulf); }
.contact-mail .btn { overflow-wrap: anywhere; text-align: center; }
.contact-form { padding: 1.4rem 1.4rem 1.2rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--teal); }
.contact-form-h { font-size: 1.5rem; margin: 0 0 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin: 0 0 1rem; display: flex; flex-direction: column; gap: .3rem; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: .65rem .8rem; width: 100%; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(43,179,192,.25); outline-offset: 0; }
.contact-submit { margin: .4rem 0 0; }
.contact-fine { margin: 1rem 0 0; font-size: .88rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .8rem; }

/* ---------- "Got a tip?" callout (bottom of feature posts) ---------- */
.tip-callout { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0 0; padding: 1rem 1.2rem; border: 2px dashed var(--teal); border-radius: var(--radius); background: rgba(255,253,249,.7); }
.tip-callout img { flex: none; width: 56px; height: 56px; }
.tip-callout p { margin: 0; font-size: 1rem; }
.tip-callout strong { color: var(--gulf); font-family: var(--serif); font-size: 1.1rem; }
.tip-callout a { font-weight: 700; white-space: nowrap; }

@media (max-width: 640px) {
  .brand { flex-direction: row; justify-content: space-between; align-items: center; }
  .brand { flex-wrap: wrap; gap: .4rem; }
  .wordmark-name { white-space: nowrap; }
  .site-nav a { padding: .25rem .6rem; font-size: .82rem; }
  .site-nav ul { gap: .1rem; flex-wrap: nowrap; }
  .site-nav li:first-child { display: none; } /* the logo already links home */
  .contact-head { gap: .9rem; }
  .contact-mascot { width: 72px; height: 72px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.1rem 1rem 1rem; }
}

/* ---------- Writers: author chips, bylines, author pages ---------- */
.author-chip { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); position: relative; z-index: 1; }
.author-chip:hover .author { color: var(--gulf); text-decoration: underline; }
.author-avatar { border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--seafoam); flex: none; }
.author-chip-md .author-avatar { width: 40px; height: 40px; }
.author-chip-sm .author-avatar { width: 24px; height: 24px; border-width: 1.5px; box-shadow: 0 0 0 1.5px var(--seafoam); }
.author-chip-text { display: flex; flex-direction: column; line-height: 1.2; }
.author-chip-sm .author { font-size: .82rem; }
.author-role { font-size: .78rem; color: var(--muted); font-weight: 600; }
.byline-author { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.byline-when { color: var(--muted); }
.card-byline { margin-top: .1rem; }
.archive-by { margin-top: .25rem; }
.archive-by .author { font-family: var(--sans); }
.author-head { display: flex; gap: 1.6rem; align-items: center; }
.author-hero { flex: none; width: 176px; height: 176px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 0 0 4px var(--seafoam), var(--shadow); }
.author-hero-role { margin: 0 0 .5rem; font-weight: 700; color: var(--accent-text); }
.beat-list { list-style: none; margin: .4rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.beat-list li { padding: .2rem .65rem; border-radius: 999px; background: #e3f6f8; color: var(--teal-dark); font-size: .78rem; font-weight: 700; }
.writer-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.writer-card { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.2rem 1.3rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.writer-card-avatar img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--seafoam); }
.writer-card-name { font-size: 1.45rem; margin: 0; }
.writer-card-name a { text-decoration: none; color: var(--gulf); }
.writer-card-name a:hover { text-decoration: underline; }
.writer-card-role { margin: .1rem 0 .4rem; font-weight: 700; color: var(--accent-text); font-size: .9rem; }
.writer-card-bio { margin: 0; }
.writer-card .beat-list { margin-bottom: 0; }
.about-cta { margin-top: 1.6rem; font-weight: 600; text-align: center; }
@media (max-width: 640px) {
  .author-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .author-hero { width: 120px; height: 120px; }
  .writer-card { flex-direction: column; gap: .8rem; }
  .writer-card-avatar img { width: 88px; height: 88px; }
}
.writer-card-avatar { flex: none; }

/* ---------- Sandy's portrait replaces the cartoon mascot (header, contact, 404, thanks) ---------- */
.wordmark-mark { border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--seafoam), 0 6px 16px rgba(30,111,130,.18); filter: none; }
.wordmark:hover .wordmark-mark { transform: scale(1.03); }
.contact-mascot { border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--seafoam), var(--shadow); filter: none; transform: none; }
.notfound img.portrait { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--seafoam), var(--shadow); filter: none; }
/* Kicker accent: a small sun dot instead of the mascot icon */
.kicker-mascot::before { content: ""; width: .75em; height: .75em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sun), var(--accent)); flex: none; }
.fresh-h::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sun), var(--accent)); flex: none; }
/* Tip callout: the three writers' avatars, overlapped */
.tip-avatars { display: flex; flex: none; }
.tip-avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--seafoam); }
.tip-avatars img + img { margin-left: -12px; }
@media (max-width: 640px) { .tip-callout { flex-direction: column; align-items: flex-start; gap: .6rem; } }
