@charset "UTF-8";
:root {
  /* Refined romantic palette — dark red & purple tones, AA contrast compliant */
  --color-primary: #4B1E28;
  /* Deep burgundy (main brand hue) */
  --color-primary-light: #7A2F3E;
  /* Medium wine red for accents */
  --color-primary-dark: #2C0F16;
  /* Nearly black-red, for headers & titles */
  --color-secondary: #6B244C;
  /* Plum rose tone — softer complement */
  --color-accent: #A35C7A;
  /* Mauve highlight color for links & subtle emphasis */
  --color-text: #2A1A1D;
  /* Dark neutral with red undertone */
  --color-text-light: #6A4C57;
  /* Muted rose-gray for secondary text */
  --color-background: #FFF9F9;
  /* Warm, romantic off-white background */
  --color-background-alt: #F7ECEE;
  /* Slight blush-tinted section background */
  --color-border: #8B5C6E;
  /* Muted plum border for subtle definition */
  --color-success: #7A946C;
  /* Sage green (gentle contrast to reds) */
  --color-warning: #C77947;
  /* Copper-orange warning, softer than harsh yellows */
  --color-error: #B23A48;
  /* Strong crimson for errors */
  --color-info: #7B6BBF;
  /* Muted violet for info highlights */
  /* Fonts */
  --font-base: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* Typography & rhythm */
  --line-height-base: 1.6;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --heading-line-height: 1.2;
  /* Spacing */
  --spacing-unit: 1rem;
  --spacing-xs: calc(var(--spacing-unit) * 0.25);
  --spacing-sm: calc(var(--spacing-unit) * 0.5);
  --spacing-md: var(--spacing-unit);
  --spacing-lg: calc(var(--spacing-unit) * 1.5);
  --spacing-xl: calc(var(--spacing-unit) * 2);
  --spacing-2xl: calc(var(--spacing-unit) * 3.5);
  --spacing-3xl: calc(var(--spacing-unit) * 4);
  /* Layout */
  --container-max-width: 1200px;
  --transition: all 0.2s ease-in-out;
  /* Type scale */
  --ratio: 1.20;
  --s0: 1rem;
  --s1: calc(var(--s0) * var(--ratio));
  --s2: calc(var(--s1) * var(--ratio));
  --s3: calc(var(--s2) * var(--ratio));
  --s4: calc(var(--s3) * var(--ratio));
  --s5: calc(var(--s4) * var(--ratio));
  /* Fluid heading sizes */
  --h1-min: 2rem;
  --h1-max: 2.75rem;
  --h2-min: 1.55rem;
  --h2-max: 2.15rem;
  --h3-min: 1.3rem;
  --h3-max: 1.7rem;
  --h4-min: 1.15rem;
  --h4-max: 1.35rem;
  --h5-min: 1.05rem;
  --h5-max: 1.15rem;
  --h6-min: 0.95rem;
  --h6-max: 1.05rem;
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.25);
  /* Text shadow — softer romantic tone */
  --text-shadow-md: 0 3px 6px rgba(60, 0, 0, 0.35);
  /* Advisory colors */
  --color-advisory-bg: #fff4f6;
  --color-advisory-bg-alt: #fbe9ed;
  --color-advisory-border: #d8a7b1;
  --color-muted: #6A4C57;
  /* Developer tokens (left as-is for tooling consistency) */
  --dev-primary-600: #215ec0;
  --dev-primary-700: #1b4d9e;
  --dev-mark-bg: #ffec99;
  --dev-warn-bg: #fff6f6;
  --dev-warn-border: #ffd3d3;
  --dev-warn-text: #aa3333; }

