:root {
  --paper: #fff7e8;
  --paper-warm: #ffdf74;
  --surface: #fffefa;
  --ink: #17113f;
  --text: #4c5160;
  --muted: #748097;
  --pink: #ff1493;
  --yellow: #ffe678;
  --mint: #9bd6c8;
  --line: #17113f;
  --soft-line: #e7e4d9;
  --radius-xl: 32px;
  --radius-lg: 16px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --container: 1180px;
  --hero-image: url("assets/images/generated/hero-background-fv-v2.png");
  --hero-image-mobile: url("assets/images/generated/hero-background-fv-mobile.webp");
  --fs-h1: clamp(2.55rem, 3.65vw, 3.55rem);
  --fs-h2: clamp(2rem, 3.45vw, 3.45rem);
  --fs-h2-lg: clamp(2.6rem, 5.2vw, 5.3rem);
  --fs-h2-xl: clamp(3rem, 5vw, 5.8rem);
  --fs-h3: clamp(1.12rem, 1.55vw, 1.32rem);
  --fs-sm: 0.875rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "LINE Seed JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.7;
  background:
    linear-gradient(180deg, var(--paper) 0%, #fff4d6 48%, var(--paper) 100%);
}

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

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

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

h1,
h2,
h3,
h4 {
  letter-spacing: 0.01em;
  line-height: 1.14;
  text-wrap: balance;
  word-break: auto-phrase;
}

p,
li,
dd,
summary {
  text-wrap: pretty;
}

p,
li {
  word-break: auto-phrase;
}

.page {
  overflow: clip;
}

.container {
  width: min(calc(100% - var(--space-6)), var(--container));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 16px;
  left: 0;
  z-index: 20;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 250, 0.86);
  box-shadow: 0 3px 0 var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 116px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
}

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

.site-nav,
.footer-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
}

.site-nav a,
.footer-nav a {
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 var(--space-3);
  border: 2px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-solid {
  color: #fff;
  background: var(--pink);
  border-color: var(--pink);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 5px 0 var(--ink);
}

.button-outline {
  color: var(--ink);
  background: rgba(255, 254, 250, 0.9);
}

.button-ghost {
  color: var(--ink);
  background: var(--mint);
}

.button-text {
  min-height: auto;
  padding: 0 0 4px;
  color: var(--ink);
  border: 0;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
}

.hero,
.section {
  padding: clamp(96px, 11vw, 160px) 0;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
  padding: 144px 0 92px;
  background:
    linear-gradient(90deg, rgba(255, 247, 232, 0.96) 0 38%, rgba(255, 247, 232, 0.68) 52%, rgba(255, 247, 232, 0.1) 72%),
    var(--hero-image, linear-gradient(180deg, var(--paper), #fff1ca));
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: auto, min(100vw, 1672px) auto;
}

.hero-grid,
.section > .container,
.footer-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  align-content: start;
  max-width: 520px;
  gap: var(--space-4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin-bottom: 0;
  padding: 0 13px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  color: #596071;
  background: rgba(255, 254, 250, 0.74);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.45;
}

.hero-copy h1 {
  max-width: 7.7em;
  margin-bottom: 0;
  color: var(--ink);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.12;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead,
.section-copy,
.text-block p,
.contact-owner {
  max-width: 44rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
}

.hero-lead {
  max-width: 36rem;
  margin-bottom: 0;
  line-height: 1.72;
}

.hero-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-1);
}

.section {
  position: relative;
  background: var(--paper);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.34)),
    var(--paper-warm);
}

.two-column,
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: center;
}

#solution .two-column {
  grid-template-columns: minmax(500px, 0.88fr) minmax(480px, 1fr);
  gap: clamp(36px, 4.5vw, 72px);
}

#solution .section-heading {
  max-width: 580px;
  margin-bottom: 0;
}

#solution .section-heading h2 {
  font-size: var(--fs-h2-xl);
}

#solution .section-heading h2 span {
  display: block;
  white-space: nowrap;
}

