/* ============================================================
   Why Not Try For — Design System
   Apple-style minimalism · warm cream + amber family
   ============================================================ */

:root {
  --bg: #fdfaf5;
  --bg-alt: #f7f1e8;
  --ink: #1d1a16;
  --ink-soft: #57503f;
  --muted: #8a8172;
  --accent: #e8813a;
  --accent-soft: #f5a55e;
  --accent-deep: #c96a24;
  --line: rgba(29, 26, 22, 0.08);
  --card: #ffffff;
  --dark: #17130e;
  --dark-ink: #f5efe4;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(29, 26, 22, 0.05), 0 4px 16px rgba(29, 26, 22, 0.06);
  --shadow-lg: 0 8px 24px rgba(29, 26, 22, 0.08), 0 32px 80px rgba(29, 26, 22, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(253, 250, 245, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { color: var(--ink-soft); transition: color 0.25s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  color: #fff !important;
  background: var(--ink);
  padding: 8px 18px;
  border-radius: 980px;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(
    ellipse at center,
    rgba(232, 129, 58, 0.16) 0%,
    rgba(245, 165, 94, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-content { position: relative; max-width: 900px; }
.hero-eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 32px;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 980px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, color 0.25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: var(--shadow-lg); }
.btn-ghost {
  color: var(--accent-deep);
  background: transparent;
}
.btn-ghost:hover { background: rgba(232, 129, 58, 0.1); }
.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
.btn-light:hover { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24); }

/* ============ Sections ============ */
.section { padding: 140px 0; }
.section-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 72px;
}
.section-title .muted { color: var(--muted); }

/* ============ Work / product card ============ */
.work { background: var(--bg); }
.product-card {
  background: var(--card);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(29, 26, 22, 0.1), 0 48px 110px rgba(29, 26, 22, 0.16);
}
.product-media { overflow: hidden; background: var(--bg-alt); }
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.03); }
.product-info {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.product-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.product-info h3 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.product-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.product-desc {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.product-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.product-actions .btn { font-size: 15px; padding: 12px 24px; }
.work-more {
  text-align: center;
  margin-top: 72px;
  font-size: 17px;
  color: var(--muted);
  font-style: italic;
}

/* ============ About ============ */
.about { background: var(--bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.about-item h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.about-item h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  margin-bottom: 20px;
}
.about-item p { font-size: 16px; color: var(--ink-soft); }

/* ============ Contact ============ */
.contact {
  background: var(--dark);
  color: var(--dark-ink);
  text-align: center;
  padding: 160px 32px;
}
.contact-inner { max-width: 680px; margin: 0 auto; }
.contact h2 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(120deg, #f5a55e, #e8813a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact p {
  font-size: 19px;
  color: rgba(245, 239, 228, 0.72);
  margin-bottom: 40px;
}

/* ============ Footer ============ */
.footer {
  background: var(--dark);
  color: rgba(245, 239, 228, 0.55);
  border-top: 1px solid rgba(245, 239, 228, 0.1);
  padding: 48px 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-brand {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark-ink);
  letter-spacing: -0.01em;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a { transition: color 0.25s; }
.footer-links a:hover { color: var(--accent-soft); }
.footer-copy { font-size: 13px; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .product-card { grid-template-columns: 1fr; }
  .product-media img { aspect-ratio: 16 / 10; }
  .product-info { padding: 40px 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 96px 0; }
  .section-title { margin-bottom: 48px; }
  .nav-links { gap: 20px; font-size: 14px; }
  .nav-links a:not(.nav-cta):first-child { display: none; }
  .hero { padding: 104px 24px 64px; }
  .hero-actions .btn { width: 100%; }
  .contact { padding: 110px 24px; }
}
