@charset "UTF-8";

/*
Theme Name: GOURICA Clean Official
Theme URI: https://gourica.com/
Author: GOURICA
Description: A clean and simple official website theme for GOURICA.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: gourica-clean-official
*/

:root {
  --neo-bg: #f7fff9;
  --neo-bg-soft: #eefbf8;
  --neo-panel: rgba(255, 255, 255, 0.84);
  --neo-panel-strong: rgba(255, 255, 255, 0.96);
  --neo-border: rgba(35, 158, 146, 0.18);
  --neo-border-strong: rgba(35, 158, 146, 0.34);
  --neo-text: #17212b;
  --neo-text-soft: #566776;
  --neo-text-faint: #7e909e;
  --neo-blue: #2d8cff;
  --neo-cyan: #22bfd0;
  --neo-violet: #7d8cff;
  --neo-pink: #ff7f72;
  --neo-mint: #57d99f;
  --neo-yellow: #ffe067;
  --neo-shadow: 0 22px 58px rgba(30, 99, 115, 0.13);
  --neo-radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--neo-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(87, 217, 159, 0.28), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(45, 140, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #fbfffb 0%, #eefbf8 42%, #f8fbff 100%);
  font-family: "Aptos", "Yu Gothic UI", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(35, 158, 146, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 158, 146, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), transparent 92%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.wrap,
.neo-shell {
  width: min(1480px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(35, 158, 146, 0.16);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

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

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 132px;
  filter: drop-shadow(0 10px 22px rgba(35, 158, 146, 0.12));
}

.brand-name {
  font-size: 29px;
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--neo-text-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, text-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: var(--neo-text);
  border-color: var(--neo-cyan);
  text-shadow: 0 0 20px rgba(94, 231, 255, 0.28);
}

.neo-home {
  padding-bottom: 42px;
}

.neo-hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
}

.neo-hero__bg,
.neo-hero__grid,
.neo-hero__scan {
  position: absolute;
  inset: 0;
}

.neo-hero__bg {
  background:
    radial-gradient(circle at 75% 28%, rgba(255, 224, 103, 0.36), transparent 18%),
    radial-gradient(circle at 78% 55%, rgba(34, 191, 208, 0.24), transparent 16%),
    linear-gradient(105deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 255, 249, 0.95) 44%, rgba(235, 246, 255, 0.9) 72%, rgba(255, 247, 239, 0.96) 100%);
}

.neo-hero__grid {
  background:
    linear-gradient(rgba(35, 158, 146, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 158, 146, 0.1) 1px, transparent 1px);
  background-size: 96px 96px;
  mix-blend-mode: multiply;
  opacity: 0.42;
}

.neo-hero__scan {
  background:
    linear-gradient(120deg, transparent 0%, rgba(87, 217, 159, 0.14) 32%, transparent 58%),
    radial-gradient(circle at 86% 32%, rgba(255, 127, 114, 0.22), transparent 12%);
  animation: neo-pulse 8s ease-in-out infinite;
}

.neo-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 40px;
  align-items: center;
}

.neo-hero__copy,
.neo-hero__visual,
.neo-panel,
.neo-contact-band__inner {
  opacity: 1;
  transform: none;
}

.neo-kicker {
  margin: 0 0 14px;
  color: var(--neo-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.neo-hero__title {
  margin: 0;
  font-size: clamp(66px, 9vw, 124px);
  font-weight: 200;
  line-height: 0.96;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 18px 44px rgba(45, 140, 255, 0.12);
}

.neo-hero__sub {
  margin: 18px 0 0;
  color: #2d5461;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.neo-hero__lead {
  margin: 26px 0 0;
  font-size: clamp(20px, 2.4vw, 46px);
  line-height: 1.45;
  color: #17212b;
}

.neo-hero__copy {
  max-width: 760px;
}

.neo-wave {
  width: min(520px, 100%);
  height: 18px;
  margin-top: 28px;
  background:
    linear-gradient(90deg, transparent, rgba(45, 140, 255, 0.9) 8%, rgba(34, 191, 208, 0.9) 30%, rgba(87, 217, 159, 0.9) 54%, rgba(255, 127, 114, 0.82) 82%, transparent),
    linear-gradient(180deg, transparent 44%, rgba(23, 33, 43, 0.16) 44%, rgba(23, 33, 43, 0.16) 56%, transparent 56%);
  clip-path: polygon(0 48%, 4% 36%, 8% 60%, 12% 34%, 16% 68%, 20% 46%, 24% 54%, 28% 18%, 32% 66%, 36% 50%, 40% 42%, 44% 62%, 48% 40%, 52% 58%, 56% 30%, 60% 54%, 64% 48%, 68% 70%, 72% 46%, 76% 38%, 80% 60%, 84% 46%, 88% 54%, 92% 42%, 96% 64%, 100% 48%);
  filter: drop-shadow(0 8px 16px rgba(34, 191, 208, 0.18));
}

.neo-wave--mini,
.neo-wave--profile {
  width: 100%;
  height: 12px;
  margin-top: 18px;
}

.neo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.neo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid var(--neo-border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--neo-text);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(30, 99, 115, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.neo-button:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 231, 255, 0.62);
  box-shadow: 0 18px 36px rgba(34, 191, 208, 0.16);
}

.neo-button--primary {
  background: linear-gradient(135deg, rgba(87, 217, 159, 0.32), rgba(45, 140, 255, 0.18));
}

.neo-button--wide {
  min-width: 280px;
}

.neo-hero__visual {
  position: relative;
  min-height: 460px;
}

.neo-screen {
  position: absolute;
  border: 1px solid var(--neo-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 255, 251, 0.68));
  box-shadow: var(--neo-shadow);
  overflow: hidden;
}

