:root {
  --mist: #E2E6E9;
  --fog: #D1D8DE;
  --powder: #C6D1DB;
  --steel: #A6B3C2;
  --sea: #7B949E;
  --slate: #3B4F63;
  --slate-deep: #2A3A4A;
  --ivory: #EAE5DA;
  --ivory-warm: #E0D9CA;
  --surface: #F2EEE6;
  --ink: #2C3845;
  --muted: #5B6A78;
  --line: rgba(59, 79, 99, 0.16);
  --shadow-sm: 0 4px 18px rgba(42, 58, 74, 0.08);
  --shadow-md: 0 18px 50px rgba(42, 58, 74, 0.12);
  --shadow-lg: 0 30px 80px rgba(42, 58, 74, 0.18);
  --radius: 22px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --sans: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--steel);
  color: var(--slate-deep);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--slate-deep);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--slate);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--slate);
}

.section {
  position: relative;
  padding: 130px 0;
}

.section > .container {
  position: relative;
  z-index: 2;
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), background 0.4s, color 0.4s, box-shadow 0.5s var(--ease), border-color 0.4s;
}

.btn i {
  font-size: 1.05rem;
  transition: transform 0.5s var(--ease), background 0.4s, color 0.4s;
}

.btn-primary,
.btn-ghost {
  padding: 6px 6px 6px 26px;
}

.btn-primary i,
.btn-ghost i {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.btn-primary {
  background: linear-gradient(135deg, #46607A 0%, var(--slate) 45%, var(--slate-deep) 100%);
  color: var(--ivory);
  border-color: rgba(242, 238, 230, 0.12);
  box-shadow: inset 0 1px 0 rgba(242, 238, 230, 0.18), 0 10px 26px rgba(42, 58, 74, 0.24);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(242, 238, 230, 0.22) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}

.btn-primary i {
  background: var(--ivory);
  color: var(--slate-deep);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(242, 238, 230, 0.22), 0 16px 36px rgba(42, 58, 74, 0.32);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-primary:hover i {
  transform: rotate(-45deg);
  background: #fff;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(242, 238, 230, 0.55);
  backdrop-filter: blur(8px);
  color: var(--slate);
}

.btn-ghost i {
  background: rgba(59, 79, 99, 0.08);
  color: var(--slate);
}

.btn-ghost:hover {
  border-color: rgba(59, 79, 99, 0.35);
  background: rgba(242, 238, 230, 0.85);
  transform: translateY(-3px);
}

.btn-ghost:hover i {
  background: var(--slate);
  color: var(--ivory);
  transform: rotate(-45deg);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.5s var(--ease);
}

.site-header .nav {
  position: relative;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 999px;
  transition: max-width 0.6s var(--ease), padding 0.6s var(--ease);
}

.site-header .nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(242, 238, 230, 0.74);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 34px rgba(42, 58, 74, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s, transform 0.6s var(--ease);
}

.site-header.scrolled {
  padding: 12px 0;
}

.site-header.scrolled .nav {
  max-width: calc(var(--container) - 40px);
  padding-left: 26px;
  padding-right: 8px;
}

.site-header.scrolled .nav::before {
  opacity: 1;
  transform: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--script);
  font-size: 2.1rem;
  color: var(--slate-deep);
  line-height: 1;
}

.logo span {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--sea);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--slate);
  background: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  padding: 9px 16px;
  transition: background 0.35s, color 0.35s;
}

.nav-links > li > a:hover,
.dropdown:hover .dropdown-toggle {
  background: rgba(59, 79, 99, 0.07);
  color: var(--slate-deep);
}

.nav-links > li > a::after,
.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 22px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--slate);
  transform: translateX(-50%);
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition: clip-path 0.6s var(--ease), opacity 0.3s;
}

.nav-links > li > a:hover::after,
.dropdown:hover .dropdown-toggle::after {
  clip-path: inset(0 0 0 0);
  opacity: 0.45;
}

.nav-links > li > a.active,
.dropdown-toggle.active {
  color: var(--slate-deep);
}

.nav-links > li > a.active::after,
.dropdown-toggle.active::after {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

.nav-links > li > a.btn::after {
  display: none;
}

.nav-links > li > a.btn {
  margin-left: 10px;
  padding: 5px 5px 5px 22px;
  border-radius: 999px;
  border: 1px solid rgba(242, 238, 230, 0.12);
  background: linear-gradient(135deg, #46607A 0%, var(--slate) 45%, var(--slate-deep) 100%);
  color: var(--ivory);
  box-shadow: inset 0 1px 0 rgba(242, 238, 230, 0.18), 0 8px 22px rgba(42, 58, 74, 0.22);
}

.nav-links > li > a.btn i {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
}

.nav-links > li > a.btn:hover {
  background: linear-gradient(135deg, #46607A 0%, var(--slate) 45%, var(--slate-deep) 100%);
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(242, 238, 230, 0.22), 0 12px 28px rgba(42, 58, 74, 0.3);
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.4s var(--ease);
}

.dropdown:hover .dropdown-toggle i,
.dropdown.open .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 250px;
  padding: 10px;
  list-style: none;
  background: rgba(242, 238, 230, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  color: var(--slate);
  transition: background 0.3s, padding 0.4s var(--ease);
}

.dropdown-menu a i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(59, 79, 99, 0.07);
  font-size: 1.05rem;
  color: var(--slate);
  transition: background 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
  background: rgba(198, 209, 219, 0.55);
  padding-left: 18px;
}

.dropdown-menu a:hover i {
  background: var(--slate);
  color: var(--ivory);
}

.nav-backdrop {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(242, 238, 230, 0.6);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--slate);
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(191, 203, 214, 0.86) 0%, rgba(207, 215, 222, 0.66) 45%, rgba(234, 229, 218, 0) 100%);
}

