/* MS Nar Kitchen — parchment & ember palette from NKColor */

:root {
  --bg: #f7f1e6;
  --bg-deep: #efe6d6;
  --bg-warm: #e8dcc8;
  --surface: #fffbf4;
  --surface-elevated: #ffffff;
  --hairline: #d4c4a8;
  --accent: #c47a20;
  --fire: #e0892a;
  --fire-deep: #a85a12;
  --terracotta: #b85a3a;
  --olive: #6b7a4e;
  --sage: #8a9a72;
  --gold: #c9a84c;
  --kitchen-book: #8b5e3c;
  --text: #2a2420;
  --text-secondary: #6b5e52;
  --text-tertiary: #9a8b7a;
  --text-on-accent: #fff8ee;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(42, 36, 32, 0.08);
  --glow-fire: 0 0 48px rgba(224, 137, 42, 0.28);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(224, 137, 42, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(107, 122, 78, 0.1), transparent 50%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-deep) 45%, var(--bg-warm) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

a {
  color: var(--fire-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.page-wrap {
  position: relative;
  z-index: 1;
}

.ember-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ember-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.ember-orb--fire {
  width: 320px;
  height: 320px;
  top: 8%;
  right: -60px;
  background: rgba(224, 137, 42, 0.35);
}

.ember-orb--gold {
  width: 260px;
  height: 260px;
  bottom: 18%;
  left: -80px;
  background: rgba(201, 168, 76, 0.28);
}

.ember-orb--olive {
  width: 220px;
  height: 220px;
  top: 55%;
  right: 12%;
  background: rgba(107, 122, 78, 0.18);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 241, 230, 0.82);
  border-bottom: 1px solid rgba(212, 196, 168, 0.65);
}

.nav-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.wordmark-ar {
  font-family: var(--font-display);
  color: var(--fire);
  font-size: 1.45rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.35rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--fire-deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Hero —— */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 122, 32, 0.35);
  background: rgba(224, 137, 42, 0.1);
  color: var(--fire-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
}

.hero h1 .accent {
  display: block;
  margin-top: 0.35rem;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 0.72em;
}

.hero-desc {
  margin: 0 0 1.6rem;
  max-width: 38rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--fire), var(--accent) 55%, var(--fire-deep));
  color: var(--text-on-accent);
  border: 1px solid rgba(168, 90, 18, 0.35);
  box-shadow: var(--glow-fire), 0 8px 20px rgba(168, 90, 18, 0.22);
}

.btn-primary:hover {
  color: var(--text-on-accent);
  transform: translateY(-1px);
  box-shadow: 0 0 56px rgba(224, 137, 42, 0.38), 0 12px 24px rgba(168, 90, 18, 0.28);
}

.btn-ghost {
  background: rgba(255, 251, 244, 0.7);
  color: var(--text);
  border: 1px solid var(--hairline);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--surface);
  border-color: rgba(196, 122, 32, 0.45);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stat-pill {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.85);
  border: 1px solid var(--hairline);
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.stat-pill strong {
  color: var(--text);
  font-weight: 600;
}

/* Phone mock */
.hero-device {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 280px);
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #3a322c, #2a2420);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    var(--glow-fire);
}

.phone-notch {
  width: 96px;
  height: 10px;
  margin: 4px auto 10px;
  border-radius: 999px;
  background: #1a1614;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffbf4, #efe6d6);
  min-height: 420px;
}

.mini-app {
  padding: 1.1rem 1rem 1rem;
}

.mini-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.mini-title {
  margin: 0.2rem 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
}

.mini-card {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(196, 122, 32, 0.3);
  background: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
}

.mini-card strong {
  display: block;
  font-size: 0.95rem;
}

.mini-card em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

.mini-flame {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(224, 137, 42, 0.18);
  color: var(--fire);
  font-size: 0.85rem;
}

.mini-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid rgba(212, 196, 168, 0.55);
}

.mini-row b {
  display: block;
  font-size: 0.82rem;
}

.mini-row i {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

.dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--fire { background: var(--fire); }
.dot--olive { background: var(--olive); }
.dot--terracotta { background: var(--terracotta); }

.mini-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.2rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 196, 168, 0.65);
}

.mini-tabs span {
  text-align: center;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

.mini-tabs .on {
  color: var(--accent);
}

/* —— Sections —— */
section {
  padding: 4.25rem 0;
}

.section-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  max-width: 18ch;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 251, 244, 0.88);
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 28px rgba(42, 36, 32, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(196, 122, 32, 0.45);
  box-shadow: 0 14px 32px rgba(196, 122, 32, 0.1), var(--glow-fire);
  transform: translateY(-2px);
}

.feature-num {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* About */
.about-block {
  background:
    linear-gradient(135deg, rgba(224, 137, 42, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.55), rgba(239, 230, 214, 0.7));
  border-block: 1px solid rgba(212, 196, 168, 0.7);
}

.about-text {
  max-width: 42rem;
}

.about-text p {
  color: var(--text-secondary);
  margin: 0 0 1rem;
}

.about-text em {
  color: var(--text);
  font-style: italic;
}

.ar-inline {
  color: var(--fire);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15em;
}

.about-cta {
  margin-top: 0.75rem;
}

/* Privacy */
.privacy-card {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 251, 244, 0.92);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
}

.privacy-effective {
  margin: 0 0 1.1rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(196, 122, 32, 0.1);
  border: 1px solid rgba(196, 122, 32, 0.2);
  color: var(--fire-deep);
  font-size: 0.88rem;
  font-weight: 500;
}

.privacy-card h3 {
  margin: 1.5rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.privacy-card p,
.privacy-card li {
  color: var(--text-secondary);
}

.privacy-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.privacy-card li {
  margin-bottom: 0.35rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-card {
  display: block;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 251, 244, 0.9);
  border: 1px solid var(--hairline);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(196, 122, 32, 0.5);
  box-shadow: var(--glow-fire);
  color: inherit;
}

.contact-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.contact-card strong {
  font-size: 1rem;
  word-break: break-word;
  color: var(--text);
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(212, 196, 168, 0.7);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

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

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-device {
    order: -1;
  }

  .phone {
    width: min(100%, 250px);
  }

  .features-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(247, 241, 230, 0.97);
    border-bottom: 1px solid var(--hairline);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid rgba(212, 196, 168, 0.45);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .features-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .feature-card,
  .contact-card {
    transition: none;
  }
}
