/* ============================================
   KATYY. — Clean, human-crafted, high-contrast
   Black & White system. No soft glows. No AI aesthetic.
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  font-weight: 400;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100%;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ---------- Theme Variables ---------- */
:root,
[data-theme="light"] {
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --text: #0a0a0a;
  --text-muted: #444444;
  --border: #e0e0e0;
  --accent: #0a0a0a;
  --accent-invert: #fafafa;
  --card-bg: #ffffff;
  --header-bg: rgba(250, 250, 250, 0.92);
  --shadow: 0 1px 0 rgba(0,0,0,0.06);
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --text: #f5f5f5;
  --text-muted: #a0a0a0;
  --border: #2a2a2a;
  --accent: #f5f5f5;
  --accent-invert: #0a0a0a;
  --card-bg: #141414;
  --header-bg: rgba(10, 10, 10, 0.92);
  --shadow: 0 1px 0 rgba(255,255,255,0.04);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container.narrow {
  max-width: 680px;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--accent-invert);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 600;
  border-radius: 2px;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 42px;
  width: auto;
}

.logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: block;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  gap: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.lang-btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--accent-invert);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 1.1rem;
  transition: background 0.15s;
}

.theme-toggle:hover {
  background: var(--card-bg);
}

.theme-icon-moon {
  display: none;
}

[data-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: inline;
}

/* ---------- Hero ---------- */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1rem;
}

.logo-word {
  display: block;
}

.slogan {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
  color: var(--text);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-invert);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--card-bg);
  border-color: var(--text-muted);
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ---------- Cards / Grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  border-radius: 2px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-visual {
  margin-bottom: 0.5rem;
}

.product-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ---------- About ---------- */
.about-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-tag {
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* ---------- Contact ---------- */
.contact .section-lead {
  margin-bottom: 1.5rem;
}

.contact-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-slogan {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-meta {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-meta p {
  margin-bottom: 0.35rem;
}

.footer-legal a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-legal a:hover {
  color: var(--text);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }
  
  .logo {
    height: 36px;
  }
  
  .lang-btn {
    padding: 0.3rem 0.45rem;
    font-size: 0.7rem;
  }
  
  .hero {
    padding: 4rem 0 3.5rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .card,
  .product-card {
    padding: 1.5rem;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-meta {
    text-align: left;
  }
}

/* Large screens / TV */
@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }
  
  .hero {
    padding: 8rem 0 6rem;
  }
}

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

/* Print */
@media print {
  .site-header,
  .theme-toggle,
  .lang-switcher,
  .hero-cta {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* ---------- Product images ---------- */
.product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.5rem;
  margin-bottom: 0.75rem;
  min-height: 280px;
}

.product-img {
  max-height: 260px;
  width: auto;
  object-fit: contain;
}

/* ---------- Availability ---------- */
.avail-list {
  text-align: center;
  margin-bottom: 1.5rem;
}

.avail-list p {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.avail-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Contact emails ---------- */
.contact-emails {
  text-align: center;
  font-size: 1.05rem;
}

.contact-emails p {
  margin-bottom: 0.6rem;
}

.contact-emails a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.15s;
}

.contact-emails a:hover {
  border-color: var(--text);
}

/* ---------- About refinements ---------- */
.about-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-tag {
  text-align: center;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

/* ---------- Narrow container ---------- */
.narrow {
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- Header refinements already present ---------- */
