/* ==========================================================================
   Shatee Sikder LLC — site foundation
   Palette sampled directly from the master logo artwork:
     gold #FFE170 · lotus #FF66B2 · leaf #228B22 · script black
   All text pairings below are verified at WCAG AA or better.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand — straight from the logo */
  --gold:        #FFE170;  /* tiger fill; use on dark grounds only  14.3:1 */
  --gold-mid:    #C9A24A;  /* decorative rules and hairlines — not text     */
  --gold-deep:   #8A6220;  /* text-safe gold on paper                5.1:1 */
  --lotus:       #FF66B2;  /* lotus bloom; decorative                       */
  --lotus-deep:  #C2185B;  /* text-safe lotus                        5.5:1 */
  --leaf:        #228B22;

  /* Neutrals */
  --ink:         #14110E;  /* headings, body                        17.6:1 */
  --ink-soft:    #4A423A;  /* secondary copy                         9.2:1 */
  --ink-faint:   #8C8375;  /* meta, captions — large or bold only           */
  --paper:       #FAF7F1;  /* page ground                                   */
  --paper-2:     #F2ECE1;  /* alternating band, card fill                   */
  --paper-3:     #E7DFD1;  /* borders, image-slot ground                    */
  --dark:        #171310;  /* footer, inverted sections                     */
  --dark-muted:  #B8AFA3;  /* copy on dark                           8.5:1 */

  --rule: 1px solid var(--paper-3);

  /* Type — swap these two lines to adopt the brand's licensed faces.
     System stacks keep the site dependency-free and free of layout shift. */
  --font-display: "Hoefler Text", "Iowan Old Style", "Palatino Linotype",
                  Palatino, Georgia, "Times New Roman", serif;
  --font-sans: ui-sans-serif, -apple-system, "Segoe UI", Inter, Roboto,
               "Helvetica Neue", Arial, sans-serif;

  /* Fluid scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0:  clamp(1rem, 0.96rem + 0.19vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.38vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.29rem + 0.75vw, 1.9rem);
  --step-3:  clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem);
  --step-4:  clamp(2.2rem, 1.6rem + 2.9vw, 3.9rem);
  --step-5:  clamp(2.6rem, 1.6rem + 4.6vw, 5.2rem);

  /* Rhythm */
  --gutter: clamp(1.25rem, 0.9rem + 1.8vw, 2.5rem);
  --section-y: clamp(4rem, 2.6rem + 6vw, 8.5rem);
  --measure: 62ch;
  --shell: 1240px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;  /* keep #anchors clear of the sticky header */
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Layout primitives -------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.62); }
.section--paper-2 { background: var(--paper-2); }
.section--dark { background: var(--dark); color: var(--paper); }
.section--dark .lead, .section--dark p { color: var(--dark-muted); }

.stack > * + * { margin-top: var(--stack-gap, 1rem); }
.measure { max-width: var(--measure); }
.center { margin-inline: auto; text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* Hidden until focused, then pinned over the header. */
.skip-link {
  position: fixed;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 100;
  padding: 0.7em 1.2em;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* --- Type --------------------------------------------------------------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h-hero { font-size: var(--step-5); }
.h-1    { font-size: var(--step-4); }
.h-2    { font-size: var(--step-3); }
.h-3    { font-size: var(--step-2); }
.h-4    { font-size: var(--step-1); line-height: 1.22; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.section--dark .eyebrow { color: var(--gold); }

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
p { text-wrap: pretty; }
.muted { color: var(--ink-soft); }

/* Short declarative lines — "Concept. Create. Produce. Deliver." */
.cadence {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15em 0.45em;
  align-items: baseline;
}
/* The separator belongs to the item BEFORE it, so a wrapped line can never
   start with a dangling dot. vertical-align lifts it off the baseline onto
   the text's optical midline. */
.cadence li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 0.14em; height: 0.14em;
  min-width: 3px; min-height: 3px;
  border-radius: 50%;
  background: var(--gold-mid);
  vertical-align: 0.26em;
  margin-inline-start: 0.45em;
}
.section--dark .cadence li:not(:last-child)::after { background: var(--gold); }

/* Narrow enough that every item takes its own line — separators would just be
   stray marks at the end of each row, so stack it as a list instead. */
@media (max-width: 40rem) {
  .cadence { display: grid; gap: 0.15em; }
  .cadence li:not(:last-child)::after { content: none; }
  .page-hero--centred .cadence,
  .section-head--centred .cadence { justify-items: center; }
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--gold-deep); }
.btn--ghost { border-color: var(--paper-3); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.section--dark .btn--primary { background: var(--gold); color: var(--dark); }
.section--dark .btn--primary:hover { background: var(--paper); }
.section--dark .btn--ghost { border-color: #40382F; color: var(--paper); }
.section--dark .btn--ghost:hover { border-color: var(--gold); background: transparent; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Text link with a gold underline that grows on hover */
.link {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-deep);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--gold-mid), var(--gold-mid));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size 0.3s var(--ease), color 0.25s var(--ease);
}
.link:hover { color: var(--ink); background-size: 100% 2px; }

/* --- Image slot --------------------------------------------------------
   Stand-in for real photography. Drop an <img> inside and the placeholder
   furniture hides itself. Set the aspect with data-ratio.
   ---------------------------------------------------------------------- */
.image-slot {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  border-radius: 2px;
  aspect-ratio: var(--ratio, 4 / 3);
  isolation: isolate;
}
.image-slot > img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.image-slot[data-ratio="16/9"] { --ratio: 16 / 9; }
.image-slot[data-ratio="3/2"]  { --ratio: 3 / 2; }
.image-slot[data-ratio="4/5"]  { --ratio: 4 / 5; }
.image-slot[data-ratio="1/1"]  { --ratio: 1 / 1; }

.image-slot__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg,
      transparent 0 11px, rgba(20, 17, 14, 0.035) 11px 22px),
    var(--paper-3);
  border: 1px solid rgba(20, 17, 14, 0.09);
  color: var(--ink-faint);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.image-slot > img ~ .image-slot__placeholder,
