@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --limestone: #c9c4b8;
  --warm-linen: #e6ddd0;
  --olive-thread: #7a7d5a;
  --stone-shadow: #586b54;
  --studio-white: #f3f2ed;

  --bg-1: #f3f2ed;
  --bg-2: #e6ddd0;
  --bg-3: #c9c4b8;
  --surface: rgba(255, 255, 255, 0.34);
  --surface-strong: rgba(255, 255, 255, 0.48);
  --surface-dark: rgba(88, 107, 84, 0.08);
  --border: rgba(255, 255, 255, 0.55);
  --border-soft: rgba(88, 107, 84, 0.12);

  --text-main: #2a2a26;
  --text-soft: #55564d;
  --text-muted: #717469;
  --accent: #7a7d5a;
  --accent-deep: #586b54;

  --shadow-sm: 0 10px 30px rgba(77, 73, 63, 0.08);
  --shadow-md: 0 18px 60px rgba(77, 73, 63, 0.12);
  --shadow-lg: 0 30px 100px rgba(77, 73, 63, 0.18);

  /* glass + depth tokens for wallpaper system */
  --glass-border: rgba(255, 255, 255, 0.55);
  --shadow-soft: 0 18px 60px rgba(77, 73, 63, 0.16);
  --shadow-deep: 0 30px 110px rgba(77, 73, 63, 0.26);

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --radius-pill: 999px;

  --container: 1180px;
  --ease-premium: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Satoshi", "Neue Haas Grotesk Text", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  font-size: 17px;
  position: relative;
  overflow-x: hidden;
  background-color: #ece6dc;
}

/* Full-site interior wallpaper layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(244,240,233,0.34), rgba(233,225,213,0.24)),
    url("wallpaper.jpg") center center / cover no-repeat;
  z-index: -5;
  transform: scale(1.04);
  filter: blur(1.5px) saturate(0.92);
}

/* Soft light veil above wallpaper */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 25%, rgba(255,255,255,0.14), transparent 28%),
    linear-gradient(to bottom, rgba(255,255,255,0.10), rgba(0,0,0,0.04));
  z-index: -4;
}

/* Sparse floating glass orbs for depth */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 30%,
      rgba(255,255,255,0.78),
      rgba(255,255,255,0.22) 42%,
      rgba(255,255,255,0.08) 68%,
      transparent 82%);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 18px 50px rgba(88, 107, 84, 0.08);
  opacity: 0.6;
  animation: floatOrb 16s ease-in-out infinite;
}

.bg-orb.one {
  width: 260px;
  height: 260px;
  top: 12%;
  right: -60px;
}

.bg-orb.two {
  width: 180px;
  height: 180px;
  bottom: 12%;
  left: -40px;
  animation-delay: -5s;
}

.bg-orb.three {
  width: 120px;
  height: 120px;
  top: 42%;
  right: 16%;
  animation-delay: -9s;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-14px) translateX(10px);
  }
}

/* Floating CGI blocks scene */
.scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.cube {
  position: absolute;
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.22),
    rgba(201,196,184,0.16)
  );
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 30px 60px rgba(60, 52, 39, 0.08);
  transform-style: preserve-3d;
  animation: floatCube 10s ease-in-out infinite;
  opacity: 0.75;
}

.cube-shadow {
  position: absolute;
  background: radial-gradient(
    ellipse at center,
    rgba(60,52,39,0.16),
    rgba(60,52,39,0.06) 45%,
    transparent 75%
  );
  filter: blur(22px);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
}

.cube-1 {
  width: 180px;
  height: 180px;
  left: 8%;
  top: 18%;
  transform: perspective(1200px) rotateX(12deg) rotateY(-18deg);
  animation-delay: -1s;
  filter: blur(1px);
}

.shadow-1 {
  width: 180px;
  height: 50px;
  left: 9%;
  top: 36%;
}