.layer {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.cloud {
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(238, 240, 242, 0.85), rgba(238, 240, 242, 0) 100%);
}

.orb {
  border-radius: 50%;
  opacity: 0.7;
}

.orb-blue {
  background: radial-gradient(closest-side, rgba(166, 179, 194, 0.95), rgba(166, 179, 194, 0.45) 55%, rgba(166, 179, 194, 0) 100%);
}

.orb-sea {
  background: radial-gradient(closest-side, rgba(152, 174, 183, 0.95), rgba(152, 174, 183, 0.45) 55%, rgba(152, 174, 183, 0) 100%);
}

.orb-ivory {
  background: radial-gradient(closest-side, rgba(224, 217, 202, 0.95), rgba(224, 217, 202, 0.45) 55%, rgba(224, 217, 202, 0) 100%);
}

.hills {
  left: -5%;
  right: -5%;
  bottom: -2px;
  height: 34vh;
}

.hills svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 80px;
}



.hero h1 {
  font-size: clamp(3.4rem, 8.5vw, 7rem);
  line-height: 0.98;
}

.hero h1 .script {
  display: block;
  font-size: 0.72em;
  line-height: 1.2;
  color: var(--sea);
  margin-bottom: 4px;
}

.hero-sub {
  margin: 28px 0 40px;
  max-width: 520px;
  font-size: 1.15rem;
  color: var(--muted);
}

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

.hero-card-stack {
  position: relative;
  height: 520px;
}

.glass-card {
  position: absolute;
  background: rgba(242, 238, 230, 0.66);
  border: 1px solid rgba(242, 238, 230, 0.95);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 22px;
}

.mail-card {
  top: 30px;
  left: 0;
  width: 320px;
}

.mail-card .mail-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--slate), var(--sea));
  color: var(--ivory);
  font-family: var(--script);
  font-size: 1.4rem;
}

.mail-top strong {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate-deep);
  line-height: 1.3;
}

.mail-top small {
  font-size: 0.78rem;
  color: var(--muted);
}

.mail-body {
  padding-top: 16px;
}

.mail-body .bar {
  height: 9px;
  border-radius: 9px;
  background: var(--fog);
  margin-bottom: 10px;
}

.mail-body .bar.w70 { width: 70%; }
.mail-body .bar.w90 { width: 90%; }
.mail-body .bar.w50 { width: 50%; }

.mail-banner {
  height: 92px;
  border-radius: 14px;
  margin: 14px 0;
  background: linear-gradient(135deg, var(--powder), var(--steel) 60%, var(--sea));
  position: relative;
  overflow: hidden;
}

.mail-banner::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -30px;
  top: -40px;
  background: rgba(242, 238, 230, 0.4);
}

.mail-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--slate);
  color: var(--ivory);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.social-card {
  right: 0;
  top: 210px;
  width: 260px;
}

.social-card .post-img {
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(160deg, #D9E0E5, var(--powder) 50%, var(--steel));
  position: relative;
  overflow: hidden;
}

.social-card .post-img::before,
.social-card .post-img::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(238, 240, 242, 0.8);
  filter: blur(4px);
}

.social-card .post-img::before {
  width: 140px;
  height: 60px;
  left: 20px;
  top: 30px;
}

.social-card .post-img::after {
  width: 100px;
  height: 46px;
  right: 10px;
  top: 70px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  color: var(--slate);
}

.post-meta .icons {
  display: flex;
  gap: 12px;
  font-size: 1.25rem;
}

.post-meta .likes {
  font-size: 0.82rem;
  color: var(--muted);
}

.stat-chip {
  left: 40px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
}

.stat-chip .chip-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--slate);
  color: var(--ivory);
  font-size: 1.35rem;
}

.stat-chip strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--slate-deep);
  line-height: 1;
}

.stat-chip small {
  font-size: 0.8rem;
  color: var(--muted);
}

.float {
  animation: float 7s ease-in-out infinite;
}

