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

:root {
  --cream: #FAF6F1; --parchment: #F5ECD7; --blush: #F2C4CE;
  --blush-deep: #D4929F; --blush-light: #FBF0F2;
  --white: #FFFFFF; --black: #1A1514; --warm: #8A8075;
  --cg: 'Cormorant Garamond', Georgia, serif;
  --ds: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--black); font-family: var(--ds); overflow-x: hidden; cursor: none; }
@media (hover: none) { body { cursor: auto; } }

.grain-svg { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9998; }

#cur {
  position: fixed; top: 0; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: var(--blush); pointer-events: none;
  z-index: 99999; will-change: transform;
  transition: width .2s ease, height .2s ease, opacity .3s ease; opacity: 0;
}
#cur.on { opacity: 1; }
#cur.hovered { width: 22px; height: 22px; }
@media (hover: none) { #cur { display: none; } }

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 64px;
  transition: background .4s ease, border-bottom-color .4s ease;
  border-bottom: 0.5px solid transparent;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--cg); font-style: italic; font-weight: 400; font-size: 22px;
  color: var(--cream); letter-spacing: .02em; transition: color .4s ease;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; gap: 66px; list-style: none; }
.nav-links a {
  font-family: var(--ds); font-size: 13px; font-weight: 400;
  letter-spacing: .08em; color: rgba(250,246,241,0.88); text-decoration: none;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--blush); }
.nav-link-play,
.nav-link-work,
.nav-link-about,
.nav-link-contact { position: relative; }
.nav-link-play::after,
.nav-link-work::after,
.nav-link-about::after,
.nav-link-contact::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--blush); border-radius: 1px; opacity: 0;
  transition: opacity .2s ease;
}
.site-nav.scrolled .nav-link-work.active::after,
.site-nav.scrolled .nav-link-about.active::after,
.site-nav.scrolled .nav-link-contact.active::after { opacity: 0.6; }
.site-nav.scrolled { background: var(--cream); border-bottom-color: var(--blush); }
.site-nav.scrolled .nav-logo { color: var(--black); }
.site-nav.scrolled .nav-links a { color: var(--black); }
.site-nav.scrolled .nav-links a:hover { color: var(--blush-deep); }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 8px; min-width: 44px; min-height: 44px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(250,246,241,0.9);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-nav.scrolled .nav-hamburger span { background: var(--black); }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* HERO */
.hero { position: relative; width: 100%; height: 100vh; overflow: hidden; }

.hero-bg {
  position: absolute; top: -5%; left: 0;
  width: 100%; height: 130%; object-fit: cover; object-position: center 35%;
  will-change: transform; z-index: 0; display: block;
}

.hero-top-grad {
  position: absolute; top: 0; left: 0; right: 0; height: 44%;
  background: linear-gradient(to bottom, rgba(26,21,20,0.28) 0%, rgba(26,21,20,0.10) 52%, transparent 100%);
  pointer-events: none; z-index: 1;
}

.hero-grad {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to bottom, transparent 0%, transparent 30%, rgba(26,21,20,0.08) 55%, rgba(26,21,20,0.26) 100%);
  pointer-events: none; z-index: 1;
}

/* MASTHEAD — top center */
.hero-masthead {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 58px;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .8s ease .08s, transform .8s ease .08s;
}
.page-ready .hero-masthead { opacity: 1; transform: none; }

.h-name {
  font-family: var(--cg);
  font-size: clamp(52px, 10vw, 196px);
  line-height: 1.0;
  color: var(--cream); text-align: center; white-space: nowrap;
  text-shadow: 0 1px 12px rgba(26,21,20,0.25);
}
.h-issue {
  font-family: var(--ds); font-size: 11px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250,246,241,0.68); text-align: center;
}

/* TAGLINE — bottom left */
.hero-tagline {
  position: absolute; bottom: 10%; left: 64px; z-index: 5; max-width: 420px;
}
.h-tag {
  font-family: var(--ds); font-size: 22px; font-weight: 300; line-height: 1.55;
  color: rgba(250,246,241,0.88); margin-bottom: 10px;
  text-shadow: 0 1px 12px rgba(26,21,20,0.4);
  opacity: 0; transform: translateY(16px);
  transition: opacity .75s ease .5s, transform .75s ease .5s;
}
.page-ready .h-tag { opacity: 1; transform: none; }
.h-tag em {
  font-family: var(--cg); font-style: italic; font-size: 24px; font-weight: 400;
  color: rgba(250,246,241,0.94); font-synthesis: none;
}
.h-squig { display: block; margin-top: 2px; overflow: visible; }
.h-squig path {
  stroke-dasharray: 320; stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.4s ease 1.3s;
}
.page-ready .h-squig path { stroke-dashoffset: 0; }

/* SVG DECORATIVE CUTOUTS */
.cut {
  position: absolute; pointer-events: none; z-index: 4;
  opacity: 0; transition: opacity .55s ease, transform .55s ease;
}
.page-ready .cut { opacity: 1; }
.cut-1 { top: 86px;   left: 210px;  transform: rotate(-18deg); transition-delay: .5s; }
.cut-2 { top: 80px;   right: 210px; transform: rotate(14deg);  transition-delay: .6s; }
.cut-3 { top: 38%;    left: 3%;     transform: rotate(-8deg);  transition-delay: .7s; }
.cut-4 { top: 30%;    right: 3%;    transform: rotate(22deg);  transition-delay: .65s; }
.cut-5 { bottom: 30%; left: 26%;    transform: rotate(-6deg);  transition-delay: .75s; }
.cut-6 { bottom: 22%; right: 5%;    transform: rotate(16deg);  transition-delay: .8s; }

