:root {
  /* ============================================
     Brand / Color Tokens
     ============================================ */
  --color-primary: #f15a00;
  --color-primary-strong: #db4b00;
  --color-primary-soft: #f7a14a;
  --color-primary-pale: #fff1e6;

  --color-white: #ffffff;
  --color-black: #121212;

  --color-bg: #fffdfa;
  --color-bg-soft: #faf6f2;
  --color-bg-warm: #f5efe9;
  --color-bg-neutral: #f2ede8;
  --color-bg-panel: #f8f4ef;
  --color-bg-panel-strong: #f3ece5;

  --color-text: #1f1a17;
  --color-text-light: #625a53;
  --color-text-muted: #93877e;

  --color-line: #e8dfd7;
  --color-line-strong: #d8ccc1;

  --color-gradient: linear-gradient(135deg, #db4b00 0%, #f15a00 42%, #f7a14a 100%);
  --color-gradient-soft: linear-gradient(180deg, #fff8f3 0%, #f7efe7 100%);
  --color-gradient-card: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,246,242,0.98) 100%);

  /* ============================================
     Typography
     ============================================ */
  --font-ja: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Inter", sans-serif;

  /* ============================================
     Radius
     ============================================ */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* ============================================
     Shadow
     ============================================ */
  --shadow-sm: 0 6px 16px rgba(21, 18, 15, 0.04);
  --shadow-md: 0 12px 28px rgba(21, 18, 15, 0.08);
  --shadow-lg: 0 18px 40px rgba(21, 18, 15, 0.12);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.85);

  /* ============================================
     Motion / Layout
     ============================================ */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1180px;
  --header-height: 72px;
  --section-pad: 108px;
  --hero-media-max-h: 520px;
  --page-hero-media-max-h: 520px;
}

/* ============================================
   Reset / Base
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  color: inherit;
}

::selection {
  background: rgba(241, 90, 0, 0.14);
  color: var(--color-black);
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-ja);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-black);
}

p {
  color: var(--color-text-light);
}

.en-label,
.message-en-label,
.footer-col-title,
.cta-label,
.ceo-message-tag,
.hero-eyebrow {
  font-family: var(--font-en);
}

.en-label,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.en-label::before,
.hero-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.section-title {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.14;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 16px;
  line-height: 1.95;
  color: var(--color-text-light);
  max-width: 640px;
}

.page-hero-title {
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1.06;
}

.page-hero-desc {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--color-text-light);
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 44px;
}

.page-hero,
section[id],
article[id] {
  scroll-margin-top: 108px;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: calc(var(--max-width) + 20px);
  margin: 0 auto;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 249, 0.86);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-black);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #4d453f;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-gradient);
  box-shadow: 0 12px 24px rgba(241, 90, 0, 0.22);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(241, 90, 0, 0.28);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-black);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 92px;
  left: 20px;
  right: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px 20px;
  border-radius: var(--radius-lg);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  background: rgba(255, 252, 249, 0.97);
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu .nav-link {
  padding: 14px 8px;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  font-size: 15px;
}

.mobile-menu .nav-cta {
  margin-top: 14px;
  justify-content: center;
  font-size: 15px;
}

/* ============================================
   Buttons / Links
   ============================================ */
.btn-text,
.message-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 6px 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-black);
}

.btn-text::after,
.message-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  opacity: 0.92;
  transition: transform 0.28s ease, color 0.28s ease;
  transform-origin: left center;
}

.btn-text:hover,
.message-link:hover {
  color: var(--color-primary);
  gap: 14px;
}

.btn-text:hover::after,
.message-link:hover::after {
  transform: scaleX(1.04);
}

.btn-cta,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-gradient);
  box-shadow: 0 10px 22px rgba(241, 90, 0, 0.22);
}

.btn-cta:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(241, 90, 0, 0.28);
}

.btn-cta .arrow,
.btn-cta-white .arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.btn-cta .arrow {
  background: rgba(255,255,255,0.18);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.btn-outline::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.26s ease;
}

.btn-outline:hover {
  transform: translateY(-2px);
  color: var(--color-white);
  background: var(--color-gradient);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(241, 90, 0, 0.22);
}

.btn-outline:hover::after {
  transform: translateX(4px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 40%, rgba(241, 90, 0, 0.12), transparent 22%),
    linear-gradient(180deg, #fffaf6 0%, #f8f2ec 100%);
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 118px;
  padding-bottom: 90px;
}

.hero-bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 54%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 620px;
}

