/*
Theme Name: Fullmoon
Theme URI: https://fullmoontrade.com/
Author: Fullmoon
Description: A lightweight corporate theme for Fullmoon’s global product commercialization business.
Version: 1.5.0
Text Domain: fullmoon
*/

:root {
  --ink: #10243f;
  --ink-soft: #42536a;
  --cream: #f5f0e7;
  --paper: #fffdf9;
  --blue: #143b68;
  --blue-deep: #092747;
  --gold: #c99c59;
  --line: rgba(16, 36, 63, 0.14);
  --white: #fff;
  --shadow: 0 24px 70px rgba(9, 39, 71, 0.10);
  --radius: 22px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.site-wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 7.4vw, 7.4rem); font-weight: 520; }
h2 { font-size: clamp(2.35rem, 4.8vw, 4.7rem); font-weight: 520; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 620; }
.lead { max-width: 680px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 56px; }
.section-head p { margin-bottom: 3px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--gold);
  color: var(--blue-deep);
  font-weight: 720;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); background: #d8ad6b; }
.button-outline { border-color: rgba(255,255,255,.4); background: transparent; color: var(--white); }
.button-outline:hover { background: var(--white); color: var(--blue-deep); }
.button-arrow::after { content: "↗"; font-size: 1.1em; }
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  width: 100%;
  color: var(--white);
}
.nav-shell { display: flex; min-height: 92px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.18); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 760; letter-spacing: .12em; }
.brand-mark { position: relative; width: 28px; height: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.76); border-radius: 50%; }
.brand-mark::after { content: ""; position: absolute; width: 28px; height: 28px; top: -6px; right: -7px; border-radius: 50%; background: var(--blue-deep); }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: .9rem; font-weight: 620; }
.site-nav a { opacity: .84; }
.site-nav a:hover, .site-nav .current-menu-item a { opacity: 1; }
.menu-toggle { display: none; border: 0; background: none; color: inherit; font-size: 1.5rem; }
.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 175px 0 96px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 30%, rgba(201,156,89,.26), transparent 24%),
    linear-gradient(135deg, #071f39 0%, #10385f 62%, #285f85 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: min(56vw, 760px);
  aspect-ratio: 1;
  right: -8%;
  top: 15%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: end; }
