@charset "UTF-8";
/* Main SCSS File */
/* Abstracts */
/* ══════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ══════════════════════════════════════════════════════════════ */
:root {
  /* ── Surfaces ─────────────────────────────────────────── */
  --c-bg: hsl(34, 47%, 96%); /* #FAF6F1 */
  --c-bg-hover: hsl(36, 60%, 98%); /* #FDFAF7 */
  --c-white: hsl(0, 0%, 100%); /* #FFFFFF */
  /* ── Text ─────────────────────────────────────────────── */
  --c-text: hsl(26, 50%, 11%); /* #2A1A0E — primary */
  --c-text-body: hsl(26, 32%, 17%); /* #3A2A1E — body copy */
  --c-text-muted: hsl(22, 32%, 27%); /* #5C4030 — muted / nav / footer */
  --c-text-subtle: hsl(26, 15%, 54%); /* #9C8878 — dates */
  --c-text-caption: hsl(22, 18%, 46%); /* #8B7060 — photo captions */
  /* ── Accent ───────────────────────────────────────────── */
  --c-accent: hsl(26, 40%, 39%); /* #8B5E3C */
  --c-accent-dark: hsl(26, 54%, 27%); /* #6B4020 */
  --c-accent-darker: hsl(29, 66%, 18%); /* #4E2E10 */
  /* ── Borders & dividers ───────────────────────────────── */
  --c-border: hsl(37, 24%, 83%); /* #DDD5C8 */
  --c-border-light: hsl(34, 23%, 91%); /* #EDE8E2 */
  --c-warm: hsl(35, 36%, 64%); /* #C4A882 */
  /* ── Shadows / depth ──────────────────────────────────── */
  --c-shadow-light: hsl(33, 34%, 86%); /* #E8DDD0 */
  --c-shadow-mid: hsl(35, 31%, 76%); /* #D4C4AE */
  /* ── Accent with alpha ────────────────────────────────── */
  --c-accent-4: hsla(26, 40%, 39%, 0.04);
  --c-accent-5: hsla(26, 40%, 39%, 0.05);
  --c-accent-7: hsla(26, 40%, 39%, 0.07);
  --c-accent-8: hsla(26, 40%, 39%, 0.08);
  --c-accent-12: hsla(26, 40%, 39%, 0.12);
  --c-accent-15: hsla(26, 40%, 39%, 0.15);
  --c-accent-35: hsla(26, 40%, 39%, 0.35);
  --c-ink-shadow: hsla(24, 72%, 14%, 0.13); /* polaroid drop shadow */
  --c-btn-shadow: hsla(26, 54%, 27%, 0.30); /* submit button hover */
  /* ── Layout ───────────────────────────────────────────── */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* Global */
/* ══════════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100dvh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html {
  font-size: 16px;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Global focus ring ────────────────────────────────────────
   Visible for keyboard users, suppressed for mouse clicks.
   ─────────────────────────────────────────────────────────── */
:focus {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════
   SHARED TYPOGRAPHY HELPERS
   ══════════════════════════════════════════════════════════════ */
.greeting {
  font-size: 1rem;
  color: var(--c-accent);
  font-style: italic;
  margin-bottom: 16px;
}

.headline {
  font-size: 2.625rem;
  /* 42px */
  line-height: 1.15;
  font-weight: normal;
  color: var(--c-text);
  margin-bottom: 20px;
}

.headline em {
  color: var(--c-accent);
  font-style: italic;
}

.sub, .contact-intro > p, h1.headline ~ p, h1.headline ~ p:last-of-type {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.read-more {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-accent);
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 2px;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s, letter-spacing 0.2s;
}

.read-more:hover,
.read-more:focus-visible {
  color: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  letter-spacing: 0.03em;
}

.section-heading {
  font-size: 1rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.section-divider {
  border: none;
  border-top: 0.5px solid var(--c-border);
  margin: 0 0 48px;
}

.inline-link {
  color: var(--c-accent);
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
  border-radius: 2px;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  background-color: var(--c-accent-8);
  padding-left: 2px;
  padding-right: 2px;
}

/* ══════════════════════════════════════════════════════════════
   WRAPPER — constrains all page content to --max-width
   ══════════════════════════════════════════════════════════════ */
.wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 60px;
}

@media (max-width: 800px) {
  /* ── Wrapper ────────────────────────────────────────────── */
  .wrapper {
    padding-inline: 24px;
  }
}
/* Includes */
/* ── Nav bar ──────────────────────────────────────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  height: var(--nav-height);
  position: relative;
}

.logo {
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--c-text-body);
  flex-shrink: 0;
}

.logo a {
  color: var(--c-text-body);
  transition: color 0.2s;
}

.logo a:hover,
.logo a:focus-visible {
  color: var(--c-accent);
}

/* ── Nav link list ────────────────────────────────────────── */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  background-image: linear-gradient(var(--c-accent), var(--c-accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  padding-bottom: 2px;
  transition: color 0.2s, background-size 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--c-accent);
  background-size: 100% 1.5px;
}

@media (max-width: 800px) {
  .nav {
    padding: 0 24px;
    flex-wrap: wrap; /* let the drawer drop below the bar */
    height: auto;
    min-height: var(--nav-height);
    align-items: center;
  }
  /* Nav link list: collapsed by default, expands on checkbox */
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 0.5px solid var(--c-border);
    background-image: none; /* remove grow-underline on mobile */
    font-size: 1.0625rem;
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
}
/* The checkbox that holds open/closed state — visually hidden */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Hamburger label — visible button, 44×44 min hit area (WCAG 2.5.5) */
.nav-toggle-label {
  display: none; /* hidden on desktop */
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.nav-toggle-label:hover {
  background-color: var(--c-accent-5);
}

/* Three-bar icon built entirely from box-shadow */
.nav-toggle-label .hamburger,
.nav-toggle-label .hamburger::before,
.nav-toggle-label .hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text-muted);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, background-color 0.2s;
  position: relative;
}

.nav-toggle-label .hamburger::before,
.nav-toggle-label .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-label .hamburger::before {
  top: -7px;
}

.nav-toggle-label .hamburger::after {
  top: 7px;
}

/* Animate to X when open */
.nav-toggle:checked ~ .nav .nav-toggle-label .hamburger {
  background: transparent;
}

.nav-toggle:checked ~ .nav .nav-toggle-label .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--c-accent);
}

