/* ==========================================================================
   Dhruv Varghese — Portfolio (from Figma design)
   ========================================================================== */

:root {
  --color-bg: #fdede8;
  --color-bg-gradient: #fce1da;
  --color-text: #1a1a1a;
  --color-text-dim: #4a4a4a;

  --color-maroon: #4d011d;
  --color-pink: #b33264;
  --color-hot-pink: #cb3e66;
  --color-bright-pink: #eb6196;

  --color-footer-bg: rgba(255, 255, 255, 0.3);
  --color-footer-dark: #26262e;
  --color-footer-icon-bg: #333340;

  --color-bg-blog: #fce2db;
  --color-heading-dark: #00012b;
  --color-text-muted: #666673;

  --font-heading: 'Stack Sans Notch', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  --max-width: 1200px;
  --page-padding: 0px;
  --header-height: 108px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.nav-locked, html.nav-locked body {
  overflow: hidden;
}

h1, h2, h3 { margin: 0; font-family: var(--font-heading); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-hot-pink);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, background 0.25s ease,
      backdrop-filter 0.25s ease, opacity 0.2s ease;
    opacity: 0;
  }
  .cursor-dot.is-active { opacity: 1; }
  .cursor-dot.is-hovering {
    width: 46px;
    height: 46px;
    background: rgba(203, 62, 102, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

/* ==========================================================================
   REVEAL ANIMATION (progressive enhancement — visible without JS)
   ========================================================================== */

.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: flex-start;
  border-top: 6px solid var(--color-hot-pink);
  background: none;
}
.header__blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 61.64px;
  z-index: 99;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.header__tint {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 69px;
  z-index: 99;
  background: linear-gradient(to bottom, rgba(253, 237, 232, 0.85) 0%, rgba(253, 237, 232, 0) 100%);
}

.header__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  position: relative;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 26px;
  white-space: nowrap;
  color: #000;
  transition: letter-spacing 0.3s ease, color 0.3s ease;
}
.logo::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-hot-pink);
  transition: width 0.35s ease, left 0.35s ease;
}
.logo:hover {
  letter-spacing: 1px;
  color: var(--color-hot-pink);
}
.logo:hover::after {
  width: 100%;
  left: 0;
}
.logo__bold { font-weight: 700; }
.logo__light { font-weight: 200; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  white-space: nowrap;
  padding: 14px 20px;
  background: transparent;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--color-hot-pink); }
.nav__icon { width: 20px; height: 20px; flex-shrink: 0; }

.nav__link--active {
  background: rgba(255, 156, 156, 0.3);
  color: #000;
  font-weight: 600;
}
.nav__link--active:hover { color: #000; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-maroon);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  overflow: hidden;
  text-align: center;
}

.hero__float-bg {
  --float-w: min(816px, 66vw);
  position: absolute;
  left: -6%;
  top: 300px;
  width: var(--float-w);
  z-index: -1;
  pointer-events: none;
  animation: hero-float 18s ease-in-out infinite;
}
.hero__float-bg img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes hero-float {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(calc(106vw - var(--float-w)), -280px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__float-bg { animation: none; }
}

.hero__photo {
  width: min(474px, 72%);
  margin: 0 auto;
}
.hero__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__wordmark {
  position: relative;
  display: block;
  width: min(1040px, 92%);
  margin: -20px auto 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(80px, 21vw, 300px);
  line-height: 1;
  letter-spacing: -2px;
  color: #202020;
  text-align: center;
}

/* Pixel/glitch flicker: brief RGB-split "pixel shift" bursts, mostly still in between. */
.hero__wordmark::before,
.hero__wordmark::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: inherit;
}
.hero__wordmark::before {
  color: var(--color-hot-pink);
  mix-blend-mode: screen;
  animation: pixel-glitch-1 6s steps(1, end) infinite;
}
.hero__wordmark::after {
  color: var(--color-bright-pink);
  mix-blend-mode: screen;
  animation: pixel-glitch-2 6s steps(1, end) infinite;
}