@font-face {
  font-family: 'Lora';
  src: url("/fonts/lora/Lora-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: 'Lora';
  src: url("/fonts/lora/Lora-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap; }

@layer typetura {
  @property --property {
    syntax: "<integer>";
    initial-value: 1;
    inherits: false; }
  @property --container {
    syntax: "<length>";
    initial-value: 100vi;
    inherits: false; }
  @property --from {
    syntax: "<length>";
    initial-value: 0px;
    inherits: true; }
  @property --to {
    syntax: "<length>";
    initial-value: 0px;
    inherits: true; }
  * {
    --tt: 0;
    --on: unset;
    --container: var(--tt, 100cqi);
    animation-delay: var(--tt, calc(-1s * (var(--container) - var(--from)) / (var(--to) - var(--from))));
    animation-duration: var(--tt, calc(1s * var(--property)));
    animation-iteration-count: var(--tt, 1);
    animation-fill-mode: var(--tt, both);
    animation-play-state: var(--tt, paused); }
  @supports not (width: calc(1% / 1px * 1px)) {
    * {
      --CONTAINER: calc(tan(atan2(var(--container,100vi),1px)));
      --FROM: calc(tan(atan2(var(--from,0rem),1px)));
      --TO: calc(tan(atan2(var(--to,60rem),1px)));
      animation-delay: var(--tt, calc(-1s * var(--property) * (var(--CONTAINER) - var(--FROM)) / (var(--TO) - var(--FROM)))); } }
  .tt, .rtt, .typetura, html {
    --tt: var(--on); }
  :where(html) {
    --from: 0rem;
    --to: 60rem; }
  :where(.rtt) {
    --container: 100vi; }
  :where(.cq) {
    container-type: inline-size; } }

/* ================================
   CookieYes Full Theme Override
   Primary Theme Color: #4B1E28
   ================================ */
/* Floating revisit button (cookie icon) */
.cky-btn-revisit-wrapper,
.cky-btn-revisit {
  background: #4B1E28 !important;
  border-color: #4B1E28 !important; }

/* Main buttons: Accept / Preferences / Reject */
button.cky-btn.cky-btn-accept,
button.cky-btn.cky-btn-preferences,
button.cky-btn.cky-btn-reject,
button.cky-btn.cky-btn-customize {
  background-color: #4B1E28 !important;
  border-color: #4B1E28 !important;
  color: #ffffff !important; }

/* Hover states for main buttons */
button.cky-btn.cky-btn-accept:hover,
button.cky-btn.cky-btn-preferences:hover,
button.cky-btn.cky-btn-reject:hover,
button.cky-btn.cky-btn-customize:hover {
  background-color: #4B1E28 !important;
  border-color: #4B1E28 !important;
  color: #ffffff !important; }

/* Toggle switch track background when enabled */
.cky-switch input[type="checkbox"]:checked {
  background: #4B1E28 !important;
  border-color: #4B1E28 !important; }

/* Toggle switch knob (circle) when enabled */
.cky-switch input[type="checkbox"]:checked:before,
.cky-switch input[type="checkbox"]:checked::before {
  background: #ffffff !important; }

/* Toggle switch outline */
.cky-switch input[type="checkbox"] {
  border-color: #4B1E28 !important; }

/* "Show more" link/button color (has inline style by default) */
button.cky-show-desc-btn,
button.cky-show-desc-btn[style] {
  color: #4B1E28 !important; }

/* Hover for "Show more" */
button.cky-show-desc-btn:hover {
  color: #4B1E28 !important;
  text-decoration: underline; }

/* Category headers (Necessary, Functional, etc.) */
.cky-accordion-header,
.cky-accordion-header button,
.cky-accordion-header-wrapper,
.cky-accordion-btn {
  color: #4B1E28 !important; }

/* Accordion arrow icons */
.cky-accordion-header svg,
.cky-accordion-btn svg,
.cky-accordion-header-wrapper svg {
  fill: #4B1E28 !important;
  stroke: #4B1E28 !important; }

/* Sometimes CookieYes uses pseudo-elements for arrows */
.cky-accordion-header:after,
.cky-accordion-header::after,
.cky-accordion-btn:after,
.cky-accordion-btn::after {
  border-color: #4B1E28 !important;
  color: #4B1E28 !important; }

/* Active category highlight */
.cky-accordion-item.active .cky-accordion-header,
.cky-accordion-item.active .cky-accordion-btn {
  color: #4B1E28 !important; }

/* Links inside cookie popup */
.cky-notice a,
.cky-preference-center a {
  color: #4B1E28 !important; }

/* Hover links */
.cky-notice a:hover,
.cky-preference-center a:hover {
  color: #4B1E28 !important;
  text-decoration: underline; }

/* Modal borders / separators */
.cky-preference-center,
.cky-modal-content,
.cky-horizontal-separator {
  border-color: #4B1E28 !important; }

/* Close button (X) */
.cky-preference-header .cky-btn-close,
.cky-preference-header .cky-btn-close svg {
  fill: #4B1E28 !important;
  stroke: #4B1E28 !important; }

/* Scrollbar thumb inside modal (optional, works in webkit browsers) */
.cky-preference-center::-webkit-scrollbar-thumb {
  background: #4B1E28 !important; }

/* Focus outline color (keyboard navigation accessibility) */
.cky-btn:focus,
.cky-show-desc-btn:focus,
.cky-btn-revisit:focus,
.cky-accordion-btn:focus,
.cky-switch input[type="checkbox"]:focus {
  outline-color: #4B1E28 !important;
  box-shadow: 0 0 0 2px rgba(75, 30, 40, 0.35) !important; }

/* Optional: headings text (Customise Consent Preferences title) */
.cky-preference-header h2,
.cky-title {
  color: #4B1E28 !important; }

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 100%;
  height: 100%;
  --from: 20rem;
  --to: 90rem; }

*,
*::before,
*::after {
  box-sizing: inherit; }

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-background); }

h1, h2, h3, h4, h5, h6 {
  margin-block-start: 0;
  margin-block-end: 0.6em;
  font-weight: var(--font-weight-bold);
  line-height: var(--heading-line-height);
  color: var(--color-primary-dark); }

h1 {
  font-size: clamp(var(--h1-min), 4.5vw, var(--h1-max)); }

h2 {
  font-size: clamp(var(--h2-min), 3.6vw, var(--h2-max)); }

h3 {
  font-size: clamp(var(--h3-min), 3vw, var(--h3-max)); }

h4 {
  font-size: clamp(var(--h4-min), 2.4vw, var(--h4-max)); }

h5 {
  font-size: clamp(var(--h5-min), 1.8vw, var(--h5-max)); }

h6 {
  font-size: clamp(var(--h6-min), 1.4vw, var(--h6-max)); }

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: var(--transition); }
  a:hover {
    color: var(--color-primary-dark);
    text-decoration-thickness: 2px; }

hr {
  margin: 2em auto;
  border: none;
  border-top: 1px solid var(--color-border);
  overflow: visible;
  position: relative; }
  hr::after {
    content: '❖';
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: var(--color-text-light);
    padding: 0 0.75em;
    background-color: var(--color-background); }

@media (max-width: 768px) {
  :root {
    --ratio: 1.2; } }

/* ========================================
   Accessibility / Visually-hidden utility
   ======================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  /* Modern & preferred replacement for clip */
  white-space: nowrap;
  border: 0; }

/*
  Show the element again when it's focused by a keyboard user.
  This is essential for the "Skip to main content" link.
*/
.visually-hidden.focusable:focus,
.visually-hidden.focusable:active {
  position: static !important;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  /* Make it visible again */
  white-space: normal;
  /* Optional: Add some basic styling so it looks like a button/link */
  z-index: 1000;
  padding: 0.75rem 1rem;
  background-color: var(--color-primary-dark);
  color: var(--color-background);
  text-decoration: none;
  border-radius: 3px;
  line-height: 1; }

/* Adds a small space before every superscript citation */
sup {
  margin-left: 0.1em;
  /* ~1/10 of font size — similar to &thinsp; */ }

body {
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column; }

main {
  padding-block: var(--spacing-lg);
  padding-inline: var(--spacing-lg);
  inline-size: 100%;
  flex: 1 0 auto; }

/* Tablet refinement: tighten vertical rhythm & horizontal padding between phone and desktop */
@media (min-width: 700px) and (max-width: 1023px) {
  main {
    padding-block: var(--spacing-xl);
    padding-inline: clamp(var(--spacing-lg), 4vw, var(--spacing-2xl)); } }

main > * + * {
  margin-block-start: var(--spacing-lg); }

.container-wrapper {
  max-inline-size: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--spacing-md); }

@media (min-width: 700px) and (max-width: 1023px) {
  .container-wrapper {
    padding-inline: clamp(var(--spacing-lg), 4vw, var(--spacing-xl));
    max-inline-size: 1000px;
    /* prevent over-wide measure on medium screens */ } }

a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
  text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto; }
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: scroll !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important; } }

@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: var(--color-text) !important;
    box-shadow: none !important;
    text-shadow: none !important; }
  a, a:visited {
    text-decoration: underline; }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal; }
  nav, footer, header {
    display: none; } }

.grid {
  display: grid;
  gap: var(--spacing-md); }

.grid-cols-1 {
  grid-template-columns: 1fr; }

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr); }

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr); }

.grid-rows-1 {
  grid-template-rows: 1fr; }

.grid-rows-2 {
  grid-template-rows: repeat(2, 1fr); }

.grid-rows-3 {
  grid-template-rows: repeat(3, 1fr); }

/* Unequal column splits */
.grid-cols-1-2 {
  grid-template-columns: 1fr 2fr; }

.grid-cols-2-1 {
  grid-template-columns: 2fr 1fr; }

.grid-cols-1-3 {
  grid-template-columns: 1fr 3fr; }

.grid-cols-3-1 {
  grid-template-columns: 3fr 1fr; }

/* Equal two-column split (explicit naming to mirror pattern) */
.grid-cols-1-1 {
  grid-template-columns: 1fr 1fr; }

/* Responsive grid columns */
@media (min-width: 700px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr); }
  /* Responsive unequal splits */
  .md\:grid-cols-1-2 {
    grid-template-columns: 1fr 2fr; }
  .md\:grid-cols-2-1 {
    grid-template-columns: 2fr 1fr; }
  .md\:grid-cols-1-3 {
    grid-template-columns: 1fr 3fr; }
  .md\:grid-cols-3-1 {
    grid-template-columns: 3fr 1fr; }
  /* Responsive equal split */
  .md\:grid-cols-1-1 {
    grid-template-columns: 1fr 1fr; } }

/* Intrinsic Grid Utility */
.grid-auto {
  display: grid;
  gap: var(--spacing-md);
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-min-width, 280px), 1fr)); }

