:root {
  --navy: #111820;
  --navy-2: #1c2a33;
  --cream: #f8fbf8;
  --cream-2: #e7f6f3;
  --ink: #111820;
  --white: #ffffff;
  --mint: #66c8c5;
  --mint-deep: #2aa9a8;
  --mint-pale: #d7f1ee;
  --purple: #48616a;
  --pink: #9fdcd8;
  --yellow: #ffd400;
  --sky: #8edbd7;
  --orange: #f0c600;
  --line: rgba(17, 24, 32, 0.13);
  --grid-line: rgba(255, 255, 255, 0.28);
  --shadow: 0 18px 54px rgba(17, 24, 32, 0.13);
  --font-ja: "Noto Sans JP", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-display: "Jost", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-ja);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(42, 169, 168, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 169, 168, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: grid-drift 18s linear infinite;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.section-deep {
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    var(--mint);
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--ink);
  animation: grid-drift 18s linear infinite;
}

.section-cream {
  background:
    linear-gradient(rgba(42, 169, 168, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 169, 168, 0.08) 1px, transparent 1px),
    var(--cream);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--ink);
  animation: grid-drift 22s linear infinite;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: var(--ink);
  transition: background 0.25s ease, box-shadow 0.25s ease, min-height 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(17, 24, 32, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(38vw, 280px);
  min-width: 0;
  font-weight: 700;
}

.brand__logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav .nav-mail {
  padding: 8px 16px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
}

.site-nav .nav-mail::after {
  display: none;
}

.nav-toggle {
  display: none;
  position: fixed;
  top: 13px;
  right: 18px;
  z-index: 1001;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font: 700 15px/1 var(--font-ja);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button::after {
  content: "→";
  font-family: var(--font-display);
  transform: translateX(0);
  transition: transform 0.22s ease;
}

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

.button:hover::after {
  transform: translateX(5px);
}

.button--primary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 14px 32px rgba(255, 212, 0, 0.22);
}

.button--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 32, 0.14);
}

.button--dark {
  color: var(--white);
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 32px) 0 110px;
  background: var(--mint);
}

.hero::before {
  content: "";
  position: absolute;
  right: clamp(24px, 8vw, 120px);
  top: clamp(86px, 16vh, 150px);
  z-index: 1;
  width: 28px;
  height: 150px;
  border-radius: 999px;
  background: var(--yellow);
  transform: rotate(34deg);
  box-shadow:
    46px -35px 0 var(--white),
    92px -70px 0 var(--yellow),
    138px -105px 0 var(--mint-deep),
    -50px 36px 0 rgba(255, 255, 255, 0.48),
    72px 56px 0 rgba(255, 255, 255, 0.58),
    118px 18px 0 var(--mint-deep);
  animation: slant-drift 6s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(24px, 8vw, 120px);
  bottom: 18%;
  z-index: 1;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow:
    128px 46px 0 var(--yellow),
    260px -32px 0 var(--yellow),
    390px 62px 0 var(--yellow),
    520px -12px 0 var(--yellow);
  animation: dot-float 5s ease-in-out infinite alternate;
}

.hero__image,
.page-hero__image {
  display: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: grid-drift 16s linear infinite;
}

.hero__shade,
.page-hero::after {
  content: "";
  display: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(100% - 40px, 1040px);
  max-width: calc(100vw - 40px);
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font: 700 13px/1.2 var(--font-display);
  text-transform: uppercase;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
  color: var(--ink);
  font: 700 clamp(1.35rem, 2.4vw, 2rem)/1 var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 74px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow) 0 42%, var(--white) 42% 62%, var(--mint-deep) 62% 100%);
}

.hero__brand {
  max-width: min(100%, 940px);
  margin: 0;
  font-size: clamp(2.4rem, 7.6vw, 6.4rem);
  line-height: 0.95;
  font-weight: 700;
}

.hero__tagline {
  width: min(70vw, 720px);
  margin: 0 auto;
  filter: drop-shadow(0 10px 0 rgba(17, 24, 32, 0.12)) drop-shadow(0 18px 38px rgba(17, 24, 32, 0.16));
  position: relative;
  animation: copy-float 5.2s ease-in-out infinite;
}

