:root {
  --ink: #1c2b2c;
  --muted: #647677;
  --mint: #dff5e8;
  --mint-deep: #9fd7c2;
  --aqua: #bfe9ee;
  --petal: #f2b8c9;
  --glass: rgba(255, 255, 255, 0.56);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(84, 136, 126, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fcf7;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

.site-nav {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1120px, calc(100% - 32px));
  height: 58px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 42px rgba(92, 132, 128, 0.14);
}

.brand-mark {
  display: grid;
  line-height: 1;
  gap: 4px;
  font-weight: 700;
}

.brand-mark span {
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.brand-mark small {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav nav {
  display: flex;
  gap: 8px;
}

.site-nav nav a {
  min-width: 78px;
  padding: 11px 15px;
  border-radius: 999px;
  color: #405354;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 650;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav nav a:hover {
  color: #173637;
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-1px);
}

.section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  display: grid;
  place-items: center;
  padding: 140px 24px 120px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(236, 250, 245, 0.04), rgba(255, 255, 255, 0.56) 84%, #ffffff 100%),
    url("/assets/hero-water.png") center / cover;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(980px, 100%);
  text-align: center;
  padding-top: 42px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #668380;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: rgba(20, 43, 44, 0.9);
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(4rem, 9vw, 9.6rem);
  font-weight: 400;
  line-height: 0.9;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82), 0 20px 70px rgba(111, 157, 146, 0.28);
}

.hero-line {
  margin: 26px auto 0;
  color: #314d4e;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 650;
}

.hero-cn {
  margin: 13px auto 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(83, 124, 117, 0.15);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(83, 124, 117, 0.2);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2f4f4f, #7aa6a1);
}

.button.ghost {
  color: #314d4e;
  background: rgba(255, 255, 255, 0.58);
}

.scroll-note {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  color: #b36166;
  font-family: "Songti SC", Georgia, serif;
  font-size: 1rem;
}

.scroll-note::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 8px auto 0;
  background: linear-gradient(#c67376, transparent);
}

.about {
  z-index: 5;
  --about-float: 78px;
  --about-content-float: 38px;
  --about-content-opacity: 0.82;
  transform-origin: top center;
  transform: translateY(var(--about-float));
  will-change: transform;
  scroll-margin-top: 92px;
  min-height: auto;
  width: min(100%, 1440px);
  margin: -182px auto 0;
  padding: 46px 24px 120px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background-color: #fbfffb;
  background:
    radial-gradient(circle at 13% 30%, rgba(223, 245, 232, 0.68), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f6fbf6 100%);
  box-shadow:
    0 -18px 46px rgba(116, 157, 148, 0.16),
    0 -1px 0 rgba(255, 255, 255, 0.92) inset;
}

.section-heading {
  width: min(1080px, 100%);
  margin: 0 auto 42px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(2.1rem, 4.6vw, 5rem);
  font-weight: 400;
  line-height: 1.04;
}

.section-heading p:not(.eyebrow) {
  max-width: 690px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 38px;
  align-items: start;
  opacity: var(--about-content-opacity);
  transform: translateY(var(--about-content-float));
  transition: opacity 120ms linear;
  will-change: transform, opacity;
}

.photo-carousel {
  position: relative;
  min-height: 730px;
  display: grid;
  align-content: start;
  justify-items: center;
  padding-top: 0;
  transform: translateY(8px);
}

.photo-frame-shell {
  position: relative;
  width: min(500px, 90vw);
  aspect-ratio: 0.75;
  transform: rotate(-2.5deg);
}

.gingham-sheet {
  position: absolute;
  inset: 24px 12px 0 18px;
  border-radius: 26px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.2) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.2) 75%),
    #b8d69a;
  background-position: 0 0, 13px 13px;
  background-size: 26px 26px;
  box-shadow: 0 28px 74px rgba(82, 132, 113, 0.18);
}