/* ========================================================================== 
   Writing Section Layout - Grid & Sidebar 
   ========================================================================== */
/* Main grid container for two-column layout: main content + sidebar */
.layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl); }

@media (min-width: 900px) {
  .layout-grid {
    grid-template-columns: 2fr minmax(320px, 1fr); } }

.btn-reveal {
  background: var(--color-primary);
  color: var(--color-background);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--s0);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm); }
  .btn-reveal:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md); }
  .btn-reveal:active {
    transform: translateY(0); }

.download-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(139, 92, 110, 0.15);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden; }
  .download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: var(--transition); }
  .download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent); }
    .download-card:hover::before {
      opacity: 1; }
    .download-card:hover .download-icon {
      transform: translateY(3px);
      color: var(--color-primary); }
    .download-card:hover .download-label {
      color: var(--color-primary-light); }
  .download-card .download-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.25rem; }
  .download-card .download-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    font-weight: 600;
    transition: var(--transition); }
  .download-card .book-title {
    font-family: var(--font-serif);
    font-size: var(--s1);
    font-weight: 700;
    color: var(--color-primary-dark); }
  .download-card .download-icon {
    font-size: 1.75rem;
    color: var(--color-accent);
    transition: var(--transition);
    font-weight: bold; }

.device-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition); }
  .device-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(139, 92, 110, 0.2); }
  .device-card h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1rem; }
  .device-card .device-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem; }
  .device-card p {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem; }
  .device-card .help-link {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: var(--transition); }
    .device-card .help-link:hover {
      color: var(--color-primary-dark);
      border-bottom-color: currentColor; }