@keyframes pixel-glitch-1 {
  0%, 92%, 100% { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 0; }
  93% { clip-path: inset(10% 0 55% 0); transform: translate(-6px, 2px); opacity: 0.8; }
  94% { clip-path: inset(65% 0 5% 0); transform: translate(5px, -2px); opacity: 0.8; }
  95% { clip-path: inset(30% 0 40% 0); transform: translate(-4px, 0); opacity: 0.8; }
  96% { clip-path: inset(0 0 80% 0); transform: translate(6px, 3px); opacity: 0.8; }
  97% { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 0; }
}
@keyframes pixel-glitch-2 {
  0%, 92%, 100% { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 0; }
  93% { clip-path: inset(70% 0 10% 0); transform: translate(5px, -3px); opacity: 0.8; }
  94% { clip-path: inset(15% 0 60% 0); transform: translate(-6px, 2px); opacity: 0.8; }
  95% { clip-path: inset(45% 0 20% 0); transform: translate(4px, 0); opacity: 0.8; }
  96% { clip-path: inset(0 0 85% 0); transform: translate(-5px, -2px); opacity: 0.8; }
  97% { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__wordmark::before, .hero__wordmark::after { animation: none; display: none; }
}

.hero__desc {
  max-width: 780px;
  margin: 20px auto 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.65;
  color: #202020;
}

/* ==========================================================================
   PERSONA CARDS
   ========================================================================== */

.persona-cards {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 70px auto 0;
  padding: 0 var(--page-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.persona-card {
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 10px;
  text-align: center;
}

.persona-card__photo {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 26px;
  flex-shrink: 0;
}
.persona-card__photo--creator {
  animation: personaGlowCreator 3.2s ease-in-out infinite;
}
.persona-card__photo--thinker {
  animation: personaGlowThinker 3.6s ease-in-out infinite;
}
.persona-card__photo--collaborator {
  animation: personaGlowCollaborator 4s ease-in-out infinite;
}

@keyframes personaGlowCreator {
  0%, 100% { box-shadow: 0 6px 18px rgba(252, 167, 83, 0.4); }
  50%      { box-shadow: 0 10px 32px rgba(252, 167, 83, 0.75); }
}
@keyframes personaGlowThinker {
  0%, 100% { box-shadow: 0 6px 18px rgba(121, 217, 81, 0.4); }
  50%      { box-shadow: 0 10px 32px rgba(121, 217, 81, 0.75); }
}
@keyframes personaGlowCollaborator {
  0%, 100% { box-shadow: 0 6px 18px rgba(165, 9, 173, 0.4); }
  50%      { box-shadow: 0 10px 32px rgba(165, 9, 173, 0.75); }
}

.persona-card__photo-parallax {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  will-change: transform;
}

.persona-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
}
.persona-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.persona-card__photo:hover img { transform: scale(1.12); }

.persona-card__title {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}

.persona-card__desc {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 26px;
  flex: 1;
}

.persona-card__btn {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  transition: color 0.35s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.persona-card__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.persona-card__btn::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -60%;
  width: 40%;
  height: 140%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
  transition: left 0.7s ease;
}
.persona-card__btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 5px 8px 18px rgba(0, 0, 0, 0.2);
}
.persona-card__btn:hover::before { transform: scaleX(1); }
.persona-card__btn:hover::after { left: 130%; }

/* ==========================================================================
   SECTION HEADER (shared: Blogs / Apps / Artwork)
   ========================================================================== */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-header__title {
  color: #000;
  font-size: 24px;
  font-weight: 600;
}
.section-header__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  text-decoration: underline;
  white-space: nowrap;
}
.section-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.text-underline-link {
  text-decoration: underline;
  display: inline-block;
  margin-top: 20px;
}

section { padding: 90px 0; }
.blogs { padding-top: 45px; padding-bottom: 45px; margin-bottom: 60pt; }
.apps {
  position: relative;
  overflow: hidden;
  padding-top: 45px;
  padding-bottom: 45px;
  margin-bottom: 60pt;
  background: rgba(255, 255, 255, 0.5);
}
.apps::before,
.apps::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.apps::before {
  width: 320px;
  height: 320px;
  background: rgba(235, 97, 150, 0.28);
  top: -100px;
  left: -100px;
  animation: appsBlobDrift1 14s ease-in-out infinite;
}
.apps::after {
  width: 260px;
  height: 260px;
  background: rgba(255, 158, 98, 0.28);
  bottom: -90px;
  right: -70px;
  animation: appsBlobDrift2 16s ease-in-out infinite;
}
@keyframes appsBlobDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, 40px); }
}
@keyframes appsBlobDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, -30px); }
}
.apps__layout { position: relative; z-index: 1; }
.artwork { padding-top: 45px; }