.hero__tagline::before,
.hero__tagline::after {
  content: "";
  position: absolute;
  z-index: -1;
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.hero__tagline::before {
  width: 18px;
  right: 9%;
  top: 4%;
  background: var(--yellow);
  box-shadow: -54px 34px 0 -5px var(--white), 38px 92px 0 -3px var(--mint-deep);
  animation: playful-pop 2.7s ease-in-out infinite;
}

.hero__tagline::after {
  width: 24px;
  left: 6%;
  bottom: 10%;
  border: 4px solid var(--yellow);
  border-radius: 4px;
  transform: rotate(45deg);
  animation: playful-spin 4.4s ease-in-out infinite;
}

.hero__brand span {
  display: block;
}

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

.hero-play {
  position: absolute;
  inset: calc(var(--header-height) + 24px) 0 78px;
  z-index: 2;
  pointer-events: none;
}

.hero-play::before {
  content: "";
  position: absolute;
  left: 30%;
  top: 24%;
  width: 40%;
  height: 48%;
  border-radius: 48% 52% 46% 54%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 52%, transparent 68%);
  filter: blur(1px);
  transform: rotate(-8deg);
  animation: glow-breathe 7.2s ease-in-out infinite;
}

.hero-play__orb {
  position: absolute;
  width: 11px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 9px rgba(255, 212, 0, 0.18);
  animation: orb-drift 4.8s ease-in-out infinite;
}

.hero-play__orb--one {
  left: 31%;
  top: 27%;
}

.hero-play__orb--two {
  right: 31%;
  top: 35%;
  width: 8px;
  background: var(--white);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.14);
  animation-delay: 0.8s;
}

.hero-play__orb--three {
  right: 34%;
  bottom: 28%;
  width: 14px;
  background: var(--mint-deep);
  box-shadow: 0 0 0 10px rgba(42, 169, 168, 0.18);
  animation-delay: 1.4s;
}

.hero-play__slash {
  position: absolute;
  width: 82px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 24px rgba(17, 24, 32, 0.1);
  animation: soft-swoop 6.6s ease-in-out infinite;
}

.hero-play__slash--one {
  left: 18%;
  top: 39%;
  background: rgba(255, 212, 0, 0.88);
  transform: rotate(-20deg);
}

.hero-play__slash--two {
  right: 24%;
  bottom: 35%;
  width: 96px;
  background: rgba(255, 255, 255, 0.76);
  transform: rotate(-15deg);
  animation-delay: 1.1s;
}

.hero__copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--white);
  font-size: clamp(1.45rem, 3.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hero__copy span {
  color: var(--yellow);
}

.hero__lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-line {
  position: absolute;
  z-index: 1;
  width: min(42vw, 520px);
  color: rgba(255, 255, 255, 0.72);
  opacity: 0.92;
  pointer-events: none;
}

.hero-line path,
.bridge-line path,
.service-stage__path path {
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: draw-line 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards, line-breathe 5.2s ease-in-out 1.7s infinite;
}

.hero-line--left {
  left: -6vw;
  bottom: 10vh;
  transform: rotate(-8deg);
}

.hero-line--right {
  right: -8vw;
  top: 13vh;
  color: rgba(255, 255, 255, 0.58);
  transform: rotate(8deg);
}

.hero__float {
  position: absolute;
  z-index: 1;
  width: 210px;
  height: 52px;
  border-radius: 999px;
  pointer-events: none;
  animation: drift 7s ease-in-out infinite alternate;
}

.hero__float--mint {
  right: 9%;
  bottom: 12%;
  background: var(--white);
  transform: rotate(-18deg);
}

.hero__float--pink {
  left: 10%;
  top: 18%;
  background: var(--yellow);
  transform: rotate(20deg);
  animation-delay: 0.7s;
}

.hero__spark {
  position: absolute;
  z-index: 2;
  width: 24px;
  aspect-ratio: 1;
  border: 4px solid var(--yellow);
  transform: rotate(45deg);
  animation: pulse-spark 2.2s ease-in-out infinite;
}

.hero__spark--one {
  left: 16%;
  bottom: 24%;
}

.hero__spark--two {
  right: 19%;
  top: 31%;
  border-color: var(--white);
  animation-delay: 0.5s;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--ink);
  font: 700 12px/1 var(--font-display);
  letter-spacing: 0;
  animation: scroll-hover 1.8s ease-in-out infinite;
}

