:root {
  --si-accent: #a33d2d;
  --si-page-bg: #fbfaf7;
  --si-text: #252522;
  --si-header-bg: #fffefa;
  --si-nav-color: #34342f;
  --si-intro-bg: #f1ede5;
  --si-footer-bg: #252522;
  --si-footer-text: #f9f7f2;
  --si-feed-columns: 4;
  --si-card-gap: 18px;
  --si-card-radius: 14px;
  --si-nav-gap: 24px;
  --si-body-font: system-ui, sans-serif;
  --si-heading-font: Georgia, serif;
  --si-detail-image-width: 100%;
  --si-detail-image-align: center;
  --si-detail-content-width: 760px;
  --si-detail-title-size: 68px;
  --si-like-radius: 999px;
  --si-comment-bg: #f2f0eb;
  --si-comment-border: 1px solid transparent;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--si-page-bg);
  color: var(--si-text);
  font-family: var(--si-body-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--si-accent); }
button, input, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--si-accent); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--si-text);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); color: white; }
.content-wrap { width: min(1380px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: relative; z-index: 20; background: var(--si-header-bg); border-bottom: 1px solid rgba(40, 37, 32, .08); }
.header-inner {
  width: min(1480px, calc(100% - 56px));
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-header--centered .header-inner { justify-content: center; flex-wrap: wrap; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.custom-logo { width: auto; max-height: 50px; }
.site-logo img { width: auto; max-height: 50px; }
.site-name { font-family: var(--si-heading-font); font-weight: 600; font-size: 21px; letter-spacing: -.035em; }
.site-mark {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--si-accent); color: #fff; font: 600 20px var(--si-heading-font);
}
.site-mark:hover { color: white; }
.primary-navigation { margin-left: auto; }
.primary-navigation .menu, .footer-menu {
  display: flex; align-items: center; gap: var(--si-nav-gap); padding: 0; margin: 0; list-style: none;
}
.primary-navigation a { color: var(--si-nav-color); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--si-accent); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-search, .feed-search {
  display: flex; align-items: center; height: 42px; padding: 3px 4px 3px 13px;
  background: #f2f0eb; border: 1px solid transparent; border-radius: 999px;
}
.header-search:focus-within, .feed-search:focus-within { border-color: var(--si-accent); }
.header-search input, .feed-search input { width: 132px; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 13px; }
.header-search button {
  border: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: transparent; cursor: pointer;
}
.header-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.si-social-links { display: flex; align-items: center; gap: 10px; }
.si-social-links a {
  width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(40, 37, 32, .14); border-radius: 50%;
}
.si-social-links a:hover { border-color: var(--si-accent); background: var(--si-accent); color: white; }
.si-social-links svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; }
.intro-section {
  min-height: 430px; position: relative; overflow: hidden; display: grid; align-items: center;
  background: var(--si-intro-bg);
}
.intro-inner { position: relative; z-index: 1; width: min(1380px, calc(100% - 64px)); margin: 0 auto; padding: 72px 0 80px; }
.intro-inner h1 { max-width: 740px; margin: 9px 0 18px; font: 500 clamp(42px, 6.5vw, 78px)/1.02 var(--si-heading-font); letter-spacing: -.055em; }
.intro-copy { max-width: 600px; margin: 0 0 28px; color: #605e58; font-size: 17px; }
.eyebrow { margin: 0 0 9px; color: var(--si-accent); text-transform: uppercase; letter-spacing: .16em; font-size: 10px; line-height: 1.4; font-weight: 700; }
.intro-orbit { position: absolute; right: 8%; top: -140px; width: 420px; height: 640px; border: 1px solid rgba(163, 61, 45, .12); border-radius: 50%; transform: rotate(38deg); }
.intro-orbit::before, .intro-orbit::after { content: ""; position: absolute; inset: 40px; border: 1px solid rgba(163, 61, 45, .11); border-radius: 50%; }
.intro-orbit::after { inset: 88px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 15px;
  min-height: 46px; padding: 10px 19px; border: 1px solid transparent; border-radius: 999px;
  font-size: 13px; font-weight: 650; transition: transform .2s ease, background-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--dark { color: white; background: var(--si-text); }
.button--dark:hover { color: white; background: var(--si-accent); }
.home-section { margin-block: 84px 96px; }
.featured-section { margin-top: 70px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section-heading h2, .archive-heading h1, .page-header h1, .blog-single h1 {
  margin: 0; font: 500 clamp(30px, 4vw, 46px)/1.12 var(--si-heading-font); letter-spacing: -.045em;
}
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--si-accent); font-size: 13px; font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.si-image-grid {
  columns: var(--si-feed-columns) 220px;
  column-gap: var(--si-card-gap);
}
.si-image-card, .image-card {
  break-inside: avoid; margin: 0 0 var(--si-card-gap); padding: 0; border: 0;
}
.image-card { position: relative; }
.image-card-link { display: block; }
.image-card-media { position: relative; overflow: hidden; border-radius: var(--si-card-radius); background: #e9e4dc; }
.image-card-media img { width: 100%; transition: transform .45s cubic-bezier(.2,.65,.25,1); }
.image-card:hover .image-card-media img { transform: scale(1.035); }
.image-placeholder { display: block; min-height: 220px; background: linear-gradient(140deg, #e7e1d7, #f3eee6); }
.image-card-arrow {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255, 254, 250, .92); color: var(--si-text); opacity: 0; transform: translateY(4px); transition: .2s ease;
}
.image-card:hover .image-card-arrow, .image-card:focus-within .image-card-arrow { opacity: 1; transform: none; }
.image-card-title { display: block; margin: 9px 2px 0; font: 500 15px/1.35 Georgia, "Times New Roman", serif; }
.image-card-meta { margin: 8px 2px 0; }
.si-like-button {
  display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 10px;
  border: 1px solid rgba(40, 37, 32, .12); border-radius: var(--si-like-radius); background: transparent;
  font-size: 12px; cursor: pointer; transition: .18s ease;
}
.si-like-button:hover, .si-like-button.is-liked { border-color: #e4b7b0; color: var(--si-accent); background: #fff4f1; }
.si-like-button:disabled { opacity: .55; cursor: wait; }
.si-like-icon { width: 16px; height: 16px; color: var(--si-accent); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.si-like-button.is-liked .si-like-icon { fill: currentColor; }
.si-like-count { font-variant-numeric: tabular-nums; }
.home-blog-section { padding: 78px 0; background: #f2f0eb; }
.blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.blog-list--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-card { min-width: 0; overflow: hidden; border: 1px solid rgba(40, 37, 32, .09); border-radius: 15px; background: var(--si-header-bg); }
.blog-card-image { display: block; overflow: hidden; max-height: 260px; background: #e9e4dc; }
.blog-card-image img { width: 100%; height: 250px; object-fit: cover; transition: transform .45s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.03); }
.blog-card-content { padding: 22px; }
.blog-meta { display: flex; align-items: center; gap: 9px; color: #77746d; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.blog-card h2 { margin: 10px 0 8px; font: 500 25px/1.16 var(--si-heading-font); letter-spacing: -.03em; }
.blog-card p { margin: 0 0 14px; color: #66635d; font-size: 14px; }
.site-main { min-height: 54vh; padding-block: 56px 96px; }
.content-wrap.site-main { padding-top: 58px; }
.archive-heading { margin-bottom: 34px; }
.archive-heading h1 { margin-bottom: 9px; }
.archive-heading--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.feed-search { min-width: min(360px, 100%); }
.feed-search input { flex: 1; width: auto; padding-left: 6px; }
.feed-search .button { border: 0; min-height: 34px; padding: 6px 13px; }
.archive-description { max-width: 720px; margin-top: 12px; color: #68665f; }
.pagination, .nav-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 44px; }
.page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid rgba(40, 37, 32, .13); border-radius: 50px; font-size: 13px; }
.page-numbers.current, .page-numbers:hover { background: var(--si-text); color: white; border-color: var(--si-text); }
.si-empty-state { padding: 48px 32px; border: 1px dashed rgba(40, 37, 32, .2); border-radius: 16px; text-align: center; background: rgba(255, 254, 250, .56); }
.si-empty-state h1, .si-empty-state h2, .si-empty-state h3 { margin: 0 0 8px; font: 500 30px/1.2 Georgia, serif; }
.si-empty-state p { max-width: 570px; margin: 0 auto 15px; color: #6b6861; }
.image-detail { max-width: 980px; margin-inline: auto; }
.detail-back { margin-bottom: 25px; }
.detail-header { max-width: 820px; margin-bottom: 26px; }
.detail-header h1 { margin: 0; font: 500 clamp(38px, 6vw, var(--si-detail-title-size))/1.04 var(--si-heading-font); letter-spacing: -.05em; overflow-wrap: anywhere; }
.detail-image { width: var(--si-detail-image-width); margin: 0 auto; display: flex; justify-content: var(--si-detail-image-align); padding: 18px; border-radius: 19px; background: #f1ede5; }
.detail-image img { max-height: 76vh; width: auto; max-width: 100%; object-fit: contain; border-radius: 9px; }
.detail-description { max-width: var(--si-detail-content-width); margin: 30px auto 0; font-size: 17px; }
.detail-description > :first-child { margin-top: 0; }
.detail-description a, .entry-content a { color: var(--si-accent); text-decoration: underline; text-underline-offset: 3px; }
.detail-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; max-width: 760px; margin: 23px auto 56px; padding-bottom: 20px; border-bottom: 1px solid rgba(40, 37, 32, .12); }
.share-links { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; color: #6b6861; font-size: 12px; }
.share-links a { color: var(--si-text); text-decoration: underline; text-underline-offset: 3px; }
.related-images { margin-block: 70px; }
.comments-section { max-width: 760px; margin: 0 auto; }
.comments-wrap { padding-top: 30px; border-top: 1px solid rgba(40, 37, 32, .12); }
.comments-title, .comment-form-wrap h2 { margin: 0 0 20px; font: 500 30px/1.2 var(--si-heading-font); }
.comments-title span { color: #77746d; font: 400 14px/1 system-ui, sans-serif; }
.comment-list { padding: 0; margin: 0 0 38px; list-style: none; }
.comment-item { padding: 17px 0; border-bottom: 1px solid rgba(40, 37, 32, .1); }
.comment-item .children { list-style: none; padding-left: 24px; }
.comment-meta { display: flex; align-items: baseline; gap: 12px; }
.comment-author { font-weight: 700; }
.comment-meta time { color: #77746d; font-size: 12px; }
.comment-content p { margin: 7px 0 0; }
.comment-review-note, .comment-notes, .field-note { color: #6b6861; font-size: 13px; }
.comment-form-wrap { padding: 26px; border: var(--si-comment-border); border-radius: 15px; background: var(--si-comment-bg); }
.si-comment-form p { margin: 0 0 16px; }
.si-comment-form label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 650; }
.si-comment-form input:not([type=submit]), .si-comment-form textarea {
  width: 100%; padding: 12px 13px; border: 1px solid rgba(40, 37, 32, .2); border-radius: 8px; background: #fffefa; color: var(--si-text);
}
.si-comment-form textarea { resize: vertical; }
.required { color: var(--si-accent); }
.comment-confirmation { padding: 13px 16px; margin: 0 0 22px; border-left: 3px solid #517650; background: #edf3eb; }
.si-comment-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.search-results { columns: var(--si-feed-columns) 230px; column-gap: var(--si-card-gap); }
.search-results > * { break-inside: avoid; margin-bottom: var(--si-card-gap); }
.blog-single, .page-article { max-width: 860px; margin-inline: auto; }
.blog-single-header, .page-header { max-width: 780px; margin: 0 auto 28px; }
.blog-single h1, .page-header h1 { margin-block: 10px 16px; font-size: clamp(38px, 6.5vw, 70px); font-family: var(--si-heading-font); }
.blog-deck { color: #66635d; font-size: 19px; }
.blog-featured-image { margin: 28px 0; overflow: hidden; border-radius: 17px; }
.blog-featured-image img { width: 100%; max-height: 600px; object-fit: cover; }
.entry-content { font-size: 17px; line-height: 1.8; }
.entry-content h2, .entry-content h3 { font-family: var(--si-heading-font); line-height: 1.2; }
.entry-content img { border-radius: 9px; }
.post-navigation { margin-top: 50px; padding-top: 25px; border-top: 1px solid rgba(40, 37, 32, .14); }
.post-navigation .nav-links { justify-content: space-between; margin-top: 0; }
.post-navigation .nav-links a { display: grid; gap: 5px; }
.nav-subtitle { color: #77746d; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.nav-title { font-family: var(--si-heading-font); font-size: 18px; }
.site-footer { padding: 37px 0; background: var(--si-footer-bg); color: var(--si-footer-text); }
.footer-inner { width: min(1380px, calc(100% - 64px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-menu { flex-wrap: wrap; gap: 18px; }
.footer-menu a { font-size: 12px; opacity: .82; }
.footer-menu a:hover { opacity: 1; color: white; }
.footer-copy { margin: 0; font-size: 12px; opacity: .72; }
.site-footer .si-social-links a { border-color: rgba(255,255,255,.25); }
.site-footer .si-social-links a:hover { color: white; }
.not-found { max-width: 740px; margin: 5vh auto; }
.not-found .search-form { max-width: 450px; margin: 20px auto; }
.not-found .search-form label { display: none; }
.not-found .search-field { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; }

@media (max-width: 1100px) {
  .header-inner { gap: 18px; width: calc(100% - 40px); }
  .header-actions { gap: 11px; }
  .header-search input { width: 100px; }
  .primary-navigation .menu { gap: max(12px, calc(var(--si-nav-gap) * .7)); }
  .si-image-grid, .search-results { --si-feed-columns: 3; }
}
@media (max-width: 820px) {
  .content-wrap, .intro-inner, .footer-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; }
  .menu-toggle {
    display: grid; place-items: center; width: 42px; height: 42px; margin-left: auto;
    border: 1px solid rgba(40,37,32,.13); border-radius: 50%; background: transparent; cursor: pointer;
  }
  .menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { width: 17px; height: 1.5px; display: block; background: currentColor; transition: .2s ease; }
  .menu-toggle-lines { position: relative; }
  .menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-lines::before { top: -5px; }
  .menu-toggle-lines::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }
  .primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 22px 20px; background: var(--si-header-bg); border-bottom: 1px solid rgba(40,37,32,.1); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-navigation li a { display: block; padding: 12px 2px; }
  .header-actions { margin-left: 0; }
  .header-actions .si-social-links { display: none; }
  .site-header--centered .header-inner { justify-content: space-between; }
  .site-header--centered .primary-navigation { order: 4; }
  .intro-section { min-height: 380px; }
  .intro-inner { padding-block: 65px; }
  .intro-orbit { right: -190px; opacity: .65; }
  .si-image-grid, .search-results { --si-feed-columns: 3; }
  .blog-list--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .content-wrap, .intro-inner, .footer-inner { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 30px); gap: 11px; }
  .site-name { font-size: 18px; }
  .site-logo img { max-height: 42px; max-width: 120px; }
  .site-mark { width: 34px; height: 34px; }
  .header-search { width: 40px; height: 40px; justify-content: center; padding: 2px; background: transparent; }
  .header-search input { position: absolute; left: -10000px; }
  .header-search button { width: 34px; height: 34px; }
  .intro-section { min-height: 340px; }
  .intro-inner { padding-block: 55px; }
  .intro-inner h1 { font-size: clamp(40px, 12vw, 58px); }
  .intro-copy { max-width: 95%; font-size: 15px; }
  .intro-orbit { right: -280px; }
  .home-section { margin-block: 58px 68px; }
  .featured-section { margin-top: 52px; }
  .section-heading { align-items: start; margin-bottom: 19px; }
  .section-heading h2, .archive-heading h1 { font-size: 33px; }
  .section-heading > .text-link { margin-top: 16px; white-space: nowrap; font-size: 11px; }
  .si-image-grid, .search-results { --si-feed-columns: 2; --si-card-gap: 11px; }
  .image-card-title { font-size: 13px; }
  .si-like-button { min-height: 29px; padding: 3px 8px; }
  .site-main { padding-block: 40px 65px; }
  .content-wrap.site-main { padding-top: 42px; }
  .archive-heading--row { align-items: stretch; flex-direction: column; }
  .feed-search { width: 100%; }
  .blog-list, .blog-list--home { grid-template-columns: 1fr; }
  .blog-card-image img { height: 220px; }
  .blog-card-content { padding: 19px; }
  .home-blog-section { padding-block: 58px; }
  .detail-header h1 { font-size: clamp(37px, 11vw, min(52px, var(--si-detail-title-size))); }
  .detail-image { padding: 8px; border-radius: 12px; }
  .detail-image img { max-height: 68vh; }
  .detail-description { margin-top: 22px; font-size: 16px; }
  .detail-actions { align-items: flex-start; flex-direction: column; margin-bottom: 40px; }
  .comment-form-wrap { padding: 19px 15px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-menu { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