.neo-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 36%);
  pointer-events: none;
}

.neo-screen--main {
  inset: 24px 0 62px 30px;
}

.neo-screen--floating {
  top: 34px;
  right: 12px;
  width: 180px;
  height: 130px;
}

.neo-screen--mini {
  right: 52px;
  bottom: 24px;
  width: 220px;
  height: 92px;
  padding: 22px;
}

.neo-screen__header {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  color: var(--neo-text-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.neo-screen__bars {
  position: absolute;
  inset: 88px 24px 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  align-items: end;
}

.neo-screen__bars span {
  display: block;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--neo-cyan), var(--neo-mint) 58%, var(--neo-yellow));
  animation: neo-bars 2600ms ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(35, 158, 146, 0.16));
}

.neo-screen__bars span:nth-child(1) { height: 26%; animation-delay: 0ms; }
.neo-screen__bars span:nth-child(2) { height: 44%; animation-delay: 120ms; }
.neo-screen__bars span:nth-child(3) { height: 30%; animation-delay: 240ms; }
.neo-screen__bars span:nth-child(4) { height: 62%; animation-delay: 360ms; }
.neo-screen__bars span:nth-child(5) { height: 48%; animation-delay: 480ms; }
.neo-screen__bars span:nth-child(6) { height: 74%; animation-delay: 600ms; }
.neo-screen__bars span:nth-child(7) { height: 32%; animation-delay: 720ms; }
.neo-screen__bars span:nth-child(8) { height: 58%; animation-delay: 840ms; }
.neo-screen__bars span:nth-child(9) { height: 40%; animation-delay: 960ms; }
.neo-screen__bars span:nth-child(10) { height: 68%; animation-delay: 1080ms; }
.neo-screen__bars span:nth-child(11) { height: 34%; animation-delay: 1200ms; }
.neo-screen__bars span:nth-child(12) { height: 50%; animation-delay: 1320ms; }

.neo-screen__line {
  height: 2px;
  margin: 32px 18px 0;
  background: linear-gradient(90deg, transparent, var(--neo-cyan), var(--neo-mint), var(--neo-pink), transparent);
}

.neo-screen__line--short {
  width: 70%;
}

.neo-dashboard {
  margin-top: -46px;
  position: relative;
  z-index: 2;
}

.neo-grid {
  display: grid;
  gap: 18px;
}

.neo-grid--top {
  grid-template-columns: minmax(0, 1.6fr) minmax(340px, 0.9fr);
}

.neo-grid--bottom {
  margin-top: 18px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.15fr) minmax(320px, 0.95fr);
}

.neo-panel {
  position: relative;
  padding: 22px;
  border: 1px solid var(--neo-border);
  border-radius: var(--neo-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 255, 252, 0.82));
  box-shadow: var(--neo-shadow);
  overflow: hidden;
}

.neo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), transparent 32%);
  pointer-events: none;
}

.neo-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.neo-panel__head h2 {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--neo-cyan);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
}

.neo-panel__head a {
  color: var(--neo-text-soft);
  font-size: 13px;
  text-decoration: none;
}

.neo-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.neo-track {
  min-width: 0;
}

.neo-track a,
.neo-news-item a,
.neo-icon-card {
  text-decoration: none;
}

.neo-track__thumb,
.neo-news-item__thumb {
  position: relative;
  display: block;
  background-color: rgba(35, 158, 146, 0.08);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.neo-track__thumb {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(35, 158, 146, 0.14);
  border-radius: 14px;
}

.neo-track__thumb img,
.neo-news-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  display: block;
}