.scroll-cue__arrow {
  width: 2px;
  height: 42px;
  background: var(--ink);
  border-radius: 999px;
}

.scroll-cue__arrow::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 28px 0 0 -5px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

.intro {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 104px 0 152px;
}

.intro::before {
  content: "";
  position: absolute;
  inset: -48px 0 auto;
  height: 90px;
  background: var(--cream);
  clip-path: polygon(0 64%, 18% 46%, 42% 74%, 64% 42%, 100% 62%, 100% 100%, 0 100%);
}

.intro__grid {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px, 7vw, 92px);
}

.intro__body h2,
.section-title,
.final-cta h2,
.page-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 1.08;
  font-weight: 700;
  word-break: keep-all;
  line-break: strict;
  text-wrap: balance;
}

.heading-phrase {
  display: inline-block;
  white-space: nowrap;
}

.text-highlight {
  display: inline-block;
  color: var(--mint-deep);
  text-shadow: 0 4px 0 rgba(255, 212, 0, 0.32);
}

.intro__body p {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(17, 24, 32, 0.86);
  font-weight: 400;
}

.services {
  position: relative;
  overflow: clip;
  padding: 118px 0 168px;
}

.services::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -12px;
  width: 120%;
  height: 96px;
  background: var(--mint);
  transform: rotate(-2deg);
  transform-origin: left;
}

.services__header {
  position: relative;
  z-index: 2;
}

.section-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(17, 24, 32, 0.84);
  font-weight: 400;
}

.services__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) 1.14fr;
  gap: clamp(28px, 6vw, 76px);
  margin-top: 56px;
}

.service-stage {
  position: sticky;
  top: 112px;
  min-height: 460px;
}

.service-stage__ring {
  position: absolute;
  inset: 36px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transform: rotate(calc(var(--service-progress, 0) * 80deg));
  transition: transform 0.2s linear;
}

.service-stage__card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 126px;
  aspect-ratio: 1.35;
  border: 2px solid rgba(17, 24, 32, 0.12);
  border-radius: 8px;
  color: var(--navy);
  background: var(--cream);
  font: 700 42px/1 var(--font-display);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-stage__card--one {
  left: 10%;
  top: 16%;
  background: var(--white);
  transform: rotate(-10deg) translateY(calc(var(--service-progress, 0) * -20px));
}

.service-stage__card--two {
  right: 14%;
  top: 36%;
  background: var(--yellow);
  transform: rotate(8deg) translateY(calc(var(--service-progress, 0) * 22px));
}

.service-stage__card--three {
  left: 26%;
  bottom: 12%;
  background: var(--mint-pale);
  transform: rotate(-4deg) translateX(calc(var(--service-progress, 0) * 28px));
}

.service-stage__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0.7;
}

.service-list {
  display: grid;
  gap: 24px;
}

.service-item,
.article-item,
.contact-form,
.profile-table,
.final-cta__inner,
.policy__body {
  border-radius: 8px;
}

.service-item {
  position: relative;
  padding: clamp(22px, 4vw, 38px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-item:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  background: var(--white);
}

.service-item__no {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--mint-deep);
  font: 700 28px/1 var(--font-display);
}

.service-item h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
  font-weight: 700;
  word-break: keep-all;
  line-break: strict;
}

.service-item p {
  margin: 14px 0 0;
  color: rgba(17, 24, 32, 0.86);
  font-weight: 400;
}

.bridge-line {
  position: absolute;
  top: -38px;
  left: 0;
  right: 0;
  z-index: 3;
  color: var(--yellow);
  opacity: 0.82;
}

.bridge-line svg {
  width: 100%;
  height: 120px;
}

.works {
  position: relative;
  overflow: clip;
  padding: 118px 0 168px;
}

.works::before {
  content: "";
  position: absolute;
  right: -70px;
  top: 96px;
  width: 360px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--white), var(--mint-deep));
  opacity: 0.74;
  transform: rotate(-16deg);
  animation: drift 8s ease-in-out infinite alternate;
}

