/* ==============================================
   SWETHA M | MY SAMOSA STORY
   style.css — COMIC BOOK EDITION
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Neue:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

@font-face {
  font-family: 'CA Smut';
  src: url('./fonts/CASmut-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CA Smut Fill';
  src: url('./fonts/CASmut-Fill.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Brandon Grotesque';
  src: url('./fonts/Brandon_Grotesque.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --ink: #111007;
  --sh-col: rgba(17, 16, 7, 0.5);
  --ink2: #3A2E18;
  --paper: #FFFCF2;
  --c-home: #FFE033;
  --c-sd: #C2E8FF;
  --c-fl: #FFF0A8;
  --c-df: #FFD6C2;
  --c-pl: #D6F5C8;
  --a-sd: #1A7EBF;
  --a-fl: #C86A00;
  --a-df: #CC2200;
  --a-pl: #2A7A30;
  --gold: #D4A017;
  --gold-l: #F2D06B;
  --gold-d: #A37B0B;
  --orange: #E8960C;
  --coral: #E07C5A;
  --peach: #FFDAB3;
  --yellow: #FFD233;
  --cream: #F5E6C8;
  --bg: #0D0B07;
  --bg2: #161109;
  --card: #FFFFFF;
  --brown: #7A5C3A;
  --comic-o: #E8960C;
  --panel-w: clamp(170px, 15vw, 240px);
  --comic-y: #FFE033;
  --fh: 'CA Smut', 'Bangers', cursive;
  --fhf: 'CA Smut Fill', 'CA Smut', cursive;
  --fb: 'Brandon Grotesque', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

html {
  overflow: hidden;
  background: var(--bg);
}

body {
  font-family: var(--fb);
  color: var(--ink);
  overflow: hidden;
  height: 100vh;
}

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

button {
  border: none;
  background: none;
  font-family: inherit;
}

img {
  display: block;
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-thumb {
  background: var(--gold-d);
  border-radius: 2px;
}

/* ── GRAIN ── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .4s steps(8) infinite;
}

@keyframes grain {

  0%,
  100% {
    transform: translate(0, 0)
  }

  20% {
    transform: translate(-4%, -8%)
  }

  40% {
    transform: translate(3%, -13%)
  }

  60% {
    transform: translate(9%, 6%)
  }

  80% {
    transform: translate(-2%, 5%)
  }
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
}

.cd {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: -4px;
  transition: .15s;
}

.cr {
  width: 36px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  top: -18px;
  left: -18px;
  transition: width .3s var(--ease), height .3s var(--ease), top .3s var(--ease), left .3s var(--ease);
}

body:has(a:hover) .cr,
body:has(button:hover) .cr {
  width: 50px;
  height: 50px;
  top: -25px;
  left: -25px;
  background: rgba(255, 255, 255, .06);
}

/* ── MOBILE BAR ── */
.mob-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: .65rem 1.1rem;
  align-items: center;
  justify-content: space-between;
}

.mob-logo {
  font-family: var(--fhf) !important;
  font-size: 1.5rem;
  color: var(--c-home);
  letter-spacing: .1em;
}

.mob-actions {
  display: flex;
  gap: .4rem;
}

.mob-btn {
  background: var(--c-home);
  border: 2.5px solid var(--ink);
  color: var(--ink);
  font-family: var(--fb);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: 3px;
  box-shadow: 2px 2px 0 var(--sh-col, var(--ink));
  transition: .2s;
}

.mob-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--sh-col, var(--ink));
}

/* ── LEFT PANEL ── */
.panel {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--panel-w);
  min-height: 100vh;
  height: 100%;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background-color: #FFF8E7;
  background-image: radial-gradient(circle, rgba(17, 16, 7, .06) 1px, transparent 1px);
  background-size: 9px 9px;
  border-right: 4px solid var(--ink);
}

.panel-top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-bottom: 2px dashed rgba(17, 16, 7, .15);
}

.panel-hero {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.panel-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.panel-id {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .8rem 1rem .7rem;
  text-align: center;
  gap: .3rem;
}

.panel-name {
  font-family: var(--fhf) !important;
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1;
  letter-spacing: .08em;
  transition: .2s;
}

.panel-name:hover {
  color: var(--orange);
}

.panel-sub {
  font-family: var(--fb) !important;
  font-size: .52rem;
  color: rgba(17, 16, 7, .6);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  font-style: italic;
}

/* ── ABOUT ME button ── */
.panel-about-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: .55rem;
  padding: .5rem .8rem;
  background: rgba(17, 16, 7, .05);
  border: 2px solid rgba(17, 16, 7, .2);
  border-radius: 5px;
  color: var(--ink);
  font-family: var(--fhf) !important;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 0 0 0 rgba(17, 16, 7, 0);
}

.panel-about-btn:hover {
  background: var(--comic-y);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--sh-col, var(--ink));
  transform: translate(-1px, -1px);
}

/* ── TRACKER ── */
.tracker {
  flex: 1;
  position: relative;
  padding: .5rem 0;
  overflow: hidden;
}

.tk-line-bg {
  position: absolute;
  left: calc(1rem + 4px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 16, 7, .1) 8%, rgba(17, 16, 7, .1) 92%, transparent 100%);
  border-radius: 2px;
  z-index: 0;
}

.tk-line-prog {
  position: absolute;
  left: calc(1rem + 4px);
  width: 2px;
  top: 0;
  height: 0;
  background: linear-gradient(180deg, var(--comic-y), var(--orange), var(--coral));
  border-radius: 2px;
  z-index: 1;
  transition: height .55s var(--ease), top .55s var(--ease);
  box-shadow: 0 0 8px rgba(255, 224, 51, .5);
}

.tk-samosa {
  position: absolute;
  left: calc(1rem + 4px);
  transform: translateX(-50%) translateY(-50%);
  width: 36px;
  height: 36px;
  z-index: 10;
  transition: top .55s var(--ease);
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(17, 16, 7, .15));
}

.tk-samosa img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  animation: samWiggle 2.5s ease-in-out infinite;
}

@keyframes samWiggle {

  0%,
  100% {
    transform: rotate(-8deg) scale(1)
  }

  50% {
    transform: rotate(8deg) scale(1.09)
  }
}

