/* ===== LINE SEED SANS TH (self-hosted) ===== */
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/LINESeedSansTH_W_Th.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/LINESeedSansTH_W_Rg.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/LINESeedSansTH_W_Bd.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/LINESeedSansTH_W_XBd.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/LINESeedSansTH_W_He.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ===== TOKENS ===== */
:root {
  --orange: #E87722;
  --orange-deep: #C75F12;
  --orange-soft: #F6E3D0;
  --brown: #4A2E1E;
  --brown-soft: #7A5A45;
  --cream: #F7F1E6;
  --cream-deep: #EEE4D2;
  --paper: #F1E9D8;
  --ink: #1A1614;
  --line: rgba(74, 46, 30, 0.12);
  --shadow-lg: 0 30px 60px -20px rgba(74, 46, 30, 0.25);
  --shadow-md: 0 12px 30px -10px rgba(74, 46, 30, 0.18);
  --radius: 18px;

  --thai: 'LINE Seed Sans TH', system-ui, -apple-system, sans-serif;
  --display: 'LINE Seed Sans TH', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--thai);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

.accent { color: var(--orange); }

a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 24px; }
.section-tight { padding: 60px 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--thai); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 99px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-orange { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(232, 119, 34, 0.5); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(232,119,34,.6); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--thai); font-weight: 800;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.section-head p { color: var(--brown-soft); font-size: 17px; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 16px 36px;
  background: rgba(247, 241, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; gap: 4px; margin-right: auto; }
.logo-en { font-family: var(--display); font-weight: 900; letter-spacing: -0.02em; font-size: 22px; color: var(--ink); }
.logo-jp { font-size: 10px; color: var(--brown-soft); letter-spacing: 0.15em; }
.logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  align-self: flex-start;
  display: block;
}
.logo-img-invert { filter: brightness(0) invert(1); }
@media (max-width: 560px) { .logo-img { height: 36px; max-width: 180px; } }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px;
  position: relative; padding: 4px 0;
}
.nav-links a.active { color: var(--orange); font-weight: 700; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--orange); border-radius: 2px;
}
.nav-links a:hover { color: var(--orange); }

.nav-search {
  display: flex; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: 99px; padding: 4px 6px 4px 14px;
}
.nav-search input {
  border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 13px; width: 110px;
}
.nav-search button {
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: var(--orange); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.nav-burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 90px 24px 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(232, 119, 34, 0.08), transparent 60%),
    var(--cream);
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative; max-width: 1180px; margin: 0 auto; text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1.5px solid var(--orange);
  border-radius: 99px;
  background: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--thai);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--brown-soft);
  max-width: 640px;
  margin: 0 auto 56px;
}
.hero-sub .accent { font-weight: 700; }

/* ===== WORD CLOUD ===== */
.cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 12px 22px;
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 16px 8px;
  line-height: 0.95;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  user-select: none;
}
.cloud .w { color: var(--brown); transition: transform .3s ease, color .3s ease; }
.cloud .w.o { color: var(--orange); }
.cloud .w:hover { transform: translateY(-3px); color: var(--orange-deep); }

.w-xxl { font-size: clamp(48px, 7vw, 96px); }
.w-xl  { font-size: clamp(34px, 4.6vw, 64px); }
.w-l   { font-size: clamp(28px, 3.6vw, 50px); }
.w-m   { font-size: clamp(22px, 2.6vw, 36px); }
.w-s   { font-size: clamp(16px, 1.8vw, 24px); }
.w-xs  { font-size: clamp(13px, 1.2vw, 17px); opacity: 0.75; }

/* ===== STRIP ===== */
.strip {
  background: var(--ink);
  color: #fff;
  padding: 36px 24px;
}
.strip-row {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.strip-item {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 6px;
}
.strip-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.04em;
}
.strip-num small { font-size: 28px; }
.strip-label { font-weight: 700; font-size: 17px; }
.strip-sub { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ===== DOWNLOAD SECTION ===== */
.download {
  padding: 90px 24px 100px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232, 119, 34, 0.08), transparent),
    var(--cream);
}