.neo-track__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(23, 33, 43, 0.38);
  backdrop-filter: blur(8px);
}

.neo-track__play::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 19px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 17px solid #fff;
}

.neo-track__body {
  display: block;
  padding-top: 12px;
}

.neo-track__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.neo-track__meta {
  display: block;
  margin-top: 6px;
  color: var(--neo-text-soft);
  font-size: 12px;
}

.neo-profile {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.neo-profile__image img {
  aspect-ratio: 1 / 1.25;
  object-fit: cover;
  border: 1px solid rgba(35, 158, 146, 0.16);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(35, 158, 146, 0.12);
}

.neo-profile__copy h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
}

.neo-profile__role {
  margin: 8px 0 10px;
  color: var(--neo-blue);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.neo-profile__copy p {
  margin: 0;
  color: var(--neo-text-soft);
  font-size: 14px;
}

.neo-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.neo-icon-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(35, 158, 146, 0.2);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(236, 255, 248, 0.72));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.neo-icon-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 191, 208, 0.46);
  box-shadow: 0 18px 36px rgba(35, 158, 146, 0.12);
}

.neo-icon-card strong {
  font-size: 24px;
  font-weight: 500;
}

.neo-icon-card span:last-child {
  color: var(--neo-text-soft);
  font-size: 14px;
}

.neo-icon {
  position: relative;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(34, 191, 208, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
}

.neo-icon::before,
.neo-icon::after {
  content: "";
  position: absolute;
}

.neo-icon--bars::before {
  inset: 14px;
  background:
    linear-gradient(90deg, transparent 0 8%, var(--neo-cyan) 8% 14%, transparent 14% 24%, var(--neo-mint) 24% 30%, transparent 30% 44%, var(--neo-blue) 44% 50%, transparent 50% 62%, var(--neo-yellow) 62% 68%, transparent 68% 84%, var(--neo-pink) 84% 90%, transparent 90%);
}

.neo-icon--wave::before {
  left: 10px;
  right: 10px;
  top: 28px;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--neo-blue), var(--neo-mint), var(--neo-pink), transparent);
  clip-path: polygon(0 50%, 8% 26%, 16% 74%, 24% 30%, 32% 64%, 40% 40%, 48% 60%, 56% 28%, 64% 72%, 72% 34%, 80% 66%, 88% 36%, 100% 50%);
}

.neo-icon--sliders::before,
.neo-icon--sliders::after {
  left: 14px;
  right: 14px;
  height: 2px;
  background: rgba(23, 33, 43, 0.42);
}

.neo-icon--sliders::before {
  top: 22px;
}

.neo-icon--sliders::after {
  top: 38px;
}

.neo-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.neo-service-card {
  padding: 16px 14px 18px;
  border-top: 1px solid rgba(34, 191, 208, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent);
}

.neo-service-card__label {
  color: var(--neo-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.neo-service-card h3 {
  margin: 10px 0 10px;
  font-size: 28px;
  font-weight: 500;
}

.neo-service-card p {
  margin: 0;
  color: var(--neo-text-soft);
  font-size: 14px;
}

.neo-news-list {
  display: grid;
  gap: 14px;
}

.neo-news-item a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.neo-news-item__thumb {
  aspect-ratio: 1.4 / 1;
  border-radius: 12px;
}

.neo-news-item__thumb img {
  border-radius: 12px;
}

.neo-news-item__body {
  display: grid;
  gap: 6px;
}

.neo-news-item__date {
  color: var(--neo-blue);
  font-size: 12px;
  font-weight: 700;
}

.neo-news-item__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.neo-news-item__text {
  color: var(--neo-text-soft);
  font-size: 13px;
}

.neo-contact-band {
  padding: 28px 0 0;
}

.neo-contact-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--neo-border);
  border-radius: var(--neo-radius);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(231, 255, 247, 0.78), rgba(255, 249, 237, 0.92));
}

.neo-contact-band__copy h2 {
  margin: 6px 0 0;
  font-size: 28px;
  font-weight: 500;
}

.site-main {
  padding: 56px 0 72px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.content-panel,
.widget,
.post-card,
.page-card {
  border: 1px solid var(--neo-border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 255, 252, 0.86));
  box-shadow: var(--neo-shadow);
}

.content-panel {
  padding: 30px;
}

.archive-title,
.entry-title {
  margin: 0 0 24px;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.08;
}

.entry-content,
.post-excerpt,
.page-card p,
.widget,
.post-meta {
  color: var(--neo-text-soft);
}

.entry-content h2 {
  margin-top: 2em;
  font-size: 32px;
  font-weight: 500;
  color: var(--neo-text);
}