.hero-catch {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.02;
  margin-bottom: 26px;
}

.hero-catch span {
  display: block;
}

.hero-desc {
  max-width: 470px;
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-light);
}

/* ============================================
   Page Hero
   ============================================ */
.page-hero {
  padding: 140px 0 58px;
  background: linear-gradient(180deg, #fffaf7 0%, #f7f1eb 100%);
  border-bottom: 1px solid var(--color-line);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
}

.company-hero-img,
.company-page-hero img,
.page-hero-image img,
.company-hero img {
  width: 100%;
  height: auto;
  max-height: var(--page-hero-media-max-h);
  object-fit: cover;
  object-position: center;
  display: block;
}

.company-page-hero,
.page-hero-image,
.company-hero {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

/* ============================================
   Common Surfaces
   ============================================ */
.header-inner,
.message-image,
.service-card-large,
.service-card-sm,
.gallery-item,
.company-preview-media img,
.cta-block,
.problem-step-card,
.problem-statement,
.radar-wrap,
.noncog-card,
.feature-card,
.service-block,
.service-feature-item,
.service-sm-card,
.team-card,
.contact-form-wrap,
.privacy-box,
.ceo-photo-box,
.contact-info-card,
.stat-badge {
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow: var(--shadow-sm);
}

.message-image,
.service-card-large,
.service-card-sm,
.gallery-item,
.problem-step-card,
.problem-statement,
.radar-wrap,
.noncog-card,
.feature-card,
.service-block,
.service-feature-item,
.service-sm-card,
.team-card,
.contact-form-wrap,
.privacy-box,
.ceo-photo-box,
.contact-info-card,
.stat-badge {
  background: var(--color-gradient-card);
}

.service-card-large:hover,
.service-card-sm:hover,
.problem-step-card:hover,
.noncog-card:hover,
.feature-card:hover,
.service-block:hover,
.service-feature-item:hover,
.service-sm-card:hover,
.team-card:hover,
.contact-info-card:hover {
  box-shadow: var(--shadow-md);
}

/* ============================================
   Card Helpers
   ============================================ */
.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card-body {
  padding: 32px;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-light);
}

/* ============================================
   Index — Message
   ============================================ */
.message-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #f8f1ea 0%, #fcf9f6 100%);
}

.message-section .container {
  position: relative;
  z-index: 2;
}

.message-inner {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 74px;
  align-items: center;
}

.message-copy {
  position: relative;
  z-index: 2;
}

.message-en-label {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.message-title {
  margin-bottom: 26px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.24;
  color: var(--color-black);
}

.message-text {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-light);
}

.message-illust {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.message-illust img {
  width: 100%;
  max-width: 560px;
  max-height: 380px;
  object-fit: contain;
  opacity: 0.96;
}

.message-image,
.message-deco-small {
  display: none !important;
}

/* ============================================
   Index — Services
   ============================================ */
.services-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0 calc(var(--section-pad) + 8px);
  background: linear-gradient(180deg, #fffcf9 0%, #f8f2ed 100%);
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.services-header {
  padding-bottom: 44px;
}

.services-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: end;
  gap: 40px;
}

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

.service-card-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.service-card-large:hover {
  transform: translateY(-3px);
}

.service-card-large .card-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.service-card-large .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 42px 40px;
}

.service-logo-img {
  display: block;
  width: auto;
  max-width: 220px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 22px;
}

.service-card-large:nth-of-type(2) .service-logo-img {
  height: 46px;
}

.service-card-large p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--color-text-light);
}

.service-card-large .btn-text {
  margin-top: 22px;
  align-self: flex-start;
}

.service-card-sm {
  position: relative;
  min-height: 210px;
  padding: 28px 26px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.service-card-sm:hover {
  transform: translateY(-3px);
}

.service-card-sm .service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8f3 0%, #f6efe8 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-inset);
}

.service-card-sm h3 {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.45;
}

.service-card-sm p {
  font-size: 13.5px;
  line-height: 1.86;
  color: var(--color-text-light);
}

.services-deco,
.services-shape,
.service-card-sm-illust,
.service-card-illust,
.service-card-shape,
.service-inline-illust {
  display: none !important;
}

/* ============================================
   Index — Company Preview
   ============================================ */
.company-preview {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #f3eee8 0%, #f9f5f1 100%);
}

