/* ===================================================================
   Solopreneur At Work: stylesheet
   Palette: white / black / brand gold. Frosted-glass surfaces over a
   soft, slowly drifting gold ambient backdrop (.ambient).
   =================================================================== */

:root {
  --bg: #F7F6F2;
  --bg-alt: #EFEDE6;
  --bg-dark: #121212;
  --text: #141414;
  --text-muted: #5E5C57;
  --text-light: #FAFAF7;
  --text-light-muted: #B9B7B0;
  --accent: #F2A900;
  --accent-deep: #8A5A00;
  --line: rgba(20, 20, 20, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);

  /* glass surfaces */
  --glass: rgba(255, 255, 255, 0.52);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-dark: rgba(18, 18, 18, 0.62);
  --glass-dark-border: rgba(255, 255, 255, 0.1);
  --blur: blur(22px) saturate(170%);
  --glass-shadow: 0 10px 40px -12px rgba(20, 20, 20, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glass-dark-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);

  --display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.9s;

  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

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

html { background: var(--bg); }

body {
  font-family: var(--sans);
  background: transparent;
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* fixed ambient backdrop that every glass surface blurs */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, #FFFFFF 0%, transparent 60%),
    linear-gradient(180deg, #FAF9F5 0%, #F3F1EA 100%);
}
.ambient span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: drift 26s ease-in-out infinite;
}
.ambient span:nth-child(1) { width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; background: #FFC933; opacity: 0.45; top: -12%; left: -14%; }
.ambient span:nth-child(2) { width: 44vw; height: 44vw; max-width: 620px; max-height: 620px; background: #F2A900; opacity: 0.28; bottom: -18%; right: -10%; animation-delay: -9s; }
.ambient span:nth-child(3) { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; background: #FFE9A8; opacity: 0.55; top: 40%; left: 45%; animation-delay: -17s; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.6rem; font-weight: 700; letter-spacing: -0.015em; }

/* reusable glass surface */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

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

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}
.eyebrow-light { color: #F5B82E; }

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem 2rem;
}

.lead { font-size: 1.25rem; color: var(--text); }
.lead.light { color: var(--text-light-muted); }
em { font-style: normal; font-weight: 600; color: var(--accent-deep); }

/* ---------- progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.6rem 0;
  transition: padding 0.4s var(--ease-soft), background 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
}

.site-header.scrolled {
  padding: 0.9rem 0;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 30px -18px rgba(20, 20, 20, 0.25);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* "kh. solopreneur at work" logo. The mark is inline SVG so the "h." can follow text color */
.brand {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.35em;
  color: #000;
}
.brand-mark { height: 2.6em; width: auto; flex-shrink: 0; }
.brand-h { fill: currentColor; }
.brand-name { letter-spacing: 0.01em; line-height: 1; padding-bottom: 0.05em; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.hero-pill:hover { border-color: var(--accent); }
.hero-pill svg { transition: transform 0.35s var(--ease); }
.hero-pill:hover svg { transform: translateX(3px); }
.pill-tag {
  background: var(--accent);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.main-nav { display: flex; align-items: center; gap: 2.2rem; }
@media (max-width: 1060px) and (min-width: 761px) { .main-nav { gap: 1.3rem; } .main-nav a:not(.nav-cta) { font-size: 0.86rem; } }
.main-nav a:not(.nav-cta) {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--text);
  border-radius: 100px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav-cta:hover { background: var(--text); color: #fff; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(43, 42, 40, 0.35); }

.btn-light { background: var(--text-light); color: var(--bg-dark); }
.btn-light::before { background: #fff; }

.btn-ghost {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  color: var(--text);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.btn-ghost:hover { background: var(--glass-strong); border-color: #fff; transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
  isolation: isolate;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* background photo: zooms in on load, then slowly pans and zooms (Ken Burns) */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #1A1510;
}
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img {
  object-fit: cover;
  object-position: 62% 55%;
  transform-origin: 68% 45%;
  animation:
    heroPhotoIn 2.4s var(--ease) both,
    heroPan 30s ease-in-out 2.4s infinite alternate;
}
@keyframes heroPhotoIn {
  from { opacity: 0; transform: scale(1.28); }
  to { opacity: 1; transform: scale(1.08); }
}
@keyframes heroPan {
  0% { transform: scale(1.08) translate(0, 0); }
  50% { transform: scale(1.16) translate(-2.2%, 1.2%); }
  100% { transform: scale(1.22) translate(1.5%, -1.5%); }
}

/* soft light fade: strong behind the text, clearing toward the photo */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.84) 0%, rgba(8, 8, 8, 0.66) 36%, rgba(8, 8, 8, 0.32) 66%, rgba(8, 8, 8, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.45) 0%, transparent 25%, transparent 70%, rgba(8, 8, 8, 0.55) 100%);
}
/* slow drifting warm glow for a little life on top of the photo */
.hero-overlay::after {
  content: "";
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  right: -12vw; top: -20vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 64, 0.35), transparent 65%);
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-text { text-align: left; }

.hero-headline {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  overflow: hidden;
}
.hero-headline .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-headline .dot { color: var(--accent); }

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: #3D3B37;
  max-width: 520px;
  margin: 1.75rem 0 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }

/* floating glass "this week" card over the photo */
.hero-card {
  justify-self: end;
  align-self: end;
  width: 100%;
  max-width: 330px;
  margin-bottom: 1rem;
  padding: 1.4rem 1.5rem 1.3rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.38);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 30px 60px -25px rgba(60, 30, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--text);
  animation: heroIn var(--dur) var(--ease) forwards, cardFloat 7s ease-in-out infinite;
  animation-delay: 0.7s, 1.8s;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}
.hc-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.hc-title { font-family: var(--display); font-weight: 700; font-size: 0.95rem; }
.hc-week {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 100px;
  background: var(--text);
  color: var(--accent);
}
.hc-list { list-style: none; display: grid; gap: 0.55rem; }
.hc-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
}
.hc-list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 20, 20, 0.45);
}
.hc-list li.done { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(20, 20, 20, 0.3); }
.hc-list li.done::before {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23141414' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.hc-foot { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
.hc-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(20, 20, 20, 0.1); overflow: hidden; }
.hc-bar i { display: block; height: 100%; width: 66%; border-radius: inherit; background: var(--accent); animation: barFill 1.6s var(--ease) 1.4s both; }
@keyframes barFill { from { width: 0; } }

