/* ==========================================================================
   Omega Studio India — Proposal & Portfolio
   White paper, black type, one blue. Inter throughout.
   ========================================================================== */

:root {
  --paper:  #ffffff;
  --tint:   #f5f6f8;   /* panels, caption bars */
  --line:   #e3e4e9;   /* hairlines */
  --line-2: #cfd1d9;   /* stronger hairlines */
  --ink:    #0b0b0d;   /* headings */
  --body:   #46474f;   /* body copy */
  --mute:   #83848f;   /* labels, secondary */
  --blue:   #1a56f0;   /* the single accent */
  --blue-d: #1140c9;   /* accent, pressed */
  --blue-t: #eef2fe;   /* accent tint */

  --measure: 64ch;
  --gutter: clamp(20px, 5vw, 76px);
  --band-y: clamp(72px, 10vh, 140px);

  --f: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
       "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.75, 0.28, 1);
  --bar-h: 74px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 400; }
.skip:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------- type ---- */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.accent { color: var(--blue); }

p { margin: 0 0 1.05em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.5; color: var(--body); }

.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* the eyebrow: small, uppercase, tracked out */
.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ----------------------------------------------------------- masthead ---- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.docstrip {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  overflow: hidden;
  max-height: 40px;
  transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
}
.masthead.is-stuck .docstrip { max-height: 0; opacity: 0; }

.docstrip__in { display: flex; align-items: center; gap: 10px 24px; height: 39px; }
.docstrip b { color: #fff; font-weight: 600; }
.docstrip .sep { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.22); flex: 0 0 auto; }
.docstrip .push { margin-left: auto; }
.docstrip a { text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 1px; }
.docstrip a:hover { border-color: #fff; }

@media (max-width: 760px) {
  .docstrip .hide-sm, .docstrip .sep { display: none; }
  .docstrip__in { justify-content: space-between; }
}

.bar__in { display: flex; align-items: center; gap: 22px; height: var(--bar-h); transition: height 0.3s var(--ease); }
.masthead.is-stuck .bar__in { height: 62px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }

.brand__mono {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: 0 0 auto;
  border-radius: 5px;
  background: var(--ink);
}
.brand__mono img { width: 62%; height: auto; }

.brand__txt { display: flex; flex-direction: column; line-height: 1.22; }
.brand__txt b { color: var(--ink); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.025em; }
.brand__txt small { font-size: 0.7rem; color: var(--mute); letter-spacing: 0.02em; }

@media (max-width: 560px) { .brand__txt small { display: none; } }

.nav { margin-left: auto; }
.nav ol { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }

.nav a {
  display: flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--body);
  padding: 8px 13px;
  border-radius: 4px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a i { font-style: normal; font-size: 0.66rem; font-weight: 600; color: var(--line-2); font-variant-numeric: tabular-nums; transition: color 0.2s var(--ease); }
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="true"] { color: var(--ink); background: var(--tint); }
.nav a[aria-current="true"] i { color: var(--blue); }

@media (max-width: 1080px) { .nav { display: none; } }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress i { display: block; height: 100%; width: 0; background: var(--blue); transition: width 0.12s linear; }

.burger {
  display: none;
  width: 42px; height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span { display: block; width: 17px; height: 1.5px; background: currentColor; position: relative; transition: background 0.2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: grid; }
  .masthead .btn { display: none; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--paper);
  padding: calc(var(--bar-h) + 62px) 0 44px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }

.menu ol { list-style: none; margin: 0 0 34px; padding: 0; }
.menu li { border-top: 1px solid var(--line); }
.menu li:last-child { border-bottom: 1px solid var(--line); }
.menu ol a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 17px 2px;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.menu ol a i { font-style: normal; font-size: 0.72rem; font-weight: 600; color: var(--blue); letter-spacing: 0; }
.menu__mark { width: 34px; height: auto; margin-bottom: 20px; opacity: 0.85; }
.menu__foot { display: flex; flex-direction: column; gap: 7px; font-size: 0.9rem; color: var(--mute); }
.menu__foot a { font-size: 1rem; text-decoration: none; color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------- buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 4px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); }

.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: var(--tint); border-color: var(--ink); color: var(--ink); }

