/* ==========================================================================
   Sabnam Khatun · Portfolio
   Concept: the page is a workflow. A vermilion wire runs from TRIGGER to GOAL,
   painted like a brushstroke, wired like a GoHighLevel automation.
   Palette: white · Kalighat indigo ink · vermilion.
   Type: Eczar (display) · Anek Latin (text) · Geist Mono (workflow labels).
   ========================================================================== */

@font-face { font-family: "Eczar"; src: url("../fonts/eczar.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Anek Latin"; src: url("../fonts/anek-latin.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Galada"; src: url("../fonts/galada-sig.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #1D1A4A;       /* Kalighat indigo ink */
  --ink-2: #4B4880;     /* muted ink */
  --indigo: #25226F;    /* the work canvas */
  --verm: #EE4B2B;      /* the wire */
  --verm-ink: #B9321A;  /* vermilion for small text on light grounds */
  --leaf: #13804C;      /* "running" */
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --f-display: "Eczar", Georgia, "Times New Roman", serif;
  --f-body: "Anek Latin", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-bn: "Galada", "Noto Sans Bengali", sans-serif;
  --maxw: 1400px;
  --rail-x: 72px;       /* where the wire runs, from the wrap's left edge */
  --gap: 64px;          /* wire to content */
  --pad: 40px;          /* right page margin */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --snap: cubic-bezier(.65, .05, .25, 1);
}
@media (max-width: 760px) { :root { --rail-x: 22px; --gap: 28px; --pad: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 18px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--verm); color: #fff; }
:focus-visible { outline: 3px solid var(--verm); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding-left: calc(var(--rail-x) + var(--gap)); padding-right: var(--pad); }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink);
  font: 600 17px/1 var(--f-body); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--verm); border-color: var(--verm); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; gap: 8px; background: transparent; color: var(--ink); }
.btn-sm:hover { background: var(--ink); color: var(--paper); }
.btn-sm .ico { width: 18px; height: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; padding-top: 22px; }
.top-row { display: flex; align-items: center; gap: 28px; }
.mark { font: 800 30px/1 var(--f-display); letter-spacing: -.04em; text-decoration: none; display: inline-flex; align-items: flex-end; gap: 3px; }
.mark i { width: 9px; height: 9px; border-radius: 50%; background: var(--verm); margin-bottom: 5px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 600; font-size: 17px; text-decoration: none; position: relative; padding: 10px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--verm); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
@media (max-width: 760px) { .nav { display: none; } .top-row .btn-sm { margin-left: auto; } }

/* ---------- the wire ---------- */
.flow { position: relative; isolation: isolate; overflow-x: clip; }
.wire { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; overflow: visible; }
.wire-track { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1.5 9; }
.wire-ink { fill: none; stroke: var(--verm); stroke-width: 4; stroke-linecap: round; }
.wire-lead { fill: var(--verm); stroke: var(--paper); stroke-width: 3; }
.wire-halo { fill: var(--verm); opacity: .28; transform-box: fill-box; transform-origin: center; animation: halo 2.2s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.1); opacity: 0; } }
@media (max-width: 760px) { .wire-ink { stroke-width: 3; } .wire-lead { stroke-width: 2.5; } }