.nav-toggle:checked ~ .nav .nav-toggle-label .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--c-accent);
}

@media (max-width: 800px) {
  /* ── Hamburger nav ──────────────────────────────────────── */
  .nav-toggle-label {
    display: flex; /* show hamburger button */
  }
  /* Open state — driven purely by the checkbox sibling */
  .nav-toggle:checked ~ .nav .nav-links {
    max-height: 600px; /* large enough for any reasonable link count */
    padding: 8px 0 20px;
  }
}
/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--c-border);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  background-color: var(--c-accent);
  margin-block-start: auto;
  padding-block-start: 1rem;
  color: var(--c-white);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
}
.footer a {
  color: var(--c-white);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: all 250ms ease;
}
.footer a:hover {
  color: var(--c-shadow-light);
  text-decoration-color: var(--c-shadow-light);
}
.footer ul {
  list-style: none;
}
.footer .footer1 {
  padding-block: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media screen and (min-width: 768px) {
  .footer .footer1 {
    grid-template-columns: auto 1fr auto auto;
  }
}
.footer .footer1 h5 {
  margin-block-end: 1rem;
  font-size: 1.2rem;
  text-shadow: var(--ts);
}
.footer .footer1 .footer-social .social-icon {
  padding-block: 0.25rem;
  padding-inline: 0.5rem;
}
.footer .footer1 .footer-address * + * {
  margin-block-start: 1rem;
}
.footer .footer2 {
  padding-block: 1rem;
  margin-block-start: 1rem;
  background: var(--c-accent-dark);
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
.footer .footer2 p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--c-white);
}

