/*
Theme Name: Great Circle
Theme URI: https://bahadirarslan.com
Author: Bahadır Arslan
Description: A calm, high-contrast block theme for an independent developer's portfolio. The homepage is a ruled register of projects rather than a grid of cards, opened by a dark masthead and a great-circle plot. Light and dark themes, self-hosted variable fonts, no external requests.
Version: 1.3.0
Requires at least: 6.9
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greatcircle
Tags: portfolio, blog, block-theme, full-site-editing, one-column, custom-colors, dark-mode-support, accessibility-ready
*/

/* ===========================================================
   Fonts — self-hosted variable faces, no external requests
   =========================================================== */
@font-face{
  font-family:"Archivo";
  font-style:normal;
  font-weight:400 800;
  font-stretch:100% 112%;
  font-display:swap;
  src:url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Archivo";
  font-style:normal;
  font-weight:400 800;
  font-stretch:100% 112%;
  font-display:swap;
  src:url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"Inter";
  font-style:normal;
  font-weight:400 600;
  font-display:swap;
  src:url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Inter";
  font-style:normal;
  font-weight:400 600;
  font-display:swap;
  src:url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"JetBrains Mono";
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url("assets/fonts/jetbrainsmono-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"JetBrains Mono";
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url("assets/fonts/jetbrainsmono-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ===========================================================
   Design tokens
   Light is the base. Dark comes from the OS unless the visitor
   has chosen a theme, in which case data-theme on <html> wins.
   theme.json presets point at these variables, so the whole
   block palette flips with them.
   =========================================================== */
:root{
  --gc-paper:#FFFFFF;
  --gc-ink:#0A0E13;
  --gc-ink-soft:#495560;
  --gc-rule:#C5CFD6;
  --gc-rule-soft:#E2E8EC;
  --gc-accent:#07707E;
  --gc-accent-wash:rgba(7,112,126,.09);
  --gc-badge-ink:#FFFFFF;

  /* The masthead, contact band and footer stay dark in both themes. */
  --gc-band:#0A0E13;
  --gc-band-ink:#FFFFFF;
  --gc-band-soft:#93A3AE;
  --gc-band-rule:#2A343D;
  --gc-band-edge:#44525D;
  --gc-band-accent:#25C9DE;

  --gc-display:"Archivo","Helvetica Neue",Arial,sans-serif;
  --gc-body:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --gc-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --gc-paper:#0A0E13;
    --gc-ink:#F2F6F8;
    --gc-ink-soft:#97A5AF;
    --gc-rule:#2C3740;
    --gc-rule-soft:#1C242B;
    --gc-accent:#2ECEE2;
    --gc-accent-wash:rgba(46,206,226,.11);
    --gc-badge-ink:#061015;
    --gc-band:#151D24;
    --gc-band-rule:#313D47;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --gc-paper:#0A0E13;
  --gc-ink:#F2F6F8;
  --gc-ink-soft:#97A5AF;
  --gc-rule:#2C3740;
  --gc-rule-soft:#1C242B;
  --gc-accent:#2ECEE2;
  --gc-accent-wash:rgba(46,206,226,.11);
  --gc-badge-ink:#061015;
  --gc-band:#151D24;
  --gc-band-rule:#313D47;
  color-scheme:dark;
}

/* ===========================================================
   Base
   =========================================================== */
body{
  background:var(--gc-paper);
  color:var(--gc-ink);
  -webkit-font-smoothing:antialiased;
}

/* The header, main and footer each carry their own padding. Without this the
   root block gap opens a page-coloured stripe between the dark bands. */
.wp-site-blocks > * + *{margin-block-start:0}
:where(h1,h2,h3,h4){font-variation-settings:"wdth" 108}
a{color:inherit}
:focus-visible{outline:2px solid var(--gc-accent);outline-offset:3px}

.gc-mono{
  font-family:var(--gc-mono);
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Skip link */
.skip-link:focus{
  position:fixed;
  top:1rem;
  left:1rem;
  z-index:999;
  background:var(--gc-band);
  color:var(--gc-band-ink);
  padding:.6rem 1rem;
  border-radius:3px;
  font-family:var(--gc-mono);
  font-size:.75rem;
}

/* ===========================================================
   The dark band — masthead, contact, footer
   =========================================================== */
.gc-band{
  background:var(--gc-band);
  color:var(--gc-band-ink);
}
.gc-band a{color:var(--gc-band-ink)}
.gc-band .gc-soft{color:var(--gc-band-soft)}

.gc-masthead{border-bottom:1px solid var(--gc-band-rule)}
.gc-wordmark{
  font-family:var(--gc-display);
  font-variation-settings:"wdth" 108;
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:-.015em;
  text-decoration:none;
}
.gc-nav{
  display:flex;
  gap:1.6rem;
  flex-wrap:wrap;
  font-family:var(--gc-mono);
  font-size:.74rem;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.gc-nav a{
  text-decoration:none;
  color:var(--gc-band-soft);
  padding-bottom:3px;
  border-bottom:2px solid transparent;
  transition:color .16s ease,border-color .16s ease;
}
.gc-nav a:hover,
.gc-nav .current-menu-item > a{color:var(--gc-band-ink);border-bottom-color:var(--gc-band-accent)}

/* ===========================================================
   Theme switch
   =========================================================== */
.gc-theme{
  display:flex;
  gap:2px;
  border:1px solid var(--gc-band-rule);
  border-radius:3px;
  padding:2px;
}
.gc-theme__btn{
  display:grid;
  place-items:center;
  width:30px;
  height:24px;
  padding:0;
  border:0;
  border-radius:2px;
  background:none;
  color:var(--gc-band-soft);
  cursor:pointer;
  transition:background-color .16s ease,color .16s ease;
}
.gc-theme__btn:hover{color:var(--gc-band-ink)}
.gc-theme__btn[aria-pressed="true"]{background:var(--gc-band-rule);color:var(--gc-band-accent)}
.gc-theme__btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}

/* ===========================================================
   Hero
   =========================================================== */
.gc-eyebrow{
  font-family:var(--gc-mono);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gc-band-accent);
}
.gc-hero__title{
  font-family:var(--gc-display);
  font-weight:800;
  font-size:clamp(2.5rem,7vw,4.6rem);
  line-height:1.01;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.gc-hero__title em{font-style:normal;color:var(--gc-band-accent)}
.gc-hero__lede{max-width:40ch;color:var(--gc-band-soft);font-size:1.05rem}

.gc-chips{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:0;
  padding:0;
  list-style:none;
}
.gc-chips li{
  font-family:var(--gc-mono);
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  border:1px solid var(--gc-band-rule);
  border-radius:2px;
  padding:.35rem .6rem;
}

/* Great-circle plot */
.gc-globe{width:100%;height:auto;max-width:26rem;display:block;margin-inline:auto}
.gc-globe .grat{fill:none;stroke:var(--gc-band-rule);stroke-width:1}
.gc-globe .edge{fill:none;stroke:var(--gc-band-edge);stroke-width:1.5}
.gc-globe .route{fill:none;stroke:var(--gc-band-accent);stroke-width:2.5;stroke-linecap:round}
.gc-globe .node{fill:var(--gc-band);stroke:var(--gc-band-accent);stroke-width:2.5}
.gc-globe .cap{
  font-family:var(--gc-mono);
  font-size:9.5px;
  font-weight:700;
  letter-spacing:.14em;
  fill:var(--gc-band-soft);
}

/* ===========================================================
   Section headings
   =========================================================== */
.gc-section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.gc-section-head h2{
  font-weight:700;
  font-size:clamp(1.6rem,3.4vw,2.2rem);
  letter-spacing:-.025em;
  margin:0;
}
.gc-section-note{
  font-family:var(--gc-mono);
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gc-ink-soft);
  margin:0;
}

/* ===========================================================
   Project register
   =========================================================== */
.gc-group-label{
  font-family:var(--gc-mono);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gc-ink);
  margin:0;
  padding-bottom:.65rem;
  border-bottom:2px solid var(--gc-ink);
}
.gc-row{
  display:grid;
  grid-template-columns:minmax(0,14rem) minmax(0,1fr) auto;
  gap:.4rem 2rem;
  align-items:baseline;
  padding:1.2rem .9rem;
  margin-inline:-.9rem;
  border-bottom:1px solid var(--gc-rule-soft);
  text-decoration:none;
  transition:background-color .16s ease;
}
.gc-row:hover,
.gc-row:focus-visible{background:var(--gc-accent-wash)}
.gc-row__name{
  font-family:var(--gc-display);
  font-variation-settings:"wdth" 108;
  font-size:1.5rem;
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.028em;
  min-width:0;
  display:flex;
  align-items:center;
  gap:.6rem;
  flex-wrap:wrap;
  transition:color .16s ease;
}
.gc-row:hover .gc-row__name{color:var(--gc-accent)}
.gc-row__body{min-width:0}
.gc-row__desc{margin:0;font-size:.95rem;color:var(--gc-ink-soft)}
.gc-row__url{
  display:inline-block;
  margin-top:.3rem;
  font-family:var(--gc-mono);
  font-size:.73rem;
  font-weight:500;
  letter-spacing:.03em;
  color:var(--gc-accent);
}
.gc-tags{
  display:flex;
  gap:.4rem;
  flex-wrap:wrap;
  justify-content:flex-end;
  min-width:0;
}
.gc-tag{
  font-family:var(--gc-mono);
  font-size:.64rem;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--gc-ink);
  border:1px solid var(--gc-rule);
  border-radius:2px;
  padding:.22rem .45rem;
  white-space:nowrap;
}
.gc-badge{
  font-family:var(--gc-mono);
  font-size:.6rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gc-badge-ink);
  background:var(--gc-accent);
  border-radius:2px;
  padding:.18rem .42rem;
}
.gc-archive{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem 1.5rem;
  margin:1rem 0 0;
  padding:0;
  list-style:none;
  font-family:var(--gc-mono);
  font-size:.76rem;
  letter-spacing:.04em;
  color:var(--gc-ink-soft);
}