/* ==========================================================================
   BLOGS
   ========================================================================== */

.blog-carousel {
  position: relative;
  overflow: hidden;
}
.blog-carousel__arrows {
  display: flex;
  gap: 10px;
}
.blog-carousel__arrow {
  position: static;
  width: 54px;
  height: 42px;
  border-radius: 21px;
  border: 1.5px solid #000;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  opacity: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-carousel__arrow svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.blog-carousel__arrow:hover {
  background: #000;
  border-color: #000;
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.blog-carousel__arrow--prev:hover svg { transform: translateX(-2px); }
.blog-carousel__arrow--next:hover svg { transform: translateX(2px); }

.blog-carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}
.blog-carousel__slide {
  flex: 0 0 320px;
  min-width: 0;
}

/* Shared card styling reused by the Projects-page blog teaser */
.blog-card {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid #a1a1a1;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 312px;
}

.blog-card__image {
  position: relative;
  overflow: hidden;
}
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.blog-card__image-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  padding: 34px 28px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.blog-card__body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 15px;
  color: var(--color-text);
}

/* Homepage "My Blogs" carousel cards */
.blog-teaser-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.blog-teaser-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 6px 12px rgba(235, 97, 150, 0.35), 0 3px 10px rgba(255, 158, 98, 0.3);
}
.blog-teaser-card__parallax {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  will-change: transform;
}
.blog-teaser-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog-teaser-card:hover .blog-teaser-card__image img { transform: scale(1.08); }
.blog-teaser-card__body {
  padding: 20px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  transition: opacity 0.35s ease;
}
.blog-teaser-card:hover .blog-teaser-card__body { opacity: 0.35; }
.blog-teaser-card__tag {
  align-self: flex-start;
  color: var(--color-hot-pink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-teaser-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-heading-dark, #1a1a1a);
  height: 52px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-teaser-card__desc {
  font-size: 15px;
  color: var(--color-text);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   SKILLS
   ========================================================================== */

.skills {
  position: relative;
  color: var(--color-maroon);
  background:
    radial-gradient(circle at 12% 18%, rgba(235, 97, 150, 0.30), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(203, 62, 102, 0.22), transparent 48%),
    radial-gradient(circle at 55% 95%, rgba(179, 50, 100, 0.18), transparent 50%),
    linear-gradient(180deg, #fff7f4 0%, #fce7e0 100%);
}
.skills--page { padding-top: calc(var(--header-height) + 40px); }
.skills__bg { display: none; }

.skills__title {
  color: #000;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 22px;
}

.skills__desc {
  font-size: 16px;
  color: var(--color-text);
  max-width: 100%;
  margin-bottom: 40px;
}

.skill-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skill-card {
  display: flex;
  align-items: stretch;
  min-height: 260px;
  backdrop-filter: blur(37.5px);
  -webkit-backdrop-filter: blur(37.5px);
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.05));
}
.skill-card--reverse { flex-direction: row-reverse; }
.skill-card__image {
  position: relative;
  width: 450px;
  flex-shrink: 0;
  overflow: hidden;
}
.skill-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.skill-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 36px 44px;
}
.skill-card--reverse .skill-card__body { text-align: right; }
.skill-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  color: #000;
  text-transform: capitalize;
}
.skill-card__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

/* ==========================================================================
   APPS
   ========================================================================== */

.apps__layout {
  display: flex;
  gap: 45px;
  align-items: flex-start;
  justify-content: space-between;
}

.apps__intro {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.apps__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.1;
  color: #000;
}

.apps__desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
}

.apps__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  text-decoration: underline;
  align-self: flex-start;
}

.app-tiles {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex-shrink: 0;
}
.app-tiles__row {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: flex-start;
}