.company-preview .container {
  position: relative;
  z-index: 2;
}

.company-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 72px;
  align-items: center;
}

.company-table {
  width: 100%;
  margin-top: 28px;
  border-top: 1px solid var(--color-line);
}

.company-table tr {
  border-bottom: 1px solid var(--color-line);
}

.company-table td {
  padding: 14px 0;
  font-size: 14px;
  vertical-align: top;
}

.company-table td:first-child {
  width: 94px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.company-table td:last-child {
  font-weight: 500;
  color: var(--color-text);
}

.company-preview-media img,
.company-preview img {
  width: 100%;
  height: 400px !important;
  object-fit: cover;
  border-radius: var(--radius-lg) !important;
}

.company-preview-deco {
  position: absolute;
  top: 20px;
  right: clamp(0px, 2vw, 36px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

.company-preview-deco img {
  width: clamp(120px, 16vw, 190px);
  height: auto;
}

.company-preview-shape,
.company-preview-illust {
  display: none !important;
}

/* ============================================
   Index — Gallery
   ============================================ */
.index-gallery-section {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding: 0 0 68px;
}

.index-gallery-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: gallery-marquee 42s linear infinite;
  will-change: transform;
}

.gallery-set {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  padding-right: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  width: 420px;
  height: 250px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  background: #f3f3f3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

@keyframes gallery-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 9px)); }
}

.gallery-floating-shape {
  display: none !important;
}

/* ============================================
   CTA Block
   ============================================ */
.cta-section {
  padding: 84px 0;
  background: #fffdfb;
}

.cta-block {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 56px 54px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at right top, rgba(255,255,255,0.34), transparent 20%),
    var(--color-gradient);
  box-shadow: 0 18px 34px rgba(241, 90, 0, 0.16);
}

.cta-block::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.cta-block::after {
  content: "";
  position: absolute;
  right: 110px;
  bottom: -86px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.cta-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.74);
}

.cta-title {
  margin-bottom: 10px;
  font-size: clamp(28px, 2.8vw, 36px);
  color: var(--color-white);
}

.cta-desc {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.88);
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  padding: 18px 32px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #ffffff 0%, #fff4ec 100%);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.btn-cta-white:hover {
  transform: translateY(-2px);
}

.btn-cta-white .arrow {
  background: rgba(241, 90, 0, 0.12);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, #fffdfa 0%, #f5efe9 100%);
  border-top: 1px solid var(--color-line);
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 44px;
}

.footer-brand .site-logo {
  display: block;
  margin-bottom: 18px;
  font-size: 17px;
}

.footer-address {
  font-size: 13px;
  line-height: 1.95;
  font-style: normal;
  color: var(--color-text-muted);
}

.footer-col-title {
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b6aca5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--color-text-light);
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
}

.footer-copyright {
  font-size: 12px;
  font-family: var(--font-en);
  color: #b8aea7;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   About Page
   ============================================ */
.philosophy-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #fffaf7 0%, #fffdfb 100%);
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.philosophy-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow: var(--shadow-sm);
}

.philosophy-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.philosophy-image:hover img {
  transform: scale(1.03);
}

.philosophy-text {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-light);
}

.philosophy-inner [style*="background:var(--color-primary-light)"] {
  background: linear-gradient(180deg, #fff7f2 0%, #ffece1 100%) !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
  border-left: 3px solid var(--color-primary) !important;
  box-shadow: var(--shadow-sm) !important;
}

.problem-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #f6efe8 0%, #fbf8f5 100%);
}

.problem-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}

.problem-step-card {
  padding: 34px 26px;
  text-align: center;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.problem-step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff7f2 0%, #f7efe8 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.problem-step-title {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
}

.problem-step-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-light);
}

.problem-statement {
  padding: 48px 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--color-primary);
}

.new-approach-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
  background: var(--color-gradient);
}

.new-approach-section::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.approach-card {
  margin-bottom: 36px;
  padding: 46px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

.approach-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.approach-heading {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.4;
  color: var(--color-white);
}

.approach-text {
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 2;
  color: rgba(255,255,255,0.9);
}

.approach-inner img {
  border-radius: var(--radius-md);
  box-shadow: 0 14px 24px rgba(0,0,0,0.1);
}

.process-flow-card {
  padding: 34px 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.14);
}

.process-flow-title {
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.68);
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step {
  flex: 1;
  text-align: center;
}

.process-step-circle {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.process-step-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.94);
}

