/* G JOY Materials — styles.css
   Apple-inspired minimalism. Plain CSS, no frameworks. Mobile-first. */

:root {
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --gray-light: #86868b;
  --bg-soft: #f5f5f7;
  --hairline: #d2d2d7;
  --white: #ffffff;
  --brand: #1B4F9C;
  --radius: 18px;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, .06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font);
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection { background: rgba(0, 113, 227, .18); }

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.022em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.75rem, 7vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4.5vw, 2.75rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }

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

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 253, .8);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 28px; height: 28px; }
.logo-text { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.logo-text strong { font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 12px;
  color: var(--ink);
  opacity: .8;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.main-nav a:hover { opacity: 1; text-decoration: none; }
.main-nav a.active { opacity: 1; font-weight: 600; }
.main-nav a.nav-cta {
  background: var(--accent);
  color: #fff;
  opacity: 1;
  padding: 7px 16px;
  border-radius: 980px;
  font-weight: 400;
}
.main-nav a.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 12px 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero { padding: 120px 0 100px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.eyebrow, .section-eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}
.hero h1 { margin-bottom: 16px; }
.hero-sub {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-note { font-size: 15px; color: var(--gray-light); }
.hero-art { margin-top: 72px; width: 100%; max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: var(--bg-soft); color: var(--accent); }
.btn-outline:hover { background: #e8e8ed; }
.btn-disabled { background: var(--bg-soft); color: var(--gray-light); cursor: default; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tint { background: var(--bg-soft); }

.section .wrap > .section-eyebrow,
.section .wrap > h2,
.section .wrap > .section-lead { text-align: center; }
.section-lead {
  font-size: 1.3125rem;
  color: var(--gray);
  max-width: 720px;
  margin: 0 auto 60px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.section-foot { text-align: center; margin-top: 48px; color: var(--gray); font-size: 17px; }

/* ---------- Product cards ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 56px 44px;
  text-align: center;
}
.product-art { width: 120px; margin: 0 auto; }
.product-card h3 { font-size: 1.5rem; margin: 28px 0 12px; }
.product-card p { color: var(--gray); }
.size-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 26px 0 18px; }
.size-pills span {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 980px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.card-note { font-size: 14px !important; color: var(--gray-light) !important; }

/* ---------- Studio split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-copy .section-eyebrow,
.split-copy h2 { text-align: left; }
.split-copy > p { color: var(--gray); font-size: 1.125rem; line-height: 1.5; }
.check-list { list-style: none; margin: 30px 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 14px; font-size: 17px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.pack-pills { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 14px; }
.pack-pills span {
  background: #fff;
  border-radius: 14px;
  padding: 12px 22px;
  font-size: 15px;
  box-shadow: var(--shadow-soft);
}
.pack-pills strong { font-weight: 700; }
.pack-sub { color: var(--gray); font-size: 15px; margin-bottom: 30px; }
.split-art svg { max-width: 420px; margin: 0 auto; }

/* ---------- Thin brick ---------- */
.badge-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #e8e8ed;
  color: var(--gray);
  border-radius: 980px;
  padding: 6px 14px;
  vertical-align: middle;
  margin-left: 12px;
  white-space: nowrap;
}
.brick-strip { border-radius: var(--radius); overflow: hidden; margin: 52px 0; }
.brick-strip svg { width: 100%; height: 150px; }
.waitlist-box {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.waitlist-box p { font-size: 19px; margin-bottom: 28px; line-height: 1.5; }

/* ---------- Projects ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
}
.project-card svg { width: 52px; height: 52px; margin-bottom: 22px; }
.project-card h3 { font-size: 19px; margin-bottom: 10px; }
.project-card p { font-size: 15px; color: var(--gray); line-height: 1.5; }

/* ---------- Where to buy ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.buy-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.buy-card h3 { font-size: 24px; }
.buy-card p { color: var(--gray); font-size: 16px; flex: 1; }

/* ---------- Contact ---------- */
.contact-wrap { text-align: center; }
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 24px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0, 0, 0, .09); }
.contact-card h3 { font-size: 22px; color: var(--ink); }
.contact-card span { display: block; color: var(--gray); font-size: 15px; margin: 4px 0 14px; }
.contact-card p { color: var(--accent); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--hairline);
  padding: 40px 0;
}
.footer-inner { display: flex; flex-direction: column; gap: 18px; }
.logo-footer .logo-mark { width: 24px; height: 24px; }
.logo-footer .logo-text { font-size: 15px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 12px; color: #424245; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-legal { font-size: 12px; color: var(--gray); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .hero { padding: 88px 0 72px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 52px; }
  .split-art { order: -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(251, 251, 253, .96);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    padding: 8px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    font-size: 17px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-soft);
    opacity: 1;
  }
  .main-nav a.nav-cta {
    text-align: center;
    margin-top: 12px;
    border-bottom: 0;
    padding: 12px 0;
  }
}

@media (max-width: 640px) {
  .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  .waitlist-box { padding: 44px 28px; }
  .product-card { padding: 44px 28px; }
  .badge-soon { margin-left: 0; margin-top: 10px; }
}
