/* KL Creations website. Colors, fonts and reading rules come from
   Website Redesign Handoff.md (Locked decisions, Oct 28 decisions). */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/PlusJakartaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/PlusJakartaSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/PlusJakartaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --turquoise: #10B6CB;
  --orange: #E75001;
  --charcoal: #363636;
  --white: #FFFFFF;
  --line: #E6E6E6;
  --bg: var(--white);
  --text: var(--charcoal);
  --card: var(--white);
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1D1F;
    --text: #EDEDED;
    --card: #2A2B2E;
    --line: #3A3B3E;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark .arrow { color: var(--orange); font-size: 1.15em; line-height: 1; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }

@media (prefers-color-scheme: dark) {
  .page .btn-dark-flip { background: var(--white); color: var(--charcoal); }
}

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.text-link:hover { text-decoration-thickness: 4px; }

/* ---------- Header ---------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.logo { display: block; flex: none; }
.logo img { width: 150px; height: auto; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
  display: inline-block;
}
.main-nav a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 8px; }

.header-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.header-phone { font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.header-actions .btn { min-height: 44px; padding: 10px 20px; font-size: 16px; }

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.menu-button svg { width: 24px; height: 24px; }

.mobile-menu { display: none; }

@media (max-width: 1100px) {
  .header-phone { display: none; }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-button { display: inline-flex; }
  .header-inner { min-height: 72px; }
  .logo img { width: 120px; }
  .header-actions { gap: 10px; }
  .mobile-menu[data-open="true"] {
    display: block;
    border-top: 1px solid var(--line);
    padding-top: 8px;
    padding-bottom: 20px;
  }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; }
  .mobile-menu a {
    display: block;
    padding: 14px 0;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .header-actions .btn { padding: 8px 14px; font-size: 14px; gap: 6px; }
  .logo img { width: 92px; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--turquoise);
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.hero-dots {
  position: absolute;
  top: 28px;
  right: max(16px, calc((100vw - var(--wrap)) / 2 - 40px));
  width: 150px;
  height: 120px;
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: 0;
}

.hero-copy { padding-bottom: clamp(40px, 5vw, 72px); position: relative; z-index: 2; }

.eyebrow-pill {
  display: inline-block;
  background: var(--white);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 999px;
  margin: 0 0 24px;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 4.1vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 16ch;
}
.dot-orange { color: var(--orange); }

.hero-sub {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  max-width: 34rem;
  margin: 0 0 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Photo with real pieces around it */
.hero-art {
  position: relative;
  align-self: end;
}
.hero-photo {
  position: relative;
  z-index: 2;
  width: min(88%, 500px);
  margin-left: auto;
  margin-right: 6%;
}
.piece {
  position: absolute;
  z-index: 3;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease;
}
.piece img { display: block; width: 100%; height: auto; }
.piece-eflyer {
  width: 30%;
  max-width: 190px;
  left: 0;
  top: 8%;
  transform: rotate(-7deg);
  z-index: 1;
}
.piece-postcard {
  width: 46%;
  max-width: 290px;
  left: 2%;
  bottom: 8%;
  transform: rotate(4deg);
}
.piece-sign {
  width: 24%;
  max-width: 160px;
  right: 0;
  bottom: 14%;
  transform: rotate(6deg);
}
.piece:hover { transform: rotate(0deg) translateY(-6px); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-copy { padding-bottom: 8px; text-align: left; }
  .hero h1 { max-width: 16ch; }
  .hero-art { min-height: 0; max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-photo { width: 82%; margin: 0 auto; }
  .piece-eflyer { width: 26%; top: 14%; }
  .piece-postcard { width: 44%; bottom: 6%; left: 0; }
  .piece-sign { width: 22%; bottom: 10%; }
  .hero-dots { width: 96px; height: 78px; top: 16px; right: 12px; }
}

/* Phone hero: one sample and a smaller pill (locked phone rule: one hero sample) */
@media (max-width: 700px) {
  .piece-eflyer, .piece-sign { display: none; }
  .piece-postcard { width: 52%; left: 0; bottom: 6%; }
  .eyebrow-pill { font-size: 13px; padding: 6px 12px; margin-bottom: 18px; }
  .hero-dots { display: none; }
}

/* ---------- Logo strip ---------- */

.logo-strip {
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.strip-label {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 24px;
}
.logo-row {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
}
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border: 2px dashed var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px;
}
@media (max-width: 760px) {
  .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Meet Kim ---------- */

.kim {
  padding: clamp(64px, 8vw, 112px) 0;
}
.kim-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  max-width: 1120px;
}
.kim-photo {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}
.kim-photo::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 92%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: var(--turquoise);
  border-radius: 50%;
}
.kim-photo img { position: relative; width: 100%; }

.eyebrow {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--orange);
  margin-top: 12px;
}

.kim h2 {
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.kim p { margin: 0 0 18px; max-width: 36rem; }
.kim .btn { margin-top: 12px; }

@media (prefers-color-scheme: dark) {
  .kim .btn-dark { background: var(--white); color: var(--charcoal); }
  .kim-photo img, .hero-photo { filter: brightness(0.95); }
}

@media (max-width: 860px) {
  .kim-inner { grid-template-columns: 1fr; text-align: center; }
  .kim-photo { max-width: 280px; }
  .kim p { margin-left: auto; margin-right: auto; }
  .eyebrow::after { margin-left: auto; margin-right: auto; }
}

/* ---------- Phone reading size ---------- */

@media (max-width: 700px) {
  body { font-size: 17px; }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .piece:hover, .btn-dark:hover { transform: none; }
}