.app-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 8px;
}
.app-tile__icon {
  width: 90pt;
  height: 90pt;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  animation: appIconFloat 3.6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.app-tiles__row:nth-child(1) .app-tile:nth-child(1) .app-tile__icon { animation-delay: 0s; }
.app-tiles__row:nth-child(1) .app-tile:nth-child(2) .app-tile__icon { animation-delay: 0.3s; }
.app-tiles__row:nth-child(1) .app-tile:nth-child(3) .app-tile__icon { animation-delay: 0.6s; }
.app-tiles__row:nth-child(2) .app-tile:nth-child(1) .app-tile__icon { animation-delay: 0.9s; }
.app-tiles__row:nth-child(2) .app-tile:nth-child(2) .app-tile__icon { animation-delay: 1.2s; }
.app-tile__icon:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  animation-play-state: paused;
}
.app-tile__icon img { width: 100%; height: 100%; object-fit: cover; }
@keyframes appIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.app-tile__label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  text-align: left;
}

/* ==========================================================================
   ARTWORK
   ========================================================================== */

.art-card {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid #a1a1a1;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 312px;
  margin-bottom: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.art-card:hover {
  border-color: var(--color-hot-pink);
  box-shadow: 5px 5px 24px rgba(203, 62, 102, 0.2);
}
.art-card:last-child { margin-bottom: 0; }
.art-card--reverse .art-card__image { order: 2; }
.art-card--reverse .art-card__body { order: 1; }

.art-card__image { overflow: hidden; }
.art-card__image img { width: 100%; height: 100%; object-fit: cover; }

.art-card__body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.art-card__body h3 { font-family: var(--font-body); font-weight: 500; font-size: 20px; color: #141414; }
.art-card__body p { font-size: 15px; color: var(--color-text); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-footer-bg);
  border-top: 1px solid rgba(0,0,0,0.15);
  padding: 60px 0 40px;
}

.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer__eyebrow {
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(38,38,46,0.7);
  margin-bottom: 6px;
}
.footer__name {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-footer-dark);
}
.footer__name-bold { font-weight: 700; }
.footer__name-light { font-weight: 400; }

.footer__nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-footer-dark);
  font-size: 16px;
  white-space: nowrap;
}
.footer__nav-item svg { width: 20px; height: 20px; }
.footer__nav-item img { width: 20px; height: 20px; }

.footer__socials { display: flex; gap: 16px; }
.footer__social-icon {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--color-footer-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.footer__social-icon:hover { opacity: 0.8; }
.footer__social-icon img { width: 20px; height: 20px; }

.footer__divider {
  border-top: 1px solid rgba(0,0,0,0.15);
  max-width: var(--max-width);
  margin: 0 auto 24px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer__bottom p { color: rgba(102,102,115,0.7); }
.footer__legal { display: flex; gap: 24px; color: rgba(38,38,46,0.7); }

/* ==========================================================================
   PROJECTS PAGE
   ========================================================================== */

.projects-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 40px;
  overflow: hidden;
}

.projects-tabbar {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

.projects-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 8px 4px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.6);
  transition: color 0.2s, border-color 0.2s;
}
.projects-tab:hover { color: var(--color-text); }
.projects-tab.is-active {
  font-weight: 600;
  color: #000;
  border-bottom-color: var(--color-pink);
}

.projects-panels {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px var(--page-padding) 100px;
}

.projects-panel { display: none; }
.projects-panel.is-active { display: block; }

.projects-empty {
  padding: 100px 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text-dim);
}

.project-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 41px;
  width: 100%;
}
.project-entry + .project-entry { margin-top: 100px; }

.project-entry__header {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}
.project-entry--reverse .project-entry__header { flex-direction: row-reverse; }

.project-entry__logo {
  width: 140px;
  height: 140px;
  border-radius: 35px;
  overflow: hidden;
  flex-shrink: 0;
}
.project-entry__logo img { width: 100%; height: 100%; object-fit: cover; }