.tk-nodes {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.tk-node {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .7rem .35rem 2.6rem;
  position: relative;
}

.tk-dot {
  position: absolute;
  left: calc(1rem + 4px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(17, 16, 7, .2);
  background: #FFF8E7;
  z-index: 3;
  transform: translateX(-50%);
  transition: background .3s, border-color .3s;
  flex-shrink: 0;
}

.tk-node.passed .tk-dot {
  background: var(--comic-y);
  border-color: var(--ink);
}

.tk-node.active .tk-dot {
  background: var(--orange);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(232, 150, 12, .2);
}

.tk-info {
  display: flex;
  flex-direction: column;
  gap: .06rem;
}

.tk-title {
  font-family: var(--fhf) !important;
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: rgba(17, 16, 7, .4);
  transition: color .3s;
}

.tk-sub {
  font-family: var(--fb) !important;
  font-size: .9rem;
  font-style: italic;
  color: rgba(17, 16, 7, .3);
  transition: color .3s;
  font-weight: 400;
}

.tk-node.passed .tk-title {
  color: var(--ink);
}

.tk-node.passed .tk-sub {
  color: rgba(17, 16, 7, .5);
}

.tk-node.active .tk-title {
  color: var(--orange);
}

.tk-node.active .tk-sub {
  color: rgba(17, 16, 7, .7);
}

.panel-btm {
  padding: .8rem 1rem;
  border-top: 2px dashed rgba(17, 16, 7, .15);
}

.resume-dl {
  display: flex;
  align-items: center;
  gap: .4rem;
  justify-content: center;
  width: 100%;
  margin-bottom: .6rem;
  background: var(--comic-y);
  border: 3px solid var(--ink);
  color: var(--ink);
  font-family: var(--fhf) !important;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .55rem .8rem;
  box-shadow: 3px 3px 0 rgba(17, 16, 7, 0.95);
  transition: .2s;
}

.resume-dl svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.resume-dl:hover {
  background: var(--ink);
  color: var(--comic-y);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(17, 16, 7, 0.95);
}

/* ── PANEL CONTACT BUTTONS (side by side) ── */
.panel-contacts {
  display: flex;
  flex-direction: row;
  gap: .4rem;
  margin-top: .25rem;
}

.panel-contact-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .28rem;
  padding: .45rem .3rem;
  border: 1.5px solid rgba(17, 16, 7, .1);
  border-radius: 6px;
  background: rgba(17, 16, 7, .03);
  color: rgba(17, 16, 7, .6);
  text-decoration: none;
  transition: all .2s;
}

.panel-contact-btn:hover {
  background: rgba(17, 16, 7, .06);
  border-color: rgba(17, 16, 7, .3);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 3px 0 rgba(17, 16, 7, 0.5);
}

.pcb-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 16, 7, .05);
  border-radius: 5px;
}

.pcb-icon svg {
  width: 14px;
  height: 14px;
}

.pcb-label {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  color: inherit;
  line-height: 1;
  font-family: var(--fb);
}

/* ── MAIN SCROLL ── */
.main {
  position: fixed;
  top: 0;
  left: var(--panel-w);
  width: calc(100vw - var(--panel-w));
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  background: var(--paper);
}

/* ── SECTIONS ── */
.sec {
  height: auto;
  min-height: 100vh;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-copy {
  position: absolute;
  bottom: 2rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--fb);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.7;
  z-index: 10;
  pointer-events: none;
}

.s-sd::before,
.s-fl::before,
.s-df::before,
.s-pl::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 0, 0, .07) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}



.s-home {
  background: var(--bg);
}

.s-sd {
  background: var(--c-sd);
}

.s-fl {
  background: var(--c-fl);
}

.s-df {
  background: var(--c-df);
}

.s-pl {
  background: var(--c-pl);
}

/* ── SECTION INNER (Soft Dough, Plating — standard) ── */
.sec-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  padding: 0 5%;
  padding-top: 2.5rem;
}

.sec-text {
  flex: 1;
  max-width: 580px;
}

.sec-visual {
  flex: 0 0 360px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 380px;
}

/* ── FILLING — column layout ── */
.fl-inner {
  flex-direction: column;
  gap: .75rem;
  padding-top: 2rem;
  max-width: 1200px;
}

.fl-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.fl-top-row .sec-text {
  flex: 1;
}

.fl-visual {
  flex: 0 0 auto;
  min-height: auto;
  align-items: flex-start;
}

.fl-visual .sam-tilt-wrap {
  width: 280px;
  height: 280px;
}

.fl-visual .sam-png {
  width: 260px;
  height: 260px;
}

.fl-cards-row {
  width: 100%;
  margin-top: -70px;
}

.fl-cards-row .cards {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1rem;
}

.fl-cards-row .card {
  flex: 1 0 clamp(260px, 30%, 400px);
  max-width: 420px;
}

/* ── DEEP FRY — column layout ── */
.df-inner {
  flex-direction: column;
  gap: .75rem;
  padding-top: 2rem;
  max-width: 1200px;
}

.df-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.df-top-row .sec-text {
  flex: 1;
}

.df-visual {
  flex: 0 0 auto;
  min-height: auto;
  align-items: flex-start;
}

.df-visual .sam-tilt-wrap {
  width: 260px;
  height: 260px;
}

.df-visual .sam-png {
  width: 240px;
  height: 240px;
}

/* ── PLATING — standard with bigger mascot ── */
.pl-visual {
  flex: 0 0 500px;
  /* Bigger space for larger mascot */
}

.pl-visual .sam-tilt-wrap {
  width: 480px;
  height: 480px;
}

.pl-visual .sam-png {
  width: 460px;
  height: 460px;
}

.df-cards-row {
  width: 100%;
  margin-top: -70px;
}

.df-cards-row .cards {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1rem;
}

.df-cards-row .card {
  flex: 1 0 clamp(260px, 28%, 380px);
  max-width: 400px;
}

/* ── SECTION NUMBERS ── */
.sec-num-bg {
  font-family: var(--fh) !important;
  font-size: clamp(5rem, 10vw, 8.5rem);
  position: absolute;
  right: 1.5%;
  top: 1.5rem;
  line-height: 1;
  pointer-events: none;
  z-index: 3;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0, 0, 0, .22);
  letter-spacing: -.01em;
}

.s-sd .sec-num-bg {
  -webkit-text-stroke-color: rgba(26, 126, 191, .32);
}