.photo-slide {
  position: absolute;
  inset: 13.7% 19% 27.6% 20.9%;
  z-index: 3;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
  overflow: hidden;
  transform: translateX(12px) scale(0.96);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(.2,.8,.2,1);
}

.photo-slide.is-active {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.photo-slide.is-previous {
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px) scale(0.98);
}

.photo-slide.is-next {
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px) scale(0.98);
}

.photo-slide img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.photo-frame-art {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 28px 58px rgba(82, 132, 113, 0.22));
}

.photo-clip {
  position: absolute;
  z-index: 7;
  top: -12px;
  left: 38px;
  width: 132px;
  height: 96px;
  border-radius: 30px 30px 18px 18px;
  background:
    radial-gradient(circle at 24px 18px, rgba(255, 255, 255, 0.9) 0 5px, transparent 6px),
    linear-gradient(180deg, #d9c46e, #b8a055);
  box-shadow: 0 12px 24px rgba(103, 90, 47, 0.18);
}

.photo-clip::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -15px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #9a8547;
  opacity: 0.36;
}

.photo-button {
  position: absolute;
  z-index: 8;
  left: -20px;
  top: 124px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 11px, rgba(255, 255, 255, 0.78) 12px 15px, transparent 16px),
    #a7cc58;
  box-shadow: 0 14px 28px rgba(80, 111, 47, 0.2);
}

.photo-button::before,
.photo-button::after {
  content: "";
  position: absolute;
  left: 42px;
  top: 24px;
  width: 6px;
  height: 41px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.photo-button::after {
  transform: rotate(90deg);
}

.frame-heart {
  position: absolute;
  z-index: 8;
  right: -7px;
  width: 66px;
  height: 60px;
  background: #7ebe45;
  transform: rotate(-45deg);
  box-shadow: 0 10px 22px rgba(77, 129, 53, 0.2);
}

.frame-heart::before,
.frame-heart::after {
  content: "";
  position: absolute;
  width: 66px;
  height: 60px;
  border-radius: 50%;
  background: inherit;
}

.frame-heart::before {
  top: -31px;
  left: 0;
}

.frame-heart::after {
  left: 31px;
  top: 0;
}

.heart-one {
  top: 286px;
}

.heart-two {
  top: 376px;
  right: 0;
  transform: rotate(-45deg) scale(0.92);
}

.heart-three {
  top: 460px;
  right: 12px;
  transform: rotate(-45deg) scale(0.78);
}

.photo-controls {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
}

.photo-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  color: #426263;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(80, 128, 116, 0.16);
  font-size: 1.45rem;
  cursor: pointer;
}

.photo-dots {
  display: flex;
  gap: 8px;
}

.photo-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(112, 147, 140, 0.28);
}

.photo-dots span.is-active {
  background: #7ba198;
}

.glass-panel,
.work-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48)),
    var(--glass);
  box-shadow: var(--shadow);
}

.intro-panel {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 30px;
}

.profile-facts {
  order: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.profile-facts div {
  min-height: 86px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.44);
}

.profile-facts span {
  display: block;
  margin-bottom: 8px;
  color: #76918c;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.profile-facts strong {
  color: #284647;
  font-size: 0.95rem;
  line-height: 1.45;
}

.intro-panel > p {
  order: 3;
  margin: 0;
  color: #39595a;
  font-size: clamp(0.9rem, 1.25vw, 1.02rem);
  line-height: 1.78;
}

.intro-panel > p + p {
  margin-top: 18px;
}

.skill-cloud {
  display: flex;
  align-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 30px;
  background: rgba(236, 249, 243, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.76);
}

.skill-cloud.compact {
  order: 4;
  margin-top: 26px;
  padding: 0;
  background: transparent;
  border: 0;
}

.skill-cloud span,
.tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #416160;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 750;
}