.btn--sm { padding: 9px 17px; font-size: 0.84rem; }

.tlink {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue);
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--blue);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tlink:hover { color: var(--blue-d); border-color: var(--blue-d); }

/* --------------------------------------------------------------- cover ---- */

.cover { padding-top: clamp(44px, 6.5vh, 88px); padding-bottom: clamp(54px, 9vh, 112px); overflow: hidden; }

.cover__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
}
@media (max-width: 980px) { .cover__in { grid-template-columns: 1fr; } }

.cover__rule { width: 52px; height: 3px; background: var(--blue); margin-bottom: 26px; }
.cover h1 { font-size: clamp(2.9rem, 7.4vw, 5.4rem); line-height: 0.98; margin-bottom: 24px; letter-spacing: -0.045em; }
.cover .lede { max-width: 46ch; }
.cover__acts { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.cover__chips { margin: 24px 0 0; }
.cover__chips li { border-radius: 999px; padding: 6px 14px; }

/* the fan of prints */

.fan { position: relative; aspect-ratio: 1 / 0.60; width: 100%; }

.print {
  position: absolute;
  display: flex;
  flex-direction: column-reverse;
  width: 74%;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: 0 22px 46px -22px rgba(11, 11, 13, 0.32);
  transform-origin: 50% 100%;
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}

.print img { width: 100%; height: auto; }

.print__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px;
  font-size: 0.7rem;
  color: var(--mute);
  background: var(--tint);
  border-bottom: 1px solid var(--line);
}
.print__bar b { color: var(--ink); font-weight: 600; }

.print:nth-child(1) { left: 20%; top: 30%; transform: rotate(6.5deg);  z-index: 3; }
.print:nth-child(2) { left: 10%; top: 15%; transform: rotate(0deg);     z-index: 2; }
.print:nth-child(3) { left: 0;   top: 0;   transform: rotate(-6.5deg);  z-index: 1; }

.print:hover, .print:focus-visible { z-index: 9; border-color: var(--blue); box-shadow: 0 34px 60px -22px rgba(11, 11, 13, 0.4); }
.print:nth-child(1):hover { transform: rotate(6.5deg)  translateY(-20px) scale(1.03); }
.print:nth-child(2):hover { transform: rotate(0deg)     translateY(-20px) scale(1.03); }
.print:nth-child(3):hover { transform: rotate(-6.5deg)  translateY(-20px) scale(1.03); }

.js .fan:not(.is-dealt) .print { opacity: 0; }
.js .fan.is-dealt .print { animation: deal 0.8s var(--ease) backwards; }
.js .fan.is-dealt .print:nth-child(3) { animation-delay: 0.05s; }
.js .fan.is-dealt .print:nth-child(2) { animation-delay: 0.18s; }
.js .fan.is-dealt .print:nth-child(1) { animation-delay: 0.31s; }

@keyframes deal {
  from { opacity: 0; transform: translate(-6%, -14%) rotate(0deg) scale(0.94); }
  to   { opacity: 1; }
}

@media (max-width: 980px) {
  .fan {
    aspect-ratio: auto;
    display: flex;
    gap: 13px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .fan .print, .fan .print:nth-child(n) {
    position: relative; left: auto; top: auto; transform: none;
    flex: 0 0 78%; scroll-snap-align: center;
  }
  .fan .print:hover, .fan .print:nth-child(n):hover { transform: none; }
  .js .fan.is-dealt .print { animation: none; opacity: 1; }
}

/* ---------------------------------------------------------------- band ---- */

.band { padding-block: var(--band-y); border-top: 1px solid var(--line); }

.band__head {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  margin-bottom: clamp(38px, 5vw, 64px);
}
@media (max-width: 700px) { .band__head { grid-template-columns: 1fr; gap: 14px; } }

.band__no {
  margin: 0;
  align-self: start;
  padding-top: 0.75em;
  border-top: 3px solid var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.band__head h2 { font-size: clamp(2.05rem, 4.4vw, 3.2rem); margin-bottom: 18px; }

/* -------------------------------------------------------------- studio ---- */

.studio { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } }

.studio b { color: var(--ink); font-weight: 600; }

.ledger { margin: 0; border-top: 1px solid var(--line); }
.ledger div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ledger dt { color: var(--mute); font-size: 0.875rem; }
.ledger dd { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 600; text-align: right; letter-spacing: -0.015em; }

.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(42px, 5vw, 68px); }
.rule h3 { font-size: 1.24rem; margin-bottom: 10px; padding-top: 16px; border-top: 3px solid var(--blue); }
.rule p { color: var(--body); font-size: 0.94rem; margin: 0; }