.float.delay-1 { animation-delay: -2s; }
.float.delay-2 { animation-delay: -4s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.work-card {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

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

.work-thumb {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.thumb-bg {
  position: absolute;
  inset: -15% 0;
  transition: scale 1s var(--ease);
}

.work-card:hover .thumb-bg {
  scale: 1.06;
}

.thumb-email {
  background: linear-gradient(140deg, #D3DBE2 0%, var(--steel) 55%, var(--slate) 100%);
}

.thumb-social {
  background: linear-gradient(140deg, var(--ivory-warm) 0%, var(--powder) 50%, var(--sea) 100%);
}

.thumb-mock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  max-width: 300px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(242, 238, 230, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: transform 0.8s var(--ease);
}

.work-card:hover .thumb-mock {
  transform: translate(-50%, -54%) rotate(-1.5deg);
}

.thumb-mock .bar {
  height: 8px;
  border-radius: 8px;
  background: var(--fog);
  margin-bottom: 8px;
}

.thumb-mock .bar.short { width: 55%; }

.thumb-mock .block {
  height: 90px;
  border-radius: 12px;
  margin: 12px 0;
  background: linear-gradient(135deg, var(--powder), var(--steel));
}

.thumb-mock .grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.thumb-mock .grid3 span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--fog), var(--steel));
}

.thumb-mock .grid3 span:nth-child(2n) {
  background: linear-gradient(160deg, var(--ivory-warm), var(--powder));
}

.thumb-mock .grid3 span:nth-child(3n) {
  background: linear-gradient(160deg, var(--steel), var(--sea));
}

.work-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(234, 229, 218, 0.92);
  font-size: 0.8rem;
  color: var(--slate);
  z-index: 2;
}

.work-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px 32px;
}

.work-info h3 {
  font-size: 1.9rem;
}

.work-info p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 4px;
}

.arrow-circle {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: 1.3rem;
  transition: background 0.5s, color 0.5s, transform 0.6s var(--ease);
}

.work-card:hover .arrow-circle {
  background: var(--slate);
  color: var(--ivory);
  transform: rotate(-45deg);
}

.about {
  background: linear-gradient(180deg, rgba(234, 229, 218, 0) 0%, rgba(226, 230, 233, 0.6) 100%);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.portrait {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  width: 100%;
}

.portrait-frame {
  position: absolute;
  inset: 0;
  border-radius: 220px 220px 28px 28px;
  overflow: hidden;
  background: linear-gradient(170deg, #C3CED8 0%, var(--steel) 55%, var(--slate) 100%);
  box-shadow: var(--shadow-lg);
}

.portrait-frame .cloud {
  position: absolute;
}

.portrait-initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--script);
  font-size: clamp(6rem, 14vw, 9rem);
  color: rgba(234, 229, 218, 0.92);
  text-shadow: 0 10px 40px rgba(42, 58, 74, 0.25);
}

.portrait-outline {
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--steel);
  border-radius: 220px 220px 28px 28px;
  z-index: -1;
}

.portrait-badge {
  position: absolute;
  right: -30px;
  bottom: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  z-index: 3;
}

.portrait-badge i {
  font-size: 1.4rem;
  color: var(--slate);
}

.portrait-badge strong {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--slate-deep);
  line-height: 1.3;
}

.portrait-badge small {
  font-size: 0.78rem;
  color: var(--muted);
}

.about-text p {
  color: var(--muted);
  margin-top: 22px;
}

.about-text .signature {
  font-family: var(--script);
  font-size: 2.8rem;
  color: var(--slate);
  margin-top: 26px;
  line-height: 1;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 34px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(242, 238, 230, 0.7);
  border: 1px solid var(--line);
}

.fact i {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--powder);
  color: var(--slate);
  font-size: 1.15rem;
}

.fact small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea);
  line-height: 1.4;
}

.fact strong {
  font-weight: 400;
  font-size: 0.97rem;
  color: var(--slate-deep);
}

.expertise {
  overflow: hidden;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.exp-card {
  position: relative;
  padding: 40px 34px;
  border-radius: var(--radius);
  background: rgba(242, 238, 230, 0.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.exp-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: var(--slate);
  color: var(--ivory);
  margin-bottom: 26px;
}

.exp-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.exp-card p {
  font-size: 0.97rem;
  color: var(--muted);
}

.exp-list {
  list-style: none;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink);
}

.exp-list i {
  color: var(--sea);
}

.tools {
  margin-top: 70px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.tools h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 24px;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
}

.tool-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--slate);
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}

.tool-list li:hover {
  background: var(--slate);
  color: var(--ivory);
  transform: translateY(-3px);
}

.tool-list li:hover i {
  color: var(--ivory);
}

.tool-list i {
  font-size: 1.15rem;
  color: var(--sea);
  transition: color 0.4s;
}

.experience {
  background: linear-gradient(180deg, rgba(234, 229, 218, 0) 0%, rgba(226, 230, 233, 0.6) 100%);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--steel) 10%, var(--steel) 90%, transparent);
}

.tl-item {
  position: relative;
  width: 50%;
  padding: 0 56px 56px 0;
}

.tl-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 56px 56px;
}

.tl-dot {
  position: absolute;
  top: 26px;
  right: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--slate);
  z-index: 2;
}

.tl-item:nth-child(even) .tl-dot {
  right: auto;
  left: -9px;
}

.tl-card {
  padding: 28px 30px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.tl-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.tl-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--sea);
}

.tl-card h3 {
  font-size: 1.6rem;
  margin: 6px 0 2px;
}