.experience-stack {
  order: 2;
  position: relative;
  margin: 2px 0 26px;
  padding: 20px 0 22px;
  border-bottom: 1px solid rgba(119, 150, 145, 0.13);
  border-top: 1px solid rgba(119, 150, 145, 0.16);
}

.experience-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.experience-header .eyebrow {
  margin-bottom: 6px;
}

.experience-header h3 {
  margin: 0;
  color: #294b4b;
  font-size: 1.02rem;
  font-weight: 850;
}

.experience-toggle {
  min-width: 116px;
  min-height: 38px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: #2f5352;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 26px rgba(80, 128, 116, 0.12);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.experience-items {
  display: grid;
  gap: 10px;
  padding-bottom: 12px;
}

.experience-card {
  position: relative;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 28px rgba(74, 114, 107, 0.1);
  transition: transform 300ms ease, opacity 260ms ease, margin 300ms ease;
}

.experience-card span {
  display: block;
  margin-bottom: 5px;
  color: #78938e;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.experience-card h4 {
  margin: 0;
  color: #244445;
  font-size: 0.95rem;
  line-height: 1.45;
}

.experience-card p {
  margin: 6px 0 0;
  color: #58706f;
  font-size: 0.86rem;
  line-height: 1.6;
}

.experience-stack:not(.is-expanded) .experience-items {
  position: relative;
  min-height: 222px;
}

.experience-stack:not(.is-expanded) .experience-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 58px;
  padding: 9px 17px;
  overflow: hidden;
  pointer-events: none;
}

.experience-stack:not(.is-expanded) .experience-card:nth-child(1) {
  z-index: 5;
}

.experience-stack:not(.is-expanded) .experience-card:nth-child(n + 2) {
  opacity: 0.68;
}

.experience-stack:not(.is-expanded) .experience-card p {
  display: none;
}

.experience-stack:not(.is-expanded) .experience-card h4 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.experience-stack:not(.is-expanded) .experience-card:nth-child(n + 3) h4 {
  opacity: 0.48;
}

.experience-stack:not(.is-expanded) .experience-card:nth-child(2) {
  z-index: 4;
  transform: translateY(42px) scale(0.985);
}

.experience-stack:not(.is-expanded) .experience-card:nth-child(3) {
  z-index: 3;
  transform: translateY(84px) scale(0.965);
}

.experience-stack:not(.is-expanded) .experience-card:nth-child(4) {
  z-index: 2;
  transform: translateY(126px) scale(0.945);
}

.experience-stack:not(.is-expanded) .experience-card:nth-child(5) {
  z-index: 1;
  transform: translateY(168px) scale(0.925);
}

.safe-trail-root {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.trail-bit {
  position: fixed;
  left: 0;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(183, 93, 96, 0.62);
  opacity: 0.82;
  transform: translate(var(--x), var(--y)) scale(1);
  animation: safeTrailFade 780ms ease-out forwards;
}

.trail-bit.is-star {
  width: 4px;
  height: 4px;
  background: rgba(91, 123, 118, 0.5);
}

.trail-bit.is-butterfly {
  width: 16px;
  height: 12px;
  background: transparent;
  border-radius: 0;
}

.trail-bit.is-butterfly::before,
.trail-bit.is-butterfly::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 8px;
  height: 9px;
  border-radius: 8px 8px 2px 8px;
  background: rgba(235, 126, 145, 0.58);
}

.trail-bit.is-butterfly::before {
  left: 0;
  transform: rotate(-28deg);
}

.trail-bit.is-butterfly::after {
  right: 0;
  background: rgba(140, 191, 169, 0.58);
  transform: rotate(28deg);
}

@keyframes safeTrailFade {
  to {
    opacity: 0;
    transform: translate(calc(var(--x) + var(--drift-x)), calc(var(--y) + var(--drift-y))) scale(0.45);
  }
}

.works {
  padding: 124px 24px 132px;
}