.paper {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 28px;
  padding: 64px 56px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Crumpled paper texture using layered gradients */
.paper-grain {
  position: absolute; inset: 0;
  pointer-events: none; opacity: 0.6;
  background:
    radial-gradient(ellipse 200px 60px at 15% 20%, rgba(74, 46, 30, 0.06), transparent),
    radial-gradient(ellipse 150px 40px at 80% 30%, rgba(74, 46, 30, 0.05), transparent),
    radial-gradient(ellipse 180px 50px at 30% 70%, rgba(74, 46, 30, 0.04), transparent),
    radial-gradient(ellipse 220px 70px at 90% 85%, rgba(74, 46, 30, 0.05), transparent),
    repeating-linear-gradient(115deg, transparent 0 80px, rgba(74,46,30,0.015) 80px 81px),
    repeating-linear-gradient(75deg, transparent 0 120px, rgba(74,46,30,0.02) 120px 121px);
}

.dl-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* LEFT */
.dl-left { padding-top: 8px; }
.dl-left .eyebrow { margin-bottom: 24px; }
.dl-title {
  font-family: var(--thai);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.dl-desc {
  font-size: 17px;
  color: var(--brown);
  margin-bottom: 28px;
  max-width: 460px;
}
.dl-desc strong { color: var(--orange-deep); font-weight: 700; }

.dl-list { list-style: none; margin-bottom: 32px; }
.dl-list li {
  position: relative;
  padding-left: 32px;
  padding-block: 8px;
  font-size: 15.5px;
  color: var(--brown);
  border-bottom: 1px dashed var(--line);
}
.dl-list li:last-child { border-bottom: none; }
.dl-list li::before {
  content: '';
  position: absolute; left: 4px; top: 16px;
  width: 18px; height: 18px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--paper);
}

.trust { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-badge {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(232, 119, 34, 0.12);
  color: var(--orange-deep);
  border: 1px solid rgba(232, 119, 34, 0.25);
}

/* RIGHT: form card */
.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 38px 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.ribbon {
  position: absolute; top: -14px; left: 24px;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  padding: 8px 14px;
  border-radius: 6px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -4px rgba(232, 119, 34, 0.5);
}
.card-title {
  font-family: var(--thai);
  font-size: 24px;
  font-weight: 800;
  margin: 6px 0 6px;
}
.card-sub {
  font-size: 14.5px;
  color: var(--brown-soft);
  margin-bottom: 22px;
}

form label {
  display: block;
  margin-bottom: 14px;
}
form label > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
}
form label > span i {
  color: var(--orange);
  font-style: normal;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
form input:focus,
form select:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 119, 34, 0.12);
}
form input.invalid {
  border-color: #d94545;
  background: #fff5f5;
}

form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
form .row label { margin-bottom: 14px; }

.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 18px !important;
  font-size: 13.5px;
  color: var(--brown);
  cursor: pointer;
}
.checkbox input { margin-top: 3px; accent-color: var(--orange); width: 16px; height: 16px; }
.checkbox span { display: inline !important; margin: 0 !important; font-weight: 400 !important; }

.btn-primary {
  display: flex;
  align-items: center; justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: var(--thai);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(232, 119, 34, 0.55);
  transition: transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(232, 119, 34, 0.65);
}
.btn-primary:active { transform: translateY(0); }

.legal {
  font-size: 12px;
  color: var(--brown-soft);
  text-align: center;
  margin-top: 12px;
}

/* SUCCESS */
.success { text-align: center; }
.check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #16a34a);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 12px 28px -8px rgba(22, 163, 74, 0.5);
}
.check svg { width: 32px; height: 32px; }
.success .card-title { margin-bottom: 10px; }
.success .card-sub { margin-bottom: 22px; }
.link-back {
  margin-top: 14px;
  background: none; border: none;
  color: var(--brown-soft);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}
.link-back:hover { color: var(--orange); }

