/* ============================================================
   S LADHANI INC — print workshop design system
   cream / burgundy / muted red / charcoal / white
   ============================================================ */

:root {
  --cream: #f4ede0;
  --cream-soft: #efe6d5;
  --burgundy: #5b1f2b;
  --burgundy-deep: #451523;
  --red-muted: #a83a35;
  --charcoal: #262421;
  --ink-soft: #4c4742;
  --white: #ffffff;
  --line: rgba(38, 36, 33, 0.18);
  --line-dark: rgba(244, 237, 224, 0.22);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --pad-x: clamp(1.25rem, 5vw, 5.5rem);
  --section-pad: clamp(4.5rem, 10vw, 9rem);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--burgundy); color: var(--cream); }

img { display: block; max-width: 100%; }

a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--burgundy); color: var(--cream);
  padding: 0.6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

.section { position: relative; padding: var(--section-pad) var(--pad-x); }
.section.dark { background: var(--burgundy); color: var(--cream); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(244, 237, 224, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s ease;
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--burgundy); color: var(--cream);
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  border-radius: 2px;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name strong { font-size: 0.95rem; letter-spacing: 0.14em; }
.brand-name em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--red-muted);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.site-nav .nav-cta {
  color: var(--cream); background: var(--burgundy);
  padding: 0.55rem 1.15rem; border-radius: 2px;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--red-muted); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: 0.3s; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) var(--pad-x) clamp(4rem, 9vh, 7rem);
  color: var(--cream);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.1) translateX(-1.5%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(12deg, rgba(38, 36, 33, 0.88) 0%, rgba(69, 21, 35, 0.62) 42%, rgba(69, 21, 35, 0.18) 78%),
    linear-gradient(0deg, rgba(38, 36, 33, 0.55), transparent 40%);
}
.hero-content { position: relative; max-width: 900px; }
.hero-kicker {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--line-dark);
  padding: 0.5rem 1rem;
  background: rgba(69, 21, 35, 0.35);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 8.2vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 1.4rem 0 1.6rem;
}
.hero h1 .line { display: block; }
.hero h1 .accent { color: #f2c9b8; }
.hero h1 .dot { color: var(--red-muted); }
.hero h1 .ghost {
  -webkit-text-stroke: 1.5px rgba(244, 237, 224, 0.55);
  color: transparent;
  font-size: 0.62em;
  letter-spacing: 0.04em;
}
.hero-lede { max-width: 54ch; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(244, 237, 224, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--red-muted); color: var(--cream); }
.btn-solid:hover { background: var(--cream); color: var(--burgundy); }
.btn-ghost { border-color: var(--line-dark); color: var(--cream); background: transparent; }
.btn-ghost:hover { background: var(--cream); color: var(--burgundy); border-color: var(--cream); }
.btn-big { font-size: 0.85rem; padding: 1.1rem 2.4rem; }

.hero-plate {
  position: absolute; right: var(--pad-x); bottom: clamp(4rem, 9vh, 7rem);
  display: none; flex-direction: column; gap: 0.4rem;
  text-align: right;
  border-right: 3px solid var(--red-muted);
  padding-right: 1.1rem;
}
.hero-plate .plate-line { font-size: 0.65rem; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.75; }
.hero-plate .plate-big { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
@media (min-width: 1000px) { .hero-plate { display: flex; } }

/* ---------------- Ticker ---------------- */
.ticker {
  background: var(--charcoal); color: var(--cream);
  overflow: hidden;
  border-block: 1px solid var(--charcoal);
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  padding: 0.7rem 0;
  animation: ticker-move 28s linear infinite;
}
.ticker-track span {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  white-space: nowrap; padding-right: 2.2rem;
}
@keyframes ticker-move { to { transform: translateX(-50%); } }

/* ---------------- Section index ---------------- */
.section-index {
  position: absolute; top: clamp(2rem, 6vw, 4.5rem);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(38, 36, 33, 0.28);
  display: flex; align-items: center; gap: 1.2rem;
}
.section-index.on-dark { -webkit-text-stroke-color: rgba(244, 237, 224, 0.3); }
.index-rule { width: clamp(3rem, 8vw, 7rem); height: 1.5px; background: var(--red-muted); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--red-muted); }
.section.dark .section-title em { color: #e8b7a4; }
.section-lede { max-width: 52ch; margin-top: 1.1rem; color: var(--ink-soft); }
.section.dark .section-lede { color: rgba(244, 237, 224, 0.8); }

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  padding-top: clamp(4rem, 9vw, 7rem);
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .about-copy { margin-top: 3rem; }
}
.about-photo { position: relative; }
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 14px 14px 0 var(--cream-soft), 14px 14px 0 1px var(--line);
}
.about-photo figcaption {
  margin-top: 0.9rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.about-copy p { margin-top: 1.2rem; max-width: 56ch; }
.about-copy p:first-of-type { margin-top: 1.6rem; font-size: 1.08rem; }
.about-facts {
  display: flex; flex-wrap: wrap; gap: 2.2rem;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.about-facts dt { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-muted); font-weight: 700; }
.about-facts dd { font-weight: 600; margin-top: 0.25rem; }

.about-strip {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 820px) {
  .about-strip { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}
.about-strip img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.92);
}
.about-quote {
  background: var(--cream-soft);
  border-left: 4px solid var(--red-muted);
  padding: 1.8rem 2rem;
  border-radius: 2px;
}
.about-quote p { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-style: italic; line-height: 1.35; }
.about-quote span { display: block; margin-top: 0.8rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------------- Services ---------------- */
.services-head { max-width: 760px; margin-bottom: clamp(3rem, 7vw, 6rem); padding-top: clamp(3rem, 7vw, 5rem); }
.services-list { display: grid; gap: clamp(3rem, 7vw, 6rem); }

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .service-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .service-row.flip .service-media { order: 2; }
  .service-row.flip .service-info { order: 1; }
  .service-row:not(.flip) .service-info { padding-left: 1rem; }
}
.service-media { position: relative; }
.service-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.5s ease;
}
.service-row:hover .service-media img { transform: scale(1.015); }
.service-media::after {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid rgba(244, 237, 224, 0.5);
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-row:hover .service-media::after { opacity: 1; }

.service-info .service-num {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: #e8b7a4;
  letter-spacing: 0.1em;
}
.service-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 600;
  margin: 0.5rem 0 0.9rem;
}
.service-info p { color: rgba(244, 237, 224, 0.82); max-width: 46ch; }
.service-info ul {
  list-style: none;
  margin-top: 1.3rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.service-info li {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line-dark);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: rgba(244, 237, 224, 0.85);
}