/* ===========================================================
   Writing — post grid
   =========================================================== */
.gc-notes{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));
  gap:1px;
  background:var(--gc-rule);
  border:1px solid var(--gc-rule);
}
.gc-notes > li,
.gc-note{
  background:var(--gc-paper);
  padding:1.5rem 1.4rem;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:.5rem;
  min-width:0;
  transition:background-color .16s ease;
}
.gc-notes > li:hover{background:var(--gc-accent-wash)}
.gc-notes .wp-block-post-title{
  font-family:var(--gc-display);
  font-size:1.2rem;
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.022em;
  margin:0;
}
.gc-notes .wp-block-post-title a{text-decoration:none;transition:color .16s ease}
.gc-notes > li:hover .wp-block-post-title a{color:var(--gc-accent)}
.gc-notes .wp-block-post-date{
  font-family:var(--gc-mono);
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--gc-ink-soft);
  margin:0;
}
.gc-notes .wp-block-post-date a{text-decoration:none}
.gc-notes .wp-block-post-excerpt{margin:0}
.gc-notes .wp-block-post-excerpt__excerpt{font-size:.9rem;color:var(--gc-ink-soft)}
.gc-notes .wp-block-post-excerpt__more-text{display:none}

/* ===========================================================
   Long-form content — posts and pages
   =========================================================== */