.tl-card .org {
  font-size: 0.92rem;
  color: var(--slate);
  font-weight: 400;
}

.tl-card p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.edu-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.info-card {
  padding: 36px 34px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.info-card > h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.info-card > h3 i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--slate);
  color: var(--ivory);
  font-size: 1.35rem;
}

.edu-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.edu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.edu-item h4 {
  font-size: 1.35rem;
}

.edu-item .org {
  display: block;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--slate);
}

.edu-item .tl-date {
  margin-top: 4px;
}

.lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--slate-deep);
}

.lang:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate);
}

.dots span.off {
  background: var(--steel);
  opacity: 0.5;
}

.tool-list.left {
  justify-content: flex-start;
  margin-top: 22px;
}

.tools + .tools {
  margin-top: 40px;
}

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

.pillar-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.pillar:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.pillar .exp-icon {
  width: 54px;
  height: 54px;
  font-size: 1.5rem;
  border-radius: 16px;
  margin-bottom: 20px;
}

.pillar h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.pillar .sub {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 12px;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--muted);
}

.stats.three {
  grid-template-columns: repeat(3, 1fr);
}

.thumb-hair {
  background: linear-gradient(140deg, var(--ivory-warm) 0%, #C9C3BC 45%, var(--steel) 100%);
}

.thumb-swim {
  background: linear-gradient(140deg, var(--powder) 0%, #93AEBB 55%, var(--slate) 100%);
}

.thumb-well {
  background: linear-gradient(140deg, #D9DED8 0%, #B5C3BE 50%, var(--sea) 100%);
}

.work-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--slate-deep);
}

.work-mark i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--slate);
  color: var(--ivory);
  font-size: 0.95rem;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.brand-chip img {
  height: 26px;
  width: auto;
  display: block;
}

.brand-chip.dark {
  background: var(--slate-deep);
  border-color: transparent;
}

.brand-chip.round {
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
}

.brand-chip.round img {
  height: 40px;
  border-radius: 50%;
}

.brand-chip span {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-deep);
}

.work-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  margin: 0;
  padding: 9px 14px;
  border-radius: 14px;
}

.work-logo img {
  height: 22px;
}

.work-logo.round {
  padding: 5px 16px 5px 5px;
}

.work-logo.round img {
  height: 34px;
}

.work-logo.round span {
  font-size: 1.05rem;
}

.work-thumb .work-tag {
  left: auto;
  right: 20px;
}

.thumb-shot {
  position: absolute;
  left: 50%;
  top: 16%;
  bottom: -2px;
  width: 58%;
  max-width: 300px;
  transform: translateX(-50%);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.8s var(--ease);
}

.thumb-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: object-position 6s ease-in-out;
}

.work-card:hover .thumb-shot {
  transform: translateX(-50%) translateY(-10px);
}

.work-card:hover .thumb-shot img {
  object-position: bottom;
}

.mail-window {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(242, 238, 230, 0.9);
  box-shadow: var(--shadow-lg);
}

.mail-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(242, 238, 230, 0.96);
  border-bottom: 1px solid var(--line);
}

.mail-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.mail-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--steel);
}

.mail-dots span:nth-child(2) {
  background: var(--powder);
}

.mail-dots span:nth-child(3) {
  background: var(--fog);
}