.pagination {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-block-start: 2rem;
  display: flex;
  gap: 0.5rem;
}
.pagination .page-link a {
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  border: solid 1px var(--c-border);
  color: var(--c-accent);
  transition: all 250ms ease;
}
.pagination .page-link a:hover {
  background-color: var(--c-accent-5);
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.pagination .page-link:first-child a, .pagination .page-link:last-child a {
  border: none;
  line-height: 0.75;
  font-weight: 300;
}
.pagination .page-link:first-child a:hover, .pagination .page-link:last-child a:hover {
  background-color: transparent;
}
.pagination .page-link + .active a {
  border-color: var(--c-accent);
  background-color: var(--c-accent);
  background-color: var(--c-accent);
  color: var(--c-white);
  cursor: default;
}
.pagination .page-link.disabled a {
  color: var(--c-accent-35);
  cursor: default;
  pointer-events: none;
}
.pagination .page-link .ellipsis {
  padding-block-start: 0.25rem;
  pointer-events: none;
  cursor: default;
  color: var(--c-accent);
}

/* Elements */
/* Pages */
/* ══════════════════════════════════════════════════════════════
   HERO PHOTO (homepage)
   ══════════════════════════════════════════════════════════════ */
.hero-photo-wrap {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 1px solid var(--c-border);
  box-shadow: 6px 6px 0 var(--c-shadow-light);
  /* transition: box-shadow 0.25s ease, transform 0.25s ease; */
}

.hero-photo:hover {
  /* box-shadow: 9px 9px 0 var(--c-shadow-mid); */
  /* transform: translate(-2px, -2px); */
}

.hero-photo-caption {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-text-caption);
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════════
   HOME PAGE
   ══════════════════════════════════════════════════════════════ */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 60px 60px 80px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* ── Post list (homepage) ─────────────────────────────────── */
.post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.post-item {
  position: relative; /* contains the stretched link */
  padding: 16px 8px;
  border-bottom: 0.5px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background-color 0.2s, transform 0.25s ease;
  border-radius: 4px;
  transform-origin: left center;
}

.post-item:first-child {
  border-top: 0.5px solid var(--c-border);
}

.post-item:hover,
.post-item:focus-within {
  background-color: var(--c-accent-5);
  transform: scale(1.015);
}

.post-cat {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
}

.post-title {
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.4;
  transition: color 0.2s;
}

/* Stretched link — makes the entire .post-item clickable */
.post-title::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-title:hover,
.post-title:focus-visible {
  color: var(--c-accent);
}

.post-title:focus {
  outline: none;
}

.post-title:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 800px) {
  /* Home */
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 24px 60px;
    gap: 40px;
  }
  /* Hide photo on small screens — text is enough */
  .hero-photo-wrap {
    display: none;
  }
  .headline {
    font-size: 2rem;
  }
}
/* ══════════════════════════════════════════════════════════════
   POST PAGE (individual article)
   ══════════════════════════════════════════════════════════════ */
/* ── Page layout: content + sidebar ──────────────────────── */
.post-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 52px 60px 80px;
  align-items: start;
}

/* ── Post header ──────────────────────────────────────────── */
.post-header {
  margin-bottom: 36px;
}

/* .post-cat is shared with the homepage list — defined above */
.post-headline {
  font-size: 2.25rem;
  /* 36px */
  line-height: 1.2;
  font-weight: normal;
  color: var(--c-text);
  margin: 12px 0 16px;
}

.post-headline em {
  color: var(--c-accent);
  font-style: italic;
}

.post-meta {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-meta-divider {
  color: var(--c-warm);
}

/* ── Hero image ───────────────────────────────────────────── */
.post-figure {
  margin: 0 0 44px;
}

.post-figure img {
  display: block;
  width: 100%;
  /* Polaroid-style white frame */
  padding: 10px 10px 44px;
  background: var(--c-white);
  box-shadow: 0 4px 20px var(--c-ink-shadow);
  box-sizing: border-box;
}

.post-figure figcaption {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-text-muted);
  font-style: italic;
  text-align: center;
  margin-top: 14px;
}