.gc-entry__title{
  font-weight:800;
  font-size:clamp(2rem,5.2vw,3.4rem);
  line-height:1.04;
  letter-spacing:-.032em;
  text-wrap:balance;
}
.gc-entry__meta{
  font-family:var(--gc-mono);
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gc-ink-soft);
}
.gc-prose :where(h2){
  font-size:clamp(1.4rem,3vw,1.9rem);
  letter-spacing:-.025em;
  font-weight:700;
}
.gc-prose :where(h3){
  font-size:clamp(1.15rem,2.4vw,1.4rem);
  letter-spacing:-.02em;
  font-weight:700;
}
.gc-prose :where(p,li){font-size:1.02rem}
.gc-prose :where(a){color:var(--gc-accent);text-underline-offset:.2em}
.gc-prose :where(blockquote){
  border-left:2px solid var(--gc-accent);
  padding-left:1.25rem;
  margin-inline:0;
  color:var(--gc-ink-soft);
}
.gc-prose :where(code,kbd,pre){font-family:var(--gc-mono);font-size:.9em}
.gc-prose :where(pre){
  background:var(--gc-rule-soft);
  border:1px solid var(--gc-rule);
  border-radius:3px;
  padding:1rem 1.1rem;
  overflow-x:auto;
}
.gc-prose :where(hr){border:0;border-top:1px solid var(--gc-rule);margin-block:2.5rem}
.gc-prose :where(table){width:100%;border-collapse:collapse}
.gc-prose :where(th,td){border-bottom:1px solid var(--gc-rule);padding:.6rem .5rem;text-align:left}
/* Images. Most of the artwork here is portrait phone capture, which a plain
   max-width rule happily upscales into a blurry full-screen banner. Cap the
   height instead and let the width follow. */
.gc-featured{display:flex;justify-content:center}
.gc-featured img,
.gc-prose :where(.wp-block-image) img{
  width:auto;
  max-width:100%;
  max-height:min(70vh,620px);
  border-radius:8px;
}
.gc-prose :where(.wp-block-image.is-resized) img{max-height:none}