.process-arrow {
  flex-shrink: 0;
  padding: 0 4px;
  font-size: 18px;
  color: rgba(255,255,255,0.55);
}

/* ============================================
   About — Noncognitive
   ============================================ */
.noncog-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #fffbf8 0%, #f5efe9 100%);
}

.noncog-intro {
  max-width: 700px;
  margin-bottom: 58px;
}

.noncog-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.radar-wrap {
  padding: 40px 28px;
  border-radius: var(--radius-lg);
}

.radar-title {
  margin-bottom: 26px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.radar-svg {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.noncog-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.noncog-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.noncog-card-num {
  min-width: 24px;
  flex-shrink: 0;
  padding-top: 3px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
}

.noncog-card-title {
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
}

.noncog-card-desc {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--color-text-light);
}

/* ============================================
   About — Features
   ============================================ */
.features-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #fffdfa 0%, #f7f2ee 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  background: var(--color-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-number {
  margin-bottom: 10px;
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: rgba(241, 90, 0, 0.1);
}

.feature-title {
  margin-bottom: 10px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
}

.feature-text {
  font-size: 13px;
  line-height: 1.84;
  color: var(--color-text-light);
}

/* ============================================
   Service Page
   ============================================ */
.service-page-section {
  padding: 84px 0 var(--section-pad);
  background: linear-gradient(180deg, #fffaf7 0%, #f8f3ee 100%);
}

.service-block {
  scroll-margin-top: 100px;
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.service-block-header {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: stretch;
}

.service-block-header.reverse .service-main-image {
  order: 2;
}

.service-block-header.reverse .service-block-info {
  order: 1;
}

.service-main-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
}

.service-block-info {
  min-width: 0;
  padding: 40px 38px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.service-block-logo {
  display: block;
  width: auto;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
  align-self: flex-start;
}

.service-block-logo.logo-toleru,
img.logo-toleru,
#toleru .service-block-logo {
  height: 40px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
}

.service-block-logo.logo-csports,
img.logo-csports,
#csports .service-block-logo,
#csports .service-block-info img:first-child {
  height: 50px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
}

.service-block-desc {
  max-width: 520px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.72;
  letter-spacing: -0.01em;
}

.service-block-desc-sub {
  max-width: 520px;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text-light);
}

.service-block-note {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.86;
  color: var(--color-text-muted);
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 30px 30px;
  background: linear-gradient(180deg, #fffaf7 0%, #f6efe8 100%);
  border-top: 1px solid var(--color-line);
}

.service-feature-item {
  padding: 22px 16px;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.service-feature-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.service-feature-num {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
}

.service-feature-label {
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.service-sm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 44px;
}

.service-sm-card {
  scroll-margin-top: 100px;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.service-sm-image,
.service-sm-card > img,
.service-sm-card img.service-sm-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-sm-card .card-body {
  padding: 24px 24px 26px;
}

.service-card-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.service-sm-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.48;
  color: var(--color-black);
}

.service-sm-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.82;
  color: var(--color-text-light);
}

.service-small-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--color-text-muted);
}

.service-sm-card-wide {
  grid-column: 1 / -1;
  overflow: hidden;
}

.service-wide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: stretch;
  min-height: 100%;
}

