:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f3f7f3;
  --text: #152117;
  --text-muted: #4f6053;
  --line: #d6e1d7;
  --accent: #6f9375;
  --accent-deep: #3f6a49;
  --accent-soft: #e8f1e8;
  --accent-soft-2: #dcebdd;
  --dark: #213629;
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-strong: rgba(255, 255, 255, 0.68);
  --glass-dark: rgba(21, 36, 25, 0.52);
  --glass-line: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 14px 38px rgba(20, 39, 24, 0.14);
  --glass-specular: rgba(255, 255, 255, 0.78);
  --glass-specular-soft: rgba(255, 255, 255, 0.38);
  --font-display: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #ffffff 0%, #f6faf6 38%, #edf4ed 100%);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(680px circle at 12% 14%, rgba(212, 236, 217, 0.52), transparent 58%),
    radial-gradient(520px circle at 86% 24%, rgba(227, 241, 229, 0.58), transparent 62%),
    radial-gradient(560px circle at 50% 86%, rgba(214, 231, 217, 0.42), transparent 64%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.14;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.42) 0.5px, transparent 0.5px),
    radial-gradient(rgba(17, 37, 24, 0.05) 0.5px, transparent 0.5px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 1px;
}

.container {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 121;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.028em;
  text-transform: none;
  font-size: clamp(1.45rem, 1.4vw + 0.95rem, 2.2rem);
  line-height: 1;
  position: relative;
}

.home-page .brand,
.about-page .brand {
  color: #f6fbf7;
  text-shadow: 0 6px 16px rgba(7, 15, 10, 0.42);
}

.home-page .site-header .brand {
  opacity: 0;
  pointer-events: none;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.32rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(63, 106, 73, 0.45), rgba(255, 255, 255, 0));
  opacity: 0.7;
}

.menu-dropdown {
  position: relative;
  z-index: 140;
}

.menu-toggle {
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(232, 245, 235, 0.26));
  box-shadow: 0 10px 24px rgba(20, 38, 26, 0.18);
  backdrop-filter: blur(12px) saturate(165%) contrast(110%);
  -webkit-backdrop-filter: blur(12px) saturate(165%) contrast(110%);
  border-radius: 12px;
  width: 44px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 12px 28px rgba(20, 38, 26, 0.2);
}

.menu-dropdown[open] .menu-toggle {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(225, 240, 229, 0.42));
  transform: translateY(-1px);
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.dropdown-nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  z-index: 150;
  width: min(240px, 78vw);
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: linear-gradient(148deg, rgba(255, 255, 255, 0.72), rgba(236, 247, 238, 0.42));
  box-shadow:
    0 24px 44px rgba(12, 24, 16, 0.22),
    0 8px 18px rgba(18, 34, 23, 0.14);
  backdrop-filter: blur(14px) saturate(170%) contrast(108%);
  -webkit-backdrop-filter: blur(14px) saturate(170%) contrast(108%);
}

.dropdown-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dropdown-nav a:hover,
.dropdown-nav a.active {
  background: rgba(223, 237, 226, 0.72);
  color: var(--accent-deep);
  transform: translateX(2px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-deep);
  background: linear-gradient(125deg, rgba(232, 241, 232, 0.8), rgba(220, 235, 221, 0.7));
}

.main-nav a.active {
  box-shadow: inset 0 0 0 1px rgba(111, 147, 117, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
}

.icon {
  width: 0.95rem;
  height: 0.95rem;
  display: inline-block;
  color: currentColor;
  flex: 0 0 auto;
}

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

.btn::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -120%;
  width: 42%;
  height: 120%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
  transition: left 0.42s ease;
  pointer-events: none;
}

.btn:hover::after {
  left: 130%;
}

.btn-solid {
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 25px rgba(63, 106, 73, 0.24);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.64);
  color: var(--text);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.58), rgba(233, 244, 235, 0.52));
  box-shadow: 0 8px 24px rgba(22, 40, 27, 0.1);
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-backdrop-filter: blur(10px) saturate(145%);
}

.site-header .btn {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.34), rgba(228, 242, 231, 0.24));
  box-shadow: 0 8px 22px rgba(20, 38, 26, 0.16);
  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
}

.site-header .btn:hover {
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.42), rgba(228, 242, 231, 0.32));
}

.hero {
  padding: 4rem 0 2.25rem;
  position: relative;
  min-height: auto;
}

.hero.hero-image {
  padding: 0;
  min-height: clamp(360px, 46vw, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.home-page .hero.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(10, 18, 12, 0.08) 0%, rgba(10, 18, 12, 0) 38%),
    radial-gradient(80% 90% at 12% 10%, rgba(255, 245, 228, 0.18), rgba(255, 245, 228, 0) 62%),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
  background-position: center, center, center, center;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
}

