:root {
  --jade: #176b5a;
  --jade-bright: #23816d;
  --jade-deep: #123f36;
  --jade-ink: #0d3029;
  --mint: #dcefe8;
  --mint-soft: #edf7f3;
  --paper: #fbfdfc;
  --paper-glass: rgba(251, 253, 252, 0.92);
  --ink: #25332e;
  --muted: #687770;
  --line: rgba(22, 77, 64, 0.15);
  --warm: #d8a867;
  --charcoal: #202a27;
  --shadow: 0 22px 60px rgba(25, 75, 61, 0.11);
  --shadow-soft: 0 12px 36px rgba(25, 75, 61, 0.08);
  --radius: 3px;
  --shell: 1180px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --serif: "Iowan Old Style", Baskerville, "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  overflow-x: hidden;
}

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 255, 255, 0.82) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.45), transparent 24rem),
    linear-gradient(135deg, #d3e9e1 0%, #e8f3ee 48%, #d8ece5 100%);
  background-size: 38px 38px, auto, auto;
  font-family: var(--sans);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.34;
  filter: blur(0.1px);
}

body::before {
  width: 260px;
  height: 520px;
  left: -88px;
  top: 150px;
  border-left: 2px solid rgba(23, 107, 90, 0.32);
  border-radius: 48% 0 0 48%;
  background:
    radial-gradient(ellipse at 40% 14%, transparent 0 16%, rgba(23, 107, 90, 0.2) 17% 21%, transparent 22%),
    radial-gradient(ellipse at 74% 31%, transparent 0 17%, rgba(23, 107, 90, 0.2) 18% 22%, transparent 23%),
    radial-gradient(ellipse at 34% 49%, transparent 0 15%, rgba(23, 107, 90, 0.18) 16% 21%, transparent 22%),
    radial-gradient(ellipse at 70% 67%, transparent 0 16%, rgba(23, 107, 90, 0.16) 17% 21%, transparent 22%);
  transform: rotate(-11deg);
}

body::after {
  width: 330px;
  height: 600px;
  right: -150px;
  bottom: 80px;
  border-right: 2px solid rgba(23, 107, 90, 0.24);
  border-radius: 0 45% 45% 0;
  background:
    radial-gradient(ellipse at 65% 17%, transparent 0 16%, rgba(23, 107, 90, 0.17) 17% 21%, transparent 22%),
    radial-gradient(ellipse at 31% 36%, transparent 0 17%, rgba(23, 107, 90, 0.18) 18% 22%, transparent 23%),
    radial-gradient(ellipse at 67% 55%, transparent 0 15%, rgba(23, 107, 90, 0.15) 16% 21%, transparent 22%),
    radial-gradient(ellipse at 31% 74%, transparent 0 16%, rgba(23, 107, 90, 0.17) 17% 21%, transparent 22%);
  transform: rotate(9deg);
}

main { padding-bottom: clamp(72px, 9vw, 130px); }

a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
button { color: inherit; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }

