/*
Theme Name: UNiFia
Theme URI: https://unifia.jp/
Author: UNiFia
Description: AI導入・業務効率化・システム開発サービス向けの1ページ WordPress テーマです。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: unifia
*/

:root {
  --ink: #17171a;
  --muted: #5d5d66;
  --pale: #f8f8fa;
  --line: rgba(20, 20, 22, 0.1);
  --pink: #ff2f78;
  --pink-soft: #ffdce9;
  --pink-pale: rgba(255, 47, 120, 0.1);
  --shadow: 0 10px 32px rgba(30, 20, 35, 0.05);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --content: min(1440px, calc(100vw - 104px));
  --content-narrow: min(1180px, calc(100vw - 104px));
  --section-x: clamp(34px, 5vw, 92px);
  --section-y: clamp(108px, 8.4vw, 156px);
  --grid-gap: clamp(24px, 2.2vw, 36px);
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 47, 120, 0.04), transparent 36%),
    linear-gradient(135deg, #f1f1f2, #ffffff 28%, #f6f6f8);
  font-family: var(--sans);
  font-feature-settings: "palt";
  letter-spacing: 0;
  animation: page-fade 720ms ease both;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(100%, 1920px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.06);
  animation: shell-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section-panel {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.68) 34%, rgba(255, 255, 255, 0.92) 72%),
    linear-gradient(180deg, #fff, #fbfbfc);
  overflow: hidden;
  scroll-margin-top: 96px;
}

.section-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(112deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 62%);
  opacity: 0;
  transform: translate3d(-8%, 0, 0);
  transition: opacity 1200ms ease, transform 1600ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.section-panel.section-visible::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 104px;
  padding: 0 clamp(34px, 4.4vw, 84px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px);
  animation: header-drop 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.admin-bar .site-header {
  top: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  width: auto;
  height: clamp(34px, 3.2vw, 50px);
}

.global-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 52px);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.global-nav span {
  color: var(--pink);
  font-weight: 300;
}

.global-nav a {
  transition: color 180ms ease;
}

.global-nav a:hover,
.global-nav a.is-active {
  color: var(--pink);
}

.header-cta,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 220px;
  height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff2f62, #ee2f92);
  box-shadow: 0 10px 22px rgba(255, 47, 120, 0.16);
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 47, 120, 0.2);
}

.menu-toggle {
  display: none;
}

.stream-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  opacity: 0.28;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 86%, transparent 100%);
  transform-origin: center;
  animation: stream-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero {
  min-height: calc(100vh - 116px);
  padding: clamp(92px, 9vw, 170px) clamp(34px, 5vw, 110px) 80px;
}

.hero-stream {
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 54%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.78;
  mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 100%);
}

.hero-copy {
  width: min(980px, 64vw);
}

.section-kicker,
.english {
  margin: 0 0 24px;
  color: var(--pink);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.34em;
}

.hero h1,
.mission h2,
.section-heading h2,
.section-heading h1,
.split-heading h2,
.scope h2,
.process-head h2,
.company-head h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(68px, 5.75vw, 116px);
  letter-spacing: 0.06em;
}

.hero h1 span,
.mission h2 span,
.scope h2 span,
.contact h2 span {
  color: var(--pink);
}

.hero-lead {
  margin: 60px 0 0;
  font-size: clamp(20px, 1.7vw, 31px);
  font-weight: 600;
  line-height: 2.1;
  letter-spacing: 0.14em;
}

.pink-note {
  position: relative;
  margin: 48px 0 0;
  padding-top: 30px;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.pink-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 2px;
  background: var(--pink);
}

.mission {
  min-height: 980px;
  padding: clamp(128px, 9vw, 172px) var(--section-x) clamp(82px, 6vw, 110px);
}

.mission-stream {
  opacity: 0.68;
  mix-blend-mode: normal;
  object-position: center right;
}

.mission-copy {
  width: var(--content);
  margin: 0 auto;
}

.mission h2 {
  max-width: 1000px;
  font-size: clamp(54px, 5.5vw, 104px);
}

.mission-copy>p:not(.section-kicker):not(.pink-note) {
  max-width: 980px;
  margin: 48px 0 0;
  font-size: clamp(18px, 1.5vw, 26px);
  font-weight: 600;
  line-height: 2.05;
  letter-spacing: 0.11em;
}

