/* ═══════════════════════════════════════════════════
   AKIBA GLOBAL THEME — main.css
   ═══════════════════════════════════════════════════ */

:root {
  --container: 1320px;
  --text: #161616;
  --muted: #5a6170;
  --bg: #ffffff;
  --bg-soft: #f4f5f9;
  --line: rgba(17, 17, 17, 0.07);
  --header-height: 88px;
  --header-top: 18px;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 12px 36px rgba(18, 28, 45, 0.06);
  --shadow-lg: 0 24px 64px rgba(18, 28, 45, 0.10);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ─── */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

budoux-ja {
  display: inline;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: var(--header-top);
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
}

body.admin-bar .site-header {
  top: 50px;
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 36px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo img {
  height: 42px;
  width: auto;
  max-width: min(320px, 42vw);
}

.site-nav {
  min-width: 0;
  margin-left: auto;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__menu a {
  position: relative;
  color: #1a1a1a;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.site-nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #1a1a1a;
  transition: width 0.3s var(--ease-out);
}

.site-nav__menu a:hover {
  opacity: 0.7;
}

.site-nav__menu a:hover::after {
  width: 100%;
}

/* ─── Hamburger button (hidden on desktop) ─── */

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav overlay (hidden by default) */
.site-nav--mobile {
  display: none;
}

/* ═══════════════════════════════════════════════════
   HERO — Cinematic full-bleed (white brand)
   ═══════════════════════════════════════════════════ */

.site-main {
  min-height: 100vh;
}

.hero--home {
  --is-mobile: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #ffffff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://akibatempurl.wpcomstaging.com/wp-content/uploads/2026/03/akibabg6.png');
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
  filter: saturate(0.95) brightness(1.05) contrast(0.96);
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero--loaded .hero__bg {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(105deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.92) 25%,
      rgba(255, 255, 255, 0.70) 42%,
      rgba(255, 255, 255, 0.30) 58%,
      rgba(255, 255, 255, 0.05) 75%,
      transparent 100%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.40) 0%,
      transparent 25%,
      transparent 100%);
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero--loaded .hero__overlay {
  opacity: 1;
}

/* Bottom fade: blends hero into the white section below */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 30%,
    rgba(255, 255, 255, 0.8) 65%,
    #ffffff 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 140px;
}

.hero__content {
  max-width: 560px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.hero__title {
  margin: 0 0 26px;
  max-width: 12ch;
  color: #111111;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero__title budoux-ja,
.hero__text budoux-ja,
.hero__stat strong budoux-ja,
.section-title budoux-ja,
.section-text budoux-ja {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero__text {
  max-width: 42ch;
  margin: 0 0 34px;
  color: #555b66;
  font-size: clamp(0.92rem, 1.1vw, 1.04rem);
  line-height: 1.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__actions .button + .button {
  margin-top: 0.75rem;
}

/* ─── Buttons (white brand) ─── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease-out),
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

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

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: #1b1f2a;
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(18, 28, 45, 0.16);
  z-index: 1;
}

.button--primary:hover {
  background: #2c3142;
  box-shadow: 0 12px 36px rgba(18, 28, 45, 0.22);
}

.button--secondary {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.70);
  color: #1a1a1a;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 6px 20px rgba(18, 28, 45, 0.08);
}

/* ═══════════════════════════════════════════════════
   HERO RAIL
   ═══════════════════════════════════════════════════ */

.hero__rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60px;
  z-index: 3;
}

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

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.50);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
  text-decoration: none;
  color: inherit;
}

.hero__stat::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #1b1f2a;
  opacity: 0.12;
  margin-bottom: 14px;
  transition: opacity 0.2s ease, width 0.3s var(--ease-out);
}

.hero__stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.hero__stat:hover::before {
  opacity: 0.35;
  width: 36px;
}

.hero__stat-label {
  display: block;
  margin-bottom: 8px;
  color: #8892a4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__stat strong {
  display: block;
  color: #1b1f2a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════
   HERO BLOBS
   ═══════════════════════════════════════════════════ */

.hero__blobs {
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero--loaded .hero__blobs {
  opacity: 1;
}

@keyframes halo-breathe {
  0%   { transform: translateX(-50%) scale(1);   filter: blur(40px); }
  100% { transform: translateX(-50%) scale(1.15); filter: blur(50px); }
}

/* ═══════════════════════════════════════════════════
   INTRO SECTION
   ═══════════════════════════════════════════════════ */

.home-intro {
  position: relative;
  z-index: 5;
  padding: 100px 0 120px;
  background: var(--bg);
  overflow: hidden;
}

.home-intro__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

/* ─── Skyline background ─── */

.skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.skyline__strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  animation: skyline-scroll 120s linear infinite;
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3200' height='200' fill='%23f4f5f9'%3E%3Crect x='0' y='150' width='45' height='50'/%3E%3Crect x='45' y='135' width='55' height='65'/%3E%3Crect x='100' y='155' width='35' height='45'/%3E%3Crect x='135' y='30' width='22' height='170'/%3E%3Crect x='145' y='18' width='2' height='12'/%3E%3Ccircle cx='146' cy='16' r='2'/%3E%3Crect x='157' y='120' width='60' height='80'/%3E%3Crect x='217' y='145' width='40' height='55'/%3E%3Crect x='257' y='150' width='50' height='50'/%3E%3Crect x='307' y='25' width='24' height='175'/%3E%3Crect x='317' y='13' width='2' height='12'/%3E%3Ccircle cx='318' cy='11' r='2'/%3E%3Crect x='331' y='140' width='65' height='60'/%3E%3Crect x='396' y='125' width='40' height='75'/%3E%3Crect x='436' y='155' width='30' height='45'/%3E%3Crect x='466' y='110' width='55' height='90'/%3E%3Crect x='521' y='35' width='22' height='165'/%3E%3Crect x='531' y='22' width='2' height='13'/%3E%3Ccircle cx='532' cy='20' r='2'/%3E%3Crect x='543' y='145' width='45' height='55'/%3E%3Crect x='588' y='150' width='35' height='50'/%3E%3Crect x='623' y='130' width='60' height='70'/%3E%3Crect x='683' y='20' width='24' height='180'/%3E%3Crect x='693' y='7' width='2' height='13'/%3E%3Ccircle cx='694' cy='5' r='2'/%3E%3Crect x='707' y='140' width='50' height='60'/%3E%3Crect x='757' y='115' width='40' height='85'/%3E%3Crect x='797' y='150' width='55' height='50'/%3E%3Crect x='852' y='145' width='35' height='55'/%3E%3Crect x='887' y='30' width='22' height='170'/%3E%3Crect x='897' y='18' width='2' height='12'/%3E%3Ccircle cx='898' cy='16' r='2'/%3E%3Crect x='909' y='155' width='65' height='45'/%3E%3Crect x='974' y='120' width='40' height='80'/%3E%3Crect x='1014' y='140' width='55' height='60'/%3E%3Crect x='1069' y='25' width='24' height='175'/%3E%3Crect x='1079' y='13' width='2' height='12'/%3E%3Ccircle cx='1080' cy='11' r='2'/%3E%3Crect x='1093' y='150' width='45' height='50'/%3E%3Crect x='1138' y='130' width='30' height='70'/%3E%3Crect x='1168' y='145' width='60' height='55'/%3E%3Crect x='1228' y='110' width='40' height='90'/%3E%3Crect x='1268' y='35' width='22' height='165'/%3E%3Crect x='1278' y='22' width='2' height='13'/%3E%3Ccircle cx='1279' cy='20' r='2'/%3E%3Crect x='1290' y='155' width='55' height='45'/%3E%3Crect x='1345' y='135' width='35' height='65'/%3E%3Crect x='1380' y='150' width='50' height='50'/%3E%3Crect x='1430' y='20' width='24' height='180'/%3E%3Crect x='1440' y='7' width='2' height='13'/%3E%3Ccircle cx='1441' cy='5' r='2'/%3E%3Crect x='1454' y='125' width='65' height='75'/%3E%3Crect x='1519' y='140' width='40' height='60'/%3E%3Crect x='1559' y='155' width='55' height='45'/%3E%3Crect x='1614' y='145' width='35' height='55'/%3E%3Crect x='1649' y='30' width='22' height='170'/%3E%3Crect x='1659' y='18' width='2' height='12'/%3E%3Ccircle cx='1660' cy='16' r='2'/%3E%3Crect x='1671' y='130' width='60' height='70'/%3E%3Crect x='1731' y='150' width='45' height='50'/%3E%3Crect x='1776' y='120' width='40' height='80'/%3E%3Crect x='1816' y='25' width='24' height='175'/%3E%3Crect x='1826' y='13' width='2' height='12'/%3E%3Ccircle cx='1827' cy='11' r='2'/%3E%3Crect x='1840' y='150' width='55' height='50'/%3E%3Crect x='1895' y='140' width='35' height='60'/%3E%3Crect x='1930' y='155' width='65' height='45'/%3E%3Crect x='1995' y='110' width='45' height='90'/%3E%3Crect x='2040' y='35' width='22' height='165'/%3E%3Crect x='2050' y='22' width='2' height='13'/%3E%3Ccircle cx='2051' cy='20' r='2'/%3E%3Crect x='2062' y='135' width='50' height='65'/%3E%3Crect x='2112' y='145' width='30' height='55'/%3E%3Crect x='2142' y='130' width='60' height='70'/%3E%3Crect x='2202' y='20' width='24' height='180'/%3E%3Crect x='2212' y='7' width='2' height='13'/%3E%3Ccircle cx='2213' cy='5' r='2'/%3E%3Crect x='2226' y='150' width='55' height='50'/%3E%3Crect x='2281' y='115' width='40' height='85'/%3E%3Crect x='2321' y='145' width='35' height='55'/%3E%3Crect x='2356' y='155' width='45' height='45'/%3E%3Crect x='2401' y='30' width='22' height='170'/%3E%3Crect x='2411' y='18' width='2' height='12'/%3E%3Ccircle cx='2412' cy='16' r='2'/%3E%3Crect x='2423' y='125' width='65' height='75'/%3E%3Crect x='2488' y='140' width='40' height='60'/%3E%3Crect x='2528' y='150' width='55' height='50'/%3E%3Crect x='2583' y='25' width='24' height='175'/%3E%3Crect x='2593' y='13' width='2' height='12'/%3E%3Ccircle cx='2594' cy='11' r='2'/%3E%3Crect x='2607' y='120' width='50' height='80'/%3E%3Crect x='2657' y='145' width='35' height='55'/%3E%3Crect x='2692' y='155' width='60' height='45'/%3E%3Crect x='2752' y='135' width='45' height='65'/%3E%3Crect x='2797' y='35' width='22' height='165'/%3E%3Crect x='2807' y='22' width='2' height='13'/%3E%3Ccircle cx='2808' cy='20' r='2'/%3E%3Crect x='2819' y='150' width='40' height='50'/%3E%3Crect x='2859' y='110' width='55' height='90'/%3E%3Crect x='2914' y='140' width='30' height='60'/%3E%3Crect x='2944' y='20' width='24' height='180'/%3E%3Crect x='2954' y='7' width='2' height='13'/%3E%3Ccircle cx='2955' cy='5' r='2'/%3E%3Crect x='2968' y='145' width='65' height='55'/%3E%3Crect x='3033' y='130' width='45' height='70'/%3E%3Crect x='3078' y='150' width='55' height='50'/%3E%3Crect x='3133' y='140' width='35' height='60'/%3E%3Crect x='3168' y='155' width='32' height='45'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom left;
  background-size: 3200px 200px;
}

@keyframes skyline-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.home-intro__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}

.home-intro__badge img {
  width: 20px;
  height: 20px;
}

.home-intro__badge span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 22px;
  color: #141414;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-text {
  max-width: 60ch;
  margin: 0;
  color: #4f5562;
  font-size: 1.02rem;
  line-height: 2;
}

/* ═══════════════════════════════════════════════════
   WORKS GRID
   ═══════════════════════════════════════════════════ */

.home-works {
  position: relative;
  z-index: 5;
  padding: 80px 0 100px;
  background: var(--bg-soft);
}

.home-works__header {
  margin-bottom: 48px;
}

.home-works__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

.home-works__badge img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.home-works__badge span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ─── Works Card ─── */

.works-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.28s var(--ease-out),
    box-shadow 0.28s ease;
}