@media (max-width: 900px) {
  .hero { padding: 7rem 1.25rem 4rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-card { display: none; }
  .hero-media img { object-position: 50% 50%; transform-origin: 50% 55%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.6) 0%, rgba(8, 8, 8, 0.66) 45%, rgba(8, 8, 8, 0.8) 100%);
  }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .hero-actions .btn { justify-content: center; }
  .hero-pill { font-size: 0.8rem; }
}

/* hero entrance animation */
.hero-in {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn var(--dur) var(--ease) forwards;
  animation-delay: calc(var(--d) * 0.14s + 0.15s);
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
}
.scroll-cue span {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollLine 1.8s var(--ease-soft) infinite;
}
@keyframes scrollLine { to { top: 100%; } }
@media (max-width: 900px) { .scroll-cue { display: none; } }
.scroll-cue p {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- reveal-on-scroll (generic) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
}
.about-text h2 { font-size: clamp(2rem, 3.3vw, 2.5rem); }
.about-text p:not(.eyebrow) { margin-bottom: 1.25rem; }
.about-text .lead { margin-bottom: 1.5rem; }
.about-sign {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--accent-deep);
}

.about-photo {
  position: relative;
  max-width: 420px;
  justify-self: center;
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  background: var(--accent);
  border-radius: 22px;
  z-index: 0;
}
.about-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(43, 42, 40, 0.45);
}
.about-photo figcaption {
  position: absolute;
  z-index: 2;
  left: -1.25rem;
  bottom: 2rem;
  background: var(--glass-dark);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-dark-border);
  color: var(--text-light);
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  line-height: 1.3;
  box-shadow: var(--glass-dark-shadow);
}
.about-photo figcaption strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.about-photo figcaption span { font-size: 0.78rem; color: #F5B82E; letter-spacing: 0.04em; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-text h2 br { display: none; }
  .about-photo { max-width: 320px; margin-right: 1.5rem; }
  .about-photo figcaption { left: -0.75rem; }
}

/* ---------- inside the planner ---------- */
.planner { overflow: hidden; }
.gold { color: var(--accent); }
.planner h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }

.planner-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}
.planner-text > p:not(.eyebrow):not(.lead) { color: var(--text-muted); max-width: 500px; }
.planner-text .lead { margin-bottom: 0.9rem; font-weight: 500; }

.planner-sections { list-style: none; margin-top: 2rem; display: grid; gap: 0.9rem; }
.planner-sections li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.planner-sections li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.planner-sections b { display: block; color: var(--text); font-weight: 600; }

.planner-visual { position: relative; }
.planner-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  transform: rotate(2deg);
  box-shadow: 0 40px 70px -35px rgba(43, 42, 40, 0.45);
  transition: transform 0.8s var(--ease);
}
.planner-visual:hover img { transform: rotate(0deg) scale(1.02); }
.planner-badge {
  position: absolute;
  top: -1.5rem; right: -0.5rem;
  width: 124px; height: 124px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  outline: 2px solid var(--accent);
  outline-offset: -8px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.3;
  transform: rotate(-8deg);
  box-shadow: 0 14px 28px -14px rgba(43, 42, 40, 0.35);
}

.benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 5rem;
  border-top: 1px solid rgba(138, 90, 0, 0.18);
  padding-top: 2.5rem;
}
.benefits li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0 1rem;
}
.benefits li + li { border-left: 1px solid rgba(138, 90, 0, 0.18); }
.benefits svg {
  width: 58px; height: 58px;
  padding: 15px;
  border-radius: 50%;
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--text);
}

@media (max-width: 900px) {
  .planner-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .planner-badge { width: 100px; height: 100px; font-size: 0.75rem; right: 0.5rem; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .benefits li:nth-child(3) { border-left: none; }
}

/* ---------- shop ---------- */
.shop-intro { max-width: 580px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  align-items: stretch;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.product:hover { transform: translateY(-8px); background: var(--glass-strong); box-shadow: 0 30px 60px -24px rgba(20, 20, 20, 0.25), inset 0 1px 0 #fff; }
.product-featured { border: 2px solid var(--accent); }
.product-featured .product-tag { left: auto; right: 1rem; }

.product-img { aspect-ratio: 3 / 2; overflow: hidden; background: rgba(255, 255, 255, 0.4); margin: 0.5rem 0.5rem 0; border-radius: 14px; }
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}
.product:hover .product-img img { transform: scale(1.05); }
.product-img-cutout { background: radial-gradient(circle at 50% 55%, rgba(255, 214, 102, 0.55), rgba(255, 255, 255, 0.35) 72%); padding: 1.25rem; }
.product-img-cutout img { object-fit: contain; filter: drop-shadow(0 16px 20px rgba(43, 42, 40, 0.28)); }

.product-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 1;
  background: var(--bg-dark);
  color: #F5B82E;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
}

.product-body { padding: 1.75rem 1.75rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.product-body > p { color: var(--text-muted); font-size: 0.95rem; }
.product-list { list-style: none; display: grid; gap: 0.35rem; font-size: 0.95rem; color: var(--text-muted); }
.product-list li::before { content: "\2713"; color: var(--accent-deep); font-weight: 700; margin-right: 0.55rem; }

.product-foot {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.price { font-family: var(--display); font-size: 1.7rem; font-weight: 500; line-height: 1; }
.price small { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; color: var(--text-muted); }
.price-ask { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }

.btn-sm { padding: 0.7rem 1.3rem; font-size: 0.85rem; }

/* gift package spotlight */
.gift {
  position: relative;
  overflow: hidden;
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 2rem;
  padding: 3.5rem 3rem 3.5rem 3.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.92), rgba(30, 28, 24, 0.84));
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-dark-border);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}
.gift::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  right: -140px; top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 46, 0.28), transparent 62%);
  pointer-events: none;
}
.gift-text, .gift-visual { position: relative; }
.gift-tag { position: static; display: inline-block; margin-bottom: 1.25rem; background: var(--accent); color: var(--bg-dark); }
.gift h3 { color: var(--text-light); font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 500; line-height: 1.15; margin-bottom: 1rem; }
.gift h3 em { color: var(--accent); }
.gift-text > p { color: var(--text-light-muted); max-width: 440px; }

