/* Sintorn Studios — landing page
   Dark theme, WCAG 2.1 AA contrast, mobile-first. */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-alt: #0f0f0f;
  --surface: #1a1a1a;
  --border: #262626;
  --border-strong: #333333;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --text-dim: #737373;
  --accent: #5eead4;
  --accent-hover: #2dd4bf;
  --accent-dim: #134e4a;
  --focus: #5eead4;
  --max-width: 1120px;
  --radius: 12px;
  --radius-sm: 8px;
  --gap: 1.5rem;
  --transition: 180ms ease;
}

* { box-sizing: border-box; }

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-120%);
  transition: transform var(--transition);
  z-index: 100;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}
.brand-logo {
  height: 28px;
  width: auto;
}

.nav {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  gap: 1.5rem;
}
.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--text); }

@media (max-width: 560px) {
  .nav { display: none; }
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(1200px 500px at 50% -100px, rgba(94, 234, 212, 0.08), transparent 60%),
    var(--bg);
}
.hero-title {
  font-size: clamp(2.25rem, 5vw + 1rem, 4rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.accent {
  color: var(--accent);
}
.hero-lead {
  font-size: clamp(1.1rem, 1vw + 0.9rem, 1.35rem);
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 44ch;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem);
  margin: 0 0 2rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.product-card:hover {
  border-color: var(--border-strong);
}
.product-card-body {
  padding: 1.75rem;
}
.product-name {
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
  color: var(--text);
}
.product-tagline {
  color: var(--accent);
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.product-description {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.product-links a {
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.product-links a:hover {
  border-bottom-color: var(--accent);
}

.product-card-placeholder {
  border-style: dashed;
  background: transparent;
}
.product-card-placeholder .product-name { color: var(--text-muted); }
.product-card-placeholder .product-tagline { color: var(--text-dim); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}
.about-grid p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: 60ch;
}
.about-side {
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}
@media (max-width: 799px) {
  .about-side {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 1.5rem;
  }
}
.facts {
  margin: 0;
  display: grid;
  gap: 1.25rem;
}
.facts > div {
  display: grid;
  gap: 0.15rem;
}
.facts dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
}
.facts dd {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

/* Contact */
.contact-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-block p {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 720px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-logo {
  height: 24px;
  width: auto;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}
.footer-copy {
  color: var(--text-dim);
  margin: 0;
  font-size: 0.9rem;
}
.footer-nav {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  gap: 1.5rem;
}
.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--text); }
