:root {
  color-scheme: dark;
  --accent: #b0dc92;
  --accent-text: #102315;
  --action: #286c39;
  --article-text: #dce5df;
  --bg: #0e1b18;
  --button-hover-bg: #c3e7ab;
  --cover-bg: #203b2d;
  --download-hover-bg: #358848;
  --download-text: #f6fff3;
  --footer-bg: #10201a;
  --footer-divider: #2c443bbf;
  --header-bg: #11201b;
  --icon-hover-bg: #243a30;
  --input-bg: #0a1612;
  --input-border: #40594b;
  --intro-text: #d3dfd8;
  --line: #2c443b;
  --meta-divider: #547061;
  --mobile-nav-bg: #173023;
  --muted: #b7c7c0;
  --nav-text: #dce6df;
  --secondary-bg: #13221caa;
  --secondary-border: #a4bf98;
  --secondary-hover-bg: #29432f;
  --skip-text: #12211a;
  --social-text: #d3e0d8;
  --summary-text: #c4d2cb;
  --surface: #152923;
  --surface-raised: #1b332b;
  --text: #f0f4ed;
  --topic-bg: #203a30;
  --topic-border: #345144;
  --topic-text: #d8e6de;
}

html[data-season='spring'] {
  --accent: #e3d58c;
  --accent-text: #1a1f14;
  --action: #4b5e36;
  --article-text: #e5e4dc;
  --bg: #202319;
  --button-hover-bg: #e7ddab;
  --cover-bg: #2e3526;
  --download-hover-bg: #337b59;
  --download-text: #fffdf3;
  --footer-bg: #181d13;
  --footer-divider: #383f31bf;
  --header-bg: #191d14;
  --icon-hover-bg: #2f3529;
  --input-bg: #10130d;
  --input-border: #4d5445;
  --intro-text: #dfddd3;
  --line: #383f31;
  --meta-divider: #626a5a;
  --mobile-nav-bg: #242b1c;
  --muted: #c7c4b7;
  --nav-text: #e6e4dc;
  --secondary-bg: #1b1f16aa;
  --secondary-border: #bfb998;
  --secondary-hover-bg: #363e2e;
  --skip-text: #1a1e15;
  --social-text: #e0ded3;
  --summary-text: #d2d0c4;
  --surface: #1f2519;
  --surface-raised: #272e20;
  --text: #f4f3ed;
  --topic-bg: #2d3525;
  --topic-border: #434b3a;
  --topic-text: #e6e4d8;
}

html[data-season='fall'] {
  --accent: #e2b46f;
  --accent-text: #201913;
  --action: #614933;
  --article-text: #e5e1dc;
  --bg: #1c1713;
  --button-hover-bg: #e7cfab;
  --cover-bg: #362d25;
  --download-hover-bg: #7a5d43;
  --download-text: #fffaf3;
  --footer-bg: #1d1813;
  --footer-divider: #403830bf;
  --header-bg: #1d1814;
  --icon-hover-bg: #362f28;
  --input-bg: #14100c;
  --input-border: #554c44;
  --intro-text: #dfdad3;
  --line: #403830;
  --meta-divider: #6b6159;
  --mobile-nav-bg: #2c231b;
  --muted: #c7c1b7;
  --nav-text: #e6e2dc;
  --secondary-bg: #1f1a16aa;
  --secondary-border: #bfaf98;
  --secondary-hover-bg: #3f352d;
  --skip-text: #1e1915;
  --social-text: #e0dbd3;
  --summary-text: #d2ccc4;
  --surface: #261f18;
  --surface-raised: #2f271f;
  --text: #f4f1ed;
  --topic-bg: #362c24;
  --topic-border: #4c4239;
  --topic-text: #e6e0d8;
}