.gift-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.75rem 0 2rem; }
.gift-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--glass-dark-border);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  font-size: 0.88rem;
  color: var(--text-light);
}
.gift-list svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.gift-foot { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.gift .price { color: var(--text-light); font-size: 2.2rem; }
.gift .price small { color: var(--text-light-muted); }
.gift .btn-primary { background: var(--accent); color: var(--bg-dark); }
.gift .btn-primary::before { background: #fff; }
.gift-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-light-muted); }

.gift-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
  animation: giftFloat 6s ease-in-out infinite;
}
@keyframes giftFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-12px) rotate(0deg); }
}

@media (max-width: 900px) {
  .gift { grid-template-columns: 1fr; padding: 2.5rem 1.75rem; gap: 1rem; }
  .gift-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .gift::before { right: 50%; top: 22%; transform: translate(50%, -50%); width: 460px; height: 460px; }
}

@media (max-width: 960px) {
  .product-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ---------- meaning ---------- */
.meaning {
  --cycle: 3200ms;
  background: linear-gradient(160deg, rgba(14, 14, 14, 0.94), rgba(26, 24, 20, 0.9));
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.meaning::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  top: -260px; right: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 46, 0.16), transparent 65%);
  pointer-events: none;
}
.meaning .section-inner { position: relative; }

.meaning-head {
  color: var(--text-light);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 3.5rem;
}
.rotator {
  display: block;
  height: 1.15em;
  overflow: hidden;
  color: var(--accent);
  white-space: nowrap;
}
.rotator-word {
  display: inline-block;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.rotator-word.is-out { transform: translateY(-100%); opacity: 0; }
.rotator-word.is-in { transform: translateY(100%); opacity: 0; transition: none; }

.meaning-tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.tile {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.4rem 1.9rem;
  border-radius: 18px;
  border: 1px solid var(--glass-dark-border);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: default;
  transition: opacity 0.9s var(--ease), transform 0.5s var(--ease), background 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft);
}
.tile svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 2.25rem;
  transition: stroke 0.45s var(--ease-soft);
}
.tile-num {
  position: absolute;
  top: 1.6rem; right: 1.4rem;
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--text-light-muted);
  transition: color 0.45s var(--ease-soft);
}
.tile h3 { color: var(--text-light); font-size: 1.15rem; margin-bottom: 0.4rem; transition: color 0.45s var(--ease-soft); }
.tile p { color: var(--text-light-muted); font-size: 0.9rem; line-height: 1.5; transition: color 0.45s var(--ease-soft); }

.tile.is-active { background: linear-gradient(160deg, #FFC533, var(--accent)); border-color: rgba(255, 255, 255, 0.5); box-shadow: 0 20px 40px -18px rgba(242, 169, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.tile.is-visible.is-active { transform: translateY(-6px); }
.tile.is-active svg { stroke: var(--bg-dark); }
.tile.is-active h3, .tile.is-active .tile-num { color: var(--bg-dark); }
.tile.is-active p { color: rgba(31, 30, 28, 0.78); }

/* timer bar on the active tile */
.tile::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 100%;
  background: var(--bg-dark);
  opacity: 0.35;
  transform: scaleX(0);
  transform-origin: left;
}
.tile.is-active::after { animation: tileTimer var(--cycle) linear forwards; }
.meaning-tiles.is-paused .tile.is-active::after { animation: none; transform: scaleX(0); }
@keyframes tileTimer { to { transform: scaleX(1); } }

.meaning-quote {
  margin: 5rem auto 0;
  max-width: 820px;
  text-align: center;
  position: relative;
  padding-top: 3.5rem;
}
.meaning-quote::before {
  content: "\201C";
  position: absolute;
  top: -1rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 7rem;
  line-height: 1;
  color: var(--accent);
}
.meaning-quote p {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--text-light);
}
.meaning-quote span { color: var(--accent); }

@media (max-width: 1000px) {
  .meaning-tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:last-child { grid-column: span 2; }
}
@media (max-width: 520px) {
  .meaning-tiles { grid-template-columns: 1fr; }
  .tile:last-child { grid-column: auto; }
  .tile svg { margin-bottom: 1.25rem; }
  .rotator { height: auto; min-height: 1.15em; }
}

/* ---------- services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2.4rem 2rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  background: var(--glass-strong);
  box-shadow: 0 30px 60px -24px rgba(20, 20, 20, 0.22), inset 0 1px 0 #fff;
  border-color: #fff;
}
.card-index {
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--accent-deep);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.card p { color: var(--text-muted); font-size: 0.98rem; }

/* ---------- values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } }

.value {
  position: relative;
  padding: 1.6rem 1.6rem 1.5rem;
  border-radius: 16px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: opacity 0.9s var(--ease), transform 0.5s var(--ease), background 0.4s var(--ease-soft);
}
.value::before {
  content: "";
  position: absolute;
  top: 1.6rem; left: 0;
  width: 3px; height: 1.4rem;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}
.value.is-visible:hover { background: var(--glass-strong); transform: translateY(-4px); }
.value p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- articles ---------- */
.article-intro { max-width: 560px; margin-bottom: 2.5rem; }

