/* ═══════════════════════════════════════════════
   CONTENT PAGES — about / services / contact
   Shared with main.css (nav, footer, buttons, tokens).
   No thread here; life comes from cards + reveals.
   ═══════════════════════════════════════════════ */

body.page {
  background: var(--canvas);
  min-height: 100vh;
}

/* nav gets a soft backdrop so it stays legible over scrolling content */
.page .site-nav {
  background: rgba(248, 242, 229, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--page-x); }
.wrap-narrow { max-width: 820px; }

/* ── reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── section rhythm ── */
.section { padding: clamp(56px, 9vh, 104px) 0; }
.kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 26px;
}

/* ── hero ── */
.hero {
  padding: clamp(150px, 20vh, 240px) 0 clamp(50px, 8vh, 96px);
}
.hero-title {
  font-size: clamp(46px, 9vw, 116px);
  font-weight: 200;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.hero-title em { font-style: normal; font-weight: 400; color: var(--cherry); }
.lede {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-70);
  max-width: 46ch;
}
.lede strong { font-weight: 500; color: var(--ink); }

/* ── big statement ── */
.statement {
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.statement em { font-style: normal; font-weight: 400; color: var(--cherry); }
.section-body {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink-70);
  max-width: 54ch;
  margin-top: 28px;
}
.section-body strong { font-weight: 500; color: var(--ink); }

/* ═══ ABOUT — the desk ═══ */
.desk {
  position: relative;
  height: max(100vh, 660px);
  overflow: hidden;
}
.desk-hint {
  position: absolute;
  top: 96px;
  left: var(--page-x);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-55);
  white-space: nowrap;
}
.desk.ordered .desk-hint { opacity: 0; transition: opacity 0.4s var(--ease); }

/* desk items */
.dit {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease), box-shadow 0.3s var(--ease);
}
.dit.on { opacity: 1; }
.dit.dragging { transition: opacity 0.6s var(--ease); cursor: grabbing; z-index: 60; }
.desk.ordered .dit { cursor: default; }

.dit-card {
  background: rgba(250, 250, 250, 0.92);
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.07);
  padding: 22px 24px;
  width: min(360px, 78vw);
}
.dit-card h1 {
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.dit-card p {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-70);
}
.dit-hello { width: min(380px, 80vw); }

.dit-photo {
  background: #fff;
  padding: 10px 10px 30px;
  border-radius: 4px;
  box-shadow: 0 14px 36px rgba(26, 26, 26, 0.14);
  width: clamp(180px, 17vw, 250px);
}
.dit-photo img { display: block; width: 100%; border-radius: 2px; }

.dit-sticker {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.10);
}
.st-sun  { background: var(--sunflower); color: var(--ink); }
.st-pink { background: var(--bubblegum); color: var(--cherry); }

.st-fika {
  background: var(--periwinkle);
  color: var(--ink);
  flex-direction: column;
  gap: 2px;
}
.st-fika svg { width: 52px; height: 40px; display: block; }

.dit-tag {
  display: inline-block;
  padding: 9px 16px;
  border: 1.5px solid var(--ink-14);
  border-radius: 100px;
  background: rgba(250, 250, 250, 0.9);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-70);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.06);
}

.desk-btn {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 70;
}

.about-cta {
  text-align: center;
  padding: clamp(46px, 8vh, 90px) var(--page-x);
}

/* ═══ CONTACT ═══ */
.contact-main { padding: 0 var(--page-x); }
.contact-hero {
  text-align: center;
  padding: clamp(130px, 18vh, 180px) 0 clamp(30px, 5vh, 46px);
}
.contact-title {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
}
.contact-alt {
  text-align: center;
  margin: clamp(26px, 4vh, 40px) auto 0;
  font-size: clamp(14.5px, 1.3vw, 16px);
  font-weight: 300;
  color: var(--ink-70);
}
.contact-email {
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1.5px solid var(--valencia);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}
.contact-email:hover { color: var(--valencia); }

.embed-card {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(26, 26, 26, 0.07);
  padding: 10px;
}
.embed-card iframe { display: block; border-radius: 10px; }

