:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --surface-strong: #eef6ff;
  --text: #13213d;
  --muted: #5f6f8f;
  --primary: #27adff;
  --primary-dark: #147cc2;
  --accent: #27adff;
  --sky: #e9f5ff;
  --border: #dbe3f1;
  --shadow: 0 18px 50px rgba(19, 33, 61, 0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { text-decoration: none; color: var(--text); display: grid; line-height: 1; flex: 0 0 auto; }
.brand-main { font-weight: 800; letter-spacing: 0.04em; }
.brand-sub { color: var(--primary); letter-spacing: 6px; font-size: 0.75rem; margin-top: 0.35rem; }
.nav-links { display: flex; align-items: center; gap: 1rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 180ms ease; }
.nav-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; padding: 0; font-weight: 600; }
.nav-button:hover, .nav-links a:hover { color: var(--primary-dark); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  place-items: center;
  padding: 0.65rem;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 2px auto; border-radius: 999px; }

.hero, .section { padding: clamp(3.25rem, 7vw, 6rem) 0; }
.hero-copy p, .section p { color: var(--muted); }
.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0.3rem 0 1rem; }
h2 { font-size: clamp(1.75rem, 3.2vw, 3rem); margin: 0.2rem 0 1rem; }
h3 { font-size: 1.2rem; margin: 0.3rem 0 0.75rem; }

.about-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(233, 245, 255, 0.96), rgba(247, 249, 252, 0.86) 44%, rgba(39, 173, 255, 0.1)),
    repeating-linear-gradient(90deg, rgba(39, 173, 255, 0.08) 0 1px, transparent 1px 98px);
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 38%;
  height: 42%;
  border-top: 2px solid rgba(39, 173, 255, 0.2);
  border-left: 2px solid rgba(39, 173, 255, 0.16);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.82fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero-copy > p:not(.eyebrow) { max-width: 680px; font-size: 1.08rem; }
.about-hero h1 { font-size: clamp(2.35rem, 5vw, 4.8rem); max-width: 11ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 1.8rem; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 680px;
  margin: 0;
}
.trust-strip div {
  padding: 0.9rem;
  border: 1px solid rgba(39, 173, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}
.trust-strip dt { font-weight: 800; font-size: 1.15rem; }
.trust-strip dd { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.9rem; }

.kim-photo-panel {
  align-self: stretch;
  min-height: 520px;
  border-radius: 28px;
  padding: 0.9rem;
  background: #fff;
  border: 1px solid rgba(39, 173, 255, 0.18);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.kim-photo-panel:hover { transform: translateY(-5px); box-shadow: 0 22px 60px rgba(19, 33, 61, 0.16); }
.kim-photo-placeholder {
  min-height: 430px;
  height: calc(100% - 78px);
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px dashed rgba(39, 173, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(39, 173, 255, 0.12), rgba(233, 245, 255, 0.7)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.65) 0 12px, rgba(255, 255, 255, 0.2) 12px 24px);
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
  position: relative;
}
.kim-photo-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}
.photo-caption { display: grid; gap: 0.1rem; padding: 1rem 0.3rem 0.15rem; }
.photo-caption span { color: var(--muted); font-size: 0.94rem; }

.section-head { max-width: 720px; }
.section-head.centered { margin: 0 auto 2rem; text-align: center; }
.section-head.centered p:not(.eyebrow) { margin-inline: auto; max-width: 660px; }
.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.rich-copy {
  border-left: 3px solid var(--accent);
  padding-left: 1.4rem;
  font-size: 1.03rem;
}
.rich-copy p:first-child { margin-top: 0; }

.philosophy-section { background: #fbfdff; }
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.pill-grid span, .mini-tags span {
  border: 1px solid rgba(39, 173, 255, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 0.7rem 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(19, 33, 61, 0.06);
}

.cards { display: grid; gap: 1rem; }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.programme-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card, .cart-summary, .cart-items, .cart-item, .owner-add-form, .owner-products, .auth-card, .dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.product-card {
  padding: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 173, 255, 0.32);
  box-shadow: 0 16px 32px rgba(19, 33, 61, 0.1);
}
.feature-card { min-height: 245px; display: flex; flex-direction: column; }
.card-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.alt {
  background:
    linear-gradient(100deg, rgba(238, 246, 255, 0.95), rgba(247, 249, 252, 0.72)),
    linear-gradient(#fff, #fff);
}
.experience-layout, .credentials-grid, .achievement-layout, .impact-grid, .contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.check-list, .credential-list {
  display: grid;
  gap: 0.75rem;
}
.check-list p, .credential-list p {
  position: relative;
  margin: 0;
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-weight: 650;
}
.check-list p::before, .credential-list p::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(39, 173, 255, 0.18);
}
.qualification-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--text);
  color: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.qualification-panel p { color: rgba(255, 255, 255, 0.75); }
.qualification-panel .eyebrow { color: var(--accent); }
.mini-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.3rem; }
.mini-tags span {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  font-size: 0.88rem;
}