.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: clamp(5.5rem, 10vw, 8.5rem) 0 clamp(2.2rem, 4vw, 3.2rem);
  display: flex;
  align-items: flex-end;
}

.hero.hero-image .hero-copy {
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
}

.home-page .hero.hero-image .hero-copy {
  position: relative;
  width: min(740px, 100%);
  margin-left: clamp(2rem, 7vw, 6.5rem);
  padding: clamp(1rem, 2.2vw, 1.6rem) clamp(1rem, 2.4vw, 1.8rem);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(224, 240, 228, 0.12));
  box-shadow:
    0 34px 62px rgba(10, 21, 14, 0.34),
    0 10px 22px rgba(20, 38, 26, 0.2),
    14px 14px 0 rgba(18, 33, 22, 0.09);
  backdrop-filter: blur(12px) saturate(170%) contrast(112%);
  -webkit-backdrop-filter: blur(12px) saturate(170%) contrast(112%);
}

.home-page .hero.hero-image .hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(160deg, var(--glass-specular) 0%, rgba(255, 255, 255, 0.05) 52%),
    radial-gradient(140% 90% at 18% 0%, var(--glass-specular-soft) 0%, rgba(255, 255, 255, 0) 55%);
}

.home-page .hero.hero-image .hero-simple-copy {
  width: min(760px, 100%);
  margin-left: clamp(1.2rem, 5vw, 4.5rem);
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-page .hero.hero-image .hero-simple-copy::after {
  display: none;
}

.home-page .hero.hero-image .hero-simple-copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.home-page .hero.hero-image .hero-simple-copy p {
  max-width: 52ch;
  margin-top: 1rem;
  font-size: clamp(1rem, 1.1vw + 0.88rem, 1.28rem);
  line-height: 1.55;
  color: rgba(246, 252, 247, 0.96);
}

.home-page .hero.hero-image .hero-simple-copy .hero-actions {
  margin-top: 1.5rem;
  justify-content: flex-start;
}

.home-page .hero.hero-image .hero-simple-copy .btn {
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.hero-stage {
  position: static;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 800;
  color: #4c5e50;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-copy p,
.page-hero p,
.section p {
  color: var(--text-muted);
  max-width: 62ch;
}

.hero.hero-image .hero-copy h1 {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.hero.hero-image .hero-copy p {
  color: rgba(245, 251, 246, 0.96);
  max-width: 60ch;
  font-weight: 600;
}

.hero.hero-image .eyebrow {
  color: #e8f4e9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero.hero-image .btn-outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  background: rgba(20, 34, 25, 0.36);
  backdrop-filter: blur(2px);
}

.hero.hero-image .btn-outline:hover {
  background: rgba(20, 34, 25, 0.52);
}

.home-page .hero.hero-image .hero-actions .btn {
  border: 1px solid rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(10px) saturate(165%) contrast(110%);
  -webkit-backdrop-filter: blur(10px) saturate(165%) contrast(110%);
}

.home-page .hero.hero-image .hero-actions .btn-solid {
  background: linear-gradient(145deg, rgba(132, 172, 141, 0.8), rgba(58, 100, 68, 0.9));
  box-shadow: 0 10px 24px rgba(27, 63, 35, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.home-page .hero.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(95% 75% at 78% 4%, rgba(255, 221, 177, 0.28), rgba(255, 221, 177, 0) 55%),
    radial-gradient(120% 110% at 6% 100%, rgba(152, 198, 166, 0.2), rgba(152, 198, 166, 0) 58%);
  animation: heroHighlightShift 18s ease-in-out infinite alternate;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  perspective: 1800px;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

.glow-one {
  width: 260px;
  height: 260px;
  background: #8fb79a;
  top: 30px;
  right: 80px;
}

.glow-two {
  width: 210px;
  height: 210px;
  background: #b8d7be;
  bottom: 20px;
  left: 20px;
}

.portrait-shell {
  position: relative;
  width: min(450px, 98%);
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-8deg) scale(0.94);
  will-change: transform;
  transition: transform 0.05s linear, filter 0.08s linear;
}

.hero-portrait {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transform-origin: 50% 55%;
  backface-visibility: hidden;
  filter: drop-shadow(0 25px 45px rgba(26, 51, 33, 0.2));
  transition: transform 0.04s linear, filter 0.06s linear;
}

.portrait-light {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.42) 20%, rgba(255, 255, 255, 0.08) 45%, rgba(31, 58, 39, 0.18) 82%);
  mix-blend-mode: screen;
  opacity: 0.34;
  -webkit-mask-image: url("portrait-cutout.png");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("portrait-cutout.png");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.portrait-rim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(28, 47, 33, 0.62), rgba(28, 47, 33, 0) 22%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, 0.42));
  opacity: 0;
  mix-blend-mode: overlay;
  -webkit-mask-image: url("portrait-cutout.png");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("portrait-cutout.png");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.portrait-shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 5%;
  height: 64px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(39, 65, 45, 0.32), rgba(39, 65, 45, 0) 70%);
  filter: blur(10px);
  z-index: 1;
  transform: translateY(20px) scale(0.92);
}