/* CLICKABLE PNG OBJECTS */
.obj {
  position: absolute; z-index: 6; cursor: pointer;
  opacity: 0; transform: translateY(15px);
  transition: opacity .5s ease, transform .5s ease;
}
.obj img { display: block; pointer-events: none; user-select: none; transition: transform .35s ease; }
.obj:hover, .obj.active { z-index: 30; }
@media (hover: hover) and (pointer: fine) {
  .obj:hover img { transform: scale(1.06); }
}

.page-ready .obj { opacity: 1; transform: translateY(0); }

/* Staggered float-in delays */
.obj-perfume  { transition-delay: 1.1s;  }
.obj-figma    { transition-delay: 1.25s; }
.obj-glasses  { transition-delay: 1.4s;  }
.obj-iphone   { transition-delay: 1.55s; }
.obj-notebook { transition-delay: 1.7s;  }
.obj-lipgloss { transition-delay: 1.85s; }
.obj-chai     { transition-delay: 2.0s;  }

/* One-time intro pulse */
.ring {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%; border-radius: 50%;
  border: 1.5px solid var(--blush-deep);
  transform: translate(-50%,-50%) scale(0.88);
  animation: ripple 1s ease-out 1 forwards;
  pointer-events: none;
}
.obj-perfume  .ring { animation-delay: 1.6s;  }
.obj-figma    .ring { animation-delay: 1.75s; }
.obj-glasses  .ring { animation-delay: 1.9s;  }
.obj-iphone   .ring { animation-delay: 2.05s; }
.obj-notebook .ring { animation-delay: 2.2s;  }
.obj-lipgloss .ring { animation-delay: 2.35s; }
.obj-chai     .ring { animation-delay: 2.5s;  }
@keyframes ripple {
  0%   { transform: translate(-50%,-50%) scale(0.88); opacity: .6; }
  100% { transform: translate(-50%,-50%) scale(1.9);  opacity: 0;  }
}

/* SPEECH BUBBLES */
.bubble {
  position: absolute;
  background: #FAF6F1;
  border: 1.5px solid #D4929F;
  box-shadow: 0 4px 18px rgba(26,21,20,0.13);
  border-radius: 18px;
  padding: 12px 12px;
  font-family: var(--cg); font-style: italic; font-size: 16px; font-weight: 400;
  color: var(--black); line-height: 1.5;
  min-width: 200px; max-width: 260px; white-space: normal;
  pointer-events: none;
  opacity: 0; transition: opacity .22s ease;
  z-index: 20;
  bottom: calc(100% + 13px);
  left: 50%; transform: translateX(-50%);
}
.bubble::after {
  content: ''; position: absolute;
  bottom: -8px; left: 50%; transform: translateX(-50%);
  border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-top: 8px solid #FAF6F1;
}
.obj.active .bubble { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .obj:hover .bubble { opacity: 1; }
}

.obj[data-side="right"] .bubble {
  bottom: auto; top: 50%; left: calc(100% + 13px); transform: translateY(-50%);
}
.obj[data-side="right"] .bubble::after {
  bottom: auto; top: 50%; left: -8px; transform: translateY(-50%);
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-right: 8px solid #FAF6F1; border-left: none;
}

.obj[data-side="left"] .bubble {
  bottom: auto; top: 50%; right: calc(100% + 13px); left: auto; transform: translateY(-50%);
}
.obj[data-side="left"] .bubble::after {
  bottom: auto; top: 50%; right: -8px; left: auto; transform: translateY(-50%);
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-left: 8px solid #FAF6F1; border-right: none;
}

.obj[data-side="below"] .bubble {
  bottom: auto; top: calc(100% + 13px); left: 50%; transform: translateX(-50%);
}
.obj[data-side="below"] .bubble::after {
  bottom: auto; top: -8px; left: 50%; transform: translateX(-50%);
  border-top: none; border-bottom: 8px solid #FAF6F1;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
}

@keyframes gentleBounce {
  0%,100% { transform: translateY(0); }
  30%  { transform: translateY(-14px); }
  65%  { transform: translateY(-5px);  }
}
.obj.bounce img { animation: gentleBounce .7s cubic-bezier(.36,.07,.19,.97); }