/* ── Post body copy ───────────────────────────────────────── */
.post-body {
  max-width: 65ch;
  /* comfortable reading width */
}

.post-body p {
  font-size: 1.0625rem;
  /* 17px — slightly larger for long-form */
  line-height: 1.9;
  color: var(--c-text-body);
  margin-bottom: 1.5rem;
}

.post-body h2 {
  font-size: 1.25rem;
  font-weight: normal;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--c-text);
  margin: 2.5rem 0 1rem;
  padding-bottom: 6px;
  border-bottom: 0.5px solid var(--c-border);
}

.post-body blockquote {
  margin: 2rem 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--c-warm);
  font-size: 1.125rem;
  /* 18px */
  font-style: italic;
  color: var(--c-text-muted);
  line-height: 1.75;
}

/* ── Post footer ──────────────────────────────────────────── */
.post-footer {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 0.5px solid var(--c-border);
}

/* ── Sidebar ──────────────────────────────────────────────── */
.post-sidebar {
  position: sticky;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-heading {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--c-border);
}

/* Sidebar post list */
.sidebar-post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sidebar-post-item {
  position: relative;
  /* contains the stretched link */
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 8px;
  border-bottom: 0.5px solid var(--c-border-light);
  border-radius: 4px;
  transition: background-color 0.2s, transform 0.25s ease;
  transform-origin: left center;
}

.sidebar-post-item:first-child {
  padding-top: 0;
}

.sidebar-post-item:hover,
.sidebar-post-item:focus-within {
  background-color: var(--c-accent-5);
  transform: scale(1.015);
}

/* Active / current post — static state indicator */
.sidebar-post-item--active {
  background-color: var(--c-accent-7);
  padding-left: 12px;
  border-left: 2px solid var(--c-accent);
}

.sidebar-post-item--active:hover,
.sidebar-post-item--active:focus-within {
  background-color: var(--c-accent-12);
}

.sidebar-post-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.4;
  transition: color 0.2s;
}

/* Stretched link — makes the entire .sidebar-post-item clickable */
.sidebar-post-title::after {
  content: "";
  position: absolute;
  inset: 0;
}

.sidebar-post-title:hover,
.sidebar-post-title:focus-visible {
  color: var(--c-accent);
}

.sidebar-post-title:focus {
  outline: none;
}

.sidebar-post-title:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.sidebar-post-date {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-text-subtle);
}

/* Sidebar external links */
.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-ext-link {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-accent);
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 2px;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s, letter-spacing 0.2s;
}

.sidebar-ext-link:hover,
.sidebar-ext-link:focus-visible {
  color: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  letter-spacing: 0.03em;
}

@media (max-width: 800px) {
  /* Post */
  .post-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 36px 24px 60px;
  }
  .post-sidebar {
    display: none;
  }
  .post-headline {
    font-size: 1.75rem;
    /* 28px */
  }
  .post-body {
    max-width: 100%;
  }
}
/* ══════════════════════════════════════════════════════════════
   STORIES / ARCHIVE PAGE
   ══════════════════════════════════════════════════════════════ */
.stories-main {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 52px 60px 80px;
}

.stories-header {
  margin-bottom: 40px;
}

/* ── Filter buttons ───────────────────────────────────────── */
.stories-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
  padding-bottom: 28px;
  border-bottom: 0.5px solid var(--c-border);
}

.filter-btn {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-text-muted);
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 24px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background-color: var(--c-accent-5);
}

.filter-btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.filter-btn--active {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
}

.filter-btn--active:hover {
  background-color: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  color: var(--c-white);
}

/* ── Stories list ─────────────────────────────────────────── */
.stories-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.story-item {
  border-bottom: 0.5px solid var(--c-border);
}