.s-fl .sec-num-bg {
  -webkit-text-stroke-color: rgba(200, 106, 0, .30);
}

.s-df .sec-num-bg {
  -webkit-text-stroke-color: rgba(204, 34, 0, .28);
}

.s-pl .sec-num-bg {
  -webkit-text-stroke-color: rgba(42, 122, 48, .28);
}

/* ── TEXT HIERARCHY ── */
.sec-eyebrow {
  display: inline-block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 800;
  margin-bottom: .8rem;
  padding: 0.4em 1.2em;
  border: 2px solid currentColor;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.15);
}

.sec-h {
  font-family: var(--fh) !important;
  font-size: clamp(3.2rem, 5.5vw, 5rem);
  line-height: 1.0;
  margin-bottom: .5rem;
  font-weight: normal;
}

.sec-lead {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.3;
  max-width: 520px;
  margin-bottom: .5rem;
  font-weight: 800;
}

.sec-body {
  font-size: 1rem;
  line-height: 1.9;
  max-width: 500px;
  margin-bottom: .5rem;
  font-weight: 400;
}

.s-sd .sec-eyebrow {
  color: var(--a-sd)
}

.s-sd .sec-h {
  color: var(--ink)
}

.s-sd .sec-lead {
  color: var(--ink2)
}

.s-sd .sec-body {
  color: rgba(58, 46, 24, .52)
}

.s-fl .sec-eyebrow {
  color: var(--a-fl)
}

.s-fl .sec-h {
  color: var(--ink)
}

.s-fl .sec-lead {
  color: var(--ink2)
}

.s-fl .sec-body {
  color: rgba(58, 46, 24, .52)
}

.s-df .sec-eyebrow {
  color: var(--a-df)
}

.s-df .sec-h {
  color: var(--ink)
}

.s-df .sec-lead {
  color: var(--ink2)
}

.s-df .sec-body {
  color: rgba(58, 46, 24, .52)
}

.s-pl .sec-eyebrow {
  color: var(--a-pl)
}

.s-pl .sec-h {
  color: var(--ink)
}

.s-pl .sec-lead {
  color: var(--ink2)
}

.s-pl .sec-body {
  color: rgba(58, 46, 24, .52)
}

/* ── REVEAL ── */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.rv.vis {
  opacity: 1;
  transform: translateY(0);
}

.rv:nth-child(1) {
  transition-delay: 0s
}

.rv:nth-child(2) {
  transition-delay: .07s
}

.rv:nth-child(3) {
  transition-delay: .13s
}

.rv:nth-child(4) {
  transition-delay: .19s
}

.rv:nth-child(5) {
  transition-delay: .25s
}

.rv:nth-child(6) {
  transition-delay: .31s
}

.rv:nth-child(7) {
  transition-delay: .37s
}

/* ── HOME ── */
.home-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #FFFFFF;
}

.home-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.home-grid-lines::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 210, 0, .35) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

.home-grid-lines::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* subtle warm vignette on white — very faint */
  background: radial-gradient(ellipse at 60% 50%, transparent 55%, rgba(255, 200, 0, .06) 100%);
}

.home-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.home-inner {
  z-index: 5;
  align-items: stretch !important;
  padding-top: 0 !important;
  padding-right: 0 !important;
  height: 100%;
  max-width: none !important;
  width: 100% !important;
  overflow: hidden;
}

.home-text {
  flex: 1;
  z-index: 5;
  padding: 0 4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-eyebrow {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 800;
  color: var(--comic-o);
  margin-bottom: .7rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .7s var(--ease) calc(var(--d, .1s)) forwards;
}

.home-h1 {
  font-family: var(--fh) !important;
  font-size: clamp(3.8rem, 7vw, 6rem);
  color: var(--ink);
  line-height: .98;
  margin-bottom: .4rem;
  letter-spacing: .04em;
  font-weight: normal;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .8s var(--ease) calc(var(--d, .1s)) forwards;
}

.home-tagline {
  font-size: .85rem;
  font-weight: 700;
  color: rgba(15, 10, 0, .45);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .9rem;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .7s var(--ease) calc(var(--d, .1s)) forwards;
}

.home-desc {
  font-size: 2.5rem;
  line-height: 1.9;
  color: rgba(15, 10, 0, .55);
  max-width: 440px;
  margin-bottom: 1.5rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .7s var(--ease) calc(var(--d, .1s)) forwards;
}

.home-desc strong {
  color: var(--comic-o);
  font-weight: 700;
}

.scroll-cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 3px solid var(--ink);
  color: var(--ink);
  padding: .6rem 1.4rem .6rem 1rem;
  border-radius: 4px;
  font-family: var(--fhf) !important;
  font-size: 1rem;
  letter-spacing: .08em;
  box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
  transition: all .2s;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .7s var(--ease) calc(var(--d, .1s)) forwards;
}

.scroll-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--sh-col, var(--ink));
  background: var(--ink);
  color: #FFE500;
}

.saa {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid currentColor;
  animation: saaA 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

.saa-line,
.saa-head {
  display: none;
}

@keyframes saaA {

  0%,
  100% {
    opacity: 1;
    transform: translateY(0)
  }

  50% {
    opacity: .4;
    transform: translateY(4px)
  }
}

/* ── HOME LAYOUT (fully layered / absolute) ── */
.home-inner {
  /* no longer used — kept for selector safety */
  display: none;
}

.home-text {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 10;
  padding: 0 5% 0 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: auto;
}

.home-h1 {
  font-family: var(--fh) !important;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  color: var(--ink);
  line-height: .95;
  margin-bottom: .4rem;
  letter-spacing: .03em;
  font-weight: normal;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .8s var(--ease) calc(var(--d, .1s)) forwards;
}

.home-tagline {
  font-size: .85rem;
  font-weight: 700;
  color: rgba(15, 10, 0, .45);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .9rem;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .7s var(--ease) calc(var(--d, .1s)) forwards;
}

.home-desc {
  font-size: .9rem;
  line-height: 1.9;
  color: rgba(15, 10, 0, .55);
  max-width: 420px;
  margin-bottom: 1.4rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .7s var(--ease) calc(var(--d, .1s)) forwards;
}

.home-desc strong {
  color: var(--comic-o);
  font-weight: 700;
}

.scroll-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 3px solid var(--ink);
  color: var(--ink);
  padding: .6rem 1.4rem .6rem 1rem;
  border-radius: 4px;
  font-family: var(--fhf) !important;
  font-size: 1rem;
  letter-spacing: .08em;
  box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
  transition: all .2s;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .7s var(--ease) calc(var(--d, .1s)) forwards;
  margin-bottom: .9rem;
}

