/* =========================================================
   Saurav Bastola — Portfolio
   Clean grey / ink / red theme
   ========================================================= */
:root {
  --bg: #e3e3e1;
  --bg-2: #d6d6d3;
  --ink: #0e0e0e;
  --muted: #6b6b68;
  --red: #e8432e;
  --white: #fafaf8;
  --line: rgba(14, 14, 14, 0.14);
  --display: "Archivo", "Arial Black", Helvetica, sans-serif;
  --body: "Inter", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --cw: 210px; /* hero card width */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.defs { position: absolute; width: 0; height: 0; }

.label {
  font-family: var(--display);
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
h2 {
  font-family: var(--display);
  font-variation-settings: "wdth" 125;
  font-weight: 900;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 3vw, 36px);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--white);
  display: grid; place-items: center;
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .3s;
}
.logo:hover { transform: rotate(-8deg); }
.nav nav {
  display: flex; gap: 4px;
  background: rgba(250,250,248,.94); /* solid-ish: no costly backdrop blur while scrolling */
  padding: 5px; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.nav nav a {
  font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 700;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; transition: background .25s, color .25s;
}
.nav nav a:hover { background: var(--ink); color: var(--white); }
.eye { width: 30px; height: 30px; display: grid; place-items: center; }
.eye svg { width: 26px; height: 26px; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh; min-height: 680px;
  overflow: hidden;
  isolation: isolate; /* keep spinning cards below the menu */
  background: radial-gradient(ellipse at 50% 100%, #cfcfcc 0%, var(--bg) 60%);
}
.marks { position: absolute; inset: 0; pointer-events: none; }
.marks i {
  position: absolute; width: 11px; height: 11px;
  background:
    linear-gradient(var(--ink), var(--ink)) center/1px 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/100% 1px no-repeat;
  opacity: .35;
}
.marks i:nth-child(1) { left: 6%;  top: 13%; }
.marks i:nth-child(2) { left: 38%; top: 9%; }
.marks i:nth-child(3) { right: 6%; top: 13%; }
.marks i:nth-child(4) { left: 6%;  top: 44%; }
.marks i:nth-child(5) { left: 30%; top: 44%; }
.marks i:nth-child(6) { right: 30%; top: 44%; }
.marks i:nth-child(7) { right: 6%; top: 44%; }
.marks i:nth-child(8) { right: 38%; top: 9%; }

.hero-head {
  position: relative;
  width: min(1100px, 88vw);
  margin: 0 auto;
  padding-top: 13vh;
  height: 46vh; min-height: 330px;
}
.welcome {
  position: absolute; left: 0; top: 13vh; z-index: 3;
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: 13px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
}
.red-bar {
  position: absolute; z-index: 0;
  left: 50%; top: 7vh; bottom: 3vh;
  width: clamp(80px, 12vw, 150px);
  transform: translateX(-62%);
  background: var(--red);
  animation: barIn 1.2s cubic-bezier(.7,0,.2,1) both;
}
@keyframes barIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

.title {
  position: relative; z-index: 2;
  margin-top: 6vh;
  height: 1.3em;
  font-family: var(--display);
  font-variation-settings: "wdth" 125;
  font-weight: 900;
  font-size: clamp(46px, 10.5vw, 158px);
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;
}
.t { position: absolute; left: 0; right: 0; text-align: center; white-space: nowrap; }
.t-solid  { top: 0;     filter: url(#warpA); animation: wipeA 6s ease-in-out infinite; }
.t-solid2 { top: .26em; filter: url(#warpB); animation: wipeB 6s ease-in-out infinite; }
.t-outline {
  top: 0; color: transparent;
  -webkit-text-stroke: 1.4px var(--ink);
  filter: url(#warpB);
  text-shadow: none;
}
.t-outline::after {
  content: "PORTFOLIO"; position: absolute; left: 0; right: 0; top: .26em;
  -webkit-text-stroke: 1.4px var(--ink); color: transparent;
}
@keyframes wipeA {
  0%, 100% { clip-path: inset(0 55% 0 0); }
  50%      { clip-path: inset(0 0 0 45%); }
}
@keyframes wipeB {
  0%, 100% { clip-path: inset(0 0 0 55%); }
  50%      { clip-path: inset(0 45% 0 0); }
}
.tri { position: absolute; top: .58em;width: 0; height: 0; border: 6px solid transparent; z-index: 3; }
.tri-l { left: -4vw;  border-left-color: var(--ink); }
.tri-r { right: -4vw; border-right-color: var(--ink); }

.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 3vh; z-index: 3;
  display: flex; justify-content: space-between;
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.hero-meta span:nth-child(2) { opacity: 0; } /* spacer keeps red bar clear */

/* card fan */
.stage { position: absolute; left: 0; right: 0; bottom: 0; height: 54vh; touch-action: pan-y; cursor: grab; }
.stage.dragging { cursor: grabbing; }
.wheel { position: absolute; left: 50%; width: 0; height: 0; }
.disc {
  position: absolute; left: 50%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #d9d9d6 0%, #bdbdba 70%, #a9a9a6 100%);
  box-shadow: inset 0 18px 40px rgba(255,255,255,.5), 0 -20px 60px rgba(0,0,0,.08);
  transform: translate(-50%, -50%);
}
.disc-text {
  position: absolute; inset: 6%; width: 88%; height: 88%;
  animation: spin 40s linear infinite reverse;
}
.disc-text text {
  font-family: var(--display); font-variation-settings: "wdth" 125;
  font-size: 11px; font-weight: 700; letter-spacing: 4px; fill: rgba(14,14,14,.35);
}
.me {
  position: absolute; left: 50%; top: 9%; transform: translateX(-50%);
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 15px;
  text-align: center; line-height: 1.1;
}
.me span { display: block; font-size: 10px; }

.card {
  position: absolute; left: 0; top: 0;
  width: var(--cw); aspect-ratio: 3 / 4.15;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.2);
  transform-origin: 50% 50%;
  will-change: transform;
  cursor: pointer;
}
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .6s; }
.card:hover img { transform: scale(1.06); }
.card::before { /* tag hole */
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.45); z-index: 2;
}
.card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: end;
}
.card .cap b {
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 13px; letter-spacing: 0;
}
.card.brand { background: var(--red); display: grid; place-items: center; }
.card.brand::before { background: rgba(0,0,0,.35); }
.brand-mark {
  width: 64%; aspect-ratio: 1; border: 9px solid var(--ink); border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
  display: grid; place-items: center;
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 34px;
}
.card.brand .sub {
  position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  font-size: 9px; font-weight: 700; letter-spacing: .2em;
}
.hint {
  position: absolute; left: clamp(16px, 3vw, 36px); bottom: 18px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  z-index: 5; pointer-events: none;
}

/* ============ WORK / curved flow ============ */
.work {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px) 1fr;
  background: var(--ink);
  color: var(--white);
}
.work-side { position: sticky; top: 0; height: 100vh; padding: 14vh clamp(16px, 3vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.work-side.right { align-items: flex-end; justify-content: flex-end; }
.work-side .muted { color: #9a9a96; max-width: 30ch; font-size: 14px; line-height: 1.5; }
.work-side .label { color: var(--red); }
.count { font-size: 14px; color: var(--white) !important; }
.flow {
  background: linear-gradient(180deg, var(--bg) 0%, #cfcfcc 100%);
  padding: 40vh 34px;
  perspective: 1300px;
  display: flex; flex-direction: column; align-items: center;
}
.fcard {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: -1vh;
  box-shadow: 0 24px 44px rgba(0,0,0,.32);
  will-change: transform;
  cursor: pointer;
  position: relative;
  backface-visibility: hidden;
}
.fcard::after { /* depth shading: opacity-only, much cheaper than filter: brightness() */
  content: ""; position: absolute; inset: 0; background: #000;
  opacity: var(--dim, 0); pointer-events: none;
}
.fcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #cfcfcc; }
.fcard.portrait img { aspect-ratio: 4 / 5; }
.fcard .bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--white); color: var(--ink);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.fcard .bar b { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 15px; letter-spacing: 0; }
.fcard.red  .bar { background: var(--red); color: var(--ink); }
.fcard.dark .bar { background: #151515; color: var(--white); }
.fcard .num {
  position: absolute; top: 10px; right: 16px;
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: 64px; line-height: 1; color: rgba(255,255,255,.9);
  mix-blend-mode: difference;
}

/* ============ GALLERY ============ */
.gallery { padding: 16vh clamp(16px, 4vw, 60px) 12vh; }
.section-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 24px; margin-bottom: 40px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.section-head .label { align-self: start; color: var(--red); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line);
  transition: all .25s;
}
.filters button:hover { border-color: var(--ink); }
.filters button.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.grid { columns: 3 320px; column-gap: 14px; }
.tile {
  break-inside: avoid; margin-bottom: 14px; position: relative;
  border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--bg-2);
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s, transform .7s;
}
.tile.in { opacity: 1; transform: none; }
.tile.hide { display: none; }
.tile img { width: 100%; height: auto; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .18s; }
.tile:hover img { --hs: 1.04; }
.tile .cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white); border-radius: 8px; padding: 9px 12px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.tile:hover .cap { transform: none; }
.tile .cap b { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 13px; letter-spacing: 0; }

/* ============ ABOUT ============ */
.about {
  display: grid; grid-template-columns: minmax(260px, 1fr) 1.4fr; gap: clamp(24px, 5vw, 80px);
  padding: 10vh clamp(16px, 4vw, 60px) 16vh;
  align-items: start;
}
.about-card {
  aspect-ratio: 3 / 4; border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: sticky; top: 100px;
}
.about-card.red { background: var(--red); }
.about-card { gap: 22px; }
.about-photo {
  flex: 1; min-height: 0; position: relative;
  border-radius: 12px; overflow: hidden; background: #b9372a;
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%;
  --tone: grayscale(1) contrast(1.05); --hs: 1.04;
  transition: filter .6s, transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.about-card:hover .about-photo img { --tone: grayscale(0) contrast(1); --hs: 1; }
.about-card .label { position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--red); padding: 7px 10px; border-radius: 6px; }
.about-card h2 { font-size: clamp(34px, 4.6vw, 68px); }
.about-text { padding-top: 10px; }
.lead { font-size: clamp(20px, 2vw, 28px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; margin-bottom: 22px; }
.about-text > p:not(.lead) { color: var(--muted); line-height: 1.65; max-width: 56ch; margin-bottom: 40px; }
.services { list-style: none; border-top: 1px solid var(--line); }
.services li {
  display: flex; gap: 22px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-variation-settings: "wdth" 120; font-weight: 800;
  font-size: clamp(18px, 2vw, 26px); text-transform: uppercase;
  transition: padding .3s, color .3s;
}
.services li:hover { padding-left: 12px; color: var(--red); }
.services li span { font-family: var(--body); font-size: 11px; color: var(--muted); font-weight: 600; }

/* ============ PRICING ============ */
.pricing { padding: 16vh clamp(16px, 4vw, 60px) 16vh; }
.pricing .section-head { grid-template-columns: auto auto 1fr; }
.price-intro { justify-self: end; max-width: 34ch; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: right; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: 18px; padding: 26px 24px 24px;
  border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(0,0,0,.1); }
.plan.featured { background: var(--red); border-color: var(--red); }
.plan .tag {
  position: absolute; top: -12px; right: 20px;
  background: var(--ink); color: var(--white); border-radius: 999px; padding: 7px 12px;
  box-shadow: 0 0 0 3px var(--bg);
  font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.plan h3 {
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: 17px; text-transform: uppercase; line-height: 1.1;
}
.plan .for { font-size: 13px; color: var(--muted); margin-top: 6px; }
.plan.featured .for { color: rgba(14,14,14,.7); }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 4px; }
.plan .price b {
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(44px, 4.4vw, 60px); line-height: 1; letter-spacing: -.02em;
}
.plan .price span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan.featured .price span { color: rgba(14,14,14,.7); }
.plan ul { list-style: none; margin: 18px 0 26px; border-top: 1px solid var(--line); flex: 1; }
.plan.featured ul { border-color: rgba(14,14,14,.2); }
.plan li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.plan.featured li { border-color: rgba(14,14,14,.15); }
.plan li::before { content: "✓"; font-weight: 700; color: var(--red); flex: none; }
.plan.featured li::before { color: var(--ink); }
.book {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 15px 18px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-family: var(--display); font-variation-settings: "wdth" 120; font-weight: 800;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.book i { font-style: normal; transition: transform .25s; }
.book:hover { background: var(--red); color: var(--ink); }
.book:hover i { transform: translateX(4px); }
.plan.featured .book:hover { background: var(--white); }
.price-extra { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 14px; }
.custom {
  background: var(--ink); color: var(--white); border-radius: 18px; padding: 28px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: end;
}
.custom h3 {
  grid-column: 1 / -1;
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; line-height: 1;
}
.custom h3 em { font-style: normal; color: var(--red); display: block; font-size: 12px; letter-spacing: .14em; margin-bottom: 10px; }
.custom p { color: #a3a39f; font-size: 14px; line-height: 1.55; max-width: 52ch; }
.custom .book { width: auto; gap: 14px; background: var(--red); color: var(--ink); }
.custom .book:hover { background: var(--white); }
.addons { background: var(--bg-2); border-radius: 18px; padding: 24px 26px; }
.addons .label { color: var(--red); margin-bottom: 12px; }
.addons ul { list-style: none; }
#addOns li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
#addOns b { font-family: var(--display); font-variation-settings: "wdth" 120; font-weight: 800; text-transform: uppercase; font-size: 15px; }
#addOns small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
#addOns .amt { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 20px; white-space: nowrap; }
.notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.notes li { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); }

/* ============ CONTACT ============ */
.contact {
  background: var(--ink); color: var(--white);
  padding: 16vh clamp(16px, 4vw, 60px) 30px;
}
.contact .label { color: var(--red); margin-bottom: 20px; }
.big { font-size: clamp(40px, 8.5vw, 140px); line-height: .9; }
.big em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 80px); margin: 60px 0 14vh; align-items: start; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.muted-l { color: #8a8a86; font-size: 13px; margin-bottom: 16px; }
.msg { background: #161616; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.msg-label { color: var(--red); margin: 0 !important; }
.msg .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.msg label > span, .msg legend { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #9a9a96; margin-bottom: 8px; font-weight: 600; }
.msg input[type=text], .msg input[type=email], .msg textarea {
  width: 100%; background: #0e0e0e; color: var(--white);
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  padding: 14px 16px; font: inherit; font-size: 15px; resize: vertical;
  transition: border-color .2s, background .2s;
}
.msg textarea::placeholder { color: #5f5f5c; }
.msg input:focus, .msg textarea:focus { outline: none; border-color: var(--red); background: #121212; }
.msg .bad { border-color: #ff6b57 !important; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label span {
  display: inline-block; margin: 0; padding: 9px 15px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); color: var(--white);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  transition: all .2s;
}
.chips input:checked + span { background: var(--red); border-color: var(--red); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.send {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--red); color: var(--ink); border-radius: 999px; padding: 16px 26px;
  font-family: var(--display); font-variation-settings: "wdth" 120; font-weight: 800;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s, transform .25s;
}
.send i { font-style: normal; transition: transform .25s; }
.send:hover { background: var(--white); }
.send:hover i { transform: translateX(4px); }
.send:disabled { opacity: .6; cursor: wait; }
.status { font-size: 13px; color: #9a9a96; }
.status.ok { color: #7fd67f; }
.status.err { color: #ff8a7a; }
.contact-links a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
.contact-links a:first-child { background: var(--red); border-color: var(--red); color: var(--ink); }
.contact-links a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.foot { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8a8a86; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14,14,14,.94);
  display: grid; grid-template-columns: 70px 1fr 70px; align-items: center;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 16px; max-height: 92vh; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 6px; transform: scale(.96); transition: transform .45s; }
.lightbox.open img { transform: none; }
.lightbox figcaption { display: flex; gap: 18px; align-items: baseline; color: var(--white); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.lightbox figcaption b { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 18px; letter-spacing: 0; }
.lightbox figcaption span:last-child { color: var(--red); }
.lb-prev, .lb-next, .lb-close { color: var(--white); font-size: 22px; width: 52px; height: 52px; border-radius: 50%; justify-self: center; transition: background .2s; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { background: rgba(255,255,255,.12); }
.lb-close { position: absolute; top: 18px; right: 18px; font-size: 18px; }

/* ============ MOTION BLUR (scroll speed) ============ */
/* JS sets --stretch (1 → 1.07) and data-mb (0/1/2) on <html> from scroll velocity */
.mb {
  transform: scale(var(--hs, 1)) scaleY(var(--stretch, 1));
  filter: var(--tone, none);
}
html[data-mb="1"] .mb { filter: var(--tone, ) blur(1.4px); }
html[data-mb="2"] .mb { filter: var(--tone, ) blur(3px); }
.fcard .mb { transition: filter .18s; }

/* ============ PERFORMANCE ============ */
.card { contain: layout paint; backface-visibility: hidden; }
.hero.off .disc-text, .hero.off .t, .hero.off .red-bar { animation-play-state: paused; }
/* lite mode (phones, tablets, low-power machines): static title warp, no blur */
html.lite .t-solid  { animation: none; clip-path: inset(0 50% 0 0); }
html.lite .t-solid2 { animation: none; clip-path: inset(0 0 0 50%); }
html.lite .disc-text { animation-duration: 80s; }
html.lite .card, html.lite .fcard { box-shadow: 0 10px 24px rgba(0,0,0,.25); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  :root { --cw: 150px; }
  .nav nav a { padding: 8px 10px; font-size: 10px; }
  .work { grid-template-columns: 1fr; }
  .work-side { position: relative; height: auto; padding: 12vh 20px 4vh; }
  .work-side.right { display: none; }
  .flow { padding: 10vh 20px 20vh; }
  .section-head { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-card { position: relative; top: 0; aspect-ratio: 4 / 5; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing .section-head { grid-template-columns: 1fr; }
  .price-intro { justify-self: start; text-align: left; }
  .price-extra { grid-template-columns: 1fr; }
  .custom { grid-template-columns: 1fr; }
  .tri { display: none; }
}
@media (max-width: 560px) {
  :root { --cw: 128px; }
  .hero-head { height: 40vh; min-height: 280px; padding-top: 10vh; }
  .welcome { top: 10vh; font-size: 11px; }
  .title { margin-top: 9vh; font-size: 14vw; }
  .stage { height: 58vh; }
  .card { border-radius: 12px; box-shadow: 0 10px 22px rgba(0,0,0,.25); }
  .card .cap { padding: 8px; font-size: 7px; }
  .card .cap b { font-size: 9px; }
  .brand-mark { border-width: 5px; font-size: 20px; }
  .card.brand .sub { font-size: 6px; bottom: 9px; }
  .me { font-size: 12px; }
  .hint { display: none; }
  .msg .row { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .hero-meta { font-size: 8px; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .t-solid, .t-solid2, .t-outline { filter: none; }
}