.project-entry__body { flex: 1; min-width: 0; }
.project-entry__title {
  color: #000;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}
.project-entry__desc { font-size: 16px; font-weight: 400; color: var(--color-text); }
.project-entry__desc p { margin-bottom: 16px; }
.project-entry__desc p:last-child { margin-bottom: 0; }
.project-entry__desc strong { font-weight: 700; }
.project-entry__desc a { text-decoration: underline; }

.project-entry__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.project-entry__gallery img {
  flex: 1 1 0;
  min-width: 140px;
  height: 320px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.04);
}
.project-entry__gallery--tall img {
  height: auto;
  aspect-ratio: 462 / 1000;
}
.project-entry__gallery--grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.project-entry__gallery--grid2 img {
  height: auto;
  min-width: 0;
  aspect-ratio: 1000 / 462;
}

/* ==========================================================================
   BLOG LIST PAGE
   ========================================================================== */

body.blog-page { background: var(--color-bg-blog); }

.blog-page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 40px;
  text-align: center;
}
.blog-page-hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 45px;
  color: var(--color-heading-dark);
  max-width: var(--max-width);
  margin: 0 auto 16px;
  padding: 0 var(--page-padding);
}
body.blog-page .blog-page-hero__title {
  font-size: clamp(52px, 6.5vw, 88px);
}
.blog-page-hero__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}
body.blog-page .blog-page-hero__desc {
  color: #000;
}
.blog-page-hero__desc--lg {
  font-size: 18pt;
}
.contact-email {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-hot-pink);
  text-decoration: underline;
}

.blog-list {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding) 100px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-featured-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--color-pink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  min-height: 480px;
  text-decoration: none;
  color: inherit;
}
.blog-featured-card__image { flex: 1; position: relative; min-width: 0; overflow: hidden; }
.blog-featured-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.blog-featured-card:hover .blog-featured-card__image img { transform: scale(1.06); }
.blog-featured-card__image::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -60%;
  width: 40%;
  height: 160%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
  transition: left 0.85s ease;
}
.blog-featured-card:hover .blog-featured-card__image::after { left: 130%; }
.blog-featured-card__body {
  width: 480px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.blog-featured-card__tag {
  display: inline-flex;
  align-self: flex-start;
  background: var(--color-bg);
  color: var(--color-pink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.blog-featured-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--color-heading-dark);
  margin-bottom: 16px;
}
.blog-featured-card__excerpt {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}
.blog-featured-card__footer { padding-top: 24px; }

.blog-author__name { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--color-heading-dark); }
.blog-author__date { font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }

.blog-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-post-card {
  background: #fff;
  border: 1px solid var(--color-pink);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}
.blog-post-card__image { height: 240px; }
.blog-post-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-post-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.blog-post-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--color-heading-dark);
  margin-bottom: 16px;
}
.blog-post-card__excerpt {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ==========================================================================
   BLOG DETAILS PAGE
   ========================================================================== */

.blog-detail-hero {
  position: relative;
  text-align: center;
  padding-top: 0;
  padding-bottom: 60px;
}

@media (min-width: 769px) {
  .blog-detail-hero__desc {
    position: absolute;
    top: calc(var(--header-height) + 158px);
    left: 0;
    right: 0;
    margin-top: 0;
  }
}
.blog-detail-hero__photo {
  position: relative;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header-height) + 40px) 0 60px;
  overflow: hidden;
}
.blog-detail-hero__bg { position: absolute; inset: 0; z-index: -2; }
.blog-detail-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.blog-detail-hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 45%, rgba(255, 255, 255, 0) 75%);
}
.blog-detail-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #000;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  text-decoration: underline;
  margin: 0 auto 24px;
}
.blog-detail-hero__back svg { width: 20px; height: 20px; flex-shrink: 0; }
.blog-detail-hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 45px;
  color: #000;
  max-width: var(--max-width);
  margin: 0 auto 16px;
  padding: 0 var(--page-padding);
}
.blog-detail-hero__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 0 var(--page-padding);
}

.blog-detail-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding) 100px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.blog-detail-content > .blog-block:first-child {
  position: relative;
  z-index: 1;
  margin-top: -260px;
}

.blog-block { display: flex; flex-direction: column; }
.blog-block--split { flex-direction: row; gap: 30px; align-items: stretch; }
.blog-block--split.blog-block--reverse { flex-direction: row-reverse; }

