/* ==============================================
   YTSCO - STYLE.CSS
   Modern industrial: charcoal + safety yellow
   ============================================== */

:root {
  --c-bg: #fafaf7;
  --c-bg-alt: #f0efea;
  --c-cream: #ffffff;
  --c-ink: #0e0e0e;
  --c-ink-soft: #1f1f1f;
  --c-charcoal: #1a1a1a;
  --c-graphite: #2a2a2a;
  --c-muted: #6b6b6b;
  --c-line: #e5e3dd;
  --c-accent: #f5c518;
  --c-accent-deep: #e0a800;
  --c-accent-soft: #fff3b0;
  --c-success: #1aaa55;
  --c-error: #d63638;

  --c-shadow: rgba(14, 14, 14, 0.12);
  --c-shadow-soft: rgba(14, 14, 14, 0.06);
  --c-shadow-strong: rgba(14, 14, 14, 0.25);

  --font-display: 'Archivo', 'Noto Sans JP', sans-serif;
  --font-body: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-jp: 'Noto Sans JP', 'Inter', sans-serif;

  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  --transition: 350ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* JP language uses Noto Sans JP body */
html[lang="ja"] body { font-family: var(--font-jp); }
html[lang="ja"] .section-title,
html[lang="ja"] .hero__title,
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] h4 {
  font-family: var(--font-jp);
  letter-spacing: -0.005em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, picture, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; top: -40px; left: 8px; padding: 10px 16px;
  background: var(--c-ink); color: var(--c-accent);
  border-radius: var(--radius-sm); z-index: 1000;
  font-weight: 600; font-size: 14px;
  transition: top var(--transition);
}
.skip-link:focus { top: 8px; }

/* Typography helpers */
.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-ink); margin-bottom: 18px;
  position: relative; padding-left: 32px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 22px; height: 2px; background: var(--c-accent);
  transform: translateY(-50%);
}
.eyebrow--light { color: var(--c-cream); }

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.section-title em {
  font-style: normal;
  color: var(--c-accent-deep);
  position: relative;
  display: inline-block;
}
.section-title em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.05em;
  height: 0.18em;
  background: var(--c-accent);
  z-index: -1;
  opacity: 0.55;
}

.section-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--c-muted);
  max-width: 580px; line-height: 1.7;
}

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head--split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  max-width: 100%;
  align-items: end;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-ink);
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.35);
}
.btn--primary:hover {
  background: var(--c-ink);
  color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px var(--c-shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn--ghost:hover { background: var(--c-ink); color: var(--c-cream); transform: translateY(-2px); }
.btn--ghost-light {
  background: transparent;
  color: var(--c-cream);
  border-color: var(--c-cream);
}
.btn--ghost-light:hover { background: var(--c-cream); color: var(--c-ink); transform: translateY(-2px); }
.btn--dark {
  background: var(--c-ink);
  color: var(--c-cream);
  box-shadow: 0 6px 20px var(--c-shadow);
}
.btn--dark:hover { background: var(--c-accent); color: var(--c-ink); transform: translateY(-2px); }
.btn--block { width: 100%; padding: 18px 28px; }

/* ======================================
   NAVBAR
   ====================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--c-line);
  box-shadow: 0 4px 24px var(--c-shadow-soft);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 24px;
}
.nav__brand img { height: 40px; width: auto; }

.nav__links {
  display: flex; gap: 32px;
  font-size: 14px; font-weight: 500;
}
.nav__links a {
  color: var(--c-ink-soft);
  position: relative; padding: 8px 0;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600;
}
.nav__links a:hover { color: var(--c-ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--c-accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--transition);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

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

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--c-ink);
  color: var(--c-accent);
  border-radius: 999px;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: transform var(--transition), background var(--transition);
}
.nav__cta:hover { background: var(--c-accent); color: var(--c-ink); transform: translateY(-1px); }

/* Lang switcher */
.lang-switcher { position: relative; }
.lang-switcher__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: transparent;
  transition: border-color var(--transition), background var(--transition);
}
.lang-switcher__btn:hover { border-color: var(--c-ink); background: rgba(0,0,0,0.02); }
.lang-switcher__btn img { border-radius: 2px; }
.lang-switcher__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 160px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 12px 32px var(--c-shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 110;
}
.lang-switcher.is-open .lang-switcher__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switcher__menu li button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  font-size: 14px; text-align: left;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.lang-switcher__menu li button:hover { background: var(--c-bg-alt); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--c-ink); transition: transform var(--transition), opacity var(--transition); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================
   HERO
   ====================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
  color: var(--c-cream);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: grayscale(0.2);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.7) 50%, rgba(14, 14, 14, 0.4) 100%),
    linear-gradient(180deg, rgba(14, 14, 14, 0.4) 0%, rgba(14, 14, 14, 0.6) 100%);
}