.cube-2 {
  width: 240px;
  height: 140px;
  right: 10%;
  top: 24%;
  transform: perspective(1200px) rotateX(10deg) rotateY(22deg);
  animation-delay: -4s;
  filter: blur(0.5px);
}

.shadow-2 {
  width: 220px;
  height: 54px;
  right: 11%;
  top: 40%;
}

.cube-3 {
  width: 150px;
  height: 150px;
  right: 22%;
  bottom: 16%;
  transform: perspective(1200px) rotateX(14deg) rotateY(-14deg);
  animation-delay: -7s;
  filter: blur(1.2px);
}

.shadow-3 {
  width: 150px;
  height: 42px;
  right: 23%;
  bottom: 10%;
}

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

a {
  color: var(--accent-deep);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

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

.site-shell {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.top-spacer {
  height: 120px;
}

.nav-wrap {
  position: sticky;
  top: 18px;
  z-index: 1000;
  width: min(var(--container), calc(100% - 32px));
  margin: 18px auto 0;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255,255,255,0.52);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.85), rgba(230,221,208,0.55));
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 6px 18px rgba(77,73,63,0.1);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-links a {
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.94rem;
  transition:
    transform 0.35s var(--ease-premium),
    background 0.35s var(--ease-premium),
    color 0.35s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.58);
  color: var(--accent-deep);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 10px 20px rgba(77,73,63,0.08);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: 84px 34px 42px;
  margin-bottom: 28px;
}

.hero-panel,
.panel-glass,
.card,
.project-highlight,
.contact-card,
.info-block,
.hobby-card,
.skill-panel,
.resume-block,
.footer,
.profile-frame {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.34),
    rgba(255,255,255,0.20)
  );
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.50),
    var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 56px 42px;
  box-shadow:
    0 40px 120px rgba(52, 44, 32, 0.16),
    0 16px 40px rgba(52, 44, 32, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.52);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.36), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.14), transparent 58%);
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: -30px;
  z-index: -1;
  border-radius: 36px;
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.16),
    transparent 70%
  );
  filter: blur(30px);
  opacity: 0.8;
}

/* Cover Letter page – olive hero panel treatment */
.page-hero .hero-panel {
  position: relative;
  border-radius: 28px;
  padding: 48px 56px;
  background:
    linear-gradient(
      180deg,
      rgba(122,125,90,0.42),
      rgba(122,125,90,0.28)
    );
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 30px 80px rgba(0,0,0,0.15);
  color: #2f312c;
}

.page-hero .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(255,255,255,0.35),
      transparent 30%
    );
  pointer-events: none;
}

.page-hero .hero-panel::after {
  content: "";
  position: absolute;
  inset: -30px;
  background:
    radial-gradient(
      ellipse at center,
      rgba(255,255,255,0.25),
      transparent 70%
    );
  filter: blur(40px);
  z-index: -1;
}

.page-hero .hero-panel h1 {
  color: #1f211c;
}

.page-hero .hero-panel p,
.page-hero .hero-panel .lead {
  color: #2f312c;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.54);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 7.4vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero p.lead,
.page-hero p.lead {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1.14rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.meta-chip,
.skill-tag,
.project-badge,
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(230,237,221,0.82), rgba(255,255,255,0.5));
  border: 1px solid rgba(122,125,90,0.45);
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.section {
  margin: 24px 0 34px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: end;
  margin: 70px 0 24px;
}

.section-head h2,
.section-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--olive-thread), var(--stone-shadow));
}

.section-subtext {
  margin: 6px 0 0;
  color: var(--text-soft);
  max-width: 700px;
  line-height: 1.8;
  font-size: 1.04rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
}

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

.card,
.info-block,
.contact-card,
.skill-panel {
  padding: 26px;
}

/* Refined glass treatment for content cards */
.card,
.resume-block,
.info-block,
.contact-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.28),
    rgba(255,255,255,0.18)
  );
  border: 1px solid rgba(255,255,255,0.42);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}