.mail-subject {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mail-from {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.mail-from .avatar {
  width: 30px;
  height: 30px;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
}

.mail-from strong {
  display: block;
  font-weight: 500;
  color: var(--slate-deep);
  line-height: 1.2;
}

.mail-view {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}

.mail-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: object-position 8s ease-in-out;
}

.mail-window:hover .mail-view img {
  object-position: bottom;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(42, 58, 74, 0.78);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.5s;
}

.mail-window:hover .scroll-cue {
  opacity: 0;
}

.showcase-emails {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 40px;
}

.showcase-emails .mail-window {
  width: min(360px, 100%);
  height: 100%;
}

.showcase-emails .mail-window:nth-child(1):not(:last-child) {
  transform: translateY(-14px);
}

.showcase-emails .mail-window:nth-child(2) {
  transform: translateY(14px);
}

.email-list {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.email-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.email-card:nth-child(even) .email-stage {
  order: 2;
}

.email-stage {
  position: relative;
  height: 640px;
  padding: 40px;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.email-stage .thumb-bg {
  inset: -12% 0;
}

.email-stage .mail-window {
  position: relative;
  z-index: 2;
  width: min(380px, 100%);
  height: 100%;
}

.email-info h3 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 16px;
}

.email-info p {
  color: var(--muted);
}

.email-info .tool-list {
  margin: 24px 0 30px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(42, 58, 74, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lb-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 70px 16px 50px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.lb-scroll img {
  width: min(520px, 100%);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(20px);
  transition: transform 0.5s var(--ease);
}

.lightbox.open .lb-scroll img {
  transform: none;
}

.lb-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: var(--ivory);
  color: var(--slate-deep);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.stat strong.word {
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}

.parallax-band {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #AFBDCA 0%, #C3CED8 50%, #D5DCE2 100%);
}

.parallax-band .band-sky {
  inset: -30% 0;
  background:
    radial-gradient(ellipse 40% 22% at 20% 30%, rgba(236, 239, 242, 0.85), transparent 70%),
    radial-gradient(ellipse 30% 18% at 75% 25%, rgba(236, 239, 242, 0.8), transparent 70%),
    radial-gradient(ellipse 50% 25% at 60% 70%, rgba(236, 239, 242, 0.75), transparent 70%),
    radial-gradient(ellipse 35% 20% at 10% 80%, rgba(236, 239, 242, 0.7), transparent 70%);
}

.band-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  padding: 0 28px;
}

.band-content .ph-quotes {
  font-size: 3rem;
  color: var(--slate);
  opacity: 0.6;
}

.band-content blockquote {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--slate-deep);
  margin: 16px 0 26px;
}

.band-content cite {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--slate);
}

.highlights {
  background: var(--slate-deep);
  overflow: hidden;
}

.highlights h2 {
  color: var(--ivory);
}

.highlights h2 em {
  color: var(--steel);
}

.highlights .section-head p {
  color: rgba(234, 229, 218, 0.65);
}

.highlights .orb {
  opacity: 0.18;
}

.highlights .eyebrow,
.results .eyebrow {
  color: var(--steel);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.stat {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(234, 229, 218, 0.12);
  background: rgba(234, 229, 218, 0.04);
  transition: background 0.5s, transform 0.6s var(--ease);
}

.stat:hover {
  background: rgba(234, 229, 218, 0.08);
  transform: translateY(-6px);
}

.stat i {
  font-size: 1.8rem;
  color: var(--steel);
  margin-bottom: 14px;
  display: block;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.contact {
  background: linear-gradient(180deg, rgba(234, 229, 218, 0) 0%, rgba(198, 209, 219, 0.72) 100%);
  overflow: hidden;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 26px;
  border-radius: 24px;
  background: rgba(242, 238, 230, 0.75);
  border: 1px solid rgba(242, 238, 230, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

a.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.contact-card .c-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--slate);
  color: var(--ivory);
  font-size: 1.7rem;
}

.contact-card small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sea);
  line-height: 1.4;
  margin-bottom: 4px;
}

.contact-card strong {
  font-weight: 400;
  color: var(--slate-deep);
  font-size: 1.05rem;
  word-break: break-word;
}

.contact-card .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--sea);
  transition: gap 0.4s var(--ease), color 0.3s;
}

a.contact-card:hover .go {
  gap: 10px;
  color: var(--slate);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 110px 0 34px;
  color: rgba(234, 229, 218, 0.7);
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(123, 148, 158, 0.22), transparent 70%),
    linear-gradient(180deg, #2F4152 0%, var(--slate-deep) 45%, #223040 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 209, 219, 0.45), transparent);
}

.footer-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(166, 179, 194, 0.16), rgba(166, 179, 194, 0));
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 52px;
  margin-bottom: 80px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(242, 238, 230, 0.09), rgba(242, 238, 230, 0.03));
  border: 1px solid rgba(242, 238, 230, 0.12);
  box-shadow: inset 0 1px 0 rgba(242, 238, 230, 0.08);
}

.footer-cta .eyebrow {
  color: var(--steel);
}