.image-slot:has(> img) .image-slot__placeholder { display: none; }

.image-slot__placeholder svg { margin-inline: auto; opacity: 0.5; }
.image-slot__hint {
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
  max-width: 22ch;
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.85); /* fallback for no color-mix */
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
/* Toggled by site.js once the page is scrolled past the top, so the bar
   reads as a deliberate sticky element rather than blending into content. */
.site-header.is-stuck {
  background: rgba(250, 247, 241, 0.94);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom-color: var(--paper-3);
  box-shadow: 0 10px 30px -22px rgba(20, 17, 14, 0.5);
}
/* Without JS, fall back to a permanent hairline so it's never borderless. */
.no-js .site-header, html:not(.js) .site-header { border-bottom-color: var(--paper-3); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 92px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: clamp(186px, 20vw, 258px); }

.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.site-nav a {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.35em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); border-color: var(--gold-mid); }
.site-nav a[aria-current="page"] { color: var(--ink); border-color: var(--gold-deep); }

.nav-toggle { display: none; }


@media (max-width: 62rem) {
  .site-header__inner { min-height: 76px; flex-wrap: wrap; }

  /* The collapsed panel exists only when JS is available; without it the
     nav stays in the header flow and simply wraps, so it never disappears. */
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-inline-start: auto;
    padding: 0.6em 1.1em;
    background: none;
    border: 1px solid var(--paper-3);
    border-radius: 999px;
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
  }
  .js .nav-toggle:hover { border-color: var(--ink); background: var(--paper-2); }
  .js .nav-toggle[aria-expanded="true"] { border-color: var(--ink); background: var(--paper-2); }
  .js .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    margin: 0;
    background: var(--paper);
    border-bottom: var(--rule);
    box-shadow: 0 18px 40px -28px rgba(20, 17, 14, 0.45);
  }
  .js .nav-toggle[aria-expanded="true"] + .site-nav { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
  }
  .js .site-nav ul { padding: 0.5rem var(--gutter) 1.25rem; }
  .site-nav a {
    display: block;
    padding: 0.9em 0;
    font-size: var(--step-0);
    border-bottom: var(--rule);
  }
  .site-nav a[aria-current="page"] { border-color: var(--gold-deep); }
  .header-cta { display: none; }
}

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: var(--dark-muted);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.site-footer__brand img { width: clamp(210px, 24vw, 290px); }
.site-footer__tagline { margin-top: 1.25rem; max-width: 26ch; }
.footer-heading {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1rem;
}
.footer-list { display: grid; gap: 0.6rem; font-size: var(--step--1); }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: baseline;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid #2C2621;
  font-size: var(--step--1);
}
.site-footer__base p { color: var(--ink-faint); }
.site-footer__base .spacer { margin-inline-start: auto; }
.site-footer__base .credit { color: var(--paper); font-weight: 600; letter-spacing: 0.02em; }

/* A placeholder awaiting real business details. */
.tbd {
  font-family: var(--font-sans);
  font-style: normal;
  color: var(--gold-deep);
  border-bottom: 1px dashed currentColor;
}
.section--dark .tbd, .site-footer .tbd { color: var(--gold); }