@media (max-width: 760px) {
  .desk { height: 150svh; }
  .desk.ordered { overflow: visible; }
  .desk-hint { font-size: 12px; top: 84px; }
  .dit-card { padding: 18px 18px; width: min(320px, 84vw); }
  .dit-photo { width: 170px; }
  .dit-sticker { width: 108px; height: 108px; font-size: 13px; }
}

/* ── closing CTA band ── */
.cta-band { text-align: center; padding: clamp(64px, 10vh, 120px) 0; }
.cta-band .statement { max-width: none; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* content-page footer sits at the end of flow */
.page .site-footer { margin-top: clamp(40px, 6vh, 80px); }

/* ═══ WORK PAGE — Anisha's line, 4 magnetic frames ═══
   The line is her authored SVG (work-line.svg path, verbatim).
   Text blocks sit exactly where her placeholder rects were drawn
   (viewBox 1440×3600 → 4 frames of 1440×900 → % of each frame). */

.work-frames { position: relative; }
.workline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.workline path {
  fill: none;
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
#worklineM { display: none; }

.frame {
  position: relative;
  height: 100vh;
  scroll-snap-align: start;
  z-index: 1;
}
.ftext { position: absolute; }
.ftext-1  { left: 10.5%; top: 31.5%; width: min(34%, 500px); }
.ftext-2  { left: 58.4%; top: 31.5%; width: min(34%, 500px); }
.ftext-3a { left: 8.4%;  top: 14.3%; width: min(34%, 500px); }
.ftext-3b { left: 61.8%; top: 40.9%; width: min(34%, 500px); }
.ftext-4  { left: 16.3%; top: 35.2%; width: 67.4%; text-align: center; }

.frame .statement { max-width: 16ch; }
.frame .section-body { max-width: 42ch; margin-top: 20px; }

/* offerings */
.offer-tagline { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--valencia); margin-bottom: 10px; }
.offer-name { font-size: clamp(24px, 2.8vw, 34px); font-weight: 400; letter-spacing: -0.015em; margin-bottom: 14px; }
.offer-desc { font-size: 16px; font-weight: 300; line-height: 1.62; color: var(--ink-70); max-width: 40ch; }

/* tagline finale */
.tagline-end {
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 200;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.tagline-end em { font-style: normal; font-weight: 400; color: var(--valencia); }
.ftext-4 .cta-row { margin-top: clamp(30px, 5vh, 48px); }

/* magnetic settle on the four frames */
html.work-snap { scroll-snap-type: y proximity; scroll-behavior: smooth; }

/* work reveals: as slow and smooth as the line itself */
body.work .reveal {
  transform: translateY(14px);
  transition: opacity 2s var(--ease), transform 2s var(--ease);
}
body.work .section-body.reveal,
body.work .offer-desc.reveal { transition-delay: 0.45s; }
body.work .offer-name.reveal { transition-delay: 0.2s; }
body.work .cta-row.reveal { transition-delay: 0.55s; }

/* the last frame shares its screen with the footer (JS sizes it) */
body.work .site-footer { margin-top: 0; }

/* mobile: Anisha's 390-wide line + her mobile text placements */
@media (max-width: 760px) {
  #worklineD { display: none; }
  #worklineM { display: block; }
  .ftext-1  { left: 6.1%;  top: 26.1%; width: 49%; }
  .ftext-2  { left: 45.5%; top: 26.1%; width: 49%; }
  .ftext-3a { left: 4%;    top: 5.7%;  width: 46.6%; }
  .ftext-3b { left: 50%;   top: 51.2%; width: 46.6%; }
  .ftext-4  { left: 11.6%; top: 36.4%; width: 76.9%; }
  .frame .statement { font-size: clamp(22px, 6.6vw, 28px); max-width: none; }
  .frame .section-body { font-size: 14.5px; margin-top: 14px; max-width: none; }
  .offer-name { font-size: 21px; }
  .offer-desc { font-size: 14px; }
  .tagline-end { font-size: clamp(30px, 9vw, 40px); }
}

@media (max-width: 760px) {
  .statement { max-width: none; }
}