html[data-season='winter'] {
  --accent: #acd4de;
  --accent-text: #111c22;
  --action: #2b5469;
  --article-text: #dce3e5;
  --bg: #111b20;
  --button-hover-bg: #abdbe7;
  --cover-bg: #21323a;
  --download-hover-bg: #396b84;
  --download-text: #f3fdff;
  --footer-bg: #111a1f;
  --footer-divider: #2d3c43bf;
  --header-bg: #121b1f;
  --icon-hover-bg: #253239;
  --input-bg: #0b1215;
  --input-border: #415058;
  --intro-text: #d3dddf;
  --line: #2d3c43;
  --meta-divider: #55666f;
  --mobile-nav-bg: #18272f;
  --muted: #b7c4c7;
  --nav-text: #dce4e6;
  --secondary-bg: #141d21aa;
  --secondary-border: #98b7bf;
  --secondary-hover-bg: #2a3a42;
  --skip-text: #131c20;
  --social-text: #d3dde0;
  --summary-text: #c4cfd2;
  --surface: #162228;
  --surface-raised: #1c2b32;
  --text: #edf3f4;
  --topic-bg: #213139;
  --topic-border: #354750;
  --topic-text: #d8e3e6;
}

html[data-season='december'] {
  --accent: #dfc68d;
  --accent-text: #211215;
  --action: #643038;
  --article-text: #e5e2dc;
  --bg: #241617;
  --button-hover-bg: #e7d5ab;
  --cover-bg: #382327;
  --download-hover-bg: #7f3e49;
  --download-text: #fffbf3;
  --footer-bg: #1e1214;
  --footer-divider: #412f32bf;
  --header-bg: #1e1315;
  --icon-hover-bg: #382729;
  --input-bg: #150b0d;
  --input-border: #564346;
  --intro-text: #dfdbd3;
  --line: #412f32;
  --meta-divider: #6d575b;
  --mobile-nav-bg: #2d1a1d;
  --muted: #c7c2b7;
  --nav-text: #e6e3dc;
  --secondary-bg: #201517aa;
  --secondary-border: #bfb398;
  --secondary-hover-bg: #402c2f;
  --skip-text: #1f1416;
  --social-text: #e0dcd3;
  --summary-text: #d2cec4;
  --surface: #27171a;
  --surface-raised: #301e21;
  --text: #f4f2ed;
  --topic-bg: #372326;
  --topic-border: #4e373b;
  --topic-text: #e6e2d8;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI",sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

button,input {
  font: inherit;
}

button,a,input {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: 1;
}

button,a,input {
  outline-offset: 5px;
}

:focus-visible {
  outline: 2px solid var(--accent);
}

[hidden] {
  display: none!important;
}

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

button {
  color: inherit;
}

svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.page-width {
  width: min(1280px,calc(100% - 112px));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: 8px;
  left: 12px;
  transform: translateY(-200%);
  z-index: 100;
  background: var(--accent);
  color: var(--skip-text);
  padding: 12px;
}

.skip:focus {
  transform: none;
}

.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.header-inner {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand img {
  width: 58px;
  height: 58px;
}

.brand-name {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}

.brand-name span {
  color: var(--accent);
}

.brand-slogan {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
  letter-spacing: .1px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
  color: var(--nav-text);
}

.nav-link::after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 3px;
  left: 0;
  right: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.nav-link:hover::after,.nav-link:focus-visible::after,.nav-link[aria-current=true]::after {
  transform: scaleX(1);
}

.nav-link[aria-current=true] {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 6px;
}

.icon-button:hover {
  background: var(--icon-hover-bg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 650;
  transition: background .18s,transform .18s;
}

.button:hover {
  background: var(--button-hover-bg);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--secondary-bg);
  color: var(--text);
  border-color: var(--secondary-border);
}

.button.secondary:hover {
  background: var(--secondary-hover-bg);
}

.button.download {
  background: var(--action);
  color: var(--download-text);
  padding: 11px 19px;
  gap: 10px;
  min-height: 46px;
}

.button.download:hover {
  background: var(--download-hover-bg);
}

.menu-toggle {
  display: none;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--accent);
  margin: 0 0 18px;
  line-height: 1.6;
}

.intro h1 {
  font-size: clamp(46px,5.5vw,78px);
  line-height: 1.07;
  letter-spacing: -2.6px;
  margin: 0 0 24px;
}

.intro h1 span {
  color: var(--accent);
}

.intro-copy {
  color: var(--intro-text);
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 29px;
}

.opening-photo {
  overflow: hidden;
}

.opening-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  min-height: 260px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 0 0 30px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 35px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0;
}