.hero__content { position: relative; z-index: 1; max-width: 880px; }
.hero__title {
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--c-cream);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 28px;
  text-transform: uppercase;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html[lang="ja"] .hero__title {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  text-transform: none;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero__title em {
  font-style: normal;
  color: var(--c-accent);
  position: relative;
  display: inline-block;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 580px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 56px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 580px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
}
.hero__stats span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

.hero__scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
}
.hero__scroll span {
  display: block; width: 3px; height: 8px; margin: 8px auto;
  background: var(--c-accent); border-radius: 2px;
  animation: scrollDown 1.6s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* ======================================
   MARQUEE
   ====================================== */
.marquee {
  background: var(--c-ink);
  color: var(--c-accent);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee__track {
  display: inline-flex; gap: 32px; align-items: center;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.marquee__track span:nth-child(odd) { color: var(--c-accent); }
.marquee__track span:nth-child(even) { color: rgba(255, 255, 255, 0.3); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ======================================
   INTRO / ABOUT
   ====================================== */
.intro { padding: 120px 0; background: var(--c-bg); }
.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.intro__text p { color: var(--c-ink-soft); font-size: 16px; line-height: 1.8; }
.intro__list {
  margin: 32px 0 40px;
  display: grid; gap: 14px;
}
.intro__list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; color: var(--c-ink-soft);
}
.intro__list .dot {
  flex-shrink: 0;
  width: 10px; height: 10px;
  background: var(--c-accent);
  border-radius: 50%;
  margin-top: 8px;
  box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.2);
}

.intro__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 640px;
}
.intro__img-main {
  position: absolute; inset: 0 60px 80px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px var(--c-shadow);
}
.intro__img-main img { width: 100%; height: 100%; object-fit: cover; }
.intro__img-acc {
  position: absolute; bottom: 0; right: 0;
  width: 60%; height: 35%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--c-bg);
  box-shadow: 0 20px 40px var(--c-shadow);
}
.intro__img-acc img { width: 100%; height: 100%; object-fit: cover; }
.intro__badge {
  position: absolute;
  top: 20px; left: -20px;
  background: var(--c-accent);
  color: var(--c-ink);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(245, 197, 24, 0.4);
  z-index: 2;
}
.intro__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 900;
  line-height: 1;
}
.intro__badge span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
  line-height: 1.3;
}

/* ======================================
   SERVICES
   ====================================== */
.services { padding: 120px 0; background: var(--c-bg-alt); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px var(--c-shadow);
}
.service-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-ink);
}
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  filter: grayscale(0.15);
}
.service-card:hover .service-card__img img {
  transform: scale(1.06);
  filter: grayscale(0);
}
.service-card__body {
  padding: 32px;
  flex: 1;
  display: flex; flex-direction: column;
  position: relative;
}
.service-card__num {
  position: absolute;
  top: 32px; right: 32px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--c-muted);
  letter-spacing: 0.1em;
}
.service-card__num::before {
  content: ""; display: inline-block;
  width: 18px; height: 1px;
  background: var(--c-accent);
  vertical-align: middle;
  margin-right: 8px;
}
.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  padding-right: 60px;
}
.service-card p {
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card__list {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.service-card__list li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--c-bg-alt);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink-soft);
  letter-spacing: 0.02em;
}
.service-card__list li::before {
  content: ""; width: 6px; height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
}

/* ======================================
   PROJECTS
   ====================================== */