.scroll-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--sh-col, var(--ink));
  background: var(--ink);
  color: #FFE500;
}

.home-eyebrow {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 800;
  color: var(--comic-o);
  border: 2px solid var(--comic-o);
  border-radius: 30px;
  display: inline-block;
  padding: .3rem .9rem;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp .7s var(--ease) calc(var(--d, .1s)) forwards;
}

/* ── HOME WAVE SVG BACKGROUND — full section, sits at the very back ── */
.home-wave-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

/* Decorative samosa container — spans the full section, same low z-index */
.home-deco-sams {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

/* Scattered background samosas — positioned relative to the full section */
.hem-bg {
  position: absolute;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ── scattered samosas — even spread, clear of character & text zones ── */
/* TOP STRIP row — s1–s4 across full width */
.hem-s1 {
  width: 180px;
  left: 2%;
  top: 4%;
  opacity: .15;
  transform: rotate(-28deg);
}

.hem-s2 {
  width: 118px;
  left: 26%;
  top: 9%;
  opacity: .10;
  transform: rotate(13deg);
}

.hem-s3 {
  width: 168px;
  left: 55%;
  top: 2%;
  opacity: .14;
  transform: rotate(34deg);
}

.hem-s4 {
  width: 148px;
  right: 0%;
  top: 6%;
  opacity: .12;
  transform: rotate(-9deg);
}

/* UPPER-MID row — far-left edge + right side only (text + character kept clear) */
.hem-s5 {
  width: 162px;
  left: 1%;
  top: 30%;
  opacity: .12;
  transform: rotate(22deg);
}

.hem-s6 {
  width: 142px;
  left: 70%;
  top: 24%;
  opacity: .11;
  transform: rotate(-27deg);
}

.hem-s7 {
  width: 195px;
  right: 1%;
  top: 38%;
  opacity: .15;
  transform: rotate(8deg);
}

/* LOWER-MID row — far-left edge + right side only (character zone x:42–68%, y:28–68% kept clear) */
.hem-s8 {
  width: 155px;
  left: 2%;
  top: 57%;
  opacity: .12;
  transform: rotate(-15deg);
}

.hem-s9 {
  width: 138px;
  left: 72%;
  top: 52%;
  opacity: .11;
  transform: rotate(31deg);
}

.hem-s10 {
  width: 185px;
  right: 1%;
  top: 56%;
  opacity: .14;
  transform: rotate(-20deg);
}

/* LOWER-CENTER GAP — fills open area between character and bottom strip */
.hem-s16 {
  width: 128px;
  left: 40%;
  top: 72%;
  opacity: .10;
  transform: rotate(-18deg);
}

/* BOTTOM STRIP row — s11–s15 spread left-to-right */
.hem-s11 {
  width: 148px;
  left: 2%;
  bottom: 3%;
  opacity: .11;
  transform: rotate(19deg);
}

.hem-s12 {
  width: 125px;
  left: 23%;
  bottom: 8%;
  opacity: .10;
  transform: rotate(-35deg);
}

.hem-s13 {
  width: 165px;
  left: 44%;
  bottom: 5%;
  opacity: .13;
  transform: rotate(25deg);
}

.hem-s14 {
  width: 140px;
  left: 65%;
  bottom: 10%;
  opacity: .12;
  transform: rotate(-5deg);
}

.hem-s15 {
  width: 178px;
  right: 0%;
  bottom: 6%;
  opacity: .13;
  transform: rotate(14deg);
}



.hem-gray {
  filter: grayscale(1);
}

.hem-dark {
  filter: brightness(0.3) sepia(1) saturate(0);
}

/* ── PROMINENT SAMOSA WRAP — overlaps into left content area ── */
.home-prominent-wrap {
  position: absolute;
  /* sits at the boundary of text and color block, overlapping both */
  right: 25%;
  top: 50%;
  transform: translateY(-52%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

/* speech bubble above the prominent samosa */
.home-prominent-wrap .speech-bubble {
  position: absolute;
  top: 25px;
  left: 60%;
  transform: translateX(-35%);
  white-space: nowrap;
  z-index: 10;
}

/* prominent samosa image */
.home-samosa {
  width: clamp(320px, 34vw, 460px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  position: relative;
  z-index: 8;
  animation: floatY 4.5s ease-in-out infinite;
}

/* eyebrow pill spacing above CTA */
.home-eyebrow {
  margin-bottom: .75rem;
}


.speech-bubble {
  position: absolute;
  top: -14px;
  left: -18px;
  background: #FFFFFF;
  color: #111007;
  font-family: var(--fhf) !important;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: .5rem 1.1rem;
  border-radius: 18px;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
  white-space: nowrap;
  z-index: 6;
  opacity: 0;
  animation: popIn .5s var(--ease) calc(var(--d, 1.4s)) forwards;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 24px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 9px solid var(--ink);
}

.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 26px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #FFFFFF;
  z-index: 1;
}



@keyframes floatY {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg)
  }

  50% {
    transform: translateY(-18px) rotate(1deg)
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(.5)
  }

  70% {
    transform: scale(1.06)
  }

  100% {
    opacity: 1;
    transform: scale(1)
  }
}

/* ── SOFT DOUGH SECTION LAYOUT ── */

/* Full-section wave background — sits behind everything */
.sd-wave-svg,
.fl-wave-svg,
.df-wave-svg,
.pl-wave-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

/* Main content layer — Grid layout to align text, mascot, and 2 carousels */
.sd-content {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: 100vh;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: end;
  gap: 1rem 3vw;
  padding: 6rem 5% 4rem 5%;
  box-sizing: border-box;
}

/* Unnest let children be part of grid */
.sd-left {
  display: contents;
}

.sd-left>.sec-text {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  align-self: end;
  max-width: none;
}

#sdImgs {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  width: 100%;
  max-width: 449px;
  justify-self: start;
}

/* Centre: dough mascot */
.sd-mascot {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  align-self: center;
  justify-self: center;
  width: 280px;
  pointer-events: none;
  padding-bottom: 1rem;
}

.sd-mascot .sam-tilt-wrap {
  width: 300px;
  height: 300px;
}

.sd-mascot .sam-png {
  width: 290px;
  height: 290px;
}

.sd-right {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  width: 100%;
  max-width: 449px;
  justify-self: start;
  display: block;
}

/* Architecture label above its carousel */
.sd-arch-label {
  font-family: var(--fhf) !important;
  font-size: 1.4rem;
  letter-spacing: .08em;
  color: var(--a-sd);
  text-transform: uppercase;
  padding: 0 .25rem;
}

/* ── CHROME TABS ── */
.car-tabs {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
  border-bottom: 2.5px solid var(--ink);
  margin-bottom: 0;
}

.car-tab {
  flex: 1;
  padding: .42rem .5rem;
  background: rgba(26, 126, 191, .06);
  border: 2px solid var(--ink);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-family: var(--fhf) !important;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(17, 16, 7, .45);
  cursor: pointer;
  transition: all .15s;
  margin-right: -1px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.car-tab:hover {
  background: rgba(26, 126, 191, .12);
  color: var(--a-sd);
}

.car-tab-active {
  background: #FFFFFF !important;
  color: var(--a-sd) !important;
  border-color: var(--ink) !important;
  border-bottom: 2.5px solid #FFFFFF !important;
  z-index: 2;
  font-weight: 900;
  margin-bottom: -2.5px;
}

/* The car-body wraps carousel-main + carousel-sidebar */
.car-body {
  height: 380px;
  display: flex;
  border: 2.5px solid var(--ink);
  border-top: none;
  border-radius: 0 0 6px 6px;
  background: #FFFFFF;
  box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
  overflow: hidden;
}

/* Override the old .carousel wrapper — must be column so tabs stack on top */
.carousel {
  margin-top: .6rem;
  display: flex !important;
  flex-direction: column !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  max-width: 100%;
  overflow: visible;
}

/* ── ARCHITECTURE CAROUSEL ── */
.arch-carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
  overflow: hidden;
}

/* Tab header — mirrors active car-tab: white bg, blue text, bottom border flush */
.arch-tab-header {
  display: flex;
  align-items: stretch;
  border-bottom: 2.5px solid var(--ink);
  background: #FFFFFF;
}

.arch-tab-label {
  flex: 1;
  padding: .42rem .75rem;
  font-family: var(--fhf) !important;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--a-sd);
  background: #FFFFFF;
  border: none;
  display: block;
}