#solution .text-block {
  max-width: 680px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: var(--space-5);
}

.section-heading h2 {
  margin-bottom: var(--space-2);
  color: var(--ink);
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.section-heading h2 span,
.contact-intro h2 span {
  display: inline-block;
  white-space: nowrap;
}

.grid {
  display: grid;
  gap: var(--space-4);
}

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

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

.card,
.case-card,
.price-card,
.step-card,
.note-box,
.message-box,
.faq-list details {
  position: relative;
  overflow: hidden;
  padding: var(--space-4);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 250, 0.92);
  box-shadow: 0 2px 0 var(--ink);
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: clamp(30px, 3.8vw, 40px);
}

.card-story {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: 26px;
  gap: 0;
}

.card-story h3 {
  margin-bottom: 6px;
}

.card:nth-child(3n + 1) {
  background: #fffefa;
}

.card:nth-child(3n + 2) {
  background: #f4fbf8;
}

.card:nth-child(3n) {
  background: #fff8e6;
}

#services .card {
  min-height: 100%;
  padding-top: clamp(42px, 4.6vw, 56px);
  background: #fffefa;
}

.service-card-image {
  position: absolute;
  top: clamp(22px, 2.8vw, 34px);
  right: clamp(22px, 2.8vw, 34px);
  z-index: 0;
  width: auto;
  max-width: 54%;
  height: clamp(124px, 12.4vw, 174px);
  object-fit: contain;
  opacity: 0.96;
  filter: saturate(1.08) contrast(1.04);
  pointer-events: none;
  user-select: none;
}

#services .card:nth-child(2) .service-card-image,
#services .card:nth-child(4) .service-card-image,
#services .card:nth-child(5) .service-card-image {
  max-width: 60%;
  height: clamp(138px, 13.8vw, 194px);
}

#services .card:nth-child(3) .service-card-image {
  top: clamp(8px, 2.8vw, 20px);
}

#services .card:nth-child(1) .service-card-image,
#services .card:nth-child(2) .service-card-image,
#services .card:nth-child(4) .service-card-image,
#services .card:nth-child(5) .service-card-image {
  top: clamp(16px, 2vw, 24px);
  right: calc(clamp(22px, 2.8vw, 34px) - 16px);
}

#services .card:nth-child(2) .service-card-image,
#services .card:nth-child(4) .service-card-image,
#services .card:nth-child(5) .service-card-image {
  top: clamp(8px, 1.2vw, 14px);
}

.service-icon {
  display: none;
}

.card-kicker {
  position: absolute;
  top: 6px;
  left: 12px;
  z-index: 0;
  margin: 0;
  color: transparent;
  background: transparent;
  font-family: "Bowlby One SC", "Arial Black", sans-serif;
  font-size: clamp(4.2rem, 6.2vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1;
  text-align: left;
  -webkit-text-stroke: 1.2px var(--line);
  pointer-events: none;
}

.card h3,
.card p {
  position: relative;
  z-index: 1;
}

.card h3 {
  padding-right: 0;
}

.card h3,
.price-card h3,
.step-card h3,
.case-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.4;
}

.card p:not(.card-kicker),
.case-card dd,
.price-card p,
.step-card p:not(.card-kicker),
.note-box p,
.message-box p {
  color: var(--text);
  font-weight: 600;
  line-height: 1.68;
}

.card p:not(.card-kicker) {
  margin-bottom: 0;
}

.note-box p,
.message-box p {
  margin-bottom: 0;
}

.section-closing,
.contact-closing {
  margin-top: var(--space-4);
  color: var(--ink);
  font-size: clamp(1.55rem, 2.55vw, 2.55rem);
  font-weight: 800;
  line-height: 1.25;
}

.section-action {
  margin-top: 54px;
}

.note-box,
.message-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 54px;
  background: var(--yellow);
}

.text-block {
  padding: clamp(30px, 4vw, 52px);
  border: 2px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 254, 250, 0.88);
  box-shadow: 0 3px 0 var(--ink);
}