.scroll-hint {
  text-align: center;
  margin: 1.8rem 0 0;
  color: #5b6d5f;
  font-size: 0.88rem;
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  display: block;
}

.home-hero-image {
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(14, 26, 17, 0.72) 0%, rgba(14, 26, 17, 0.46) 46%, rgba(14, 26, 17, 0.2) 78%, rgba(14, 26, 17, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.34));
}

.home-page .home-hero-image {
  animation: heroImageDrift 24s ease-in-out infinite alternate;
  transform-origin: center center;
}

.home-page .hero.hero-image .hero-copy {
  animation: heroPanelFloat 10s ease-in-out infinite;
}

.section {
  padding: clamp(4rem, 7vw, 5.6rem) 0;
}

.section-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(243, 249, 244, 0.14));
}

.home-page .section.section-light .container > h2,
.home-page .section.section-light .container > .eyebrow {
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.28);
}

.section-dark {
  background: linear-gradient(180deg, rgba(33, 54, 41, 0.9), rgba(27, 45, 33, 0.88));
  color: #f7fbf7;
}

.section-dark p,
.section-dark .eyebrow {
  color: #c5d9c9;
}

.section h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.8vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.summary-wrap {
  display: grid;
  margin-top: 1.8rem;
  justify-items: center;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.post-card,
.case-card,
.cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.64), rgba(236, 247, 238, 0.42));
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow:
    0 26px 52px rgba(12, 24, 16, 0.2),
    0 9px 20px rgba(18, 34, 23, 0.14);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-card::before,
.post-card::before,
.case-card::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.03) 45%);
}

.info-card:hover,
.post-card:hover,
.case-card:hover,
.cta-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 34px 64px rgba(9, 19, 12, 0.28),
    0 14px 26px rgba(15, 30, 20, 0.2);
}

.home-page .info-card,
.home-page .cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.68), rgba(233, 246, 236, 0.3));
  box-shadow:
    0 30px 56px rgba(12, 24, 16, 0.24),
    0 12px 24px rgba(18, 34, 23, 0.16),
    10px 10px 0 rgba(17, 31, 21, 0.08);
  backdrop-filter: blur(18px) saturate(168%) contrast(110%);
  -webkit-backdrop-filter: blur(18px) saturate(168%) contrast(110%);
  position: relative;
  overflow: hidden;
}

.home-page .info-card::after,
.home-page .cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.04) 48%),
    radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 52%);
}

.summary-card {
  width: min(100%, 980px);
  margin-inline: auto;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  text-align: left;
}

.summary-card h3,
.summary-card p {
  max-width: 100%;
}

.summary-card p {
  width: min(100%, 70ch);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.78;
}

.summary-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.4rem, 3vw, 2.1rem);
  width: min(150px, 28%);
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 106, 73, 0.85), rgba(63, 106, 73, 0));
}

.home-page .section.section-dark .split {
  padding: clamp(1rem, 2vw, 1.6rem);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(203, 225, 208, 0.1));
  backdrop-filter: blur(8px) saturate(152%) contrast(108%);
  -webkit-backdrop-filter: blur(8px) saturate(152%) contrast(108%);
  position: relative;
  overflow: hidden;
}

.info-card h3,
.post-card h2,
.case-card h2,
.case-card h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  min-height: 84px;
  display: flex;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(143, 183, 154, 0.24), rgba(244, 252, 246, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  position: relative;
  overflow: hidden;
}

.feature-list li::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  opacity: 0.9;
}

.feature-list a {
  display: block;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.feature-list li:hover {
  transform: translateX(4px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  background: linear-gradient(135deg, rgba(160, 196, 169, 0.34), rgba(247, 252, 248, 0.44));
  border-color: rgba(255, 255, 255, 0.62);
}

.page-hero {
  padding: 5.3rem 0 2.2rem;
}

.page-hero .container {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.5), rgba(236, 247, 238, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  padding: clamp(1.5rem, 2vw, 2.25rem);
  box-shadow:
    0 24px 48px rgba(12, 24, 16, 0.2),
    0 9px 20px rgba(18, 34, 23, 0.13);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
}

.post-meta {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
  color: #5b6b5f;
  font-weight: 700;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: 1.65rem;
}

.post-card h2 {
  margin-bottom: 0.7rem;
}

.post-card .post-excerpt {
  flex: 1 1 auto;
}

.post-card a {
  margin-top: auto;
}

.post-card::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 106, 73, 0.78), rgba(63, 106, 73, 0));
}