.mission-visual {
  position: absolute;
  inset: 90px 0 auto;
  z-index: -1;
  width: 100%;
  pointer-events: none;
}

.mission-panel-image {
  width: 100%;
  height: 590px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  opacity: 0.72;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 24%, #000 46%, #000 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 24%, #000 46%, #000 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.mission-steps {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr repeat(3, 1fr);
  width: var(--content);
  margin: clamp(72px, 6.4vw, 112px) auto 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mission-steps>p,
.mission-steps article {
  min-height: 210px;
  padding: 44px 42px;
  border-right: 1px solid var(--line);
}

.mission-steps>p {
  color: var(--pink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.8;
}

.mission-steps article:last-child {
  border-right: 0;
}

.mission-steps span {
  color: var(--pink);
  font-family: Georgia, serif;
  font-size: 42px;
}

.mission-steps h3 {
  margin: 20px 0 14px;
  font-size: 18px;
}

.mission-steps article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.service,
.strengths,
.scope,
.cases,
.process,
.company,
.contact {
  padding: var(--section-y) var(--section-x);
}

.service {
  min-height: 0;
}

.service-stream,
.strengths-stream,
.cases-stream,
.process-stream,
.company-stream {
  opacity: 0.2;
  object-position: center top;
}

.section-heading {
  width: var(--content);
  margin: 0 auto clamp(56px, 5vw, 86px);
}

.section-heading h2,
.section-heading h1,
.split-heading h2,
.scope h2,
.company-head h2,
.process-head h2,
.contact h2 {
  font-size: clamp(48px, 5vw, 92px);
}

.section-heading p:not(.section-kicker):not(.side-index) {
  max-width: 920px;
  margin: 30px 0 0;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 2;
  letter-spacing: 0.1em;
}

.side-index {
  margin: 6px 0 0;
  color: rgba(255, 47, 120, 0.2);
  font-family: Georgia, serif;
  font-size: 62px;
  line-height: 1;
}

.side-index span {
  display: block;
  margin-top: 14px;
  font-family: "Avenir Next", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.service-grid,
.strength-grid,
.case-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  width: var(--content);
  margin: 0 auto;
}

.large-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(22, 22, 24, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.large-card:hover,
.case-card:hover,
.process-card:hover,
.company-table:hover,
.contact-form:hover {
  transform: translate3d(0, -6px, 0);
  border-color: rgba(255, 47, 120, 0.18);
  box-shadow: 0 16px 40px rgba(30, 20, 35, 0.07);
}

.service-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-height: 760px;
  padding: clamp(36px, 3vw, 50px);
  overflow: hidden;
}

.card-number {
  color: var(--pink);
  font-family: Georgia, serif;
  font-size: clamp(48px, 3.6vw, 62px);
  opacity: 0.86;
}

.card-icon {
  position: absolute;
  right: clamp(30px, 2.8vw, 46px);
  top: clamp(34px, 2.8vw, 46px);
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  color: var(--pink);
  background: var(--pink-pale);
  font-size: 54px;
  animation: icon-breathe 4.8s ease-in-out infinite;
}

.service-card-media {
  position: relative;
  margin: clamp(22px, 2vw, 30px) 0 clamp(28px, 2.4vw, 36px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 47, 120, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 24px rgba(30, 20, 35, 0.05);
  overflow: hidden;
}

.service-card-media::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 1;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.62) 50%, transparent 58%);
  transform: translate3d(-62%, 0, 0) rotate(4deg);
  pointer-events: none;
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.18));
  pointer-events: none;
}

.service-card.is-visible .service-card-media::before {
  animation: media-sheen 1200ms ease var(--reveal-delay, 0ms) both;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.035);
}