/* ===== HOMEPAGE HERO ===== */
.home-hero {
  position: relative;
  padding: 90px 24px 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(232, 119, 34, 0.10), transparent 50%),
    var(--cream);
}
.home-hero .container { position: relative; z-index: 2; }
.home-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center;
}
.home-hero h1 {
  font-family: var(--thai); font-weight: 800;
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: 1.02; letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.home-hero .sub {
  font-size: 18px; color: var(--brown-soft);
  max-width: 520px; margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #fff, var(--cream-deep));
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  overflow: hidden;
}
.hero-visual .ribbon-tag {
  position: absolute; top: 24px; right: -32px;
  background: var(--orange); color: #fff;
  padding: 8px 40px; font-family: var(--display); font-weight: 800;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  transform: rotate(35deg); box-shadow: 0 8px 18px -6px rgba(232,119,34,.5);
}
.hero-visual .hv-words {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  align-items: baseline; justify-content: center;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  height: 100%; align-content: center; padding: 12px;
  line-height: 1;
}
.hero-visual .hv-words span { color: var(--brown); }
.hero-visual .hv-words span.o { color: var(--orange); }

/* ===== SERVICE GRID ===== */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  position: relative;
  background: #fff; border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .25s, border-color .2s;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 119, 34, 0.4);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(232, 119, 34, 0.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.service-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.service-card .sub { font-size: 13px; color: var(--orange); font-weight: 600; margin-bottom: 12px; }
.service-card p { font-size: 14.5px; color: var(--brown-soft); line-height: 1.6; }
.service-card .more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 13px; font-weight: 700; color: var(--orange);
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.portfolio-grid.featured { grid-template-columns: 2fr 1fr 1fr; }
.portfolio-card {
  position: relative; display: block;
  border-radius: 18px; overflow: hidden;
  text-decoration: none; color: inherit;
  background: var(--brown);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.portfolio-card.big { aspect-ratio: 16/11; grid-row: span 2; }
.portfolio-grid.featured .portfolio-card.big { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.portfolio-card .ph {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--orange), var(--brown));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-family: var(--display);
  font-weight: 900; font-size: 60px; letter-spacing: -.04em;
}
.portfolio-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  color: #fff;
}
.portfolio-card .cat {
  font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 6px;
}
.portfolio-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.portfolio-card .client { font-size: 13px; opacity: 0.8; }

/* ===== ARTICLE LIST ===== */
.article-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.article-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-thumb {
  aspect-ratio: 16/10; background: var(--cream-deep);
  position: relative; overflow: hidden;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-thumb .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900; font-size: 64px;
  color: var(--orange); opacity: 0.3; letter-spacing: -.04em;
}
.article-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.article-cat {
  font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.article-card h3 {
  font-size: 19px; font-weight: 800;
  line-height: 1.35; margin-bottom: 10px;
}
.article-card p { font-size: 14.5px; color: var(--brown-soft); line-height: 1.6; flex: 1; }
.article-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; font-size: 12px; color: var(--brown-soft);
}
.article-meta .more { color: var(--orange); font-weight: 700; }

/* ===== ARTICLE SINGLE ===== */
.article-single {
  max-width: 760px; margin: 0 auto; padding: 60px 24px 80px;
}
.article-single .cover { aspect-ratio: 16/8; border-radius: 18px; overflow: hidden; margin-bottom: 32px; background: var(--cream-deep); }
.article-single .cover img { width: 100%; height: 100%; object-fit: cover; }
.article-single h1 {
  font-family: var(--thai); font-weight: 800;
  font-size: clamp(30px, 4vw, 46px); line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.article-single .meta { display: flex; gap: 16px; font-size: 13px; color: var(--brown-soft); margin-bottom: 32px; }
.article-single .body { font-size: 17px; line-height: 1.85; color: var(--ink); }
.article-single .body p { margin-bottom: 1em; }
.article-single .body h2 { font-size: 26px; font-weight: 800; margin: 1.5em 0 .5em; }
.article-single .body h3 { font-size: 20px; font-weight: 800; margin: 1.3em 0 .4em; }
.article-single .body ul, .article-single .body ol { padding-left: 1.3em; margin-bottom: 1em; }
.article-single .body li { margin-bottom: .4em; }
.article-single .body img { border-radius: 12px; margin: 1em 0; }
.article-single .body a { color: var(--orange); text-decoration: underline; }

/* ===== PORTFOLIO SINGLE ===== */
.portfolio-single { padding: 60px 24px 80px; }
.portfolio-single .container { max-width: 980px; }
.portfolio-single .player {
  aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  background: var(--ink); margin-bottom: 36px;
  box-shadow: var(--shadow-lg);
}
.portfolio-single .player iframe { width: 100%; height: 100%; border: 0; }
.portfolio-single .player img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-single h1 {
  font-family: var(--thai); font-weight: 800;
  font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; letter-spacing: -.02em;
}
.portfolio-single .meta-row {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 14px; color: var(--brown-soft); margin-bottom: 28px;
}
.portfolio-single .meta-row span strong { color: var(--ink); }

/* ===== CONTACT ===== */
.contact-hero {
  padding: 90px 24px 50px;
  background: radial-gradient(ellipse at top, rgba(232, 119, 34, 0.10), transparent 60%), var(--cream);
}
.contact-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px;
  padding: 24px 24px 100px;
}
.contact-info h2 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.contact-info p { color: var(--brown-soft); margin-bottom: 28px; }
.contact-info ul { list-style: none; }
.contact-info li {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px 0;
  border-bottom: 1px dashed var(--line); font-size: 15px;
}
.contact-info li:last-child { border-bottom: none; }
.contact-info li strong { display: block; font-weight: 700; margin-bottom: 2px; color: var(--ink); }
.contact-info li span { color: var(--brown-soft); }
.contact-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: rgba(232,119,34,.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}