/* nodes */
.node { position: relative; display: flex; align-items: center; min-height: 30px; margin-bottom: 30px; }
.node-dot {
  position: absolute; left: calc(-1 * var(--gap)); top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border-radius: 50%; background: var(--bg, var(--paper)); border: 3px solid var(--ink);
  transition: background-color .35s, transform .45s var(--ease), box-shadow .45s;
}
.node.is-lit .node-dot { background: var(--verm); transform: scale(1.12); box-shadow: 0 0 0 6px color-mix(in srgb, var(--verm) 22%, transparent); }
.node[data-kind="ifelse"] .node-dot { border-radius: 5px; transform: rotate(45deg) scale(.86); }
.node[data-kind="ifelse"].is-lit .node-dot { transform: rotate(45deg) scale(.98); }
.node[data-kind="goal"] .node-dot { width: 32px; height: 32px; margin: -16px 0 0 -16px; box-shadow: inset 0 0 0 4px var(--bg, var(--paper)); }
.node[data-kind="goal"].is-lit .node-dot { box-shadow: inset 0 0 0 4px var(--bg, var(--paper)), 0 0 0 7px color-mix(in srgb, var(--verm) 25%, transparent); }
.node-tag { font: 500 14px/1.3 var(--f-mono); letter-spacing: .01em; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.node-tag b { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.node-tag span { opacity: .78; }

/* ---------- hero (TRIGGER) ---------- */
.hero { --bg: var(--paper); background: var(--bg); position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 124px 0 96px; overflow-x: clip; }
.hero > .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 56px; align-items: center; }
.name { font-family: var(--f-display); font-weight: 800; font-size: clamp(76px, 12.6vw, 206px); line-height: .84; letter-spacing: -.035em; margin: 0 0 clamp(26px, 3.4vw, 46px); }
.name-line { display: block; position: relative; width: max-content; max-width: 100%; isolation: isolate; }
.name-in { display: inline-block; }
.swash { position: absolute; z-index: -1; left: -.07em; bottom: -.2em; width: calc(100% + .5em); height: auto; color: var(--verm); overflow: visible; pointer-events: none; }
.sw-body { fill: currentColor; }
.sw-bristles { stroke: currentColor; }
.role { font: 500 15px/1.4 var(--f-mono); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 14px; }
.lede { font-size: clamp(21px, 2vw, 27px); line-height: 1.32; font-weight: 500; max-width: 25ch; margin-bottom: 30px; }

/* sample workflow card */
.flowcard { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 22px; padding: 18px 20px 14px; box-shadow: 10px 10px 0 var(--ink); }
.fc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px dashed color-mix(in srgb, var(--ink) 22%, transparent); }
.fc-title { font: 600 14px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; }
.fc-live { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--f-mono); color: var(--leaf); }
.fc-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 color-mix(in srgb, var(--leaf) 50%, transparent); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.fc-steps { position: relative; }
.fc-steps::before { content: ""; position: absolute; left: 19px; top: 30px; bottom: 30px; width: 2px; background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--ink) 40%, transparent) 0 4px, transparent 4px 9px); }
.fc-steps li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; column-gap: 14px; align-items: center; padding: 8px 0; }
.fc-ico { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; position: relative; z-index: 1; transition: background-color .3s, color .3s; }
.fc-ico .ico { width: 18px; height: 18px; }
.fc-k { font: 500 14px/1.2 var(--f-mono); color: var(--ink-2); }
.fc-v { font: 600 18px/1.25 var(--f-body); }
.fc-ok { grid-column: 3; grid-row: 1 / span 2; color: var(--leaf); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.fc-ok .ico { width: 22px; height: 22px; stroke-width: 3; }
.fc-steps li.active .fc-ico { background: var(--verm); color: #fff; border-color: var(--ink); animation: ping 1s var(--ease); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--verm) 55%, transparent); transform: scale(.9); } 60% { transform: scale(1.08); } 100% { box-shadow: 0 0 0 12px transparent; transform: scale(1); } }
.fc-steps li.done .fc-ico { background: var(--ink); color: #fff; }
.fc-steps li.done .fc-ok { opacity: 1; transform: none; }
.fc-dot { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--verm); border: 2px solid var(--card); z-index: 2; opacity: 0; transition: transform .6s var(--snap), opacity .3s; }
.flowcard.running .fc-dot { opacity: 1; }
.flowcard.complete .fc-dot { opacity: 0; }

/* intro motion */
.js .name-in { opacity: 0; transform: translateY(.28em); animation: rise 1s var(--ease) .08s forwards; }
.js .name-last .name-in { animation-delay: .2s; }
.js .swash { clip-path: inset(-30% 100% -30% -5%); animation: paint 1.05s var(--snap) .62s forwards; }
.js .hero .role, .js .hero .lede, .js .hero .cta-row { opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease) forwards; }
.js .hero .role { animation-delay: .5s; } .js .hero .lede { animation-delay: .6s; } .js .hero .cta-row { animation-delay: .7s; }
.js .flowcard { opacity: 0; transform: translateY(26px) rotate(1.5deg); animation: rise .9s var(--ease) .85s forwards; }
.js .hero .node-tag { opacity: 0; animation: rise .6s var(--ease) .1s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes paint { to { clip-path: inset(-30% -10% -30% -5%); } }

/* ---------- shared section bits ---------- */
.sec-title { font: 700 clamp(46px, 7.2vw, 108px)/.94 var(--f-display); letter-spacing: -.03em; max-width: 13ch; }
.p-kicker { font: 500 14px/1.4 var(--f-mono); letter-spacing: .02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { font: 500 14px/1 var(--f-mono); padding: 9px 13px; border-radius: 999px; border: 1.5px solid currentColor; }

.reveal-ready [data-reveal]:not(.in) { opacity: 0; transform: translateY(30px); }
.reveal-ready [data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* ---------- work (ACTION) ---------- */
.work { --bg: var(--indigo); background: var(--bg); color: var(--paper); padding: clamp(96px, 11vw, 150px) 0 clamp(110px, 12vw, 170px); position: relative; }
.work .node-dot { border-color: var(--paper); }
.work .node.is-lit .node-dot { border-color: var(--paper); }
.work .sec-title { color: var(--paper); }
.project { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 84px); align-items: center; margin-top: clamp(72px, 9vw, 136px); }
.project-flip .p-visual { order: 2; }
.p-visual { position: relative; }
.shot { display: block; border-radius: 18px; overflow: hidden; background: #fff; text-decoration: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--paper) 22%, transparent), 0 40px 80px -40px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }
.shot:hover { transform: translateY(-6px) rotate(-.6deg); }
.project-flip .shot:hover { transform: translateY(-6px) rotate(.6deg); }
.shot-bar { display: flex; align-items: center; justify-content: center; height: 42px; background: #E8E6F1; }
.shot-url { font: 500 14px/1 var(--f-mono); color: var(--ink); background: #fff; padding: 7px 16px; border-radius: 999px; }
.shot-img { display: block; aspect-ratio: 16 / 10.4; overflow: hidden; background: #ddd; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: object-position 3.2s cubic-bezier(.45, 0, .2, 1); }
.shot:hover .shot-img img, .shot:focus-visible .shot-img img { object-position: 50% 100%; }
.shot-mid .shot-img img { object-position: 50% 62%; }
.shot-mid:hover .shot-img img, .shot-mid:focus-visible .shot-img img { object-position: 50% 8%; }
.sticker { position: absolute; z-index: 3; height: auto; pointer-events: none; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }
.sticker-round { width: clamp(88px, 9vw, 132px); top: -34px; right: -22px; transform: rotate(12deg); }
.sticker-logo { width: clamp(150px, 15vw, 220px); bottom: -46px; left: -34px; transform: rotate(-7deg); }
.p-title { font: 700 clamp(42px, 4.6vw, 70px)/.95 var(--f-display); letter-spacing: -.025em; margin: 12px 0 16px; }
.work .p-title { color: var(--paper); }
.p-line { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; max-width: 30ch; }
.work .p-line { color: color-mix(in srgb, var(--paper) 88%, transparent); }
.work .p-kicker { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.p-stat { display: flex; align-items: baseline; gap: 14px; margin-top: 26px; }
.p-stat b { font: 800 clamp(66px, 7vw, 108px)/.86 var(--f-display); letter-spacing: -.04em; color: var(--verm); }
.p-stat span { font: 500 14px/1.35 var(--f-mono); max-width: 14ch; color: color-mix(in srgb, var(--paper) 85%, transparent); }
.work .chips li { border-color: color-mix(in srgb, var(--paper) 38%, transparent); color: var(--paper); }
.p-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font: 600 18px/1 var(--f-body); color: var(--paper); text-decoration: none; padding: 6px 0; border-bottom: 2px solid currentColor; transition: gap .3s var(--ease); }
.p-link:hover { gap: 14px; }

/* ticket stub */
.ticket { display: inline-flex; margin-top: 26px; transform: rotate(-3deg); filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .3)); }
.t-main, .t-stub { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 15px 20px; background: var(--paper); color: var(--ink); }
.t-main { border-radius: 12px 0 0 12px; padding-right: 24px; }
.t-stub { border-radius: 0 12px 12px 0; border-left: 2px dashed color-mix(in srgb, var(--ink) 45%, transparent); transform-origin: 0 100%; transition: transform .5s var(--ease); }
.t-main::before, .t-main::after { content: ""; position: absolute; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--indigo); z-index: 1; }
.t-main::before { top: -9px; } .t-main::after { bottom: -9px; }
.t-k { font: 600 14px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; }
.t-v { font: 700 24px/1.05 var(--f-display); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.t-v .ico { width: 20px; height: 20px; stroke-width: 3; color: var(--leaf); }
.ticket:hover .t-stub { transform: rotate(9deg) translate(6px, 2px); }

/* photo strip */
.photos { display: flex; gap: 12px; margin-top: 24px; }
.photos li { width: clamp(64px, 6.2vw, 92px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; transform: rotate(var(--r, 0deg)); box-shadow: 0 0 0 3px var(--paper), 0 12px 20px -8px rgba(0, 0, 0, .5); transition: transform .4s var(--ease); background: #333; }
.photos li:hover { transform: rotate(0) scale(1.08); }
.photos img { width: 100%; height: 100%; object-fit: cover; }

/* handicraft: kantha running stitch */
.craft { position: relative; margin-top: clamp(84px, 10vw, 150px); padding: clamp(30px, 4vw, 52px); border-radius: 22px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 56px; align-items: end; background: color-mix(in srgb, var(--paper) 6%, transparent); }
.stitch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; border-radius: 22px; }
.stitch rect { fill: none; stroke: var(--paper); stroke-width: 6; stroke-dasharray: 14 11; stroke-linecap: round; }
.craft:hover .stitch rect { animation: sew 1.4s linear infinite; }
@keyframes sew { to { stroke-dashoffset: -50; } }
.craft .p-title { margin-bottom: 0; }

/* ---------- about (ACTION) ---------- */
.about { --bg: var(--paper); background: var(--bg); padding: clamp(100px, 12vw, 160px) 0 clamp(70px, 8vw, 110px); }
.statement { font: 600 clamp(38px, 5.4vw, 82px)/1.03 var(--f-display); letter-spacing: -.025em; max-width: 17ch; }
.paint { color: #fff; background: url("../img/paint.svg") center 62% / 100% 74% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .1em; margin: 0 -.06em; }
.about-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); margin-top: clamp(48px, 6vw, 84px); align-items: start; }
.about-p { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; max-width: 32ch; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
.facts .wide { grid-column: 1 / -1; }
.facts dt { font: 500 14px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--verm-ink); margin-bottom: 8px; }
.facts dd { font: 600 clamp(22px, 1.85vw, 27px)/1.15 var(--f-display); letter-spacing: -.01em; text-wrap: balance; }

/* ---------- services (IF / ELSE) ---------- */
.services { --bg: var(--paper); background: var(--bg); padding: clamp(60px, 7vw, 100px) 0 clamp(60px, 7vw, 100px); }
.branches { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin-top: clamp(48px, 6vw, 80px); padding-top: 62px; }
.branches::before { content: ""; position: absolute; top: 0; height: 4px; border-radius: 4px; left: calc(-1 * var(--gap)); right: calc(25% - 27px - 25px); background: var(--verm); transform-origin: left center; transform: scaleX(0); transition: transform 1s var(--snap) .15s; }
.branches.in::before { transform: scaleX(1); }
.branch { position: relative; }
.branch::before { content: ""; position: absolute; top: -62px; left: 23px; width: 4px; height: 50px; border-radius: 4px; background: var(--verm); transform-origin: top center; transform: scaleY(0); transition: transform .45s var(--snap) calc(.9s + var(--i) * .12s); }
.branch::after { content: ""; position: absolute; top: -16px; left: 17px; width: 16px; height: 16px; border-radius: 50%; background: var(--verm); transform: scale(0); transition: transform .4s var(--ease) calc(1.2s + var(--i) * .12s); }
.branches.in .branch::before { transform: scaleY(1); }
.branches.in .branch::after { transform: scale(1); }
.b-if { font: 500 14px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--verm-ink); margin: 10px 0 12px; }
.branch h3 { font: 700 clamp(28px, 2.4vw, 36px)/1.02 var(--f-display); letter-spacing: -.02em; margin-bottom: 12px; }
.branch > p:not(.b-if) { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.branch .chips li { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }

/* ---------- goal (GOAL) ---------- */
.goal { --bg: var(--paper); background: var(--bg); padding: clamp(60px, 7vw, 100px) 0 0; position: relative; }
.goal-kicker { font: 500 16px/1.4 var(--f-mono); }
.goal-title { font: 800 clamp(70px, 13vw, 214px)/.84 var(--f-display); letter-spacing: -.04em; margin: 22px 0 clamp(36px, 4vw, 56px); }
.goal-row { display: grid; gap: 28px; justify-items: start; }
.goal-mail { font: 600 clamp(26px, 3.6vw, 50px)/1.1 var(--f-body); text-decoration: none; padding: 0 .1em 6px; margin-left: -.1em; background: linear-gradient(var(--verm), var(--verm)) 0 100% / 100% 5px no-repeat; transition: background-size .35s var(--ease), color .35s; overflow-wrap: anywhere; }
.goal-mail:hover { background-size: 100% 100%; color: #fff; }
.clocks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 12px; margin-top: 10px; }
.clock { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink); font: 500 14px/1 var(--f-mono); }
.clock time { font: 700 20px/1 var(--f-display); min-width: 4.6ch; }
.clock-note { font: 500 14px/1.3 var(--f-mono); margin-left: 6px; }
.no-js .clocks { display: none; }
.foot { margin-top: clamp(90px, 10vw, 140px); border-top: 2px solid var(--ink); padding: 22px 0 30px; }
.foot-row { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; font: 500 14px/1.3 var(--f-mono); }
.foot-row a { text-decoration: none; border-bottom: 1.5px solid currentColor; }
.sig { margin-left: auto; font: 400 44px/1 var(--f-bn); color: var(--verm); transform: rotate(-5deg); }

/* ---------- floating CTA ---------- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); border: 2px solid var(--ink); font: 600 17px/1 var(--f-body); text-decoration: none; box-shadow: 5px 5px 0 var(--ink); transform: translateY(160%); visibility: hidden; transition: transform .5s var(--snap), visibility 0s .5s; }
.float-cta.show { transform: none; visibility: visible; transition: transform .5s var(--snap); }
.float-cta:hover { background: var(--verm); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .flowcard { max-width: 440px; }
  .branches { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .branches::before { display: none; }
  .branch::before { top: 4px; left: calc(-1 * var(--gap)); width: calc(var(--gap) - 12px); height: 4px; transform-origin: left center; transform: scaleX(0); transition-delay: calc(.2s + var(--i) * .12s); }
  .branches.in .branch::before { transform: scaleX(1); }
  .branch::after { top: -2px; left: -18px; }
  .branches { padding-top: 0; }
  .branch { padding-top: 0; }
}
@media (max-width: 900px) {
  .project, .craft, .about-row { grid-template-columns: minmax(0, 1fr); }
  .project-flip .p-visual { order: 0; }
  .p-text { max-width: 560px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .role span { display: block; } .role .role-sep { display: none; }
  .cta-row .btn { flex: 1 1 auto; }
  .ticket { transform: rotate(-2deg); }
  .t-main, .t-stub { padding: 12px 14px; }
  .t-main { padding-right: 18px; }
  .t-v { font-size: 19px; }
  .float-cta { min-height: 48px; padding: 0 18px; font-size: 16px; box-shadow: 4px 4px 0 var(--ink); }
  .hero { padding: 104px 0 72px; min-height: 0; }
  .name { font-size: clamp(64px, 20.5vw, 120px); }
  .flowcard { box-shadow: 7px 7px 0 var(--ink); padding: 16px 16px 12px; }
  .branches { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .sticker-round { right: -6px; top: -26px; }
  .sticker-logo { left: -10px; bottom: -36px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sig { margin-left: 0; }
  .btn { min-height: 52px; padding: 0 22px; }
  .float-cta { right: 14px; bottom: 14px; }
  .clock-note { margin-left: 0; width: 100%; }
}
@media (max-width: 380px) {
  .cta-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .wire-halo { display: none; }
}

@media print {
  .wire, .float-cta, .top, .flowcard .fc-dot { display: none !important; }
}