/* Body row: image area + right sidebar */
.arch-body {
  height: 380px;
  display: flex;
  overflow: hidden;
}

.arch-main {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.arch-track {
  display: flex;
  transition: transform .38s cubic-bezier(.25, .46, .45, .94);
  height: 100%;
}

.arch-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
}

.arch-slide img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  background: #F5F9FF;
  display: block;
  cursor: pointer;
}

/* Right sidebar — matches .carousel-sidebar exactly */
.arch-sidebar {
  flex: 0 0 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: var(--c-sd);
  border-left: 2.5px solid var(--ink);
  padding: .5rem .3rem;
  gap: .25rem;
}

.arch-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 2px solid var(--ink);
  background: #FFF;
  color: var(--ink);
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .15s;
  box-shadow: 2px 2px 0 var(--sh-col, var(--ink));
  flex-shrink: 0;
}

.arch-btn:hover {
  background: var(--ink);
  color: #FFF;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--sh-col, var(--ink));
}

.arch-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .28rem;
  flex: 1;
  justify-content: center;
}

.arch-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  border: 1.5px solid rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: .3s;
  padding: 0;
  flex-shrink: 0;
}

.arch-dot.active {
  background: var(--a-sd);
  border-color: var(--a-sd);
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 2px rgba(26, 126, 191, .25);
}

/* ── BLOBS ── */
.s-sd .blob-bg,
.s-fl .blob-bg,
.s-df .blob-bg,
.s-pl .blob-bg {
  display: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(82px);
  animation: blobFloat linear infinite;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg)
  }

  25% {
    transform: translate(28px, -28px) scale(1.07) rotate(18deg)
  }

  50% {
    transform: translate(-14px, 18px) scale(.95) rotate(38deg)
  }

  75% {
    transform: translate(18px, 8px) scale(1.04) rotate(58deg)
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(78deg)
  }
}

.heat-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.hp {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  opacity: 0;
  animation: hpRise ease-in infinite;
  mix-blend-mode: multiply;
}

@keyframes hpRise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1)
  }

  10% {
    opacity: .45
  }

  90% {
    opacity: 0
  }

  100% {
    transform: translateY(-100vh) scale(.2);
    opacity: 0
  }
}

.plating-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.ps-dot {
  position: absolute;
  border-radius: 50%;
  animation: sparkle ease-in-out infinite;
  mix-blend-mode: multiply;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0)
  }

  50% {
    opacity: .25;
    transform: scale(1)
  }
}

/* ── SAMOSAS ── */
.sam-tilt-wrap {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  flex-shrink: 0;
}

.sam-png {
  width: 320px;
  height: 320px;
  object-fit: contain;
  mix-blend-mode: multiply;
  animation: floatY 4.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .12));
}

.sam-shadow {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 16px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .14), transparent);
  filter: blur(7px);
  animation: shadowPulse 4.5s ease-in-out infinite;
}

@keyframes shadowPulse {

  0%,
  100% {
    transform: translateX(-50%) scaleX(1)
  }

  50% {
    transform: translateX(-50%) scaleX(.75)
  }
}

/* ── PILLS ── */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .8rem 0 1rem;
}

.pill {
  border: 2.5px solid var(--ink);
  background: #FFFFFF;
  color: var(--ink);
  padding: .32rem .85rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: 3px 3px 0 var(--sh-col, var(--ink));
  transition: all .2s;
}

.pill-tab {
  cursor: pointer;
}

.pill-tab:hover {
  background: var(--ink);
  color: #FFFFFF;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
}

.s-sd .pill {
  border-color: var(--a-sd);
  box-shadow: 3px 3px 0 rgba(26, 126, 191, 0.5);
}

.s-sd .pill-tab:hover {
  background: var(--a-sd);
  color: #fff;
}