.service-card h3 {
  margin: 0 0 clamp(24px, 2vw, 30px);
  padding-bottom: clamp(24px, 2vw, 30px);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(26px, 2vw, 38px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.service-card dl,
.case-card dl {
  margin: 0;
  min-width: 0;
}

.service-card dl {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  column-gap: clamp(18px, 1.4vw, 24px);
  row-gap: 0;
  align-content: start;
}

.service-card dt {
  grid-column: 1;
  align-self: start;
  min-width: 104px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(255, 47, 120, 0.14);
  border-radius: 7px;
  color: var(--pink);
  background: var(--pink-pale);
  font-size: 14px;
  font-weight: 800;
}

.service-card dd {
  grid-column: 2;
  min-height: 78px;
  margin: 0 0 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.service-card dd:last-child {
  border-bottom: 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 112px);
  align-items: end;
  width: var(--content);
  margin: 0 auto clamp(58px, 5vw, 90px);
}

.split-heading p:last-child {
  margin: 0 0 24px;
  max-width: 820px;
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.11em;
}

.split-heading .section-kicker span {
  margin-right: 22px;
  font-size: 32px;
  font-family: Georgia, serif;
  letter-spacing: 0;
}

.strengths {
  min-height: 0;
}

.icon-card {
  display: flex;
  min-height: 520px;
  padding: clamp(36px, 3vw, 48px);
  flex-direction: column;
  text-align: center;
}

.icon-card>span {
  display: block;
  color: var(--pink);
  font-family: Georgia, serif;
  font-size: 38px;
  text-align: left;
}

.icon-card i {
  display: grid;
  place-items: center;
  width: clamp(150px, 13vw, 184px);
  height: clamp(150px, 13vw, 184px);
  margin: clamp(24px, 2.2vw, 34px) auto clamp(34px, 3vw, 46px);
  border: 1px solid rgba(255, 47, 120, 0.22);
  border-radius: 50%;
  color: var(--pink);
  background: radial-gradient(circle, rgba(255, 47, 120, 0.14), rgba(255, 255, 255, 0.66) 70%);
  font-size: clamp(58px, 5vw, 72px);
  box-shadow: 0 14px 30px rgba(255, 47, 120, 0.07);
  animation: icon-breathe 5.4s ease-in-out infinite;
}

.icon-card h3 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.2vw, 43px);
  font-weight: 500;
  letter-spacing: 0.14em;
}

.icon-card p {
  max-width: 420px;
  margin: 0;
  margin-inline: auto;
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.09em;
}

.scope {
  display: block;
  min-height: 0;
}

.scope-stream {
  opacity: 0.18;
  object-position: center bottom;
}

.scope-left {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin: 0 auto;
}

.scope-left>p:not(.section-kicker) {
  max-width: 980px;
  margin: 34px 0 0;
  font-size: clamp(18px, 1.35vw, 25px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.11em;
}

.scope-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 54px);
  margin-top: clamp(74px, 6vw, 96px);
}

.scope-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 66px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 47, 120, 0.42), transparent);
  pointer-events: none;
}