.post-card a,
.footer-wrap a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-page {
  background: radial-gradient(circle at top left, #fbfdfb 0%, #f1f7f2 42%, #e7f0e7 100%);
}

.article-page .site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(248, 252, 248, 0.92), rgba(248, 252, 248, 0.74));
  border-bottom: 1px solid rgba(214, 225, 215, 0.62);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.article-page .brand {
  color: var(--text);
  text-shadow: none;
}

.article-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(90deg, rgba(28, 50, 34, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(255, 244, 228, 0.24), rgba(255, 244, 228, 0) 35%);
  background-size: 32px 32px, auto;
}

.article-page .page-hero {
  padding-top: 5rem;
}

.article-quicknav {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 130;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(92vw, 360px);
}

.article-quicknav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.68rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(231, 243, 234, 0.72));
  box-shadow:
    0 12px 24px rgba(12, 24, 16, 0.16),
    0 4px 10px rgba(18, 34, 23, 0.08);
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-backdrop-filter: blur(10px) saturate(145%);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.article-quicknav a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 247, 239, 0.82));
}

.article-shell {
  display: grid;
  gap: 1.5rem;
  width: min(960px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.article-layout {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 250, 245, 0.9));
  border-radius: 22px;
  box-shadow:
    0 20px 42px rgba(12, 24, 16, 0.12),
    0 8px 18px rgba(18, 34, 23, 0.08);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  padding: clamp(1.5rem, 2.6vw, 2.8rem);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.article-layout::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(63, 106, 73, 0.9), rgba(111, 147, 117, 0.4), rgba(255, 255, 255, 0));
}

.article-layout::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(140px, 20%);
  height: min(140px, 20%);
  border-top-right-radius: 22px;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.word-content {
  display: grid;
  gap: 0;
  justify-items: stretch;
  align-items: start;
  min-width: 0;
}

.word-content > * {
  min-width: 0;
  max-width: 100%;
}

.article-layout > *:first-child {
  margin-top: 0;
}

.article-layout h2,
.article-layout h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 2rem 0 0.9rem;
  color: #132117;
}

.article-layout h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.article-layout h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
}

.article-layout p,
.article-layout li,
.article-layout td,
.article-layout th {
  font-size: clamp(0.98rem, 0.32vw + 0.92rem, 1.04rem);
  color: #203025;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-layout p {
  margin: 0 0 1rem;
  line-height: 1.82;
}

.article-layout strong {
  color: #112017;
}

.article-layout ul,
.article-layout ol {
  margin: 0 0 1.15rem 1.15rem;
  padding: 0;
}

.article-layout li + li {
  margin-top: 0.45rem;
}

.article-lead {
  font-size: 1.08rem;
  color: #193125;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-bottom: 1rem;
  color: #516255;
  font-size: 0.92rem;
  font-weight: 700;
}

.article-figure {
  margin: 1.35rem auto 1rem;
  width: min(100%, 640px);
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(216, 229, 219, 0.95);
  background: #f8fbf8;
  box-shadow:
    0 12px 26px rgba(14, 28, 18, 0.08),
    0 4px 10px rgba(18, 34, 23, 0.05);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #f4f8f4;
}

.crop-box {
  --crop-l: 0;
  --crop-t: 0;
  --crop-r: 0;
  --crop-b: 0;
  --crop-ar: 1;
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: var(--crop-ar);
  background: #f4f8f4;
}

.crop-box > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position:
    calc((1 + var(--crop-l) - var(--crop-r)) * 50%)
    calc((1 + var(--crop-t) - var(--crop-b)) * 50%);
}

.article-figure figcaption {
  padding: 0.75rem 0.95rem 0.85rem;
  font-size: 0.84rem;
  color: #66776a;
  font-weight: 600;
}

.figure-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 100%;
}

.figure-grid img {
  border-radius: 16px;
}