/* ===== ALERTS ===== */
.alert {
  padding: 14px 18px; border-radius: 12px; margin-bottom: 20px;
  font-size: 14.5px; font-weight: 500;
  border: 1px solid;
}
.alert.success { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.alert.error { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }

/* ===== PAGE HEAD ===== */
.page-head {
  padding: 80px 24px 40px;
  background: radial-gradient(ellipse at top, rgba(232, 119, 34, 0.08), transparent 60%), var(--cream);
  text-align: center;
}
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 {
  font-family: var(--thai); font-weight: 800;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.page-head p { max-width: 600px; margin: 0 auto; color: var(--brown-soft); font-size: 17px; }

/* ===== FILTER PILLS ===== */
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.filter-pills a {
  padding: 8px 18px; border-radius: 99px;
  font-size: 13.5px; font-weight: 600;
  background: #fff; border: 1px solid var(--line);
  color: var(--brown); text-decoration: none;
  transition: all .2s;
}
.filter-pills a.active, .filter-pills a:hover {
  background: var(--orange); color: #fff; border-color: var(--orange);
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--ink); color: #fff;
  padding: 70px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,119,34,.18), transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 {
  font-size: clamp(30px, 4vw, 46px); font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 14px;
}
.cta-band p { color: rgba(255,255,255,.7); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== VIDEO HERO (full-width Vimeo bg) ===== */
.video-hero {
  position: relative;
  height: 88vh; min-height: 560px; max-height: 880px;
  overflow: hidden;
  background: var(--ink);
}
.video-hero .vbg {
  position: absolute; inset: 0; overflow: hidden;
}
.video-hero .vbg iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;          /* 16:9 */
  min-height: 100%; min-width: 177.77vh;  /* 16:9 */
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}
.video-hero .vbg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.8) 100%);
}
.video-hero .vbg-poster {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.video-hero .vh-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 24px 80px;
  max-width: 1180px; margin: 0 auto;
  color: #fff;
}
.video-hero .eyebrow {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.video-hero h1 {
  font-family: var(--thai); font-weight: 800;
  font-size: clamp(40px, 6vw, 86px);
  line-height: 1.02; letter-spacing: -0.02em;
  margin: 22px 0; max-width: 880px;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.video-hero .sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,.85);
  max-width: 600px; margin-bottom: 32px;
}
.video-hero .vh-play {
  position: absolute; right: 28px; bottom: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px 0 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.92); color: var(--orange-deep);
  font-family: var(--thai); font-weight: 700; font-size: 14px;
  border: none; cursor: pointer; z-index: 3;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  transition: transform .15s, background .2s, box-shadow .2s;
}
.video-hero .vh-play:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(0,0,0,.5); }
.video-hero .vh-play .play-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.video-hero .vh-play .play-circle svg { margin-left: 2px; }
.video-hero.fullplay .vbg iframe { pointer-events: auto; }
.video-hero.fullplay .vbg::after { display: none; }
.video-hero.fullplay .vh-content { display: none; }
.video-hero.fullplay .vh-play { display: none; }

