/* =========================================================
   Fujisawa Vietnam — Home
   Figma: Fujisawa (Client) › Home (2089:24)
   ========================================================= */

:root {
  --ink: #4a4a4a;          /* Dark Grey */
  --ink-2: #475467;        /* Gray/600 */
  --muted: #667085;        /* Gray/500 */
  --placeholder: #98a2b3;  /* Gray/400 */
  --soft: #f2f2f3;         /* Grey */
  --line: rgba(0, 0, 0, .2);
  --line-soft: rgba(0, 0, 0, .1);
  --black: #171717;
  --white: #fff;

  --maxw: 1440px;
  --pad: clamp(18px, 4vw, 40px);
  --gap: 60px;             /* vertical rhythm between blocks */

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: -.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--gap); }

/* ---------- Typography primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; line-height: normal; text-transform: uppercase; color: var(--ink);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--ink); flex: none; }
.eyebrow--muted { color: var(--ink-2); }
.eyebrow--light { color: var(--white); }
.eyebrow--light::before { background: var(--white); }

.h2 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500; line-height: normal; letter-spacing: -.02em; color: var(--ink);
}
.text { font-size: 16px; line-height: 1.5; color: var(--ink); }
.text--muted { color: var(--ink-2); }

.sec-head { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.sec-head--narrow { max-width: 802px; }

/* ---------- Button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  font-size: 16px; font-weight: 500; line-height: normal; text-transform: uppercase; color: var(--ink);
  background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn--muted { color: var(--ink-2); }

/* ---------- Divider ---------- */
.rule { margin: 0; border: 0; border-top: 1px solid var(--line); }
.rule--accent { position: relative; }
.rule--accent::after {
  content: ""; position: absolute; left: 0; top: -1px;
  width: 25%; height: 2px; background: var(--ink);
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line-soft); }
.header__inner {
  height: 80px;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { width: 51.777px; height: 40px; }
.brand span { font-size: 20px; font-weight: 500; text-transform: uppercase; color: var(--ink); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 48px; margin-left: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; color: var(--ink); white-space: nowrap;
}
.nav__link::before {
  content: ""; width: 8px; height: 8px; background: var(--ink);
  display: none;
}
.nav__link.is-active::before { display: block; }
.nav__link:not(.is-active)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

.header__tools { display: flex; align-items: center; gap: 20px; margin-left: 48px; }
.icon-btn { display: grid; place-items: center; width: 16px; height: 16px; }
.burger { display: none; width: 28px; height: 28px; position: relative; }
.burger span { position: absolute; left: 3px; right: 3px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 10px; }
.burger span:last-child { top: 17px; }
.burger[aria-expanded="true"] span:first-child { top: 13.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 13.5px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: min(860px, calc(100svh - 80px));
  min-height: 520px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.hero__bg { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.4) 82.907%),
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 27.965%);
}
.hero__content { position: absolute; left: 0; right: 0; bottom: 64px; margin-inline: auto; }
.hero__title { font-size: clamp(36px, 4vw, 60px); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.hero__title span { display: block; }
.hero__l2 { font-weight: 100; padding-left: 1.2167em; /* 73px @60px */ margin-top: -.3em; }
.hero__sub { margin-top: 9px; padding-left: clamp(44px, 4.87vw, 73px); font-size: 18px; line-height: normal; }
.hero__dots { position: absolute; right: var(--pad); bottom: 60px; width: 80px; height: 8px; }
@media (min-width: 1441px) {
  .hero__dots { right: calc((100vw - var(--maxw)) / 2 + var(--pad)); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 772fr) minmax(0, 620fr);
  border-bottom: 1px solid var(--line);
}
.about__media { padding: 60px 60px 60px 0; }
.about__media img { width: 100%; aspect-ratio: 712 / 866; object-fit: cover; object-position: 30% 50%; }
.about__body {
  border-left: 1px solid var(--line);
  padding: 60px 0 60px 60px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.about__head { display: flex; flex-direction: column; gap: 24px; }
.about__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* =========================================================
   WORKS
   ========================================================= */
.works { display: flex; flex-direction: column; gap: 60px; padding-top: calc(var(--gap) + 37px); }
.works__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 448 / 600;
  color: var(--white);
  outline: 1px solid transparent; outline-offset: -1px;
  transition: outline-color .4s var(--ease);
}
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); z-index: 1; }
.work-card > :not(img) { position: absolute; z-index: 2; }
.work-card__title {
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 32px; font-weight: 300; line-height: normal; text-transform: uppercase; white-space: nowrap;
}
.work-card__desc {
  left: 50%; top: 31px; width: min(368px, calc(100% - 48px)); transform: translate(-50%, -8px);
  font-size: 14px; line-height: 1.5; text-align: center; color: rgba(255, 255, 255, .7);
  opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.work-card__more {
  left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 500; line-height: normal; text-transform: uppercase; white-space: nowrap;
  transition: font-size .4s var(--ease);
}
.work-card__more::after { content: ""; width: 1px; height: 24px; background: rgba(255, 255, 255, .5); }
.work-card:hover, .work-card:focus-visible { outline-color: var(--ink); }
.work-card:hover img { transform: scale(1.04); }
.work-card:hover .work-card__desc, .work-card:focus-visible .work-card__desc { opacity: 1; transform: translate(-50%, 0); }
.work-card:hover .work-card__more, .work-card:focus-visible .work-card__more { font-size: 24px; }
.works__note { max-width: 920px; }

/* =========================================================
   EXPORTS / MAP
   ========================================================= */
.exports { padding-bottom: 0; }
.exports__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.exports__title { max-width: 780px; text-align: right; }
.map-scroll { overflow-x: auto; scrollbar-width: none; }
.map-scroll::-webkit-scrollbar { display: none; }
.map { position: relative; aspect-ratio: 1392 / 740; min-width: 820px; }
.map__img { width: 100%; height: 100%; }

.pin {
  position: absolute;
  left: calc(var(--x) / 1392 * 100%);
  top: calc(var(--y) / 740 * 100%);
  margin-top: -20px; /* --x/--y mark the tip of the pin's stick (20px down the 24px icon) at any map scale */
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: clamp(12px, 1.15vw, 16px); line-height: normal; text-transform: uppercase; white-space: nowrap;
  color: var(--placeholder);
  transition: color .25s var(--ease);
}
.pin::before {
  content: ""; width: 24px; height: 24px; flex: none;
  background: url("../img/icon-pin.svg") center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.pin:hover { color: var(--ink); }
.pin:hover::before { transform: translateY(-3px); }
.pin.is-active { color: var(--ink); font-weight: 500; }

.map-info {
  position: absolute;
  /* --x/--y are the active pin's: the card sits centred below its label, kept inside the map */
  left: clamp(0px, calc(var(--x) / 1392 * 100% - 144.5px), calc(100% - 289px));
  top: calc(var(--y) / 740 * 100% + 36px);
  width: 289px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(0, 0, 0, .02);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 14px; line-height: 1.5;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.map-info[hidden] { display: flex; opacity: 0; transform: translateY(-6px); pointer-events: none; }
.map-info__name {
  font-size: 16px; font-weight: 500; line-height: normal; text-transform: uppercase;
  padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); width: 140px;
}
.map-info__desc { color: var(--muted); }
.map-info__row b { font-weight: 700; }
/* small maps: the card hangs below the map edge, so give the scroller room for it */
@media (max-width: 1080px) { .map-scroll { padding-bottom: 56px; } }

/* =========================================================
   OUR BRANDS — heading bleeds out of the banner
   ========================================================= */
.brands { padding-top: 60px; }
.brands__stage { position: relative; padding-bottom: 93px; } /* 535 - 442 : room for the heading tail */
.brands__banner { position: relative; z-index: 1; height: 442px; overflow: hidden; }
.brands__banner > img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 50% 91%; }
.brands__copy {
  position: absolute; left: 60px; top: 336px;
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
}
.brands__copy--light .h2 { color: var(--white); }
.brands__copy--dark .eyebrow { visibility: hidden; }
.brands__title { width: 479px; max-width: calc(100vw - 2 * var(--pad) - 60px); }

/* =========================================================
   TOKIO & RELAIR
   ========================================================= */
.labels { display: flex; flex-direction: column; gap: 60px; }
.label { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.label__media img { width: 100%; aspect-ratio: 684 / 760; object-fit: cover; }
.label__body { display: flex; flex-direction: column; align-items: flex-start; }
.label__body--right { align-items: flex-end; text-align: right; }
.label--reverse .label__media { order: 2; }
.label__name { font-size: clamp(36px, 3.2vw, 48px); font-weight: 500; line-height: normal; letter-spacing: -.02em; text-transform: uppercase; }
.label__text { max-width: 566px; margin-top: 24px; }
.label .btn { margin-top: 60px; }

.prods { display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.label__body--right .prods { justify-content: flex-end; }
.prod { width: 90px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.prod__disc { position: relative; width: 80px; height: 80px; border-radius: 1000px; background: var(--soft); }
.prod__img {
  position: absolute; top: var(--t); left: calc(50% + var(--dx, 0px));
  width: var(--w); height: var(--h); transform: translateX(-50%);
  transition: transform .4s var(--ease);
}
.prod__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.prod__img--crop { overflow: hidden; }
.prod__img--crop img { inset: auto; }
.prod:hover .prod__img { transform: translateX(-50%) translateY(-4px); }
.prod__name { font-size: 16px; font-weight: 500; line-height: normal; }


/* =========================================================
   SO.U& DESIGN
   ========================================================= */
.sou { display: flex; flex-direction: column; gap: 60px; }
.sou__head { display: grid; grid-template-columns: minmax(0, 772fr) minmax(0, 620fr); align-items: end; gap: 24px; }
.sou__head--half { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.sou__intro { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.sou__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px 24px; }
.sou-card { display: flex; flex-direction: column; align-items: flex-start; }
.sou-card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 1;
  overflow: hidden; background: #f8f8f8; margin-bottom: 20px;
}
.sou-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.sou-card__media .sou-card__space { opacity: 0; transform: scale(1.04); }
.sou-card:hover .sou-card__space, .sou-card__media:focus-visible .sou-card__space { opacity: 1; transform: none; }
.sou-card__name { font-size: 20px; font-weight: 500; line-height: normal; text-transform: uppercase; }
.sou-card__meta { min-height: 42px; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.swatches { display: flex; gap: 6px; margin-top: 12px; }
.swatches li { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sou-card__price { margin-top: 16px; font-size: 18px; line-height: normal; }
.sou-card__price b { font-weight: 500; }
.sou-card__price span { font-size: 14px; color: var(--muted); }
.sou-card__moq { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.sou-card__moq b { color: var(--ink); font-weight: 500; }

/* =========================================================
   FACTORY PHOTOS
   ========================================================= */
.factory { display: flex; flex-direction: column; gap: 60px; }
.factory__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.factory__item { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: #f8f8f8; }
.factory__item img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   PROJECTS
   ========================================================= */
.projects { display: flex; flex-direction: column; gap: 60px; }
.projects__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project { display: flex; flex-direction: column; gap: 32px; }
.project__media { display: block; aspect-ratio: 684 / 420; overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.project__body { display: flex; gap: 24px; align-items: flex-start; }
.project__logo { width: 112px; height: 70px; flex: none; object-fit: contain; border: 1px solid var(--line-soft); background: var(--white); padding: 8px; }
.project__name { font-size: 24px; font-weight: 500; line-height: normal; text-transform: uppercase; }
.project__type { margin-top: 4px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.project__text { margin-top: 12px; max-width: 520px; }

/* =========================================================
   AWARD
   ========================================================= */
.award { display: flex; flex-direction: column; gap: 60px; }
.award__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 560px; }
/* flex-grow = each photo's aspect ratio, so both end up the same height */
.award__media { display: flex; gap: 24px; }
.award__item { margin: 0; min-width: 0; overflow: hidden; background: #f8f8f8; }
.award__item--wide { flex: 1264 1 0; aspect-ratio: 1264 / 726; }
.award__item--tall { flex: 544.5 1 0; aspect-ratio: 960 / 1280; }
.award__item img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   ISO
   ========================================================= */
.iso { padding-bottom: var(--gap); }
.iso__box {
  display: grid; grid-template-columns: minmax(0, 640px) auto; justify-content: start;
  align-items: center; column-gap: clamp(48px, 7vw, 112px);
}
.iso__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.iso__body .text { max-width: 640px; }
.iso__list { width: 100%; max-width: 640px; border-top: 1px solid var(--line); }
.iso__list li { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.iso__list b { font-weight: 500; }
.iso__list span { color: var(--muted); }
.iso__list em { font-style: normal; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border: 1px solid var(--ink); }
.iso__media { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 40px); }
.iso__media img { width: clamp(150px, 17vw, 250px); height: auto; }

/* =========================================================
   CAREERS
   ========================================================= */
.careers { display: flex; flex-direction: column; gap: 60px; }
.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.job {
  min-height: 500px; padding: 32px;
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px;
  transition: border-color .3s var(--ease);
}
.job:hover { border-color: var(--ink); }
.job__title { min-height: 78px; font-size: 24px; font-weight: 500; line-height: normal; letter-spacing: -.02em; text-transform: uppercase; }
.job__tags { display: flex; flex-direction: column; gap: 16px; }
.job__tags li { display: flex; align-items: center; gap: 8px; line-height: normal; }
.job__tags li::before {
  content: ""; width: 8px; height: 8px; margin: 1.657px; flex: none;
  border: 1px solid var(--ink); transform: rotate(-45deg);
}

/* =========================================================
   BLOG
   ========================================================= */
.blog { display: flex; flex-direction: column; gap: 60px; }
.blog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.bars { display: flex; gap: 4px; }
.bars span { width: 24px; height: 3px; border-radius: 100px; background: var(--ink); opacity: .2; }
.bars span.is-active { opacity: 1; }

.blog__grid { display: grid; grid-template-columns: minmax(0, 448fr) minmax(0, 446.5fr) minmax(0, 446.5fr); gap: 0 24px; }
.blog__feature, .post__img { display: block; overflow: hidden; }
.blog__feature img, .post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.blog__feature { aspect-ratio: 448 / 600; }
.blog__feature:hover img, .post:hover .post__img img { transform: scale(1.04); }
.post { display: flex; flex-direction: column; gap: 40px; }
.post__img { aspect-ratio: 446.5 / 280; }
.post__info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; }
.post__title { font-size: 24px; font-weight: 500; line-height: normal; letter-spacing: -.02em; text-transform: uppercase; }
.post__excerpt {
  max-width: 420px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { display: flex; flex-direction: column; }
.contact__lead { max-width: 566px; margin-top: 24px; }
.form { width: min(590px, 100%); margin-left: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.form__row { width: 100%; display: flex; gap: 24px; }
.field { flex: 1; width: 100%; display: block; border-bottom: 1px solid var(--placeholder); transition: border-color .3s var(--ease); }
.field:focus-within { border-color: var(--ink); }
.field.is-invalid { border-color: #d92d20; }
.field input, .field textarea {
  width: 100%; display: block; padding: 16px 0; border: 0; outline: 0; background: transparent; resize: none;
  font: inherit; font-size: 16px; line-height: normal; letter-spacing: inherit; color: var(--ink);
}
.field--area textarea { height: 89px; }
.field ::placeholder { color: var(--placeholder); opacity: 1; }
.form__submit {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 500; line-height: normal; text-transform: uppercase; color: var(--ink);
}
.form__submit::after { content: ""; width: 24px; height: 1px; background: var(--ink); transition: width .3s var(--ease); }
.form__submit:hover::after { width: 40px; }
.form__msg { min-height: 1.5em; font-size: 14px; color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--black); color: var(--white); padding-top: 60px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; line-height: normal; }
.socials { display: flex; gap: 4px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 1000px; transition: opacity .25s, transform .25s; }
.socials a:hover { transform: translateY(-2px); opacity: .85; }
.socials__round { background: rgba(255, 255, 255, .15); }
.socials__ig { width: 18.014px; height: 17.986px; }     /* 50% of 36 */
.socials__in { width: 15.06px; height: 14.41px; }      /* 41.84% × 40.03% of 36 */

.footer__cols {
  margin-top: 60px; padding-bottom: 60px;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .6fr); column-gap: 24px;
}
.fcol { display: flex; flex-direction: column; gap: 20px; }
.fcol__label { color: var(--muted); text-transform: uppercase; line-height: normal; }
.fcol__val { line-height: 22px; color: var(--white); }
.fcol__sub { display: block; color: var(--muted); font-size: 14px; }
a.fcol__val:hover { text-decoration: underline; text-underline-offset: 3px; }
.flinks { display: flex; flex-direction: column; gap: 16px; }
.flinks a { color: var(--muted); line-height: normal; transition: color .2s; }
.flinks a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-block: 32px 40px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  line-height: 22px;
}
.footer__bottom > :last-child { justify-self: end; }
.footer__bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* MONA.Media signature */
.mona-sign {
  display: flex; align-items: center; justify-content: center; gap: 13px; flex-wrap: wrap;
  padding: 22px 0 28px;
  border-top: 1px solid var(--sig-line, rgba(255, 255, 255, .07));
}
.mona-sign span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sig-label, #667085); }
.mona-sign a { display: inline-flex; opacity: .9; transition: opacity .2s, transform .2s; }
.mona-sign a:hover { opacity: 1; transform: translateY(-1px); }
.mona-sign img { height: 19px; width: auto; display: block; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1440px) {
  .nav { gap: 36px; }
  .header__tools { margin-left: 36px; }
}

@media (max-width: 1280px) {
  .nav { gap: 22px; }
  .sou__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .header__tools { margin-left: 32px; }
}

@media (max-width: 1240px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 80px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px var(--pad) 24px; background: var(--white);
    border-top: 1px solid var(--line-soft); box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav__link::after { display: none; }
}

@media (max-width: 1100px) {
  :root { --gap: 48px; }

  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__media { padding-right: 40px; }
  .about__body { padding-left: 40px; }

  .label { gap: 40px; }
  .prods { gap: 20px; }

  .blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .blog__grid > .blog__feature { display: none; }

  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .sou__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .iso__box { grid-template-columns: 1fr; row-gap: 40px; }
  .iso__media { justify-content: flex-start; }
}

@media (max-width: 900px) {
  .works__grid, .jobs { grid-template-columns: 1fr; }
  .work-card { aspect-ratio: 4 / 3; }
  .work-card__desc { opacity: 1; transform: translate(-50%, 0); }
  .job { min-height: 0; }
  .job__title { min-height: 0; }

  .exports__head { flex-direction: column; gap: 24px; }
  .sou__head { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; gap: 48px; }
  .exports__title { text-align: left; }

  .label, .label--reverse { grid-template-columns: 1fr; }
  .label--reverse .label__media { order: 0; }
  .label__body--right { align-items: flex-start; text-align: left; }
  .label__body--right .prods { justify-content: flex-start; }
  .label__media img { aspect-ratio: 4 / 3; }
  .label .btn, .prods { margin-top: 40px; }
}

@media (max-width: 768px) {
  .brand span { font-size: 16px; }
  .hero { min-height: 480px; }
  .hero__content { bottom: 56px; }
  .hero__sub { font-size: 16px; padding-left: 0; margin-top: 16px; }
  .hero__l2 { padding-left: .6em; }
  .hero__dots { bottom: 24px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { padding: 40px 0 0; }
  .about__body { border-left: 0; padding: 40px 0; }

  .brands__banner { height: 360px; }
  .brands__copy { left: 24px; top: 252px; }
  .brands__stage { padding-bottom: 110px; }
  .brands__title { max-width: calc(100vw - 2 * var(--pad) - 48px); }

  .blog__head { flex-direction: column; align-items: flex-start; }
  .blog__grid { grid-template-columns: 1fr; }

  .form__row { flex-direction: column; gap: 24px; }
  .sou__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .sou-card__name { font-size: 17px; }
  .factory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .award__media { flex-direction: column; gap: 16px; }
  .award__item--wide, .award__item--tall { flex: none; }
  .iso__list li { grid-template-columns: 1fr auto; }
  .iso__list span { grid-column: 1; grid-row: 2; }
  .iso__list em { grid-row: 1 / 3; grid-column: 2; }
  .project__logo { width: 88px; height: 56px; }
  .form { align-items: flex-start; margin-top: 32px; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { grid-template-columns: 1fr; text-align: left; }
  .footer__bottom > :last-child { justify-self: start; }
}

@media (max-width: 560px) {
  .mona-sign { gap: 9px; padding-top: 18px; }
  .work-card { aspect-ratio: 3 / 4; }
  .h2 br { display: none; }
}


/* =========================================================
   MOTION  (only when JS is running — .js on <html>)
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 32px, 0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* image wipe: the <img> is clipped (never the observed container — a clipped target never "intersects") */
.js [data-reveal="img"] { opacity: 1; transform: none; }
.js [data-reveal="img"] img {
  clip-path: inset(0 0 100% 0); transform: scale(1.15);
  transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1), transform 1.6s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="img"].is-in img { clip-path: inset(0 0 0 0); transform: none; }

/* horizontal divider draw */
.js .rule[data-reveal] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.77, 0, .18, 1); }
.js .rule[data-reveal].is-in { transform: none; }

/* hero intro */
.js .hero__bg { transform: scale(1.12); transition: transform 2.4s var(--ease); will-change: transform; }
.js .hero__title span, .js .hero__sub, .js .hero__dots { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .hero__l1 { transition-delay: .35s !important; }
.js .hero__l2 { transition-delay: .5s !important; }
.js .hero__sub { transition-delay: .7s !important; }
.js .hero__dots { transition-delay: .9s !important; }
.js .is-loaded .hero__bg { transform: scale(1); }
.js .is-loaded .hero__title span, .js .is-loaded .hero__sub, .js .is-loaded .hero__dots { opacity: 1; transform: none; }
.js .hero__l2 { transform: translate3d(0, 40px, 0); }
.js .is-loaded .hero__l2 { transform: none; }

/* header slides in */
.js .header__inner { opacity: 0; transform: translateY(-12px); transition: opacity .8s var(--ease) .15s, transform .8s var(--ease) .15s; }
.js .is-loaded .header__inner { opacity: 1; transform: none; }

/* map pins drop in */
.js .map .pin { opacity: 0; transform: translate(-50%, -24px); transition: opacity .5s var(--ease), transform .7s cubic-bezier(.34, 1.56, .64, 1), color .25s var(--ease); transition-delay: var(--d, 0s); }
.js .map.is-in .pin { opacity: 1; transform: translateX(-50%); }
.js .map .map-info { opacity: 0; transform: translateY(-12px); transition-delay: 1.3s; }
.js .map.is-in .map-info:not([hidden]) { opacity: 1; transform: none; }
.map .pin.is-active::after {
  content: ""; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin: 0 0 0 -6px; border-radius: 50%;
  background: rgba(229, 57, 53, .35); animation: pulse 2s ease-out infinite; pointer-events: none;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

/* parallax targets */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal], .js [data-reveal] img, .js .hero__bg, .js .hero__title span, .js .hero__sub, .js .hero__dots,
  .js .header__inner, .js .map .pin, .js .map .map-info { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .map .pin { transform: translateX(-50%) !important; }
  html { scroll-behavior: auto; }
}


/* =========================================================
   SUBPAGES  (About / OEM / Service / News / Recruit / Contact)
   Same tokens as Home; layout language after poliform.it
   ========================================================= */
.nav__link[aria-current="page"]::before { display: block; }

/* ---------- Page head: small centred title, text sub-navigation ---------- */
.phead { padding: 28px 0 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.crumbs { display: flex; gap: 8px; font-size: 13px; line-height: normal; text-transform: uppercase; color: var(--placeholder); }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.phead__title { font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; line-height: normal; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }

.subnav { position: sticky; top: 80px; z-index: 40; background: var(--white); border-block: 1px solid var(--line-soft); }
.subnav__inner { display: flex; gap: 40px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { position: relative; flex: none; padding: 18px 0; font-size: 14px; line-height: normal; text-transform: uppercase; color: var(--muted); transition: color .25s var(--ease); }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.subnav a:hover, .subnav a.is-active { color: var(--ink); }
.subnav a.is-active::after { transform: scaleX(1); }
.anchor { scroll-margin-top: 140px; }

/* ---------- Cover image ---------- */
.pcover { overflow: hidden; aspect-ratio: 1360 / 600; background: var(--soft); }
.pcover img { width: 100%; height: 100%; object-fit: cover; }
.pcover--tall { aspect-ratio: 1360 / 680; }

/* ---------- Statement: eyebrow left, large copy right ---------- */
.lede { display: grid; grid-template-columns: minmax(0, 448fr) minmax(0, 888fr); gap: 24px; align-items: start; }
.lede__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.lede__big { font-size: clamp(24px, 2.6vw, 40px); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.lede__body .text { max-width: 680px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fact { padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.fact__num { font-size: clamp(36px, 3.6vw, 56px); font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.fact__label { font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 240px; }

/* ---------- Split: image + copy ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.split__media { overflow: hidden; aspect-ratio: 684 / 760; background: var(--soft); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--wide { aspect-ratio: 684 / 520; }
.split__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 48px; padding-left: 36px; }
.split--reverse .split__media { order: 2; }
.split--reverse .split__body { padding-left: 0; padding-right: 36px; }
.split__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.split__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 566px; }
.stack { display: flex; flex-direction: column; gap: 60px; }

/* ---------- Two text columns under a section head ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.duo__item { padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.duo__item .text { max-width: 566px; }
.h3 { font-size: 24px; font-weight: 500; line-height: normal; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.num { font-size: 14px; line-height: normal; color: var(--muted); }

/* ---------- Spec rows: label | description ---------- */
.rows { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 448fr) minmax(0, 888fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.row__name { font-size: 16px; font-weight: 500; line-height: 1.5; text-transform: uppercase; color: var(--ink); }
.row__name .num { display: inline-block; width: 40px; font-weight: 400; }
.row__val { font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 680px; }

/* ---------- Image pair with captions ---------- */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pair figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pair__img { overflow: hidden; aspect-ratio: 520 / 360; background: var(--soft); }
.pair__img img { width: 100%; height: 100%; object-fit: cover; }
.pair figcaption { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- Feature cards ---------- */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feat { display: flex; flex-direction: column; gap: 16px; }
.feat__img { overflow: hidden; aspect-ratio: 448 / 300; background: var(--soft); margin-bottom: 8px; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat:hover .feat__img img { transform: scale(1.04); }

/* ---------- OEM items ---------- */
.items { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px 24px; }
.item { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.item__disc { width: 132px; height: 132px; border-radius: 1000px; overflow: hidden; background: var(--soft); }
.item__disc img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.item:hover .item__disc img { transform: scale(1.06); }
.item__name { font-size: 16px; font-weight: 500; line-height: normal; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); counter-reset: step; }
.step { min-height: 148px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; counter-increment: step; transition: background .3s var(--ease); }
.step::before { content: counter(step, decimal-leading-zero); font-size: 14px; color: var(--muted); }
.step:hover { background: var(--soft); }
.step__name { font-size: 15px; font-weight: 500; line-height: 1.35; }


/* ---------- Tag list (who we work with) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 10px 16px; border: 1px solid var(--line); font-size: 14px; line-height: normal; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta { background: var(--soft); }
.cta__inner { padding-block: 80px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cta__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 802px; }

/* ---------- Text tabs (categories) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.tab { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; line-height: normal; color: var(--placeholder); transition: color .25s var(--ease); }
.tab::before { content: ""; width: 8px; height: 8px; background: var(--ink); display: none; }
.tab:hover, .tab.is-active { color: var(--ink); }
.tab.is-active::before { display: block; }
.listbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; }
.listbar__count { font-size: 14px; color: var(--muted); white-space: nowrap; }
[data-cat][hidden] { display: none !important; }

/* ---------- News grid ---------- */
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 24px; }
.ncard { display: flex; flex-direction: column; gap: 20px; }
.ncard__img { display: block; overflow: hidden; aspect-ratio: 448 / 560; background: var(--soft); }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.04); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; line-height: normal; text-transform: uppercase; color: var(--muted); }
.meta b { font-weight: 400; color: var(--ink); }
.ncard__title { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; text-transform: uppercase; }
.ncard__title a { background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.ncard:hover .ncard__title a { background-size: 100% 1px; }
.ncard__excerpt { font-size: 16px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 920fr) minmax(0, 416fr); gap: 24px; align-items: end; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.ncard--lead .ncard__img { aspect-ratio: 920 / 560; }
.ncard--lead .ncard__info { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ncard--lead .ncard__title { font-size: clamp(24px, 2.2vw, 32px); }
.ncard--lead .ncard__excerpt { -webkit-line-clamp: 4; }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; padding-top: 60px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 8px; display: grid; place-items: center; border: 1px solid transparent; font-size: 14px; color: var(--muted); transition: border-color .25s var(--ease), color .25s var(--ease); }
.pager a:hover { border-color: var(--line); color: var(--ink); }
.pager .is-active { border-color: var(--ink); color: var(--ink); }

/* ---------- Article (news detail) ---------- */
.ahead { padding: 28px 0 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.ahead__title { max-width: 980px; font-size: clamp(28px, 3.2vw, 48px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.ahead .meta { justify-content: center; }
.prose { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 24px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose > .prose__lead { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.4; color: var(--ink); }
.prose h2 { margin-top: 24px; font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.prose ul { display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--ink); }
.prose blockquote { margin: 16px 0; padding: 8px 0 8px 24px; border-left: 2px solid var(--ink); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.4; color: var(--ink); }
.prose figure { margin: 16px calc((100% - min(1040px, 100vw - 2 * var(--pad))) / 2); display: flex; flex-direction: column; gap: 12px; }
.prose figure img { width: 100%; aspect-ratio: 1040 / 600; object-fit: cover; }
.prose figcaption { font-size: 14px; line-height: 1.5; color: var(--muted); }
.afoot { max-width: 760px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; line-height: normal; text-transform: uppercase; }
.back::before { content: ""; width: 24px; height: 1px; background: var(--ink); transition: width .3s var(--ease); }
.back:hover::before { width: 40px; }
.share { display: flex; align-items: center; gap: 16px; font-size: 14px; text-transform: uppercase; color: var(--muted); }
.share a { color: var(--ink); }
.share a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Job list ---------- */
.joblist { border-bottom: 1px solid var(--line); }
.jrow { display: grid; grid-template-columns: minmax(0, 1fr) 200px 220px 150px 40px; gap: 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease), background .3s var(--ease); }
.jrow:hover { padding-inline: 20px; background: var(--soft); }
.jrow__title { font-size: 24px; font-weight: 500; line-height: normal; letter-spacing: -.02em; text-transform: uppercase; }
.jrow__cell { font-size: 14px; line-height: 1.5; text-transform: uppercase; color: var(--muted); }
.jrow__go { justify-self: end; width: 24px; height: 1px; background: var(--ink); transition: width .3s var(--ease); }
.jrow:hover .jrow__go { width: 40px; }

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.perk { padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.perk .text { color: var(--ink-2); }

/* ---------- Job detail ---------- */
.jd { display: grid; grid-template-columns: minmax(0, 888fr) minmax(0, 448fr); gap: 24px; align-items: start; }
.jd__main { display: flex; flex-direction: column; gap: 48px; padding-right: 60px; }
.jd__sec { display: flex; flex-direction: column; gap: 20px; }
.jd__sec .prose { margin: 0; max-width: 720px; font-size: 16px; line-height: 1.6; }
.jd__aside { position: sticky; top: 112px; padding: 32px; border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 24px; }
.dl { display: flex; flex-direction: column; }
.dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); font-size: 15px; line-height: 1.4; }
.dl dt { color: var(--muted); text-transform: uppercase; font-size: 13px; }
.dl dd { margin: 0; text-align: right; color: var(--ink); }
.jd__aside .btn { width: 100%; }
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: transparent; color: var(--ink); }

/* ---------- Contact ---------- */
.cgrid { display: grid; grid-template-columns: minmax(0, 620fr) minmax(0, 716fr); gap: 24px; align-items: start; }
.cinfo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding-right: 36px; }
.cinfo__item { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cinfo__item--wide { grid-column: 1 / -1; }
.cinfo__label { font-size: 14px; line-height: normal; text-transform: uppercase; color: var(--muted); }
.cinfo__val { font-size: 16px; line-height: 1.5; color: var(--ink); }
.cinfo__val a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cinfo__sub { display: block; font-size: 14px; color: var(--muted); }
.cform { display: flex; flex-direction: column; gap: 32px; }
.cform .form { width: 100%; margin: 0; align-items: flex-start; }
.field select { width: 100%; display: block; padding: 16px 24px 16px 0; border: 0; outline: 0; border-radius: 0; background: transparent; -webkit-appearance: none; appearance: none; font: inherit; font-size: 16px; line-height: normal; letter-spacing: inherit; color: var(--ink); cursor: pointer; }
.field--select { position: relative; }
.field--select::after { content: ""; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.field select:invalid { color: var(--placeholder); }
.field--file input { font-size: 14px; color: var(--muted); }

.mapbox { display: flex; flex-direction: column; gap: 24px; }
.mapbox__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mapbox__frame { position: relative; aspect-ratio: 1360 / 540; background: var(--soft); overflow: hidden; }
.mapbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.mapbox__addr { font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 520px; }

/* ---------- Related block ---------- */
.related { display: flex; flex-direction: column; gap: 48px; }
.related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- Subpage responsive ---------- */
@media (max-width: 1280px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jrow { grid-template-columns: minmax(0, 1fr) 170px 190px 40px; }
  .jrow__cell--type { display: none; }
}
@media (max-width: 1100px) {
  .subnav { top: 80px; }
  .subnav__inner { gap: 28px; }
  .split__body { padding-left: 16px; }
  .split--reverse .split__body { padding-right: 16px; }
  .items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .cgrid { grid-template-columns: 1fr; gap: 60px; }
  .cinfo { padding-right: 0; }
  .jd { grid-template-columns: 1fr; gap: 48px; }
  .jd__main { padding-right: 0; }
  .jd__aside { position: static; }
  .ncard--lead { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 900px) {
  .lede, .row { grid-template-columns: 1fr; }
  .row { gap: 8px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .split__media, .split__media--wide { aspect-ratio: 4 / 3; }
  .split__body, .split--reverse .split__body { padding: 0; gap: 32px; }
  .duo, .feats { grid-template-columns: 1fr; gap: 40px; }
  .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta__inner { flex-direction: column; align-items: flex-start; padding-block: 60px; }
  .jrow { grid-template-columns: minmax(0, 1fr) 40px; row-gap: 8px; }
  .jrow__title { grid-column: 1; }
  .jrow__cell { grid-column: 1; }
  .jrow__cell--type { display: block; }
  .jrow__go { grid-column: 2; grid-row: 1; }
  .listbar { flex-direction: column; align-items: flex-start; }
  .stack { gap: 48px; }
}
@media (max-width: 768px) {
  .phead { padding: 20px 0 24px; }
  .pcover, .pcover--tall { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { min-height: 120px; padding: 16px; }
  .pair { grid-template-columns: 1fr; }
  .mapbox__frame { aspect-ratio: 4 / 3; }
  .jrow__title { font-size: 20px; }
  .afoot { flex-direction: column; align-items: flex-start; }
  .jd__aside { padding: 24px; }
}
@media (max-width: 560px) {
  .ngrid, .cinfo, .perks { grid-template-columns: 1fr; }
  .ngrid { gap: 48px; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .item__disc { width: 112px; height: 112px; }
  .fact__num { font-size: 36px; }
}

/* cover intro (subpages have no hero) */
.js .pcover img { transform: scale(1.08); transition: transform 2.2s var(--ease); }
.js .is-loaded .pcover img { transform: none; }
.js .phead > *, .js .ahead > * { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .9s var(--ease) .25s, transform .9s var(--ease) .25s; }
.js .is-loaded .phead > *, .js .is-loaded .ahead > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .pcover img, .js .phead > *, .js .ahead > * { opacity: 1 !important; transform: none !important; }
}

/* subpage layout helpers */
.subnav + .pcover-wrap { padding-top: 32px; }
.subnav__inner { justify-content: center; }
.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .subnav__inner { justify-content: flex-start; }
  .facts--3 { grid-template-columns: 1fr; }
}
ol { margin: 0; padding: 0; list-style: none; }
.lede__body .pair { width: 100%; margin-top: 16px; }

/* ---------- Projects ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 24px; }
.pcard { display: flex; flex-direction: column; gap: 24px; }
.pcard__img { display: block; overflow: hidden; aspect-ratio: 684 / 460; background: var(--soft); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__info { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.pcard__info .h3 a { background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.pcard:hover .pcard__info .h3 a { background-size: 100% 1px; }
.pspec { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.pspec .dl { width: 100%; border-bottom: 1px solid var(--line-soft); }

/* ---------- SO.U& product detail ---------- */
.split__media--square { aspect-ratio: 1; }
.pprice { display: flex; flex-direction: column; gap: 4px; }
.pprice__main { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.pprice__main b { font-weight: 500; }
.pprice__main span { font-size: 14px; letter-spacing: 0; color: var(--muted); }
.pprice .sou-card__moq { margin-top: 0; }
.dl__sw { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dl__sw .swatches { margin-top: 0; }
.dl__sw span { font-size: 13px; color: var(--muted); }
.pnote { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 520px; }
.perks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .perks--3 { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .pgrid { grid-template-columns: 1fr; gap: 48px; } }