.figure-grid .crop-box {
  border-radius: 16px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.2rem;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.article-table th,
.article-table td {
  padding: 0.78rem 0.85rem;
  text-align: left;
  border: 1px solid rgba(162, 185, 168, 0.48);
  vertical-align: top;
}

.article-table th {
  background: rgba(223, 237, 226, 0.75);
  color: #173022;
}

.references {
  padding-top: 1rem;
  border-top: 1px solid rgba(162, 185, 168, 0.4);
}

.word-content .p1,
.word-content .p2,
.word-content .p3,
.word-content .p4 {
  width: min(100%, 66ch);
  margin: 0 0 1rem;
  color: #203025;
  font-size: clamp(1rem, 0.35vw + 0.96rem, 1.08rem);
  line-height: 1.86;
  font-weight: 400;
}

.word-content .p1:first-child {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1;
  color: #132117;
  width: min(100%, 20ch);
  margin: 0 0 1.55rem;
  letter-spacing: -0.03em;
  text-wrap: balance;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "tnum" 0;
  font-weight: 600;
}

.word-content > .p1:nth-of-type(2),
.word-content > .p1:nth-of-type(3) {
  width: min(100%, 66ch);
  font-size: 0.92rem;
  line-height: 1.55;
  color: #6b7c70;
  margin-bottom: 0.45rem;
  font-weight: 400;
}

.word-content > .p1:nth-of-type(4)::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.9rem;
  line-height: 0.82;
  padding-right: 0.42rem;
  margin-top: 0.18rem;
  color: #183123;
}

.word-content .p1:has(> b:first-child:last-child):not(:has(br)),
.word-content .p3:has(> span) {
  margin-bottom: 0.75rem;
}

.word-content .p1 b,
.word-content .p3,
.word-content .p4 {
  color: #173022;
}

.word-content .p2 {
  min-height: 0;
  margin-bottom: 0.35rem;
}

.word-content .p1:has(> b:first-child:last-child):not(:first-child),
.word-content .p1 strong,
.word-content .p1 b {
  font-weight: 700;
}

.word-content .p1:has(> b:first-child:last-child):not(:first-child) {
  font-size: 1.04rem;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 0.95rem;
  color: #112017;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
}

.word-content .p1:has(> i):not(:first-child) {
  color: #5a695e;
  font-size: 0.98rem;
}

.word-content .ul1 {
  width: min(100%, 66ch);
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.word-content .ul1:has(.li1) {
  list-style-position: outside;
  padding: 0;
}

.word-content .li1 {
  margin-bottom: 0.5rem;
  color: #203025;
  font-size: 1.03rem;
  line-height: 1.8;
}

.word-content .t1 {
  width: min(100%, 760px);
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.35rem auto 1.7rem;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 16px 28px rgba(14, 28, 18, 0.08),
    inset 0 0 0 1px rgba(162, 185, 168, 0.34);
  table-layout: fixed;
}

.word-content .td1 {
  border: 1px solid rgba(162, 185, 168, 0.42);
  padding: 0;
  vertical-align: top;
}

.word-content .td1 .p1,
.word-content .td1 .p3 {
  margin: 0;
  padding: 0.78rem 0.85rem;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.word-content .t1 tr:first-child .td1 {
  background: rgba(223, 237, 226, 0.78);
}

.word-content .t1 tr:first-child .td1 .p1,
.word-content .t1 tr:first-child .td1 .p3 {
  font-weight: 700;
  color: #173022;
}

.word-content .article-figure {
  width: min(100%, 640px);
  margin: 1.35rem auto 1.1rem;
}

.word-content .figure-grid {
  padding: 0.8rem;
}


.word-content .article-figure img,
.word-content .figure-grid img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.word-content .article-figure:hover img,
.word-content .article-figure:hover .figure-grid img {
  transform: scale(1.012);
  filter: saturate(1.03) contrast(1.02);
}

.post-card .post-excerpt {
  margin-bottom: 0.85rem;
}

.stack {
  display: grid;
  gap: 1.1rem;
}

.cv-hero {
  padding-bottom: 0.85rem;
}

.cv-hero .container {
  padding-bottom: 1.2rem;
}

.cv-section {
  padding-top: 0.35rem;
}

.cv-stack {
  gap: 0;
}

.cv-card {
  padding: clamp(1rem, 1.5vw, 1.35rem);
}

.case-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pdf-frame {
  width: 100%;
  min-height: clamp(760px, 86vh, 1180px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(162, 185, 168, 0.36);
  background: rgba(247, 251, 247, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    0 16px 30px rgba(14, 28, 18, 0.08);
  margin-bottom: 1rem;
}

.pdf-embed {
  display: block;
  width: 100%;
  height: clamp(760px, 86vh, 1180px);
  border: 0;
}

.about-page {
  background: #101a13;
}

.about-page::before {
  display: none;
}

.about-page::after {
  display: none;
}

.about-hero-full {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.about-hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, rgba(16, 28, 19, 0.44) 0%, rgba(16, 28, 19, 0.14) 52%, rgba(16, 28, 19, 0.34) 100%),
    url("moon_with_scenic_background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.about-overlay-layout {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-overlay-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding-block: clamp(2rem, 5vw, 3.2rem);
  padding-right: clamp(5.5rem, 14vw, 13rem);
}

.about-overlay-card {
  width: min(520px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(235, 247, 238, 0.1));
  border-radius: 24px;
  box-shadow:
    0 34px 60px rgba(7, 14, 9, 0.34),
    0 11px 22px rgba(18, 33, 23, 0.2),
    12px 12px 0 rgba(10, 18, 12, 0.12);
  backdrop-filter: blur(8px) saturate(128%);
  -webkit-backdrop-filter: blur(8px) saturate(128%);
  padding: clamp(1.4rem, 2.4vw, 2rem);
}

.about-overlay-card h1 {
  color: #102117;
  margin-top: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

@keyframes heroImageDrift {
  0% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.07) translate3d(-1.2%, -1%, 0);
  }
}

@keyframes heroHighlightShift {
  0% {
    opacity: 0.68;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0.92;
    transform: translate3d(-1.2%, 1%, 0);
  }
}

@keyframes heroPanelFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.about-overlay-card p {
  color: #1e3423;
  font-weight: 600;
  margin-top: 0.85rem;
}

.about-overlay-card .eyebrow {
  color: #102117;
}

.about-overlay-card p,
.about-overlay-card .eyebrow {
  color: #102117;
}

.about-inline-figure {
  margin: 1.15rem 0 1.1rem;
  width: min(100%, 290px);
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(233, 245, 236, 0.18));
  box-shadow:
    0 18px 34px rgba(7, 14, 9, 0.18),
    0 8px 16px rgba(18, 33, 23, 0.12);
}

.about-inline-image {
  display: block;
  width: 100%;
  height: auto;
}

.about-social-section {
  padding-top: 1.2rem;
  padding-bottom: clamp(3rem, 6vw, 4.6rem);
}

.about-social-wrap {
  display: flex;
  justify-content: center;
}

.about-social-card {
  width: min(860px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.44), rgba(235, 247, 238, 0.22));
  border-radius: 24px;
  box-shadow:
    0 24px 44px rgba(10, 18, 12, 0.16),
    0 8px 16px rgba(18, 33, 23, 0.1);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  padding: clamp(1.25rem, 2.2vw, 1.8rem);
  text-align: center;
  overflow: hidden;
}

.about-social-card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #102117;
}