@media (max-width: 560px) {
  .video-hero .vh-play { right: 16px; bottom: 16px; height: 42px; font-size: 13px; }
  .video-hero .vh-play .play-circle { width: 28px; height: 28px; }
}

/* ===== CLIENTS SECTION ===== */
.clients-section { background: #fff; padding: 80px 24px; }
.clients-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(6, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  max-width: 1180px; margin: 0 auto;
}
.client-cell {
  aspect-ratio: 5/3;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  transition: background .2s;
}
.client-cell:hover { background: var(--cream); }
.client-cell img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(.65);
  transition: filter .2s, opacity .2s;
}
.client-cell:hover img { filter: grayscale(0) opacity(1); }
.client-cell .name-fallback {
  font-family: var(--display);
  font-weight: 800; font-size: 18px;
  color: var(--brown-soft);
  letter-spacing: -0.01em;
}

/* ===== JAPANESE GRID HEADER (founders / team page) ===== */
.jp-header {
  padding: 80px 24px 60px;
  background:
    radial-gradient(ellipse at top, rgba(232, 119, 34, 0.08), transparent 60%),
    var(--cream);
}
.jp-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 70px 48px 56px;
  max-width: 920px; margin: 0 auto;
  text-align: center;
  overflow: hidden;
  box-shadow:
    8px 8px 0 var(--orange),
    8px 8px 0 1px var(--ink);
}
.jp-card::before, .jp-card::after {
  content: ''; position: absolute;
  background: var(--ink);
}
.jp-card::before {                /* horizontal divider */
  left: 28px; right: 28px;
  height: 1px;
  top: 50px;
}
.jp-card::after {                 /* horizontal divider bottom */
  left: 28px; right: 28px;
  height: 1px;
  bottom: 50px;
}

/* Grid lines (vertical) */
.jp-grid-lines {
  position: absolute; inset: 50px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  z-index: 1;
}
.jp-grid-lines span {
  border-right: 1px dashed rgba(26, 22, 20, 0.12);
}
.jp-grid-lines span:last-child { border-right: none; }

/* Corner labels */
.jp-corner {
  position: absolute;
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink);
  z-index: 2;
  padding: 8px 14px;
}
.jp-corner.tl { top: 0; left: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.jp-corner.tr { top: 0; right: 0; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); color: var(--orange); }
.jp-corner.bl { bottom: 0; left: 0; border-right: 1px solid var(--ink); border-top: 1px solid var(--ink); font-family: var(--thai); letter-spacing: 0.2em; }
.jp-corner.br { bottom: 0; right: 0; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); color: var(--orange); }

/* Header content */
.jp-card > p, .jp-card > h1 { position: relative; z-index: 2; }
.jp-eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.jp-title {
  font-family: var(--thai);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}
.jp-sub-jp {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: var(--brown-soft);
  letter-spacing: 0.4em;
  margin-bottom: 20px;
}
.jp-tagline {
  font-size: 15px;
  color: var(--brown-soft);
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .jp-card { padding: 60px 24px 50px; box-shadow: 5px 5px 0 var(--orange), 5px 5px 0 1px var(--ink); }
  .jp-card::before, .jp-card::after { left: 18px; right: 18px; }
  .jp-grid-lines { inset: 50px 18px; grid-template-columns: repeat(3, 1fr); }
  .jp-corner { font-size: 10px; padding: 6px 10px; }
  .jp-corner.tl, .jp-corner.tr, .jp-corner.bl, .jp-corner.br { white-space: nowrap; }
}

/* Founder number tag */
.founder-num {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2em;
  padding: 6px 14px;
  background: rgba(232, 119, 34, 0.15);
  color: var(--orange);
  border-radius: 4px;
  margin-bottom: 16px;
}