.works__header,
.works__grid {
  position: relative;
  z-index: 1;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-top: 52px;
}

.works-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(24px, 4vw, 40px);
  border: 2px solid rgba(17, 24, 32, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 48px rgba(17, 24, 32, 0.09);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.works-card::before {
  content: "";
  position: absolute;
  right: -54px;
  top: 26px;
  width: 150px;
  height: 24px;
  border-radius: 999px;
  background: var(--mint);
  opacity: 0.2;
  transform: rotate(-18deg);
}

.works-card:nth-child(2n)::before {
  background: var(--yellow);
}

.works-card:hover {
  transform: translateY(-4px) rotate(-0.35deg);
  background: var(--white);
  box-shadow: 0 22px 58px rgba(17, 24, 32, 0.12);
}

.works-card__mark {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--mint-deep);
  font: 700 28px/1 var(--font-display);
}

.works-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  font-weight: 700;
  word-break: keep-all;
  line-break: strict;
}

.works-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.works-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(17, 24, 32, 0.86);
  font-weight: 400;
  line-height: 1.75;
}

.works-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  transform: translateY(-50%);
}

.works-card:nth-child(2n) li::before {
  background: var(--mint-deep);
}

.works-card__more {
  padding-left: 0 !important;
  text-align: right;
  color: rgba(17, 24, 32, 0.72);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.works-card__more::before {
  display: none;
}

.project-feature {
  position: relative;
  overflow: clip;
  padding: 80px 0 104px;
}

.project-feature::before {
  content: "";
  position: absolute;
  left: -56px;
  bottom: 38px;
  width: 320px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.28));
  transform: rotate(-18deg);
  animation: drift 8s ease-in-out infinite alternate;
}

.project-feature__inner {
  position: relative;
  isolation: isolate;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 28vw, 336px);
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(42, 169, 168, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 169, 168, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 250, 0.95));
  background-size: 42px 42px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: 0 24px 68px rgba(17, 24, 32, 0.12);
  backdrop-filter: blur(8px);
}

.project-feature__inner::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -46px;
  z-index: 0;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.18), rgba(255, 212, 0, 0));
  animation: orb-drift 7.2s ease-in-out infinite;
}

.project-feature__copy,
.project-feature__visual {
  position: relative;
  z-index: 1;
}

.project-feature__copy {
  min-width: 0;
  max-width: 580px;
}

.project-feature__eyebrow {
  margin: 0 0 14px;
  color: var(--mint-deep);
  font: 700 clamp(1rem, 2vw, 1.22rem)/1.5 var(--font-ja);
}

.project-feature__copy .section-title {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.project-feature__copy .section-lead {
  max-width: 30rem;
  margin-top: 14px;
  font-size: 0.99rem;
  line-height: 1.75;
  color: rgba(17, 24, 32, 0.84);
}

.project-feature__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

.project-feature__visual {
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 336px;
  margin: 0;
  animation: soft-swoop 6.8s ease-in-out infinite;
}

.project-feature__visual::before {
  content: "";
  position: absolute;
  top: -18px;
  right: 18px;
  z-index: 2;
  width: 18px;
  height: 104px;
  border-radius: 999px;
  background: var(--yellow);
  transform: rotate(32deg);
  box-shadow:
    -30px 18px 0 rgba(255, 255, 255, 0.96),
    -60px 36px 0 rgba(102, 200, 197, 0.96);
  animation: slant-drift 6s ease-in-out infinite alternate;
}

.project-feature__visual::after {
  content: "";
  position: absolute;
  left: -16px;
  bottom: 24px;
  z-index: 0;
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 200, 197, 0.22), rgba(102, 200, 197, 0));
  filter: blur(8px);
  animation: pulse-spark 3.2s ease-in-out infinite;
}

.project-feature__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 236px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 32, 0.08);
  box-shadow: 0 24px 52px rgba(17, 24, 32, 0.16);
}

.project-feature__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(17, 24, 32, 0.08)),
    linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 76% 70%, rgba(255, 212, 0, 0.16), rgba(255, 212, 0, 0) 18%);
}

.project-feature__frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  pointer-events: none;
}