.text-block p {
  margin-bottom: 18px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.case-list {
  display: grid;
  gap: clamp(64px, 7vw, 92px);
}

.case-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: center;
  padding: clamp(38px, 5.2vw, 70px);
}

.case-media-stack {
  display: grid;
  justify-self: center;
  width: min(100%, 460px);
  gap: 18px;
}

.case-media-stack .case-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(220px, 24vw, 280px);
}

.case-media-stack .case-thumb-image {
  aspect-ratio: 4 / 3;
}

.case-result {
  max-width: 720px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
}

.case-result strong {
  color: var(--pink);
  font-weight: 800;
}

.case-thumb {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(220px, 24vw, 280px);
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: 0 3px 0 var(--ink);
}

.case-thumb::before,
.case-thumb::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.case-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-thumb-image::before,
.case-thumb-image::after {
  display: none;
}

.case-thumb-image {
  aspect-ratio: 4 / 3;
}

.case-thumb-image .browser-bar {
  display: none;
}

.case-thumb-image img {
  object-fit: cover;
  object-position: top center;
  background: transparent;
}

.case-thumb::before {
  width: 52%;
  aspect-ratio: 1;
  background: rgba(255, 230, 120, 0.72);
  transform: translate(-34%, 22%);
}

.case-thumb::after {
  right: -18%;
  bottom: -22%;
  width: 58%;
  aspect-ratio: 1;
  background: rgba(155, 214, 200, 0.64);
}

.case-thumb-label {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 254, 250, 0.84);
  font-size: var(--fs-sm);
  font-weight: 800;
}

.case-thumb-video {
  background:
    linear-gradient(135deg, rgba(23, 17, 63, 0.86), rgba(23, 17, 63, 0.7)),
    url("assets/images/cases/hiroki-takahashi.webp") center / cover no-repeat,
    var(--surface);
}

.case-thumb-video img {
  opacity: 0.56;
  filter: saturate(0.92) contrast(0.95);
}

.case-video-frame {
  aspect-ratio: 16 / 9;
  min-height: clamp(220px, 24vw, 280px);
}

.case-video-frame iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-thumb-video .case-thumb-label {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.browser-bar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 44px;
  background: var(--ink);
}

.case-thumb-site {
  background:
    linear-gradient(90deg, rgba(255, 20, 147, 0.82) 0 32%, transparent 32%),
    linear-gradient(180deg, transparent 0 48%, rgba(255, 230, 120, 0.62) 48%),
    var(--surface);
}

.case-thumb-consulting {
  background:
    linear-gradient(135deg, rgba(155, 214, 200, 0.72), transparent 42%),
    linear-gradient(180deg, transparent 0 48%, rgba(23, 17, 63, 0.08) 48%),
    var(--surface);
}

.case-flow {
  display: grid;
  gap: 20px;
  margin-bottom: 0;
}

.case-flow div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--soft-line);
}

.case-flow dt {
  color: var(--pink);
  font-weight: 800;
}

.case-flow dd {
  margin: 0;
  line-height: 1.9;
}

.timeline {
  display: grid;
  gap: 28px;
  max-width: 980px;
  margin-inline: auto;
  counter-reset: steps;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 4vw, 48px);
}

.step-card .card-kicker {
  position: static;
  z-index: auto;
  left: auto;
  right: auto;
  display: inline-flex;
  min-height: 54px;
  margin: 0;
  padding: 0 24px;
  border: 1px solid rgba(23, 17, 63, 0.16);
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--mint);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  pointer-events: auto;
}

.step-content {
  grid-column: 2;
  max-width: 46rem;
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-content p {
  margin-bottom: 0;
}

.flow-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-4);
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0;
  margin: var(--space-3) 0 0;
  list-style: none;
}

.badge-list li,
.flow-meta span {
  padding: 10px 14px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 254, 250, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
}

.price-card {
  background: #fffefa;
}