header {
  background-color: var(--color-background);
  color: var(--color-text);
  padding-block: var(--spacing-md);
  width: 100%;
  /* Ensure the link inside the header doesn't have a border/line */
  /* Optional: Add a subtle transition if you want the SVG to react to hover */ }
  header a {
    text-decoration: none;
    display: block;
    width: 100%; }
  header svg {
    transition: opacity 0.3s ease; }
    header svg:hover {
      opacity: 0.9; }
  header h1 {
    color: var(--color-primary-dark);
    text-align: center;
    letter-spacing: 0.05em; }
    header h1 a {
      text-decoration: none;
      color: inherit; }
    header h1 .title-char {
      text-shadow: var(--text-shadow-md); }

@media (min-width: 700px) and (max-width: 1023px) {
  header h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.3rem); } }

/* ========================================================================== 
   Footer Styles
   ========================================================================== */
footer.site-footer {
  background-color: var(--color-primary);
  color: white;
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  margin-block-start: var(--spacing-lg);
  inline-size: 100%;
  flex-shrink: 0;
  font-size: var(--s0); }
  footer.site-footer p {
    color: white;
    font-size: inherit;
    text-align: center;
    margin-bottom: 0.5rem; }
  footer.site-footer a {
    color: white;
    text-decoration: none;
    transition: var(--transition); }

/* Footer Navigation Layout */
.footer-nav {
  margin-bottom: var(--spacing-md); }
  .footer-nav .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center; }
    .footer-nav .footer-links .footer-link-item {
      margin: 0; }
      .footer-nav .footer-links .footer-link-item a {
        display: inline-block;
        padding: var(--spacing-xs) var(--spacing-sm);
        font-weight: 500;
        letter-spacing: 0.02em; }

/* Responsive: stack menu on mobile */
@media (max-width: 640px) {
  .footer-nav .footer-links {
    flex-direction: column;
    gap: 0.5rem; }
    .footer-nav .footer-links .footer-link-item a {
      width: 100%;
      text-align: center; } }

/* Copyright Section */
.copyright {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8) !important;
  letter-spacing: 0.05em; }

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center; }

nav a {
  color: var(--color-accent);
  text-decoration: none;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 4px;
  transition: var(--transition);
  display: inline-block;
  font-weight: var(--font-weight-bold); }
  nav a:hover, nav a:focus-visible, nav a[aria-current="page"] {
    background-color: var(--color-background-alt);
    color: var(--color-primary-dark);
    text-decoration: none; }
  nav a:focus-visible {
    outline-color: var(--color-info); }

@media (max-width: 640px) {
  nav ul {
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: stretch; }
  nav a {
    width: 100%;
    text-align: center; } }

/* Tablet refinement: keep horizontal layout but reduce gap & center better */
@media (min-width: 641px) and (max-width: 1023px) {
  nav ul {
    gap: var(--spacing-xs);
    justify-content: center; } }

.contact-form {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(240, 248, 255, 0.9), rgba(255, 255, 255, 0.95));
  box-shadow: 0 15px 35px rgba(0, 34, 68, 0.08); }
  .contact-form h3 {
    margin-top: 0;
    font-size: clamp(1.4rem, 2vw, 1.75rem); }
  .contact-form p.description {
    margin-bottom: 1.75rem;
    color: rgba(16, 24, 40, 0.75); }
  .contact-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem; }
    .contact-form .form-field.recaptcha {
      margin-top: 1.5rem;
      margin-bottom: 1.5rem; }
      .contact-form .form-field.recaptcha p.helper {
        margin: 0.35rem 0 0;
        font-size: 0.9rem;
        color: rgba(16, 24, 40, 0.7); }
  .contact-form label {
    font-weight: 600;
    letter-spacing: 0.01em; }
  .contact-form input,
  .contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(13, 27, 42, 0.18);
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.92); }
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: rgba(51, 136, 204, 0.85);
    box-shadow: 0 0 0 3px rgba(51, 136, 204, 0.15);
    outline: none; }
  .contact-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    color: #f8fbff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease; }
    .contact-form button[type="submit"]:hover {
      transform: translateY(-1px);
      box-shadow: 0 12px 22px rgba(13, 27, 42, 0.18); }