.entry-content h3 {
  margin-top: 1.7em;
  padding-left: 14px;
  border-left: 3px solid var(--neo-cyan);
  font-size: 24px;
  font-weight: 500;
  color: var(--neo-text);
}

.entry-content a {
  color: #1d7adf;
}

.entry-content .umekomi,
.entry-content .wp-block-embed,
.entry-content figure.wp-block-embed {
  width: 100%;
  max-width: 980px;
  margin: 28px auto;
}

.entry-content .umekomi {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--neo-border-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.entry-content .umekomi iframe,
.entry-content .wp-block-embed iframe,
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="nicovideo.jp"] {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 9;
}

.entry-content .wp-block-embed__wrapper {
  aspect-ratio: 16 / 9;
}

.card-grid,
.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.post-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.post-card:hover,
.page-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 191, 208, 0.42);
}

.post-card a,
.page-card a {
  color: inherit;
  text-decoration: none;
}

.post-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background-color: rgba(35, 158, 146, 0.08);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-body,
.page-card {
  padding: 20px;
}

.post-meta {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
}

.post-title,
.page-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.post-excerpt {
  margin: 10px 0 0;
  font-size: 14px;
}

.sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
}

.widget {
  padding: 20px;
}

.widget h2,
.widget-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: var(--neo-text);
}

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

.widget li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(35, 158, 146, 0.12);
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-field,
.search-submit,
input[type="text"],
input[type="email"],
textarea {
  border: 1px solid var(--neo-border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--neo-text);
}

.search-field,
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 14px;
}

.search-submit,
button,
input[type="submit"] {
  min-height: 48px;
  padding: 0 18px;
  color: var(--neo-text);
  background: linear-gradient(135deg, rgba(87, 217, 159, 0.34), rgba(255, 224, 103, 0.22));
  cursor: pointer;
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid rgba(35, 158, 146, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0 40px;
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand-mark img {
  width: 108px;
  filter: drop-shadow(0 8px 18px rgba(35, 158, 146, 0.12));
}

.footer-brand {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-tag,
.footer-meta {
  color: var(--neo-text-soft);
  font-size: 13px;
}

.footer-follow {
  display: grid;
  gap: 8px;
  color: var(--neo-text-soft);
}

.footer-socials,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials a,
.footer-links a {
  text-decoration: none;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 10px;
}

@keyframes neo-pulse {
  0%, 100% {
    opacity: 0.62;
  }
  50% {
    opacity: 1;
  }
}

@keyframes neo-bars {
  0%, 100% {
    transform: scaleY(0.82);
  }
  50% {
    transform: scaleY(1.18);
  }
}

@media (max-width: 1180px) {
  .neo-hero__inner,
  .neo-grid--top,
  .neo-grid--bottom,
  .footer-inner,
  .layout {
    grid-template-columns: 1fr;
  }

  .neo-hero__visual {
    min-height: 380px;
  }

  .footer-meta {
    justify-items: start;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 74px;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
  }

  .brand-name {
    font-size: 20px;
    letter-spacing: 0.1em;
  }

  .site-nav ul {
    justify-content: center;
  }

  .neo-hero {
    min-height: auto;
  }

  .neo-hero__inner {
    min-height: auto;
    padding: 84px 0 104px;
  }

  .neo-hero__visual {
    min-height: 220px;
  }

  .neo-feature-grid,
  .neo-work-grid,
  .neo-service-grid {
    grid-template-columns: 1fr;
  }

  .neo-contact-band__inner {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Requested slider refinements: no white ticker, calmer 7s slide, taller visual. */
.works-ticker {
  display: none !important;
}

.works-slider .works-showcase__body,
.works-showcase__body {
  height: clamp(700px, calc(100vh - 82px), 980px) !important;
}

.works-slider__track {
  transition: transform 640ms cubic-bezier(0.33, 1, 0.68, 1) !important;
}

.work-slide__image,
.work-slide.is-active .work-slide__image {
  transform: none !important;
  transition: none !important;
}

@media (max-width: 860px) {
  .works-slider .works-showcase__body,
  .works-showcase__body {
    height: 72vh !important;
    min-height: 560px !important;
  }
}

/* Auto slider powered by the latest 5 posts in category: work */
.works-slider .works-showcase__body {
  position: relative;
  height: clamp(560px, calc(100vh - 128px), 860px);
  background: #050505;
}

.works-slider__viewport {
  height: 100%;
  overflow: hidden;
}

.works-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.work-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  background: #050505;
}

.work-slide__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  overflow: hidden;
  text-decoration: none;
}

.work-slide__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 5200ms ease;
}

.work-slide.is-active .work-slide__image {
  transform: scale(1);
}

.work-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), transparent 44%, rgba(0, 0, 0, 0.26)),
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.72));
}