.works-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.works-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.works-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.works-card:hover .works-card__image img {
  transform: scale(1.04);
}

.works-card__placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #eef0f5 0%, #dfe2ea 50%, #eef0f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.works-card__placeholder::after {
  content: '';
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
}

.works-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a4f5b;
}

.works-card__tag--events {
  background: rgba(27, 31, 42, 0.88);
  color: #ffffff;
}

.works-card__body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.works-card__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.works-card__title budoux-ja,
.works-card__excerpt budoux-ja {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.works-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.works-card__client {
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.works-card__excerpt {
  margin: auto 0 0;
  padding-top: 4px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-works__footer {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ─── Works Pagination (AJAX) ─── */

.home-works__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 44px;
}

.works-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
}

.works-page-btn:hover {
  background: var(--bg);
  transform: translateY(-1px);
}

.works-page-btn.is-active {
  background: #1b1f2a;
  color: #fff;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   PAGE HERO (shared by pages, archive, single)
   ═══════════════════════════════════════════════════ */

.page-hero {
  padding: calc(var(--header-height) + 60px) 0 48px;
  background: var(--bg);
}

.page-hero__title {
  margin: 0;
  color: #111111;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.page-hero__desc {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   PAGE BODY (static pages)
   ═══════════════════════════════════════════════════ */

.page-body {
  padding: 0 0 100px;
  background: var(--bg);
}

.page-body__inner {
  max-width: 780px;
}

.page-body__inner h2 {
  margin: 48px 0 16px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
}

.page-body__inner h3 {
  margin: 36px 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
}

.page-body__inner p {
  margin: 0 0 20px;
  line-height: 1.95;
  color: #444;
}

.page-body__inner img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.page-body__inner ul,
.page-body__inner ol {
  margin: 0 0 20px;
  padding-left: 1.5em;
  line-height: 1.9;
  color: #444;
}

.page-body__inner blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid #1b1f2a;
  background: var(--bg-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #555;
}

/* ═══════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════ */

.post-single__title budoux-ja,
.post-single__content budoux-ja,
.post-related__title budoux-ja,
.post-nav__title budoux-ja {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ─── Header ─── */

.post-single__header {
  padding: calc(var(--header-height) + 60px) 0 24px;
  background: var(--bg);
}

.post-single__cat {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.2s ease;
}

.post-single__cat:hover {
  background: #e8eaef;
}

.post-single__cat--events {
  background: #1b1f2a;
  color: #fff;
}

.post-single__cat--events:hover {
  background: #2c3142;
}

.post-single__title {
  margin: 0 0 14px;
  color: #111;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.post-single__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.post-single__reading-time::before {
  content: '·';
  margin-right: 12px;
}

/* ─── Hero image ─── */

.post-single__hero {
  padding: 0 0 48px;
  background: var(--bg);
}

.post-single__hero .container {
  overflow: visible;
}

.post-single__hero img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 560px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  object-fit: contain;
  aspect-ratio: auto;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

/* ─── Content body ─── */

.post-single__body {
  padding: 0 0 48px;
  background: var(--bg);
}

.post-single__content {
  max-width: 720px;
}

/* Paragraphs — uniform style, no lead paragraph override */
.post-single__content p {
  margin: 0 0 28px;
  line-height: 2.1;
  color: #3a3f4a;
  font-size: 0.95rem;
}

/* Headings */
.post-single__content h2 {
  margin: 52px 0 18px;
  padding-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #111;
  line-height: 1.35;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--line);
}

.post-single__content h3 {
  margin: 40px 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.post-single__content h4 {
  margin: 32px 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

/* Images in content */
.post-single__content img {
  border-radius: var(--radius-lg);
  margin: 36px 0;
  border: 1px solid var(--line);
}

.post-single__content .wp-block-image {
  margin: 40px 0;
}

.post-single__content .wp-block-image figcaption {
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

/* Lists */
.post-single__content ul,
.post-single__content ol {
  margin: 0 0 28px;
  padding-left: 0;
  list-style: none;
  color: #3a3f4a;
}

.post-single__content ul li,
.post-single__content ol li {
  position: relative;
  padding: 5px 0 5px 22px;
  line-height: 1.9;
  font-size: 0.95rem;
}

.post-single__content ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(27, 31, 42, 0.12);
}

.post-single__content ol {
  counter-reset: ol-counter;
}

.post-single__content ol li::before {
  counter-increment: ol-counter;
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--bg-soft);
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--muted);
}

/* Blockquotes */
.post-single__content blockquote {
  margin: 36px 0;
  padding: 24px 24px 24px 28px;
  border-left: 3px solid #1b1f2a;
  background: var(--bg-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-single__content blockquote p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

/* HR */
.post-single__content hr {
  border: none;
  height: 1px;
  margin: 44px 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* Tables */
.post-single__content table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

.post-single__content th {
  padding: 10px 14px;
  background: #1b1f2a;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-align: left;
}

.post-single__content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: #444;
}

.post-single__content tr:nth-child(even) td {
  background: var(--bg-soft);
}

/* Sharing buttons cleanup */
.post-single__content .sharedaddy,
.post-single__content .sd-sharing-enabled {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* Jetpack related posts — hide default, we have our own */
.post-single__content .jp-relatedposts {
  display: none !important;
}

/* ─── Related posts ─── */

.post-single__related {
  padding: 48px 0 0;
  background: var(--bg);
}

.post-related__heading {
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.post-related__card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease;
}

.post-related__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.post-related__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.post-related__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.post-related__card:hover .post-related__image img {
  transform: scale(1.04);
}

.post-related__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef0f5, #dfe2ea);
}

.post-related__body {
  padding: 12px 14px 16px;
}

.post-related__date {
  display: block;
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}

.post-related__title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Post navigation ─── */

.post-single__footer {
  padding: 0 0 80px;
  background: var(--bg);
}

.post-single__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s ease;
}

.post-nav__link:hover {
  background: var(--bg-soft);
}

.post-nav__link--next {
  text-align: right;
}

.post-nav__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-nav__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════
   ARCHIVE / BLOG LISTING
   ═══════════════════════════════════════════════════ */

.archive-grid-section {
  padding: 0 0 100px;
  background: var(--bg);
}

.archive-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.archive-pagination .nav-links {
  display: flex;
  gap: 6px;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s ease;
}

.archive-pagination .page-numbers:hover {
  background: var(--bg-soft);
}

.archive-pagination .page-numbers.current {
  background: #1b1f2a;
  color: #fff;
}

.archive-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.page-content {
  position: relative;
  z-index: 5;
  padding: 90px 0;
  background: var(--bg);
}

.page-title {
  margin-top: 0;
}

.site-footer {
  position: relative;
  z-index: 5;
  padding: 40px 0 52px;
  border-top: 1px solid var(--line);
  background: #fafbfc;
}

/* ═══════════════════════════════════════════════════
   GLASS OBJ CONTAINER
   ═══════════════════════════════════════════════════ */

#glass-obj-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#glass-obj-container.is-loaded {
  opacity: 1;
  transform: scale(1);
}

#glass-obj-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Shimmer placeholder while loading */
#glass-obj-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: obj-shimmer 1.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease;
}

#glass-obj-container.is-loaded::before {
  opacity: 0;
}

@keyframes obj-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.hero--home .hero__inner,
.hero--home .hero__rail {
  position: relative;
  z-index: 4;
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */

[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal="up"]    { transform: translateY(120px); }
[data-reveal="down"]  { transform: translateY(-120px); }
[data-reveal="left"]  { transform: translateX(-140px); }
[data-reveal="right"] { transform: translateX(140px); }
[data-reveal="scale"] { transform: scale(0.82); }
[data-reveal="fade"]  { transform: none; }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger] > [data-reveal]:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(2) { transition-delay: 120ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(3) { transition-delay: 240ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(4) { transition-delay: 360ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(5) { transition-delay: 480ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(6) { transition-delay: 600ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(7) { transition-delay: 720ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(8) { transition-delay: 840ms; }

/* Rail stat cards: fade only, no vertical slide */
.hero__rail [data-reveal="up"] {
  transform: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Large tablet
   ═══════════════════════════════════════════════════ */

@media (max-width: 1180px) {
  .site-header__inner {
    min-height: 78px;
    padding-inline: 18px;
  }

  .site-logo img {
    height: 36px;
    max-width: min(260px, 34vw);
  }

  .site-nav__menu {
    gap: 18px;
  }

  .site-nav__menu a {
    font-size: 0.88rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__inner {
    padding-bottom: 120px;
  }

  .hero__content {
    max-width: 500px;
  }

  .hero__title {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
  }

  .hero__rail {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
  }

  .hero__rail-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .section-title {
    max-width: none;
  }

  .home-intro {
    padding-top: 64px;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Tablet and down
   ═══════════════════════════════════════════════════ */

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
    --header-top: 12px;
  }

  body.admin-bar .site-header {
    top: 58px;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header__inner {
    min-height: var(--header-height);
    padding-inline: 16px;
    justify-content: flex-start;
  }

  .site-logo img {
    height: 30px;
    max-width: min(240px, 58vw);
  }

  .site-nav {
    display: none;
  }

  /* ─── Hamburger button ─── */

  .hamburger {
    display: flex;
  }

  .hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ─── Mobile nav overlay ─── */

  .site-nav--mobile {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.4s;
  }

  .site-nav--mobile.is-open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav--mobile a {
    display: block;
    padding: 18px 44px;
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: 16px;
    transition:
      background 0.2s ease,
      opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px);
  }

  .site-nav--mobile.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav--mobile a:nth-child(1) { transition-delay: 0s, 0.08s, 0.08s; }
  .site-nav--mobile a:nth-child(2) { transition-delay: 0s, 0.14s, 0.14s; }
  .site-nav--mobile a:nth-child(3) { transition-delay: 0s, 0.20s, 0.20s; }
  .site-nav--mobile a:nth-child(4) { transition-delay: 0s, 0.26s, 0.26s; }
  .site-nav--mobile a:nth-child(5) { transition-delay: 0s, 0.32s, 0.32s; }
  .site-nav--mobile a:nth-child(6) { transition-delay: 0s, 0.38s, 0.38s; }
  .site-nav--mobile a:nth-child(7) { transition-delay: 0s, 0.44s, 0.44s; }

  .site-nav--mobile:not(.is-open) a {
    transition-delay: 0s;
  }

  .site-nav--mobile a:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  .mobile-nav-close {
    position: absolute;
    top: 72px;
    right: 28px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #1a1a1a;
    z-index: 1101;
    transition:
      background 0.2s ease,
      opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
  }

  .site-nav--mobile.is-open .mobile-nav-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    transition-delay: 0.15s;
  }

  .mobile-nav-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg) scale(1.05);
  }

  /* ─── Mobile hero ─── */

  .hero {
    min-height: auto;
  }

  .hero__overlay {
    background: #ffffff !important;
    opacity: 1 !important;
    z-index: 3 !important;
  }

  #glass-obj-container {
    z-index: 4 !important;
  }

  .hero--home .hero__inner,
  .hero--home .hero__rail {
    z-index: 5 !important;
  }

  .hero--home {
    background: #ffffff;
  }

  .hero::after {
    display: none;
  }

  .hero__inner {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(var(--header-height) + 12svh);
    padding-bottom: 0;
  }

  .hero__content {
    max-width: none;
  }

  .hero__eyebrow {
    display: none;
  }

  .hero__title {
    max-width: none;
    margin-bottom: 14px;
    font-size: clamp(2.6rem, 11vw, 4.4rem);
    line-height: 1.02;
    color: #111;
  }

  .hero__text {
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #555b66;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  /* Force hero elements to animate on load instead of waiting for scroll */
  .hero .hero__title[data-reveal],
  .hero .hero__text[data-reveal],
  .hero .hero__actions[data-reveal] {
    transition: none !important;
    animation: hero-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero .hero__title[data-reveal]   { animation-delay: 0.1s; }
  .hero .hero__text[data-reveal]    { animation-delay: 0.3s; }
  .hero .hero__actions[data-reveal] { animation-delay: 0.5s; }

  .button {
    width: 100%;
    min-height: 50px;
    font-size: 0.9rem;
  }

  .button--primary {
    background: #1b1f2a;
    color: #fff;
  }

  .button--secondary {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
    color: #1a1a1a;
  }

  /* Rail under content */
  .hero__rail {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 28px;
    padding: 0 0 28px;
  }

  .hero__rail-inner {
    grid-template-columns: 1fr;
    max-width: none;
    width: 100%;
    gap: 8px;
  }

  .hero__stat {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 16px 20px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: none;
    gap: 0;
  }

  .hero__stat::before {
    display: none;
  }

  .hero__stat-label {
    min-width: 90px;
    margin-bottom: 0;
    margin-right: 14px;
    font-size: 8px;
    color: #8892a4;
  }

  .hero__stat strong {
    font-size: 13px;
    color: #1b1f2a;
  }

  /* ─── Mobile intro ─── */

  .home-intro {
    padding: 56px 0 80px;
  }

  .skyline {
    height: 140px;
  }

  .skyline__strip {
    animation-duration: 40s;
    background-size: 3200px 140px;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    line-height: 1.25;
  }

  /* ─── Mobile works grid (horizontal cards) ─── */

  .works-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .works-card {
    flex-direction: row;
    border-radius: 16px;
    overflow: hidden;
  }

  .works-card__image {
    aspect-ratio: 1 / 1;
    width: 120px;
    min-height: 120px;
    flex: 0 0 120px;
    border-radius: 0;
  }

  .works-card__image img {
    border-radius: 0;
  }

  .works-card__tag {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 0.58rem;
  }

  .works-card__body {
    padding: 14px 16px;
    justify-content: center;
    flex: 1;
    min-width: 0;
  }

  .works-card__title {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .works-card__meta {
    margin-bottom: 4px;
    font-size: 0.72rem;
  }

  .works-card__excerpt {
    -webkit-line-clamp: 2;
    font-size: 0.78rem;
    line-height: 1.55;
    padding-top: 0;
  }

  .works-card:hover {
    transform: none;
  }

  .home-works {
    padding: 48px 0 64px;
  }

  .home-works__header {
    margin-bottom: 24px;
  }

  .home-works__pagination {
    margin-top: 28px;
  }

  /* ─── Mobile single post ─── */

  .post-single__hero img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: unset;
    margin: 0 auto;
    display: block;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    border: 1px solid var(--line);
  }

  .post-related__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .post-related__card {
    flex-direction: row;
    border-radius: 14px;
  }

  .post-related__image {
    aspect-ratio: 1 / 1;
    width: 88px;
    min-height: 88px;
    flex: 0 0 88px;
  }

  .post-related__body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .post-single__content h2 {
    font-size: 1.2rem;
    margin-top: 40px;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Small mobile
   ═══════════════════════════════════════════════════ */

@media (max-width: 560px) {
  .hero__title {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero__text {
    font-size: 0.88rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    line-height: 1.3;
  }

  .section-text {
    font-size: 0.95rem;
    line-height: 1.88;
  }

  .hero__blobs {
    width: 260px;
    height: 260px;
    top: 14%;
  }

  /* Works cards */
  .works-card__image {
    width: 100px;
    min-height: 100px;
    flex: 0 0 100px;
  }

  .works-card__body {
    padding: 10px 12px;
  }

  .works-card__title {
    font-size: 0.84rem;
  }

  .works-card__excerpt {
    -webkit-line-clamp: 1;
    font-size: 0.74rem;
  }

  /* Single post */
  .post-single__title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .post-single__hero img {
    border-radius: var(--radius-md);
  }

  .post-single__content p {
    font-size: 0.9rem;
    line-height: 2;
  }

  .post-single__content img {
    border-radius: var(--radius-md);
    margin: 24px 0;
  }
}

/* ═══════════════════════════════════════════════════
   HERO FADE-IN ON LOAD (mobile)
   ═══════════════════════════════════════════════════ */

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .hero__blobs {
    animation: none !important;
  }
}