:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --ink: #16161a;
  --muted: #6b6b70;
  --line: #e7e7e3;
  --accent: #ff4d1c;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(22, 22, 26, 0.06);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 40px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
}

/* Header / nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo .dot {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  padding-top: 220px;
  padding-bottom: 120px;
}

.hero-sub {
  max-width: 540px;
  font-size: 1.15rem;
  margin: 24px 0 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background: #e13c0e;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

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

.btn-full {
  width: 100%;
  text-align: center;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card ul {
  margin-top: 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.card li {
  margin-bottom: 6px;
}

/* Portfolio */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.project figcaption h3 {
  margin: 14px 0 2px;
}

.project figcaption p {
  font-size: 0.9rem;
}

.thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
}

.thumb-a { background: linear-gradient(135deg, #3a3f4a, #1c1f26); }
.thumb-b { background: linear-gradient(135deg, #ff7a18, #ffb25e); }
.thumb-c { background: linear-gradient(135deg, #264653, #2a9d8f); }
.thumb-d { background: linear-gradient(135deg, #5e2c8f, #c86bd7); }

.work-note {
  margin-top: 24px;
  font-size: 0.85rem;
}

/* About */
.about {
  background: var(--bg-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.about-grid h2 {
  margin-bottom: 0;
}

.about-body p {
  margin-bottom: 16px;
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
}

.stats span {
  font-size: 0.9rem;
}

/* Pricing */
.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.price-card .btn {
  margin-top: 24px;
}

.featured {
  background: var(--ink);
  border-color: var(--ink);
}

.featured h3,
.featured .price,
.featured p,
.featured li {
  color: #fff;
}

.featured ul {
  color: rgba(255, 255, 255, 0.85);
}

/* Store */
.store {
  background: var(--bg-soft);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card .price {
  font-size: 2rem;
}

.product-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.product-card .btn {
  margin-top: 24px;
}

.store-note {
  margin-top: 32px;
  font-size: 0.9rem;
  text-align: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-email {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--line);
  padding-bottom: 2px;
}

.contact-email:hover {
  border-color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink);
  margin-top: 8px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer p {
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Section lead */
.section-lead {
  max-width: 560px;
  margin: -16px 0 40px;
}

/* Legal pages */
.legal {
  padding-top: 140px;
  padding-bottom: 96px;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-body {
  max-width: 760px;
}

.legal-body h2 {
  font-size: 1.35rem;
  margin: 40px 0 12px;
}

.legal-body p,
.legal-body li {
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 20px;
}

.legal-body strong {
  color: var(--ink);
}

.legal-back {
  display: inline-block;
  margin-top: 48px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

/* Mobile nav */
@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 18px;
    align-items: flex-start;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 180px;
    padding-bottom: 80px;
  }

  .section {
    padding: 72px 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats {
    gap: 24px;
  }
}
