:root {
  color-scheme: light;
  --bg: #f7f6f1;
  --paper: #fffdf8;
  --note: #fffdf4;
  --ink: #1e2522;
  --muted: #5f6a63;
  --line: rgba(30, 37, 34, 0.14);
  --moss: #4f6f57;
  --blue: #6f8490;
  --amber: #c78942;
  --coral: #c9684b;
  --shadow: 0 28px 90px rgba(32, 40, 36, 0.14);
  --note-shadow: 0 18px 42px rgba(45, 38, 25, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(247, 246, 241, 0.98) 58%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 0;
}

.brand-block {
  display: grid;
  gap: 8px;
}

.site-date {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
  padding-top: 22px;
}

nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--amber);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 34px 0 76px;
}

.field-hero {
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.78fr);
  min-height: calc(100vh - 66px);
  padding: 18px 0 82px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8.5vw, 8.8rem);
  font-weight: 500;
  line-height: 0.9;
}

.lead {
  max-width: 620px;
  margin-top: 28px;
  color: #2f3a35;
  font-size: clamp(1.24rem, 2.2vw, 1.78rem);
  line-height: 1.38;
}

.lead span {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.lead span::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.03em;
  height: 0.18em;
  z-index: -1;
  border-radius: 999px 58% 999px 50%;
  background: rgba(199, 137, 66, 0.28);
  transform: scaleX(1) translateY(0) rotate(-0.8deg);
  transform-origin: left center;
  clip-path: inset(0 0 0 0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), opacity 620ms ease;
}

.lead span:nth-of-type(2)::after {
  background: rgba(79, 111, 87, 0.2);
  transform: rotate(0.7deg);
}

.lead span:hover::after,
.lead span:focus-visible::after {
  opacity: 0.85;
  transform: scaleX(1.06) translateY(-0.08em) rotate(-0.8deg);
  animation: underline-rise 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lead span:nth-of-type(2):hover::after,
.lead span:nth-of-type(2):focus-visible::after {
  transform: scaleX(1.06) translateY(-0.08em) rotate(0.7deg);
  animation: underline-rise-alt 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 650;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #fffdf8;
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.64);
}

.hero-art {
  position: relative;
  min-height: 420px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 12% 6% 4% 22%;
  border-radius: 50%;
  background: rgba(79, 111, 87, 0.11);
  filter: blur(42px);
}

.hero-art img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  border: 1px solid rgba(30, 37, 34, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.field-note {
  position: relative;
  justify-self: center;
  width: min(292px, 80%);
  min-height: 206px;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 42px);
  color: #29231c;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 46%),
    var(--note);
  border: 1px solid rgba(123, 95, 47, 0.11);
  border-radius: 1px;
  box-shadow: var(--note-shadow);
  transform: rotate(1.4deg);
  animation: note-settle 760ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
  clip-path: polygon(0.6% 0, 100% 1.4%, 98.8% 99.2%, 0 97.8%);
}

.field-note::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 19px;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(79, 111, 87, 0.18);
  transform: rotate(-5deg);
}

.field-note::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 42px;
  height: 1px;
  background: rgba(123, 95, 47, 0.18);
  transform: rotate(-4deg);
}

.field-note p {
  max-width: 205px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.45vw, 2.28rem);
  line-height: 1.02;
}

.field-note span {
  position: relative;
  display: inline-block;
}

.field-note span::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.06em;
  bottom: 0.02em;
  height: 0.16em;
  z-index: -1;
  background: rgba(201, 104, 75, 0.28);
  border-radius: 60% 999px 50% 999px;
  transform: rotate(-1.8deg);
}

.field-path {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 280px;
  margin: -58px auto 0;
  padding: 74px 0 106px;
  border-top: 1px solid var(--line);
}