.work-slide__meta {
  position: absolute;
  left: 34px;
  top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.58);
}

.work-slide__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.work-slide__copy {
  position: absolute;
  left: 34px;
  right: min(34px, 4vw);
  bottom: 34px;
  display: grid;
  gap: 14px;
  max-width: min(980px, 78vw);
}

.work-slide__copy strong {
  color: #fff;
  font-size: clamp(48px, 8vw, 128px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 7px 30px rgba(0, 0, 0, 0.62);
}

.work-slide__copy em {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.6vw, 22px);
  font-style: normal;
  font-weight: 800;
  line-height: 1.55;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.62);
}

.works-slider__button {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 52px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 46px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease;
}

.works-slider__button:hover {
  background: #00c8ff;
  color: #050505;
}

.works-slider__button--prev {
  left: 0;
}

.works-slider__button--next {
  right: 0;
}

.works-slider__dots {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 14px;
  z-index: 6;
  display: flex;
  gap: 8px;
  align-items: center;
}

.works-slider__dots button {
  flex: 0 1 72px;
  min-width: 26px;
  height: 4px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.works-slider__dots button.is-active {
  background: #00c8ff;
}

@media (max-width: 860px) {
  .works-slider .works-showcase__body {
    height: 64vh;
    min-height: 460px;
  }

  .work-slide__meta {
    left: 14px;
    top: 18px;
    font-size: 11px;
  }

  .work-slide__copy {
    left: 16px;
    right: 16px;
    bottom: 38px;
    max-width: none;
  }

  .work-slide__copy strong {
    font-size: clamp(44px, 15vw, 76px);
  }

  .work-slide__copy em {
    font-size: 14px;
  }

  .works-slider__button {
    width: 38px;
    height: 58px;
    font-size: 34px;
  }

  .works-slider__dots {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .works-slider__track,
  .work-slide__image {
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .wrap,
  .neo-shell {
    width: calc(100% - 24px);
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 92px;
  }

  .brand-name {
    font-size: 18px;
  }

  .site-nav a {
    min-height: 36px;
    padding: 0 8px;
    font-size: 11px;
  }

  .neo-hero__title {
    font-size: 46px;
  }

  .neo-hero__sub {
    font-size: 16px;
    letter-spacing: 0.12em;
  }

  .neo-hero__lead {
    font-size: 22px;
  }

  .neo-button {
    width: 100%;
  }

  .neo-screen--main {
    inset: 0 0 20px 0;
  }

  .neo-screen--floating {
    width: 112px;
    height: 78px;
    right: 0;
  }

  .neo-screen--mini {
    right: 10px;
    bottom: 0;
    width: 134px;
    height: 58px;
    padding: 10px;
  }

  .neo-dashboard {
    margin-top: -26px;
  }

  .neo-panel {
    padding: 18px;
  }

  .neo-panel__head {
    align-items: start;
    flex-direction: column;
  }

  .neo-panel__head h2 {
    font-size: 28px;
  }

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

  .neo-news-item a {
    grid-template-columns: 1fr;
  }

  .archive-title,
  .entry-title {
    font-size: 34px;
  }

  .content-panel,
  .widget {
    padding: 20px;
  }

  .footer-brand {
    font-size: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Page-first front page */
.page-home {
  position: relative;
  padding-bottom: 84px;
  color: var(--neo-text);
}

.page-home::before {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 42vh;
  background:
    linear-gradient(120deg, rgba(87, 217, 159, 0.16), transparent 42%),
    linear-gradient(300deg, rgba(45, 140, 255, 0.12), transparent 48%);
  pointer-events: none;
  z-index: -1;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 132px) 0 clamp(58px, 8vw, 96px);
  border-bottom: 1px solid rgba(35, 158, 146, 0.16);
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 224, 103, 0.38), transparent 18%),
    radial-gradient(circle at 18% 0%, rgba(87, 217, 159, 0.34), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 255, 249, 0.92) 52%, rgba(245, 250, 255, 0.96));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(35, 158, 146, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 158, 146, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 92%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 12% -20% auto auto;
  width: min(640px, 54vw);
  aspect-ratio: 1;
  border: 1px solid rgba(45, 140, 255, 0.14);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 191, 208, 0.16), transparent 64%);
  animation: page-float 11s ease-in-out infinite;
}