.footer-cta h2 {
  color: var(--ivory);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.footer-cta h2 em {
  color: var(--steel);
}

.footer-cta p {
  margin-top: 12px;
  max-width: 460px;
  color: rgba(234, 229, 218, 0.65);
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.btn-light,
.btn-outline-light {
  padding: 6px 6px 6px 26px;
}

.btn-light i,
.btn-outline-light i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.btn-light {
  background: var(--ivory);
  color: var(--slate-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-light i {
  background: var(--slate-deep);
  color: var(--ivory);
}

.btn-light:hover {
  background: #fff;
  transform: translateY(-3px);
}

.btn-light:hover i {
  transform: rotate(45deg);
}

.btn-outline-light {
  border-color: rgba(242, 238, 230, 0.25);
  color: var(--ivory);
}

.btn-outline-light i {
  background: rgba(242, 238, 230, 0.1);
}

.btn-outline-light:hover {
  border-color: rgba(242, 238, 230, 0.55);
  background: rgba(242, 238, 230, 0.06);
  transform: translateY(-3px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(234, 229, 218, 0.1);
}

.footer-brand .logo {
  color: var(--ivory);
  font-size: 2.6rem;
}

.footer-brand .logo span {
  color: var(--steel);
}

.footer-brand p {
  margin-top: 18px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(234, 229, 218, 0.14);
  background: rgba(234, 229, 218, 0.04);
  font-size: 0.85rem;
  color: var(--ivory);
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9FC2A8;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #9FC2A8;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 22px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col a,
.footer-col li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  transition: color 0.3s, transform 0.4s var(--ease);
}

.footer-col a:hover {
  color: var(--ivory);
  transform: translateX(4px);
}

.footer-col i {
  color: var(--steel);
  font-size: 1.05rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.85rem;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(234, 229, 218, 0.16);
  color: var(--ivory);
  font-size: 1.15rem;
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}

.socials a:hover {
  background: var(--ivory);
  color: var(--slate-deep);
  transform: translateY(-4px);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(234, 229, 218, 0.75);
  cursor: pointer;
  transition: color 0.3s;
}

.back-top i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(234, 229, 218, 0.2);
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s;
}

.back-top:hover {
  color: var(--ivory);
}

.back-top:hover i {
  background: var(--ivory);
  color: var(--slate-deep);
  transform: translateY(-3px);
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: var(--slate);
  color: var(--ivory);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.5s var(--ease);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--slate-deep);
}

.page-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 170px 0 100px;
  background: linear-gradient(180deg, rgba(186, 199, 211, 0.86) 0%, rgba(206, 215, 222, 0.62) 55%, rgba(234, 229, 218, 0) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 4;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.breadcrumb a:hover {
  color: var(--slate);
}

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  max-width: 900px;
}

.page-hero .lead {
  max-width: 620px;
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--muted);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(242, 238, 230, 0.65);
  border: 1px solid rgba(242, 238, 230, 0.95);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  color: var(--slate);
}

.meta-pill i {
  color: var(--sea);
  font-size: 1.1rem;
}

.showcase {
  position: relative;
  height: 560px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.showcase .thumb-mock {
  width: 42%;
  max-width: 380px;
  padding: 26px;
}

.case-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.case-block + .case-block {
  margin-top: 60px;
}

.case-block h3 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.case-block p {
  color: var(--muted);
}

.case-list {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink);
}

.case-list i {
  margin-top: 5px;
  color: var(--sea);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.case-aside {
  position: sticky;
  top: 120px;
  align-self: start;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.case-aside dl > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.case-aside dl > div:last-child {
  border-bottom: none;
}

.case-aside dt {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sea);
}

.case-aside dd {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--slate-deep);
}

.results {
  background: var(--slate);
  overflow: hidden;
}

.results h2 {
  color: var(--ivory);
}

.results h2 em {
  color: var(--steel);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: auto;
}

.gallery-item .g-bg {
  position: absolute;
  inset: -12% 0;
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(234, 229, 218, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  color: var(--slate);
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.5s var(--ease);
}

.gallery-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

.g1 { background: linear-gradient(160deg, var(--fog), var(--steel)); }
.g2 { background: linear-gradient(160deg, var(--ivory-warm), var(--powder)); }
.g3 { background: linear-gradient(160deg, var(--powder), var(--sea)); }
.g4 { background: linear-gradient(160deg, var(--steel), var(--slate)); }
.g5 { background: linear-gradient(160deg, #D6DCE1, #B3C0CB); }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-card-stack {
    height: 460px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  .about-grid,
  .case-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .portrait {
    margin: 0 auto;
    max-width: 400px;
  }

  .case-aside {
    position: static;
  }

  .expertise-grid,
  .pillar-grid,
  .pillar-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 2;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 110px 34px 40px;
    background: rgba(234, 229, 218, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.6s var(--ease);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links > li > a,
  .dropdown-toggle {
    font-family: var(--serif);
    font-size: 1.7rem;
    letter-spacing: 0;
    color: var(--slate-deep);
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
  }

  .nav-links > li > a::after,
  .dropdown-toggle::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 0 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
  }

  .dropdown:hover .dropdown-menu,
  .dropdown.open .dropdown-menu {
    transform: none;
  }

  .dropdown.open .dropdown-menu {
    max-height: 200px;
  }

  .nav-links .nav-cta {
    margin-top: 20px;
    font-family: var(--sans);
    font-size: 0.95rem;
    width: auto;
    padding: 14px 28px;
    color: var(--ivory);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(42, 58, 74, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s;
    z-index: -1;
  }

  .nav-backdrop.show {
    opacity: 1;
    visibility: visible;
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .timeline::before {
    left: 9px;
  }

  .tl-item,
  .tl-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 40px 44px;
  }

  .tl-dot,
  .tl-item:nth-child(even) .tl-dot {
    left: 0;
    right: auto;
  }

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

  .email-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .email-card:nth-child(even) .email-stage {
    order: 0;
  }

  .showcase-emails .mail-window:nth-child(2) {
    display: none;
  }

  .gallery-item.wide {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 90px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .hero-card-stack {
    height: 420px;
  }

  .mail-card {
    width: 250px;
    left: 0;
    top: 10px;
  }

  .mail-banner {
    height: 64px;
  }

  .social-card {
    width: 200px;
    top: 170px;
  }

  .social-card .post-img {
    height: 110px;
  }

  .stat-chip {
    left: 0;
    bottom: 0;
  }

  .expertise-grid,
  .pillar-grid,
  .pillar-grid.three,
  .facts,
  .footer-top,
  .gallery {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .stats.three {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 26px 12px;
  }

  .portrait-badge {
    right: -6px;
    bottom: 30px;
  }

  .work-thumb {
    height: 280px;
  }

  .work-thumb .work-tag {
    display: none;
  }

  .work-info {
    padding: 22px 22px 26px;
  }

  .showcase {
    height: 380px;
  }

  .showcase.tall {
    height: 520px;
  }

  .showcase-emails {
    padding: 26px;
  }

  .email-stage {
    height: 540px;
    padding: 26px 20px;
  }

  .showcase .thumb-mock {
    width: 72%;
  }

  .gallery-item figcaption {
    opacity: 1;
    transform: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.brand-chip img.tall {
  height: 40px;
}

.work-logo img.tall {
  height: 36px;
}

.work-mark img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-pattern span {
  position: absolute;
  inset: -80px;
  will-change: transform, background-position;
}

.bp-motif {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%233B4F63' fill-opacity='0.06'%3E%3Cpath d='M45 37 L47 43 L53 45 L47 47 L45 53 L43 47 L37 45 L43 43 Z'/%3E%3Ccircle cx='135' cy='135' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.bp-grain {
  inset: 0 !important;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bp-glow {
  inset: -20% !important;
  background:
    radial-gradient(circle at 18% 28%, rgba(166, 179, 194, 0.22), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(224, 217, 202, 0.45), transparent 36%),
    radial-gradient(circle at 60% 18%, rgba(198, 209, 219, 0.25), transparent 30%);
}

.more-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.more-card {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 14px 26px 14px 14px;
  border-radius: 28px;
  background: rgba(242, 238, 230, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s;
}

.more-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 79, 99, 0.28);
  box-shadow: var(--shadow-md);
}

.more-visual {
  position: relative;
  height: 170px;
  border-radius: 20px;
  overflow: hidden;
}

.more-visual .thumb-shot {
  width: 66%;
  top: 14%;
  border-radius: 10px 10px 0 0;
  box-shadow: var(--shadow-md);
}

.more-card:hover .thumb-shot {
  transform: translateX(-50%) translateY(-6px);
}

.more-card:hover .thumb-shot img {
  object-position: bottom;
}

.more-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-md);
  transition: transform 0.8s var(--ease);
}

.more-card:hover .more-mark {
  transform: translate(-50%, -50%) scale(1.08) rotate(-6deg);
}

.more-dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sea);
}

.more-info h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 8px 0 4px;
}

.more-cat {
  font-size: 0.9rem;
  color: var(--muted);
}

.more-card .arrow-circle {
  transition: background 0.5s, color 0.5s, transform 0.6s var(--ease);
}

.more-card:hover .arrow-circle {
  background: var(--slate);
  color: var(--ivory);
  transform: rotate(45deg);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--ivory);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--ivory);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--steel), var(--sea));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--sea), var(--slate));
}