.blog-block__media {
  position: relative;
  border: 10px solid #fff;
  box-shadow: 5px 5px 30px rgba(255, 158, 98, 0.25);
  flex-shrink: 0;
  overflow: hidden;
}
.blog-block--stacked .blog-block__media { width: 100%; }
.blog-block--split .blog-block__media { width: 46%; }
.blog-block--stacked .blog-block__media img { position: static; width: 100%; height: auto; }
.blog-block__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-block--split .blog-block__media img {
  position: absolute;
  inset: 0;
}

.blog-block__media--duo {
  display: flex;
  gap: 4px;
}
.blog-block--split .blog-block__media--duo img {
  position: relative;
  inset: auto;
  flex: 1;
  width: 50%;
  min-width: 0;
  height: 100%;
}

.blog-block__caption {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: var(--color-heading-dark);
  margin-bottom: 16px;
}

.blog-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-gallery__item {
  position: relative;
  height: 260px;
  border: 10px solid #fff;
  box-shadow: 5px 5px 30px rgba(255, 158, 98, 0.25);
  overflow: hidden;
}
.blog-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-block__text { flex: 1; min-width: 0; padding-top: 30px; }
.blog-block--split .blog-block__text {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-block__text p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.36;
  color: #000;
  white-space: pre-wrap;
}

.blog-standalone {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.36;
  color: #000;
  white-space: pre-wrap;
}

.blog-divider { border: none; border-top: 1px solid rgba(0, 0, 0, 0.15); margin: 0; }

/* ==========================================================================
   ABOUT ME PAGE
   ========================================================================== */

.about-hero {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: calc(var(--header-height) + 60px) var(--page-padding) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-hero__body { flex: 1; min-width: 0; }
.about-hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: 1;
  color: var(--color-heading-dark);
  margin-bottom: 32px;
}
.about-hero__desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.6;
  color: var(--color-heading-dark);
}
.about-hero__photo {
  flex-shrink: 0;
  width: 340px;
  height: 440px;
  border-radius: 170px;
  overflow: hidden;
  box-shadow: 20px 20px 40px rgba(179, 50, 100, 0.25);
}
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.about-roles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding) 100px;
}
.about-role-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 300px;
  backdrop-filter: blur(37.5px);
  -webkit-backdrop-filter: blur(37.5px);
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.05));
}
.about-role-card--reverse { flex-direction: row-reverse; }
.about-role-card__image { width: 380px; height: 300px; flex-shrink: 0; }
.about-role-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-role-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 30px 40px;
}
.about-role-card--reverse .about-role-card__body { text-align: right; }
.about-role-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 28px;
  color: #000;
}
.about-role-card__desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

.about-personal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px var(--page-padding) 120px;
}
.about-personal__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 36px;
  color: var(--color-maroon);
  margin-bottom: 16px;
}
.about-personal__rule {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-pink);
  margin-bottom: 40px;
}
.about-personal__grid {
  display: flex;
  gap: 30px;
  align-items: stretch;
}
.about-form {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-form__field {
  background: #fff;
  border: 1px solid var(--color-pink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-form__field:last-of-type { flex: 1; }
.about-form__field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--color-pink);
}
.about-form__field input,
.about-form__field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-heading-dark);
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  min-height: 24px;
}
.about-form__submit {
  position: relative;
  overflow: hidden;
  background: var(--color-pink);
  border: 1px solid #000;
  color: #fff;
  height: 60px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 18px;
  box-shadow: 3px 3px 7.5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.about-form__submit::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -60%;
  width: 40%;
  height: 140%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.7s ease;
}
.about-form__submit:hover {
  background: #000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 6px 10px 22px rgba(0, 0, 0, 0.22);
}
.about-form__submit:hover::after { left: 130%; }
.about-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.about-form__status {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-pink);
  margin: 0;
  min-height: 20px;
}
.about-form__status--error { color: #c0392b; }

.about-statement {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--color-pink);
  box-shadow: 0 10px 15px rgba(179, 50, 100, 0.1);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-statement__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  color: #000;
}
.about-statement__quote {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.8;
  color: var(--color-heading-dark);
  flex: 1;
}
.about-statement__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-statement__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.about-statement__author span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-heading-dark);
}