.project-feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  filter: saturate(0.98) contrast(1.02) brightness(1);
  transform: scale(1.01);
}

.news-preview {
  position: relative;
  padding: 110px 0 154px;
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.news-list {
  display: grid;
  margin-top: 34px;
}

.news-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-top: 2px solid var(--line);
  transition: color 0.2s ease, transform 0.2s ease;
}

.news-row:last-child {
  border-bottom: 2px solid var(--line);
}

.news-row:hover {
  color: var(--mint-deep);
  transform: translateX(8px);
}

.news-row time,
.article-item__meta {
  color: rgba(7, 16, 34, 0.62);
  font-family: var(--font-display);
  font-weight: 700;
}

.news-row span {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  word-break: keep-all;
  line-break: strict;
}

.company {
  position: relative;
  padding: 122px 0 166px;
}

.company__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.profile-table {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 32, 0.12);
}

.profile-table dl {
  margin: 0;
}

.profile-table div {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid rgba(17, 24, 32, 0.12);
}

.profile-table div:last-child {
  border-bottom: 0;
}

.profile-table dt,
.profile-table dd {
  margin: 0;
  padding: 18px 20px;
}

.profile-table dt {
  color: var(--mint-deep);
  font-weight: 700;
}

.profile-table dd {
  color: rgba(17, 24, 32, 0.86);
}

.profile-table a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.final-cta {
  padding: 102px 0 148px;
}

.final-cta__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.17) 1px, transparent 1px),
    var(--mint);
  background-size: 42px 42px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.final-cta__inner::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: 26px;
  width: 420px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--white), var(--yellow), var(--mint-deep));
  transform: rotate(-15deg);
  opacity: 0.84;
  animation: drift 8s ease-in-out infinite alternate;
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 24px;
}

.final-cta .button {
  position: relative;
  z-index: 1;
}

.page-hero {
  position: relative;
  min-height: 46svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) 0 72px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 212, 0, 0.95) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 34%, rgba(255, 212, 0, 0.95) 0 5px, transparent 6px),
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    var(--mint);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  animation: grid-drift 18s linear infinite;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: 12%;
  top: 28%;
  width: 22px;
  height: 130px;
  border-radius: 999px;
  background: var(--yellow);
  transform: rotate(34deg);
  box-shadow: 42px -30px 0 var(--white), 84px -60px 0 var(--mint-deep);
  animation: slant-drift 6s ease-in-out infinite alternate;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-title {
  color: var(--white);
  text-shadow: 0 5px 0 rgba(17, 24, 32, 0.14);
}

.page-lead {
  display: none;
}

.article-index {
  padding: 92px 0 148px;
}

.article-list {
  display: grid;
  gap: 22px;
}

.article-item {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 2px solid var(--line);
  box-shadow: 0 14px 44px rgba(7, 24, 61, 0.08);
}

.article-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.article-item h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.25;
  font-weight: 700;
  word-break: keep-all;
  line-break: strict;
}

.article-item p {
  margin: 16px 0 0;
  color: rgba(17, 24, 32, 0.86);
  font-weight: 400;
}