.scope-flow article {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.scope-flow i {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 36px rgba(255, 47, 120, 0.18);
  font-size: 48px;
  animation: icon-breathe 5s ease-in-out infinite;
}

.scope-flow span {
  color: var(--pink);
  font-family: Georgia, serif;
  font-size: 31px;
}

.scope-flow h3 {
  margin: 10px 0 18px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.scope-flow p {
  margin: 0 auto;
  max-width: 260px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
}

.cases {
  min-height: 0;
}

.case-card {
  display: grid;
  grid-template-rows: auto minmax(112px, auto) auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(22, 22, 24, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.case-card .case-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(30px, 2.5vw, 38px) clamp(28px, 2.4vw, 36px) 0;
  color: var(--pink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.case-tag i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--pink-pale);
  font-size: 24px;
  animation: icon-breathe 5.2s ease-in-out infinite;
}

.case-card h3 {
  min-height: 112px;
  margin: 22px 0 0;
  padding: 0 clamp(28px, 2.4vw, 36px);
  font-size: clamp(21px, 1.65vw, 30px);
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.case-card img {
  width: 100%;
  height: clamp(205px, 15vw, 238px);
  object-fit: cover;
  transition: transform 460ms ease, filter 460ms ease;
}

.case-card:hover img {
  filter: saturate(1.08) brightness(1.02);
  transform: scale(1.045);
}

.case-card dl {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  column-gap: 22px;
  padding: 28px clamp(28px, 2.4vw, 36px) 38px;
}

.case-card dt {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pink);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.case-card dd {
  grid-column: 2;
  margin: 0 0 22px;
  min-height: 54px;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(255, 47, 120, 0.24);
  font-weight: 600;
  line-height: 1.8;
}

.case-card dd:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.case-note {
  margin: clamp(34px, 3vw, 48px) 0 0;
  color: var(--pink);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process {
  min-height: 0;
}

.process-stream {
  opacity: 0.2;
  object-position: center top;
}

.process-head {
  width: var(--content);
  margin: 0 auto clamp(82px, 6vw, 104px);
}

.process-head>p:first-child {
  margin: 0 0 30px;
  color: var(--pink);
  font-family: "Avenir Next", sans-serif;
  font-weight: 800;
  letter-spacing: 0.25em;
}

.process-head>p:first-child span {
  font-family: Georgia, serif;
  font-size: 46px;
  letter-spacing: 0;
}

.process-head>p:last-child {
  max-width: 900px;
  margin: 38px 0 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.11em;
}

.process-row {
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(18px, 1.8vw, 28px);
  width: var(--content);
  margin: 0 auto;
}

.process-card {
  position: relative;
  min-height: 318px;
  padding: 0 clamp(20px, 1.8vw, 28px) 34px;
  border: 1px solid rgba(22, 22, 24, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.process-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -80px;
  width: 1px;
  height: 78px;
  background: rgba(255, 47, 120, 0.55);
  transform-origin: top;
}

.process-card>span {
  display: block;
  margin-top: -108px;
  color: var(--pink);
  font-family: "Avenir Next", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.process-card b {
  display: block;
  margin-top: 6px;
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0;
}

.process-card i {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  margin: 52px auto 34px;
  border-radius: 50%;
  color: var(--pink);
  background: radial-gradient(circle, var(--pink-pale), #fff 68%);
  box-shadow: 0 10px 22px rgba(255, 47, 120, 0.08);
  font-size: 42px;
  animation: icon-breathe 4.9s ease-in-out infinite;
}

.process-card h3 {
  margin: 0 0 20px;
  color: var(--pink);
  font-size: 23px;
  letter-spacing: 0.08em;
}

.process-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
}

.company {
  min-height: 0;
}

.company-stream {
  opacity: 0.2;
  object-position: center top;
}

.company-head {
  width: var(--content);
  margin: 0 auto clamp(56px, 5vw, 84px);
}

.company-head p:not(.section-kicker) {
  max-width: 760px;
  margin: 34px 0 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.1em;
}

.company-table {
  width: var(--content-narrow);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.company-table dl {
  display: grid;
  grid-template-columns: 260px 1fr;
  margin: 0;
}

.company-table dt,
.company-table dd {
  min-height: 96px;
  margin: 0;
  padding: 32px clamp(36px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.company-table dt {
  position: relative;
  color: var(--pink);
  background: linear-gradient(90deg, rgba(255, 47, 120, 0.08), rgba(255, 255, 255, 0.36));
}

.company-table dt::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  transform: translateY(-50%);
}

.company-table dd {
  background: rgba(255, 255, 255, 0.58);
}

.company-table dt:last-of-type,
.company-table dd:last-child {
  border-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 760px);
  gap: clamp(56px, 6vw, 104px);
  min-height: 0;
  align-items: center;
}

.contact-stream {
  opacity: 0.22;
  object-position: center bottom;
}

.contact-copy h2 {
  font-size: clamp(56px, 5.8vw, 104px);
}

.contact-copy>p:not(.section-kicker):not(.pink-note) {
  max-width: 620px;
  margin: 48px 0 0;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.12em;
}

.contact-form {
  width: min(760px, 100%);
  justify-self: end;
  padding: clamp(34px, 4vw, 62px);
  border: 1px solid rgba(22, 22, 24, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.contact-notice {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(20, 20, 22, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.contact-notice--success {
  border-color: rgba(29, 150, 86, 0.24);
  color: #14683b;
  background: rgba(29, 150, 86, 0.08);
}

.contact-notice--error {
  border-color: rgba(255, 47, 120, 0.24);
  color: var(--pink);
  background: var(--pink-pale);
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 13px;
  margin-bottom: 26px;
  color: #29292d;
  font-size: 17px;
  font-weight: 800;
}

.contact-form b {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 47, 120, 0.34);
  border-radius: 4px;
  color: var(--pink);
  font-size: 12px;
  line-height: 1.4;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 20, 22, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  outline: 0;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.contact-form input {
  height: 70px;
  padding: 0 24px;
}

.contact-form textarea {
  min-height: 172px;
  padding: 22px 24px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #babac3;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 47, 120, 0.62);
  box-shadow: 0 0 0 5px rgba(255, 47, 120, 0.08);
}

.contact-form button {
  width: 100%;
  height: 76px;
  margin-top: 6px;
  font-size: 22px;
}

.contact-form>p {
  margin: 24px 0 0;
  color: #8b8b96;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-form a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer {
  min-height: 600px;
  padding: clamp(94px, 7vw, 124px) var(--section-x) clamp(48px, 4vw, 62px);
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 47, 120, 0.32), transparent 34%),
    radial-gradient(circle at 18% 92%, rgba(255, 47, 120, 0.16), transparent 30%),
    linear-gradient(145deg, #07070a 0%, #111116 46%, #050507 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-footer::before {
  background:
    linear-gradient(112deg, transparent 0%, rgba(255, 47, 120, 0.1) 40%, rgba(255, 255, 255, 0.08) 50%, transparent 62%),
    radial-gradient(circle at 70% 42%, rgba(255, 47, 120, 0.13), transparent 36%);
  opacity: 0.8;
}

.footer-stream {
  opacity: 0.34;
  mix-blend-mode: screen;
  object-position: center bottom;
  filter: saturate(1.08) contrast(1.08);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(180px, 0.62fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 5vw, 88px);
  width: var(--content);
  margin: 0 auto clamp(72px, 6vw, 96px);
}

.footer-brand {
  margin-bottom: clamp(40px, 4vw, 58px);
}

.footer-brand img {
  height: clamp(38px, 3.4vw, 56px);
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff;
}

.footer-tag {
  color: var(--pink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.footer-main p:not(.footer-tag) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.11em;
}

.footer-main nav {
  display: grid;
  align-content: start;
  gap: 20px;
  padding-top: 80px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-main nav a {
  width: fit-content;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-main nav a:hover {
  color: #fff;
  transform: translateX(6px);
}

.footer-main address {
  display: grid;
  gap: 18px;
  padding-top: 80px;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
}

.footer-main address strong {
  color: #fff;
  font-size: 24px;
  letter-spacing: 0.05em;
}

.footer-main address i {
  margin-right: 12px;
  color: var(--pink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: var(--content);
  margin: 0 auto;
  padding-top: clamp(34px, 3vw, 46px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom a span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 7px rgba(255, 47, 120, 0.16), 0 0 24px rgba(255, 47, 120, 0.46);
}

.blog-hero,
.single-post-hero {
  min-height: 520px;
  padding: clamp(118px, 8vw, 154px) var(--section-x) clamp(82px, 6vw, 112px);
}

.blog-hero-stream,
.single-post-stream {
  opacity: 0.52;
  mix-blend-mode: normal;
  object-position: center right;
}

.blog-hero-inner,
.single-post-hero-inner,
.blog-layout,
.single-post-layout,
.single-post-nav {
  width: var(--content);
  margin: 0 auto;
}

.blog-hero h1,
.single-post-hero h1,
.blog-empty h2,
.blog-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0.08em;
}

.blog-hero h1,
.single-post-hero h1 {
  max-width: 1120px;
  font-size: clamp(54px, 5vw, 92px);
}

.single-post-hero h1 {
  font-size: clamp(42px, 4.3vw, 78px);
}

.blog-hero-inner>p:not(.section-kicker),
.single-post-hero-inner>p {
  max-width: 900px;
  margin: 34px 0 0;
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.1em;
}

.blog-index,
.single-post-body {
  padding: var(--section-y) var(--section-x);
}

.blog-index-stream,
.single-post-body-stream {
  opacity: 0.16;
  object-position: center top;
}

.blog-layout,
.single-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(38px, 4vw, 72px);
  align-items: start;
}

.blog-feed {
  display: grid;
  gap: clamp(24px, 2.4vw, 36px);
}

.post-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  border: 1px solid rgba(22, 22, 24, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.post-card:hover {
  transform: translate3d(0, -6px, 0);
  border-color: rgba(255, 47, 120, 0.18);
  box-shadow: 0 16px 40px rgba(30, 20, 35, 0.07);
}

.post-card-media {
  position: relative;
  min-height: 300px;
  background: var(--pink-pale);
  overflow: hidden;
}

.post-card-media img,
.single-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 460ms ease, filter 460ms ease;
}

.post-card:hover .post-card-media img {
  filter: saturate(1.08) brightness(1.02);
  transform: scale(1.045);
}

.post-card-body {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(30px, 3vw, 48px);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.post-meta a {
  color: var(--pink);
}

.post-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.1vw, 38px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.post-card h2 a {
  transition: color 180ms ease;
}

.post-card h2 a:hover {
  color: var(--pink);
}

.post-card-body>p,
.blog-panel p,
.blog-empty p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.95;
  letter-spacing: 0.06em;
}

.post-read-more,
.blog-panel-dark a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 28px;
  color: var(--pink);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.blog-sidebar {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 22px;
}

body.admin-bar .blog-sidebar {
  top: 164px;
}

.blog-panel,
.blog-empty {
  border: 1px solid rgba(22, 22, 24, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.blog-panel {
  padding: clamp(28px, 2.6vw, 42px);
}

.blog-panel h2,
.blog-empty h2 {
  font-size: clamp(28px, 2.4vw, 42px);
}

.blog-panel ul {
  display: grid;
  gap: 15px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #29292d;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
}

.blog-panel li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
}

.blog-panel li i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--pink);
  background: var(--pink-pale);
  font-size: 22px;
}

.blog-panel-dark {
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 47, 120, 0.28), transparent 36%),
    linear-gradient(145deg, #08080b, #16161c);
}

.blog-panel-dark h2 {
  color: #fff;
}

.blog-panel-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.blog-empty {
  padding: clamp(36px, 4vw, 64px);
}

.blog-pagination {
  margin-top: clamp(10px, 2vw, 24px);
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(22, 22, 24, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-weight: 800;
}

.blog-pagination .page-numbers.current {
  border-color: rgba(255, 47, 120, 0.22);
  color: #fff;
  background: var(--pink);
}

.single-post-content {
  min-width: 0;
  padding: clamp(34px, 4vw, 66px);
  border: 1px solid rgba(22, 22, 24, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.single-post-image {
  margin: 0 0 clamp(34px, 4vw, 56px);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.entry-content {
  color: #29292d;
  font-size: clamp(17px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: 0.05em;
}

.entry-content>*:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 2.2em 0 0.9em;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.entry-content h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 47, 120, 0.18);
  font-size: clamp(28px, 2.5vw, 42px);
}

.entry-content h3 {
  font-size: clamp(23px, 1.9vw, 32px);
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure {
  margin: 1.3em 0;
}

.entry-content a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.entry-content img {
  height: auto;
  border-radius: 12px;
}

.entry-content blockquote {
  padding: 24px 28px;
  border-left: 4px solid var(--pink);
  border-radius: 0 12px 12px 0;
  background: var(--pink-pale);
  color: var(--ink);
  font-weight: 700;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.post-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 47, 120, 0.18);
  border-radius: 999px;
  color: var(--pink);
  background: var(--pink-pale);
  font-size: 13px;
  font-weight: 800;
}

.single-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(34px, 4vw, 56px);
}

.single-post-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 20px 24px;
  border: 1px solid rgba(22, 22, 24, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 860ms ease, transform 860ms cubic-bezier(0.22, 1, 0.36, 1), filter 860ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 38px, 0) scale(0.985);
  filter: blur(10px);
}

.motion-ready .reveal.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.motion-ready .split-heading.reveal,
.motion-ready .contact-copy.reveal {
  transform: translate3d(-28px, 34px, 0) scale(0.985);
}

.motion-ready .contact-form.reveal,
.motion-ready .company-table.reveal {
  transform: translate3d(28px, 34px, 0) scale(0.985);
}

.motion-ready .split-heading.reveal.is-visible,
.motion-ready .contact-copy.reveal.is-visible,
.motion-ready .contact-form.reveal.is-visible,
.motion-ready .company-table.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

.delay-3 {
  transition-delay: 320ms;
}

.delay-4 {
  transition-delay: 420ms;
}

.delay-5 {
  transition-delay: 520ms;
}

@keyframes page-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes shell-rise {
  from {
    transform: translate3d(0, 14px, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes header-drop {
  from {
    opacity: 0;
    transform: translate3d(0, -28px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes stream-drift {
  from {
    transform: translate3d(-1.4%, -0.8%, 0) scale(1.018);
  }

  to {
    transform: translate3d(1.4%, 0.8%, 0) scale(1.045);
  }
}

@keyframes icon-breathe {
  0%,
  100% {
    box-shadow: 0 18px 38px rgba(255, 47, 120, 0.12), 0 0 0 rgba(255, 47, 120, 0);
  }

  50% {
    box-shadow: 0 24px 48px rgba(255, 47, 120, 0.18), 0 0 28px rgba(255, 47, 120, 0.12);
  }
}

@keyframes media-sheen {
  from {
    opacity: 0;
    transform: translate3d(-62%, 0, 0) rotate(4deg);
  }

  24% {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translate3d(62%, 0, 0) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 1280px) {
  :root {
    --content: min(1180px, calc(100vw - 56px));
    --content-narrow: min(1040px, calc(100vw - 56px));
    --section-y: clamp(94px, 8vw, 128px);
    --grid-gap: 22px;
  }

  .site-header {
    min-height: 92px;
  }

  .global-nav {
    gap: 22px;
    font-size: 14px;
  }

  .header-cta {
    min-width: 180px;
  }

  .service-grid,
  .strength-grid,
  .case-grid {
    gap: 20px;
  }

  .service-card {
    padding: 34px 28px 36px;
  }

  .service-card dl {
    grid-template-columns: 1fr;
  }

  .service-card dt,
  .service-card dd {
    grid-column: 1;
  }

  .service-card dt {
    width: fit-content;
    margin-bottom: 12px;
  }

  .service-card dd {
    min-height: auto;
    margin-bottom: 24px;
  }

  .process-row {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 124px;
  }
}

@media (max-width: 960px) {
  :root {
    --content: calc(100vw - 40px);
    --content-narrow: calc(100vw - 40px);
    --section-y: 86px;
    --grid-gap: 20px;
  }

  .site-shell {
    width: 100%;
  }

  .site-header {
    grid-template-columns: auto auto;
    padding: 0 20px;
  }

  .brand img {
    height: 32px;
  }

  .menu-toggle {
    justify-self: end;
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--ink);
  }

  .global-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav span {
    display: none;
  }

  .global-nav a {
    padding: 15px;
    border-bottom: 1px solid var(--line);
  }

  .global-nav a:last-child {
    border-bottom: 0;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .mission,
  .service,
  .strengths,
  .scope,
  .cases,
  .process,
  .company,
  .contact,
  .blog-hero,
  .blog-index,
  .single-post-hero,
  .single-post-body,
  .site-footer {
    padding: 86px 20px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy,
  .mission-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(58px, 15vw, 88px);
  }

  .hero-lead {
    margin-top: 36px;
    font-size: 19px;
  }

  .hero-stream {
    right: -38%;
    bottom: 0;
    width: 920px;
  }

  .mission-visual {
    position: static;
    width: 100%;
    margin: 44px 0 0;
  }

  .mission {
    min-height: auto;
  }

  .mission-copy {
    width: 100%;
  }

  .mission-steps {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .mission-steps>p,
  .mission-steps article {
    min-height: auto;
    padding: 30px;
    border-right: 0;
  }

  .split-heading,
  .scope,
  .contact,
  .blog-layout,
  .single-post-layout,
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split-heading {
    align-items: start;
  }

  .side-index {
    font-size: 40px;
  }

  .service-grid,
  .strength-grid,
  .case-grid,
  .scope-flow {
    grid-template-columns: 1fr;
  }

  .scope-flow::before {
    display: none;
  }

  .service-card,
  .icon-card {
    min-height: auto;
    padding: 34px 24px;
  }

  .service-card-media {
    margin-top: 24px;
  }

  .card-icon {
    right: 26px;
    top: 30px;
    width: 72px;
    height: 72px;
    font-size: 40px;
  }

  .service-card dt {
    width: fit-content;
    margin-bottom: 12px;
  }

  .service-card dd {
    padding-left: 0;
  }

  .case-card {
    grid-template-rows: auto auto auto 1fr;
  }

  .case-card dl {
    grid-template-columns: 1fr;
  }

  .case-card dt,
  .case-card dd {
    grid-column: 1;
  }

  .case-card dt {
    margin-top: 4px;
  }

  .case-card dd {
    margin: 10px 0 22px;
  }

  .icon-card i {
    width: 150px;
    height: 150px;
  }

  .process-row {
    padding-top: 20px;
    grid-template-columns: 1fr;
    gap: 110px;
  }

  .company-table {
    width: var(--content);
  }

  .company-table dl {
    grid-template-columns: 1fr;
  }

  .company-table dt,
  .company-table dd {
    min-height: 0;
    padding: 24px;
  }

  .company-table dt {
    border-bottom: 0;
  }

  .company-table dt::after {
    display: none;
  }

  .contact-form {
    justify-self: stretch;
    padding: 28px 18px;
  }

  .contact-form button {
    height: 64px;
    font-size: 17px;
  }

  .footer-main nav,
  .footer-main address {
    padding-top: 0;
  }

  .blog-hero,
  .single-post-hero {
    min-height: auto;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card-media {
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .blog-sidebar {
    position: static;
  }

  .single-post-content {
    padding: 28px 20px;
  }

  .single-post-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 560px) {

  main,
  .site-footer {
    line-break: anywhere;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .service-card dd,
  .case-card dd,
  .company-table dd,
  .contact-form>p,
  .footer-main address span {
    line-break: anywhere;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .section-kicker,
  .english {
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .mission h2,
  .section-heading h2,
  .split-heading h2,
  .scope h2,
  .process-head h2,
  .company-head h2,
  .contact h2,
  .blog-hero h1,
  .single-post-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
    letter-spacing: 0.06em;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 70px);
  }

  .hero-lead,
  .mission-copy>p:not(.section-kicker):not(.pink-note),
  .section-heading p:not(.section-kicker):not(.side-index),
  .split-heading p:last-child,
  .scope-left>p:not(.section-kicker),
  .process-head>p:last-child,
  .company-head p:not(.section-kicker),
  .contact-copy>p:not(.section-kicker):not(.pink-note),
  .blog-hero-inner>p:not(.section-kicker),
  .single-post-hero-inner>p,
  .entry-content {
    font-size: 16px;
    line-height: 1.9;
  }

  .post-card-body {
    padding: 28px 22px;
  }

  .post-card h2 {
    font-size: 24px;
  }

  .blog-panel,
  .blog-empty {
    padding: 26px 22px;
  }

  .case-card h3 {
    min-height: auto;
  }

  .case-card dd {
    margin: 10px 0 22px;
  }
}

/* Pricing */
.pricing-stream {
  opacity: 0.16;
}

.section-heading p b {
  color: var(--pink);
  font-weight: 800;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 3vw, 50px);
}

.pricing-card--featured {
  border-color: rgba(255, 47, 120, 0.4);
  box-shadow: 0 14px 40px rgba(255, 47, 120, 0.1);
}

.pricing-badge {
  align-self: flex-start;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pricing-name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pricing-price {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.pricing-price span {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(38px, 3.4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pricing-lead {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.pricing-card ul {
  margin: auto 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.pricing-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.pricing-card li:last-child {
  margin-bottom: 0;
}

.pricing-card li i {
  margin-top: 2px;
  color: var(--pink);
  font-size: 18px;
}

/* FAQ */
.faq-stream {
  opacity: 0.16;
}

.faq-list {
  width: var(--content-narrow);
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid rgba(22, 22, 24, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.faq-list details[open] {
  border-color: rgba(255, 47, 120, 0.32);
  box-shadow: var(--shadow);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 2vw, 30px) clamp(24px, 3vw, 40px);
  cursor: pointer;
  list-style: none;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 800;
  letter-spacing: 0.04em;
}

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

.faq-list summary i {
  flex-shrink: 0;
  color: var(--pink);
  font-size: 24px;
  transition: transform 240ms ease;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 clamp(24px, 3vw, 40px) clamp(24px, 2.4vw, 32px);
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
}

.faq-list details a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Privacy policy */
.privacy-policy {
  min-height: 0;
}

.privacy-stream {
  opacity: 0.14;
}

.privacy-body {
  width: var(--content-narrow);
  margin: 0 auto;
  padding: clamp(38px, 4vw, 62px);
  border: 1px solid rgba(22, 22, 24, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.privacy-body h3 {
  margin: 32px 0 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.privacy-body h3:first-child {
  margin-top: 0;
}

.privacy-body p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
}

.privacy-body a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-updated {
  margin-top: 40px !important;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