.article-card {
  display: block;
  cursor: pointer;
}
.article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.article-link svg { transition: transform 0.35s var(--ease); }
.article-card:hover .article-link svg { transform: translate(3px, -3px); }

/* ---------- OJT ---------- */
.ojt {
  background: linear-gradient(160deg, rgba(14, 14, 14, 0.94), rgba(26, 24, 20, 0.9));
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  overflow: hidden;
  color: var(--text-light);
  position: relative;
}
.ojt h2 { color: var(--text-light); }
.ojt p:not(.eyebrow) { color: var(--text-light-muted); }
.ojt p.reveal:not(.lead) { max-width: 640px; }

.ojt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 3rem 0;
  padding: 0;
}
.ojt-block {
  padding: 2rem 2rem 2.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-dark-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ojt::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  bottom: -320px; left: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 46, 0.14), transparent 65%);
  pointer-events: none;
}
.ojt .section-inner { position: relative; }
@media (max-width: 760px) { .ojt-grid { grid-template-columns: 1fr; } }

.ojt-label {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F5B82E;
  margin-bottom: 1.1rem;
}
.ojt-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.ojt-list li {
  padding-left: 1.3rem;
  position: relative;
  color: var(--text-light-muted);
}
.ojt-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 1px;
  background: var(--accent);
}
.ojt-list li strong { color: var(--text-light); }

.ojt-note { font-size: 0.95rem; max-width: 640px; margin-bottom: 2.5rem; }

/* ---------- forms ---------- */
.contact-form {
  max-width: 620px;
  padding: 2.25rem;
  border-radius: 22px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.contact-form input,
.contact-form textarea,
.waitlist-form input {
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
  width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 110px; font-family: var(--sans); }
.contact-form input:focus,
.contact-form textarea:focus,
.waitlist-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.18);
  background: #fff;
}
.contact-form button { align-self: flex-start; }

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 460px;
}
.waitlist-form input {
  flex: 1 1 240px;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-dark-border);
  color: var(--text-light);
}
.waitlist-form input::placeholder { color: var(--text-light-muted); }
.waitlist-form input:focus { box-shadow: 0 0 0 4px rgba(245, 184, 46, 0.2); background: rgba(255, 255, 255, 0.1); }

.form-status {
  font-size: 0.88rem;
  min-height: 1.2em;
  color: var(--text-muted);
}
.form-status.light { color: var(--text-light-muted); }
.form-status.success { color: #5F7A52; }
.form-status.error { color: #B4543A; }
.contact-form .form-status:empty { display: none; }

/* ---------- closing ---------- */
.closing { text-align: center; }
.closing > .section-inner > p { color: var(--text-muted); font-size: 1.1rem; margin: 1.25rem 0 2.5rem; }
.closing h2 { max-width: 620px; margin: 0 auto 0; }

/* ---------- footer ---------- */
.site-footer {
  background: #0E0E0E;
  color: var(--text-light-muted);
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-inner .brand { color: var(--text-light); font-size: 1.15rem; }
.footer-inner .brand-mark circle:first-child { fill: #000; stroke: var(--line-dark); stroke-width: 8; }
.tagline { font-family: var(--display); font-weight: 500; letter-spacing: 0.02em; margin: 0.6rem 0 1.75rem; }
.footer-nav { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; transition: color 0.3s var(--ease-soft); }
.footer-nav a:hover { color: var(--text-light); }
.footer-social { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--bg-dark); }
.copyright { font-size: 0.8rem; opacity: 0.7; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.site-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-light-muted);
}
.site-credit img { height: 48px; width: auto; display: block; transition: transform 0.4s var(--ease); }
.site-credit:hover img { transform: rotate(-3deg) scale(1.06); }
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; justify-content: center; padding-bottom: 4.5rem; } /* room for the chat button */
}

/* ---------- responsive nav ---------- */
@media (max-width: 760px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,0.15);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.05rem; }
}