.contact-feedback {
  display: none;
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(51, 136, 204, 0.25);
  background: rgba(227, 242, 253, 0.75);
  color: #102840; }

#thank-you:target {
  display: block; }

.honeypot {
  position: absolute;
  left: -9999px; }

@media (min-width: 45rem) {
  .contact-form {
    padding: 2.5rem 3rem; } }

.obfuscated-email::after {
  content: "sloane.ink@proton.me"; }

.prose-container {
  max-inline-size: 95ch;
  margin-inline: auto;
  padding-inline: var(--spacing-lg); }

.prose-container .credits {
  display: block;
  margin-bottom: .5rem;
  color: var(--color-text-light);
  font-style: italic;
  font-size: 0.9rem; }

.prose-container .post-author::after {
  content: '❖';
  display: inline-block;
  font-size: 1rem;
  color: var(--color-accent);
  margin: 0 0.75em;
  font-style: normal;
  transform: translateY(0.05em); }

.chapter-summary {
  margin-block: var(--spacing-lg);
  padding: var(--spacing-md);
  background-color: var(--color-background-alt);
  border-left: 3px solid var(--color-accent); }

.summary-label {
  display: block;
  font-family: var(--font-base);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
  font-style: normal; }

.gallery-list,
.pswp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-block: var(--spacing-xl); }

.gallery-list-item,
.gallery-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm); }

.gallery-list-item h2,
.gallery-item h2 {
  font-size: var(--s1);
  margin: 0;
  height: 3.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center; }
  .gallery-list-item h2 a,
  .gallery-item h2 a {
    text-decoration: none;
    color: var(--color-primary-dark);
    display: block;
    width: 100%;
    line-height: 1.2; }
    .gallery-list-item h2 a:hover,
    .gallery-item h2 a:hover {
      text-decoration: underline; }

.gallery-list-item img,
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.2s ease-in-out;
  display: block; }

.gallery-item img:hover,
.gallery-list-item img:hover {
  transform: scale(1.02); }

.gallery-item {
  text-decoration: none; }

/* css/components/_images.scss */
figure {
  margin-block: var(--spacing-lg);
  margin-inline: 0;
  display: block; }

picture, img {
  max-inline-size: 100%;
  block-size: auto;
  display: block;
  height: auto; }

figcaption {
  margin-top: var(--spacing-sm);
  font-size: var(--s-1);
  color: var(--color-text-light);
  text-align: center;
  font-style: italic; }

img {
  max-width: 100%;
  height: auto;
  display: block; }

.image-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  align-items: start;
  margin-block: var(--spacing-xl); }

.image-container__image {
  flex: 1 1 300px;
  min-width: 0; }
  .image-container__image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg); }

.image-container__text {
  flex: 2 1 400px;
  min-width: 0; }

.image-container--reverse {
  flex-direction: row-reverse; }

@media (max-width: 768px) {
  .image-container {
    flex-direction: column; } }

.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-block: var(--spacing-lg);
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: 4px; }
  .table-responsive-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem; }
  .table-responsive-wrapper th,
  .table-responsive-wrapper td {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap; }
  .table-responsive-wrapper thead th {
    background-color: var(--color-background-alt);
    color: var(--color-primary-dark);
    font-weight: var(--font-weight-bold);
    position: sticky;
    left: 0;
    z-index: 1; }
  .table-responsive-wrapper tbody tr:last-child td {
    border-bottom: 0; }
  .table-responsive-wrapper tbody tr:nth-of-type(even) {
    background-color: var(--color-background-alt); }

blockquote {
  margin: 1.5em 0;
  padding: 0.5em 1.5em;
  border-left: 4px solid var(--color-accent);
  background-color: var(--color-background-alt);
  font-style: italic;
  color: var(--color-text); }
  blockquote p {
    margin-bottom: 0.5em; }
    blockquote p:last-of-type {
      margin-bottom: 0; }
  blockquote cite {
    display: block;
    margin-top: 1em;
    font-style: normal;
    font-size: 0.9em;
    text-align: right;
    color: var(--color-text-light); }

/* A simple CSS rule to style the citation */
blockquote footer {
  text-align: right;
  font-style: italic;
  color: var(--color-text);
  background-color: var(--color-background-alt); }

blockquote footer a {
  color: var(--color-text);
  background-color: var(--color-background-alt); }

