/* Shrestha Creations — Quiet Atelier */

:root {
  --ink: #12151a;
  --ink-soft: #3a4048;
  --stone: #e8e7e3;
  --stone-deep: #dcdbd6;
  --mist: #f2f1ee;
  --brass: #8f7a55;
  --brass-soft: #b09a6e;
  --veil: rgba(12, 14, 18, 0.52);
  --line: rgba(18, 21, 26, 0.12);
  --line-light: rgba(242, 241, 238, 0.18);
  --font-display: "Cormorant", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ——— Header ——— */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 3.5rem);
  color: var(--mist);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.9);
  color: var(--ink);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}

.brand-mark {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brass-soft);
  box-shadow: 0 0 0 3px rgba(166, 137, 91, 0.25);
  transition: background 0.4s var(--ease);
}

.site-header.is-scrolled .brand-mark {
  background: var(--brass);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav {
  display: none;
  margin-left: auto;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
  transition: opacity 0.3s var(--ease);
}

.nav a:hover {
  opacity: 1;
}

.header-cta {
  display: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.9;
  transition: opacity 0.3s var(--ease);
}

.header-cta:hover {
  opacity: 1;
}

.menu-toggle {
  margin-left: auto;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.22rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.22rem) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  background: var(--ink);
  color: var(--mist);
  padding: 2rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.mobile-nav-cta {
  margin-top: 1rem;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-soft) !important;
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: block;
    margin-left: 1.5rem;
  }

  .menu-toggle {
    display: none;
  }
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--brass);
  color: var(--mist);
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover {
  background: var(--brass-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: 0.85;
}

.btn-ghost:hover {
  background: transparent;
  opacity: 1;
  transform: translateY(-1px);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--mist);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  transform: scale(1.06);
  transition: transform 8s var(--ease);
  will-change: transform;
}

.hero.is-ready .hero-media img {
  transform: scale(1);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 16, 0.35) 0%, rgba(10, 12, 16, 0.15) 35%, rgba(10, 12, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 12, 16, 0.45) 0%, transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(48rem, 92vw);
  padding: 0 clamp(1.25rem, 4vw, 3.5rem) clamp(6.5rem, 11vh, 7.5rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5.25rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: rgba(247, 244, 239, 0.92);
  margin-bottom: 1rem;
}

.hero-lede {
  max-width: 28rem;
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.78;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions .btn-ghost {
  border-color: rgba(247, 244, 239, 0.45);
  color: var(--mist);
}

.hero-meta {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3.5rem);
  bottom: clamp(5.5rem, 12vh, 8rem);
  z-index: 1;
  display: none;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
}

.hero-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 1;
  transform: translateX(-50%);
  width: 1.4rem;
  height: 2.2rem;
  border: 1px solid rgba(247, 244, 239, 0.35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 0.45rem;
}

.hero-scroll span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brass-soft);
  animation: scroll-dot 1.8s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (min-width: 880px) {
  .hero-meta {
    display: flex;
  }
}

/* ——— Shared type ——— */

.eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

.lede {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}

/* ——— Atelier ——— */

.atelier {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(4.5rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--mist);
}

.atelier-copy h2 {
  max-width: 18ch;
}

.hindi {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.atelier-figure {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.atelier-figure img {
  transition: transform 1.2s var(--ease);
}

.atelier-figure:hover img {
  transform: scale(1.03);
}

@media (min-width: 900px) {
  .atelier {
    grid-template-columns: 1fr 1.15fr;
  }
}

/* ——— Collection ——— */

.collection {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3.5rem);
  background: var(--stone);
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.collection-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.collection-item {
  display: block;
  color: inherit;
}

.collection-item figure {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--stone-deep);
}

.collection-item img {
  transition: transform 1.1s var(--ease);
}

.collection-item:hover img {
  transform: scale(1.04);
}

.collection-caption {
  padding-top: 1.15rem;
}

.collection-caption h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.collection-caption p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (min-width: 760px) {
  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }

  .collection-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .collection-item:nth-child(3) figure {
    aspect-ratio: 21 / 9;
  }
}

