/* ===================================================================
   THE AADYA TABLE — digital contact / QR landing page
   Design tokens
=================================================================== */
:root{
  --bg:            #0a0a09;
  --bg-alt:        #121110;
  --bg-card:       #17150f;
  --gold:          #c9a253;
  --gold-bright:   #e6c877;
  --gold-dim:      rgba(201,162,83,0.28);
  --cream:         #f4ecda;
  --muted:         #a89f8c;

  --font-display:  Georgia, 'Times New Roman', 'Palatino Linotype', serif;
  --font-body:     -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --container-w:   1080px;
  --space-sm:      1rem;
  --space-md:      2rem;
  --space-lg:      4rem;
  --space-xl:      6.5rem;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 640px){
  .container{ padding: 0 1.25rem; }
}

a:focus-visible, button:focus-visible{
  outline: 1.5px solid var(--gold-bright);
  outline-offset: 3px;
}

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* Ambient ember canvas — fixed above everything, never intercepts clicks */
#ember-canvas{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* ===================================================================
   HERO — background artwork
=================================================================== */
.hero{
  position: relative;
  width: 100%;
  background: #000;
}

.hero__frame{
  width: 100%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.hero__image{
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}

/* Slow cinematic drift — the same subtle zoom/pan used in documentary
   title cards, applied to the still hero image. */
@keyframes heroKenBurns{
  from{ transform: scale(1) translate(0, 0); }
  to{   transform: scale(1.06) translate(-0.5%, -0.5%); }
}

@media (max-width: 640px){
  .hero__frame{ max-height: 62vh; }
  .hero__image{ max-height: 62vh; }
}

/* ===================================================================
   Shared type utilities
=================================================================== */
.eyebrow{
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9rem;
}
.eyebrow--center{ text-align: center; }

.section-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--cream);
  text-align: center;
  margin: 0 0 var(--space-lg);
  letter-spacing: .01em;
}

.pinch-divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: var(--space-md) 0;
}
.pinch-divider::before,
.pinch-divider::after{
  content: '';
  height: 1px;
  width: clamp(28px, 8vw, 72px);
  background: var(--gold-dim);
}
.pinch-divider span{
  display: inline-block;
  border-radius: 50%;
  background: var(--gold);
}
.pinch-divider span:nth-child(1){ width: 4px; height: 4px; opacity: .55; }
.pinch-divider span:nth-child(2){ width: 6px; height: 6px; }
.pinch-divider span:nth-child(3){ width: 4px; height: 4px; opacity: .55; }

/* ===================================================================
   CONNECT WITH AADYA — 8 cards, brand-accurate icon badges
=================================================================== */
.connect{
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%23c9a253' stroke-width='1'><circle cx='100' cy='100' r='92' stroke-opacity='0.55'/><circle cx='100' cy='100' r='70' stroke-opacity='0.45'/><circle cx='100' cy='100' r='48' stroke-opacity='0.35'/><circle cx='100' cy='100' r='4' stroke-opacity='0.6'/><path d='M100 8 C126 54,126 146,100 192' stroke-opacity='0.4'/><path d='M100 8 C74 54,74 146,100 192' stroke-opacity='0.4'/><path d='M8 100 C54 74,146 74,192 100' stroke-opacity='0.4'/><path d='M8 100 C54 126,146 126,192 100' stroke-opacity='0.4'/><path d='M27 27 C64 64,136 136,173 173' stroke-opacity='0.3'/><path d='M173 27 C136 64,64 136,27 173' stroke-opacity='0.3'/></g></svg>") -180px -180px / 560px 560px no-repeat,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%23c9a253' stroke-width='1'><circle cx='100' cy='100' r='92' stroke-opacity='0.5'/><circle cx='100' cy='100' r='70' stroke-opacity='0.4'/><circle cx='100' cy='100' r='48' stroke-opacity='0.3'/><circle cx='100' cy='100' r='4' stroke-opacity='0.55'/><path d='M100 8 C126 54,126 146,100 192' stroke-opacity='0.35'/><path d='M100 8 C74 54,74 146,100 192' stroke-opacity='0.35'/><path d='M8 100 C54 74,146 74,192 100' stroke-opacity='0.35'/><path d='M8 100 C54 126,146 126,192 100' stroke-opacity='0.35'/><path d='M27 27 C64 64,136 136,173 173' stroke-opacity='0.25'/><path d='M173 27 C136 64,64 136,27 173' stroke-opacity='0.25'/></g></svg>") calc(100% + 160px) calc(100% + 160px) / 460px 460px no-repeat,
    radial-gradient(ellipse 120% 70% at 50% -10%, rgba(201,162,83,0.10), transparent 60%) no-repeat,
    radial-gradient(circle at 10% 90%, rgba(201,162,83,0.05), transparent 45%) no-repeat,
    radial-gradient(circle at 92% 15%, rgba(201,162,83,0.045), transparent 45%) no-repeat,
    var(--bg);
}