.section-heading>p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 400px;
  font-size: 14px;
  margin: 0;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
  min-width: 0;
}

.post-cover {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cover-bg);
}

.post-cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  transition: transform .35s ease;
  will-change: transform;
}

.post-cover:hover img {
  transform: scale(1.025);
}

.post-content {
  min-width: 0;
}

.post-content .eyebrow {
  margin: 0 0 12px;
  font-size: 10px;
}

.post-title {
  margin: 0 0 16px;
  font-size: 27px;
  letter-spacing: -.55px;
  line-height: 1.22;
}

.post-title a:hover {
  color: var(--accent);
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.post-meta img {
  width: 32px;
  height: 32px;
}

.post-meta .name {
  color: var(--text);
  font-weight: 600;
}

.post-meta time {
  padding-left: 10px;
  margin-left: 4px;
  border-left: 1px solid var(--meta-divider);
}

.post-summary {
  color: var(--summary-text);
  line-height: 1.65;
  font-size: 16px;
  margin: 20px 0;
}

.post-topics,.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 30px;
  border: 1px solid var(--topic-border);
  background: var(--topic-bg);
  color: var(--topic-text);
  font-size: 12px;
  line-height: 1.25;
  min-height: 34px;
}

.topic:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.read-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 650;
  color: var(--accent);
}

.read-link svg {
  transition: transform .18s ease;
  width: 18px;
}

.read-link:hover svg, .read-link:focus-visible svg {
  transform: translateX(4px);
}

.featured .read-link {
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 6px;
  padding: 10px 19px;
}

.article-heading .post-meta {
  font-size: 14px;
}

.article-heading .post-meta img {
  width: 42px;
  height: 42px;
}

.back-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-size: 14px;
}

.article-photo {
  overflow: hidden;
}

.article-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-copy {
  width: 100%;
  color: var(--article-text);
}

.article-copy p {
  margin: 0 0 28px;
  overflow-wrap: break-word;
}

.article-copy p:last-child {
  margin-bottom: 0;
}

.author-card {
  display: flex;
  gap: 22px;
}

.author-card>img {
  flex-shrink: 0;
}

.author-card .eyebrow {
  font-size: 10px;
  margin: 0 0 7px;
}

.author-details {
  flex: 1;
}

.author-details h2 {
  font-size: 21px;
  margin: 0 0 9px;
  letter-spacing: -.4px;
}

.author-details>p:last-child {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.author-links {
  align-self: stretch;
  display: flex;
}

.author-links a {
  color: var(--accent);
  font-size: 13px;
  padding: 5px 0;
  white-space: nowrap;
}

.topic-section h2 {
  margin: 0 0 20px;
}

.topic-section .topic {
  min-height: 42px;
  padding: 9px 16px;
  color: var(--accent);
}

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: auto max-content 1fr;
  gap: 24px;
  padding-bottom: 8px;
  padding-top: 24px;
}