/* SCROLL HINT */
.h-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  opacity: 0; transition: opacity .6s ease 1.1s; z-index: 5;
  cursor: pointer;
}
.page-ready .h-scroll { opacity: 1; }
#psst {
  font-family: var(--cg); font-style: italic; font-size: 22px;
  color: #F2C4CE; text-align: center; letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7), 0 0 32px rgba(0,0,0,0.5);
  opacity: 0; transition: opacity .9s ease; white-space: nowrap;
}
#psst.visible { opacity: 1; }
.h-scroll-txt {
  font-family: var(--ds); font-size: 11px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(250,246,241,0.7);
  position: relative; transition: color 0.2s ease;
}
.h-scroll-txt::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0; height: 1.5px;
  background: var(--blush);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .h-scroll:hover .h-scroll-txt { color: rgba(250,246,241,1.0); }
  .h-scroll:hover .h-scroll-txt::after { transform: scaleX(1); }
}
.h-scroll-chev { animation: bob 2s ease infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
.about { background: var(--cream); padding: 120px 0 48px; }
.about-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 64px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.about-photo-col { position: relative; }
.about-photo-wrap { position: relative; }
.about-photo {
  width: 100%; display: block; height: auto;
  border: 2px solid #F2C4CE; border-radius: 12px;
  object-fit: cover; object-position: center 15%;
  aspect-ratio: 3/4;
}
.about-washi {
  position: absolute; top: -9px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 172px; height: 28px;
  background: rgba(242,196,206,0.55); border-radius: 3px; z-index: 2;
}
.about-bow { position: absolute; top: -24px; right: -20px; z-index: 3; }
.about-pearls { position: absolute; bottom: 14px; right: -14px; z-index: 3; width: 30px; height: 30px; }
.abt-pearl {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--parchment); border: 1.5px solid var(--blush-deep);
}
.abt-pearl:nth-child(1) { top: 0;   right: 0;   }
.abt-pearl:nth-child(2) { top: 9px; right: 14px; }
.abt-pearl:nth-child(3) { top: 18px; right: 2px; }

.about-content-col { padding-top: 8px; }
.about-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ds); font-size: 11px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #D4929F; margin-bottom: 10px;
}
.about-squig { display: block; margin-bottom: 28px; overflow: visible; }
.about-squig path {
  stroke-dasharray: 300; stroke-dashoffset: 300;
  transition: stroke-dashoffset 1s ease 0.2s;
}
.about-squig.visible path { stroke-dashoffset: 0; }

.about-heading-wrap { position: relative; margin-bottom: 24px; }
.about-spark { position: absolute; top: -12px; right: 0; }
.about-heading {
  font-family: var(--cg); font-style: italic; font-weight: 300;
  font-size: clamp(32px, 3.5vw, 48px); line-height: 1.15; color: var(--black);
}
.about-body {
  font-family: var(--ds); font-size: 16px; font-weight: 400;
  line-height: 1.8; color: #8A8075; margin-bottom: 32px;
}
.about-edu {
  background: #F5ECD7; border-left: 3px solid #F2C4CE;
  border-radius: 0 8px 8px 0; padding: 16px 20px;
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 32px;
}
.about-edu-spark { flex-shrink: 0; margin-top: 3px; }
.about-edu-text {
  font-family: var(--ds); font-size: 13px; font-weight: 400;
  line-height: 1.7; color: var(--black);
}
.about-facts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 28px;
}
.about-fact { display: flex; flex-direction: column; gap: 5px; }
.about-fact-spark { flex-shrink: 0; }
.about-fact-label {
  font-family: var(--ds); font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #D4929F; line-height: 1;
}
.about-fact-value {
  font-family: var(--ds); font-size: 14px; font-weight: 400;
  color: #1A1514; line-height: 1.3;
}
.about-caps { display: flex; flex-wrap: wrap; gap: 8px; }
.cap {
  font-family: var(--ds); font-size: 12px; font-weight: 400;
  color: var(--black); background: var(--cream);
  border: 1px solid #D4929F; border-radius: 20px; padding: 6px 14px;
  display: inline-block; line-height: 1;
}
.cap:nth-child(odd)  { transform: rotate(-1.5deg); }
.cap:nth-child(even) { transform: rotate(1.5deg);  }