/* ---------------- Process ---------------- */
.process-head { max-width: 760px; margin-bottom: clamp(3rem, 7vw, 5.5rem); padding-top: clamp(3rem, 7vw, 5rem); }
.process-track {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
}
@media (min-width: 720px) {
  .process-track {
    grid-template-columns: repeat(5, 1fr);
    border-top: 1.5px solid var(--line);
  }
  .process-step {
    padding: 2.2rem 1.6rem 0 0;
    border-top: 4px solid transparent;
    transform: translateY(-2px);
    position: relative;
  }
  .process-step:hover { border-top-color: var(--red-muted); }
  .process-step::before {
    content: "";
    position: absolute; top: -8px; left: 0;
    width: 14px; height: 14px;
    background: var(--cream);
    border: 2px solid var(--burgundy);
    border-radius: 50%;
    transform: translateY(-6px);
  }
}
.process-step { padding-bottom: 2.2rem; position: relative; }
.step-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red-muted);
  line-height: 1;
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin: 0.9rem 0 0.5rem; }
.process-step p { font-size: 0.92rem; color: var(--ink-soft); max-width: 30ch; }

/* ---------------- Portfolio ---------------- */
.portfolio-head { max-width: 820px; margin-bottom: clamp(3rem, 7vw, 5.5rem); padding-top: clamp(3rem, 7vw, 5rem); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  gap: clamp(0.8rem, 1.8vw, 1.4rem);
}
@media (min-width: 860px) {
  .portfolio-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
  }
  .pf-a { grid-column: 1 / 4; grid-row: span 2; }
  .pf-b { grid-column: 4 / 7; grid-row: span 3; }
  .pf-c { grid-column: 1 / 3; grid-row: span 2; }
  .pf-d { grid-column: 3 / 5; grid-row: span 1; }
  .pf-e { grid-column: 3 / 7; grid-row: span 1; }
}
.pf-item { position: relative; overflow: hidden; border-radius: 2px; }
.pf-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.pf-item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.pf-item figcaption {
  position: absolute; inset: auto 0 0 0;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 2.2rem 1.1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(38, 36, 33, 0.78));
  color: var(--cream);
}
.pf-item figcaption strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; }
.pf-item figcaption span { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; text-align: right; }