::selection { color: #fff; background: var(--jade); }

:focus-visible {
  outline: 3px solid #edbd76;
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - clamp(32px, 6vw, 84px)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 9px 15px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 3px;
  transform: translateY(-170%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.reading-progress {
  position: fixed;
  z-index: 1001;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #f0bd75;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: #fff;
  background: rgba(18, 87, 73, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(18, 63, 54, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

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

.brand-seal {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--jade-deep);
  background: #f4ddbc;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 3px rgba(23, 107, 90, 0.12);
}

.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-family: var(--serif); font-size: 17px; letter-spacing: 0.14em; }
.brand-copy small { margin-top: 6px; color: rgba(255, 255, 255, 0.66); font-size: 8px; font-weight: 750; letter-spacing: 0.15em; }

.main-nav {
  display: flex;
  min-height: 64px;
  align-items: stretch;
}

.main-nav a {
  position: relative;
  display: grid;
  min-width: 74px;
  padding-inline: 16px;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.05em;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  height: 3px;
  content: "";
  background: #f0bd75;
  transition: left 180ms ease, right 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.07); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 15px; left: 15px; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  align-content: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

.hero { padding-top: clamp(26px, 4.5vw, 54px); }

.carousel {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 10px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.carousel-viewport {
  position: relative;
  height: clamp(400px, 36vw, 480px);
  overflow: hidden;
  background: #dcece6;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(300px, 0.77fr);
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 600ms ease, transform 750ms ease, visibility 600ms;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide-one { background: linear-gradient(120deg, #f5f8f3 0%, #dfece2 59%, #b8d4c8 100%); }
.hero-slide-two { color: #fff; background: linear-gradient(125deg, #133f36 0%, #1d6e5d 64%, #42927e 100%); }
.hero-slide-three { background: linear-gradient(125deg, #f5eee2 0%, #e7e7d8 54%, #c6d9cb 100%); }

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  padding: clamp(44px, 6vw, 78px) clamp(34px, 6vw, 80px) 76px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.hero-kicker {
  display: flex;
  margin: 0 0 19px;
  align-items: center;
  gap: 10px;
  color: var(--jade);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.21em;
}

.hero-kicker::before { width: 30px; height: 2px; content: ""; background: currentColor; }
.hero-slide-two .hero-kicker { color: #f0cb94; }

.hero-copy h1,
.hero-copy h2 {
  max-width: 710px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.7vw, 62px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.hero-copy h1 em,
.hero-copy h2 em { color: var(--jade); font-weight: 500; font-style: normal; }
.hero-slide-two .hero-copy h2 em { color: #f0cb94; }

.hero-copy > p:not(.hero-kicker) {
  max-width: 630px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.hero-slide-two .hero-copy > p:not(.hero-kicker) { color: rgba(255,255,255,.74); }

.hero-link {
  display: inline-flex;
  min-height: 46px;
  margin-top: 26px;
  padding: 0 18px;
  align-items: center;
  gap: 24px;
  color: #fff;
  background: var(--jade);
  border: 1px solid var(--jade);
  font-size: 13px;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-slide-two .hero-link { color: var(--jade-deep); background: #f0cb94; border-color: #f0cb94; }
.hero-link:hover { transform: translateY(-2px); background: var(--jade-deep); }
.hero-slide-two .hero-link:hover { background: #f6d9ad; }

.hero-art { position: relative; z-index: 2; min-width: 0; overflow: hidden; }
.hero-stamp {
  position: absolute;
  z-index: 5;
  top: 38px;
  right: 36px;
  display: grid;
  width: 44px;
  height: 72px;
  place-items: center;
  color: #fff;
  background: #a5483f;
  border: 2px solid rgba(255,255,255,.78);
  outline: 1px solid #a5483f;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.hero-art-mountain .sun {
  position: absolute;
  top: 92px;
  right: 108px;
  width: 92px;
  aspect-ratio: 1;
  background: rgba(209, 118, 76, 0.82);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(209, 118, 76, 0.08);
}

.mountain { position: absolute; right: -18%; bottom: -42%; width: 122%; aspect-ratio: 1.25; border-radius: 50% 48% 0 0; transform: rotate(-16deg); }
.mountain-back { background: rgba(64, 122, 103, 0.26); }
.mountain-front { right: -38%; bottom: -63%; width: 136%; background: rgba(30, 89, 72, 0.76); transform: rotate(21deg); }

.hero-art-grid {
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.code-orbit {
  position: absolute;
  width: 310px;
  height: 210px;
  top: 50%;
  left: 46%;
  border: 1px solid rgba(240, 203, 148, .55);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
  box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 62px rgba(255,255,255,.025);
}

.code-line { position: absolute; z-index: 2; left: 16%; height: 15px; background: rgba(255,255,255,.76); border-radius: 30px; transform: rotate(-8deg); }
.code-line::after { position: absolute; height: 100%; content: ""; right: -35px; background: #f0cb94; border-radius: inherit; }
.line-a { top: 34%; width: 43%; }
.line-a::after { width: 24px; }
.line-b { top: 48%; width: 62%; }
.line-b::after { width: 45px; }
.line-c { top: 62%; width: 36%; }
.line-c::after { width: 70px; }

.hero-art-window { isolation: isolate; }
.window-frame {
  position: absolute;
  inset: 56px 52px 48px 18px;
  border: 16px solid rgba(255,255,255,.56);
  box-shadow: inset 0 0 0 1px rgba(18,63,54,.15), 0 20px 48px rgba(18,63,54,.1);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(18,63,54,.2) 50%, transparent calc(50% + 1px)),
    linear-gradient(transparent calc(52% - 1px), rgba(18,63,54,.2) 52%, transparent calc(52% + 1px)),
    linear-gradient(#d9e8de 0 52%, #9fbfae 52%);
}

.leaf { position: absolute; z-index: 2; width: 98px; height: 38px; background: rgba(23,107,90,.72); border-radius: 100% 0 100% 0; transform-origin: right center; }
.leaf::after { position: absolute; top: 50%; right: -50px; width: 110px; height: 1px; content: ""; background: rgba(18,63,54,.62); }
.leaf-one { right: 72px; bottom: 58px; transform: rotate(-16deg); }
.leaf-two { right: 118px; bottom: 111px; transform: rotate(27deg) scale(.82); }
.leaf-three { right: 54px; bottom: 162px; transform: rotate(-38deg) scale(.68); }

.carousel-controls {
  position: absolute;
  z-index: 10;
  right: 20px;
  bottom: 18px;
  display: flex;
  height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 7px;
  color: var(--jade-deep);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(18,63,54,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-arrow,
.carousel-pause,
.carousel-dot {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel-arrow,
.carousel-pause { display: grid; width: 34px; height: 34px; place-items: center; font-size: 27px; line-height: 1; }
.carousel-pause { font-size: 11px; font-weight: 900; letter-spacing: -0.1em; }
.carousel-dots { display: flex; align-items: center; gap: 7px; padding-inline: 3px; }
.carousel-dot { width: 8px; height: 8px; background: rgba(23,107,90,.27); border-radius: 50%; transition: width 180ms ease, border-radius 180ms ease, background 180ms ease; }
.carousel-dot.is-active { width: 25px; background: var(--jade); border-radius: 10px; }
.carousel-arrow:hover, .carousel-pause:hover { color: #fff; background: var(--jade); }

.no-js .hero-slide { position: relative; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.no-js .hero-slide:not(:first-child),
.no-js .carousel-controls { display: none; }

.feature-section { padding-top: clamp(68px, 8vw, 108px); }

.section-title,
.panel-heading {
  display: flex;
  margin-bottom: 28px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-title p,
.panel-heading p,
.about-copy > p:first-child,
.side-eyebrow {
  margin: 0 0 7px;
  color: var(--jade);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.section-title h2,
.panel-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
}

.section-title > span,
.panel-heading > span { max-width: 340px; color: var(--muted); font-size: 13px; text-align: right; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.feature-card {
  min-width: 0;
  overflow: hidden;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(22,77,64,.12);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }

.feature-visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

.feature-visual::before,
.feature-visual::after { position: absolute; content: ""; transition: transform 450ms ease; }
.feature-card:hover .feature-visual::before { transform: scale(1.08) rotate(3deg); }
.feature-visual b { position: absolute; z-index: 3; top: 14px; left: 15px; color: rgba(255,255,255,.88); font-size: 10px; letter-spacing: .18em; }
.feature-visual i { position: absolute; z-index: 3; right: 15px; bottom: 12px; color: rgba(255,255,255,.82); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .2em; }

.visual-server { background: linear-gradient(145deg, #174c42, #2f8b75); }
.visual-server::before { inset: 22% 14%; background: repeating-linear-gradient(0deg, rgba(255,255,255,.78) 0 2px, transparent 2px 20px); border: 1px solid rgba(255,255,255,.3); }
.visual-server::after { width: 11px; height: 11px; right: 22%; top: 31%; background: #f0bd75; border-radius: 50%; box-shadow: 0 40px 0 rgba(255,255,255,.65), 0 80px 0 rgba(255,255,255,.4); }

.visual-database { background: linear-gradient(145deg, #688c7c, #b1cdbd); }
.visual-database::before { width: 48%; height: 58%; inset: 20% 26%; border: 2px solid rgba(255,255,255,.72); border-radius: 50%; box-shadow: inset 0 18px 0 rgba(255,255,255,.12), inset 0 -18px 0 rgba(18,63,54,.13); }
.visual-database::after { width: 48%; height: 16%; top: 20%; left: 26%; border: 2px solid rgba(255,255,255,.88); border-radius: 50%; }

.visual-web { background: linear-gradient(145deg, #d5a566, #e9cba4); }
.visual-web::before { inset: 19% 15%; background: rgba(255,255,255,.74); border: 6px solid rgba(18,63,54,.62); box-shadow: 14px 14px 0 rgba(18,63,54,.16); }
.visual-web::after { left: 23%; right: 23%; top: 39%; height: 6px; background: var(--jade); box-shadow: 0 20px 0 rgba(23,107,90,.52), 0 40px 0 rgba(23,107,90,.26); }

.visual-life { background: linear-gradient(145deg, #9fb9a9, #d7d1b7); }
.visual-life::before { width: 52%; aspect-ratio: 1; left: 24%; top: 18%; border: 2px solid rgba(255,255,255,.72); border-radius: 50%; background: radial-gradient(circle at 55% 40%, #e6b177 0 19%, transparent 20%), linear-gradient(145deg, rgba(255,255,255,.18), rgba(18,63,54,.22)); }
.visual-life::after { width: 62%; height: 2px; left: 19%; bottom: 22%; background: rgba(255,255,255,.64); box-shadow: 0 9px 0 rgba(255,255,255,.36); }

.feature-copy { display: block; padding: 20px 19px 22px; }
.feature-copy strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 650; }
.feature-copy small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.65; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(260px, .92fr);
  gap: 24px;
  align-items: start;
  padding-top: clamp(76px, 9vw, 125px);
}

.article-feed,
.side-card {
  background: var(--paper-glass);
  border: 1px solid rgba(22,77,64,.12);
  box-shadow: var(--shadow-soft);
}

.article-feed { min-width: 0; padding: clamp(24px, 3.4vw, 42px); }
.panel-heading { padding-bottom: 25px; border-bottom: 2px solid var(--jade); }
.panel-heading h2 { font-size: clamp(30px, 3.1vw, 40px); }

.post-entry {
  display: grid;
  grid-template-columns: minmax(155px, 30%) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  padding-block: clamp(30px, 4vw, 45px);
  border-bottom: 1px solid var(--line);
}

.post-entry:last-child { padding-bottom: 5px; border-bottom: 0; }

.post-visual {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  align-self: start;
  isolation: isolate;
  background: var(--mint);
}

.post-visual::before,
.post-visual::after { position: absolute; content: ""; }
.post-visual span { position: absolute; z-index: 3; bottom: 15px; left: 16px; color: #fff; font-family: var(--serif); font-size: 23px; font-weight: 650; line-height: 1.25; letter-spacing: .08em; text-shadow: 0 2px 12px rgba(18,63,54,.32); }

.post-visual-server { background: linear-gradient(145deg, #1d5e4f, #86b3a2); }
.post-visual-server::before { inset: 18% 18% 31%; border: 1px solid rgba(255,255,255,.55); background: repeating-linear-gradient(0deg, rgba(255,255,255,.34) 0 2px, transparent 2px 18px); }
.post-visual-server::after { width: 8px; height: 8px; top: 27%; right: 26%; background: #f0bd75; border-radius: 50%; box-shadow: 0 36px 0 rgba(255,255,255,.7); }

.post-visual-data { background: linear-gradient(145deg, #8ea99c, #285e52); }
.post-visual-data::before { width: 48%; height: 54%; top: 17%; left: 26%; border: 2px solid rgba(255,255,255,.68); border-radius: 50%; box-shadow: inset 0 20px 0 rgba(255,255,255,.1), inset 0 -20px 0 rgba(18,63,54,.18); }
.post-visual-data::after { width: 48%; height: 15%; top: 17%; left: 26%; border: 2px solid rgba(255,255,255,.82); border-radius: 50%; }

.post-visual-network { background: linear-gradient(145deg, #d7bd94, #537f71); }
.post-visual-network::before { width: 72px; height: 72px; left: calc(50% - 36px); top: 25%; border: 2px solid rgba(255,255,255,.78); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.09), 0 0 0 50px rgba(255,255,255,.06); }
.post-visual-network::after { width: 9px; height: 9px; top: 19%; left: 23%; background: #fff; border-radius: 50%; box-shadow: 110px 32px 0 #f0bd75, 39px 86px 0 rgba(255,255,255,.78); }

.post-visual-web { background: linear-gradient(145deg, #d9ab6d, #805c3f); }
.post-visual-web::before { inset: 16% 13% 31%; border: 5px solid rgba(255,255,255,.74); background: rgba(255,255,255,.14); box-shadow: 10px 10px 0 rgba(18,63,54,.18); }
.post-visual-web::after { left: 23%; right: 23%; top: 34%; height: 5px; background: #fff; box-shadow: 0 17px 0 rgba(255,255,255,.57), 0 34px 0 rgba(255,255,255,.3); }

.post-visual-walk { background: linear-gradient(145deg, #78998a, #d3c9a9); }
.post-visual-walk::before { width: 54%; aspect-ratio: 1; right: -8%; top: -15%; background: rgba(240,189,117,.78); border-radius: 50%; }
.post-visual-walk::after { width: 55%; height: 120%; left: 18%; top: 16%; border-left: 3px solid rgba(255,255,255,.6); border-radius: 50%; transform: rotate(31deg); }

.post-body { min-width: 0; }
.post-heading { display: flex; align-items: flex-start; gap: 16px; }

.category-label {
  position: relative;
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 5px 9px 5px 10px;
  color: #fff;
  background: var(--jade);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.4;
}

.category-label::after {
  position: absolute;
  top: 0;
  right: -10px;
  width: 0;
  height: 0;
  content: "";
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 10px solid var(--jade);
}

.post-heading h3 { margin: 0 0 13px; font-family: var(--serif); font-size: clamp(21px, 2.1vw, 27px); font-weight: 650; line-height: 1.35; }
.post-excerpt { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

.post-details { margin-top: 13px; }
.post-details summary { display: inline-flex; min-height: 36px; align-items: center; gap: 10px; color: var(--jade); font-size: 12px; font-weight: 750; cursor: pointer; list-style: none; }
.post-details summary::-webkit-details-marker { display: none; }
.post-details summary span { transition: transform 180ms ease; }
.post-details[open] summary span { transform: rotate(90deg); }
.post-details > div { margin-top: 11px; padding: 15px 17px; color: #50615a; background: var(--mint-soft); border-left: 3px solid var(--jade); font-size: 13px; }
.post-details > div p { margin: 0; }
.post-details > div p + p { margin-top: 10px; }

.post-meta { display: flex; flex-wrap: wrap; gap: 8px 21px; margin-top: 16px; color: #87928d; font-size: 10px; letter-spacing: .04em; }
.post-meta span { position: relative; }
.post-meta span::before { position: absolute; top: 50%; left: -12px; width: 3px; height: 3px; content: ""; background: #a7b2ad; border-radius: 50%; }

.sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
}

.side-card { padding: 25px; }
.author-card { position: relative; overflow: hidden; padding-top: 112px; }
.author-card::before { position: absolute; inset: 0 0 auto; height: 79px; content: ""; background: linear-gradient(135deg, var(--jade-deep), var(--jade-bright)); }
.author-card::after { position: absolute; top: 18px; right: 20px; width: 98px; height: 98px; content: ""; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.04); }
.author-mark { position: absolute; z-index: 2; top: 37px; left: 25px; display: grid; width: 72px; height: 72px; place-items: center; color: var(--jade); background: #f4ddbc; border: 5px solid var(--paper); font-family: var(--serif); font-size: 36px; font-weight: 700; box-shadow: var(--shadow-soft); }
.side-eyebrow { margin-bottom: 5px; }
.author-card h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 650; }
.author-card > p:not(.side-eyebrow) { margin: 13px 0 17px; color: var(--muted); font-size: 13px; }
.author-card > a { color: var(--jade); font-size: 12px; font-weight: 750; }

.side-heading { display: flex; padding-bottom: 12px; align-items: end; justify-content: space-between; border-bottom: 2px solid var(--jade); }
.side-heading h2 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 650; }
.side-heading span { color: #8a9892; font-size: 8px; font-weight: 800; letter-spacing: .18em; }

.popular-list { margin: 0; padding: 6px 0 0; list-style: none; counter-reset: popular; }
.popular-list li { border-bottom: 1px solid var(--line); }
.popular-list li:last-child { border-bottom: 0; }
.popular-list a { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 8px; padding: 14px 0; color: #44524d; font-size: 12px; line-height: 1.55; transition: color 160ms ease, padding-left 160ms ease; }
.popular-list a:hover { padding-left: 4px; color: var(--jade); }
.popular-list a span { color: var(--warm); font-family: var(--serif); font-size: 14px; font-style: italic; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; }
.tag-cloud a { padding: 6px 10px; color: #4e6059; background: var(--mint-soft); border: 1px solid var(--line); font-size: 11px; transition: color 160ms ease, background 160ms ease; }
.tag-cloud a:hover { color: #fff; background: var(--jade); }

.site-note dl { margin: 8px 0 0; }
.site-note dl > div { display: flex; padding: 10px 0; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); font-size: 11px; }
.site-note dl > div:last-child { border-bottom: 0; }
.site-note dt { color: var(--muted); }
.site-note dd { margin: 0; color: var(--jade-deep); font-weight: 700; text-align: right; }

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  gap: clamp(45px, 8vw, 110px);
  min-height: 430px;
  margin-top: clamp(78px, 10vw, 135px);
  padding: clamp(38px, 6vw, 78px);
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--jade-deep);
  box-shadow: var(--shadow);
}

.about-section::before { position: absolute; width: 360px; height: 360px; right: -160px; top: -170px; content: ""; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); }
.about-art { position: relative; display: grid; width: min(100%, 300px); aspect-ratio: 1; place-items: center; justify-self: center; }
.about-circle { position: absolute; inset: 8%; background: #e5d0a9; border-radius: 50%; box-shadow: 20px 18px 0 rgba(255,255,255,.08); }
.about-art strong { position: relative; z-index: 2; color: var(--jade-deep); font-family: var(--serif); font-size: clamp(90px, 12vw, 150px); font-weight: 500; font-style: italic; line-height: 1; transform: translate(-6px, -5px); }
.about-art small { position: absolute; z-index: 3; right: 5%; bottom: 18%; padding: 6px 10px; color: #fff; background: #a5483f; font-size: 8px; font-weight: 800; letter-spacing: .22em; }
.about-copy { position: relative; z-index: 2; min-width: 0; }
.about-copy > p:first-child { color: #f0cb94; }
.about-copy h2 { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(36px, 5vw, 58px); font-weight: 550; line-height: 1.18; }
.about-copy > p:not(:first-child) { max-width: 670px; margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.about-copy > p + p { margin-top: 13px !important; }
.about-copy blockquote { margin: 27px 0 0; padding: 14px 0 14px 19px; border-left: 3px solid #f0cb94; color: #fff; font-family: var(--serif); font-size: clamp(18px, 2.2vw, 24px); }

.site-footer { padding-block: 42px; color: rgba(255,255,255,.68); background: var(--charcoal); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: end; }
.footer-inner strong { color: #fff; font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .08em; }
.footer-inner p { margin: 4px 0 0; font-size: 10px; letter-spacing: .06em; }
.footer-inner > p { text-align: center; }
.footer-inner > a { justify-self: end; color: #fff; font-size: 11px; font-weight: 700; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 550ms ease, transform 550ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .main-nav a { min-width: 62px; padding-inline: 11px; }
  .hero-slide { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
  .hero-copy { padding-inline: clamp(30px, 5vw, 55px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-visual { aspect-ratio: 16 / 9; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author-card, .site-note { min-height: 100%; }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 68px; }
  body.menu-open { overflow: hidden; }
  .header-inner { position: relative; min-height: 64px; }
  .menu-toggle { display: grid; flex: 0 0 auto; }
  .main-nav {
    position: fixed;
    z-index: 101;
    inset: 64px 0 0;
    display: flex;
    min-height: 0;
    padding: 25px clamp(22px, 7vw, 54px) 40px;
    align-items: stretch;
    flex-direction: column;
    color: var(--jade-deep);
    background: rgba(244, 250, 247, .985);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .main-nav a { display: flex; min-height: 68px; padding: 0; justify-content: space-between; color: var(--jade-deep); background: transparent; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(23px, 7vw, 34px); }
  .main-nav a::after { position: static; width: 25px; height: 25px; background: transparent; content: "↗"; font-family: var(--sans); font-size: 16px; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--jade); background: transparent; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .no-js .menu-toggle { display: none; }
  .no-js .main-nav { position: static; width: 100%; padding: 8px 0 2px; opacity: 1; visibility: visible; pointer-events: auto; transform: none; flex-direction: row; flex-wrap: wrap; background: transparent; }
  .no-js .main-nav a { min-height: 38px; margin-right: 18px; color: #fff; border: 0; font-family: var(--sans); font-size: 12px; }
  .no-js .main-nav a::after { display: none; }
  .carousel { border-width: 7px; }
  .carousel-viewport { height: 600px; }
  .hero-slide { grid-template-columns: 1fr; grid-template-rows: minmax(330px, auto) minmax(210px, 1fr); }
  .hero-copy { padding: 42px 30px 78px; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(37px, 8vw, 52px); }
  .hero-art { min-height: 220px; }
  .hero-stamp { top: 22px; right: 25px; }
  .hero-art-mountain .sun { top: 45px; right: 30%; width: 74px; }
  .mountain { bottom: -96%; }
  .mountain-front { bottom: -116%; }
  .window-frame { inset: 26px 56px 20px; }
  .leaf-one { bottom: 18px; }
  .leaf-two { bottom: 66px; }
  .leaf-three { bottom: 109px; }
  .code-orbit { width: 270px; height: 160px; }
  .carousel-controls { right: 13px; bottom: 12px; }
  .content-grid { padding-top: 90px; }
  .post-entry { grid-template-columns: minmax(130px, 27%) minmax(0, 1fr); }
  .post-heading { display: block; }
  .category-label { display: inline-block; margin: 0 0 13px; }
  .sidebar { grid-template-columns: 1fr 1fr; }
  .about-section { grid-template-columns: minmax(190px, .62fr) minmax(0, 1.38fr); gap: 35px; }
  .about-art { width: min(100%, 230px); }
}

@media (max-width: 600px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand-copy small { display: none; }
  .hero { padding-top: 18px; }
  .carousel-viewport { height: 620px; }
  .hero-slide { grid-template-rows: minmax(390px, auto) minmax(190px, 1fr); }
  .hero-copy { padding: 36px 23px 75px; justify-content: flex-start; }
  .hero-kicker { margin-bottom: 14px; font-size: 8px; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(34px, 10.3vw, 45px); line-height: 1.25; }
  .hero-copy > p:not(.hero-kicker) { margin-top: 17px; font-size: 13px; line-height: 1.75; }
  .hero-link { min-height: 44px; margin-top: 20px; }
  .carousel-controls { left: 50%; right: auto; transform: translateX(-50%); }
  .feature-section { padding-top: 65px; }
  .section-title, .panel-heading { display: block; }
  .section-title > span, .panel-heading > span { display: block; margin-top: 10px; text-align: left; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-visual { aspect-ratio: 16 / 8.5; }
  .article-feed { padding: 21px 18px 24px; }
  .content-grid { padding-top: 78px; }
  .post-entry { grid-template-columns: 1fr; gap: 22px; }
  .post-visual { min-height: 185px; aspect-ratio: 16 / 8.4; }
  .post-heading h3 { font-size: 23px; }
  .sidebar { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: 1fr; padding: 38px 23px 45px; }
  .about-art { width: min(67vw, 235px); }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-inner > p { text-align: left; }
  .footer-inner > a { justify-self: start; }
}

@media (max-width: 380px) {
  .brand-seal { width: 33px; height: 33px; }
  .brand-copy strong { font-size: 15px; }
  .carousel-viewport { height: 640px; }
  .hero-slide { grid-template-rows: minmax(420px, auto) minmax(180px, 1fr); }
  .hero-copy { padding-inline: 19px; }
  .hero-copy h1, .hero-copy h2 { font-size: 32px; }
  .carousel-arrow, .carousel-pause { width: 31px; }
  .feature-copy { padding-inline: 16px; }
}

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

@media print {
  body { color: #111; background: #fff; }
  body::before, body::after, .site-header, .reading-progress, .carousel-controls, .site-footer { display: none !important; }
  .hero { padding-top: 0; }
  .carousel { border: 1px solid #ccc; box-shadow: none; }
  .feature-card, .article-feed, .side-card, .about-section { box-shadow: none; }
  .about-section { color: #111; background: #fff; border: 1px solid #ccc; }
  .about-copy > p:not(:first-child) { color: #333; }
  .post-details > div { display: block; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