/* Scroll-reveal utilities */
.sr {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.sr.visible { opacity: 1; transform: none; }
.sr-photo {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.sr-photo.visible { opacity: 1; transform: none; }
.sr-bow {
  opacity: 0; transform: rotate(-22deg) translateY(10px);
  transition: opacity 0.5s ease 0.35s, transform 0.65s cubic-bezier(.34,1.56,.64,1) 0.35s;
}
.sr-bow.visible { opacity: 1; transform: rotate(18deg); }
.sr-pearl {
  opacity: 0; transform: translateY(10px) scale(0.4);
  transition: opacity 0.4s ease 0.45s, transform 0.55s cubic-bezier(.34,1.56,.64,1) 0.45s;
}
.sr-pearl.visible { opacity: 1; transform: none; }
.sr-spark {
  opacity: 0; transform: scale(0) rotate(-30deg);
  transition: opacity 0.3s ease 0.28s, transform 0.5s cubic-bezier(.34,1.56,.64,1) 0.28s;
}
.sr-spark.visible { opacity: 1; transform: scale(1) rotate(0deg); }
.sr-d1 { transition-delay: 0.05s; }
.sr-d2 { transition-delay: 0.2s;  }
.sr-d3 { transition-delay: 0.35s; }
.sr-d4 { transition-delay: 0.5s;  }
.sr-d5 { transition-delay: 0.65s; }

/* ─── SKILLS — FIGMA CANVAS ─── */
.skills { background: #fff; }

.fgm-bar {
  height: 44px; background: #1E1E1E;
  display: flex; align-items: center;
  padding: 0 14px; user-select: none; position: relative; z-index: 2;
}
.fgm-bar-left   { display: flex; align-items: center; gap: 10px; flex: 1; }
.fgm-bar-center { display: flex; align-items: center; gap: 1px; }
.fgm-bar-right  { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-end; }
.fgm-page-tab {
  font-family: var(--ds); font-size: 12px; font-weight: 400;
  color: #fff; padding: 4px 12px;
  border-bottom: 2px solid #0D99FF;
}
.fgm-zoom {
  font-family: var(--ds); font-size: 12px;
  color: rgba(255,255,255,0.65);
  padding: 2px 8px; border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.fgm-tool {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; cursor: default;
}
.fgm-tool:hover { background: rgba(255,255,255,0.1); }
.fgm-tool.active { background: #0D99FF; }
.fgm-div { width: 1px; height: 18px; background: rgba(255,255,255,0.15); margin: 0 6px; }

.fgm-canvas {
  position: relative; min-height: 530px;
  background-color: #fff;
  background-image: radial-gradient(circle, rgba(0,0,0,0.35) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow: hidden;
}

.fgm-frame {
  position: absolute; background: #fff;
  border: 1.5px solid #B3B3B3;
  padding: 12px 24px; cursor: grab;
  user-select: none; white-space: nowrap; z-index: 1;
}
.fgm-frame:hover { border: 2px solid #0D99FF; z-index: 10; }
.fgm-frame.dragging { cursor: grabbing; border: 2px solid #0D99FF; z-index: 50; }
.frame-text {
  font-family: var(--ds); font-size: 15px; font-weight: 400;
  color: #1A1514; display: block; line-height: 1;
}
.fh {
  position: absolute; width: 6px; height: 6px;
  background: #fff; border: 1.5px solid #0D99FF;
  opacity: 0; pointer-events: none; z-index: 2;
}
.fgm-frame:hover .fh,
.fgm-frame.dragging .fh { opacity: 1; }
.fh.tl { top: -4px;    left: -4px;  }
.fh.tr { top: -4px;    right: -4px; }
.fh.bl { bottom: -4px; left: -4px;  }
.fh.br { bottom: -4px; right: -4px; }
.frame-lbl {
  position: absolute; top: calc(100% + 4px); left: 0;
  font-family: var(--ds); font-size: 11px; color: #0D99FF;
  white-space: nowrap; opacity: 0; pointer-events: none;
}
.fgm-frame:hover .frame-lbl,
.fgm-frame.dragging .frame-lbl { opacity: 1; }

.collab-cursor {
  position: absolute; top: 0; left: 0;
  pointer-events: none; z-index: 80;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.28));
  animation: collabDrift 30s ease-in-out infinite;
}
.collab-tag {
  position: absolute; top: 20px; left: 14px;
  background: #1B9E4B; color: #fff;
  font-family: var(--ds); font-size: 12px; font-weight: 500;
  padding: 4px 10px; border-radius: 0 5px 5px 5px; white-space: nowrap;
}
@keyframes collabDrift {
  0%   { transform: translate(248px, 42px);  }
  6%   { transform: translate(248px, 42px);  }
  16%  { transform: translate(547px, 188px); }
  22%  { transform: translate(547px, 188px); }
  32%  { transform: translate(42px,  314px); }
  38%  { transform: translate(42px,  314px); }
  48%  { transform: translate(707px, 320px); }
  54%  { transform: translate(707px, 320px); }
  64%  { transform: translate(453px, 422px); }
  70%  { transform: translate(453px, 422px); }
  80%  { transform: translate(287px, 176px); }
  86%  { transform: translate(287px, 176px); }
  96%  { transform: translate(248px, 42px);  }
  100% { transform: translate(248px, 42px);  }
}

.skills-tagline {
  text-align: center; background: #fff;
  font-family: var(--cg); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 2vw, 26px); color: var(--black);
  padding: 36px 24px 56px;
}

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .cut-1, .cut-2 { display: none; }
  .hero-tagline { left: 40px; }
  .obj-perfume  { top: 100px;  left: 56px;  }
  .obj-figma    { top: 100px;  right: 56px; left: auto; }
  .obj-glasses  { top: 32%;   left: 14%;   }
  .obj-iphone   { top: 44%;   right: 4%;   }
  .obj-lipgloss { bottom: 32%; right: 8%;  left: auto; }
  .obj-notebook { bottom: 8%;  right: 5%;  }
  .obj-chai     { bottom: 12%; left: 4%;   }
  .obj-perfume img  { width: 90px;  }
  .obj-figma img    { width: 70px;  }
  .obj-glasses img  { width: 130px; }
  .obj-iphone img   { width: 110px; }
  .obj-lipgloss img { width: 48px;  }
  .obj-notebook img { width: 90px;  }
  .obj-chai img     { width: 140px; }
  .about-inner { gap: 48px; padding: 0 40px; }
  .fgm-canvas {
    display: flex; flex-wrap: wrap; gap: 10px;
    padding: 24px 20px; min-height: auto; align-content: flex-start;
  }
  .fgm-frame { position: static !important; cursor: default; }
  .fgm-frame:hover { border: 1.5px solid #B3B3B3; }
  .fgm-frame .fh, .fgm-frame:hover .fh { opacity: 0; }
  .fgm-frame .frame-lbl, .fgm-frame:hover .frame-lbl { opacity: 0; }
  .collab-cursor { display: none; }
  .work { overflow-x: hidden; }
  .work-header { padding: 80px 40px 60px; }
  .work-h2 { font-size: 42px; }
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; padding: 0 5px; max-width: 1200px;
  }
  .work-grid .pol-wrap:nth-child(2) { margin-top: -6px; }
  .pol-wrap { transform: translateY(24px) rotate(var(--pol-rot-m, 0deg)); }
  .pol-wrap.visible {
    transform: rotate(var(--pol-rot-m, 0deg));
    box-shadow: 2px 4px 16px rgba(26,21,20,0.12);
  }
  .pol-wrap.pol-ready { transition: transform 0.3s ease, box-shadow 0.3s ease; }
}

/* ── ≤860px ── */
@media (max-width: 860px) {
  .site-nav { padding: 0 28px; }
  .h-name { font-size: clamp(38px, 10vw, 64px); white-space: normal; }
  .hero-tagline { left: 28px; bottom: 8%; max-width: calc(100vw - 56px); }
  .h-tag { font-size: 15px; }
  .cut-1, .cut-2 { display: none; }
  .obj-perfume  { top: 72px;   left: 16px;  }
  .obj-figma    { top: 72px;   right: 16px; left: auto; }
  .obj-glasses  { top: 34%;   left: 12%;   }
  .obj-iphone   { top: 44%;   right: 4%;   }
  .obj-lipgloss { bottom: 32%; right: 6%;  left: auto; }
  .obj-notebook { bottom: 8%;  right: 4%;  }
  .obj-chai     { bottom: 12%; left: 4%;   }
  .obj-perfume img  { width: 76px;  }
  .obj-figma img    { width: 58px;  }
  .obj-glasses img  { width: 100px; }
  .obj-iphone img   { width: 85px;  }
  .obj-lipgloss img { width: 42px;  }
  .obj-notebook img { width: 72px;  }
  .obj-chai img     { width: 118px; }
  .about { padding: 80px 0 36px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 28px; }
  .about-photo-col { max-width: 320px; margin: 0 auto; }
  .about-bow { top: -16px; right: -10px; }
  .about-pearls { right: -8px; }
  .fgm-canvas {
    display: flex; flex-wrap: wrap; gap: 10px;
    padding: 24px 20px; min-height: auto; align-content: flex-start;
  }
  .fgm-frame { position: static !important; cursor: default; }
  .fgm-frame:hover { border: 1.5px solid #B3B3B3; }
  .fgm-frame .fh,
  .fgm-frame:hover .fh { opacity: 0; }
  .fgm-frame .frame-lbl,
  .fgm-frame:hover .frame-lbl { opacity: 0; }
  .collab-cursor { display: none; }
  .work { overflow-x: hidden; }
  .work-header { padding: 80px 28px 60px; }
  .work-h2 { font-size: 36px; }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 36px; padding: 0 28px; max-width: 260px; margin: 0 auto;
  }
  .work-grid .pol-wrap { margin-top: 0 !important; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  .site-nav { padding: 0 24px; }
  .fgm-bar-center, .fgm-bar-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-links.nav-open {
    display: flex; flex-direction: column; gap: 0; list-style: none;
    position: fixed; top: 64px; left: 0; right: 0;
    background: #FAF6F1; padding: 8px 0 16px;
    border-bottom: 1px solid rgba(212,146,159,0.3);
    z-index: 999;
  }
  .nav-links.nav-open li a {
    display: flex; align-items: center; min-height: 44px; padding: 0 28px;
    font-family: var(--ds); font-size: 14px; letter-spacing: 0.08em;
    color: var(--black); text-decoration: none;
  }
  .work { overflow-x: hidden; padding-bottom: 60px; }
  .work-header { padding: 60px 24px 44px; }
  .work-h2 { font-size: 32px; }
  .work-squig { width: 80%; }
  .work-grid {
    grid-template-columns: 1fr; gap: 40px;
    padding: 0 24px; max-width: 320px; margin: 0 auto;
  }
  .work-grid .pol-wrap { margin-top: 0 !important; }
  .pol-wrap { transform: translateY(16px) rotate(var(--pol-rot-m, 0deg)); }
  .pol-wrap.visible { transform: rotate(var(--pol-rot-m, 0deg)); }
  .pol-wrap.pol-ready {
    transform: rotate(var(--pol-rot-m, 0deg));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .pol-washi { width: 40px; }
  .work-mid-rule { width: 60%; }
  .wbd-pearl-1, .wbd-pearl-2, .wbd-pearl-3 { display: none; }
  .wbd-bow-tl { opacity: 0.15; }
  .wbd-bow-br { opacity: 0.15; }
  .wbd-spark-3, .wbd-spark-4 { display: none; }
  .obj-perfume img  { width: 68px;  }
  .obj-figma img    { width: 52px;  }
  .obj-glasses img  { width: 86px;  }
  .obj-iphone img   { width: 72px;  }
  .obj-lipgloss img { width: 38px;  }
  .obj-notebook img { width: 62px;  }
  .obj-chai img     { width: 100px; }
  .contact { height: auto; min-height: unset; overflow: visible; }
  .ct-content { flex-direction: column; gap: 36px; padding: 56px 20px 64px; }
  .ct-col-left, .ct-col-right { flex: none; width: 100%; }
  .ct-heading { font-size: 30px; }
  .ct-heading-accent { white-space: normal; }
  .ct-sub { max-width: none; font-size: 14px; }
  .ct-links { margin-top: 24px; gap: 6px; }
  .ct-big-cup-wrap { width: 200px; height: 200px; }
  .ct-on-cup-input { width: 110px; }
  .ct-bg-bow-tl, .ct-bg-bow-br, .ct-bg-spark-2, .ct-bg-spark-3 { display: none; }
}

/* ── ≤650px ── */
@media (max-width: 650px) {
  .obj-glasses, .obj-iphone, .obj-notebook { display: none; }
  .obj-perfume img  { width: 60px; }
  .obj-figma img    { width: 46px; }
  .obj-lipgloss img { width: 34px; }
  .obj-chai img     { width: 84px; }
}

/* ── ≤560px ── */
@media (max-width: 560px) {
  .obj { display: none; }
  .about-photo-col { max-width: 260px; }
}

/* ── ≤480px ── */
@media (max-width: 480px) {
  .hero-tagline { left: 20px; bottom: 7%; }
  .obj-perfume, .obj-figma { display: none; }
  .obj-lipgloss { bottom: 22%; left: 14px; }
  .obj-chai     { bottom: 13%; left: 40px; }
  .about { padding: 64px 0 28px; }
  .about-inner { padding: 0 20px; }
  .work-grid { max-width: 280px; gap: 32px; padding: 0 20px; }
  .work-h2 { font-size: 28px; }
  .ct-content { padding: 48px 16px 56px; gap: 28px; }
  .ct-heading { font-size: 26px; }
  .ct-big-cup-wrap { width: 180px; height: 180px; }
}

/* ── Editorial 2-up (681–860px) ── */
@media (min-width: 681px) and (max-width: 860px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; padding: 0 28px; max-width: 560px; margin: 0 auto;
  }
  .work-grid > .pol-wrap:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
    margin: 0 auto;
    width: 100%;
  }
  .work-grid .pol-wrap { margin-top: 0 !important; }
}

/* ─── WORK SECTION ─── */
.work-top-rule {
  position: relative; text-align: center;
  line-height: 0; padding: 16px 0;
  background: var(--cream);
}
.work-top-rule::before {
  content: ''; position: absolute; top: 50%;
  left: 0; right: 0; height: 1px;
  background: #F2C4CE; z-index: 0;
}
.wtr-bow {
  position: relative; z-index: 1; display: inline-block;
  background: var(--cream); padding: 0 8px;
}

.work {
  background: var(--cream); position: relative;
  overflow: hidden; padding-bottom: 96px;
}
.work-header {
  position: relative; z-index: 1;
  text-align: center; padding: 68px 48px 60px;
}
.work-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ds); font-size: 11px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #D4929F; margin-bottom: 14px;
}
.work-squig { display: block; margin: 0 auto 20px; overflow: visible; }
.work-squig path {
  stroke-dasharray: 220; stroke-dashoffset: 220;
  transition: stroke-dashoffset 1s ease 0.2s;
}
.work-squig.visible path { stroke-dashoffset: 0; }
.work-h2 {
  font-family: var(--cg); font-style: italic; font-weight: 400;
  font-size: clamp(32px, 4vw, 52px); color: var(--black); line-height: 1.1;
}

.sr-work {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.sr-work.visible { opacity: 1; transform: none; }

.work-grid {
  display: grid; margin: 0 auto;
  position: relative; z-index: 1;
}
@media (min-width: 1025px) {
  .obj-perfume  { top: 188px;   left: 108px;  }
  .obj-figma    { top: 248px;   right: 404px; }
  .obj-glasses  { top: 28%;    left: 20%;    }
  .obj-iphone   { top: 42%;    right: 138px; }
  .obj-notebook { top: 71%;    right: 268px; }
  .obj-lipgloss { bottom: 28%; left: 278px;  }
  .obj-chai     { bottom: 26%; left: 56px;   }
  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1060px; padding: 0 48px; }
  .work-grid .pol-wrap:nth-child(2) { margin-top: -8px; }
  .work-header { padding-bottom: 36px; }
  .work-mid-rule { margin: 32px auto; }
  .work { padding-bottom: 64px; }
}

.pol-wrap {
  position: relative; display: block; cursor: pointer;
  text-decoration: none;
  background: #fff; border-radius: 3px;
  padding: 10px 10px 0 10px; width: 100%;
  opacity: 0;
  transform: translateY(30px) rotate(var(--pol-rot, 0deg));
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.pol-wrap.visible {
  opacity: 1; transform: rotate(var(--pol-rot, 0deg));
  box-shadow: 2px 4px 16px rgba(26,21,20,0.12);
}
.pol-wrap.pol-ready {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .pol-wrap.pol-ready:hover {
    transform: translateY(-12px) rotate(0deg);
    box-shadow: 0 4px 28px rgba(26,21,20,0.18);
  }
  .pol-wrap.pol-ready:hover .pol-washi {
    transform: translateX(-50%) rotate(-2deg) translateY(-2px);
  }
  .pol-wrap.pol-ready:hover .pol-spark-wrap { transform: rotate(360deg); }
}

.pol-photo {
  position: relative; width: 100%;
  aspect-ratio: 4/5; overflow: hidden;
  background: #f0f0f0; background-size: cover; background-position: center;
}
.pol-video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none;
}
.pol-washi {
  position: absolute; top: -9px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 52px; height: 18px;
  background: rgba(242,196,206,0.55);
  border-radius: 2px; pointer-events: none; z-index: 4;
  transition: transform 0.3s ease;
}
.pol-spark-wrap {
  position: absolute; top: 18px; right: 18px;
  z-index: 2; pointer-events: none;
  transition: transform 0.4s ease;
}
.pol-info {
  background: #fff;
  padding: 16px 12px 20px 12px;
  text-align: center;
}
.pol-num {
  display: block; font-family: var(--cg); font-style: italic;
  font-size: 11px; color: #D4929F; margin-bottom: 2px;
}
.pol-title {
  display: block; font-family: var(--cg); font-size: 18px;
  font-weight: 400; color: var(--black); line-height: 1.2; margin-bottom: 2px;
}
.pol-desc {
  display: block; font-family: var(--ds); font-size: 11px;
  font-weight: 400; color: var(--warm); line-height: 1.4;
}

.work-mid-rule {
  position: relative; z-index: 1;
  width: 40%; margin: 56px auto;
  display: flex; align-items: center;
  justify-content: center; gap: 24px;
  opacity: 0; transition: opacity 0.6s ease;
}
.work-mid-rule.visible { opacity: 1; }
.work-mid-rule::before {
  content: ''; position: absolute; top: 50%;
  left: 0; right: 0; height: 1px;
  background: #F2C4CE; z-index: 0;
}
.wmr-bow, .wmr-spark {
  position: relative; z-index: 1; flex-shrink: 0;
  background: var(--cream); padding: 0 4px;
}
.wmr-bow svg { display: block; transform: rotate(-15deg); transition: transform 0.6s ease 0.2s; }
.work-mid-rule.visible .wmr-bow svg { transform: rotate(0deg); }
@keyframes sparkTwinkle {
  0%   { transform: scale(1); opacity: 0.7; }
  50%  { transform: scale(1.5) rotate(45deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
}
.work-mid-rule.visible .wmr-spark svg { animation: sparkTwinkle 0.7s ease 0.1s forwards; }

.work-soon {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--cg); font-style: italic; font-size: 20px;
  font-weight: 400; color: var(--warm);
  margin-top: 64px; position: relative; z-index: 1;
  opacity: 0; transition: opacity 0.7s ease;
}
.work-soon.visible { opacity: 1; }

.work-bg-deco {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.wbd-bow-tl { position: absolute; top: 48px; left: 28px; opacity: 0.3; transform: rotate(-20deg); }
.wbd-bow-br { position: absolute; bottom: 100px; right: 28px; opacity: 0.3; transform: rotate(15deg); }
.wbd-pearl-grp { position: absolute; display: flex; flex-direction: column; gap: 6px; }
.wbd-pearl-grp span {
  display: block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--parchment); border: 1.5px solid var(--blush-deep);
}
.wbd-pearl-1 { top: 260px; left: 18px; }
.wbd-pearl-2 { top: 640px; left: 18px; }
.wbd-pearl-3 { bottom: 140px; right: 40px; }
.wbd-spark-bg { position: absolute; pointer-events: none; }
.wbd-spark-1 { top: 210px; right: 16%; }
.wbd-spark-2 { top: 44%; left: 9%; }
.wbd-spark-3 { bottom: 270px; right: 19%; }
.wbd-spark-4 { top: 62%; right: 6%; }

/* ── Contact ── */
.contact {
  background: #1A1514;
  height: 100vh; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: stretch; justify-content: center;
  position: relative; overflow: hidden; box-sizing: border-box;
}
.ct-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.ct-bg-bow-tl { position: absolute; top: 40px; left: 32px; opacity: 0.15; transform: rotate(-20deg); }
.ct-bg-bow-br { position: absolute; bottom: 80px; right: 32px; opacity: 0.15; transform: rotate(15deg); }
.ct-bg-spark { position: absolute; opacity: 0.2; }
.ct-bg-spark-1 { top: 80px; right: 12%; }
.ct-bg-spark-2 { bottom: 140px; left: 8%; }
.ct-bg-spark-3 { top: 58%; right: 28%; }

.ct-content {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px; width: 100%;
  display: flex; align-items: center; gap: 48px;
}

.ct-col-left {
  flex: 1 1 0;
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ct-col-left.visible { opacity: 1; transform: translateX(0); }
.ct-col-bow { margin-bottom: 24px; opacity: 0.6; display: inline-block; }
.ct-heading {
  font-family: var(--cg); font-style: italic; font-weight: 400;
  font-size: 52px; color: #FAF6F1; line-height: 1.2; margin-bottom: 24px;
}
.ct-heading-accent { color: var(--blush); white-space: nowrap; }
.ct-squig {
  display: block; margin-bottom: 20px; overflow: visible;
  opacity: 0; transition: opacity 0.5s ease;
}
.ct-squig.visible { opacity: 0.25; }
.ct-squig path {
  stroke-dasharray: 280; stroke-dashoffset: 280;
  transition: stroke-dashoffset 1s ease 0.3s;
}
.ct-squig.visible path { stroke-dashoffset: 0; }
.ct-sub {
  font-family: var(--ds); font-size: 15px; font-weight: 300;
  color: #8A8075; line-height: 1.7; max-width: 380px;
}
.ct-links {
  display: flex; align-items: center;
  flex-wrap: wrap; row-gap: 6px; margin-top: 32px;
}
.ct-link {
  font-family: var(--cg); font-size: 18px;
  color: #FAF6F1; text-decoration: none;
  position: relative; transition: color 0.2s ease;
}
.ct-link::after {
  content: ''; position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .ct-link:hover { color: #F2C4CE; }
  .ct-link:hover::after { transform: scaleX(1); }
}
.ct-link-arrow { font-family: var(--ds); font-size: 14px; }
.ct-sep { font-family: var(--ds); color: #8A8075; margin: 0 10px; flex-shrink: 0; }

.ct-col-right {
  flex: 1 1 0;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}
.ct-col-right.visible { opacity: 1; transform: translateX(0); }
.ct-chai-label {
  font-family: var(--ds); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4); margin-bottom: 6px; text-align: center;
}
/* Thumbnail selectors */
.ct-thumb-row {
  display: flex; gap: 8px; margin-bottom: 6px; justify-content: center;
}
.ct-thumb {
  width: 44px; height: 44px; border-radius: 8px; padding: 4px;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  cursor: pointer; outline: none;
  transition: border-color 0.2s, opacity 0.2s; opacity: 0.55;
}
.ct-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ct-thumb.active { border-color: rgba(242,196,206,0.65); opacity: 1; }
.ct-thumb:focus-visible { border-color: rgba(255,255,255,0.5); opacity: 1; }

/* Big cup image */
.ct-big-cup-wrap {
  position: relative; width: 340px; height: 340px; margin-bottom: 2px;
}
.ct-big-cup-img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block; transition: opacity 0.25s ease;
}

/* Inputs overlaid on cup body (~34–48% from top covers the cup exterior for all 4 images) */
.ct-on-cup-input {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 110px; background: transparent; border: none;
  border-bottom: 1px solid rgba(58,26,10,0.35);
  color: #3A1A0A; font-family: var(--ds); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-align: center; outline: none;
  padding: 3px 0; transition: border-color 0.2s; z-index: 2;
}
.ct-on-cup-input::placeholder { color: rgba(58,26,10,0.45); font-style: italic; font-weight: 400; }
.ct-on-cup-input:focus { border-bottom-color: rgba(58,26,10,0.7); }
#chaiName { top: 40%; }
#chaiWord { top: 54%; }

.ct-chai-form { display: flex; flex-direction: column; align-items: center; }
.ct-chai-btn {
  margin-top: 6px;
  font-family: var(--ds); font-size: 13px; letter-spacing: 0.06em;
  color: #FAF6F1; background: #C4873A;
  border: none; border-radius: 24px; padding: 10px 32px;
  cursor: pointer; min-height: 44px; transition: background 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .ct-chai-btn:hover { background: #D4973A; }
  .ct-thumb:not(.active):hover { opacity: 0.85; }
}
.ct-chai-btn:disabled { opacity: 0.6; cursor: default; }
.ct-chai-error {
  font-family: var(--ds); font-size: 13px; color: #D4929F;
  margin-top: 4px; min-height: 18px; text-align: center; width: 100%;
}
.ct-chai-confirm {
  font-family: var(--cg); font-style: italic; font-size: 16px;
  color: #FAF6F1; margin-top: 4px; display: none; text-align: center;
  animation: chaiFadeIn 0.5s ease forwards;
}
.ct-chai-counter {
  font-family: var(--cg); font-style: italic; font-size: 15px;
  color: rgba(255,255,255,0.45); margin-top: 6px; text-align: center;
}

.ct-chai-wall-link {
  font-family: var(--ds); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  text-decoration: none; margin-top: 4px; transition: color 0.2s;
}
.ct-chai-wall-link:hover { color: rgba(255,255,255,0.65); }

.ct-footer-strip {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
}
.ct-footer-rule {
  width: 100%; border: none;
  border-top: 1px solid rgba(255,255,255,0.06); margin: 0;
}
.ct-footer-text {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ds); font-size: 11px;
  letter-spacing: 0.12em; color: #8A8075; opacity: 0.6;
  padding: 16px 24px; text-align: center;
}

@keyframes chaiShake {
  0%, 100% { transform: translateX(0); }
  15%  { transform: translateX(-5px); }
  40%  { transform: translateX(5px); }
  65%  { transform: translateX(-3px); }
  85%  { transform: translateX(3px); }
}
@keyframes chaiFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ct-on-cup-input.shake { animation: chaiShake 0.3s ease; }