.s-sd .pill-tab.pill-active {
  background: var(--a-sd);
  color: #fff;
  border-color: var(--a-sd);
  box-shadow: 3px 3px 0 rgba(26, 126, 191, .5);
  transform: translate(-1px, -1px);
}

.s-fl .pill {
  border-color: var(--a-fl);
  box-shadow: 3px 3px 0 rgba(200, 106, 0, 0.5);
}

.s-fl .pill:hover {
  background: var(--a-fl);
}

.s-df .pill {
  border-color: var(--a-df);
  box-shadow: 3px 3px 0 rgba(204, 34, 0, 0.5);
}

.s-df .pill:hover {
  background: var(--a-df);
}

.s-pl .pill {
  border-color: var(--a-pl);
  box-shadow: 3px 3px 0 rgba(42, 122, 48, 0.5);
}

.s-pl .pill:hover {
  background: var(--a-pl);
}

/* ── CARDS ── */
.cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-top: .4rem;
  overflow-x: auto;
  padding: 10px;
  padding-bottom: 15px;
  margin-left: -10px;
  scrollbar-width: thin;
  max-width: calc(100% + 10px);
}

.cards::-webkit-scrollbar {
  height: 3px;
}

.cards::-webkit-scrollbar-thumb {
  background: var(--ink);
  border-radius: 2px;
}

.card {
  background: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 6px;
  width: clamp(260px, 22vw, 320px);
  flex-shrink: 0;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--sh-col, var(--ink));
  transition: all .22s var(--ease);
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--sh-col, var(--ink));
}

.card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 2.5px solid var(--ink);
}

/* Logo row — left aligned with proper vertical spacing */
.card-logo-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: .5rem .9rem .4rem 0rem;
}

.card-logo-placeholder {
  font-size: .53rem;
  font-weight: 800;
  color: var(--ink2);
  text-transform: uppercase;
  letter-spacing: .09em;
  background: rgba(0, 0, 0, .05);
  padding: .16rem .4rem;
  border-radius: 3px;
  border: 1.5px solid rgba(0, 0, 0, .1);
  white-space: nowrap;
}

.card-body {
  padding: .55rem 1rem .85rem;
}

.card-cat {
  font-family: var(--fb) !important;
  font-size: .56rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink2);
  font-weight: 700;
  margin-bottom: .28rem;
  display: block;
}

.card-t {
  font-family: var(--fb) !important;
  font-size: 1.6rem;
  font-weight: 800 !important;
  color: var(--ink);
  margin-bottom: .2rem;
  line-height: 1.1;
  letter-spacing: .04em;
}

.card-d {
  font-size: .8rem;
  color: rgba(58, 46, 24, .85);
  line-height: 1.55;
  font-weight: 500;
}

.card-arr {
  display: inline-block;
  margin-top: .45rem;
  font-size: .68rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--c-home);
  border: 2px solid var(--ink);
  padding: .15rem .5rem;
  border-radius: 3px;
  box-shadow: 2px 2px 0 var(--sh-col, var(--ink));
  transition: .2s;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.card:hover .card-arr {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--sh-col, var(--ink));
}

.s-fl .card-arr {
  background: var(--c-fl);
}

.s-df .card-arr {
  background: var(--c-df);
}

.s-pl .card-arr {
  background: var(--c-pl);
}

/* ── CAROUSEL (base styles — overridden by the SD section above) ── */
.carousel {
  margin-top: .9rem;
  display: flex;
  flex-direction: column;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 5px 5px 0 var(--sh-col, var(--ink));
  overflow: hidden;
  width: 100%;
}

.carousel-main {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform .38s cubic-bezier(.25, .46, .45, .94);
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #FAFAFA;
  border-bottom: 2px solid var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

.carousel-caption {
  padding: .55rem .9rem;
  background: #FFF;
  flex: 1;
  text-align: center;
}

.carousel-caption h4 {
  font-family: var(--fhf) !important;
  font-size: 1.5rem;
  font-weight: normal !important;
  color: var(--ink);
  margin-bottom: .1rem;
  letter-spacing: .04em;
}

.carousel-caption p {
  font-size: .68rem;
  color: rgba(58, 46, 24, .48);
  line-height: 1.5;
}

.carousel-sidebar {
  flex: 0 0 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: var(--c-sd);
  border-left: 2.5px solid var(--ink);
  padding: .5rem .3rem;
  gap: .25rem;
}

.carousel-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 2px solid var(--ink);
  background: #FFF;
  color: var(--ink);
  font-size: .85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 var(--sh-col, var(--ink));
}

.carousel-btn:hover {
  background: var(--ink);
  color: #FFF;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--sh-col, var(--ink));
}

.carousel-pause-btn {
  margin-top: auto;
  font-size: .65rem;
}

.carousel-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .28rem;
  flex: 1;
  justify-content: center;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  border: 1.5px solid rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: .3s;
  padding: 0;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.carousel-dot.active {
  background: var(--a-sd);
  border-color: var(--a-sd);
  box-shadow: 0 0 0 2px rgba(26, 126, 191, .25);
  width: 9px;
  height: 9px;
}

.carousel-dot.active::after {
  display: none;
}

/* ── CONTACT ── */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-top: 1.2rem;
  max-width: 440px;
}

.cc {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1.1rem;
  background: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
  color: var(--ink);
  transition: all .22s var(--ease);
  position: relative;
  overflow: hidden;
}

.cc:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--sh-col, var(--ink));
}

.cc-icon {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 2.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: .2s;
}

.cc-icon svg {
  width: 17px;
  height: 17px;
}

.email-cc .cc-icon {
  background: var(--c-home);
  color: var(--ink);
}

.li-cc .cc-icon {
  background: #C8E8FF;
  color: #1A7EBF;
}

.resume-cc .cc-icon {
  background: var(--c-pl);
  color: var(--a-pl);
}

.cc:hover .cc-icon {
  transform: scale(1.08);
}

.cc-text {
  flex: 1;
}

.cc-label {
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink2);
  font-weight: 800;
  margin-bottom: .1rem;
}

.cc-val {
  font-size: .84rem;
  color: rgba(58, 46, 24, .52);
  font-weight: 400;
}

.cc-arrow {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ink);
  transition: .2s;
}

.cc:hover .cc-arrow {
  transform: translateX(4px);
}

.resume-cc:hover .cc-arrow {
  transform: translateY(3px);
}

