/* ============================================================
   Smarik. Where Memories Take Shape.
   Design tokens
   ============================================================ */
:root {
  --ivory: #FAF6EF;
  --parchment: #F2EADC;
  --ink: #2B2117;
  --ink-soft: #5C4F40;
  --gold: #B08D4F;
  --gold-light: #D7B985;
  --gold-faint: rgba(176, 141, 79, 0.28);
  --terracotta: #A9502F;
  --terracotta-deep: #8C3F22;
  --white: #FFFFFF;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(43, 33, 23, 0.08);
  --shadow-lift: 0 16px 40px rgba(43, 33, 23, 0.14);
  --container: 1140px;
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--terracotta);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.6rem;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.12rem;
  max-width: 640px;
}

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- The memory thread (signature divider) ---------- */
.thread {
  display: block;
  width: min(320px, 60%);
  margin: 1.6rem auto;
  height: 22px;
  color: var(--gold);
}
.thread.left { margin: 1.4rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--terracotta);
  color: var(--ivory);
  box-shadow: 0 8px 22px rgba(169, 80, 47, 0.28);
}
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--gold);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-faint);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.brand img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 6.5rem 0 5.5rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(215, 185, 133, 0.22), transparent 70%),
    var(--ivory);
}
.hero-logo {
  height: clamp(70px, 12vw, 110px);
  width: auto;
  margin: 0 auto 1.6rem;
}
.hero h1 { max-width: 820px; margin: 0 auto 1.2rem; }
.hero .lede { margin: 0 auto 2.4rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-inner > * { opacity: 0; transform: translateY(18px); animation: rise 0.9s forwards cubic-bezier(0.22, 0.61, 0.36, 1); }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.3s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.45s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Page hero (inner pages) */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% -20%, rgba(215, 185, 133, 0.2), transparent 70%),
    var(--ivory);
}

/* ---------- Sections ---------- */
.section { padding: 4.8rem 0; }
.section.alt { background: var(--parchment); }
.section-head { margin-bottom: 3rem; }

/* ---------- Keepsake cards (engraved plaque style) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem;
}
.keepsake-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gold-faint);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.keepsake-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-faint);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.keepsake-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.keepsake-card .icon {
  width: 52px; height: 52px;
  margin-bottom: 1.1rem;
  color: var(--gold);
}
.keepsake-card h3 { margin-bottom: 0.5rem; }
.keepsake-card p { color: var(--ink-soft); font-size: 0.98rem; }
.keepsake-card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--terracotta);
}
.keepsake-card .card-link:hover { color: var(--terracotta-deep); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step { text-align: center; padding: 0 0.6rem; }
.step .seal {
  width: 74px; height: 74px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--gold);
  background: radial-gradient(circle at 35% 30%, rgba(215,185,133,0.25), transparent 65%);
  position: relative;
}
.step .seal::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed var(--gold-faint);
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Values strip ---------- */
.values-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.value-pill {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  border: 1px solid var(--gold-faint);
  border-radius: 999px;
  padding: 0.45rem 1.4rem;
  background: var(--white);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gold-faint);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold-light);
  position: absolute;
  top: 0.6rem; left: 1.2rem;
}
.testimonial p { color: var(--ink-soft); font-style: italic; margin-top: 1.4rem; }
.testimonial .who {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.testimonial .occasion { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(ellipse 70% 90% at 50% 120%, rgba(215,185,133,0.28), transparent 70%),
    linear-gradient(135deg, #3A2B1C, #2B2117);
  color: var(--ivory);
  text-align: center;
  padding: 5rem 0;
}
.cta-banner h2 { color: var(--ivory); margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(250, 246, 239, 0.75); max-width: 560px; margin: 0 auto 2.2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #241B12;
  color: rgba(250, 246, 239, 0.72);
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 42px; margin-bottom: 1rem; }
.footer-brand p { max-width: 280px; }
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-weight: 600;
}
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a:hover { color: var(--gold-light); }

.newsletter-form { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(215,185,133,0.35);
  background: rgba(250,246,239,0.06);
  color: var(--ivory);
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: rgba(250,246,239,0.45); }
.newsletter-form button {
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: var(--gold);
  color: #241B12;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--gold-light); }
.newsletter-note { font-size: 0.85rem; margin-top: 0.6rem; min-height: 1.2em; }

.footer-bottom {
  border-top: 1px solid rgba(215,185,133,0.18);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
}
.footer-bottom .tagline { font-family: var(--font-display); font-style: italic; color: var(--gold-light); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 70;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- About page ---------- */
.story-block {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.story-block p { margin-bottom: 1.3rem; }
.story-block .accent {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--terracotta);
  text-align: center;
  margin: 2.2rem 0;
}
.meaning-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gold-faint);
  border-radius: var(--radius);
  padding: 2.6rem 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.meaning-card::before {
  content: "";
  position: absolute; inset: 9px;
  border: 1px solid var(--gold-faint);
  border-radius: calc(var(--radius) - 6px);
}
.meaning-card .sanskrit {
  font-size: 2.6rem;
  color: var(--gold);
  font-family: var(--font-display);
  margin-bottom: 0.6rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

/* ---------- Services page ---------- */
.service-section { padding: 4rem 0; }
.service-section:nth-child(even) { background: var(--parchment); }
.service-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.service-split.flip { grid-template-columns: 1.2fr 1fr; }
.service-split.flip .service-visual { order: 2; }
.service-visual {
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius);
  border: 1px solid var(--gold-faint);
  background: linear-gradient(150deg, var(--white), var(--parchment));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.service-visual::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid var(--gold-faint);
  border-radius: calc(var(--radius) - 6px);
}
.service-visual svg { width: 34%; height: auto; color: var(--gold); opacity: 0.85; }
.service-list {
  columns: 2;
  gap: 2rem;
  margin-top: 1.2rem;
}
.service-list li {
  break-inside: avoid;
  padding: 0.34rem 0 0.34rem 1.5rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.99rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 9px; height: 9px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}

/* ---------- Gallery ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 2.6rem;
}
.filter-btn {
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--gold-faint);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--ivory);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-faint);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), opacity 0.3s;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.gallery-item.hidden { display: none; }
.gallery-ph {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: linear-gradient(160deg, var(--white), var(--parchment));
  position: relative;
}
.gallery-ph::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid var(--gold-faint);
  border-radius: 8px;
}
.gallery-ph svg { width: 56px; height: 56px; color: var(--gold); }
.gallery-ph span {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.gallery-item figcaption {
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--gold-faint);
}
.gallery-item figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--gold-faint);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--gold-faint);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 79, 0.15);
}
.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.form-status.ok { color: #2E7D32; }
.form-status.err { color: #B3261E; }

.contact-aside .keepsake-card { margin-bottom: 1.4rem; }
.contact-aside .keepsake-card p { margin-bottom: 0.3rem; }
.contact-aside a { color: var(--terracotta); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--gold-faint);
  border-radius: 12px;
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq summary {
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }

/* ---------- Coming soon ---------- */
.soon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}
.soon-pill {
  border: 1px dashed var(--gold);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 1.3rem;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.5);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner > * { animation: none; opacity: 1; transform: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-split, .service-split.flip { grid-template-columns: 1fr; }
  .service-split.flip .service-visual { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--gold-faint);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav-links.open { max-height: 420px; box-shadow: var(--shadow-soft); }
  .nav-links a { padding: 0.9rem 0; width: 100%; text-align: center; }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 0.8rem 0 1.2rem; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .section { padding: 3.4rem 0; }
  .hero { padding: 4.5rem 0 4rem; }
  .service-list { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 15.5px; }
}