.achievements-section { background: #fff; }
.achievement-stack { display: grid; gap: 0.8rem; }
.achievement-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.achievement-item span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 800;
}
.achievement-item p { margin: 0; color: var(--text); font-weight: 700; }
.achievement-item.highlight { background: #13213d; border-color: #13213d; }
.achievement-item.highlight p { color: #fff; }
.achievement-item.highlight span { background: var(--accent); color: var(--text); }

.impact-section {
  background:
    linear-gradient(180deg, rgba(247, 249, 252, 0.88), rgba(255, 255, 255, 0.95)),
    repeating-linear-gradient(0deg, rgba(39, 173, 255, 0.06) 0 1px, transparent 1px 80px);
}
.impact-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.impact-metrics article {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  border: 1px solid rgba(39, 173, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}
.impact-metrics strong { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1; }
.impact-metrics span { color: var(--muted); font-weight: 650; }

.contact-section { padding-top: 2rem; }
.contact-panel {
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 24px;
  background: linear-gradient(135deg, #13213d, #176fa8);
  color: #fff;
  box-shadow: var(--shadow);
}
.contact-panel p { color: rgba(255, 255, 255, 0.78); }
.contact-panel .eyebrow { color: var(--accent); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }
.contact-details {
  flex-basis: 100%;
  display: grid;
  gap: 0.2rem;
  margin-top: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: right;
}
.contact-details p { margin: 0; }
.contact-details a { color: #fff; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

.shop-categories { display: grid; gap: 2rem; }
.shop-toolbar { display: flex; align-items: center; gap: 0.7rem; margin: 0.5rem 0 1rem; }
.shop-filter-label { font-weight: 600; color: var(--text); }
.shop-filter-select { min-width: 220px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); padding: 0.55rem 0.7rem; }
.category-section { display: grid; gap: 1rem; }
.category-title { margin: 0; font-size: 1.2rem; }
.price { font-weight: 700; color: var(--text) !important; }
.old-price { margin: 0; text-decoration: line-through; color: var(--muted) !important; font-size: 0.92rem; }
.price-wrap { display: grid; gap: 0.15rem; margin-bottom: 0.5rem; }
.discount-badge { display: inline-block; background: #e8f7ee; color: #1a8a43; border: 1px solid #bce8cd; border-radius: 999px; font-size: 0.75rem; padding: 0.1rem 0.45rem; vertical-align: middle; }
.product-image-wrap { margin-bottom: 0.7rem; }
.product-image { width: 100%; height: 180px; object-fit: contain; border-radius: 10px; border: 1px solid var(--border); background: #fff; }
.product-image-placeholder { display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; }
.product-description-wrap { display: grid; gap: 0.45rem; margin: 0.35rem 0 0.55rem; }
.product-description { margin: 0; line-height: 1.55; color: var(--muted); }
.product-description.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-description-toggle {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
}
.product-description-toggle:hover { color: var(--brand); }
.owner-thumb { margin-top: 0.5rem; width: 90px; height: 90px; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0.74rem 1.08rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { cursor: not-allowed; opacity: 0.58; transform: none; box-shadow: none; }
.btn-primary { background: var(--primary); color: #041325; box-shadow: 0 10px 24px rgba(39, 173, 255, 0.3); }
.btn-primary:hover { background: #159de8; }
.btn-secondary { background: rgba(255, 255, 255, 0.82); color: var(--text); border: 1px solid var(--border); }
.full { width: 100%; margin-top: 0.7rem; }

.cart-layout { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 1rem; }
.cart-items { padding: 1rem; min-height: 170px; }
.empty-cart { margin: 0; color: var(--muted); }
.cart-item { padding: 0.8rem; display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem; }
.cart-item h4, .cart-item p { margin: 0; }
.cart-item p { color: var(--muted); }
.qty-controls { display: flex; align-items: center; gap: 0.6rem; }
.qty-btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; }
.cart-summary { padding: 1rem; height: fit-content; }
.summary-row { display: flex; justify-content: space-between; margin: 0.5rem 0; color: var(--muted); }
.summary-row.total { color: var(--text); font-weight: 700; border-top: 1px solid var(--border); padding-top: 0.6rem; }

input[type="url"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  width: 100%;
  margin-top: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  padding: 0.6rem 0.7rem;
  font: inherit;
}
textarea { resize: vertical; min-height: 120px; }
.helper-text { font-size: 0.82rem; color: var(--muted); margin: 0.45rem 0; }
.owner-meta { font-size: 0.84rem; color: var(--muted); margin-top: 0.2rem !important; }
.owner-wrap { display: grid; gap: 1rem; }
.owner-add-form, .owner-products { padding: 1rem; }
.owner-add-form { display: grid; gap: 0.6rem; }
.homepage-photo-preview {
  min-height: 190px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(39, 173, 255, 0.38);
  border-radius: 12px;
  background: #f8fbff;
  color: var(--muted);
  font-weight: 700;
  overflow: hidden;
}
.homepage-photo-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.owner-products { display: grid; gap: 0.8rem; }
.owner-product-row { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border); border-radius: 10px; padding: 0.8rem; background: #fff; gap: 0.8rem; }
.owner-product-row p { margin: 0; }
.owner-product-info { display: grid; gap: 0.35rem; min-width: 0; }
.owner-product-description-wrap { display: grid; gap: 0.35rem; }
.owner-product-description { line-height: 1.5; color: var(--muted); }
.owner-product-description.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.owner-description-toggle { font-size: 0.85rem; }
.owner-row-actions { display: grid; gap: 0.4rem; width: 180px; }
.category-add-row { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; align-items: end; }
.product-stock-options { display: grid; gap: 0.6rem; padding: 0.75rem; border: 1px solid var(--border); border-radius: 10px; background: #fff; }

.account-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.5rem; align-items: start; }
.account-copy p, .account-area p { color: var(--muted); }
.auth-card, .dashboard-card { padding: 1.2rem; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; background: #eef4fb; border: 1px solid var(--border); border-radius: 12px; padding: 0.25rem; margin-bottom: 1rem; }
.mode-switch button { border: 0; border-radius: 10px; background: transparent; color: var(--muted); padding: 0.65rem 0.7rem; cursor: pointer; font: inherit; font-weight: 600; }
.mode-switch button.active { background: var(--primary); color: #ffffff; }
.auth-form { display: grid; gap: 0.95rem; margin-top: 1rem; }
.auth-form label { display: grid; gap: 0.35rem; color: var(--text); font-weight: 600; }
.auth-form-actions { display: flex; justify-content: flex-end; margin-top: -0.35rem; }
.link-button { border: 0; background: transparent; color: var(--primary-dark); padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.link-button:hover { text-decoration: underline; }
.link-button:disabled { color: var(--muted); cursor: wait; text-decoration: none; }
.auth-form input:focus, .profile-form input:focus, .profile-form select:focus, .profile-form textarea:focus { outline: 2px solid rgba(39, 173, 255, 0.35); border-color: var(--primary); }
.muted, .form-message { color: var(--muted); }
.form-message { min-height: 1.4rem; margin: 0; }
.form-message[data-tone="success"] { color: #177a3a; }
.form-message[data-tone="error"] { color: #b42318; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: 1rem; align-items: start; }
.account-summary, .account-cart-card { align-self: start; }
.profile-form { display: grid; gap: 1rem; grid-row: span 2; }
.profile-form h2 { font-size: 1.55rem; margin-bottom: 0.2rem; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.profile-grid label { display: grid; gap: 0.35rem; color: var(--text); font-weight: 600; }
.players-section {
  grid-column: 1 / -1;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.players-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 1rem;
  align-items: end;
}
.players-heading h3, .players-heading p { margin: 0; }
.players-list { display: grid; gap: 0.9rem; }
.player-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid rgba(39, 173, 255, 0.18);
  border-radius: 12px;
  background: var(--surface);
}
.player-card h4 { margin: 0; font-size: 1rem; }
.player-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.profile-notes { grid-column: 1 / -1; }

.site-footer { border-top: 1px solid var(--border); background: #fbfdff; }
.footer-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-copy { margin: 0; color: var(--muted); font-weight: 500; }
.head-link { text-decoration: none; }
.head-logo { font-size: clamp(2rem, 4vw, 2.4rem); letter-spacing: 0.06em; font-weight: 800; color: #222126; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 980px) {
  .hero-grid, .split-section, .experience-layout, .credentials-grid, .achievement-layout, .impact-grid, .contact-panel,
  .cart-layout, .owner-product-row, .account-grid, .dashboard-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .about-hero h1 { max-width: 13ch; }
  .programme-grid, .three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kim-photo-panel { min-height: auto; transform: none; }
  .kim-photo-placeholder { min-height: 380px; }
  .contact-actions, .contact-details { justify-content: flex-start; text-align: left; }
  .owner-row-actions { width: 100%; }
}

@media (max-width: 760px) {
  .nav { min-height: 68px; }
  .menu-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 4%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(19, 33, 61, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-button { padding: 0.85rem 0; text-align: left; border-bottom: 1px solid rgba(219, 227, 241, 0.7); }
  .hero, .section { padding: 3.1rem 0; }
  .about-hero { padding-top: 2.4rem; }
  .trust-strip, .programme-grid, .three-col, .impact-metrics { grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .about-hero::after { display: none; }
  .kim-photo-placeholder { min-height: 310px; }
  .rich-copy { padding-left: 1rem; }
  .shop-toolbar { display: grid; align-items: stretch; }
  .achievement-item { grid-template-columns: 1fr; }
  .category-add-row { grid-template-columns: 1fr; }
  .profile-grid, .players-heading, .player-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; justify-content: center; padding: 0.9rem 0; text-align: center; }
}
