:root {
  --bg: #f7f5ef;
  --bg-soft: #fdfcf8;
  --ink: #1a1a1a;
  --ink-soft: #4b4b4b;
  --muted: #8a8578;
  --line: rgba(26, 26, 26, 0.08);
  --accent: #b4532a;
  --accent-soft: #e8c9a9;
  --card: #ffffff;
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.04),
    0 2px 8px rgba(26, 26, 26, 0.04);
  --shadow-lg: 0 12px 40px rgba(26, 26, 26, 0.08),
    0 2px 8px rgba(26, 26, 26, 0.04);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1120px;
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui,
    -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Ambient background orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.bg-orb--one {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle, #d8e4ff 0%, transparent 70%);
}
.bg-orb--two {
  width: 520px;
  height: 520px;
  bottom: -200px;
  left: -160px;
  background: radial-gradient(circle, #e8dfff 0%, transparent 70%);
}
.bg-orb--three {
  width: 400px;
  height: 400px;
  top: 42%;
  left: 58%;
  background: radial-gradient(circle, #ffe4d6 0%, transparent 70%);
  opacity: 0.28;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 10px;
  background: var(--bg-soft);
  transition: all 0.2s ease;
}
.logo:hover {
  border-color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.site-nav a:hover {
  color: var(--ink);
}

/* Layout helpers */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 80px 0;
}

/* Hero */
.hero {
  padding-top: 80px;
  padding-bottom: 120px;
  max-width: 820px;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
}

.accent {
  font-weight: 600;
  background: linear-gradient(90deg, #4b5fd4 0%, #8a5fe0 60%, #d1642a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 0 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg-soft);
}
.btn--primary:hover {
  background: #000;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

/* Section heading */
.section-head {
  margin-bottom: 48px;
  max-width: 640px;
}
.section-head--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 17px;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 26, 26, 0.16);
}

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef1ff 0%, #f5eaff 100%);
  color: #5b6cd6;
  display: grid;
  place-items: center;
}
.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

/* Handcrafted feature panel */
.handcrafted {
  padding-top: 40px;
}

.handcrafted__panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(212, 153, 88, 0.18) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, #2a1d14 0%, #1c130c 60%, #120b06 100%);
  color: #f5ead6;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 153, 88, 0.18);
}

.handcrafted__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 3px
    );
  opacity: 0.5;
  pointer-events: none;
}

.handcrafted__media {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.handcrafted__logo {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 153, 88, 0.25);
}

.handcrafted__body {
  position: relative;
  z-index: 1;
}

.handcrafted__body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
  color: #f5ead6;
}

.section-tag--on-dark {
  color: #d4a574;
}

.handcrafted__lede {
  color: rgba(245, 234, 214, 0.78);
  font-size: 17px;
  margin: 0 0 24px;
  max-width: 520px;
}

.handcrafted__pills {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.handcrafted__pills li {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 165, 116, 0.35);
  color: #e6c896;
  background: rgba(212, 165, 116, 0.06);
  font-weight: 500;
}

.btn--on-dark {
  background: #e6c896;
  color: #1c130c;
}
.btn--on-dark:hover {
  background: #f0d7a8;
  transform: translateY(-1px);
}
.btn--ghost-dark {
  background: transparent;
  color: #f5ead6;
  border-color: rgba(245, 234, 214, 0.24);
}
.btn--ghost-dark:hover {
  border-color: #e6c896;
  color: #e6c896;
  background: transparent;
}

@media (max-width: 820px) {
  .handcrafted__panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 28px;
  }
  .handcrafted__logo {
    max-width: 280px;
  }
}

/* About */
.about__body {
  max-width: 680px;
  font-size: 18px;
  color: var(--ink-soft);
}
.about__body p {
  margin: 0 0 18px;
}

/* Contact */
.contact {
  padding-bottom: 120px;
}
.contact__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.contact-link:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.contact-link__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.contact-link__value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Footer */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.site-footer p {
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .site-header {
    padding: 20px;
  }
  .site-nav {
    gap: 18px;
  }
  .site-nav a {
    font-size: 14px;
  }
  main {
    padding: 0 20px;
  }
  section {
    padding: 60px 0;
  }
  .hero {
    padding-top: 40px;
    padding-bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