.about-social-card .eyebrow {
  color: #35503d;
}

.about-social-card .tiktok-embed {
  margin: 0 auto !important;
  width: min(100%, 780px) !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.about-social-card iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.about-image-card,
.about-copy-card {
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.64), rgba(236, 247, 238, 0.42));
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  overflow: hidden;
}

.about-copy-card {
  padding: 1.5rem;
}

.about-main-image,
.about-secondary-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-main-image {
  height: clamp(340px, 44vw, 560px);
  object-position: center 42%;
}

.about-wide-image {
  border-radius: 24px;
}

.about-secondary-image {
  height: clamp(280px, 34vw, 460px);
  object-position: center 48%;
}

.cta-panel {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 250, 245, 0.96));
  position: relative;
}

.cta-panel .hero-actions {
  justify-content: center;
}

.cta-panel .eyebrow {
  font-size: clamp(0.95rem, 1vw + 0.7rem, 1.25rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  color: #2d4a34;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 110% at 50% 0%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 60%),
    linear-gradient(90deg, rgba(63, 106, 73, 0.08) 1px, transparent 1px);
  background-size: auto, 28px 100%;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  background: linear-gradient(180deg, rgba(244, 250, 245, 0.48), rgba(236, 246, 237, 0.56));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.footer-wrap {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #58695d;
  font-size: 0.93rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .two-up,
  .three-up,
  .case-columns,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.75rem 0;
  }

  .site-header {
    top: 0.4rem;
  }

  .nav-wrap {
    min-height: 64px;
    padding: 0 0.2rem;
  }

  .dropdown-nav {
    width: min(280px, 84vw);
  }

  .article-quicknav {
    right: 1rem;
    bottom: 1rem;
  }

  .article-page .section.section-light {
    padding-bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px));
  }

  .article-shell {
    width: min(100%, 860px);
    gap: 1.15rem;
  }

  .about-overlay-wrap {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
    padding-top: 5.2rem;
  }

  .about-overlay-card {
    width: min(620px, 100%);
    padding: 1.35rem;
  }

  .about-inline-figure {
    width: min(100%, 270px);
  }

  .about-social-card {
    width: min(100%, 760px);
    padding: 1.1rem;
  }

  .hero {
    padding-top: 2.6rem;
    min-height: auto;
  }

  .hero.hero-image {
    min-height: clamp(360px, 66vw, 520px);
  }

  .hero-content {
    padding-top: clamp(5rem, 12vw, 6.2rem);
    padding-bottom: clamp(1.4rem, 3vw, 2.4rem);
  }

  .home-page .hero.hero-image .hero-copy {
    margin-left: 0;
    width: min(640px, 100%);
    padding: 1rem 1.05rem 1.15rem;
  }

  .home-page .hero.hero-image::before {
    background-size: auto, auto, 28px 28px, 28px 28px;
  }

  .home-page .hero.hero-image .hero-simple-copy {
    margin-left: 0;
    width: min(620px, 100%);
  }

  .home-page .hero.hero-image .hero-simple-copy p {
    max-width: 42ch;
  }

  .summary-card {
    width: min(100%, 860px);
  }

  .page-hero {
    padding-top: 4.8rem;
  }

  .cv-hero {
    padding-bottom: 0.65rem;
  }

  .cv-section {
    padding-top: 0.25rem;
  }

  .article-layout {
    padding: 1.2rem 1.05rem 1.3rem;
    border-radius: 20px;
  }

  .article-layout::after {
    width: min(96px, 18%);
    height: min(96px, 18%);
  }

  .article-layout h2 {
    font-size: clamp(1.55rem, 2vw + 0.9rem, 2rem);
  }

  .article-layout h3 {
    font-size: clamp(1.18rem, 1.3vw + 0.8rem, 1.45rem);
  }

  .article-layout p,
  .article-layout li,
  .article-layout td,
  .article-layout th {
    font-size: 0.98rem;
  }

  .article-layout p {
    line-height: 1.72;
  }

  .word-content > .p1:nth-of-type(4)::first-letter {
    font-size: 3.3rem;
  }


  .word-content .t1,
  .article-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 14px;
  }

  .word-content .t1 tbody {
    display: table-row-group;
  }

  .word-content .t1 tr {
    display: table-row;
  }

  .word-content .td1 .p1,
  .word-content .td1 .p3 {
    padding: 0.72rem 0.78rem;
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .word-content .article-figure {
    width: min(100%, 600px);
    margin: 1.1rem auto 0.95rem;
    border-radius: 14px;
  }

  .word-content .figure-grid {
    padding: 0.65rem;
  }

  .hero-stage {
    position: static;
  }

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

  .portrait-shell {
    width: min(360px, 95%);
  }

  .footer-wrap {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 0;
  }

  .info-card,
  .post-card,
  .case-card,
  .cta-panel {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .pdf-frame,
  .pdf-embed {
    min-height: 76vh;
    height: 76vh;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 1rem));
  }

  .section {
    padding: 3.2rem 0;
  }

  .site-header {
    top: 0.25rem;
  }

  .nav-wrap {
    min-height: 58px;
    gap: 0.8rem;
  }

  .brand {
    font-size: clamp(1.15rem, 5.4vw, 1.6rem);
    letter-spacing: 0.02em;
  }

  .menu-toggle {
    width: 40px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.1rem;
  }

  .dropdown-nav {
    right: -0.15rem;
    width: min(300px, calc(100vw - 1.4rem));
    gap: 0.28rem;
    padding: 0.5rem;
  }

  .dropdown-nav a {
    padding: 0.52rem 0.62rem;
  }

  .article-page .site-header {
    top: 0;
  }

  .article-page::before {
    opacity: 0.34;
    background-size: 24px 24px, auto;
  }

  .article-quicknav {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
    justify-content: center;
  }

  .article-quicknav a {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-size: 0.86rem;
    padding: 0.62rem 0.7rem;
  }

  .article-page .section.section-light {
    padding-bottom: calc(5.7rem + env(safe-area-inset-bottom, 0px));
  }

  .hero.hero-image {
    min-height: clamp(420px, 95vw, 560px);
  }

  .hero-content {
    padding-top: clamp(4.8rem, 16vw, 6.2rem);
    padding-bottom: 1.2rem;
  }

  .home-page .hero.hero-image .hero-copy {
    width: 100%;
    margin-left: 0;
    border-radius: 16px;
    padding: 0.9rem 0.9rem 1rem;
  }

  .home-page .hero.hero-image .hero-simple-copy {
    padding: 0;
    border-radius: 0;
  }

  .home-page .hero.hero-image .hero-simple-copy h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .home-page .hero.hero-image .hero-simple-copy p {
    font-size: 1rem;
    max-width: 32ch;
  }

  .home-page .hero.hero-image .hero-simple-copy .hero-actions {
    justify-content: stretch;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(1.8rem, 9.5vw, 2.5rem);
  }

  .hero-copy p,
  .page-hero p,
  .section p {
    font-size: 0.96rem;
  }

  .hero-actions {
    gap: 0.55rem;
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    padding: 0.62rem 0.9rem;
    font-size: 0.9rem;
  }

  .hero-actions .btn,
  .summary-card .btn,
  .case-card > .btn,
  .cta-panel .btn {
    width: 100%;
  }

  .page-hero .container {
    padding: 1.05rem 1rem 1.15rem;
    border-radius: 16px;
  }

  .page-hero {
    padding-top: 4.35rem;
  }

  .cv-hero {
    padding-bottom: 0.4rem;
  }

  .cv-hero .container {
    padding-bottom: 0.95rem;
  }

  .cv-card {
    padding: 0.8rem;
  }

  .article-layout {
    padding: 0.9rem 0.8rem 1rem;
    border-radius: 18px;
  }

  .article-layout::before {
    height: 4px;
  }

  .article-layout::after {
    display: none;
  }

  .article-layout h2,
  .article-layout h3 {
    margin-top: 1.55rem;
  }

  .article-layout p,
  .article-layout li,
  .article-layout td,
  .article-layout th {
    font-size: 0.95rem;
  }

  .article-layout p {
    line-height: 1.66;
  }

  .word-content .p1,
  .word-content .p2,
  .word-content .p3,
  .word-content .p4,
  .word-content .ul1 {
    width: 100%;
  }

  .word-content .ul1 {
    padding-left: 1.15rem;
  }

  .word-content > .p1:nth-of-type(4)::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    padding-right: 0;
    margin-top: 0;
  }


  .article-table th,
  .article-table td {
    padding: 0.62rem 0.65rem;
    font-size: 0.92rem;
  }

  .word-content .article-figure figcaption,
  .article-figure figcaption {
    padding: 0.72rem 0.8rem 0.8rem;
    font-size: 0.85rem;
  }

  .word-content .article-figure {
    width: 100%;
    margin: 0.95rem 0 0.85rem;
    border-radius: 12px;
  }

  .word-content .article-figure img,
  .word-content .figure-grid img {
    border-radius: 12px;
  }

  .word-content .figure-grid {
    padding: 0.5rem;
    gap: 0.5rem;
    grid-template-columns: 1fr;
  }

  .word-content .t1,
  .article-table {
    border-radius: 12px;
    box-shadow:
      0 10px 20px rgba(14, 28, 18, 0.07),
      inset 0 0 0 1px rgba(162, 185, 168, 0.26);
  }

  .word-content .t1 {
    display: table;
    width: 100%;
    table-layout: fixed;
    overflow: hidden;
  }

  .word-content .td1 .p1,
  .word-content .td1 .p3 {
    padding: 0.52rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1.32;
  }

  .word-content a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .feature-list li {
    min-height: 0;
    padding: 0.85rem 0.9rem;
  }

  .post-card::after {
    left: 1rem;
  }

  .info-card,
  .post-card,
  .case-card,
  .cta-panel,
  .about-overlay-card {
    padding: 1rem;
    border-radius: 14px;
  }

  .about-hero-full,
  .about-overlay-layout {
    min-height: calc(100vh - 130px);
  }

  .about-overlay-wrap {
    padding-top: 4.6rem;
    padding-block-end: 1.4rem;
  }

  .about-inline-figure {
    width: min(100%, 250px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
  }

  .about-social-card {
    border-radius: 16px;
    padding: 1rem 0.8rem;
  }

  .about-social-section {
    padding-top: 0.8rem;
    padding-bottom: 2.6rem;
  }

  .footer-wrap {
    min-height: 64px;
    font-size: 0.86rem;
  }

  .pdf-frame,
  .pdf-embed {
    min-height: 68vh;
    height: 68vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-hero-image,
  .home-page .hero.hero-image::after,
  .home-page .hero.hero-image .hero-copy {
    animation: none;
  }
}

/* Flat mode: remove all cast shadows from UI surfaces */
.menu-toggle,
.dropdown-nav,
.btn-solid,
.btn-outline,
.site-header .btn,
.home-page .hero.hero-image .hero-copy,
.info-card,
.post-card,
.case-card,
.cta-panel,
.home-page .info-card,
.home-page .cta-panel,
.page-hero .container,
.about-overlay-card {
  box-shadow: none !important;
}

.info-card:hover,
.post-card:hover,
.case-card:hover,
.cta-panel:hover {
  box-shadow: none !important;
}