.page-hero__inner,
.page-shell {
  width: min(1480px, calc(100% - 48px));
  margin-inline: auto;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.page-hero__copy {
  max-width: 1000px;
  animation: page-rise 700ms ease both;
}

.page-hero__eyebrow,
.page-section__label {
  margin: 0;
  color: #177d9d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero__title {
  margin: 12px 0 0;
  font-size: clamp(58px, 11vw, 168px);
  font-weight: 250;
  line-height: 0.9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #101923;
  text-wrap: balance;
}

.page-hero__lead {
  max-width: 900px;
  margin: 30px 0 0;
  color: #263746;
  font-size: clamp(21px, 2.2vw, 38px);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid rgba(35, 158, 146, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #17212b;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(30, 99, 115, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.page-button:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 191, 208, 0.62);
  box-shadow: 0 22px 52px rgba(30, 99, 115, 0.16);
}

.page-button--primary {
  background: linear-gradient(135deg, #54dfa5, #62c8ff);
  color: #fff;
}

.page-hero__aside {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(35, 158, 146, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(235, 255, 248, 0.62)),
    linear-gradient(90deg, transparent, rgba(34, 191, 208, 0.14), transparent);
  box-shadow: 0 26px 72px rgba(30, 99, 115, 0.13);
  overflow: hidden;
  animation: page-rise 850ms 120ms ease both;
}

.page-hero__aside::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(45, 140, 255, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(87, 217, 159, 0.13) 1px, transparent 1px);
  background-size: 28px 28px;
}

.page-hero__feature,
.page-hero__placeholder {
  position: relative;
  z-index: 1;
  min-height: 300px;
  padding: 20px;
}

.page-hero__feature {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}

.page-hero__feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #177d9d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero__feature-head strong {
  color: #17212b;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-content--hero {
  min-width: 0;
  font-size: 14px;
  line-height: 1.65;
}

.page-content--hero > * {
  max-width: none;
}

.page-content--hero h1,
.page-content--hero h2,
.page-content--hero h3,
.page-content--hero .wp-block-heading {
  margin: 0 0 10px !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  font-size: clamp(20px, 2.2vw, 30px) !important;
  line-height: 1.2;
}

.page-content--hero p {
  margin: 0 0 12px;
}

.page-content--hero .wp-block-gallery,
.page-content--hero .wp-block-latest-posts,
.page-content--hero .wp-block-columns,
.page-content--hero .wp-block-group {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 78%);
  gap: 14px;
  max-width: none;
  margin: 0;
  padding: 4px 2px 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-content--hero .wp-block-gallery > *,
.page-content--hero .wp-block-latest-posts > li,
.page-content--hero .wp-block-columns > .wp-block-column,
.page-content--hero .wp-block-group > * {
  scroll-snap-align: start;
}

.page-content--hero .wp-block-column,
.page-content--hero .wp-block-latest-posts li,
.page-content--hero .wp-block-image,
.page-content--hero figure {
  min-width: 0;
  min-height: 180px;
  padding: 0;
  border: 1px solid rgba(35, 158, 146, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.page-content--hero .wp-block-image img,
.page-content--hero .wp-block-gallery img,
.page-content--hero figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: none;
}

.page-content--hero .wp-block-embed,
.page-content--hero .umekomi {
  max-width: none;
  margin: 0;
  border-radius: 18px;
}

.page-hero__placeholder {
  display: grid;
  align-content: space-between;
  gap: 20px;
}

.page-hero__placeholder-lines {
  position: relative;
  min-height: 120px;
}

.page-hero__placeholder p {
  margin: 0;
  color: #566776;
  font-size: 14px;
}

.page-hero__line {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 42%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #2d8cff, #57d99f, #ffe067, transparent);
  animation: page-line 4.8s ease-in-out infinite;
}

.page-hero__line--short {
  top: 56%;
  left: 22%;
  right: 18%;
  animation-delay: 900ms;
}

.page-section {
  padding: clamp(42px, 7vw, 86px) 0 0;
}

.page-section__head,
.page-detail__head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.page-section__head h2,
.page-detail__head h2 {
  margin: 0;
  color: #101923;
  font-size: clamp(34px, 4.8vw, 72px);
  font-weight: 450;
  line-height: 1.04;
  letter-spacing: 0;
}

.page-surface,
.page-detail {
  border: 1px solid rgba(35, 158, 146, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--neo-shadow);
  backdrop-filter: blur(16px);
}

.page-surface {
  padding: clamp(24px, 5vw, 58px);
}

.page-content {
  color: #263746;
  font-size: 17px;
  line-height: 1.9;
}

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

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

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  color: #101923;
  line-height: 1.22;
}

.page-content h2 {
  margin: 2.1em 0 0.7em;
  padding-left: 18px;
  border-left: 4px solid #57d99f;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 600;
}

.page-content h3 {
  margin: 1.8em 0 0.6em;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 650;
}

.page-content p,
.page-content ul,
.page-content ol {
  max-width: 980px;
}

.page-content a {
  color: #0879d6;
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.page-content img,
.page-content video {
  border-radius: 18px;
  box-shadow: 0 20px 54px rgba(30, 99, 115, 0.12);
}

.page-content .wp-block-columns {
  gap: 20px;
}

.page-content .wp-block-column {
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(35, 158, 146, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 255, 252, 0.9), rgba(255, 255, 255, 0.78));
}

.page-content .wp-block-button__link {
  border-radius: 999px;
  background: linear-gradient(135deg, #22bfd0, #57d99f);
  box-shadow: 0 18px 38px rgba(35, 158, 146, 0.16);
}

.page-content .wp-block-latest-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: none;
  padding: 0;
}

.page-content .wp-block-latest-posts li {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(35, 158, 146, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  list-style: none;
}

.page-content .umekomi,
.page-content .wp-block-embed,
.page-content figure.wp-block-embed {
  max-width: 1180px;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.page-link-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(35, 158, 146, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(238, 251, 248, 0.78));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(30, 99, 115, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.page-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 191, 208, 0.46);
  box-shadow: 0 24px 58px rgba(30, 99, 115, 0.15);
}

.page-link-card__label {
  color: #177d9d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-link-card strong {
  color: #101923;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 650;
  line-height: 1.16;
}

.page-link-card span:last-child {
  color: #566776;
  line-height: 1.75;
}

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

.page-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 58px);
  padding: clamp(24px, 4vw, 48px);
}