/* ---------- waitlist popup ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.45s var(--ease-soft);
}
.modal-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  padding: 2.75rem 2.5rem 2rem;
  border-radius: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.5), inset 0 1px 0 #fff;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-card { opacity: 1; transform: none; }

.modal-glow {
  position: absolute;
  width: 360px; height: 360px;
  top: -210px; left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 51, 0.75), transparent 65%);
  pointer-events: none;
}
.modal-card > *:not(.modal-glow):not(.modal-close) { position: relative; }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease);
}
.modal-close:hover { background: #fff; transform: rotate(90deg); }

.modal-tag {
  display: inline-block;
  background: var(--text);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}
.modal-card h2 { font-size: clamp(1.8rem, 5vw, 2.3rem); margin-bottom: 0.75rem; }
.modal-lead { color: var(--text-muted); font-size: 0.98rem; max-width: 360px; margin: 0 auto; }
.modal-lead strong { color: var(--text); }

.modal-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.4rem 0 1.6rem;
}
.modal-perks li {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem 0.4rem 0.65rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(20, 20, 20, 0.06);
}
.modal-perks li::before { content: "\2713"; color: var(--accent-deep); font-weight: 700; margin-right: 0.4rem; }

.popup-form { display: flex; flex-direction: column; gap: 0.7rem; }
.popup-form input {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.95rem 1.2rem;
  border-radius: 100px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  text-align: center;
  transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
.popup-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.2); }
.popup-form .btn { justify-content: center; }

.modal-card .form-status { margin-top: 0.75rem; }
.modal-skip {
  margin-top: 0.25rem;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.modal-skip:hover { color: var(--text); }

body.modal-open { overflow: hidden; }

@media (max-width: 480px) {
  .modal-card { padding: 2.5rem 1.4rem 1.6rem; }
}

/* ---------- chat box ---------- */
.chat {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 60px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  background: linear-gradient(160deg, #FFC533, var(--accent));
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 18px 40px -14px rgba(242, 169, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px rgba(242, 169, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.chat-launcher .ic-close { display: none; }
.chat.is-open .chat-launcher .ic-open { display: none; }
.chat.is-open .chat-launcher .ic-close { display: block; }
.chat.is-open .chat-launcher-label { display: none; }
.chat.is-open .chat-launcher { padding: 0; width: 60px; justify-content: center; }

.chat-panel {
  width: 370px;
  max-height: min(600px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45), inset 0 1px 0 #fff;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.3s var(--ease-soft), transform 0.45s var(--ease);
}
.chat-panel.is-open { opacity: 1; transform: none; }

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 1rem 1.1rem;
  background: linear-gradient(160deg, rgba(18, 18, 18, 0.94), rgba(34, 30, 22, 0.9));
  color: var(--text-light);
}
.chat-avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; box-shadow: 0 0 0 2px rgba(242, 169, 0, 0.5); }
.chat-who { flex: 1; line-height: 1.3; min-width: 0; }
.chat-who strong { display: block; font-family: var(--display); font-size: 0.98rem; }
.chat-who span { font-size: 0.75rem; color: var(--text-light-muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #4CD07D; box-shadow: 0 0 0 3px rgba(76, 208, 125, 0.2); }
.chat-x {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--glass-dark-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-x:hover { background: rgba(255, 255, 255, 0.16); }

.chat-log {
  flex: 1;
  min-height: 220px;
  overflow-y: auto;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overscroll-behavior: contain;
}
.msg {
  max-width: 82%;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-wrap: break-word;
  animation: msgIn 0.35s var(--ease);
}
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.msg-kim {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-bottom-left-radius: 5px;
}
.msg-me {
  align-self: flex-end;
  background: var(--text);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.msg-typing { display: inline-flex; gap: 4px; padding: 0.8rem 0.95rem; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typing 1s ease-in-out infinite; }
.msg-typing i:nth-child(2) { animation-delay: 0.15s; }
.msg-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

.chat-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.2rem; }
.chat-chips button {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(242, 169, 0, 0.55);
  background: rgba(255, 245, 214, 0.75);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s var(--ease-soft), transform 0.25s var(--ease);
}
.chat-chips button:hover { background: var(--accent); transform: translateY(-1px); }

.chat-form { padding: 0.75rem; border-top: 1px solid rgba(20, 20, 20, 0.06); background: rgba(255, 255, 255, 0.5); }
.chat-contact { display: grid; gap: 0.5rem; margin-bottom: 0.5rem; }
.chat-contact[hidden] { display: none; }
.chat-contact input,
.chat-compose textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
}
.chat-contact input:focus,
.chat-compose textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.18); }
.chat-contact input.is-invalid { border-color: #B4543A; box-shadow: 0 0 0 3px rgba(180, 84, 58, 0.15); }
.chat-compose { display: flex; align-items: flex-end; gap: 0.5rem; }
.chat-compose textarea { resize: none; line-height: 1.4; max-height: 120px; }
.chat-send {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--text);
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease-soft);
}
.chat-send:hover { transform: scale(1.06); }
.chat-send:disabled { opacity: 0.5; cursor: wait; }

@media (max-width: 560px) {
  .chat { right: 0.9rem; bottom: 0.9rem; left: 0.9rem; }
  .chat-launcher-label { display: none; }
  .chat-launcher { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .chat.is-open .chat-launcher { width: 56px; }
  .chat-panel { width: 100%; max-height: calc(100svh - 100px); }
  .chat-contact input, .chat-compose textarea { font-size: 16px; } /* stops iOS zooming into inputs */
}

/* ---------- hero sits on a dark photo: light text + dark-glass controls ---------- */
.hero .hero-headline { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero .hero-sub { color: rgba(255, 255, 255, 0.84); }
.hero .hero-pill {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #fff;
}
.hero .hero-pill:hover { border-color: var(--accent); }
.hero .btn-primary { background: var(--accent); color: var(--text); }
.hero .btn-primary::before { background: #fff; }
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #fff;
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.22); border-color: #fff; }
.hero .scroll-cue p { color: rgba(255, 255, 255, 0.7); }
.hero .scroll-cue span { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent); }

/* header is transparent over the dark hero until the page scrolls */
.site-header:not(.scrolled) .brand { color: #fff; }
.site-header:not(.scrolled) .brand-mark circle:first-child { stroke: rgba(255, 255, 255, 0.35); stroke-width: 10; }
.site-header:not(.scrolled) .menu-toggle span { background: #fff; }
@media (min-width: 761px) {
  .site-header:not(.scrolled) .main-nav a:not(.nav-cta) { color: rgba(255, 255, 255, 0.9); }
  .site-header:not(.scrolled) .nav-cta { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
  .site-header:not(.scrolled) .nav-cta:hover { background: #fff; color: var(--text); border-color: #fff; }
}
.site-header:not(.scrolled) .menu-toggle.open span { background: var(--text); }

/* ---------- founder photo: social icons pop up on hover ---------- */
.about-photo img { transition: filter 0.5s var(--ease-soft); }
.photo-social {
  position: absolute;
  z-index: 3;
  top: 1.1rem;
  right: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.photo-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(18, 18, 18, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateX(14px) scale(0.6);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), background 0.25s var(--ease-soft), color 0.25s var(--ease-soft);
}
.photo-social svg { width: 18px; height: 18px; }
.photo-social a:nth-child(2) { transition-delay: 0.06s; }
.photo-social a:nth-child(3) { transition-delay: 0.12s; }
.about-photo:hover .photo-social a,
.about-photo:focus-within .photo-social a { opacity: 1; transform: none; }
.photo-social a:hover { background: var(--accent); color: var(--text); border-color: var(--accent); transform: scale(1.1); }
.about-photo:hover img { filter: brightness(0.9); }

/* touch screens can't hover: keep the icons visible */
@media (hover: none) {
  .photo-social a { opacity: 1; transform: none; width: 38px; height: 38px; }
}

/* ---------- popup on small screens: compact and always centered ---------- */
@media (max-width: 600px) {
  .modal { padding: 1.25rem; align-items: center; justify-content: center; }
  .modal-card {
    max-width: 320px;
    max-height: calc(100svh - 2.5rem);
    overflow-y: auto;
    padding: 1.6rem 1.25rem 1.1rem;
    border-radius: 20px;
  }
  .modal-glow { width: 240px; height: 240px; top: -150px; }
  .modal-close { top: 0.6rem; right: 0.6rem; width: 30px; height: 30px; }
  .modal-tag { font-size: 0.62rem; padding: 0.3rem 0.65rem; margin-bottom: 0.7rem; }
  .modal-card h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
  .modal-lead { font-size: 0.84rem; line-height: 1.5; }
  .modal-perks { gap: 0.35rem; margin: 0.9rem 0 1rem; }
  .modal-perks li { font-size: 0.7rem; padding: 0.3rem 0.6rem 0.3rem 0.5rem; }
  .popup-form { gap: 0.5rem; }
  .popup-form input { font-size: 16px; padding: 0.7rem 1rem; } /* 16px stops iOS zooming into the field */
  .popup-form .btn { padding: 0.7rem 1rem; font-size: 0.88rem; }
  .modal-skip { font-size: 0.75rem; }
  .modal-card .form-status { margin-top: 0.4rem; font-size: 0.8rem; }
}
@media (max-height: 640px) {
  .modal-perks { display: none; }
}

/* ---------- administrative services ---------- */
.services-intro { max-width: 600px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service { display: flex; flex-direction: column; }
.service > p { color: var(--text-muted); font-size: 0.97rem; }
.service-foot {
  margin-top: auto;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.15rem 1rem;
}
.service-price { font-family: var(--display); font-size: 1.05rem; line-height: 1.3; }
.service-price span {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.15rem;
}
.service-price b { font-weight: 800; font-size: 1.3rem; }
.service-note { grid-column: 1; font-size: 0.82rem; color: var(--text-muted); }
.service-foot .btn { grid-column: 2; grid-row: 1 / span 2; }
.service-featured { border: 2px solid var(--accent); }
@media (max-width: 760px) {
  .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .service-foot { grid-template-columns: 1fr; }
  .service-foot .btn { grid-column: 1; grid-row: auto; justify-content: center; margin-top: 0.9rem; }
}

/* weekly planner: physical product label */
.product-kind {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep) !important;
  margin-bottom: 0.5rem;
}
.product-kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* gift box is now a photo, not a cutout */
.gift-visual img {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  filter: none;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7);
}

/* ---------- OJT track, why, pricing ---------- */
.ojt-track {
  list-style: none;
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 3rem 0 0;
  position: relative;
}
.ojt-book {
  position: relative;
  padding: 1.6rem 1.4rem 1.7rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-dark-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ojt-book + .ojt-book::before {
  content: "";
  position: absolute;
  left: -1rem; top: 2.15rem;
  width: 1rem; height: 2px;
  background: var(--accent);
  opacity: 0.6;
}
.ojt-code {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  background: var(--accent);
  color: var(--text);
  margin-bottom: 1rem;
}
.ojt-book h3 { color: var(--text-light); font-size: 1.1rem; margin-bottom: 0.6rem; }
.ojt .ojt-book .ojt-q { color: #F5B82E; font-weight: 500; font-size: 0.95rem; line-height: 1.45; }

.ojt-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 3.5rem 0;
  align-items: start;
}
.ojt .ojt-why-lead { color: var(--text-light); font-size: 1.08rem; line-height: 1.7; }
.ojt-points { gap: 1.2rem; }
.ojt-points li strong { display: block; margin-bottom: 0.15rem; }

.ojt-pricing {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 3rem;
}
.ojt-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.8rem 1.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-dark-border);
}
.ojt-price-card .ojt-label { margin-bottom: 0.2rem; }
.ojt-price-card .btn { margin-top: auto; align-self: flex-start; }
.ojt-price { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--text-light); line-height: 1.1; }
.ojt-price small { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--text-light-muted); }
.ojt .ojt-price-note { font-size: 0.88rem; color: var(--text-light-muted); margin-bottom: 0.6rem; }
.ojt-price-note s { opacity: 0.8; }
.ojt-price-featured {
  background: linear-gradient(160deg, rgba(255, 197, 51, 0.16), rgba(255, 255, 255, 0.04));
  border: 2px solid var(--accent);
  box-shadow: 0 30px 60px -30px rgba(242, 169, 0, 0.5);
}
.ojt-save { top: -0.8rem; left: auto; right: 1.2rem; background: var(--accent); color: var(--text); }
.ojt-price-card .ojt-list { gap: 0.6rem; font-size: 0.92rem; }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; transform: translateY(-2px); }
.ojt .ojt-waitlist-label { color: var(--text-light); font-weight: 600; margin-bottom: 0.9rem; }

@media (max-width: 1000px) {
  .ojt-track { grid-template-columns: repeat(2, 1fr); }
  .ojt-book:nth-child(3)::before { display: none; }
  .ojt-pricing { grid-template-columns: 1fr 1fr; }
  .ojt-price-featured { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 760px) {
  .ojt-why { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 560px) {
  .ojt-track, .ojt-pricing { grid-template-columns: 1fr; }
  .ojt-book + .ojt-book::before { display: none; }
  .ojt-price-card .btn { align-self: stretch; justify-content: center; }
  .ojt h2 br { display: none; }
}
.ojt .ojt-price-card .btn-primary { background: var(--accent); color: var(--text); }
.ojt .ojt-price-card .btn-primary::before { background: #fff; }

/* ---------- articles ---------- */
.articles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.articles-head .article-intro { margin-bottom: 0; }
.post-filter {
  display: inline-flex;
  padding: 4px;
  border-radius: 100px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.post-filter button {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.post-filter button.is-active { background: var(--text); color: var(--accent); }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post[hidden] { display: none; }
.post {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  animation: postIn 0.5s var(--ease) both;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s var(--ease-soft);
}
@keyframes postIn { from { opacity: 0; transform: translateY(14px); } }
.post:hover { transform: translateY(-6px); background: var(--glass-strong); box-shadow: 0 30px 60px -24px rgba(20, 20, 20, 0.25), inset 0 1px 0 #fff; }
.post-img { aspect-ratio: 1200 / 627; overflow: hidden; background: rgba(20, 20, 20, 0.06); }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.post-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.65rem; }
.post-meta span {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.5rem;
  margin-right: 0.35rem;
  border-radius: 100px;
  background: var(--accent);
  color: var(--text);
}
.post-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post .article-link { margin-top: auto; padding-top: 1rem; }
.post:hover .article-link svg { transform: translate(3px, -3px); }

.post-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }
.post-actions [hidden] { display: none; }

@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-filter { width: 100%; }
  .post-filter button { flex: 1; }
  .post-actions .btn { width: 100%; justify-content: center; }
}

/* ===================================================================
   Compact phone layout: scale type and spacing down so the page
   doesn't feel zoomed in on small screens
   =================================================================== */
@media (max-width: 600px) {
  html { font-size: 15px; }
  body { line-height: 1.6; }

  .section-inner { padding: 3.75rem 1.15rem; }
  h2 { font-size: 1.75rem; margin-bottom: 1rem; line-height: 1.15; }
  h3 { font-size: 1.05rem; }
  .lead { font-size: 1.05rem; }
  .eyebrow { font-size: 0.7rem; margin-bottom: 0.6rem; }
  .btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
  .btn-sm { padding: 0.6rem 1.1rem; font-size: 0.82rem; }

  /* header */
  .site-header { padding: 1rem 0; }
  .site-header.scrolled { padding: 0.6rem 0; }
  .header-inner { padding: 0 1.15rem; }
  .brand { font-size: 0.85rem; }

  /* hero */
  .hero { padding: 6rem 1.15rem 3rem; min-height: 88svh; }
  .hero-headline { font-size: 2.5rem; }
  .hero-sub { font-size: 0.98rem; margin: 1.1rem auto 1.75rem; }
  .hero-pill { font-size: 0.75rem; margin-bottom: 1.1rem; }
  .hero-actions { flex-direction: row; max-width: none; }
  .hero-actions .btn { flex: 1; padding: 0.8rem 1rem; }

  /* about */
  .about-grid { gap: 2.5rem; }
  .about-photo { max-width: 250px; }
  .about-photo::before { inset: 1rem -1rem -1rem 1rem; }
  .about-text h2 { font-size: 1.6rem; }
  .about-sign { font-size: 1.05rem; }

  /* meaning */
  .meaning-head { font-size: 1.9rem; margin-bottom: 2rem; }
  .meaning-tiles { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .tile:last-child { grid-column: span 2; }
  .tile { padding: 1rem 0.9rem 1.1rem; border-radius: 14px; }
  .tile svg { width: 20px; height: 20px; margin-bottom: 0.75rem; }
  .tile-num { top: 1rem; right: 0.9rem; font-size: 0.75rem; }
  .tile h3 { font-size: 0.95rem; }
  .tile p { font-size: 0.8rem; }
  .meaning-quote { margin-top: 3rem; padding-top: 2.5rem; }
  .meaning-quote::before { font-size: 5rem; }
  .meaning-quote p { font-size: 1.3rem; }

  /* cards: services, products, values, articles */
  .card { padding: 1.5rem 1.25rem; border-radius: 16px; }
  .service-grid, .product-grid, .post-grid { gap: 1rem; margin-top: 1.75rem; }
  .card-index { margin-bottom: 0.6rem; }
  .service > p { font-size: 0.92rem; }
  .service-foot { padding-top: 1rem; margin-top: 1rem; }
  .service-price b { font-size: 1.15rem; }

  .product-body { padding: 1.25rem 1.25rem 1.4rem; }
  .product-img { aspect-ratio: 16 / 9; }
  .product-body > p { font-size: 0.9rem; }
  .price { font-size: 1.45rem; }

  .gift { padding: 1.5rem 1.25rem; border-radius: 20px; }
  .gift h3 { font-size: 1.5rem; }
  .gift .price { font-size: 1.8rem; }
  .gift-list { margin: 1.25rem 0 1.5rem; }

  .values-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.5rem; }
  .value { padding: 1rem 0.9rem 1rem 1.1rem; border-radius: 14px; }
  .value::before { top: 1.1rem; height: 1.1rem; }
  .value h3 { font-size: 0.92rem; margin-bottom: 0.3rem; }
  .value p { font-size: 0.8rem; line-height: 1.45; }

  .articles-head { margin-bottom: 1.5rem; }
  .post-body { padding: 1rem 1.1rem 1.2rem; }
  .post-text { font-size: 0.9rem; -webkit-line-clamp: 4; }

  /* planner */
  .planner h2 { font-size: 2.1rem; }
  .planner-grid { gap: 2.5rem; }
  .planner-badge { width: 84px; height: 84px; font-size: 0.66rem; top: -1rem; }
  .benefits { margin-top: 3rem; padding-top: 1.75rem; gap: 1.5rem 0; }
  .benefits li { font-size: 0.85rem; gap: 0.6rem; }
  .benefits svg { width: 48px; height: 48px; padding: 12px; }

  /* OJT */
  .ojt-track { gap: 0.6rem; margin-top: 2rem; }
  .ojt-book { padding: 1.1rem 1.1rem 1.2rem; }
  .ojt-book h3 { font-size: 1rem; }
  .ojt-code { margin-bottom: 0.6rem; }
  .ojt-why { margin: 2.5rem 0; }
  .ojt .ojt-why-lead { font-size: 0.98rem; }
  .ojt-price-card { padding: 1.4rem 1.2rem; }
  .ojt-price { font-size: 1.7rem; }

  /* contact + footer */
  .contact-form { padding: 1.25rem; border-radius: 18px; }
  .closing > .section-inner > p { font-size: 1rem; margin: 0.75rem 0 1.75rem; }
  .site-footer { padding: 2.5rem 1.15rem 2rem; }
  .footer-nav { gap: 0.6rem 1.25rem; }
}

/* ---------- mobile: stop sideways drag/"zoomed in" feel ---------- */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

@media (max-width: 760px) {
  /* closed off-canvas menu must not count as page width on iOS Safari */
  .main-nav { visibility: hidden; transition: transform 0.5s var(--ease), visibility 0s linear 0.5s; }
  .main-nav.open { visibility: visible; transition: transform 0.5s var(--ease), visibility 0s; }
}

@media (max-width: 600px) {
  /* hero: show more of the photo, gentler motion, shorter block */
  .hero { min-height: 0; padding: 5.5rem 1.15rem 2.75rem; }
  .hero-media img {
    object-position: 50% 40%;
    transform-origin: 50% 40%;
    animation: heroPhotoInSm 1.8s var(--ease) both, heroPanSm 24s ease-in-out 1.8s infinite alternate;
  }
  @keyframes heroPhotoInSm { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
  @keyframes heroPanSm { from { transform: scale(1); } to { transform: scale(1.05) translateY(-1%); } }
  .hero-headline { font-size: 2.2rem; }
  .hero-sub { font-size: 0.92rem; line-height: 1.55; max-width: 330px; }
  .hero-pill { padding: 0.25rem 0.75rem 0.25rem 0.25rem; }
  .hero-actions .btn { font-size: 0.85rem; padding: 0.7rem 0.9rem; }

  /* founder: smaller photo, tighter frame and name card */
  .about-grid { gap: 2rem; }
  .about-photo { max-width: 190px; margin-right: 0.75rem; }
  .about-photo::before { inset: 0.7rem -0.7rem -0.7rem 0.7rem; border-radius: 16px; }
  .about-photo img { border-radius: 16px; }
  .about-photo figcaption { left: -0.6rem; bottom: 0.9rem; padding: 0.5rem 0.75rem; border-radius: 10px; }
  .about-photo figcaption strong { font-size: 0.85rem; }
  .about-photo figcaption span { font-size: 0.66rem; }
  .photo-social { top: 0.5rem; right: 0.5rem; gap: 0.35rem; }
  .photo-social a { width: 30px !important; height: 30px !important; }
  .photo-social svg { width: 14px; height: 14px; }
  .about-text h2 { font-size: 1.45rem; }
  .about-text .lead { font-size: 0.98rem; }
  .about-text p:not(.eyebrow) { margin-bottom: 0.9rem; font-size: 0.92rem; }
  .about-text .lead { font-size: 1rem; }
}

/* ---------- mobile menu: compact glass dropdown under the header ---------- */
.nav-social { display: none; }
@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 4.4rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    height: auto;
    max-height: calc(100svh - 5.5rem);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.4rem 0.4rem 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    /* the huge spread shadow dims the page behind the menu */
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.45), 0 0 0 100vmax rgba(10, 10, 10, 0);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.25s var(--ease-soft), transform 0.35s var(--ease), box-shadow 0.35s var(--ease-soft), visibility 0s linear 0.35s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.45), 0 0 0 100vmax rgba(10, 10, 10, 0.45);
    transition: opacity 0.25s var(--ease-soft), transform 0.35s var(--ease), box-shadow 0.35s var(--ease-soft), visibility 0s;
  }
  .main-nav a:not(.nav-cta) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    font-size: 0.98rem !important;
    font-weight: 600;
    color: var(--text) !important;
  }
  .main-nav a:not(.nav-cta) + a:not(.nav-cta) { border-top: 1px solid rgba(20, 20, 20, 0.06); }
  .main-nav a:not(.nav-cta)::after {
    content: "\203A";
    position: static;
    width: auto; height: auto;
    background: none;
    transform: none;
    color: var(--accent-deep);
    font-size: 1.2rem;
    line-height: 1;
  }
  .main-nav a:not(.nav-cta):active { background: rgba(242, 169, 0, 0.14); }
  .main-nav .nav-cta {
    margin: 0.5rem 0.4rem 0;
    padding: 0.8rem 1rem;
    text-align: center;
    border: none !important;
    background: var(--accent);
    color: var(--text) !important;
    font-size: 0.95rem;
  }
  .nav-social { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.75rem; }
  .nav-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    color: var(--text);
    border: 1px solid rgba(20, 20, 20, 0.12);
    border-top: 1px solid rgba(20, 20, 20, 0.12) !important;
  }
  .nav-social a::after { display: none !important; }

  /* toggle stays readable: white over the dark hero, dark once scrolled */
  .site-header:not(.scrolled) .menu-toggle.open span { background: #fff; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 760px) {
  .main-nav .nav-social a { border-radius: 50%; justify-content: center; }
}