/* ================= Sidebar Component ================= */
.sidebar {
  padding: var(--spacing-lg);
  background-color: var(--color-background-alt);
  border-radius: 8px;
  align-self: start;
  /* Prevent vertical stretching */
  position: sticky;
  /* Sticky sidebar */
  top: var(--spacing-lg);
  /* Sticky offset from top */
  box-shadow: var(--shadow-md);
  /* Section title inside sidebar */
  /* Section spacing */
  /* Lists */
  /* Unified link style for sidebar items */
  /* Optional nav container if you use <nav> */ }
  .sidebar .sidebar-title {
    font-size: var(--s1);
    font-weight: bold;
    color: var(--color-primary-dark);
    text-transform: uppercase;
    margin-bottom: 0.5rem; }
  .sidebar .sidebar-section {
    margin-bottom: 2rem; }
  .sidebar .book-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; }
  .sidebar .book-item {
    margin: 0; }
  .sidebar .book-tagline {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-left: 0.25rem; }
  .sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; }
  .sidebar ul li ul {
    padding-left: 0.5rem;
    /* nested items indent */
    margin-top: 0.25rem; }
  .sidebar li {
    margin: 0;
    padding: 0; }
  .sidebar .sidebar-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: var(--s0);
    display: block;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; }
    .sidebar .sidebar-link:hover {
      background-color: var(--color-border);
      color: var(--color-primary-dark);
      opacity: 1;
      /* Ensure visibility */ }
    .sidebar .sidebar-link.active {
      background-color: var(--color-accent);
      color: var(--color-background);
      font-weight: 500; }
  .sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 1rem; }

.sidebar-highlight {
  color: var(--color-accent) !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem; }
  .sidebar-highlight:hover {
    color: var(--color-primary-dark) !important;
    text-decoration: underline; }
    .sidebar-highlight:hover .download-icon-sidebar {
      transform: translateY(2px);
      stroke: var(--color-primary-dark); }

.download-icon-sidebar {
  width: 1.2em;
  height: 1.2em;
  stroke: #D0312D !important;
  transition: transform var(--transition); }

.sidebar-blog-home {
  display: inline-block;
  margin: 0.5rem 0;
  text-decoration: none;
  color: var(--color-secondary); }

/* ================= Archive Status Badges ================= */
.archive-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-family: var(--font-serif);
  font-size: 0.725rem;
  font-style: italic;
  border-radius: 50px;
  vertical-align: middle;
  margin-left: 0.5rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  user-select: none;
  opacity: 0.8; }
  .archive-badge:hover {
    opacity: 1;
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: var(--color-background-alt); }

/* Specific adjustment for list views if needed */
.post-meta .archive-badge {
  margin-left: 0.75rem; }

/* ================= Tag Cloud Component ================= */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  margin-top: 1rem; }
  .tag-cloud .tag-link {
    color: var(--color-text);
    text-decoration: none;
    padding: 4px 10px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--shadow-sm);
    white-space: nowrap; }
    .tag-cloud .tag-link:hover {
      background-color: var(--color-accent);
      color: var(--color-background);
      border-color: var(--color-accent);
      transform: translateY(-1px);
      box-shadow: var(--shadow-md); }
      .tag-cloud .tag-link:hover .tag-count {
        color: var(--color-background);
        opacity: 0.8; }
    .tag-cloud .tag-link .tag-count {
      font-size: 0.75rem;
      color: var(--color-text-muted, #777);
      margin-left: 4px;
      transition: color 0.2s ease-in-out; }

/* Simple callout component */
.callout {
  border-left: 4px solid var(--color-accent, #0a66c2);
  background: rgba(10, 102, 194, 0.06);
  padding: .75rem 1rem;
  margin: 1rem 0;
  border-radius: .25rem; }

.callout strong {
  display: inline-block;
  margin-bottom: .25rem; }

.callout ul {
  margin: .25rem 0 .5rem 1.25rem; }

.callout p {
  margin: 0; }

/* Variant hook (if needed later) */
.callout--summary {
  border-left-color: var(--color-success, #2da44e);
  background: rgba(45, 164, 78, 0.06); }

.callout--summary p {
  margin-bottom: 2em; }

.callout--summary p:last-child {
  margin-bottom: 0; }

S
.contact-intro img {
  vertical-align: middle; }

/* --- Breadcrumbs Styling --- */
.breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background-color: #f8f9fa;
  /* A light background color */
  border-radius: 4px; }

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center; }

.breadcrumbs li {
  display: inline; }

/* Add a separator (like '>') between items */
.breadcrumbs li + li::before {
  content: '›';
  /* You can use '>', '/', or any other character */
  margin: 0 0.5em;
  color: #6c757d;
  /* A muted color for the separator */ }

.breadcrumbs a {
  text-decoration: none;
  color: #0056b3;
  /* A standard link color */ }

.breadcrumbs a:hover {
  text-decoration: underline; }

/* Style for the current page (the last item) */
.breadcrumbs .current {
  color: #343a40;
  /* A darker color for the active page */
  font-weight: bold; }

/* Small-screen: wrap/stack breadcrumbs vertically for narrow viewports */
@media (max-width: 640px) {
  .breadcrumbs {
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem; }
  .breadcrumbs ol {
    display: flex;
    flex-direction: column;
    /* stack items vertically */
    align-items: flex-start; }
  .breadcrumbs li {
    display: block;
    margin: 0.25rem 0;
    /* small vertical spacing between items */ }
  /* Remove inline separators when stacked */
  .breadcrumbs li + li::before {
    content: ''; }
  .breadcrumbs a {
    display: inline-block; }
  .breadcrumbs .current {
    font-weight: bold; } }

/* Style for the AI disclaimer blockquote */
.ai-disclaimer {
  background-color: var(--color-background-alt);
  /* Approximated from #f0f7fd */
  border-left: 5px solid var(--color-info);
  /* A nice blue left border */
  padding: 15px;
  margin: 20px 0;
  font-size: 0.9em;
  color: var(--color-text); }

.ai-disclaimer p {
  margin: 0;
  /* Remove default paragraph margin inside the blockquote */ }

.ai-disclaimer a {
  font-weight: bold; }

.content-advisory {
  border: 1px solid var(--color-advisory-border);
  background: var(--color-advisory-bg);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 6px; }

.content-advisory strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem; }