.footer-copy {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .5rem;
  color: rgba(58, 46, 24, .35);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ── MODAL ── */
.modal-ov {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(12px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}

.modal-ov.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #FFFDF2;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--sh-col, var(--ink));
  width: 94%;
  max-width: 720px;
  max-height: 75vh;
  overflow-y: auto;
  transform: scale(.9) translateY(20px);
  opacity: 0;
  transition: all .5s var(--ease);
}

.modal-ov.open .modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-box::-webkit-scrollbar {
  width: 3px;
}

.modal-box::-webkit-scrollbar-thumb {
  background: var(--ink);
  border-radius: 2px;
}

/* Modal header */
.modal-head {
  position: sticky;
  top: 0;
  background: var(--c-home);
  border-bottom: 3px solid var(--ink);
  padding: .7rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  gap: .75rem;
}

.modal-cat {
  font-family: var(--fb) !important;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
  font-weight: 800;
  flex: 1;
}

.mh-btns {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

/* "View full project details" button — comic theme */
.mh-view-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--ink);
  color: var(--comic-y);
  border: 2.5px solid var(--ink);
  border-radius: 5px;
  font-family: var(--fb) !important;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: .5rem 1rem;
  box-shadow: 3px 3px 0 var(--sh-col, var(--ink));
  transition: all .2s;
  white-space: nowrap;
  text-decoration: none;
}

.mh-view-btn:hover {
  background: var(--comic-y);
  color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
}

/* Close (×) button */
.mh-btn {
  width: 32px;
  height: 32px;
  border: 2.5px solid var(--ink);
  border-radius: 5px;
  color: var(--ink);
  background: var(--c-home);
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0 var(--sh-col, var(--ink));
  transition: .2s;
  flex-shrink: 0;
}

.mh-btn:hover {
  background: var(--ink);
  color: #FFF;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--sh-col, var(--ink));
}

.modal-inner {
  padding: 1.5rem 1.8rem;
}

.m-title {
  font-family: var(--fb) !important;
  font-size: 1.95rem;
  font-weight: 800 !important;
  color: var(--ink);
  margin: .3rem 0;
  letter-spacing: .02em;
}

.m-logo-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .2rem 0 .6rem;
}

.m-logo-badge {
  font-size: .58rem;
  font-weight: 800;
  color: var(--ink2);
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(0, 0, 0, .05);
  padding: .22rem .6rem;
  border-radius: 4px;
  border: 1.5px solid rgba(0, 0, 0, .12);
}

.m-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .9rem;
}

.m-tag {
  font-family: var(--fb) !important;
  font-size: .54rem;
  color: var(--ink);
  padding: .18rem .45rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  background: #FFF;
  letter-spacing: .04em;
}

.m-hero-img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: .9rem;
  border: 2px solid rgba(0, 0, 0, .1);
}

.m-summary {
  font-size: 1.05rem;
  color: rgba(58, 46, 24, .52);
  line-height: 1.85;
}

/* Keep old m-view-btn hidden (no longer injected, but just in case) */
.m-view-btn {
  display: none;
}

.inline-view-btn {
  margin-top: 1rem;
}

.m-expand-btn {
  display: none;
}

.m-body {
  display: block;
  margin-top: 1.2rem;
  border-top: 2px dashed rgba(0, 0, 0, .12);
  padding-top: 1rem;
}

.m-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(58, 46, 24, .8);
  margin-bottom: .7rem;
}

.m-body h3 {
  font-family: var(--fb) !important;
  font-size: 1.35rem;
  font-weight: 800 !important;
  color: var(--ink);
  margin: 1.2rem 0 .4rem;
  letter-spacing: .04em;
}

.m-body ul,
.m-body ol {
  margin: .4rem 0 .8rem 1.3rem;
  line-height: 1.85;
  font-size: 1.05rem;
  color: rgba(58, 46, 24, .8);
}

.m-body li {
  margin-bottom: .25rem;
}

.m-body hr {
  border: none;
  border-top: 2px dashed rgba(0, 0, 0, .15);
  margin: 1.1rem 0;
}

.m-body img {
  width: 100%;
  border-radius: 6px;
  margin: .6rem 0;
  opacity: .9;
  cursor: pointer;
  transition: .3s;
  border: 2px solid rgba(0, 0, 0, .08);
}

.m-body img:hover {
  opacity: 1;
}

.m-body blockquote {
  border-left: 4px solid var(--ink);
  padding: .4rem 0 .4rem 1rem;
  margin: .8rem 0;
  font-style: italic;
  color: var(--ink2);
  line-height: 1.65;
  font-weight: 600;
  font-size: .9rem;
  background: rgba(0, 0, 0, .03);
  border-radius: 0 4px 4px 0;
}

.m-body strong {
  font-weight: 800;
  color: var(--ink);
}

.m-body em {
  font-style: italic;
  color: rgba(58, 46, 24, .85);
}

/* ── ABOUT ── */
.about-ov {
  position: fixed;
  inset: 0;
  background: rgba(255, 252, 242, .98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s;
  overflow-y: auto;
  border-left: 4px solid var(--ink);
}

.about-ov.open {
  opacity: 1;
  pointer-events: all;
}

.ab-close {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--c-home);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
  transition: .2s;
  z-index: 1001;
}

.ab-close:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--sh-col, var(--ink));
}

.ab-wrap {
  width: 94%;
  max-width: 920px;
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
  transform: translateY(16px);
  opacity: 0;
  transition: all .6s var(--ease) .1s;
}

.about-ov.open .ab-wrap {
  transform: translateY(0);
  opacity: 1;
}

.ab-hero {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.ab-photo {
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--sh-col, var(--ink));
  flex-shrink: 0;
  cursor: pointer;
}

.ab-hero-txt {
  flex: 1;
}

.ab-lbl {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ink2);
  font-weight: 800;
  margin-bottom: .5rem;
}

.ab-h {
  font-family: var(--fhf) !important;
  font-size: 2.2rem;
  font-weight: normal !important;
  color: var(--ink);
  margin-bottom: .7rem;
  line-height: 1.1;
  letter-spacing: .04em;
}

.ab-intro {
  font-size: .9rem;
  color: var(--ink2);
  line-height: 1.85;
  font-style: italic;
  font-weight: 600;
  margin-bottom: .9rem;
}