/* Screenshot galleries read as a row of devices. */
.gc-prose :where(.wp-block-gallery) img{
  border:1px solid var(--gc-rule);
  border-radius:10px;
}

/* Store links and other button rows. */
.gc-prose :where(.wp-block-buttons){gap:.6rem}
.gc-prose :where(.wp-block-button__link){text-decoration:none}

/* Forms — the contact form, search, and anything a plugin renders. */
.gc-prose :where(label),
.gc-prose :where(.grunion-field-label){
  display:block;
  font-family:var(--gc-mono);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gc-ink);
  margin-bottom:.4rem;
}
.gc-prose :where(label) span,
.gc-prose :where(.grunion-field-label) span{
  font-weight:400;
  color:var(--gc-ink-soft);
  text-transform:none;
  letter-spacing:.04em;
}
:where(.gc-prose, .wp-block-search) :where(
  input[type="text"], input[type="email"], input[type="url"],
  input[type="tel"], input[type="number"], input[type="date"],
  input[type="search"], textarea, select
){
  width:100%;
  max-width:100%;
  font-family:var(--gc-body);
  font-size:1rem;
  line-height:1.5;
  color:var(--gc-ink);
  background:var(--gc-paper);
  border:1px solid var(--gc-rule);
  border-radius:3px;
  padding:.65rem .8rem;
  transition:border-color .16s ease,box-shadow .16s ease;
}
:where(.gc-prose, .wp-block-search) :where(input, textarea, select):focus{
  border-color:var(--gc-accent);
  box-shadow:0 0 0 3px var(--gc-accent-wash);
  outline:none;
}
.gc-prose :where(textarea){min-height:9rem;resize:vertical}
.gc-prose :where(input::placeholder, textarea::placeholder){color:var(--gc-ink-soft)}

.gc-prose :where(figcaption){
  font-family:var(--gc-mono);
  font-size:.7rem;
  letter-spacing:.06em;
  color:var(--gc-ink-soft);
}

/* ===========================================================
   Contact band and footer
   =========================================================== */
.gc-contact__title{
  font-weight:800;
  font-size:clamp(1.9rem,4.8vw,3.1rem);
  line-height:1.05;
  letter-spacing:-.032em;
  text-wrap:balance;
}
.gc-links{
  display:flex;
  flex-direction:column;
  gap:.6rem;
  font-family:var(--gc-mono);
  font-size:.8rem;
  font-weight:500;
  letter-spacing:.04em;
  margin:0;
  padding:0;
  list-style:none;
}
.gc-links a{
  display:inline-block;
  text-decoration:none;
  border-bottom:1px solid var(--gc-band-rule);
  padding-bottom:.35rem;
  transition:color .16s ease,border-color .16s ease;
}
.gc-links a:hover{color:var(--gc-band-accent);border-bottom-color:var(--gc-band-accent)}

.gc-footer{
  font-family:var(--gc-mono);
  font-size:.68rem;
  letter-spacing:.08em;
  color:var(--gc-band-soft);
  border-top:1px solid var(--gc-band-rule);
}
.gc-footer a{color:var(--gc-band-soft)}
.gc-footer a:hover{color:var(--gc-band-accent)}

/* ===========================================================
   Narrow screens
   =========================================================== */
@media (max-width:880px){
  .gc-row{grid-template-columns:minmax(0,1fr);gap:.5rem}
  .gc-tags{justify-content:flex-start}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important;animation:none !important;scroll-behavior:auto !important}
}

/* ------------------------------------------------------------------ */
/*  Project header                                                     */
/*  Printed from post meta, so a page without those fields shows       */
/*  nothing here and keeps the plain title.                            */
/* ------------------------------------------------------------------ */

.gc-projhead__eyebrow{
  font-family:var(--gc-mono);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gc-accent);
  margin:0;
}

.gc-projhead{
  display:flex;
  flex-direction:column;
  gap:1.15rem;
  align-items:flex-start;
  padding-bottom:1.7rem;
  border-bottom:1px solid var(--gc-rule-soft);
}

.gc-projhead__tagline{
  font-size:1.14rem;
  line-height:1.5;
  color:var(--gc-ink-soft);
  max-width:46ch;
  margin:0;
}

.gc-chips--line li{
  border-color:var(--gc-rule);
  color:var(--gc-ink-soft);
}
.gc-chips--line .gc-chips__year{
  border-style:dashed;
  border-color:var(--gc-rule-soft);
}

