:root {
  --bg: #070a0f;
  --bg-2: #0c1118;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.14);
  --ink: #f5f7fb;
  --ink-soft: rgba(245, 247, 251, 0.78);
  --muted: rgba(245, 247, 251, 0.58);
  --accent: #34f5c5;
  --accent-2: #7dd3fc;
  --dark: #07101f;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --sans: "Geist", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(140deg, rgba(52, 245, 197, 0.08) 0%, transparent 28%),
    linear-gradient(220deg, rgba(125, 211, 252, 0.09) 0%, transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.34'/%3E%3C/svg%3E");
}

.site-main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.top-nav {
  position: fixed;
  z-index: 80;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 62px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 10, 15, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand-mark {
  display: grid;
  gap: 1px;
  min-width: 150px;
  padding-left: 18px;
}

.brand-mark span {
  font-size: 15px;
  font-weight: 900;
}

.brand-mark small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.top-nav nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.top-nav nav a,
.dock-pill a {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  transition:
    background 220ms ease,
    color 220ms ease;
}

.top-nav nav a:hover,
.dock-pill a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-cta,
.button,
.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.nav-cta {
  min-width: 118px;
  padding: 0 20px;
  background: var(--accent);
  color: #06100d;
}

.nav-cta:hover,
.button:hover,
.line-button:hover {
  transform: translateY(-2px);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 5vw, 88px);
  width: min(1280px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 140px 0 90px;
}

.hero-copy {
  max-width: 72rem;
}

.section-kicker,
.card-label,
.project-type,
.eyebrow,
.line-label,
.tag {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

h1 {
  max-width: 72rem;
  margin-bottom: 24px;
  font-size: clamp(3rem, 4.5vw, 5.4rem);
  line-height: 1.02;
  font-weight: 900;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.7vw, 1.38rem);
  line-height: 1.85;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-width: 156px;
  padding: 0 22px;
}

.button-primary {
  background: var(--accent);
  color: #06100d;
  box-shadow: 0 18px 38px rgba(52, 245, 197, 0.18);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.portrait-card,
.hero-system-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.portrait-card {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(86%, 430px);
  aspect-ratio: 4 / 5;
}

.portrait-card img,
.hero-system-card img,
.project-media img,
.thread-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.portrait-card img {
  object-position: 50% 34%;
}

.portrait-note {
  position: absolute;
  left: 0;
  bottom: 52px;
  display: grid;
  gap: 4px;
  width: min(360px, 74%);
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 10, 15, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.portrait-note span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.portrait-note strong {
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.hero-system-card {
  position: absolute;
  left: 0;
  right: 4%;
  bottom: 16px;
  aspect-ratio: 16 / 9;
}

.hero-system-card img {
  filter: saturate(1.08) contrast(1.08);
}

.hero-system-card:hover img,
.project-media button:hover img,
.thread-gallery button:hover img {
  transform: scale(1.05);
}

.marquee-band {
  display: flex;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.marquee-track {
  display: flex;
  flex: 0 0 auto;
  gap: 44px;
  min-width: 100%;
  padding: 24px 22px;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  color: var(--ink-soft);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 900;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.work-section,
.projects-section,
.case-gallery-section,
.accordion-section,
.final-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(110px, 14vw, 190px) 0;
}

.section-intro {
  max-width: 920px;
  margin-bottom: 54px;
}

.section-intro h2,
.projects-pin h2,
.final-cta h2,
.service-hero h1,
.section-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 1.1;
  font-weight: 900;
}

.section-intro p:not(.section-kicker),
.projects-pin p,
.final-cta p,
.service-lead,
.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
  font-weight: 600;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.bento-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    var(--panel);
  overflow: hidden;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.bento-card:hover {
  border-color: rgba(52, 245, 197, 0.42);
  background:
    linear-gradient(145deg, rgba(52, 245, 197, 0.13), rgba(255, 255, 255, 0.05)),
    var(--panel);
  transform: translateY(-5px);
}

.bento-wide {
  grid-column: span 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  align-items: end;
  min-height: 270px;
}

.bento-feature {
  grid-column: span 2;
}

.bento-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1.24;
  font-weight: 900;
}

.bento-card p:not(.card-label) {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 600;
}

.projects-section {
  width: min(1240px, calc(100% - 40px));
}

.projects-shell {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(32px, 5vw, 76px);
}

.projects-pin {
  position: sticky;
  top: 118px;
}

.project-stack {
  display: grid;
  gap: 72px;
  padding-bottom: 24vh;
}

.project-card {
  --stack-offset: 0px;
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
  gap: 28px;
  min-height: 520px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 17, 24, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.project-card:nth-child(2) {
  --stack-offset: 0px;
}

.project-card:nth-child(3) {
  --stack-offset: 0px;
}

.project-media,
.thread-gallery {
  min-height: 420px;
}

.project-yuka {
  grid-template-columns: 1fr;
}

.project-yuka .project-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.project-yuka .project-copy {
  max-width: 760px;
}

.project-media button,
.thread-gallery button,
.case-tile,
.thread-shot {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: zoom-in;
}

.phone-media {
  max-width: 310px;
  justify-self: center;
}

.phone-media button {
  aspect-ratio: 9 / 16.5;
  height: auto;
}

.phone-media img {
  object-position: top center;
}

.thread-gallery {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.project-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.2vw, 3.45rem);
  line-height: 1.08;
  font-weight: 900;
}

.project-copy p:not(.project-type) {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 600;
}

.project-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.project-copy a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.project-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  color: var(--accent);
  font-size: clamp(1.55rem, 3vw, 2.8rem);
  font-weight: 900;
}

.project-proof i {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.metric-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.metric-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.accordion-section {
  padding-top: clamp(80px, 10vw, 150px);
}

.case-gallery-section {
  width: min(1240px, calc(100% - 40px));
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.case-tile {
  position: relative;
  min-height: 300px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.case-tile.case-wide {
  grid-column: span 2;
}

.case-tile img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.case-tile:hover img {
  transform: scale(1.05);
}

.case-tile span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(7, 10, 15, 0.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.horizontal-accordion {
  display: flex;
  gap: 12px;
  min-height: 390px;
}

.horizontal-accordion article {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(52, 245, 197, 0.1), rgba(255, 255, 255, 0.04)),
    var(--panel);
  overflow: hidden;
  transition:
    flex 420ms ease,
    background 420ms ease;
}

.horizontal-accordion article:hover {
  flex: 1.75;
  background:
    linear-gradient(160deg, rgba(125, 211, 252, 0.17), rgba(255, 255, 255, 0.05)),
    var(--panel);
}

.horizontal-accordion h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 3rem);
  line-height: 1.1;
}

.horizontal-accordion p {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.8;
  font-weight: 600;
}

.final-cta {
  margin-bottom: 64px;
  padding: clamp(62px, 10vw, 120px);
  border: 1px solid rgba(52, 245, 197, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(52, 245, 197, 0.16), rgba(255, 255, 255, 0.05)),
    var(--bg-2);
}

.final-cta h2 {
  max-width: 920px;
}

.floating-line-button {
  position: fixed;
  z-index: 70;
  right: 22px;
  bottom: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #06c755;
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(6, 199, 85, 0.22);
  font-size: 14px;
  font-weight: 900;
}

.dock-nav {
  position: fixed;
  z-index: 69;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.dock-icon,
.dock-pill {
  border: 1px solid var(--line);
  background: rgba(7, 10, 15, 0.74);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.dock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.dock-icon.active {
  background: var(--accent);
  color: #06100d;
}

.dock-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 46px;
  padding: 0 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.site-footer,
footer {
  display: grid;
  gap: 8px;
  padding: 54px 24px 108px;
  color: var(--muted);
  text-align: center;
}

.site-footer strong,
footer strong {
  color: var(--ink);
  font-size: 16px;
}

.fade-in,
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.fade-in.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-lightbox {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
}

.case-lightbox.is-open {
  display: flex;
}

.case-lightbox-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1017;
  box-shadow: var(--shadow);
}

.case-lightbox img {
  width: 100%;
  max-height: calc(100vh - 132px);
  border-radius: 8px;
  object-fit: contain;
  background: #05070a;
}

.case-lightbox-title {
  margin: 12px 48px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.case-lightbox-close {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.service-page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 130px;
}

.service-hero,
.service-section {
  padding: 58px 0;
}

.back-link,
.scope-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.service-lead .quote,
.statement {
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.5;
  font-weight: 900;
}

.scope-grid,
.pricing-grid,
.deliverables,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scope-grid article,
.deliverables article,
.price-card,
.proof-grid article,
.line-contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.scope-grid h3,
.deliverables h3,
.price-card h3,
.proof-grid h3,
.line-contact-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.3;
}

.scope-grid p,
.deliverables p,
.price-card p,
.proof-grid p,
.line-contact-card li {
  color: var(--ink-soft);
  line-height: 1.8;
  font-weight: 600;
}

.price-card.featured {
  border-color: rgba(52, 245, 197, 0.35);
  background: rgba(52, 245, 197, 0.1);
}

.price {
  color: var(--accent) !important;
  font-size: 32px !important;
  font-weight: 900 !important;
}

.meta {
  color: var(--muted) !important;
}

.deliverables article {
  display: flex;
  gap: 16px;
}

.deliverables span {
  color: var(--accent);
  font-weight: 900;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
  min-height: 58px;
  color: var(--ink-soft);
  line-height: 1.8;
  font-weight: 700;
}

.timeline span {
  width: 10px;
  height: 10px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.line-contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}

.line-contact-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.line-button {
  min-width: 150px;
  padding: 0 20px;
  background: var(--accent);
  color: #06100d;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .project-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 980px) {
  .top-nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .top-nav nav {
    display: none;
  }

  .hero-section,
  .projects-shell,
  .project-card,
  .bento-wide,
  .line-contact-card {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .portrait-card {
    right: 0;
    width: min(70%, 320px);
  }

  .hero-system-card {
    right: 10%;
  }

  .projects-pin {
    position: relative;
    top: auto;
  }

  .project-card {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .project-media,
  .thread-gallery {
    min-height: 330px;
  }

  .project-yuka .project-media,
  .project-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .phone-media {
    width: min(100%, 330px);
  }

  .phone-media {
    aspect-ratio: auto;
  }
}

@media (max-width: 760px) {
  .top-nav {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 56px;
  }

  .brand-mark {
    min-width: 0;
    padding-left: 12px;
  }

  .brand-mark small {
    display: none;
  }

  .nav-cta {
    min-width: 98px;
    padding: 0 14px;
  }

  .hero-section,
  .work-section,
  .projects-section,
  .case-gallery-section,
  .accordion-section,
  .final-cta,
  .service-page {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 4.2rem);
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 520px;
  }

  .portrait-card {
    left: 50%;
    right: auto;
    width: min(78vw, 330px);
    transform: translateX(-50%);
  }

  .portrait-note {
    left: 50%;
    bottom: 16px;
    width: min(86vw, 340px);
    transform: translateX(-50%);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .bento-grid,
  .case-gallery,
  .scope-grid,
  .pricing-grid,
  .deliverables,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide,
  .bento-feature,
  .case-tile.case-wide {
    grid-column: span 1;
  }

  .case-tile,
  .case-tile img {
    min-height: 240px;
  }

  .horizontal-accordion {
    display: grid;
    min-height: 0;
  }

  .horizontal-accordion article,
  .horizontal-accordion article:hover {
    flex: none;
    min-height: 190px;
  }

  .final-cta {
    padding: 38px 24px;
  }

  .floating-line-button {
    display: none;
  }

  .dock-nav {
    left: 8px;
    right: 8px;
    bottom: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    transform: none;
    scrollbar-width: none;
  }

  .dock-nav::-webkit-scrollbar {
    display: none;
  }

  .dock-pill {
    min-width: max-content;
  }

  .dock-pill a {
    padding: 9px 10px;
    font-size: 12px;
  }

  .case-lightbox {
    padding: 12px;
  }
}

@media (max-width: 430px) {
  .bento-card,
  .project-card,
  .scope-grid article,
  .deliverables article,
  .price-card {
    padding: 20px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .project-media,
  .thread-gallery {
    min-height: 0;
  }

  .phone-media button {
    aspect-ratio: 9 / 16.5;
  }
}