.card h3,
.info-block h3,
.contact-card h3,
.hobby-card h4,
.project-highlight h3,
.resume-block h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.05;
}

.card p,
.info-block p,
.contact-card p,
.hobby-card p,
.project-highlight p,
.resume-block p,
.resume-block li {
  color: var(--text-soft);
  line-height: 1.82;
  font-size: 1.06rem;
}

.card:hover,
.hobby-card:hover,
.project-gallery figure:hover,
.contact-card:hover,
.info-block:hover,
.resume-block:hover,
.profile-frame:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 50px rgba(52, 44, 32, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.46);
}

.card,
.hobby-card,
.project-gallery figure,
.contact-card,
.info-block,
.resume-block,
.profile-frame,
.button,
.nav-links a {
  transition:
    transform 0.45s cubic-bezier(.22,1,.36,1),
    box-shadow 0.45s cubic-bezier(.22,1,.36,1),
    border-color 0.35s var(--ease-premium),
    background 0.35s var(--ease-premium);
  transform-style: preserve-3d;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.65);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.36));
  color: var(--accent-deep);
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 10px 20px rgba(77,73,63,0.08);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 18px 30px rgba(77,73,63,0.14);
}

.button.secondary {
  background: rgba(255,255,255,0.24);
  color: var(--text-main);
}

.project-highlight {
  padding: 28px;
}

.project-gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.56);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.72),
    var(--shadow-sm);
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s var(--ease-premium);
}

.project-gallery figure:hover img {
  transform: scale(1.04);
}

.project-gallery figcaption {
  padding: 14px 16px 18px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.profile-frame {
  position: relative;
  padding: 14px;
  border-radius: 30px;
}

.profile-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.22);
  pointer-events: none;
}

.profile-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}

.skill-grid,
.meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resume-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.resume-stack {
  display: grid;
  gap: 22px;
}

.resume-block {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.44), rgba(255,255,255,0.22));
  border: 1px solid rgba(255,255,255,0.52);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.72),
    var(--shadow-sm);
}

.resume-block ul {
  margin: 0;
  padding-left: 18px;
}

.timeline-item + .timeline-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(88,107,84,0.1);
}

.muted {
  color: var(--text-muted);
}

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

.hobby-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hobby-card .emoji {
  font-size: 1.65rem;
  margin-bottom: 14px;
  display: inline-block;
}

.hobby-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 16px;
}

.drawing-fashion-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.drawing-fashion-imgs img {
  height: 180px;
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer {
  margin: 42px 0 28px;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

.footer-card {
  padding: 22px 24px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.34),
    rgba(255,255,255,0.20)
  );
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.50),
    var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.footer-card h3 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
}

.footer-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 1.02rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-premium),
    transform 0.9s var(--ease-premium),
    filter 0.9s var(--ease-premium);
  filter: blur(8px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

hr {
  display: none;
}

@media (max-width: 1100px) {
  .grid-2,
  .resume-layout,
  .contact-grid,
  .hobby-grid {
    grid-template-columns: 1fr;
  }

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

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

  .nav-bar {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .top-spacer {
    height: 138px;
  }

  body::before {
    background:
      linear-gradient(rgba(244, 240, 233, 0.55), rgba(233, 225, 213, 0.42)),
      url("wallpaper.jpg") center center / cover no-repeat;
  }

  .bg-orb {
    opacity: 0.35;
  }

  .hero {
    padding: 72px 0 22px;
  }

  .hero-panel,
  .card,
  .project-highlight,
  .contact-card,
  .info-block,
  .resume-block,
  .hobby-card {
    padding: 20px;
    border-radius: 24px;
  }

  .grid-3,
  .hobby-grid {
    grid-template-columns: 1fr;
  }

  .drawing-fashion-imgs {
    grid-template-columns: 1fr;
  }

  .brand-text span {
    display: none;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 10px 13px;
  }
}