.story-item:first-child {
  border-top: 0.5px solid var(--c-border);
}

/* ── Story card ───────────────────────────────────────────── */
.story-card {
  position: relative; /* contains the stretched link */
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 8px;
  transition: background-color 0.2s, transform 0.25s ease;
  border-radius: 4px;
}

.story-card:hover,
.story-item:focus-within .story-card {
  background-color: var(--c-accent-4);
  transform: scale(1.015);
}

/* Thumbnail */
.story-card-img {
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.story-card-img img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.story-card:hover .story-card-img img,
.story-item:focus-within .story-card-img img {
  transform: scale(1.03);
}

/* Text column */
.story-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}

.story-title {
  font-size: 1.125rem; /* 18px */
  font-weight: normal;
  line-height: 1.35;
  margin: 0;
}

.story-title a {
  color: var(--c-text);
  transition: color 0.2s;
}

/* Stretched link — makes the entire .story-card clickable */
.story-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.story-title a:hover,
.story-title a:focus-visible {
  color: var(--c-accent);
}

.story-title a:focus {
  outline: none;
}

.story-title a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.story-excerpt {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-date {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-text-subtle);
  display: block;
  margin-top: 4px;
}

/* ── Empty state ──────────────────────────────────────────── */
.stories-empty {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: var(--c-text-muted);
  font-style: italic;
  padding: 48px 0;
  text-align: center;
}

@media (max-width: 800px) {
  /* Stories */
  .stories-main {
    padding: 36px 24px 60px;
  }
  .story-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .story-card-img {
    width: 100%;
  }
}
/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════ */
.about-main {
  flex: 1;
  max-width: 53.75rem;
  margin-inline: auto;
  padding-block-start: 3.75rem;
  padding-block-end: 3.75rem;
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-photo-wrap {
  padding-top: 0.5rem;
}

.about-photo img,
.about-photo .about-photo-placeholder {
  display: block;
  object-fit: cover;
  border: 1px solid var(--c-border);
  box-shadow: 5px 5px 0 var(--c-shadow-light);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3.25rem;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--c-text-body);
  max-width: 80ch;
}

.about-cta {
  display: flex;
  gap: 3rem;
}

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-label {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
}

@media (max-width: 800px) {
  .about-hero {
    grid-template-columns: 1fr;
  }
  .about-cta {
    flex-direction: column;
  }
}
/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════ */
.contact-main {
  flex: 1;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 60px 80px;
}

.contact-intro {
  margin-bottom: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-form__response {
  font-size: 1.3rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--c-accent-dark);
  color: whitesmoke;
  padding: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Label shifts colour when its input is active */
.field-group label {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  transition: color 0.2s;
}

.field-group:focus-within label {
  color: var(--c-text-muted);
}

.field-group input,
.field-group textarea {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-white);
  border: 0.5px solid var(--c-border);
  border-radius: 4px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  width: 100%;
  resize: vertical;
}

/* Hover: border warms up before the user clicks */
.field-group input:hover,
.field-group textarea:hover {
  border-color: var(--c-warm);
  background-color: var(--c-bg-hover);
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: var(--c-text-subtle);
  font-style: italic;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-15);
  background-color: var(--c-white);
  outline: none;
}

.field-group textarea {
  min-height: 160px;
  line-height: 1.7;
}

.submit-btn {
  align-self: flex-start;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--c-white);
  background: var(--c-accent);
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
}

.submit-btn:hover {
  background: var(--c-accent-dark);
  box-shadow: 0 3px 10px var(--c-btn-shadow);
}

.submit-btn:focus-visible {
  outline: none;
  border-color: var(--c-text);
  box-shadow: 0 0 0 3px var(--c-accent-35);
}

.submit-btn:active {
  transform: scale(0.98);
  background: var(--c-accent-darker);
}

@media (max-width: 800px) {
  /* Contact */
  .contact-main {
    padding: 40px 24px 60px;
  }
}

/*# sourceMappingURL=main.css.map */
