/* พริซึม สตูดิโอ — Bold creative agency */
:root {
  --void: #050508;
  --void-2: #0c0c14;
  --void-3: #14141f;
  --ink: #f4f4f8;
  --muted: #8b8ba3;
  --line: rgba(255, 255, 255, 0.08);
  --cyan: #00f5d4;
  --magenta: #ff2d6a;
  --violet: #7b2ff7;
  --acid: #e8ff2a;
  --grad: linear-gradient(120deg, var(--cyan), var(--violet) 45%, var(--magenta));
  --grad-text: linear-gradient(90deg, var(--cyan), var(--magenta));
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Thai', system-ui, sans-serif;
  --wrap: min(1200px, 90vw);
  --rail-w: 64px;
  --header-h: 68px;
  --ticker-h: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient */
.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 18s var(--ease) infinite alternate;
}
.orb-1 {
  width: 50vw;
  height: 50vw;
  top: -15%;
  right: -10%;
  background: radial-gradient(circle, var(--violet), transparent 70%);
}
.orb-2 {
  width: 40vw;
  height: 40vw;
  bottom: 10%;
  left: -15%;
  background: radial-gradient(circle, var(--magenta), transparent 70%);
  animation-delay: -6s;
}
.orb-3 {
  width: 30vw;
  height: 30vw;
  top: 40%;
  left: 30%;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  animation-delay: -12s;
  opacity: 0.2;
}
@keyframes float {
  to { transform: translate(4%, 8%) scale(1.08); }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  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='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 47, 247, 0.15), transparent 65%);
  pointer-events: none;
  z-index: 9997;
  opacity: 0;
  transition: opacity 0.4s;
}
body.has-pointer .cursor-glow { opacity: 1; }

img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease), opacity 0.2s; }
.container { width: var(--wrap); margin-inline: auto; }

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.animate.in-view { opacity: 1; transform: none; }