.service-wide-grid > .service-wide-image,
.service-wide-grid > img.service-wide-image,
.service-sm-card-wide .service-wide-image,
.service-sm-card-wide img.service-wide-image,
.service-wide-grid > *:first-child img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.service-wide-body {
  min-width: 0;
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-wide-title {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.service-wide-text {
  font-size: 14px;
  line-height: 1.82;
  color: var(--color-text-light);
}

.service-wide-cta {
  margin-top: 22px;
  align-self: flex-start;
}

.stat-badge-row,
.service-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat-badge {
  padding: 16px;
  text-align: center;
  border-radius: var(--radius-sm);
}

.stat-badge-num {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-badge-label {
  font-size: 11px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

/* ============================================
   Company Page
   ============================================ */
.company-overview {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7f2ed 100%);
}

.company-overview-inner {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.company-illust {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent !important;
}

.company-illust img {
  width: 100%;
  max-width: 280px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: block;
}

.company-table-full {
  width: 100%;
  border-top: 1px solid var(--color-line);
}

.company-table-full tr {
  border-bottom: 1px solid var(--color-line);
}

.company-table-full td {
  padding: 16px 0;
  font-size: 14px;
  vertical-align: top;
}

.company-table-full td:first-child {
  width: 120px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.company-table-full td:last-child {
  font-weight: 500;
  color: var(--color-text);
}

.ceo-message-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #f5eee8 0%, #faf7f4 100%);
}

.ceo-profile-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg-soft);
}

.ceo-profile-inner {
  max-width: 720px;
}

.ceo-profile-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ceo-message-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.ceo-photo-box {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

.ceo-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-message-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ceo-message-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.ceo-message-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.ceo-message-title {
  margin-bottom: 24px;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.ceo-message-text {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--color-text-light);
}

.ceo-name {
  margin-top: 24px;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-black);
}

.team-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #fffdfa 0%, #f7f2ee 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.team-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.team-photo-box {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.team-photo-placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f6f0ea 0%, #fffdfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  color: var(--color-text-muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.team-card-body {
  padding: 24px 22px 26px;
}

.team-role {
  margin-bottom: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.team-name {
  margin-bottom: 10px;
  font-size: 19px;
}

.team-bio {
  font-size: 13px;
  line-height: 1.84;
  color: var(--color-text-light);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
  padding: 92px 0 108px;
  background: linear-gradient(180deg, #f1ece7 0%, #f7f3ef 100%);
}

.contact-form-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fffdfa 0%, #f7f1eb 100%);
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-line);
}

.form-row:first-child {
  padding-top: 6px;
}

.form-row-textarea {
  align-items: start;
}

.form-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-black);
}

.required-dot,
.optional-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.required-dot {
  background: var(--color-primary);
}

.optional-dot {
  background: #d8cdc4;
}

.form-control {
  width: 100%;
  padding: 15px 18px;
  font-size: 14px;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  border: 1px solid #ede4db;
  background: #fffdfa;
  appearance: none;
  -webkit-appearance: none;
  transition: var(--transition);
}

.form-control::placeholder {
  color: #a59a91;
}

.form-control:focus {
  outline: none;
  border-color: rgba(241, 90, 0, 0.42);
  box-shadow: 0 0 0 4px rgba(241, 90, 0, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
}

select.form-control {
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-text-light) 50%),
    linear-gradient(135deg, var(--color-text-light) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.privacy-box {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
}

.privacy-text {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.86;
  color: var(--color-text-light);
}

.privacy-text a {
  font-weight: 700;
  color: var(--color-primary);
}

.checkbox-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text);
}

.checkbox-wrap input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.form-submit {
  margin-top: 28px;
  text-align: center;
}

.btn-submit {
  min-width: 240px;
}

/* ============================================
   Legacy / Inline Normalization
   ============================================ */
[style*="direction:rtl"] {
  direction: rtl !important;
}

.service-card-large > [style*="direction:ltr"] {
  direction: ltr !important;
}

.company-preview img[style] {
  border: 1px solid rgba(255,255,255,0.88) !important;
  box-shadow: var(--shadow-sm) !important;
}