.contact-section {
  padding: 92px 0 154px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.contact-copy {
  color: rgba(17, 24, 32, 0.88);
  font-size: 1.08rem;
  font-weight: 400;
}

.contact-copy p {
  margin: 0 0 18px;
}

.contact-copy a,
.policy__body a {
  color: var(--mint-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(7, 24, 61, 0.12);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form-shell {
  display: block;
}

.contact-form-shell--wide {
  grid-column: 1 / -1;
}

.contact-form-shell .entry-content,
.contact-form-shell .wpcf7,
.contact-form-shell .wpcf7 form {
  width: 100%;
}

.contact-form-shell .entry-content > *:first-child,
.contact-form-shell .wpcf7 form > *:first-child {
  margin-top: 0;
}

.contact-form-shell .entry-content > *:last-child,
.contact-form-shell .wpcf7 form > *:last-child {
  margin-bottom: 0;
}

.contact-form-shell .wpcf7 form {
  display: grid;
  gap: 18px;
}

.contact-form-shell .wpcf7 p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.contact-form-shell .wpcf7 br {
  display: none;
}

.contact-form-shell .wpcf7 label {
  display: block;
  font-weight: 700;
}

.contact-form-shell .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0;
}

.contact-form-shell .wpcf7 p > label .wpcf7-form-control-wrap,
.contact-form-shell .wpcf7 p > .wpcf7-form-control-wrap {
  margin-top: 8px;
}

.contact-form small {
  color: var(--pink);
  font-size: 0.8em;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.contact-form-shell .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form-shell .wpcf7 textarea,
.contact-form-shell .wpcf7 select {
  width: 100%;
  border: 2px solid rgba(7, 24, 61, 0.16);
  border-radius: 8px;
  background: #fffdf5;
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form-shell .wpcf7 textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.contact-form-shell .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.contact-form-shell .wpcf7 textarea:focus,
.contact-form-shell .wpcf7 select:focus {
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 4px rgba(42, 169, 168, 0.14);
}

.contact-form__wide,
.contact-form__submit,
.form-message {
  grid-column: 1 / -1;
}

.check-field {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 12px;
  font-weight: 700;
}

.check-field input {
  width: 22px;
  min-width: 22px;
  height: 22px;
  margin-top: 4px;
  accent-color: var(--purple);
}

.contact-form__submit {
  justify-self: start;
}

.contact-form-shell .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.contact-form-shell .wpcf7-checkbox,
.contact-form-shell .wpcf7-radio,
.contact-form-shell .wpcf7-acceptance {
  display: block;
  margin-top: 8px;
}

.contact-form-shell .wpcf7 input[type="checkbox"],
.contact-form-shell .wpcf7 input[type="radio"] {
  width: 22px;
  min-width: 22px;
  height: 22px;
  margin: 4px 10px 0 0;
  accent-color: var(--purple);
}

.contact-form-shell .wpcf7-list-item-label {
  font-weight: 400;
}

.contact-form-shell .wpcf7-submit {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 14px 32px rgba(255, 212, 0, 0.22);
  font: 700 15px/1 var(--font-ja);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.contact-form-shell .wpcf7-submit:hover {
  transform: translateY(-2px);
}

.contact-form-shell .wpcf7-spinner {
  margin: 14px 0 0;
}

.contact-form-shell .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b53a32;
  font-size: 0.88rem;
  font-weight: 500;
}

.contact-form-shell .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-shell .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-form-shell .wpcf7 form.failed .wpcf7-response-output,
.contact-form-shell .wpcf7 form.aborted .wpcf7-response-output {
  border-color: rgba(181, 58, 50, 0.28);
  color: #8e2e28;
  background: rgba(181, 58, 50, 0.08);
}

.contact-form-shell .wpcf7 form.sent .wpcf7-response-output,
.contact-form-shell .wpcf7 form.init .wpcf7-response-output {
  border-color: rgba(42, 169, 168, 0.24);
  color: var(--mint-deep);
  background: rgba(42, 169, 168, 0.08);
}

.contact-form-shell .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 500;
}

.form-message {
  min-height: 1.5em;
  margin: 0;
  color: var(--mint-deep);
  font-weight: 700;
}

.policy {
  padding: 92px 0 154px;
}

.policy__body {
  max-width: 920px;
  padding: clamp(26px, 5vw, 54px);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(7, 24, 61, 0.1);
}

.policy__body h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.3;
}

.policy__body h3 {
  margin: 26px 0 8px;
  font-size: 1.08rem;
}

.policy__body p,
.policy__body li {
  margin-top: 0;
  color: rgba(17, 24, 32, 0.86);
  font-weight: 400;
}

.policy__body ol,
.policy__body ul {
  padding-left: 1.4em;
}

.policy__date {
  text-align: right;
  font-weight: 700;
}

.site-footer {
  padding: 54px 0 24px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
}

.footer__brand {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer__note {
  color: rgba(255, 255, 255, 0.58);
}

.footer__links {
  display: grid;
  gap: 10px;
  align-content: start;
  font-weight: 700;
}

.footer__links a:hover {
  color: var(--mint);
}

.copyright {
  width: min(100% - 40px, 1180px);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes copy-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  45% {
    transform: translateY(-12px) rotate(-0.6deg);
  }
  70% {
    transform: translateY(6px) rotate(0.4deg);
  }
}

@keyframes playful-pop {
  0%,
  100% {
    transform: translate(0, 0) scale(0.9);
    opacity: 0.55;
  }
  45% {
    transform: translate(10px, -16px) scale(1.15);
    opacity: 1;
  }
  75% {
    transform: translate(-6px, 8px) scale(1);
    opacity: 0.76;
  }
}

@keyframes playful-spin {
  0%,
  100% {
    transform: rotate(45deg) scale(0.9);
  }
  50% {
    transform: rotate(225deg) scale(1.12);
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    transform: rotate(-8deg) scale(0.96);
    opacity: 0.48;
  }
  50% {
    transform: rotate(-2deg) scale(1.06);
    opacity: 0.82;
  }
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(0.92);
    opacity: 0.74;
  }
  50% {
    transform: translate(14px, -18px) scale(1.16);
    opacity: 1;
  }
}

@keyframes soft-swoop {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }
  50% {
    translate: 18px -12px;
    scale: 1.04;
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 42px 42px;
  }
}

@keyframes line-breathe {
  0%,
  100% {
    opacity: 0.54;
    transform: translateY(0);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-8px);
  }
}