/* Side rail */
.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-right: 1px solid var(--line);
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
}
.rail-mark img { display: block; }
.rail-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rail-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  border-radius: 8px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.rail-links a::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.75rem;
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  background: var(--void-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.rail-links a:hover {
  color: var(--ink);
  background: var(--void-3);
}
.rail-links a:hover::after { opacity: 1; }
.rail-year {
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.shell {
  margin-left: var(--rail-w);
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* Ticker */
.ticker {
  height: var(--ticker-h);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--void-2);
}
.ticker-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker-inner span:nth-child(odd) { color: var(--cyan); }
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.header.scrolled {
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.header-row {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 5vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.brand-name em {
  font-style: normal;
  color: var(--cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 0.5rem 1.1rem;
  background: var(--grad);
  color: var(--void) !important;
  font-weight: 600 !important;
  border-radius: 100px;
}
.nav-cta:hover { opacity: 0.9; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.active span:first-child { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:last-child { transform: translateY(-9px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-fill {
  background: var(--grad);
  color: var(--void);
  box-shadow: 0 8px 32px rgba(123, 47, 247, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 3rem 5vw 4rem;
  min-height: calc(100vh - var(--header-h) - var(--ticker-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1400px;
  margin-inline: auto;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.hero-title .line {
  display: block;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  letter-spacing: -0.03em;
}
.hero-title .outline {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
  color: transparent;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 2rem;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-metrics {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-metrics span {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  transform: rotate(2deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 5, 8, 0.6));
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--acid);
}
.badge-txt { font-size: 0.75rem; color: var(--muted); }

.hero-float-card {
  position: absolute;
  top: 8%;
  right: -12%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  background: var(--void-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: bob 4s var(--ease) infinite alternate;
  max-width: 220px;
}
.hero-float-card img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}
.hero-float-card strong {
  display: block;
  font-size: 0.8rem;
}
.hero-float-card span { font-size: 0.7rem; color: var(--muted); }
@keyframes bob {
  to { transform: translateY(-8px) rotate(-1deg); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.hero-scroll-hint i {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.3); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Clients */
.clients {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.clients-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}
.clients-marquee { overflow: hidden; }
.clients-track {
  display: flex;
  gap: 3rem;
  animation: ticker 22s linear infinite;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}
.clients-track span:hover { color: var(--cyan); transition: color 0.3s; }

/* Section head */
.sec-head {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.sec-head.compact { margin-bottom: 2rem; }
.sec-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--magenta);
  padding-top: 0.35rem;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.sec-head p { color: var(--muted); font-size: 1rem; }

/* Services bento */
.services { padding: 5rem 0; }
.service-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.svc-card {
  background: var(--void-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.svc-card:hover {
  border-color: rgba(0, 245, 212, 0.3);
  transform: translateY(-4px);
}
.svc-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.svc-img { overflow: hidden; }
.svc-img img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  transition: transform 0.6s var(--ease);
}
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-body { padding: 1.75rem; }
.svc-icon {
  font-size: 1.25rem;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.75rem;
}
.svc-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.svc-body p { color: var(--muted); font-size: 0.9rem; }
.svc-body ul {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.svc-body li {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
}
.svc-accent {
  grid-column: span 1;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.2), rgba(255, 45, 106, 0.15));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
}
.svc-big {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--acid);
  opacity: 0.6;
}
.link-arrow {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--cyan);
}
.link-arrow:hover { text-decoration: underline; }

/* Work horizontal scroll */
.work { padding: 5rem 0; overflow: hidden; }
.work-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.work-filters button {
  padding: 0.45rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.work-filters button:hover,
.work-filters button.active {
  border-color: var(--cyan);
  color: var(--ink);
  background: rgba(0, 245, 212, 0.08);
}
.work-scroll {
  display: flex;
  gap: 1.25rem;
  padding: 0 5vw 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--violet) var(--void-2);
}
.work-scroll::-webkit-scrollbar { height: 6px; }
.work-scroll::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }

.work-card {
  flex: 0 0 min(380px, 78vw);
  scroll-snap-align: start;
  transition: opacity 0.4s, transform 0.4s;
}
.work-card.hidden { opacity: 0.25; transform: scale(0.96); pointer-events: none; }
.work-link {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.work-link img {
  width: 100%;
  aspect-ratio: 4/5;
  transition: transform 0.7s var(--ease);
}
.work-link:hover img { transform: scale(1.06); }
.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(5, 5, 8, 0.95) 0%, transparent 55%);
  transform: translateY(12px);
  opacity: 0.9;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
.work-link:hover .work-overlay {
  transform: none;
  opacity: 1;
}
.work-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}
.work-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.work-overlay p { font-size: 0.85rem; color: var(--muted); }

/* Process */
.process { padding: 5rem 0; background: var(--void-2); }
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step {
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--void);
  transition: border-color 0.3s, background 0.3s;
}
.step:hover {
  border-color: var(--magenta);
  background: rgba(255, 45, 106, 0.05);
}
.step-n {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.9rem; color: var(--muted); }

/* Story — origin, vision, mission */
.story { padding: 5rem 0; }
.story-origin {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--void-2);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.story-article-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.story-article-visual img {
  width: 100%;
  aspect-ratio: 7/5;
}
.story-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--acid);
  border-radius: 100px;
}
.story-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.story-article-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.story-article-body p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.story-article-body strong { color: var(--ink); }
.story-timeline {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.story-timeline li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 1rem;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.story-timeline span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--magenta);
}

.story-vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.vm-card {
  padding: 2rem;
  background: var(--void-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.vm-card:hover {
  border-color: rgba(0, 245, 212, 0.35);
  transform: translateY(-4px);
}
.vm-mission {
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.12), rgba(255, 45, 106, 0.08));
}
.vm-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}
.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.vm-quote {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink) !important;
  line-height: 1.55;
  margin-bottom: 1rem !important;
}
.vm-card > p:last-of-type { color: var(--muted); font-size: 0.9rem; }
.vm-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.vm-list li {
  padding-left: 1rem;
  border-left: 2px solid var(--violet);
}
.vm-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.vm-list span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Company articles grid */
.story-more {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.story-more-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}
.story-more-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}
.story-more-head p { color: var(--muted); font-size: 0.95rem; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.co-article {
  padding: 1.75rem;
  background: var(--void-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.co-article:hover {
  border-color: rgba(255, 45, 106, 0.35);
  transform: translateY(-4px);
}
.co-article-wide { grid-column: span 2; }
.co-article-accent {
  background: linear-gradient(145deg, rgba(0, 245, 212, 0.08), rgba(123, 47, 247, 0.15));
  border-color: rgba(0, 245, 212, 0.2);
}
.co-article-icon {
  font-size: 1.1rem;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.5rem;
}
.co-article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--magenta);
  margin-bottom: 0.65rem;
}
.co-article h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.co-article p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.co-article p strong { color: var(--ink); font-weight: 600; }
.co-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.co-tags li {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.co-article:hover .co-tags li {
  border-color: rgba(0, 245, 212, 0.35);
  color: var(--ink);
}
.co-checklist {
  list-style: none;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.co-checklist li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}
.co-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}
.co-article-accent .link-arrow { font-size: 0.9rem; }

.story-quote {
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--violet);
  background: rgba(123, 47, 247, 0.08);
  border-radius: 0 16px 16px 0;
  text-align: center;
  max-width: 720px;
  margin: 2.5rem auto 0;
}
.story-quote p {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.story-quote cite {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}

/* Team */
.team { padding: 5rem 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.member {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--void-2);
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.member:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 45, 106, 0.4);
}
.member-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--grad) border-box;
  padding: 3px;
}
.member-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.member h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.member-role {
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.member-bio { font-size: 0.85rem; color: var(--muted); }

/* CTA band */
.cta-band {
  padding: 4rem 0;
  margin: 2rem 0;
}
.cta-inner {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123, 47, 247, 0.25), transparent),
    var(--void-2);
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 2rem;
}

/* Contact */
.contact { padding: 5rem 0 6rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-list span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.contact-list a:hover { color: var(--cyan); }
.social {
  display: flex;
  gap: 0.75rem;
}
.social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}
.social a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.contact-form {
  padding: 2rem;
  background: var(--void-2);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.contact-form label {
  display: block;
  margin-bottom: 1.25rem;
}
.contact-form label span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--violet);
}
.contact-form textarea { resize: vertical; min-height: 100px; }

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: var(--void-2);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.footer p { font-size: 0.8rem; color: var(--muted); }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-size: 0.85rem; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 10000;
  padding: 1rem 1.5rem;
  background: var(--void-3);
  border: 1px solid var(--cyan);
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease-bounce);
  max-width: 90vw;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin-inline: auto; }
  .hero-float-card { right: 0; top: auto; bottom: -1rem; }
  .service-bento { grid-template-columns: 1fr 1fr; }
  .svc-large { grid-column: span 2; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .story-origin { grid-template-columns: 1fr; }
  .story-vm { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .co-article-wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  :root { --rail-w: 0px; }
  .rail { display: none; }
  .shell { margin-left: 0; }
  .svc-large { grid-template-columns: 1fr; }
  .service-bento { grid-template-columns: 1fr; }
  .svc-large, .svc-accent { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: calc(var(--header-h) + var(--ticker-h));
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    background: var(--void);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }
  .nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .process-track { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-metrics { gap: 1.5rem; }
  .footer-row { flex-direction: column; text-align: center; }
  .story-origin { padding: 1.25rem; }
  .story-timeline li { grid-template-columns: 1fr; gap: 0.35rem; }
  .article-grid { grid-template-columns: 1fr; }
  .co-article-wide { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .animate { opacity: 1; transform: none; }
}