.works-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(248, 253, 249, 0.48) 32%, rgba(255, 255, 255, 0.78)),
    url("/assets/works-bg.jpg") center / cover;
  transform: scale(1.03);
}

.works::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.42), transparent 26%);
  pointer-events: none;
}

.works-heading {
  position: relative;
  z-index: 2;
}

.works-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.works-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #2f4f4f, #7aa6a1);
  box-shadow: 0 18px 42px rgba(83, 124, 117, 0.18);
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.works-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(83, 124, 117, 0.24);
}

.carousel-shell,
.carousel-footer {
  position: relative;
  z-index: 2;
}

.carousel-shell {
  width: min(1320px, 100%);
  min-height: 520px;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: 68px 1fr 68px;
  align-items: center;
}

.carousel-stage {
  position: relative;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64), 0 34px 92px rgba(77, 132, 134, 0.2);
  overflow: hidden;
}

.carousel-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.44), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.24));
  pointer-events: none;
}

.carousel-card {
  position: absolute;
  left: 50%;
  top: 68px;
  width: min(690px, 62vw);
  aspect-ratio: 16 / 9;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 62px rgba(34, 75, 78, 0.24);
  overflow: hidden;
  transform: translateX(-50%) scale(0.72);
  opacity: 0;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), opacity 300ms ease, filter 300ms ease;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-card.is-active {
  z-index: 7;
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.carousel-card.is-prev {
  z-index: 5;
  transform: translateX(calc(-50% - 430px)) scale(0.72) rotate(-3deg);
  opacity: 0.86;
}

.carousel-card.is-next {
  z-index: 5;
  transform: translateX(calc(-50% + 430px)) scale(0.72) rotate(3deg);
  opacity: 0.86;
}

.carousel-card.is-far-prev {
  z-index: 3;
  transform: translateX(calc(-50% - 690px)) scale(0.52) rotate(-5deg);
  opacity: 0.55;
}

.carousel-card.is-far-next {
  z-index: 3;
  transform: translateX(calc(-50% + 690px)) scale(0.52) rotate(5deg);
  opacity: 0.55;
}

.carousel-card.is-hidden-card {
  pointer-events: none;
}

.carousel-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  color: #253f40;
  background: rgba(255, 255, 255, 0.78);
}

.carousel-caption span {
  color: #6d8a87;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carousel-caption h3 {
  margin: 5px 0 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.carousel-caption p {
  margin: 7px 0 0;
  color: #526b6b;
  font-size: 0.82rem;
  line-height: 1.55;
}

.carousel-arrow,
.mini-arrow {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #426263;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 42px rgba(78, 120, 121, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.carousel-arrow {
  width: 58px;
  height: 58px;
  font-size: 2.8rem;
  line-height: 1;
}

.carousel-arrow:hover,
.mini-arrow:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.78);
}

.carousel-footer {
  width: min(640px, 88%);
  min-height: 76px;
  margin: -58px auto 0;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 58px rgba(82, 126, 124, 0.2);
}

.mini-arrow {
  width: 44px;
  height: 44px;
  font-size: 1.45rem;
}

.carousel-meta {
  display: grid;
  justify-items: center;
  line-height: 1.25;
}

.carousel-meta strong {
  font-family: Georgia, "Songti SC", serif;
  font-size: 1.28rem;
  font-weight: 400;
}

.carousel-meta span {
  color: #6a8382;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact {
  min-height: auto;
  padding: 128px 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 24% 24%, rgba(242, 184, 201, 0.22), transparent 30%),
    linear-gradient(180deg, #fbfdfa 0%, #edf8ef 100%);
}

.contact-panel {
  width: min(760px, 100%);
  padding: clamp(34px, 6vw, 70px);
  border-radius: 32px;
  text-align: center;
}

.contact-panel h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(2.05rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.contact-panel p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 540px;
  color: var(--muted);
  line-height: 1.8;
}

.pdf-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(0, 0, 0, 0.98);
}

.pdf-viewer.is-open {
  display: block;
}