.hero h1 { max-width: 980px; margin: 22px 0 30px; }
.hero-copy { max-width: 650px; color: rgba(255,255,255,.76); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-aside { padding: 30px 0 6px 30px; border-left: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7); }
.hero-aside strong { display: block; margin-bottom: 12px; color: var(--white); font-size: 1.05rem; }
.metrics { background: var(--cream); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.52); }
.metric { padding: 34px; border-right: 1px solid var(--line); }
.metric:last-child { border: 0; }
.metric strong { display: block; color: var(--blue); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 560; letter-spacing: -.05em; }
.metric span { color: var(--ink-soft); font-size: .9rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { min-height: 300px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-index { color: var(--gold); font-size: .78rem; font-weight: 760; letter-spacing: .12em; }
.card h3 { margin: 62px 0 16px; }
.card p { margin: 0; color: var(--ink-soft); }
.dark { color: var(--white); background: var(--blue-deep); }
.dark .section-head p, .dark .card p { color: rgba(255,255,255,.66); }
.dark .card { border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.045); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 38px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #e6eced, #b9cdd5);
  color: var(--blue-deep);
}
.case:nth-child(2) { background: linear-gradient(145deg, #ece3d3, #d0b687); }
.case:nth-child(3) { background: linear-gradient(145deg, #d5e5df, #8bb6a8); }
.case:nth-child(4) { background: linear-gradient(145deg, #dedbed, #aaa4ce); }
.case::after { content: ""; position: absolute; width: 240px; height: 240px; right: -52px; bottom: -58px; border: 1px solid rgba(16,36,63,.2); border-radius: 50%; box-shadow: 0 0 0 44px rgba(255,255,255,.12); }
.case-top, .case-bottom { position: relative; z-index: 1; }
.case-tag { font-size: .75rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.case h3 { max-width: 480px; margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.2rem); }
.case p { max-width: 480px; margin: 0; }
.proof-section { background: #f8f6f1; }
.logo-group {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.logo-group:first-of-type { margin-top: 0; }
.logo-group-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.logo-group-head > span { padding-top: 4px; color: var(--gold); font-size: .72rem; font-weight: 760; }
.logo-group-head h3 { margin: 0 0 5px; font-size: 1.22rem; letter-spacing: -.02em; }
.logo-group-head p { margin: 0; color: var(--ink-soft); font-size: .86rem; }
.logo-grid { display: grid; gap: 12px; }
.logo-grid-brands { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logo-grid-partners { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logo-grid-media { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logo-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.65 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-card:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(9,39,71,.08); }
.logo-card img {
  display: block;
  min-width: 0;
  width: auto;
  height: auto;
  max-width: 76%;
  max-height: 52%;
  object-fit: contain;
}
.logo-grid-brands .logo-card { aspect-ratio: 1.45 / 1; }
.logo-grid-brands .logo-card img { max-width: 72%; max-height: 46%; }
.logo-card.logo-inshed .inshed-logo { width: 54px; max-width: 36%; max-height: 66%; }
.logo-card.logo-b8ta img,
.logo-card.logo-fukuoka-smart-east img,
.logo-card.logo-edion img,
.logo-card.logo-shinsegae-international img,
.logo-card.logo-sbs img,
.logo-card.logo-pococo img { max-height: 60%; }
.logo-card.logo-engineering-com img,
.logo-card.logo-yodobashi-camera img,
.logo-card.logo-product-hunt img { max-width: 84%; }
.proof-note { max-width: 900px; margin: 20px 0 0; color: var(--ink-soft); font-size: .78rem; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.step { min-height: 280px; padding: 30px; background: var(--paper); }
.step span { color: var(--gold); font-weight: 750; }
.step h3 { margin-top: 78px; }
.step p { color: var(--ink-soft); font-size: .94rem; }
.page-hero { padding: 190px 0 90px; color: var(--white); background: linear-gradient(135deg, var(--blue-deep), var(--blue)); }
.page-hero h1 { max-width: 950px; margin: 22px 0 24px; font-size: clamp(3.2rem, 7vw, 6.5rem); }
.page-hero p { max-width: 720px; color: rgba(255,255,255,.72); font-size: 1.18rem; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 120px); }
.prose { color: var(--ink-soft); font-size: 1.08rem; }
.prose h2, .prose h3 { color: var(--ink); }
.timeline { border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.timeline-row strong { color: var(--gold); }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.detail-panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.detail-panel span { color: var(--gold); font-size: .76rem; font-weight: 760; letter-spacing: .1em; }
.detail-panel h3 { margin: 38px 0 12px; }
.detail-panel p { margin: 0; color: var(--ink-soft); }
.statement-list { display: grid; border-top: 1px solid var(--line); }
.statement { display: grid; grid-template-columns: 160px 1fr; gap: 36px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.statement strong { color: var(--gold); }
.statement p { margin: 0; color: var(--ink-soft); }
.contact-panel { padding: clamp(30px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.contact-row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-of-type { margin-bottom: 28px; }
.contact-row span { color: var(--ink-soft); font-size: .86rem; }
.contact-row a, .contact-row strong { font-weight: 680; overflow-wrap: anywhere; }
.cta-band { padding: 82px 0; color: var(--white); background: var(--blue); }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-grid h2 { max-width: 760px; margin: 0; }
.site-footer { padding: 72px 0 30px; color: rgba(255,255,255,.68); background: #071b30; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 60px; }
.footer-brand { color: var(--white); }
.footer-copy { max-width: 420px; margin-top: 20px; }
.footer-title { margin-bottom: 16px; color: var(--white); font-weight: 700; }
.footer-links { display: grid; gap: 10px; }
.footer-meta { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.wp-block-group, .entry-content > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 900px) {
  .site-nav { position: fixed; inset: 0; display: none; flex-direction: column; justify-content: center; background: var(--blue-deep); font-size: 1.5rem; }
  .site-nav.is-open { display: flex; }
  .menu-toggle { position: relative; z-index: 2; display: block; }
  .hero { min-height: 760px; }
  .hero-grid, .section-head, .split { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards, .process { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .logo-grid-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-grid-partners, .logo-grid-media { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .site-wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .hero { min-height: 720px; padding-bottom: 66px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.5rem); }
  .cards, .process, .footer-grid { grid-template-columns: 1fr; }
  .metric { padding: 24px 18px; }
  .case { min-height: 360px; padding: 28px; }
  .cta-grid { align-items: flex-start; flex-direction: column; }
  .timeline-row { grid-template-columns: 1fr; gap: 8px; }
  .statement, .contact-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-meta { flex-direction: column; }
  .logo-grid-brands, .logo-grid-partners, .logo-grid-media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-card { aspect-ratio: 1.5 / 1; padding: 14px; }
  .logo-grid-brands .logo-card { aspect-ratio: 1.5 / 1; }
  .logo-card.logo-inshed .inshed-logo { width: 46px; }
}

/* Visual system: physical product execution + global route to market */
.hero {
  isolation: isolate;
  align-items: center;
  background: #061a2e;
}
.hero::before {
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(5,22,39,.98) 0%, rgba(6,27,48,.92) 42%, rgba(6,27,48,.45) 72%, rgba(6,27,48,.76) 100%),
    linear-gradient(180deg, rgba(4,17,31,.12), rgba(4,17,31,.86));
  box-shadow: none;
}
.hero-visual { position: absolute; z-index: -2; inset: 0; }
.hero-shot { position: absolute; overflow: hidden; margin: 0; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.12); }
.hero-shot-factory { inset: 0 0 0 42%; }
.hero-shot-pcb {
  right: 6%;
  bottom: 7%;
  width: min(30vw, 460px);
  aspect-ratio: 1.45;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.hero-shot-pcb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,156,89,.08), rgba(5,22,39,.38)); }
.hero-network { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent 20%, #000); }
.hero-network i { position: absolute; width: 8px; height: 8px; border: 1px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 7px rgba(201,156,89,.12), 0 0 18px rgba(201,156,89,.65); animation: nodePulse 2.8s ease-in-out infinite; }
.hero-network i:nth-child(1) { top: 24%; right: 17%; }
.hero-network i:nth-child(2) { top: 41%; right: 35%; animation-delay: -.7s; }
.hero-network i:nth-child(3) { top: 68%; right: 13%; animation-delay: -1.4s; }
.hero-network i:nth-child(4) { top: 16%; right: 47%; animation-delay: -2.1s; }
.hero-grid { z-index: 2; align-items: center; }
.hero h1 { max-width: 760px; text-wrap: balance; }
.hero-copy { max-width: 610px; }
.hero-aside { margin-top: 280px; backdrop-filter: blur(12px); }
.live-dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(201,156,89,.14); }

.journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.journey-card { position: relative; min-height: 430px; overflow: hidden; border-radius: 22px; background: var(--blue-deep); color: var(--white); box-shadow: 0 24px 60px rgba(9,39,71,.12); }
.journey-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.journey-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,18,32,.08) 20%, rgba(4,18,32,.92) 100%); }
.journey-card:hover img { transform: scale(1.035); }
.journey-content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: clamp(26px, 4vw, 42px); }
.journey-content span { color: #e1b873; font-size: .72rem; font-weight: 760; letter-spacing: .11em; text-transform: uppercase; }
.journey-content h3 { margin: 13px 0 10px; font-size: clamp(1.65rem, 3vw, 2.6rem); letter-spacing: -.035em; }
.journey-content p { max-width: 580px; margin: 0; color: rgba(255,255,255,.7); }

.case { border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px rgba(255,255,255,.22); }
.case-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.case-top img { width: auto; height: auto; max-width: 120px; max-height: 44px; object-fit: contain; filter: grayscale(1) contrast(1.25); }
.case-tech-mark { font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.case::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(16,36,63,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(16,36,63,.055) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(135deg, #000, transparent 68%); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes nodePulse {
  0%, 100% { opacity: .5; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 900px) {
  .hero-shot-factory { inset: 0; }
  .hero-shot-pcb { width: 34vw; right: 5%; bottom: 8%; }
  .hero::before { background: linear-gradient(90deg, rgba(5,22,39,.96), rgba(6,27,48,.64)), linear-gradient(180deg, transparent, rgba(4,17,31,.85)); }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 400px; }
}

@media (max-width: 620px) {
  .hero { min-height: 760px; align-items: flex-end; }
  .hero-shot-factory { inset: 0; }
  .hero-shot-pcb { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(5,22,39,.48), rgba(5,22,39,.96) 65%); }
  .hero-network { background-size: 48px 48px; }
  .journey-card { min-height: 360px; }
  .journey-content { padding: 24px; }
}

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