/* ---------------------------------------------------------- case study ---- */

.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; padding-block: clamp(42px, 6vw, 76px); border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: 26px; } }

.case--flip .case__shot { order: 2; }
@media (max-width: 900px) { .case--flip .case__shot { order: 0; } }

.case__shot { border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); background: var(--paper); box-shadow: 0 20px 44px -26px rgba(11, 11, 13, 0.3); }
.case__shot img { width: 100%; height: auto; }

.case__url { display: flex; align-items: center; gap: 9px; padding: 11px 15px; font-size: 0.78rem; color: var(--mute); background: var(--tint); border-top: 1px solid var(--line); text-decoration: none; }
.case__url b { color: var(--ink); font-weight: 600; }
.case__url:hover b { color: var(--blue); }
.case__url .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.case__url .push { margin-left: auto; }

.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.case__meta b { color: var(--blue); font-weight: 700; }
.case__meta .sep { width: 1px; height: 11px; background: var(--line-2); }

.case h3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.case p { color: var(--body); font-size: 0.96rem; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 20px; padding: 0; list-style: none; }
.chips li { font-size: 0.75rem; font-weight: 500; padding: 5px 11px; border: 1px solid var(--line); border-radius: 4px; color: var(--body); background: var(--tint); }

.facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0 0 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.facts div { min-width: 88px; }
.facts dt { font-size: 0.75rem; color: var(--mute); margin-bottom: 2px; }
.facts dd { margin: 0; color: var(--ink); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.04em; }

/* -------------------------------------------------------------- method ---- */

.steps { margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 118px minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(16px, 3vw, 40px); align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .step { grid-template-columns: 1fr; gap: 8px; } }

.step__no { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--body); font-size: 0.94rem; margin: 0; }

/* ---------------------------------------------------------- engagement ---- */

.note { margin-top: 24px; font-size: 0.88rem; color: var(--mute); }

/* ------------------------------------------------------------- closing ---- */

.close__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .close__in { grid-template-columns: 1fr; } }

.close h2 { font-size: clamp(2.05rem, 4.8vw, 3.4rem); margin-bottom: 20px; }
.close__acts { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }

.card { padding: 30px 28px; background: var(--tint); border: 1px solid var(--line); border-radius: 8px; }
.card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.card__mark { width: 34px; height: auto; margin-bottom: 14px; opacity: 0.9; }

.contacts { list-style: none; margin: 0; padding: 0; }
.contacts li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.contacts li:last-child { border-bottom: 0; }
.contacts span { color: var(--mute); }
.contacts a { text-decoration: none; color: var(--ink); font-weight: 500; }
.contacts a:hover { color: var(--blue); }

.sign { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 0.85rem; color: var(--mute); }
.sign b { color: var(--ink); display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }

/* -------------------------------------------------------------- footer ---- */

.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 0.84rem; color: var(--mute); }
.foot__in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .push { margin-left: auto; }
.social { display: flex; gap: 18px; }

/* -------------------------------------------------------------- motion ---- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .fan:not(.is-dealt) .print { opacity: 1; }
}

/* --------------------------------------------------------------- print ---- */

@media print {
  body { font-size: 11pt; }
  .masthead, .menu, .cover__acts, .close__acts, .btn, .skip, .progress { display: none !important; }
  .band, .case { page-break-inside: avoid; }
  .card, .case__shot { border: 1px solid var(--line-2); }
  .fan { display: block; aspect-ratio: auto; }
  .fan .print { position: relative; left: auto; top: auto; transform: none; width: 100%; margin-bottom: 10px; opacity: 1 !important; animation: none !important; box-shadow: none; }
  .fan .print:nth-child(n+3) { display: none; }
}