/* ===== TEAM / FOUNDER ===== */
.founder {
  background: var(--ink); color: #fff;
  padding: 100px 24px;
  position: relative; overflow: hidden;
}
.founder::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(232,119,34,.18), transparent 55%);
}
.founder .container { position: relative; }
.founder-head {
  text-align: center;
  max-width: 720px; margin: 0 auto 56px;
}
.founder-head .eyebrow { display: inline-block; }
.founder-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
  align-items: center; max-width: 1180px; margin: 0 auto;
}
.founder-list { display: flex; flex-direction: column; gap: 80px; }
.founder--multi .founder-list .founder-grid:nth-child(even) {
  direction: rtl;
}
.founder--multi .founder-list .founder-grid:nth-child(even) > * { direction: ltr; }
.founder--multi .founder-photo { max-width: 420px; }
.founder-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--orange), var(--brown));
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  position: relative;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900;
  font-size: 120px; color: rgba(255,255,255,.25);
  letter-spacing: -.05em;
}
.founder .eyebrow {
  background: rgba(255,255,255,.06);
  border-color: rgba(232,119,34,.5);
  color: var(--orange);
}
.founder h2 {
  font-family: var(--thai); font-weight: 800;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.05;
  letter-spacing: -.02em; margin: 18px 0 8px;
}
.founder .position {
  font-family: var(--display); font-weight: 700;
  color: var(--orange); font-size: 16px;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 22px;
}
.founder .bio {
  font-size: 17px; line-height: 1.8;
  color: rgba(255,255,255,.78);
  margin-bottom: 28px;
  max-width: 580px;
}
.founder .socials a { background: rgba(255,255,255,.08); }
.founder .signature {
  display: inline-flex; align-items: center; gap: 14px;
  padding-top: 24px; margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.founder .signature .akira-mark {
  font-family: var(--display); font-weight: 900;
  font-size: 14px; letter-spacing: -.02em;
}
.founder .signature .akira-mark span { color: var(--orange); }

/* Team grid */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--cream-deep), var(--orange-soft));
  position: relative;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900;
  font-size: 70px; color: var(--orange); opacity: .55;
  letter-spacing: -.04em;
}
.team-body { padding: 20px 22px 24px; text-align: center; }
.team-body h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.team-body .position {
  font-family: var(--display); font-weight: 700; font-size: 11px;
  color: var(--orange); letter-spacing: 0.15em; text-transform: uppercase;
}
.team-body .socials { justify-content: center; margin-top: 14px; }
.team-body .socials a {
  width: 28px; height: 28px;
  background: var(--cream); color: var(--brown);
  font-size: 9px;
}
.team-body .socials a:hover { background: var(--orange); color: #fff; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: #fff; padding: 70px 24px 24px; }
.footer-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-tag { margin-top: 18px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.7); }
.footer-tag .accent { font-weight: 700; }
.footer-col h4 { font-size: 14px; font-weight: 800; margin-bottom: 16px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col a, .footer-col p {
  display: block; color: rgba(255,255,255,.65);
  font-size: 14px; text-decoration: none;
  padding: 4px 0;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px; font-size: 12px; flex-wrap: wrap;
}
.footer .muted { color: rgba(255,255,255,0.4); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  font-size: 11px; font-weight: 700;
  transition: background .2s;
}
.socials a:hover { background: var(--orange); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav { padding: 14px 20px; gap: 16px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-top: 1px solid var(--line); padding: 12px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-burger { display: flex; }
  .nav-search { display: none; }

  .home-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { aspect-ratio: 4/4; max-width: 460px; margin: 0 auto; }
  .video-hero { height: 70vh; min-height: 460px; }
  .video-hero .vh-content { padding-bottom: 50px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo { max-width: 360px; margin: 0 auto; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .portfolio-grid.featured { grid-template-columns: 1fr 1fr; }
  .portfolio-card.big { grid-row: span 1; aspect-ratio: 4/3; }
  .article-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .paper { padding: 40px 24px; }
  .dl-grid { grid-template-columns: 1fr; gap: 36px; }
  .strip-row { grid-template-columns: 1fr; gap: 12px; }
  .strip-item { padding: 6px 0; }
  .strip-num { font-size: 44px; }
}

@media (max-width: 560px) {
  .hero, .home-hero { padding: 60px 16px 40px; }
  .section { padding: 60px 18px; }
  form .row { grid-template-columns: 1fr; gap: 0; }
  .paper { padding: 32px 18px; border-radius: 18px; }
  .card { padding: 30px 22px 22px; }
  .portfolio-grid, .portfolio-grid.featured { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .founder h2 { font-size: 36px; }
}