.price-card:nth-child(2) {
  background: #f4fbf8;
}

.price-card:nth-child(3) {
  background: #fff8e6;
}

.price {
  margin-bottom: 12px;
  color: var(--pink);
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
}

.price-prefix {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border: 1px solid var(--pink);
  border-radius: 999px;
  color: var(--pink);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.price-target {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: 860px;
  margin: 0 auto;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 80px;
  padding: 0 var(--space-3);
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.4;
}

.faq-list details summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--soft-line);
  border-radius: 50%;
  background: var(--surface);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 0;
  padding: 0 var(--space-3) var(--space-3);
  color: var(--text);
  font-weight: 600;
  line-height: 1.68;
}

.contact-section {
  position: relative;
  overflow: hidden;
  margin-top: clamp(36px, 5vw, 80px);
  padding: clamp(136px, 11vw, 188px) 0 clamp(76px, 7vw, 112px);
  background: var(--ink);
  clip-path: ellipse(86% 100% at 50% 100%);
}

.contact-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 920px;
  text-align: center;
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.contact-card,
.contact-card .section-copy,
.contact-card .contact-owner,
.contact-card .contact-closing {
  color: #fff;
}

.contact-card .section-copy,
.contact-card .contact-owner {
  color: rgba(255, 255, 255, 0.78);
}

.contact-intro h2 {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: var(--space-2);
  color: var(--yellow);
  font-size: var(--fs-h2-lg);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.contact-intro h2 span {
  display: block;
  white-space: normal;
}

.contact-owner {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: var(--space-3);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.contact-actions {
  display: grid;
  justify-items: center;
  width: min(100%, 600px);
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.contact-actions .button {
  width: min(100%, 560px);
}

.contact-actions .badge-list {
  justify-content: center;
  margin-top: 4px;
}

.contact-actions .button-outline {
  color: #fff;
  border-color: #06c755;
  background: #06c755;
  box-shadow: none;
}

.contact-actions .badge-list li {
  padding: 7px 12px;
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.1);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-card .contact-closing {
  max-width: 620px;
  margin-top: var(--space-3);
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.35;
}

.site-footer {
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.footer-inner .brand {
  padding: 0;
  background: transparent;
}

.footer-nav a,
.copyright {
  color: rgba(255, 255, 255, 0.78);
}

.footer-nav {
  justify-content: center;
}

.copyright {
  margin-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .two-column,
  .contact-card,
  .case-card {
    grid-template-columns: 1fr;
  }

  #solution .two-column {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  #solution .section-heading {
    max-width: 680px;
  }

  #solution .section-heading h2 span {
    white-space: normal;
  }

  .case-thumb {
    min-height: 280px;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    position: static;
    padding: 18px 0 0;
    background: var(--paper);
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    border-radius: var(--radius-lg);
    flex-direction: column;
  }

  .header-inner {
    gap: 12px;
    box-shadow: none;
  }

  .brand {
    width: 104px;
    min-height: 38px;
  }

  .header-actions {
    width: 100%;
    gap: 10px;
  }

  .header-actions .button {
    flex: 1;
    min-width: 0;
  }

  .hero,
  .section {
    padding: 88px 0;
  }

  .hero {
    width: 100%;
    min-height: auto;
    align-items: flex-start;
    padding-top: 64px;
    padding-bottom: clamp(32px, 8vw, 64px);
    background:
      linear-gradient(180deg, rgba(255, 247, 232, 0.4) 0%, rgba(255, 247, 232, 0.4) 22%, rgba(255, 247, 232, 0.85) 48%, rgba(255, 247, 232, 0.95) 100%),
      var(--hero-image-mobile, var(--hero-image));
    background-position: center top, right 14%;
    background-size: auto, clamp(240px, 64vw, 320px) auto;
    background-repeat: no-repeat, no-repeat;
  }

  .hero + .section {
    padding-top: clamp(32px, 7vw, 56px);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(2.18rem, 9.3vw, 3.35rem);
  }

  .section-heading h2,
  .contact-intro h2 {
    font-size: clamp(2.05rem, 8.2vw, 3.35rem);
  }

  .step-card,
  .case-flow div {
    grid-template-columns: 1fr;
  }

  .step-content {
    grid-column: 1;
  }

  .step-card .card-kicker {
    width: fit-content;
  }

  .case-card {
    gap: 38px;
  }

  .case-video-frame {
    min-height: auto;
  }

  .contact-section {
    margin-top: 32px;
    padding-top: 92px;
    background: var(--ink);
    clip-path: ellipse(140% 72% at 50% 100%);
  }

  .contact-card {
    padding: 42px 28px;
  }
}

@media (min-width: 561px) {
  #services .card:nth-child(1) .service-card-image,
  #services .card:nth-child(2) .service-card-image,
  #services .card:nth-child(4) .service-card-image,
  #services .card:nth-child(5) .service-card-image {
    top: 0;
    right: clamp(6px, 1vw, 14px);
  }

  #services .card:nth-child(2) .service-card-image,
  #services .card:nth-child(4) .service-card-image,
  #services .card:nth-child(5) .service-card-image {
    top: -6px;
  }
}

