/* HTuse Studio — Editorial Product Showcase Stylesheet */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f8f9fa;
  --surface-tint: #f1f3f4;
  --border: #e8eaed;
  --border-strong: #dadce0;
  --ink: #202124;
  --ink-secondary: #5f6368;
  --ink-muted: #70757a;
  --accent: #1a73e8;
  --accent-hover: #1557b0;
  --accent-soft: #e8f0fe;
  --dark-btn: #202124;
  --dark-btn-hover: #3c4043;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --shadow-card: 0 1px 2px rgba(60, 64, 67, 0.08), 0 1px 3px 1px rgba(60, 64, 67, 0.04);
  --shadow-hover: 0 12px 28px -8px rgba(32, 33, 36, 0.14), 0 2px 6px rgba(32, 33, 36, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.4rem;
}
.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover { background: var(--surface-alt); color: var(--ink); }
.nav-link.active { color: var(--ink); font-weight: 600; background: var(--surface-tint); }

.header-cta { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--dark-btn); color: #fff; }
.btn-primary:hover { background: var(--dark-btn-hover); }
.btn-blue { background: var(--accent); color: #fff; }
.btn-blue:hover { background: var(--accent-hover); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface-alt); border-color: var(--ink-muted); }

.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-nav {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 0.75rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav a {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-secondary);
}
.mobile-nav a.active, .mobile-nav a:hover { background: var(--surface-alt); color: var(--ink); }

/* Hero — Google Products Editorial Style */
.hero {
  padding: 4.5rem 0 3.75rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 1px solid var(--border);
}
.icon-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 2.25rem;
  max-width: 780px;
}
.ribbon-tile {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.ribbon-tile:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: var(--shadow-hover);
}
.ribbon-tile img { width: 100%; height: 100%; object-fit: cover; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.hero h1 {
  margin: 0 auto;
  max-width: 780px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
}
.hero-lead {
  margin: 1.25rem auto 0;
  max-width: 620px;
  font-size: 1.08rem;
  color: var(--ink-secondary);
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Section Headers */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}
.section-header.centered { text-align: center; align-items: center; }
.section-title {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-subtitle {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-secondary);
  max-width: 600px;
}

/* Featured Spotlight Grid */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.spotlight-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.spotlight-media {
  aspect-ratio: 16 / 9;
  background: var(--surface-tint);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.spotlight-card:hover .spotlight-media img { transform: scale(1.03); }
.spotlight-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.spotlight-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.spotlight-mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.spotlight-mini-icon img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.spotlight-body h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.spotlight-body p {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  flex: 1;
}
.spotlight-link {
  margin-top: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

/* Catalog Filter Bar */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill-tab {
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--ink-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pill-tab:hover { border-color: var(--ink); color: var(--ink); }
.pill-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.search-box { position: relative; max-width: 320px; width: 100%; }
.search-box svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 0.58rem 1rem 0.58rem 2.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: 0.9rem;
  outline: none;
}
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}
.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.product-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-icon img { width: 100%; height: 100%; object-fit: cover; }
.product-cat {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 0.24rem 0.7rem;
  border-radius: var(--radius-pill);
}
.product-name {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.product-card:hover .product-name { color: var(--accent); }
.product-sub {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.product-desc {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}
.product-footer {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.product-domain {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.product-domain:hover { text-decoration: underline; }
.play-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  transition: background 0.15s ease, color 0.15s ease;
}
.play-pill:hover { background: var(--surface-tint); color: var(--ink); }

/* Pillars / Values Strip */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.pillar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.pillar-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.pillar-card h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.pillar-card p { margin: 0.55rem 0 0; font-size: 0.92rem; color: var(--ink-secondary); }

/* Subpage Hero & Prose */
.page-hero {
  padding: 4rem 0 3rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.page-hero p {
  margin: 0.9rem 0 0;
  font-size: 1.05rem;
  color: var(--ink-secondary);
  max-width: 640px;
}
.prose { padding: 3.5rem 0; }
.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 0.97rem; color: var(--ink-secondary); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.45rem; }
.prose a { color: var(--accent); font-weight: 500; }
.prose a:hover { text-decoration: underline; }

/* Contact Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: 0.92rem;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.alert-success {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: #e6f4ea;
  border: 1px solid #ceead6;
  color: #137333;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.alert-error {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: #fce8e6;
  border: 1px solid #fad2cf;
  color: #c5221f;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* Footer — Google Style Multi-Column */
.site-footer {
  margin-top: auto;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  padding: 3.75rem 0 2.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}
.footer-title {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}
.footer-list.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}
.footer-list a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-legal a:hover { color: var(--ink); }

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .spotlight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1.25fr 0.85fr; }
  .footer-grid { grid-template-columns: 1.2fr 1.3fr 0.8fr 0.8fr; }
}
@media (min-width: 1024px) {
  .catalog-controls { flex-direction: row; align-items: center; justify-content: space-between; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