@keyframes drift {
  from {
    translate: 0 0;
  }
  to {
    translate: 18px -14px;
  }
}

@keyframes dot-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-18px);
  }
}

@keyframes pulse-spark {
  0%,
  100% {
    scale: 0.82;
    opacity: 0.58;
  }
  50% {
    scale: 1.18;
    opacity: 1;
  }
}

@keyframes slant-drift {
  from {
    translate: 0 0;
  }
  to {
    translate: -14px 18px;
  }
}

@keyframes scroll-hover {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -12px);
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 70px;
  }

  .brand {
    max-width: calc(100vw - 102px);
  }

  .brand__logo {
    height: 38px;
  }

  .nav-toggle {
    display: inline-grid !important;
    position: fixed;
    top: 13px;
    right: 18px;
    z-index: 1001;
    place-items: center;
    gap: 5px;
    min-width: 54px;
    min-height: 44px;
    border: 1px solid rgba(17, 24, 32, 0.28);
    border-radius: 999px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(17, 24, 32, 0.12);
    font: 700 10px/1 var(--font-display);
  }

  .nav-toggle__bar {
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 0.22s ease;
  }

  .site-header.is-open .nav-toggle__bar:first-child {
    transform: translateY(3.5px) rotate(40deg);
  }

  .site-header.is-open .nav-toggle__bar:nth-child(2) {
    transform: translateY(-3.5px) rotate(-40deg);
  }

  .site-nav {
    position: fixed;
    inset: 70px 14px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 24, 32, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .site-nav .nav-mail {
    margin-top: 8px;
    text-align: center;
  }

  .intro__grid,
  .services__grid,
  .works__grid,
  .company__grid,
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service-stage {
    position: relative;
    top: auto;
    min-height: 330px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 86svh;
    padding-bottom: 72px;
  }

  .hero__brand {
    font-size: clamp(2.05rem, 9.2vw, 3.15rem);
  }

  .hero__tagline {
    width: min(70vw, 310px);
  }

  .hero-play {
    inset: calc(var(--header-height) + 18px) 0 70px;
  }

  .hero-play::before {
    left: 16%;
    top: 30%;
    width: 68%;
    height: 34%;
  }

  .hero-play__orb--one {
    left: 21%;
    top: 27%;
  }

  .hero-play__orb--two {
    right: 22%;
    top: 36%;
  }

  .hero-play__orb--three {
    right: 30%;
    bottom: 29%;
  }

  .hero-play__slash {
    width: 58px;
    height: 14px;
  }

  .hero-play__slash--one {
    left: 15%;
    top: 42%;
  }

  .hero-play__slash--two {
    right: 12%;
    bottom: 34%;
    width: 68px;
  }

  .section-kicker {
    gap: 12px;
    margin-bottom: 24px;
    font-size: clamp(1.2rem, 5vw, 1.45rem);
  }

  .section-kicker::before {
    width: 54px;
    height: 8px;
  }

  .intro__body h2,
  .section-title,
  .final-cta h2,
  .page-title {
    font-size: clamp(1.8rem, 8vw, 2.65rem);
    line-height: 1.14;
  }

  .intro {
    padding-bottom: 138px;
  }

  .services {
    padding-bottom: 148px;
  }

  .works {
    padding: 100px 0 140px;
  }

  .works::before {
    right: -160px;
    top: 76px;
    width: 280px;
    height: 42px;
  }

  .works__grid {
    margin-top: 38px;
  }

  .project-feature {
    padding: 76px 0 96px;
  }

  .project-feature::before {
    left: -132px;
    bottom: 24px;
    width: 250px;
    height: 42px;
  }

  .project-feature__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
  }

  .project-feature__actions {
    justify-content: flex-start;
  }

  .project-feature__copy {
    max-width: none;
  }

  .project-feature__visual {
    width: 100%;
    max-width: 360px;
    justify-self: center;
  }

  .project-feature__visual::before {
    top: -10px;
    right: 14px;
    width: 18px;
    height: 96px;
    box-shadow:
      -30px 18px 0 rgba(255, 255, 255, 0.96),
      -60px 36px 0 rgba(102, 200, 197, 0.96);
  }

  .project-feature__visual::after {
    left: -8px;
    bottom: 12px;
    width: 84px;
  }

  .project-feature__frame {
    border-radius: 24px;
  }

  .project-feature__frame::after {
    inset: 12px;
    border-radius: 18px;
  }

  .project-feature__copy .section-title {
    font-size: clamp(1.95rem, 8.4vw, 3rem);
  }

  .project-feature__image {
    height: 100%;
  }

  .project-feature__frame {
    max-height: 220px;
  }

  .news-preview,
  .company,
  .final-cta,
  .article-index,
  .contact-section,
  .policy {
    padding-bottom: 136px;
  }

  .hero__copy {
    font-size: clamp(1.24rem, 5.7vw, 1.58rem);
  }

  .hero__lead {
    font-size: 0.94rem;
    max-width: calc(100vw - 40px);
  }

  .hero__float {
    width: 142px;
    height: 36px;
  }

  .hero-line {
    width: 72vw;
    opacity: 0.48;
  }

  .hero::before {
    right: 34px;
    top: 116px;
    width: 20px;
    height: 108px;
    box-shadow:
      32px -24px 0 var(--white),
      64px -48px 0 var(--yellow),
      96px -72px 0 var(--mint-deep),
      -36px 26px 0 rgba(255, 255, 255, 0.48),
      52px 42px 0 rgba(255, 255, 255, 0.58);
  }

  .hero::after {
    bottom: 24%;
    box-shadow:
      96px 44px 0 var(--yellow),
      212px -22px 0 var(--yellow);
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 20px 0;
  }

  .profile-table div {
    grid-template-columns: 1fr;
  }

  .profile-table dt {
    padding-bottom: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid !important;
  }
}