.gc-projhead__links{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin:0;
  padding:0;
  list-style:none;
}
.gc-projhead__links a{
  display:inline-block;
  font-family:var(--gc-mono);
  font-size:.74rem;
  font-weight:500;
  letter-spacing:.07em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--gc-ink);
  border:1px solid var(--gc-rule);
  border-radius:3px;
  padding:.52rem .9rem;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
.gc-projhead__links a:hover,
.gc-projhead__links a:focus-visible{
  background:var(--gc-ink);
  border-color:var(--gc-ink);
  color:var(--gc-paper);
}
.gc-projhead__links li:first-child a{
  background:var(--gc-accent);
  border-color:var(--gc-accent);
  color:var(--gc-badge-ink);
}
.gc-projhead__links li:first-child a:hover,
.gc-projhead__links li:first-child a:focus-visible{
  background:var(--gc-ink);
  border-color:var(--gc-ink);
  color:var(--gc-paper);
}

/* The header block owns the rule, so the prose starts closer to it. */
.gc-projhead + *{margin-block-start:0}

.gc-projhead__iconwrap{margin:0 0 .15rem}
.gc-projhead__icon{
  display:block;
  width:72px;
  height:72px;
  object-fit:contain;
  /* Rounds the icons that ship with an opaque background; a transparent
     PNG is unaffected. */
  border-radius:16px;
  margin:0;
}

/* ------------------------------------------------------------------ */
/*  Single post                                                        */
/* ------------------------------------------------------------------ */

.gc-backlink{margin:0}
.gc-backlink a{
  font-family:var(--gc-mono);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--gc-ink-soft);
}
.gc-backlink a:hover,
.gc-backlink a:focus-visible{color:var(--gc-accent)}
.gc-backlink span{margin-inline-end:.35rem}

/* Previous and next sit side by side on a wide screen and stack on a
   narrow one; the next link keeps to the right edge in both. */
.gc-postnav{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.4rem;
}
.gc-postnav > *{margin-block-start:0 !important}
.gc-postnav .post-navigation-link-next{text-align:right}

.gc-postnav .wp-block-post-navigation-link a{
  display:inline-block;
  font-size:1.02rem;
  line-height:1.4;
  font-weight:600;
  color:var(--gc-ink);
  text-decoration:none;
  border-bottom:1px solid transparent;
}
.gc-postnav .wp-block-post-navigation-link a:hover,
.gc-postnav .wp-block-post-navigation-link a:focus-visible{
  color:var(--gc-accent);
  border-bottom-color:var(--gc-accent);
}
.gc-postnav .post-navigation-link-previous::before,
.gc-postnav .post-navigation-link-next::before{
  display:block;
  font-family:var(--gc-mono);
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gc-ink-soft);
  margin-bottom:.45rem;
}
.gc-postnav .post-navigation-link-previous::before{content:"Previous"}
.gc-postnav .post-navigation-link-next::before{content:"Next"}
/* The labels above do the work, so hide the ones the block prints. */
.gc-postnav .post-navigation-link-previous > a > .screen-reader-text,
.gc-postnav .post-navigation-link-next > a > .screen-reader-text{
  position:absolute;
  width:1px;height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

@media (max-width:640px){
  .gc-postnav{grid-template-columns:1fr}
  .gc-postnav .post-navigation-link-next{text-align:left}
}

/* Core still prints the wrapper when there is no adjacent post; without
   this the first and last post show a stray label. */
.gc-postnav .wp-block-post-navigation-link:not(:has(a))::before{content:none}

/* ------------------------------------------------------------------ */
/*  Monogram                                                           */
/*  The tile takes the band's ink and the letters the band itself, so  */
/*  the mark inverts cleanly against the masthead in either theme.     */
/* ------------------------------------------------------------------ */

.gc-brand{flex-wrap:nowrap !important}
.gc-mark__link{
  display:inline-flex;
  line-height:0;
  border-radius:7px;
}
.gc-mark__link:focus-visible{
  outline:2px solid var(--gc-band-accent);
  outline-offset:3px;
}
.gc-mark{display:block;width:30px;height:30px}
.gc-mark__tile{fill:var(--gc-band-ink)}
.gc-mark__letters{fill:var(--gc-band)}

/* "All writing →" under the home page's three latest posts */
.gc-seeall{margin:1.6rem 0 0}
.gc-seeall a{
  font-family:var(--gc-mono);
  font-size:.74rem;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--gc-accent);
}
.gc-seeall a:hover,
.gc-seeall a:focus-visible{text-decoration:underline;text-underline-offset:.3em}
.gc-seeall span{margin-inline-start:.35rem}