.field-path h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.field-path ol {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.field-path li {
  display: flex;
  min-height: 120px;
  align-items: flex-end;
  color: #27312d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  line-height: 1;
}

.path-line {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 190px;
  height: 90px;
  opacity: 0.68;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.path-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 48px;
  border-top: 2px solid rgba(79, 111, 87, 0.4);
  border-radius: 48% 40% 58% 44%;
  transform: rotate(0.7deg) skewX(-2deg);
  animation: line-draw 980ms 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: left center;
}

.path-line::after {
  content: "";
  position: absolute;
  left: 44%;
  right: 21%;
  top: 48px;
  height: 28px;
  border-top: 1px solid rgba(201, 104, 75, 0.28);
  border-radius: 35% 55% 38% 60%;
  transform: rotate(1.4deg);
  animation: line-draw 900ms 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.field-path:hover .path-line::before,
.field-path:focus-within .path-line::before {
  animation: line-draw 1160ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.field-path:hover .path-line::after,
.field-path:focus-within .path-line::after {
  animation: line-draw 980ms 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.statement,
.themes,
.values,
.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.statement {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(28px, 7vw, 96px);
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.15rem);
  font-weight: 500;
  line-height: 1;
}

.statement-copy {
  display: grid;
  gap: 22px;
  color: #303a35;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.62;
}

.themes {
  padding: 30px 0 96px;
}

.themes h2,
.values h2 {
  margin-bottom: 30px;
}

.themes ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.themes li {
  display: flex;
  align-items: end;
  min-height: 138px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.75);
  color: #27312d;
  font-weight: 650;
  line-height: 1.15;
}

.themes li:nth-child(2n) {
  background: rgba(235, 239, 231, 0.7);
}

.themes li:nth-child(3n) {
  background: rgba(236, 240, 242, 0.8);
}

.values {
  padding: 0 0 104px;
}

.value-grid,
.work-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-grid article,
.work-list article {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.54);
}

h3,
.work-list h2 {
  color: #202923;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
}

.value-grid p,
.work-list p,
.empty-writing p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.page {
  min-height: calc(100vh - 160px);
  padding: 96px 0 112px;
}

.page-hero {
  max-width: 780px;
  padding-bottom: 58px;
}

.page-hero h1 {
  font-size: clamp(4rem, 9vw, 8.2rem);
}

.page-hero p {
  margin-top: 24px;
  color: #303a35;
  font-size: clamp(1.14rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.work-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.empty-writing {
  max-width: 640px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.post-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.post-list article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 46px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.post-list time,
.article-header time {
  color: var(--muted);
  font-size: 0.9rem;
}

.post-list time {
  grid-row: 1 / span 2;
}

.post-list h2 {
  grid-column: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.12;
}

.post-list h2 a {
  border-bottom: 1px solid transparent;
}

.post-list h2 a:hover {
  border-color: var(--amber);
}

.post-list p {
  grid-column: 2;
  max-width: 700px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.writing-series {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  margin-bottom: 70px;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.writing-series h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
}

.writing-series p:not(.section-kicker) {
  max-width: 520px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.writing-series ol {
  display: grid;
  gap: 1px;
  align-self: start;
  margin: 0;
  padding: 0;
  counter-reset: series;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.writing-series li {
  counter-increment: series;
  background: rgba(255, 253, 248, 0.66);
}

.writing-series a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  min-height: 62px;
  padding: 16px 18px;
  line-height: 1.25;
}

.writing-series a::before {
  content: counter(series, decimal-leading-zero);
  color: var(--muted);
  font-size: 0.78rem;
}

.article-page {
  display: grid;
  justify-items: center;
}

.article-shell {
  width: min(760px, 100%);
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.article-header {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  margin-top: 16px;
  font-size: clamp(2.6rem, 5.8vw, 5.3rem);
  line-height: 0.98;
}

.article-header p {
  margin-top: 24px;
  color: #303a35;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

.article-cover {
  width: min(980px, calc(100vw - 40px));
  margin: 42px 0 0 50%;
  transform: translateX(-50%);
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(30, 37, 34, 0.1);
  background: #fff;
}

.article-content {
  padding-top: 44px;
  color: #28322e;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.75;
}

.article-content p,
.article-content ul {
  margin: 0 0 24px;
}

.article-figure {
  width: min(980px, calc(100vw - 40px));
  margin: 42px 0 16px 50%;
  transform: translateX(-50%);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(30, 37, 34, 0.1);
  background: #fff;
}

.article-figure + p {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 44px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 500;
}

.article-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.article-content h3 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

.article-content ul {
  padding-left: 1.2rem;
}

.article-content li + li {
  margin-top: 10px;
}

.article-content a,
.source-link a {
  color: var(--ink);
  border-bottom: 1px solid var(--amber);
}

.source-link {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--line);
}

.article-nav > * {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.66);
}

.article-nav a {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--ink);
  line-height: 1.25;
}

.article-nav a span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .field-hero {
    gap: 54px;
  }

  .hero-art {
    min-height: 0;
  }

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

  .themes ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-grid,
  .work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    align-items: flex-start;
    padding: 16px 0;
  }

  .brand-block {
    gap: 6px;
  }

  nav {
    gap: 12px;
    font-size: 0.88rem;
    padding-top: 20px;
  }

  .hero,
  .statement,
  .themes,
  .values,
  .field-path,
  .page,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5.8rem);
  }

  .lead {
    font-size: 1.18rem;
  }

  .lead span {
    white-space: normal;
  }

  .field-note {
    justify-self: start;
    width: min(272px, 100%);
    min-height: 190px;
    padding: 30px;
  }

  .hero-art img {
    aspect-ratio: 1 / 0.9;
  }

  .statement,
  .page {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .field-path {
    margin-top: 0;
    padding: 58px 0 64px;
  }

  .field-path ol {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .field-path li {
    min-height: auto;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .path-line {
    display: none;
  }

  .themes ul,
  .value-grid,
  .work-list,
  .post-list article,
  .writing-series,
  .article-nav {
    grid-template-columns: 1fr;
  }

  .post-list article {
    gap: 10px;
    padding: 26px 0;
  }

  .post-list time,
  .post-list h2,
  .post-list p {
    grid-column: auto;
    grid-row: auto;
  }

  .writing-series {
    margin-bottom: 50px;
  }

  .article-figure {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .themes li,
  .value-grid article,
  .work-list article {
    min-height: 128px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@keyframes note-settle {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(4deg);
  }

  to {
    opacity: 1;
    transform: rotate(2.2deg);
  }
}

@keyframes line-draw {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes underline-rise {
  from {
    clip-path: inset(0 100% 0 0);
    transform: scaleX(0.94) translateY(0.08em) rotate(-0.8deg);
  }

  to {
    clip-path: inset(0 0 0 0);
    transform: scaleX(1.06) translateY(-0.08em) rotate(-0.8deg);
  }
}

@keyframes underline-rise-alt {
  from {
    clip-path: inset(0 100% 0 0);
    transform: scaleX(0.94) translateY(0.08em) rotate(0.7deg);
  }

  to {
    clip-path: inset(0 0 0 0);
    transform: scaleX(1.06) translateY(-0.08em) rotate(0.7deg);
  }
}

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