.company-illust img[style] {
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

[style*="background:var(--color-black)"] {
  background: var(--color-gradient) !important;
}

/* ============================================
   Tablet
   ============================================ */
@media (max-width: 1180px) {
  .container {
    padding: 0 34px;
  }

  .message-inner,
  .company-preview-inner,
  .philosophy-inner,
  .approach-inner,
  .service-block-header,
  .service-wide-grid,
  .ceo-message-inner {
    gap: 48px;
  }

  .company-overview-inner {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 52px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-pad: 92px;
    --page-hero-media-max-h: 420px;
  }

  .container {
    padding: 0 28px;
  }

  .hero-bg {
    width: 56%;
    opacity: 0.17;
  }

  .hero-catch {
    font-size: clamp(42px, 8vw, 66px);
  }

  .page-hero-inner,
  .message-inner,
  .company-preview-inner,
  .philosophy-inner,
  .approach-inner,
  .noncog-inner,
  .service-block-header,
  .service-wide-grid,
  .ceo-message-inner {
    grid-template-columns: 1fr;
  }

  .services-header-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

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

  .service-card-large:nth-of-type(2) {
    direction: ltr !important;
  }

  .service-card-large:nth-of-type(2) > .card-body {
    order: 2;
  }

  .service-card-large:nth-of-type(2) > .card-img {
    order: 1;
  }

  .service-card-large .card-img {
    min-height: 280px;
  }

  .service-card-large .card-body {
    padding: 34px 30px 30px;
  }

  .service-cards,
  .team-grid,
  .features-grid,
  .problem-step-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .company-overview-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .company-illust img {
    max-width: 260px;
  }

  .cta-block {
    padding: 48px 34px;
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-hero-img,
  .company-page-hero img,
  .page-hero-image img,
  .company-hero img {
    max-height: 420px;
  }
}

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --section-pad: 80px;
    --page-hero-media-max-h: 320px;
  }

  .site-header {
    top: 10px;
  }

  .header-inner {
    padding: 0 18px;
    max-width: calc(100% - 20px);
  }

  .site-nav {
    display: none;
  }

  .hamburger,
  .mobile-menu {
    display: flex;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero .container {
    padding-top: 92px;
    padding-bottom: 72px;
  }

  .hero-bg {
    width: 100%;
    opacity: 0.1;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0) 72%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0) 72%);
  }

  .hero-desc {
    max-width: 100%;
    font-size: 14px;
  }

  .page-hero {
    padding: 118px 0 44px;
  }

  .page-hero-inner {
    gap: 18px;
  }

  .page-hero-title {
    font-size: clamp(34px, 8vw, 48px);
  }

  .message-illust img {
    max-width: 100%;
    max-height: 300px;
  }

  .service-cards,
  .team-grid,
  .features-grid,
  .problem-step-grid,
  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .service-card-large .card-img,
  .service-main-image {
    min-height: 240px;
    height: 240px;
  }

  .service-sm-image,
  .service-sm-card > img,
  .service-sm-card img.service-sm-image,
  .service-wide-grid > .service-wide-image,
  .service-wide-grid > img.service-wide-image,
  .service-sm-card-wide .service-wide-image,
  .service-sm-card-wide img.service-wide-image,
  .service-wide-grid > *:first-child img {
    height: 220px;
    min-height: 220px;
  }

  .service-sm-card .card-body,
  .service-wide-body,
  .service-block-info,
  .team-card-body,
  .contact-form-wrap {
    padding-left: 22px;
    padding-right: 22px;
  }

  .service-card-large .service-logo-img {
    height: 34px;
  }

  .service-card-large:nth-of-type(2) .service-logo-img,
  .service-block-logo.logo-csports,
  img.logo-csports,
  #csports .service-block-logo,
  #csports .service-block-info img:first-child {
    height: 40px !important;
  }

  .service-block-logo.logo-toleru,
  img.logo-toleru,
  #toleru .service-block-logo {
    height: 34px !important;
  }

  .company-preview-media img,
  .company-preview img {
    height: 300px !important;
  }

  .company-preview-deco {
    top: 10px;
    right: 10px;
    opacity: 0.42;
  }

  .company-preview-deco img {
    width: 110px;
  }

  .cta-block {
    border-radius: var(--radius-lg);
    padding: 40px 22px;
  }

  .btn-cta-white,
  .btn-cta,
  .btn-submit {
    width: 100%;
    justify-content: center;
  }

  .company-table-full td,
  .company-table td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .company-table-full tr,
  .company-table tr {
    display: block;
    padding: 10px 0;
  }

  .company-hero-img,
  .company-page-hero img,
  .page-hero-image img,
  .company-hero img {
    max-height: 320px;
  }

  .gallery-track {
    animation-duration: 32s;
  }

  .gallery-set {
    gap: 14px;
    padding-right: 14px;
  }

  .gallery-item {
    width: 280px;
    height: 180px;
  }

  @keyframes gallery-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 7px)); }
  }
}

@media (max-width: 480px) {
  :root {
    --page-hero-media-max-h: 240px;
  }

  .site-logo {
    font-size: 17px;
  }

  .hero-catch {
    font-size: 40px;
  }

  .section-title {
    font-size: 32px;
  }

  .message-title {
    font-size: 34px;
  }

  .service-card-large .card-body,
  .problem-step-card,
  .feature-card,
  .contact-form-wrap,
  .approach-card,
  .problem-statement {
    padding: 22px 18px;
  }

  .privacy-box {
    padding: 18px;
  }

  .service-card-sm {
    min-height: auto;
  }

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

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

  .company-hero-img,
  .company-page-hero img,
  .page-hero-image img,
  .company-hero img {
    max-height: 240px;
  }

  .company-preview-deco {
    display: none;
  }
}

/* ============================================
   Motion Reduction
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .gallery-track {
    animation: none !important;
  }
}