/* ---------------- Contact ---------------- */
.contact-inner { padding-top: clamp(2rem, 6vw, 4rem); }
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.contact-title em { font-style: italic; color: #e8b7a4; }
.contact-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 760px) { .contact-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-cols { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  padding: 1.5rem 1.4rem;
  background: rgba(244, 237, 224, 0.04);
  transition: background 0.3s ease, transform 0.3s ease;
}
.contact-card:hover { background: rgba(244, 237, 224, 0.09); transform: translateY(-3px); }
.contact-label {
  display: block;
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: #e8b7a4;
  margin-bottom: 0.6rem;
}
.contact-value {
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--cream);
  text-decoration: none;
  word-break: break-word;
}
a.contact-value:hover { text-decoration: underline; text-decoration-color: var(--red-muted); text-underline-offset: 4px; }

.contact-cta { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.contact-note { font-size: 0.9rem; color: rgba(244, 237, 224, 0.75); max-width: 40ch; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--charcoal); color: rgba(244, 237, 224, 0.85); }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) 2.5rem;
}
@media (min-width: 900px) { .footer-top { grid-template-columns: 2.2fr 1fr 1fr 1.4fr; } }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--cream); letter-spacing: 0.06em; }
.footer-brand p { margin-top: 0.8rem; max-width: 30ch; font-size: 0.92rem; color: rgba(244, 237, 224, 0.65); }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.9rem; }
.footer-col-title { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: #e8b7a4; margin-bottom: 0.4rem; }
.footer-col a { text-decoration: none; color: rgba(244, 237, 224, 0.85); width: fit-content; }
.footer-col a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem;
  padding: 1.2rem var(--pad-x);
  border-top: 1px solid rgba(244, 237, 224, 0.14);
  font-size: 0.75rem; letter-spacing: 0.08em;
  color: rgba(244, 237, 224, 0.55);
}
.footer-ink { font-family: var(--font-display); font-style: italic; letter-spacing: 0.12em; }

/* ---------------- Privacy dialog ---------------- */
.privacy-dialog {
  border: 0; border-radius: 4px;
  max-width: 560px; width: calc(100% - 2rem);
  padding: 0;
  background: var(--cream); color: var(--charcoal);
  box-shadow: 0 30px 80px rgba(38, 36, 33, 0.4);
}
.privacy-dialog::backdrop { background: rgba(38, 36, 33, 0.6); backdrop-filter: blur(3px); }
.dialog-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem 1.6rem;
  background: var(--burgundy); color: var(--cream);
}
.dialog-head h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.dialog-close {
  background: none; border: 0; color: var(--cream);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  padding: 0.2rem 0.5rem;
}
.dialog-close:hover { color: #e8b7a4; }
.dialog-body { padding: 1.5rem 1.6rem 1.8rem; font-size: 0.92rem; }
.dialog-body p + p { margin-top: 0.9rem; }
.dialog-body strong { color: var(--burgundy); }

/* ---------------- Reveal animations ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

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

/* ---------------- Mobile nav ---------------- */
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-h); right: 0;
    flex-direction: column;
    align-items: flex-start;
    width: min(78vw, 320px);
    background: var(--cream);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.6rem 1.8rem 2rem;
    gap: 1.1rem;
    transform: translateX(110%);
    transition: transform 0.35s ease;
    box-shadow: -12px 12px 40px rgba(38, 36, 33, 0.15);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 0.9rem; }
  body.nav-locked .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-locked .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-locked .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