.page-detail__head {
  align-self: start;
  position: sticky;
  top: 118px;
}

.page-detail__head a {
  width: fit-content;
  margin-top: 10px;
  color: #0879d6;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.page-detail__content {
  min-width: 0;
}

.footer-inner {
  grid-template-columns: minmax(0, 1fr) auto;
}

.footer-links ul,
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--neo-text-soft);
  font-weight: 700;
}

@keyframes page-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-18px, 12px, 0) rotate(4deg);
  }
}

@keyframes page-line {
  0%, 100% {
    transform: scaleX(0.72);
    opacity: 0.54;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .page-hero__inner,
  .page-detail {
    grid-template-columns: 1fr;
  }

  .page-hero__aside {
    min-height: 190px;
  }

  .page-detail__head {
    position: static;
  }
}

@media (max-width: 700px) {
  .page-hero__inner,
  .page-shell {
    width: calc(100% - 24px);
  }

  .page-hero {
    padding-top: 58px;
  }

  .page-hero__title {
    font-size: 48px;
    letter-spacing: 0.06em;
  }

  .page-hero__lead {
    font-size: 20px;
  }

  .page-actions,
  .page-button {
    width: 100%;
  }

  .page-hero__aside {
    min-height: 150px;
    border-radius: 20px;
  }

  .page-surface,
  .page-detail,
  .page-link-card {
    border-radius: 16px;
  }

  .page-content {
    font-size: 15px;
  }

  .page-content .wp-block-columns {
    display: grid;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links ul,
  .footer-menu {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::after,
  .page-hero__copy,
  .page-hero__aside,
  .page-hero__line {
    animation: none !important;
  }
}

/* Keep editor-authored fixed pages readable inside the front page frame. */
.page-content .animated {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.page-content .wp-block-heading {
  color: #101923 !important;
  display: block;
  font-size: clamp(28px, 3.4vw, 46px) !important;
  opacity: 1 !important;
  text-align: left !important;
}

.page-content .wp-block-heading.has-text-align-center {
  text-align: left !important;
}

.page-content .wp-block-columns:has(> .wp-block-column:only-child) {
  display: block;
}

.page-content .wp-block-columns:has(> .wp-block-column:only-child) > .wp-block-column {
  padding: 0;
  border: 0;
  background: transparent;
}

.page-content .wp-block-latest-posts li {
  min-height: unset;
}

.page-content hr.wp-block-separator {
  width: 100%;
  margin: 46px 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 33, 43, 0.34), transparent);
}

@media (max-width: 700px) {
  .page-content .wp-block-heading.has-text-align-center {
    text-align: left !important;
  }
}

/* Full-width editable works showcase */
.site-header {
  background: #050505;
  border-bottom-color: #050505;
}

.brand img,
.footer-brand-mark img {
  filter: invert(1) drop-shadow(0 8px 18px rgba(34, 191, 208, 0.18));
}

.brand-name {
  color: #fff;
  font-weight: 800;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: #fff;
  border-color: #00c8ff;
  text-shadow: none;
}

.works-showcase {
  position: relative;
  z-index: 2;
  background: #050505;
  color: #fff;
  overflow: hidden;
}

.works-ticker {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 44px;
  padding: 0 38px;
  border-top: 1px solid #fff;
  border-bottom: 2px solid #050505;
  background: #fff;
  color: #050505;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.works-ticker em {
  min-width: 0;
  overflow: hidden;
  color: #050505;
  font-style: normal;
  text-overflow: ellipsis;
}

.works-showcase__body {
  height: clamp(560px, calc(100vh - 128px), 860px);
  min-height: 0;
}

.works-showcase__content {
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.page-content--showcase {
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.page-content--showcase > .wp-block-heading:first-child {
  position: absolute;
  left: 34px;
  bottom: 24px;
  z-index: 4;
  max-width: min(620px, 72vw);
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #fff !important;
  font-size: clamp(42px, 7vw, 108px) !important;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

.page-content--showcase .wp-block-gallery {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.page-content--showcase .wp-block-gallery::-webkit-scrollbar,
.page-content--showcase .wp-block-latest-posts::-webkit-scrollbar {
  display: none;
}

.page-content--showcase .wp-block-gallery > .wp-block-image {
  flex: 0 0 38vw;
  width: 38vw !important;
  max-width: none !important;
  height: 100%;
  margin: 0 !important;
  border-right: 2px solid #050505;
  border-radius: 0;
  background: #050505;
  scroll-snap-align: start;
}

.page-content--showcase .wp-block-gallery > .wp-block-image:first-child {
  flex-basis: 78vw;
  width: 78vw !important;
}

.page-content--showcase .wp-block-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

.page-content--showcase .wp-block-latest-posts {
  display: flex !important;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.page-content--showcase .wp-block-latest-posts li {
  flex: 0 0 34vw;
  display: grid;
  align-content: end;
  min-height: 100%;
  margin: 0;
  padding: 32px;
  border: 0;
  border-right: 2px solid #050505;
  border-radius: 0;
  background: linear-gradient(180deg, #181818, #050505);
  color: #fff;
  scroll-snap-align: start;
}

.page-content--showcase .wp-block-latest-posts li:first-child {
  flex-basis: 70vw;
}

.page-content--showcase .wp-block-latest-posts__featured-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-content--showcase .wp-block-latest-posts__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.page-content--showcase a {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 900;
  text-decoration: none;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.page-hero--compact {
  min-height: auto;
  padding: clamp(54px, 7vw, 94px) 0;
}

.page-hero--compact .page-hero__inner {
  display: block;
}

.page-hero--compact .page-hero__copy {
  max-width: min(1100px, 100%);
}

.page-hero--compact .page-hero__title {
  font-size: clamp(52px, 10vw, 132px);
}

@media (max-width: 860px) {
  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .site-nav ul {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2px;
    min-width: max-content;
    margin-inline: auto;
  }

  .site-nav a {
    min-height: 36px;
    padding: 0 9px;
    font-size: 12px;
  }

  .works-ticker {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 11px;
  }

  .works-ticker strong {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .works-ticker em {
    display: none;
  }

  .works-showcase__body {
    height: 60vh;
    min-height: 430px;
  }

  .page-content--showcase > .wp-block-heading:first-child {
    left: 18px;
    bottom: 18px;
    font-size: clamp(34px, 14vw, 72px) !important;
  }

  .page-content--showcase .wp-block-gallery > .wp-block-image {
    flex-basis: 82vw;
    width: 82vw !important;
  }

  .page-content--showcase .wp-block-gallery > .wp-block-image:first-child {
    flex-basis: 92vw;
    width: 92vw !important;
  }

  .page-content--showcase .wp-block-latest-posts li,
  .page-content--showcase .wp-block-latest-posts li:first-child {
    flex-basis: 82vw;
  }
}

/* Final overrides for the current work slider request. Keep this block last. */
.works-ticker {
  display: none !important;
}

.works-slider .works-showcase__body,
.works-showcase__body {
  height: clamp(720px, calc(100vh - 82px), 1000px) !important;
}

.works-slider__track {
  transition: transform 640ms cubic-bezier(0.33, 1, 0.68, 1) !important;
}

.work-slide__image,
.work-slide.is-active .work-slide__image {
  transform: none !important;
  transition: none !important;
}

@media (max-width: 860px) {
  .works-slider .works-showcase__body,
  .works-showcase__body {
    height: 74vh !important;
    min-height: 580px !important;
  }
}