::-webkit-scrollbar-corner {
  background: var(--ivory);
}

.lb-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.lb-scroll::-webkit-scrollbar-thumb {
  border-color: transparent;
  background: rgba(234, 229, 218, 0.45);
  background-clip: padding-box;
}

@supports (-moz-appearance: none) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--sea) var(--ivory);
  }
}

@media (max-width: 900px) {
  .more-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 30px;
  }
}

@media (max-width: 640px) {
  .more-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .more-card {
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 12px 16px 12px 12px;
  }

  .more-card .arrow-circle {
    display: none;
  }

  .more-visual {
    height: 130px;
  }

  .more-mark {
    width: 70px;
    height: 70px;
  }

  .site-header.scrolled .nav {
    width: calc(100% - 24px);
    padding-left: 18px;
    padding-right: 6px;
  }

  .footer-cta {
    padding: 30px 22px;
    margin-bottom: 56px;
  }

  .footer-cta-actions {
    width: 100%;
  }

  .back-top {
    margin-top: 6px;
  }
}

.post-frame {
  position: absolute;
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: #031017;
  cursor: zoom-in;
  box-shadow: 0 24px 60px rgba(10, 20, 30, 0.35);
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease);
}

.post-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.post-frame .scroll-cue {
  opacity: 0;
  transition: opacity 0.4s;
}

.post-frame:hover .scroll-cue {
  opacity: 1;
}

.showcase-posts {
  position: absolute;
  inset: 0;
}

.showcase-posts .post-frame {
  width: 60%;
}

.showcase-posts .post-frame:nth-child(1) {
  left: 6%;
  top: 11%;
  z-index: 1;
  transform: rotate(-2.5deg);
}

.showcase-posts .post-frame:nth-child(2) {
  right: 6%;
  bottom: 11%;
  z-index: 2;
  transform: rotate(2.5deg);
}

.showcase-posts .post-frame:hover {
  z-index: 3;
  transform: rotate(0) scale(1.03);
  box-shadow: 0 30px 80px rgba(10, 20, 30, 0.45);
}

.post-stage {
  height: auto;
  min-height: 420px;
  align-items: center;
  padding: 50px 36px;
}

.post-stage .post-frame {
  position: relative;
  width: 100%;
  z-index: 2;
  transform: rotate(-1.5deg);
}

.post-card:nth-child(even) .post-stage .post-frame {
  transform: rotate(1.5deg);
}

.post-stage .post-frame:hover {
  transform: rotate(0) scale(1.02);
}

.more-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 8% center;
  transition: transform 1s var(--ease);
}

.more-card:hover .more-cover {
  transform: scale(1.08);
}

.thumb-post {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 74%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(10, 20, 30, 0.35);
  transition: transform 0.9s var(--ease);
}