.content-advisory p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4; }

.advisory-badge {
  display: inline-block;
  background-color: var(--color-advisory-bg-alt);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  margin-left: 0.5rem;
  text-transform: uppercase;
  /* Added for tooltip hover */
  cursor: help;
  position: relative; }

/* Tooltip styling */
/* Using native title tooltip; no custom ::after tooltip */
.home-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg, 1rem);
  align-items: start;
  /* text column remains default styling */
  /* Center caption / figcaption underneath the media */ }
  .home-hero .hero-media {
    order: 2; }
  .home-hero .hero-media picture,
  .home-hero .hero-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px; }
  .home-hero .hero-media figcaption {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text, #222);
    opacity: 0.95; }
  @media (min-width: 768px) {
    .home-hero {
      grid-template-columns: minmax(0, 1fr) 360px;
      align-items: center; }
      .home-hero .hero-media {
        order: 0; } }
/* ========================================================================== 
   Writing Section Layout - Grid & Sidebar 
   ========================================================================== */
/* .layout-grid moved to layout/_sidebar-layout.scss */
/* .sidebar moved to components/_sidebar-widget.scss */
/* ================= Citation / Works Cited ================= */
.works-cited {
  font-family: 'Times New Roman', serif;
  margin: 2em 0; }
  .works-cited ul {
    list-style: none;
    padding-left: 0; }
  .works-cited li {
    padding-left: 0.75em;
    text-indent: -0.75em;
    margin-bottom: 0.75em; }
  .works-cited a {
    text-decoration: none; }

/* ================= Writing Section ================= */
.writing a {
  text-decoration: none; }

.writing .subtitle {
  color: var(--color-secondary);
  text-indent: 0.5em; }

.writing h1 {
  color: var(--color-primary);
  text-shadow: 2.5px 2.5px 5px rgba(0, 0, 0, 0.45); }

.writing h2 {
  color: var(--color-secondary); }

.writing h3 {
  color: var(--color-secondary); }

.writing h2,
.writing h3,
.writing h4 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); }

/* ================= Writing Series ================= */
.series-list h3 {
  color: var(--color-primary-dark); }

.series-article-links li {
  list-style: none;
  padding: 0;
  margin: 0; }
  .series-article-links li a {
    font-weight: 700; }

/* ================= Writing Section ================= */
.writing .section h3 {
  color: var(--color-primary-dark);
  font-size: clamp(var(--h4-min), 2.4vw, var(--h4-max)); }

.home img {
  border-radius: 8px;
  filter: drop-shadow(2.5px 2.5px 5px black); }

.home figcaption {
  margin-top: var(--spacing-sm);
  font-size: var(--s2);
  color: var(--color-text-light);
  text-align: center; }

.hunger img {
  border-radius: 8px;
  filter: drop-shadow(2.5px 2.5px 5px black); }

.passion img {
  border-radius: 8px;
  filter: drop-shadow(2.5px 2.5px 5px black); }

.desire img {
  border-radius: 8px;
  filter: drop-shadow(2.5px 2.5px 5px black); }

/* ================= Page Navigation ================= */
.page-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: 1em; }
  .page-navigation .prev,
  .page-navigation .next {
    text-decoration: none;
    font-weight: var(--font-weight-normal);
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    font-size: var(--s0);
    line-height: 1.4;
    flex: 1 1 auto;
    text-align: center;
    min-width: 150px; }

/* Previous link target */
.page-navigation .prev {
  color: var(--color-background);
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  box-shadow: var(--shadow-sm); }

/* Next link target */
.page-navigation .next {
  color: var(--color-background);
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  box-shadow: var(--shadow-sm); }

.page-navigation .prev:hover,
.page-navigation .next:hover {
  color: var(--color-primary-dark);
  background-color: var(--color-advisory-bg);
  border-color: var(--color-accent); }

/* .sidebar-blog-home moved to components/_sidebar-widget.scss */
.downloads-container {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--color-background-alt);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md); }

.password-reveal {
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--color-border); }

/* .btn-reveal moved to components/_buttons.scss */
.password-text {
  font-family: var(--font-mono);
  font-size: var(--s1);
  font-weight: bold;
  color: var(--color-primary-dark);
  padding: 0.5rem 1.25rem;
  background: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 50px;
  letter-spacing: 1px;
  min-width: 150px;
  text-align: center; }
  .password-text.hidden {
    display: none; }