.pdf-viewer-pages {
  width: min(96vw, 1500px);
  height: 100vh;
  margin: 0 auto;
  padding: 72px 0 42px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pdf-viewer-pages[hidden] {
  display: none;
}

.pdf-viewer-pages img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  background: #101010;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.72);
}

.pdf-viewer-pages img + img {
  margin-top: 22px;
}

.pdf-viewer-frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.pdf-viewer-frame[hidden] {
  display: none;
}

.pdf-viewer-close {
  position: fixed;
  z-index: 101;
  top: 24px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  color: #244445;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 760px) {
  .site-nav {
    top: 12px;
    height: auto;
    min-height: 58px;
    padding: 10px 12px 10px 16px;
  }

  .brand-mark small {
    display: none;
  }

  .site-nav nav {
    gap: 3px;
  }

  .site-nav nav a {
    min-width: auto;
    padding: 10px 9px;
    font-size: 0.78rem;
  }

  .hero {
    position: relative;
    padding: 122px 18px 86px;
    min-height: 92vh;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 18vw, 5.4rem);
  }

  .hero-line {
    max-width: 280px;
  }

  .about,
  .works,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .works-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .works-download {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.82rem;
  }

  .about {
    --about-float: 48px;
    --about-content-float: 26px;
    scroll-margin-top: 82px;
    margin-top: -118px;
    padding-top: 38px;
    border-radius: 30px 30px 0 0;
  }

  .about-grid,
  .work-card.featured {
    grid-template-columns: 1fr;
  }

  .photo-carousel {
    min-height: 520px;
    transform: none;
  }

  .photo-frame-shell {
    width: min(370px, 86vw);
  }

  .photo-slide {
    inset: 13.7% 19% 27.6% 20.9%;
    padding: 0;
  }

  .photo-clip {
    width: 94px;
    height: 68px;
  }

  .photo-button {
    left: -10px;
    top: 92px;
    width: 62px;
    height: 62px;
  }

  .photo-button::before,
  .photo-button::after {
    left: 29px;
    top: 17px;
    height: 28px;
  }

  .frame-heart {
    width: 44px;
    height: 40px;
  }

  .frame-heart::before,
  .frame-heart::after {
    width: 44px;
    height: 40px;
  }

  .frame-heart::before {
    top: -21px;
  }

  .frame-heart::after {
    left: 21px;
  }

  .heart-one {
    top: 196px;
  }

  .heart-two {
    top: 258px;
  }

  .heart-three {
    top: 316px;
  }

  .experience-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .intro-panel {
    margin-top: 0;
  }

  .carousel-shell {
    grid-template-columns: 44px 1fr 44px;
    min-height: 360px;
  }

  .carousel-stage {
    height: 342px;
    border-radius: 28px;
  }

  .carousel-card {
    top: 72px;
    width: min(320px, 72vw);
    aspect-ratio: 16 / 9;
    border-width: 6px;
  }

  .carousel-card.is-prev {
    transform: translateX(calc(-50% - 176px)) scale(0.68) rotate(-4deg);
  }

  .carousel-card.is-next {
    transform: translateX(calc(-50% + 176px)) scale(0.68) rotate(4deg);
  }

  .carousel-card.is-far-prev,
  .carousel-card.is-far-next {
    opacity: 0;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
    font-size: 2rem;
  }

  .carousel-footer {
    margin-top: -36px;
    width: 94%;
    gap: 9px;
  }

  .pdf-viewer {
    padding: 0;
  }

  .pdf-viewer-pages {
    width: 100%;
    padding: 64px 10px 24px;
  }

  .pdf-viewer-pages img {
    border-radius: 7px;
  }

  .pdf-viewer-frame {
    border-radius: 16px;
  }

  .pdf-viewer-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .about {
    --about-float: 0px;
    --about-content-float: 0px;
    --about-content-opacity: 1;
  }
}