@media (min-width: 1100px) {
  .collection-grid {
    grid-template-columns: 1fr 1fr 1.35fr;
    align-items: end;
  }

  .collection-item:nth-child(1) {
    margin-top: 3.5rem;
  }

  .collection-item:nth-child(2) {
    margin-top: 0;
  }

  .collection-item:nth-child(3) {
    grid-column: auto;
    margin-top: 5rem;
  }

  .collection-item:nth-child(3) figure {
    aspect-ratio: 4 / 5;
  }
}

/* ——— Craft ——— */

.craft {
  display: grid;
  background: var(--ink);
  color: var(--mist);
}

.craft-media {
  min-height: 50vh;
  overflow: hidden;
}

.craft-media img {
  transition: transform 1.4s var(--ease);
}

.craft-media:hover img {
  transform: scale(1.03);
}

.craft-copy {
  padding: clamp(3.5rem, 9vh, 6.5rem) clamp(1.25rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.craft .eyebrow {
  color: var(--brass-soft);
}

.craft .lede {
  color: rgba(247, 244, 239, 0.72);
}

.craft-points {
  list-style: none;
  margin-top: 2.5rem;
  display: grid;
  gap: 1.35rem;
  max-width: 28rem;
}

.craft-points li {
  display: grid;
  gap: 0.2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.98rem;
  color: rgba(247, 244, 239, 0.7);
}

.craft-points span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 0.15rem;
}

@media (min-width: 900px) {
  .craft {
    grid-template-columns: 1.1fr 1fr;
  }

  .craft-media {
    min-height: 100%;
  }
}

/* ——— Promise ——— */

.promise {
  padding: clamp(5rem, 14vh, 9rem) clamp(1.25rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(166, 137, 91, 0.12), transparent 60%),
    var(--mist);
  text-align: center;
}

.promise-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.promise blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
}

.promise-attr {
  margin-top: 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ——— Visit ——— */

.visit {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(4.5rem, 11vh, 7.5rem) clamp(1.25rem, 4vw, 3.5rem);
  background: var(--stone);
}

.visit-details {
  margin: 2.25rem 0;
  display: grid;
  gap: 1.5rem;
}

.visit-details div {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.visit-details dt {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.visit-details dd {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.visit-details a {
  transition: color 0.3s var(--ease);
}

.visit-details a:hover {
  color: var(--brass);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.visit-actions .btn-ghost {
  color: var(--ink);
  border-color: rgba(20, 24, 30, 0.28);
}

.visit-map {
  min-height: 22rem;
  overflow: hidden;
  background: var(--stone-deep);
  filter: grayscale(0.35) contrast(1.05);
  transition: filter 0.5s var(--ease);
}

.visit-map:hover {
  filter: grayscale(0) contrast(1);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
}

@media (min-width: 900px) {
  .visit {
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
  }

  .visit-map,
  .visit-map iframe {
    min-height: 100%;
    height: 100%;
  }
}

/* ——— Enquire ——— */

.enquire {
  padding: clamp(4.5rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3.5rem);
  background: var(--ink);
  color: var(--mist);
  text-align: center;
}

.enquire-inner {
  max-width: 34rem;
  margin: 0 auto;
}

.enquire .eyebrow {
  color: var(--brass-soft);
}

.enquire .lede {
  color: rgba(247, 244, 239, 0.68);
  margin: 0 auto 2rem;
}

.enquire .btn {
  margin-top: 0.25rem;
}

/* ——— Footer ——— */

.site-footer {
  display: grid;
  gap: 1.25rem;
  padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem) 2.75rem;
  background: #0e1116;
  color: rgba(247, 244, 239, 0.55);
  font-size: 0.88rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--mist);
}

.footer-tag {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

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

.footer-links a {
  transition: color 0.3s var(--ease);
}

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

.footer-copy {
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (min-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

/* ——— Reveal motions ——— */

.reveal-hero,
.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal-hero.is-in,
.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-hero:nth-child(1) { transition-delay: 0.15s; }
.reveal-hero:nth-child(2) { transition-delay: 0.32s; }
.reveal-hero:nth-child(3) { transition-delay: 0.48s; }
.reveal-hero:nth-child(4) { transition-delay: 0.62s; }

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

  .reveal-hero,
  .reveal,
  .hero-media img,
  .hero-scroll span {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