.projects { padding: 120px 0; }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--c-ink);
}
.project-card__img { position: absolute; inset: 0; }
.project-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-slow);
  filter: grayscale(0.3) brightness(0.95);
}
.project-card:hover .project-card__img img {
  transform: scale(1.08);
  filter: grayscale(0) brightness(1);
}
.project-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 14, 14, 0.9) 100%);
  color: var(--c-cream);
  transform: translateY(0);
  transition: padding var(--transition);
}
.project-card__cat {
  display: inline-block;
  padding: 4px 10px;
  background: var(--c-accent);
  color: var(--c-ink);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 12px;
}
.project-card h3 {
  font-size: 1.5rem;
  color: var(--c-cream);
  margin-bottom: 8px;
}
.project-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--transition), opacity var(--transition);
}
.project-card:hover p { max-height: 80px; opacity: 1; }

/* ======================================
   TESTIMONIAL
   ====================================== */
.testimonial {
  position: relative;
  padding: 120px 0;
  color: var(--c-cream);
  isolation: isolate;
}
.testimonial__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.testimonial__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
}
.testimonial__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.78) 100%);
}
.testimonial__inner { text-align: center; }
.testimonial .section-title { color: var(--c-cream); margin: 0 auto 56px; max-width: 880px; }
.testimonial .section-title em { color: var(--c-accent); font-size: 1.4em; line-height: 0.5; vertical-align: -0.1em; }
.testimonial .section-title em::after { display: none; }

.testimonial__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 32px;
  border-radius: var(--radius-lg);
}
.testimonial-card__stars {
  color: var(--c-accent);
  font-size: 18px;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.testimonial-card p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
}
.testimonial-card__author { display: flex; flex-direction: column; gap: 4px; }
.testimonial-card__author strong { font-size: 15px; font-weight: 700; color: var(--c-cream); }
.testimonial-card__author span { font-size: 12px; color: var(--c-accent); text-transform: uppercase; letter-spacing: 0.1em; }

/* ======================================
   CTA BANNER
   ====================================== */
.cta-banner {
  padding: 100px 0;
  background: var(--c-accent);
  color: var(--c-ink);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,0,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: "";
  position: absolute; left: 5%; bottom: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-banner .eyebrow { color: var(--c-ink); }
.cta-banner .eyebrow::before { background: var(--c-ink); }
.cta-banner .section-title { color: var(--c-ink); margin-bottom: 12px; }
.cta-banner .section-title em { color: var(--c-ink); }
.cta-banner .section-title em::after { background: rgba(255,255,255,0.5); height: 0.22em; }
.cta-banner p { color: var(--c-ink-soft); font-size: 1.05rem; margin: 0; opacity: 0.85; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.cta-banner .btn--primary { background: var(--c-ink); color: var(--c-accent); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.cta-banner .btn--primary:hover { background: var(--c-cream); color: var(--c-ink); }
.cta-banner .btn--ghost-light { color: var(--c-ink); border-color: var(--c-ink); }
.cta-banner .btn--ghost-light:hover { background: var(--c-ink); color: var(--c-accent); }

/* ======================================
   CONTACT
   ====================================== */
.contact { padding: 120px 0 0; background: var(--c-bg); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
.contact__info p { color: var(--c-muted); font-size: 16px; line-height: 1.7; }

.contact__list {
  display: grid; gap: 22px;
  margin-top: 32px;
}
.contact__list li {
  display: grid; gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}
.contact__list li:last-child { border-bottom: 0; }
.contact__list strong {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-muted); font-weight: 700;
}
.contact__list a, .contact__list span {
  color: var(--c-ink);
  font-size: 16px; font-weight: 500;
  line-height: 1.5;
}
.contact__list a:hover { color: var(--c-accent-deep); }

/* Form */
.contact__form {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 16px 36px var(--c-shadow-soft);
}
.contact__form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: var(--c-ink);
}
.contact__form label {
  display: block;
  margin-bottom: 18px;
}
.contact__form label > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 6px;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-cream);
  font-family: inherit;
  font-size: 15px;
  color: var(--c-ink);
  transition: border-color var(--transition), background var(--transition);
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--c-ink);
  background: var(--c-cream);
}
.contact__form textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-status { font-size: 14px; margin-top: 14px; min-height: 20px; }
.form-status.is-ok { color: var(--c-success); }
.form-status.is-err { color: var(--c-error); }