.roles {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.role {
  font-size: .72rem;
  font-weight: 800;
  color: var(--ink);
  padding: .26rem .65rem;
  border: 2.5px solid var(--ink);
  border-radius: 4px;
  background: var(--c-home);
  box-shadow: 2px 2px 0 var(--sh-col, var(--ink));
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ab-section {
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px dashed rgba(0, 0, 0, .12);
}

.ab-section:last-child {
  border-bottom: none;
}

.ab-st {
  font-family: var(--fhf) !important;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: .8rem;
  letter-spacing: .05em;
}

.tl {
  margin-bottom: .75rem;
  padding-left: 1rem;
  border-left: 4px solid var(--ink);
}

.tl .dt {
  font-size: .55rem;
  color: var(--ink2);
  letter-spacing: .06em;
  font-weight: 800;
  text-transform: uppercase;
}

.tl .rl {
  font-family: var(--fhf) !important;
  font-size: .95rem;
  color: var(--ink);
  margin: .1rem 0;
  letter-spacing: .04em;
}

.tl .og {
  font-size: .78rem;
  color: var(--ink2);
  font-style: italic;
  font-weight: 600;
}

.tl .ds {
  font-size: .74rem;
  color: rgba(58, 46, 24, .42);
  line-height: 1.6;
  margin-top: .15rem;
}

.ab-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sk-g {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .6rem;
}

.sk {
  background: #FFF;
  border: 2.5px solid var(--ink);
  color: var(--ink);
  font-size: .7rem;
  padding: .26rem .55rem;
  border-radius: 3px;
  transition: .2s;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--sh-col, var(--ink));
  text-transform: uppercase;
  letter-spacing: .03em;
}

.sk:hover {
  background: var(--ink);
  color: #FFF;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--sh-col, var(--ink));
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin: .3rem 0;
}

.tool {
  font-size: .7rem;
  color: var(--ink2);
  padding: .2rem .45rem;
  background: rgba(0, 0, 0, .04);
  border: 1.5px solid rgba(0, 0, 0, .1);
  border-radius: 3px;
  font-weight: 600;
}

.ab-img-row {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin: .5rem 0;
}

.ab-img-row img {
  height: 110px;
  width: auto;
  min-width: 75px;
  object-fit: cover;
  border-radius: 6px;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--sh-col, var(--ink));
  opacity: .85;
  cursor: pointer;
  transition: .2s;
  flex-shrink: 0;
}

.ab-img-row img:hover {
  opacity: 1;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
}

.ab-p {
  font-size: .82rem;
  color: rgba(58, 46, 24, .45);
  line-height: 1.7;
  font-weight: 400;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .97);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 6px;
}

/* ── MOBILE WARNING ── */
.mobile-warning {
  display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .mobile-warning {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(17, 16, 7, 0.95);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
  }

  .mw-box {
    background: #FFF8E7;
    border: 3px solid var(--ink);
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    box-shadow: 8px 8px 0 var(--sh-col, var(--ink));
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10001;
  }

  .mw-img {
    width: 140px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
  }

  .mw-title {
    font-family: var(--fhf) !important;
    font-size: 2.2rem;
    font-weight: normal !important;
    color: var(--ink);
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
    line-height: 1.1;
  }

  .mw-desc {
    font-size: 0.95rem;
    color: rgba(17, 16, 7, 0.75);
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }

  .mw-btn {
    background: var(--comic-y);
    color: var(--ink);
    border: 3px solid var(--ink);
    border-radius: 6px;
    font-family: var(--fhf) !important;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--sh-col, var(--ink));
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .mw-btn:active,
  .mw-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--sh-col, var(--ink));
    background: var(--ink);
    color: var(--comic-y);
  }

  .panel {
    display: none;
  }

  .mob-bar {
    display: flex;
  }

  .main {
    left: 0;
    width: 100vw;
    padding-top: 52px;
  }

  .sec-inner,
  .home-inner {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 5%;
    text-align: center;
  }

  .sd-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    padding: 3rem 5%;
    gap: 1.5rem;
    height: auto;
    overflow: visible;
  }

  .sd-left>.sec-text {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .sd-mascot {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 200px;
    padding-bottom: 0;
  }

  #sdImgs {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .sd-right {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .home-inner {
    align-items: center !important;
    padding-top: 0 !important;
  }

  .sec-inner {
    align-items: center;
    padding-top: 2rem;
  }

  .sec-text {
    max-width: 100%;
  }

  .sec-visual {
    width: 100%;
    justify-content: center;
    flex: none;
    min-height: auto;
    align-items: center;
  }

  .sam-tilt-wrap {
    width: 220px;
    height: 220px;
  }

  .sam-png {
    width: 200px;
    height: 200px;
  }

  .home-samosa {
    width: 220px;
  }

  .cards {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .card {
    width: clamp(220px, 55vw, 300px);
    flex-shrink: 0;
  }

  .home-text {
    max-width: 100%;
  }

  .home-desc {
    margin: 0 auto 1.5rem;
  }

  .speech-bubble {
    position: static;
    margin-bottom: .8rem;
  }

  .s-home::after {
    display: none;
  }

  .ab-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ab-2col {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    max-width: 100%;
  }

  .sec-num-bg {
    font-size: clamp(3.5rem, 15vw, 6rem);
    top: 1rem;
    right: 1rem;
  }

  .s-sd::after,
  .s-fl::after,
  .s-df::after,
  .s-pl::after {
    inset: 6px;
  }

  .carousel {
    max-width: 100%;
  }

  .carousel-sidebar {
    flex: 0 0 38px;
  }

  .carousel-slide img {
    height: 200px;
  }

  .fl-inner,
  .df-inner {
    flex-direction: column;
  }

  .fl-top-row,
  .df-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fl-visual .sam-tilt-wrap,
  .df-visual .sam-tilt-wrap {
    width: 200px;
    height: 200px;
  }

  .fl-visual .sam-png,
  .df-visual .sam-png {
    width: 180px;
    height: 180px;
  }

  .fl-cards-row .card,
  .df-cards-row .card {
    width: clamp(240px, 60vw, 320px);
  }

  .fl-cards-row,
  .df-cards-row {
    margin-top: -30px;
  }

  .mh-view-btn {
    font-size: .75rem;
    padding: .45rem .8rem;
  }
}