/*
Theme Name: Unnhou Garden
Theme URI: https://blog.unnhou.com
Author: Your Name
Description: A warm, illustrated digital-garden theme for writing, projects, and photography.
Version: 0.2.0
Text Domain: unnhou-garden
*/

:root {
  --paper: #f7f4ed;
  --paper-bright: #fdfcf9;
  --ink: #292a27;
  --muted: #6e6b65;
  --line: #d9d3c8;
  --brown: #775542;
  --brown-dark: #513c31;
  --rust: #a05f4f;
  --sage: #667a6b;
  --sage-pale: #dce2d8;
  --charcoal: #30312e;
  --serif: Georgia, "Noto Serif SC", "Songti SC", serif;
  --sans: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-bright);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(83, 69, 57, .025) 4px);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
::selection { color: var(--paper-bright); background: var(--brown); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(24px, 5vw, 72px);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(253, 252, 249, .94); box-shadow: 0 1px 0 rgba(41, 42, 39, .09); backdrop-filter: blur(12px); }
.site-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.site-mark__seed { position: relative; display: inline-block; width: 18px; height: 18px; border: 1.5px solid var(--brown); border-radius: 50% 50% 50% 7%; transform: rotate(-20deg); }
.site-mark__seed::after { position: absolute; bottom: -7px; left: 8px; width: 1px; height: 10px; content: ""; background: var(--brown); transform: rotate(20deg); }
.site-nav { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.site-nav__list { display: flex; align-items: center; gap: 36px; margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; padding: 8px 0; }
.site-nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; content: ""; background: var(--brown); transform: scaleX(0); transform-origin: right; transition: transform .22s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-active::after, .site-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .2s; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
  align-items: center;
  min-height: min(850px, 88vh);
  padding: 110px max(24px, calc((100vw - var(--max-width)) / 2)) 64px;
  overflow: hidden;
  background: var(--paper);
}
.hero::after { position: absolute; top: 76px; bottom: 0; left: 50%; width: 1px; content: ""; background: rgba(119, 85, 66, .08); }
.hero__copy { position: relative; z-index: 2; padding: 30px 42px 30px 0; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--brown); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.eyebrow span { color: var(--rust); font-size: 10px; }
.hero h1 { max-width: 720px; margin: 0; font-family: var(--serif); font-size: 68px; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
.hero__intro { max-width: 580px; margin: 28px 0 0; color: var(--muted); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 34px; }
.hero__ledger { display: flex; gap: 28px; margin: 46px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.hero__ledger div { display: grid; grid-template-columns: auto auto; gap: 8px; align-items: baseline; }
.hero__ledger dt { color: var(--muted); font-size: 11px; }
.hero__ledger dd { margin: 0; color: var(--brown); font-family: var(--serif); font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.text-link--muted { color: var(--muted); }
.text-link--light { color: #f5f1e8; }

.hero-art { position: relative; align-self: stretch; min-height: 520px; overflow: hidden; }
.hero-art::before { position: absolute; top: 12%; right: 8%; bottom: 12%; left: 8%; content: ""; border: 1px solid rgba(119,85,66,.12); border-radius: 50%; transform: rotate(-8deg); }
.hero-art > img { position: absolute; inset: 4% 0 4% 3%; z-index: 2; width: 97%; height: 92%; object-fit: contain; opacity: 0; filter: drop-shadow(0 20px 18px rgba(81,60,49,.08)); transition: opacity .35s, transform .45s ease; }
.hero-art.has-image:hover > img { transform: translateY(-5px) rotate(.4deg); }
.hero-art.has-image > img { opacity: 1; }
.hero-art.has-image .hero-art__placeholder { opacity: 0; }
.hero-art__placeholder { position: absolute; inset: 8% 2% 10% 8%; transition: opacity .35s; }
.paper { position: absolute; display: block; border: 1px solid rgba(81, 60, 49, .32); background: #eee5d6; box-shadow: 9px 12px 0 rgba(119, 85, 66, .09); transform: rotate(-5deg); }
.paper::before, .paper::after { position: absolute; left: 13%; width: 65%; height: 1px; content: ""; background: rgba(81, 60, 49, .25); box-shadow: 0 18px rgba(81, 60, 49, .18), 0 36px rgba(81, 60, 49, .18); }
.paper::before { top: 25%; }
.paper::after { top: 58%; width: 45%; }
.paper--one { top: 28%; left: 20%; width: 45%; height: 43%; }
.paper--two { top: 19%; left: 47%; width: 31%; height: 33%; background: #f9f7ef; transform: rotate(7deg); }
.stem { position: absolute; z-index: 3; display: block; width: 4px; border-radius: 50%; background: var(--sage); transform-origin: bottom; }
.stem::before, .stem::after { position: absolute; width: 42px; height: 20px; content: ""; border: 2px solid var(--sage); border-radius: 100% 0 100% 0; background: var(--sage-pale); }
.stem::before { top: 21%; left: -36px; transform: rotate(24deg); }
.stem::after { top: 48%; left: -1px; transform: rotate(-18deg) scaleX(-1); }
.stem--one { bottom: 12%; left: 24%; height: 47%; transform: rotate(-9deg); }
.stem--two { right: 14%; bottom: 21%; height: 36%; transform: rotate(16deg) scale(.85); }
.sun { position: absolute; top: 11%; right: 18%; width: 94px; height: 94px; border: 1px solid var(--rust); border-radius: 50%; background: #d9b29c; opacity: .8; }
.ink-line { position: absolute; z-index: 4; display: block; border: 1px solid var(--brown); border-color: var(--brown) transparent transparent; border-radius: 50%; }
.ink-line--one { right: 7%; bottom: 12%; width: 210px; height: 130px; transform: rotate(-25deg); }
.ink-line--two { top: 8%; left: 4%; width: 180px; height: 100px; transform: rotate(30deg); }
.hero-art__caption { position: absolute; right: 3%; bottom: 6%; z-index: 4; display: flex; align-items: center; gap: 9px; color: var(--muted); font-family: var(--serif); font-size: 13px; font-style: italic; }
.hero-art__caption i { width: 34px; height: 1px; background: var(--brown); }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; width: 24px; height: 38px; border: 1px solid var(--line); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 10px; width: 2px; height: 7px; border-radius: 2px; background: var(--brown); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(13px); opacity: 0; } }

.section-band { padding: 105px max(24px, calc((100vw - var(--max-width)) / 2)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2, .about h2 { margin: 0; font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1.2; }
.notes { background: var(--paper-bright); }
.notes-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; }
.note { position: relative; grid-column: 8 / 13; min-height: 248px; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--paper-bright); box-shadow: 0 16px 50px rgba(81,60,49,.05); transition: border-color .25s, transform .25s, box-shadow .25s; }
.note--featured { grid-column: 1 / 8; grid-row: 1 / 3; min-height: 520px; background: #e7e5de; transform: rotate(-.3deg); }
.note--warm { background: #eee2d8; transform: translateX(-18px) rotate(.25deg); }
.note:hover { z-index: 2; border-color: #b9aa9c; box-shadow: 0 22px 60px rgba(81,60,49,.09); transform: translateY(-4px); }
.note--featured:hover { transform: translateY(-4px) rotate(0); }
.note--warm:hover { transform: translate(-18px, -4px) rotate(0); }
.note a { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 42px; overflow: hidden; }
.note__meta { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.note h3 { max-width: 650px; margin: auto 0 10px; font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1.28; }
.note:not(.note--featured) h3 { font-size: 27px; }
.note p { max-width: 570px; margin: 0; color: var(--muted); }
.note__index { position: absolute; top: 35%; right: -12px; color: rgba(119, 85, 66, .09); font-family: var(--serif); font-size: 130px; line-height: 1; transition: transform .25s; }
.note:hover .note__index { transform: translate(-8px, -6px) rotate(-4deg); }
.note__sprig { position: absolute; top: 25%; right: 14%; width: 2px; height: 92px; background: var(--sage); transform: rotate(18deg); }
.note__sprig::before, .note__sprig::after { position: absolute; width: 38px; height: 18px; content: ""; border: 1px solid var(--sage); background: var(--sage-pale); }
.note__sprig::before { top: 18px; right: 0; border-radius: 100% 0; transform: rotate(-18deg); }
.note__sprig::after { top: 53px; left: 0; border-radius: 0 100%; transform: rotate(22deg); }
.section-trail { display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 58px; padding-right: 8%; }
.section-trail::before { width: 170px; height: 36px; content: ""; border-top: 1px dashed #b8aea1; border-radius: 50%; transform: rotate(-5deg); }
.section-trail span { width: 5px; height: 5px; border-radius: 50%; background: var(--rust); }

.projects { color: #f5f1e8; background: var(--charcoal); }
.section-heading--light .eyebrow { color: #cfac98; }
.project-list { border-top: 1px solid rgba(255,255,255,.22); }
.project { display: grid; grid-template-columns: 52px minmax(0, 1fr) 230px 54px; gap: 28px; align-items: center; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,.22); transition: padding .25s, background-color .25s; }
.project:hover { padding-right: 18px; padding-left: 18px; background: rgba(255,255,255,.035); }
.project__number, .project__type { color: #b8b4ab; font-size: 12px; }
.project h3 { margin: 2px 0 8px; font-family: var(--serif); font-size: 44px; font-weight: 500; }
.project__body > p:not(.project__type) { max-width: 660px; margin: 0; color: #c9c5bc; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 4px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; color: #d8d3c9; font-size: 11px; }
.project__visual { margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #383a36; }
.project__visual img { width: 100%; aspect-ratio: 9 / 5.5; object-fit: cover; transition: transform .35s; }
.project:hover .project__visual img { transform: scale(1.035) rotate(-.5deg); }
.project__arrow { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font-size: 20px; transition: color .2s, background .2s, transform .2s; }
.project__arrow:hover { color: var(--charcoal); background: #f5f1e8; transform: rotate(8deg); }

.photography { background: #efede7; }
.photo-wall { display: grid; grid-template-columns: .85fr 1.25fr .85fr; gap: 28px; align-items: start; }
.photo { margin: 0; }
.photo--b { margin-top: 65px; }
.photo--c { margin-top: 12px; }
.photo__frame { position: relative; overflow: hidden; padding: 9px; background: #faf8f2; box-shadow: 0 18px 38px rgba(68,61,54,.13); transition: transform .3s, box-shadow .3s; }
.photo__frame::after { position: absolute; inset: 9px; content: ""; border: 1px solid rgba(255,255,255,.32); pointer-events: none; }
.photo__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.84) contrast(1.03); transition: filter .3s, transform .45s; }
.photo--b .photo__frame img { aspect-ratio: 5 / 4; }
.photo:hover .photo__frame { box-shadow: 0 25px 48px rgba(68,61,54,.17); transform: translateY(-5px) rotate(-.4deg); }
.photo:hover .photo__frame img { filter: saturate(1) contrast(1.03); transform: scale(1.025); }
.photo figcaption { display: flex; justify-content: space-between; gap: 14px; margin-top: 13px; color: var(--muted); font-family: var(--serif); font-size: 13px; }
.photo figcaption small { font-family: var(--sans); font-size: 10px; }

.about { display: grid; grid-template-columns: minmax(160px, .55fr) 1.4fr .85fr; gap: clamp(35px, 6vw, 90px); align-items: center; background: var(--paper); }
.about__mark { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.about__mark::before, .about__mark::after, .about__mark span { position: absolute; content: ""; background: var(--brown); transform-origin: bottom; }
.about__mark::before { bottom: 19%; left: 49%; width: 2px; height: 55%; transform: rotate(-8deg); }
.about__mark::after { top: 25%; left: 22%; width: 35%; height: 18%; border-radius: 100% 0; background: var(--sage); transform: rotate(30deg); }
.about__mark span { top: 43%; right: 19%; width: 38%; height: 18%; border-radius: 0 100%; background: #b98068; transform: rotate(-28deg); }
.about__copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.about__facts { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--ink); font-family: var(--serif); font-size: 13px; }
.about__facts span { margin-right: 9px; color: var(--muted); font-family: var(--sans); font-size: 10px; }
.about blockquote { margin: 0; padding-left: 25px; border-left: 1px solid var(--brown); color: var(--brown); font-family: var(--serif); font-size: 20px; line-height: 1.55; }

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.js .note--featured[data-reveal] { transform: translateY(22px) rotate(-.3deg); }
.js .note--featured[data-reveal].is-visible { transform: translateY(0) rotate(-.3deg); }
.js .note--warm[data-reveal] { transform: translate(-18px, 22px) rotate(.25deg); }
.js .note--warm[data-reveal].is-visible { transform: translate(-18px, 0) rotate(.25deg); }
.js .note[data-reveal].is-visible:hover { transform: translateY(-4px); }
.js .note--featured[data-reveal].is-visible:hover { transform: translateY(-4px) rotate(0); }
.js .note--warm[data-reveal].is-visible:hover { transform: translate(-18px, -4px) rotate(0); }

.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;
}
.screen-reader-text:focus { top: 16px; left: 16px; z-index: 100000; width: auto; height: auto; padding: 10px 14px; clip: auto; color: white; background: var(--ink); }
.admin-bar .site-header { top: 32px; }

.content-shell, .single-shell { min-height: 70vh; padding: 150px max(24px, calc((100vw - var(--max-width)) / 2)) 110px; }
.archive-header { max-width: 820px; margin-bottom: 62px; }
.archive-header h1, .single-entry__header h1, .empty-state h1 { margin: 0; font-family: var(--serif); font-size: 60px; font-weight: 500; line-height: 1.18; }
.archive-description { max-width: 650px; margin-top: 20px; color: var(--muted); }
.archive-description p { margin: 0; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.archive-card { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--paper-bright); transition: transform .25s, box-shadow .25s; }
.archive-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(81,60,49,.08); }
.archive-card__media { display: block; overflow: hidden; background: #e7e5de; }
.archive-card__media img, .archive-card__placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s; }
.archive-card:hover .archive-card__media img { transform: scale(1.025); }
.archive-card__placeholder .site-mark__seed { width: 42px; height: 42px; opacity: .65; }
.archive-card__body { padding: 30px; }
.archive-card__meta, .single-entry__meta { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); font-size: 11px; }
.archive-card__meta { justify-content: space-between; }
.archive-card h2 { margin: 22px 0 10px; font-family: var(--serif); font-size: 31px; font-weight: 500; line-height: 1.3; }
.archive-card__body > p { min-height: 56px; margin: 0 0 24px; color: var(--muted); }
.navigation.pagination { margin-top: 58px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); background: var(--paper-bright); font-size: 13px; }
.page-numbers.current, .page-numbers:hover { color: white; border-color: var(--brown); background: var(--brown); }

.single-shell { --entry-width: 780px; }
.single-entry__header { max-width: 980px; margin: 0 auto 56px; text-align: center; }
.single-entry__header .eyebrow { justify-content: center; }
.single-entry__meta { justify-content: center; margin-top: 22px; }
.single-entry__cover { max-width: 1120px; margin: 0 auto 62px; }
.single-entry__cover img { width: 100%; max-height: 740px; object-fit: cover; }
.entry-content { max-width: var(--entry-width); margin: 0 auto; font-family: var(--serif); font-size: 18px; line-height: 1.9; }
.entry-content > * { margin-top: 0; margin-bottom: 1.55em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2em; color: var(--ink); font-family: var(--serif); font-weight: 600; line-height: 1.35; }
.entry-content h2 { font-size: 34px; }
.entry-content h3 { font-size: 27px; }
.entry-content a { color: var(--brown); border-bottom: 1px solid currentColor; }
.entry-content blockquote { margin-right: -40px; margin-left: -40px; padding: 24px 34px; border-left: 3px solid var(--rust); color: var(--brown); background: var(--paper); font-size: 22px; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content pre { overflow-x: auto; padding: 24px; border-radius: 4px; color: #efede7; background: var(--charcoal); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; line-height: 1.65; }
.entry-content code { padding: 2px 5px; border-radius: 3px; color: var(--brown-dark); background: #eee8dc; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; }
.entry-content pre code { padding: 0; color: inherit; background: transparent; }
.entry-content img { height: auto; }
.entry-content .alignwide { width: min(1120px, calc(100vw - 48px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content figcaption { margin-top: 8px; color: var(--muted); font-family: var(--sans); font-size: 12px; text-align: center; }
.single-entry__footer, .post-navigation, .comments-area { max-width: var(--entry-width); margin-right: auto; margin-left: auto; }
.single-entry__footer { margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a { padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); font-family: var(--serif); }
.post-navigation div:last-child { text-align: right; }

.search-form { display: flex; max-width: 620px; margin-top: 30px; border-bottom: 1px solid var(--ink); }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 8px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; }
.search-form button { min-height: 48px; padding: 8px 16px; border: 0; color: white; background: var(--brown); cursor: pointer; }
.empty-state { max-width: 720px; margin: 50px auto; text-align: center; }
.empty-state h2 { margin: 24px 0 8px; font-family: var(--serif); font-size: 38px; font-weight: 500; }
.empty-state > p { color: var(--muted); }
.empty-state .text-link { margin-top: 22px; }
.empty-state .search-form { margin-right: auto; margin-left: auto; }
.empty-state__mark { position: relative; display: inline-block; width: 130px; height: 130px; border: 1px solid var(--line); border-radius: 50%; }
.empty-state__mark::before { position: absolute; bottom: 25px; left: 64px; width: 2px; height: 76px; content: ""; background: var(--sage); transform: rotate(-8deg); }
.empty-state__mark i::before, .empty-state__mark i::after { position: absolute; width: 40px; height: 19px; content: ""; border: 1px solid var(--sage); background: var(--sage-pale); }
.empty-state__mark i::before { top: 42px; left: 29px; border-radius: 100% 0; transform: rotate(22deg); }
.empty-state__mark i::after { top: 69px; right: 25px; border-radius: 0 100%; transform: rotate(-20deg); }
.empty-state--404 { margin-top: 10px; }

.comments-area { margin-top: 70px; padding-top: 46px; border-top: 1px solid var(--line); }
.comments-area h2, .comment-reply-title { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.comment-list { padding: 0; list-style: none; }
.comment-list .children { list-style: none; }
.comment-body { margin: 24px 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.comment-meta { color: var(--muted); font-size: 12px; }
.comment-content { margin-left: 58px; }
.comment-form label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper-bright); font: inherit; }
.comment-form .submit { padding: 11px 18px; border: 0; color: white; background: var(--brown); cursor: pointer; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; padding: 52px max(24px, calc((100vw - var(--max-width)) / 2)); color: #d8d3c9; background: #252623; font-size: 13px; }
.site-footer > div:first-child { display: flex; align-items: center; gap: 10px; color: white; font-family: var(--serif); font-size: 17px; }
.site-footer .site-mark__seed { border-color: #cfac98; }
.site-footer .site-mark__seed::after { background: #cfac98; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: white; }
.copyright { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); color: #878981; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 125px; }
  .hero::after { display: none; }
  .hero h1 { font-size: 56px; }
  .hero-art { min-height: 450px; }
  .hero-art__placeholder { inset: 4% 4% 8%; }
  .scroll-cue { display: none; }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .note, .note--featured, .note--warm { grid-column: auto; grid-row: auto; min-height: 360px; transform: none; }
  .note--featured { grid-column: 1 / -1; min-height: 470px; }
  .js .note--featured[data-reveal], .js .note--warm[data-reveal] { transform: translateY(22px); }
  .js .note--featured[data-reveal].is-visible, .js .note--warm[data-reveal].is-visible { transform: translateY(0); }
  .js .note--featured[data-reveal].is-visible:hover, .js .note--warm[data-reveal].is-visible:hover { transform: translateY(-4px); }
  .project { grid-template-columns: 42px minmax(0, 1fr) 180px 48px; gap: 16px; }
  .project h3 { font-size: 36px; }
  .about { grid-template-columns: 180px 1fr; }
  .about blockquote { grid-column: 2; }
  .archive-header h1, .single-entry__header h1, .empty-state h1 { font-size: 50px; }
}

@media (max-width: 680px) {
  body.menu-open { overflow: hidden; }
  .site-header { height: 66px; padding-inline: 20px; }
  .menu-toggle { position: relative; z-index: 3; display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; visibility: hidden; background: var(--paper); font-family: var(--serif); font-size: 28px; opacity: 0; transition: opacity .2s, visibility .2s; }
  .site-nav__list { flex-direction: column; gap: 14px; }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .hero { padding: 108px 20px 48px; }
  .hero h1 { font-size: 40px; }
  .hero__intro { font-size: 15px; }
  .hero-art { min-height: 350px; }
  .hero-art__caption { right: 0; }
  .hero__copy { padding-right: 0; }
  .hero__ledger { gap: 14px; }
  .hero__ledger div { display: block; min-width: 70px; }
  .hero__ledger dd { margin-top: 2px; }
  .section-band { padding: 76px 20px; }
  .section-heading { align-items: start; }
  .section-heading .text-link { margin-top: 12px; white-space: nowrap; }
  .section-heading h2, .about h2 { font-size: 40px; }
  .notes-grid { grid-template-columns: 1fr; gap: 16px; }
  .note, .note--featured { grid-row: auto; min-height: 330px; }
  .note a { padding: 28px; }
  .note h3 { font-size: 32px; }
  .note:not(.note--featured) h3 { font-size: 25px; }
  .note__sprig { opacity: .65; }
  .project { grid-template-columns: 32px 1fr 42px; gap: 10px; }
  .project__visual { grid-column: 2 / 4; grid-row: 2; margin-top: 12px; }
  .project h3 { font-size: 32px; }
  .project__arrow { width: 42px; height: 42px; }
  .photo-wall { grid-template-columns: 1fr 1fr; }
  .photo--b { margin-top: 45px; }
  .photo--c { grid-column: 1 / -1; width: 58%; margin: -15px 0 0 auto; }
  .photo figcaption { display: block; }
  .photo figcaption small { display: block; margin-top: 2px; }
  .about { grid-template-columns: 1fr; }
  .about__mark { width: 160px; }
  .about blockquote { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
  .admin-bar .site-header { top: 46px; }
  .content-shell, .single-shell { padding: 120px 20px 78px; }
  .archive-header { margin-bottom: 42px; }
  .archive-header h1, .single-entry__header h1, .empty-state h1 { font-size: 40px; }
  .archive-grid { grid-template-columns: 1fr; gap: 20px; }
  .archive-card h2 { font-size: 27px; }
  .single-entry__header { margin-bottom: 38px; text-align: left; }
  .single-entry__header .eyebrow, .single-entry__meta { justify-content: flex-start; }
  .single-entry__cover { margin-bottom: 42px; }
  .entry-content { font-size: 17px; }
  .entry-content h2 { font-size: 29px; }
  .entry-content h3 { font-size: 24px; }
  .entry-content blockquote { margin-right: 0; margin-left: 0; padding: 20px; font-size: 19px; }
  .entry-content .alignwide { width: 100%; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation div:last-child { text-align: left; }
}

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