.contact__map-wrap {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: 0 -12px 32px var(--c-shadow-soft);
  border: 1px solid var(--c-line);
  border-bottom: 0;
}
.contact__map-wrap iframe { display: block; }

/* ======================================
   FOOTER
   ====================================== */
.footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer__brand img {
  height: 44px; width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer__brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a, .footer__col li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--c-accent); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: rgba(255, 255, 255, 0.55); }
.footer__legal a:hover { color: var(--c-accent); }

/* ======================================
   FLOATING TEL
   ====================================== */
.float-tel {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: var(--c-ink);
  color: var(--c-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px var(--c-shadow);
  z-index: 90;
  transition: transform var(--transition), background var(--transition);
  animation: pulse-yellow 2.5s ease-out infinite;
}
.float-tel:hover { background: var(--c-accent); color: var(--c-ink); transform: scale(1.08); animation: none; }

@keyframes pulse-yellow {
  0% { box-shadow: 0 8px 24px var(--c-shadow), 0 0 0 0 rgba(245, 197, 24, 0.6); }
  70% { box-shadow: 0 8px 24px var(--c-shadow), 0 0 0 18px rgba(245, 197, 24, 0); }
  100% { box-shadow: 0 8px 24px var(--c-shadow), 0 0 0 0 rgba(245, 197, 24, 0); }
}

/* ======================================
   REVEAL ON SCROLL
   ====================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 1024px) {
  .nav__links { gap: 24px; }
  .intro__inner { gap: 56px; }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--c-cream);
    flex-direction: column;
    padding: 32px var(--gutter);
    gap: 0;
    transform: translateY(-150%);
    transition: transform var(--transition);
    box-shadow: 0 12px 32px var(--c-shadow);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a {
    font-size: 22px; padding: 18px 0;
    border-bottom: 1px solid var(--c-line);
  }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .hero__stats { gap: 24px; }
  .hero__stats strong { font-size: 1.6rem; }

  .intro__inner,
  .contact__inner,
  .cta-banner__inner,
  .section-head--split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-banner__actions { justify-content: flex-start; }

  .services__grid,
  .projects__grid,
  .testimonial__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner { grid-template-columns: 1fr 1fr; }

  .intro__media { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .nav__brand img { height: 34px; }
  .nav__right { gap: 8px; }
  .lang-switcher__btn { padding: 6px 10px; font-size: 12px; }
  .lang-switcher__btn span { display: none; }

  .hero { padding: 110px 0 80px; min-height: auto; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  html[lang="ja"] .hero__title { font-size: clamp(1.8rem, 8vw, 3rem); }
  .hero__actions .btn { flex: 1; min-width: 140px; padding: 14px 20px; font-size: 13px; }
  .hero__stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
  }

  .marquee { padding: 14px 0; }
  .marquee__track { font-size: 1rem; gap: 24px; animation-duration: 28s; }

  .intro, .services, .projects, .testimonial, .contact { padding: 70px 0; }
  .cta-banner { padding: 60px 0; }
  .contact { padding-bottom: 0; }

  .service-card__body { padding: 24px; }
  .service-card h3 { font-size: 1.35rem; padding-right: 50px; }
  .service-card__num { top: 24px; right: 24px; }

  .project-card__overlay { padding: 22px; }
  .project-card h3 { font-size: 1.2rem; }

  .testimonial-card { padding: 24px; }

  .contact__form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; }

  .float-tel { width: 52px; height: 52px; bottom: 20px; right: 20px; }

  .intro__badge { padding: 12px 16px; left: -10px; top: 12px; }
  .intro__badge strong { font-size: 1.5rem; }
  .intro__img-main { inset: 0 30px 40px 0; }
}

/* Mobile perf: disable backdrop-filter */
@media (max-width: 768px) {
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.96); }
  .testimonial-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