@media (max-width: 1100px) {
  .persona-cards { grid-template-columns: 1fr; max-width: 480px; }
  .blog-card, .art-card { grid-template-columns: 1fr; }
  .blog-card__image { height: 220px; }
  .art-card__image { height: 240px; order: -1 !important; }
  .art-card__body { order: 0 !important; }
  .skill-card, .skill-card--reverse { flex-direction: column; }
  .skill-card__image { width: 100%; height: 200px; }
  .skill-card__body { padding-left: 0; padding-right: 0; }
  .skill-card--reverse .skill-card__body { text-align: left; }
  .apps__layout { flex-direction: column; }
  .apps__title { font-size: 42px; }
  .app-tiles__row { flex-wrap: wrap; justify-content: center; }
  .project-entry__header, .project-entry--reverse .project-entry__header { flex-direction: column; align-items: center; text-align: center; }
  .project-entry__gallery img { height: 220px; }
  .project-entry__gallery--tall img { height: auto; }

  .blog-featured-card { flex-direction: column; }
  .blog-featured-card__image { height: 260px; }
  .blog-featured-card__body { width: 100%; }
  .blog-post-grid { grid-template-columns: 1fr; }
  .blog-block--split, .blog-block--split.blog-block--reverse { flex-direction: column; }
  .blog-block--split .blog-block__media { width: 100%; }
  .blog-block--split .blog-block__text { padding-top: 30px; }
}

@media (max-width: 768px) {
  :root { --page-padding: 24px; --header-height: 72px; }

  .nav { display: none; }
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 102;
    margin-top: 10pt;
  }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 101;
    background: var(--color-bg-gradient);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 26px;
    padding: 40px 0;
  }
  .nav.is-open .nav__link { font-size: 20px; padding-left: 40px; padding-right: 40px; }
  .nav.is-open .nav__link--active { width: 100%; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .logo { font-size: 20px; margin-top: 10pt; position: relative; z-index: 102; }

  .hero { padding-top: calc(var(--header-height) + 60px); }
  .hero__float-bg { display: none; }
  .hero__content { margin-right: 0; }
  .hero__greeting { font-size: 38px; }
  .hero__desc { font-size: 17px; padding: 0 var(--page-padding); }
  .hero__name { font-size: 28px; }

  .persona-cards { margin-top: 50px; }

  section { padding: 60px 0; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }

  .app-tiles { gap: 24px; }
  .app-tiles__row { gap: 24px; }
  .app-tile__icon { width: 100px; height: 100px; }
  .apps__title { font-size: 34px; }

  .footer__main { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .projects-tabbar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .projects-tab { white-space: nowrap; font-size: 17px; }
  .project-entry__logo { width: 100px; height: 100px; border-radius: 26px; }

  .blog-page-hero__title, .blog-detail-hero__title { font-size: 32px; }
  .blog-detail-hero__title { line-height: 1.15; }
  .blog-detail-hero__photo { height: 320px; min-height: 0; }
  .blog-detail-hero__desc { margin-top: 24px; }
  .blog-detail-content > .blog-block:first-child { margin-top: 0; }
  .blog-detail-content > .blog-block:first-child .blog-block__media { display: none; }
  .blog-block__media { height: 300pt; }
  .blog-block--stacked .blog-block__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .blog-block__caption { font-size: 26px; }
  .blog-block__text p, .blog-standalone { font-size: 17px; }
  .blog-gallery { grid-template-columns: repeat(2, 1fr); }
  .blog-gallery__item { height: 200px; }

  .about-hero { flex-direction: column-reverse; gap: 40px; padding-top: calc(var(--header-height) + 40px); text-align: center; }
  .about-hero__photo { width: 260px; height: 340px; border-radius: 130px; margin: 0 auto; }
  .about-hero__body { max-width: 260px; margin: 0 auto; }
  .about-hero__desc { font-size: 18px; }
  .about-role-card, .about-role-card--reverse { flex-direction: column; }
  .about-role-card__image { width: 100%; height: 220px; }
  .about-role-card__body { padding-left: 0; padding-right: 0; }
  .about-role-card--reverse .about-role-card__body { text-align: left; }
  .about-personal__grid { flex-direction: column; }
}