body.admin-bar .site-header {
  inset: 32px 0 auto;
}

body.admin-bar .nav-toggle {
  top: 45px;
}

.page-content {
  padding: 92px 0 154px;
}

.page-content-card,
.article-single__inner {
  max-width: 920px;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(7, 24, 61, 0.1);
}

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

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  line-height: 1.3;
}

.entry-content h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.entry-content h3 {
  margin: 26px 0 8px;
  font-size: 1.08rem;
}

.entry-content p,
.entry-content li {
  color: rgba(17, 24, 32, 0.86);
  font-weight: 400;
}

.entry-content a,
.article-item h2 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.entry-content a:hover,
.article-item h2 a:hover {
  color: var(--mint-deep);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

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

.article-single {
  padding: 92px 0 154px;
}

.article-single__back {
  margin-top: 36px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 42px;
}

.page-numbers {
  min-width: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 24, 32, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: 700 14px/1 var(--font-display);
  text-align: center;
}

.page-numbers.current {
  background: var(--yellow);
  border-color: var(--yellow);
}

.form-message.is-error {
  color: #b53a32;
}

.form-message.is-success {
  color: var(--mint-deep);
}

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

  body.admin-bar .nav-toggle {
    top: 59px;
  }

  body.admin-bar .site-nav {
    inset: 116px 14px auto;
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