.footer-brand {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.footer-brand .brand img {
  width: 49px;
  height: 49px;
}

.footer-brand .brand-name {
  font-size: 25px;
}

.footer-brand .social-links {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 8px;
}

.footer-main h2 {
  font-size: 14px;
  margin: 0 0 16px;
  font-weight: 650;
}

.footer-explore {
  padding-right: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  padding: 6px 0;
  line-height: 1.3;
}

.footer-links a:hover,.legal-links a:hover {
  color: var(--accent);
}

.newsletter {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

.newsletter p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
}

.newsletter input {
  width: 100%;
  min-width: 0;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 5px 0 0 5px;
  padding: 12px;
  color: var(--text);
  font-size: 12px;
}

.newsletter .button {
  font-size: 12px;
  min-height: 43px;
  padding: 10px 14px;
  border-radius: 0 5px 5px 0;
}

.newsletter .form-status {
  margin-top: 10px;
  font-size: 11px;
}

.footer-bottom {
  border-top: 1px solid var(--footer-divider);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  min-height: 28px;
  padding-block: 2px;
}

.copyright {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 17px;
  font-size: 12px;
  color: var(--muted);
}

.legal-links a {
  padding-block: 12px;
}

.social-links {
  display: flex;
  gap: 7px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 42px;
  color: var(--social-text);
}

.social-links a:hover {
  color: var(--accent);
}

@media(max-width:1100px) {
  .page-width {
    width: calc(100% - 64px);
  }

  .primary-nav {
    gap: 23px;
  }

  .header-inner {
    gap: 20px;
  }

  .header-actions {
    gap: 7px;
  }


  .newsletter {
    grid-column: 1/-1;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 35px;
  }

  .newsletter-form {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
  }

  .newsletter .form-status {
    grid-column: 2;
  }
}

@media(max-width:800px) {
  .page-width {
    width: calc(100% - 48px);
  }

  .header-inner {
    min-height: 90px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-slogan {
    font-size: 10px;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mobile-nav-bg);
    padding: 15px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px #0003;
  }

  .primary-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 17px;
  }

  .section-heading>p {
    max-width: 500px;
  }

  .author-card {
    gap: 17px;
  }

  .footer-bottom-inner {
    flex-wrap: wrap;
  }

}

@media(max-width:540px) {
  .page-width {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 86px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 37px;
    height: 37px;
  }

  .brand-name {
    font-size: 20px;
    letter-spacing: -.6px;
  }

  .brand-slogan {
    font-size: 8px;
    margin-top: 4px;
  }

  .header-actions {
    gap: 1px;
  }

  .header-actions .icon-button {
    width: 36px;
  }

  .button.download {
    font-size: 12px;
    padding: 10px 11px;
    min-height: 42px;
    gap: 5px;
  }

  .button.download svg {
    width: 16px;
  }

  .intro h1 {
    font-size: 46px;
    letter-spacing: -1.9px;
  }

  .intro-copy {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    padding: 12px 15px;
    font-size: 13px;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .post-card {
    padding: 18px;
  }

  .post-summary {
    font-size: 15px;
  }

  .post-meta {
    font-size: 12px;
    gap: 7px;
  }

  .post-meta time {
    margin: 0;
    padding-left: 7px;
  }

  .topic {
    font-size: 11px;
  }

  .article-heading .post-meta {
    font-size: 12px;
  }

  .author-details>p:last-child {
    font-size: 14px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }

  .footer-brand {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    grid-column: 1/-1;
    padding-bottom: 16px;
    padding-right: 0;
  }

  .newsletter {
    display: block;
    padding: 20px;
  }

  .legal-links {
    gap: 12px;
  }

  .social-links {
    gap: 0;
  }

  .social-links a {
    width: 31px;
  }

  .social-links svg {
    width: 18px;
  }
}

@media(max-width:380px) {
  .site-header .brand {
    gap: 6px;
  }

  .site-header .brand img {
    width: 32px;
    height: 32px;
  }

  .site-header .brand-name {
    font-size: 18px;
  }

  .site-header .brand-slogan {
    font-size: 7px;
  }

  .header-actions .button.download {
    padding-inline: 8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*::before,*::after {
    transition: none!important;
    animation: none!important;
  }
}

/* Blog content states share the approved page spacing and colors. */

.blog-status {
  padding-block: 72px;
  min-height: 45vh;
}

.blog-status p {
  margin-bottom: 28px;
}

.blog-pagination {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.empty-posts {
  padding-block: 30px;
}

html[data-season='december'] .button:not(.secondary):not(.download) {
  background: #a34040;
  color: #fff8eb;
}

html[data-season='december'] .button:not(.secondary):not(.download):hover {
  background: #b14a48;
}