.download-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; }
  .download-links li {
    perspective: 1000px; }

/* .download-card moved to components/_cards.scss */
.sidebar-info-box {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-background-alt);
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.6;
  border: 1px solid rgba(139, 92, 110, 0.2); }

.downloads-divider {
  margin: 4rem 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  opacity: 0.5; }

.epub-help-section {
  margin-top: 3rem; }

.epub-help-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-inline: auto; }
  .epub-help-header h2 {
    font-size: var(--h2-min);
    color: var(--color-primary-dark);
    margin-bottom: 1rem; }
  .epub-help-header p {
    color: var(--color-text-light);
    font-size: var(--s1); }

.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem; }

/* .device-card moved to components/_cards.scss */
.error-container {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 600px;
  margin: 0 auto;
  font-family: system-ui, sans-serif; }

.error-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--color-error); }

.error-message {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: var(--color-text); }

.error-links {
  margin-top: 2rem; }

.error-links a {
  text-decoration: none;
  padding: .75rem 1.25rem;
  margin: .25rem;
  background: var(--color-primary-light);
  color: var(--color-background);
  border-radius: 5px;
  display: inline-block;
  transition: background .2s ease-in-out; }

.error-links a:hover {
  background: var(--color-primary-dark); }

.error-illustration {
  margin-top: 3rem;
  max-width: 100%;
  height: auto; }

.thank-you {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  text-align: center;
  margin: 2rem auto;
  line-height: 1.2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  word-break: break-word;
  padding: 0 1rem; }

.thank-you span {
  display: inline-block;
  font-size: clamp(2rem, 8vw, 5rem);
  padding: 0 .05em;
  transition: transform .2s ease-in-out;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3); }

.thank-you span:hover {
  transform: scale(1.1); }

@media (max-width: 480px) {
  .thank-you {
    margin-top: 1rem; } }

.ty-c0 {
  color: #003366; }

.ty-c1 {
  color: #004080; }

.ty-c2 {
  color: #0077cc; }

.ty-c3 {
  color: #33ccff; }

.ty-c4 {
  color: #0077cc; }

.ty-c5 {
  color: #004080; }

.ty-c6 {
  color: #003366; }

.ty-c7 {
  color: #002244; }

.ty-c8 {
  color: #001122; }

.threshold-image {
  margin: 2.5rem auto;
  max-width: 85%;
  position: relative; }

.threshold-image.center-aligned {
  margin-left: auto;
  margin-right: auto; }

.threshold-image.left-aligned {
  margin-right: auto;
  text-align: left; }

.threshold-image.right-aligned {
  margin-left: auto;
  text-align: right; }

.threshold {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.75);
  object-fit: cover; }

.threshold-caption {
  font-style: italic;
  color: #5a5a5a;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem; }

@media (max-width: 768px) {
  .threshold-image {
    max-width: 95%;
    margin: 2rem auto 2.8rem; }
  .threshold-caption {
    font-size: 0.9rem;
    max-width: 90%; } }

.site-title {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: var(--font-weight-bold);
  font-style: italic;
  color: var(--color-primary-dark);
  line-height: var(--heading-line-height);
  text-align: center;
  letter-spacing: 0.05em;
  margin-block-start: 0;
  margin-block-end: 0.6em;
  text-shadow: 0 3px 6px rgba(60, 0, 0, 0.35); }

.site-title a {
  text-decoration: none;
  color: inherit; }

.intro {
  font-style: italic;
  color: var(--color-text);
  background-color: var(--color-background-alt);
  padding: var(--spacing-lg) var(--spacing-xl);
  margin-bottom: var(--spacing-xxl);
  border-left: 5px solid var(--color-border);
  line-height: var(--line-height-base);
  font-family: var(--font-serif); }

.intro ul {
  margin-top: var(--spacing-md);
  margin-left: var(--spacing-lg); }

.intro li {
  margin-bottom: var(--spacing-sm); }

h1 {
  /* inherit responsive size */
  color: var(--color-primary-dark); }

h2 {
  /* inherit responsive size */
  color: var(--color-secondary); }

h3 {
  /* inherit responsive size */
  color: var(--color-secondary); }

.footnotes a {
  text-decoration: none; }

@media (min-width: 768px) {
  .float-right-md {
    float: right;
    margin-left: 2rem;
    margin-bottom: 1rem;
    max-width: 50%; } }

@media (prefers-reduced-motion: reduce) {
  /* Generic: limit transitions to color/opacity where essential */
  .btn, a, button, [role="button"], .nav, .footer, .header {
    transition: none !important; }
  /* Any element using the site-wide --transition token */
  [style*="--transition"], .uses-transition {
    transition: none !important; }
  /* Remove potential decorative text shadows that can contribute to perceived flicker */
  .site-title .title-char, h1, h2, h3, h4, h5, h6 {
    text-shadow: none !important; }
  /* Pagefind search focus glow simplification */
  /* Pagefind removed: previously simplified focus styles were here. */ }

/* Pagefind styles removed */