.thumb-post img {
  display: block;
  width: 100%;
  height: auto;
}

.thumb-post.front {
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.thumb-post.back {
  z-index: 1;
  transform: translate(-42%, -66%) rotate(3deg);
}

.work-card:hover .thumb-post.front {
  transform: translate(-52%, -48%) rotate(-3deg);
}

.work-card:hover .thumb-post.back {
  transform: translate(-38%, -72%) rotate(5deg);
}

@media (max-width: 640px) {
  .showcase-posts .post-frame {
    width: 80%;
  }

  .showcase-posts .post-frame:nth-child(1) {
    left: 4%;
    top: 8%;
  }

  .showcase-posts .post-frame:nth-child(2) {
    right: 4%;
    bottom: 8%;
  }

  .post-stage {
    min-height: 0;
    padding: 30px 18px;
  }
}

.lb-scroll img.wide {
  width: min(1400px, 100%);
  margin: auto 0;
}

.post-card {
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
}

@media (max-width: 900px) {
  .post-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.portrait-photo {
  position: absolute;
  left: 0;
  top: -6%;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 42% 28%;
  filter: saturate(0.9) contrast(1.02);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(59, 79, 99, 0) 55%, rgba(42, 58, 74, 0.35) 100%);
  pointer-events: none;
}

.footer-copy {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-copy .sep {
  opacity: 0.3;
}

.dev-credit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(64, 200, 210, 0.3);
  background: linear-gradient(135deg, rgba(64, 200, 210, 0.12), rgba(64, 200, 210, 0.03));
  color: #8FE3EA;
  font-weight: 500;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}

.dev-credit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(143, 227, 234, 0.25) 50%, transparent 75%);
  transform: translateX(-120%);
  animation: credit-shine 4.5s var(--ease) infinite;
}

.dev-credit img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transition: transform 0.6s var(--ease);
}

.dev-credit span {
  position: relative;
  background: linear-gradient(90deg, #8FE3EA, #E6F7F8, #8FE3EA);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: credit-text 6s linear infinite;
}

.dev-credit i {
  font-size: 0.8rem;
  transition: transform 0.4s var(--ease);
}

.dev-credit:hover {
  border-color: rgba(64, 200, 210, 0.65);
  box-shadow: 0 0 22px rgba(64, 200, 210, 0.28);
  transform: translateY(-2px);
}

.dev-credit:hover img {
  transform: rotate(-12deg) scale(1.08);
}

.dev-credit:hover i {
  transform: translate(2px, -2px);
}

@keyframes credit-shine {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes credit-text {
  to { background-position: -200% 0; }
}

.footer-projects a::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--steel);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
}

.footer-projects a:hover::before {
  width: 16px;
  height: 0;
  border-width: 1px 0 0;
  border-color: var(--ivory);
  transform: none;
}

.mail-copy {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.mail-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18.5%;
  z-index: 1;
}

.mail-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.mail-note b {
  color: var(--slate-deep);
  font-weight: 500;
}

.social-card .post-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 50%;
  z-index: 1;
}

@media (max-width: 640px) {
  .mail-copy,
  .mail-note {
    display: none;
  }

  .mail-banner {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .hero-card-stack {
    height: 380px;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .mail-card {
    width: 68%;
    top: 0;
  }

  .social-card {
    width: 52%;
    top: 120px;
    right: 0;
    padding: 12px;
  }

  .post-meta .icons {
    gap: 8px;
    font-size: 1rem;
  }

  .post-meta .likes {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .stat-chip {
    left: 4%;
    bottom: 0;
    padding: 12px 16px;
  }

  .stat-chip strong {
    font-size: 1.35rem;
  }
}

@media (max-width: 1080px) {
  .hero {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .section > .layer.orb {
    display: none;
  }

  .portrait-outline {
    inset: -10px 10px 10px -10px;
  }

  .stats {
    gap: 12px;
  }

  .stat {
    padding: 24px 14px;
  }

  .stat i {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .stat strong.word {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .stat span {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    line-height: 1.5;
  }

  .footer-copy {
    justify-content: center;
  }

  .footer-copy .sep {
    display: none;
  }
}

html.lite *,
html.lite *::before,
html.lite *::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation: none !important;
}

html.lite {
  --shadow-sm: 0 2px 8px rgba(42, 58, 74, 0.08);
  --shadow-md: 0 6px 18px rgba(42, 58, 74, 0.1);
  --shadow-lg: 0 10px 28px rgba(42, 58, 74, 0.14);
}

html.lite .bp-glow,
html.lite .bp-grain {
  display: none;
}

html.lite .layer,
html.lite .bg-pattern span {
  will-change: auto;
}

html.lite .glass-card,
html.lite .meta-pill {
  background: rgba(242, 238, 230, 0.94);
}

html.lite .site-header .nav::before {
  background: rgba(242, 238, 230, 0.96);
}

html.lite .btn-ghost,
html.lite .menu-toggle {
  background: rgba(242, 238, 230, 0.9);
}

html.lite .lightbox {
  background: rgba(42, 58, 74, 0.95);
}