@media (max-width: 560px) {
  .hero,
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .button,
  .button-outline,
  .button-solid,
  .button-ghost {
    width: 100%;
  }

  .header-actions .button {
    width: auto;
  }

  .header-actions {
    display: flex;
  }

  .header-actions .button-outline {
    display: none;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .cta-row .button-text {
    width: auto;
    align-self: center;
    margin-top: 4px;
  }

  .contact-actions {
    gap: 12px;
  }

  .card,
  .case-card,
  .price-card,
  .step-card,
  .note-box,
  .message-box,
  .faq-list details,
  .text-block {
    padding: 28px 24px;
  }

  .card {
    gap: var(--space-2);
    padding-top: 40px;
  }

  .card h3 {
    margin-bottom: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8.8vw, 2.62rem);
  }

  .hero-copy h1 span {
    white-space: nowrap;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2 span,
  .contact-intro h2 span {
    white-space: normal;
  }

  .hero-lead,
  .section-copy,
  .text-block p,
  .contact-owner,
  .card p:not(.card-kicker),
  .case-card dd,
  .price-card p,
  .step-card p,
  .note-box p,
  .message-box p {
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .card-story {
    min-height: auto;
    gap: var(--space-2);
    padding-top: 40px;
  }

  .card-kicker {
    top: 10px;
    left: 16px;
    font-size: clamp(4.7rem, 18vw, 5.8rem);
    -webkit-text-stroke: 1.5px var(--line);
  }

  .card .card-kicker {
    top: 12px;
    left: 18px;
    font-size: clamp(6rem, 23vw, 7.2rem);
    -webkit-text-stroke: 1.7px var(--line);
  }

  #services .card {
    padding-top: 56px;
  }

  .contact-section {
    margin-top: 20px;
    padding: 64px 0 28px;
    clip-path: ellipse(180% 100% at 50% 100%);
  }

  .contact-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .contact-actions .button {
    white-space: nowrap;
  }

  .contact-card .contact-closing {
    margin-top: 20px;
  }

  .footer-inner {
    gap: 14px;
    padding: 10px 0 20px;
  }

  .footer-nav {
    gap: 10px 18px;
  }

  .case-thumb {
    min-height: 220px;
  }

  .case-card {
    padding: 32px 24px;
  }

  .case-result {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.35;
  }

  .case-result br {
    display: none;
  }

  .case-flow {
    gap: 18px;
  }

  .step-card {
    gap: 18px;
  }

  .flow-meta {
    gap: 10px;
  }

  .faq-list details {
    padding: 0;
  }

  .faq-list details summary {
    min-height: 72px;
    padding: 0 22px;
    line-height: 1.55;
  }

  .faq-list details p {
    padding: 0 22px 22px;
  }
}