.connect::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Chef mascot — greets visitors beside the section title */
.connect__head{ position: relative; }

.connect__chef{
  position: absolute;
  right: 0;
  top: -46px;
  height: 205px;
  width: auto;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.55));
  animation: chefBob 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes chefBob{
  0%, 100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-8px) rotate(-1.2deg); }
}

@media (max-width: 1000px){
  .connect__chef{
    position: static;
    display: block;
    margin: 0 auto 1.2rem;
    height: 170px;
  }
}

.connect__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.connect__card{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .65rem;
  padding: 2.1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

/* subtle diagonal shine sweep on hover */
.connect__card::before{
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(230,200,119,0.10), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
  pointer-events: none;
}

.connect__card:hover,
.connect__card:focus-visible{
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.45), 0 0 0 1px var(--gold-dim);
}
.connect__card:hover::before{ left: 130%; }

/* Icon badge — colored per platform, sized consistently */
.connect__badge{
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.connect__badge svg{ width: 26px; height: 26px; }
.connect__card:hover .connect__badge{
  transform: scale(1.08);
}

/* Authentic platform colors */
.badge--instagram{
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.badge--youtube{ background: #FF0000; }
.badge--facebook{ background: #1877F2; }
.badge--linkedin{ background: #0A66C2; }
.badge--whatsapp{ background: #25D366; }

/* Aadya's own channels — filled, modern badges in brand-derived tones
   (gold/bronze, warm amber, and the deep maroon from the Aadya wordmark)
   so they feel as bold and recognizable as the platform icons above. */
.badge--website{
  background: linear-gradient(145deg, #e6c877 0%, #c9a253 45%, #8a6423 100%);
}
.badge--phone{
  background: linear-gradient(145deg, #f0a94e 0%, #d97f2b 50%, #a85a18 100%);
}
.badge--email{
  background: linear-gradient(145deg, #a53a4f 0%, #7a1f34 55%, #4d1220 100%);
}

.connect__label{
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: .01em;
}

@media (max-width: 860px){
  .connect__grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px){
  .connect__card{ padding: 1.8rem .9rem; }
}

/* ===================================================================
   FOOTER
=================================================================== */
.footer{
  position: relative;
  padding: var(--space-lg) 0 var(--space-md);
  overflow: hidden;
  text-align: center;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%23c9a253' stroke-width='1'><circle cx='100' cy='100' r='92' stroke-opacity='0.4'/><circle cx='100' cy='100' r='70' stroke-opacity='0.32'/><circle cx='100' cy='100' r='48' stroke-opacity='0.25'/><circle cx='100' cy='100' r='4' stroke-opacity='0.45'/><path d='M100 8 C126 54,126 146,100 192' stroke-opacity='0.28'/><path d='M100 8 C74 54,74 146,100 192' stroke-opacity='0.28'/><path d='M8 100 C54 74,146 74,192 100' stroke-opacity='0.28'/><path d='M8 100 C54 126,146 126,192 100' stroke-opacity='0.28'/><path d='M27 27 C64 64,136 136,173 173' stroke-opacity='0.2'/><path d='M173 27 C136 64,64 136,27 173' stroke-opacity='0.2'/></g></svg>") 50% -40px / 420px 420px no-repeat,
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(201,162,83,0.08), transparent 60%) no-repeat,
    var(--bg);
}

.footer::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.footer__thanks{
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}

.footer__brand{
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 .2rem;
  letter-spacing: .03em;
}

.footer__tagline{
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  margin: 0 0 1.2rem;
  font-size: .95rem;
}

.footer__copy{
  font-size: .75rem;
  color: var(--muted);
  margin: 0;
  letter-spacing: .02em;
}
